Commit Graph

350 Commits

Author SHA1 Message Date
Chris Sp
cd158cc9a9 Spout Integration! 2011-12-11 20:32:53 +01:00
Chris Sp
d9701b910d Piston Exploit Fix, and removal of deprecated functions
- Fixed an exploit where it would be possible to move the flag with pistons, rendering it unstealable. You cannot move any important blocks with pistons now, and can't push them into protected zones. Reported here: http://forums.bukkit.org/threads/mech-fun-war-v1-6-de-gaulle-final-minecraft-tdm-ctf-1337.250/page-67#post-831054 Special thanks to TerXIII!
- Changed all calls of the deprecated getRelative() to getRelative()
2011-12-04 12:40:10 +01:00
Chris Sp
1061c24c5b Added respawn timer and immunity, fixe join loadout, fixed a bug
- You will not get the loadout as soon you join
- Fixed a bug where you would be kicked out of the zone if you walk into the glass walls above a team gate on a block layer equal with the roof of the gate
- Made respawn timer configurable ("respawntimer", defaults to 10)
- Can't attack/be attacked while respawning (this is already done by the spawn protection already, so this is something for an upcoming feature)
2011-12-02 17:44:05 +01:00
Chris Sp
856da8cc77 Close gh-282. Players cannot leave spawn for 10 seconds after respawning.
- [gh-282] Added a "Respawn" timer, players cannot leave spawn while it is
  active. Loadout will be given to the player at the end of the timer as a
  visual cue.
- TODO: configurable timer, cannot attack/be attacked while respawning
2011-12-02 00:17:10 +01:00
Chris Sp
ff04f24a85 Removed "debug" message 2011-12-01 21:27:23 +01:00
chris
9f828fe790 Closes gh-304. Adds "flagmustbehome" setting for warzones.
- Fixed a mistake where changing "pvpinzonesonly" would display "flagpointsonly changed to..." (and the respective value)
- [gh-304] Added a setting for the plugin to not show the "No Building" message ("disablebuildmessage", like "disablepvpmessage", defaults to false). Untested.
- Added a setting for warzones to allow flag capture when the flag is not home ("flagmustbehome", defaults to true)
2011-12-01 19:47:29 +01:00
taoneill
95308c8bc9 Closes gh-305. Added maxzones setting to prevent zonesmakers from making too many zones. Default is 12 - hopefully not many servers have that many warzones. 2011-10-23 14:45:13 -04:00
taoneill
82c8397547 Closes gh-113. Zonemakers are now exclusive authors of their zones. New author setting for warzones. E.g. /zonecfg author:tommytony,someotherguy or /zonecfg deleteauthor:tommytony,someotherguy. New war.zonemaker permission for zonemakers. The war.* permission is now meant for War admins who can edit all zones and who can access server settings and warhub placement commands. Old warzones have no author, which means all zonemakers can edit it. Added nice colors to /zonecfg -p and /warcfg print. 2011-10-16 14:13:28 -04:00
taoneill
8913f7ae5c Closes gh-298. Adding an extra loadout doesn't cause an error on the first attemp anymore. 2011-10-16 10:16:45 -04:00
taoneill
d327c34b10 Remove stray logging code and cancel SATIATED RegainReason as well when nohunger is on. 2011-10-01 15:35:06 -04:00
taoneill
73f7dbe8a2 Updated docs in plugin.yml for v1.6 final release. 2011-10-01 14:36:20 -04:00
taoneill
9f9d6ba7c1 Closes gh-196. Closes gh-295. Closes gh-296. Closes gh-297. Players can't drop items inside zones when nodrops is true. For 1.8, added nohunger setting that prevents food regen and saturation setting (0-20) that controls how fast your food bar starts depleting. 0 saturation means your bar starts depleting right away. Instead of teleporting back to spawn, people that wander out of zone are bumped back in. 2011-10-01 13:57:12 -04:00
taoneill
06427445b7 Fixed NPE on PLAYER_SNEAK. 2011-09-30 23:24:09 -04:00
taoneill
00c6397df4 Closes gh-260. Added tntinzonesonly setting. Re-made explosion protection to let everything blow up except important stuff. Warhub, lobbies, spawns, flags and zone walls are protected. Stuff that is near the warzone wall but outside gets rolled back (because the explosion was inside the warzone, those outside blocks really explode, but get rolled back with a new fancy DeferredBlockResetJob which handles chests et al. on top of signs). If tntinzonesonly is on, tnt explosions outside warzones are cancelled (this makes sure any projected tnt block doesn't cause damage). Only bad thing here is that tntinzonesonly is server-wide, not world specific. Also, explosion handling is much more heavy. 2011-09-30 22:35:34 -04:00
taoneill
0811431b0a Closes gh-73. Closes gh-292. Easy spleef with two new settings: pvpinzone (default true) and instabreak (default false). Former off, latter on makes for spleef. Killing by arrows now can't be done through spawn protection. I got carried away and prettied up the kill messages. Also added check in mappers so that default values don't get overridden by 0 or false from the config file reader. 2011-09-26 22:08:34 -04:00
taoneill
599e6b11d5 Closes gh-289. Closes gh-290. Along with inventory, now saving full player state: health, foodLevel, saturation, exhaustion and gamemode. Switching creative people to survival. Full state is restored when player leaves the zone. 2011-09-24 14:14:40 -04:00
taoneill
1266462635 Closes gh-262. 98% better door resets. Iron and wooden door should reset a lot more reliably now that I'm setting the proper block data in all but tiny edge cases. 2011-09-20 00:59:35 -04:00
taoneill
f947f204b9 Closes gh-46. Added long missing /deleteteamflag command. Requested since forever (February 12th, actually). 2011-09-19 23:05:29 -04:00
taoneill
23893c60da Merging /renameZone. Maybe I would've liked this better under /zonecfg to keep the command count as low as possible, but this will do. There's too many settings already anyway. I'm keeping plugin.yml in classes because it lets me build in a snap in eclipse instead of through mvn. I know: it's lame. 2011-09-19 22:19:38 -04:00
taoneill
095b073051 Merge branch 'classes' 2011-09-18 16:19:03 -04:00
taoneill
dc4b770aaa Closes gh-17. (Wow, War finally has classes) You can now delete extra loadouts. Can't shoot arrows when still standing inside spawn (to prevent arrow spam by class switchers). 2011-09-18 16:18:55 -04:00
taoneill
9cc39281d7 Closes gh-287. Closes gh-288. flagpoints only setting now properly saved. autoassign:true setting at War level doesn't override the warzone-specific settings anymore. Can't drop items while still in spawn. 2011-09-18 15:35:43 -04:00
taoneill
66df711006 Closes gh-284. Now attributing arrow kills to the shooter. 2011-09-17 00:39:25 -04:00
taoneill
48311e4d95 Working extraLoadouts/classes system. Do /zonecfg loadout:warrior, etc. Simply sneak while in spawn to switch between the available loadouts/classes. 2011-09-17 00:21:26 -04:00
taoneill
1ba2fa2e06 Missing extraLoadouts stuff. Kind of broken. Need more testing. 2011-09-16 00:27:04 -04:00
taoneill
c6a8bc555c First pass at extraLoadouts/class system. Needs testing. 2011-09-16 00:07:07 -04:00
taoneill
e0a2d6092b Closes gh-271. Added SuperPerms/PermissionsBukkit support, and everything still works properly when no Perms plugin is present, thanks to SuperPerms/built-in perms. Made /warcfg give feedback as well. 2011-09-15 00:09:39 -04:00
taoneill
5abdf43986 Closes gh-96. Two new settings. Players can leave the spawn on when there is at least minplayers in at least minteams. E.g. with minplayer:1 and minteams:1 no one gets stuck in spawn; with minplayers:1 and minteams:2 you need at least one player on at least two separate teams (1+1=2 players total). Also, updating with savezone, zonecfg or warcfg now prompts you back to confirm your changes. 2011-09-14 00:18:06 -04:00
taoneill
b62e8ffd53 Closes gh-267. Glass walls can be turned off with glasswalls:off. Clearing the latest locations at unload - hello big leak. 2011-09-13 00:13:59 -04:00
taoneill
3277491c64 Merge pull request #286 from taoneill/flagPointsOnly
New flagpointsonly setting for true CTF.
2011-09-12 20:22:05 -07:00
taoneill
bceda1932e Added missing parts for flagpointsonly setting. 2011-09-12 23:20:11 -04:00
taoneill
880f7ce528 Quick and dirty attempt to reduce hits on PLAYER_MOVE. Beginnings of a glasswalls setting. 2011-09-12 22:52:08 -04:00
Tim Düsterhus
0518fd0be4 Adding flagPoints only setting
When this setting is true you can only score via flagreturn
Closes gh-283
2011-09-10 18:06:17 +02:00
Tim Düsterhus
8788c9c4b6 Code-Style 2011-09-10 17:49:12 +02:00
Tim Düsterhus
bcfa109944 HelmetProtectionTask Code-Format
Return directly, so we have to indent one time less
2011-09-10 17:44:00 +02:00
Tim Düsterhus
1e8b1b8193 Removing unused imports 2011-09-10 17:43:00 +02:00
taoneill
f20b275ba9 Closes gh-226. Respawn now stops fire properly. 2011-09-09 23:54:32 -04:00
taoneill
25e034965d Closes gh-242. If you remove your blockhead/helmet, it gets reset, but you can't carry more than one. Incremented preview number. 2011-09-09 23:33:28 -04:00
taoneill
cb9a34f5bd Closes gh-272. Made flagreturn into an enum. Adding missing flag capture mode tidbits (setting wasn't being saved, made flag capture broadcast reflect the current mode). 2011-09-06 21:29:02 -04:00
Tim Düsterhus
c7af5843fb Removing merge boundaries 2011-09-01 19:12:14 +02:00
taoneill
e8776d3d74 Closes gh-277. Resolving conflicts while merging Tim's realEnums. 2011-08-31 20:20:32 -04:00
taoneill
fa2be3d357 Resolving conflicts while merging Tim's printConfig. 2011-08-31 20:14:00 -04:00
taoneill
3b0518ece0 Resolving conflicts while merging Tim's style cleanup. 2011-08-31 20:11:35 -04:00
taoneill
aeeb458408 Merge pull request #278 from taoneill/helmetProtection
Closes gh-242. Adding task to protect the helmet
2011-08-31 17:00:20 -07:00
taoneill
73e29c2025 Merge pull request #276 from taoneill/clearDrops
Closes gh-269. Removing drops at initializing
2011-08-31 16:57:37 -07:00
taoneill
3e452e9e21 Merge pull request #275 from taoneill/flagReturn
Closing gh-272 Implemented a way to specify how to return a flag
2011-08-31 16:55:11 -07:00
Tim Düsterhus
6871c76a70 Adding task to protect the helmet 2011-08-26 23:17:51 +02:00
Tim Düsterhus
082d89ec08 Using real enums here 2011-08-26 23:12:36 +02:00
Tim Düsterhus
2c25017b40 Removing drops at initializing
Closes gh-269
2011-08-21 23:00:03 +02:00
Tim Düsterhus
49376848ff Closing gh-272 Implemented a way to specify how to return a flag 2011-08-21 22:34:17 +02:00