Commit Graph

718 Commits

Author SHA1 Message Date
Connor Monahan
ddfa24f626 Fix #498, prevent wolves from teleporting into warzones 2017-07-20 18:24:19 -04:00
Connor Monahan
b7cf69666c Fix #437, add team config 'borderdrop' to permit item drop near walls 2017-07-20 16:15:35 -04:00
Connor Monahan
ef26173ba1 Fix #320, add permission when playing in a zone
When a player enters an example zone named "Castle_Wars", the following permissions are granted:
- war.playing (Added for any zone)
- war.playing.castle_wars (Added for this zone, formed by the lower case of the zone name)

To grant additional permissions from these, such as 'crackshot.use', you should modify Bukkit's permissions.yml to create a parent node for either war.playing or the zone-specific node with child nodes.
http://bukkit.gamepedia.com/Permissions.yml

Example:

war.playing:
       description: Allow use of gun plugins inside war zones only
       default: false
       children:
          crackshot.use: true
war.playing.castle_wars:
       description: Allow use of craft book elevators inside Castle_Wars only
       default: false
       children:
          craftbook.use: true
2017-07-20 16:10:34 -04:00
Connor Monahan
b7138d65bd Fix #201, prevent opening zone edge chests if not playing
Roundabout fix but it solves the issue with smuggling items without requiring an additional setting
2017-07-20 15:51:38 -04:00
Connor Monahan
b772b71803 Fix #750, rotate lobbies 2017-07-20 00:29:33 -04:00
Connor Monahan
9c3c43c4f6 Add chinese support, update other translations 2017-07-20 00:04:45 -04:00
Connor Monahan
c5adfa7023 Fix #838, prevent growth from occupying structures
This prevents leaves/mushroom/etc from growing inside flags,
monuments, cakes, bombs, spawns, etc. Trees can still be grown
around the perimeter of such strucures, but all blocks generated
will be in breakable areas.
2017-07-19 18:43:22 -04:00
Connor Monahan
00ec38c739 Remove broken maven repos, bug fixes
* Fix stack trace when players click with no block selected
* Fix zone reset error caused by earlier commit
2017-07-19 18:15:38 -04:00
Connor Monahan
66445eb61d Replace deprecated Bukkit functions 2017-07-18 14:33:44 -04:00
Connor Monahan
334620e4b1 Fix #839, don't save armor slots twice 2017-07-16 19:59:32 -04:00
Connor Monahan
13e5d38277 Fix #840, keep health in bounds with attributes 2017-07-16 19:41:07 -04:00
Connor Monahan
5c992c95ee Set player max health 2016-06-14 23:02:48 -05:00
Connor Monahan
53c683abf3 Bumped version to 1.10-SNAPSHOT for development 2016-06-08 18:58:17 -04:00
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