Commit Graph

655 Commits

Author SHA1 Message Date
Connor Monahan
8d908c1c50 Merge branch 'release/1.9' into develop 2016-06-08 18:57:54 -04:00
Connor Monahan
8ad26d51fe Bumped version to 1.9 for release 2016-06-08 18:55:49 -04:00
Connor Monahan
e3c154ba7a Prevent breaking paintings in unbreakable zones
Closes #815
2016-06-08 18:23:30 -04:00
Connor Monahan
f6175451ee Fix nohunger under 1.9
Closes #829
2016-06-08 17:59:45 -04:00
Connor Monahan
aa41a11daf Update localizations 2016-06-08 02:27:35 -04:00
Connor Monahan
dc4de5f6a5 Fix lifepool message at incorrect times 2016-06-08 00:25:36 -04:00
Connor Monahan
82741751cf Update mcstats version
Fixes errors finally
2016-06-06 23:42:24 -04:00
Connor Monahan
5b4accb707 Fix build error 2016-06-06 21:41:04 -04:00
Connor Monahan
624f278734 Ignore errors from outdated PluginMetrics 2016-06-06 18:49:35 -04:00
Connor Monahan
c1ad45e555 Fix #833, fix #832 2016-06-06 18:16:00 -04:00
Connor Monahan
f7aa952fb6 Remove project files
Use maven importer
2015-08-18 20:58:50 -05:00
kugick
9149b66142 Merge pull request #827 from fikry13/develop
Remove torch from WarHub Gate
2015-08-18 21:50:28 -04:00
Fikry Abdullah Aziz
2b5190434d Remove torch from WarHub Gate
There is a bug when the the gate is filled with players. the torch is
droping instead of stick to the redstone block
2015-08-18 22:58:17 +07:00
cmastudios
e786c09bd0 Fix flag drop team color
Closes #798
2014-06-13 23:39:48 -05:00
cmastudios
2c529f7647 Fix fire burning after respawn
Whoever wrote the note in LoadoutResetJob about stopping fire knew what
he was talking about. Sadly `git blame` shows nothing due to a refactor.
However, this job was still being run in sync, therefore doing nothing.
So I added a new job that is ran a tick later to clean up.
2014-06-13 23:30:59 -05:00
cmastudios
7561fd8ffb Moved death message handling to warzone class
The more interesting change I made here was the removal of the so-called 're-killing' statements - e.g. setting the health of really dead players to 0 to ensure they are dead. Who knows, it might affect #796 and #778, because I have zero idea what is causing them.
2014-06-13 23:28:08 -05:00
cmastudios
4f60ebb780 Merge remote-tracking branch 'origin/rewrite/death' into develop 2014-06-13 21:42:49 -05:00
cmastudios
33add7df0d Option to drop inventory on kill
Closes #711, closes #13, closes #11.

Items only drop on kill to prevent players from farming items. Warzone
makers must design their warzone items to fit with this feature if they
choose to enable it. E.g. a warzone might include items that must be
found and then can be stolen on kill.

Thanks to @dylanhansch for testing.
2014-06-12 22:20:20 -05:00
cmastudios
9281ad5c4d Don't set a skull owner if empty
Closes #781

Another bug due to Mojang's new stupid username changing "feature".
Setting the owner requires a web lookup or cache hit for the name in
order to target the correct player. It apparently doesn't like looking
up a blank name.
2014-06-12 21:09:58 -05:00
cmastudios
df1e5a56df Fix respawn after game end with realdeaths
Closes #793

Please note this is not a simple fix and applies it through a large
series of changes that may need to be noted in case of further troubles
in the future.

To accomplish this correctly, if a player is a really dead fighter, his
state and position will not be updated in a number of places. This is
all handled by the respawn hook for really dead fighters, which by the
way I rewrote because yolo. It makes a (potentially incorrect)
assumption that there is no reason a zone should hold a previous player
state when they join, so it is deleted for safety purposes. If not, and
the player leaves the zone, they may lose items. This may fix other
related inventory reset issues.
2014-06-12 20:59:01 -05:00
cmastudios
bdc961c7e1 Prevent trees from extending out of warzone
Closes #799
2014-06-12 19:12:42 -05:00
cmastudios
382261eb83 Killstreak effects
Closes #776
Customizable effects on killstreak
2014-06-07 12:38:51 -05:00
cmastudios
d4976ecbb4 #790 Add top kills scoreboard
This new scoreboard displays each person's total amount of kills for the
battle in the warzone.
2014-06-07 12:23:57 -05:00
cmastudios
92002a06a2 Rewrote Warzone#handleDeath
NEEDS TESTING
2014-05-19 19:31:21 -05:00
taoneill
5e93ab6bc4 Merge branch 'hotfix/1.8.1' into develop
Conflicts:
	war/pom.xml
	war/src/main/resources/plugin.yml
2014-05-04 17:39:31 -04:00
cmastudios
463d51d41b Print error if the world was deleted
Warzones created in worlds that are then deleted can cause a stack
trace to dump in the error log. This replaces the stack trace with
an informative error message.

Closes #774
2014-04-28 19:03:05 -05:00
cmastudios
aeda124c1c Max health can be changed somehow
Give the player the maximum amount of health on respawn.

Closes #766
2014-04-23 22:08:49 -05:00
cmastudios
9bd9f76b9e Some skulls don't have owners
Bukkit 1.7.9 functionality change now throws an exception rather
than returning null.

Closes #768
2014-04-23 21:59:42 -05:00
cmastudios
14054454af Prevent emptying buckets on important blocks
Closes #775
2014-04-23 21:45:23 -05:00
cmastudios
181fb64c50 break Statement referenced the wrong loop
At least I think. Any comments @taoneill ?

Closes #773
2014-04-20 14:56:45 -05:00
cmastudios
7ed33e8965 Don't send blank messages to the client
Closes #742
2014-04-10 18:58:21 -05:00
cmastudios
a529e0c1fe Reset player fall damage when respawned
Potentially fixes #757.
2014-04-10 18:40:58 -05:00
cmastudios
e229f9fc4e Correct spelling and grammar
* Fix unescaped quotes causing resourcebundle message breakage.
* Fix verb tense of 'loses'
* Fix spelling of 'monument'

Closes #761
2014-03-21 19:39:44 -05:00
Master-chan
367f5d1a73 Fixes NPE when deadly adjectives is empty
For example with russian translation
2014-03-04 23:54:08 -06:00
cmastudios
1ad05dd5f3 Bump version to 1.8.1 2014-03-04 23:49:41 -06:00
cmastudios
0a80198084 Economy support!
Supports any economy supported by Vault. Requires Vault plugin
installed on server.

Closes #98, ping #132, #294, #12
2014-02-26 20:00:29 -06:00
cmastudios
09e0919042 Exemption by-permission for command warm-up
Permission node: war.warmupexempt
2014-02-26 19:07:00 -06:00
cmastudios
8bf6d6047d Literally none of those new features worked
I better test before commit next time :)
2014-02-26 19:02:32 -06:00
cmastudios
f00ed85c4b Add economy reward for winning team 2014-02-26 18:51:39 -06:00
cmastudios
43bbb24dd5 Initial Vault support for economy
I personally dislike forcing our users to use a separate plugin
just to abstract different economy plugins, but sadly we live in a
hell world where there are 20 competing economy plugins and
counting so I don't want to deal with that.
2014-02-26 17:07:44 -06:00
cmastudios
64ae4c617f Teleport 'warmup' time - delay before teleport
Closes #507.

War now includes a configuration option "TPWARMUP" to add delays
before teleporting players to a war. This can be used on full-world
PvP servers to prevent players from running away from a fight.

The configuration option is specified in ticks - 20/sec.

The delay is activated for /zone and /warhub.

@taoneill @cmastudios documentate for 1.9 release.
2014-02-22 19:46:53 -06:00
cmastudios
72a2f08d70 Config to apply potions on spawn.
Closes #615.

The new APPLYPOTION configuration option allows warzone makers to
give potion effects ot players every time they spawn.

Use case: Resistance 5 for a few seconds on player spawn to prevent
them from being "spawn camped" - killed when they step out by other
players waiting nearby.

Format of APPLYPOTION: effect_type:duration:amplification

 effect_type:
  For a valid list of values that can be used for this type param,
  please see http://jd.bukkit.org/rb/apidocs/org/bukkit/potion/PotionEffectType.html

 duration:
  Time in ticks (1/20 sec) that the potion will apply for.

 amplification:
  Amplifier to the potion's power.

@taoneill @cmastudios documentate how to tune this option before
 1.9 release on the wiki. Also please test use of this option in
 game (pulling a @grinning here).
2014-02-22 18:12:11 -06:00
cmastudios
4106dd887f Autojoin zone on connect
Closes #698. #733.

@taoneill please test.
2014-02-22 01:17:20 -06:00
cmastudios
1d6ffcea7e Bump version to 1.9-SNAPSHOT for development
@taoneill @grinning we need a new name for War 1.9. Maybe Bob can have his
chance again after all?

@taoneill also please update main war branch to 'develop'.
2014-02-22 01:15:42 -06:00
taoneill
6294922225 Bumped up version to 1.8. Congrats! 2014-02-01 22:21:20 -05:00
taoneill
bed0385476 Instead of small redstone torch to highlight active zones, now we have two big redstone blocks and two torches.
- Less subtle, but really gets the point accross (and doesn't have the won't-work-on-glass problem). :)
2014-02-01 21:31:19 -05:00
taoneill
0e481bb5d5 Changed all gate signs to be wall signs instead of sign posts.
- Also, now highlighting active warzones with a redstone torch on its warhub gate
2014-02-01 17:08:46 -05:00
taoneill
b17e38cfd2 Closes #746. OnEntityCombust event handler was firing for non-fire events and cancelling regular damage events for players within spawn.
- This fixes players being able to profit from spawn damage protection even if they already left the spawn once
2014-01-26 17:20:56 -05:00
cmastudios
5146a7c9c8 Send "English" instead of an empty string 2014-01-19 15:09:41 -06:00
cmastudios
20223d1c12 Fix lobby width issue with auto assign
Fixed by moving calculateLobbyWidth logic into constructors.

@taoneill this is to fix the issue zac encountered on war hub.
2014-01-19 14:38:25 -06:00