Commit Graph

357 Commits

Author SHA1 Message Date
taoneill
b6f9afb745 Fixed always-on war.pvp permission for War admins in GroupManager/Permissions context by adding specific war.admin permission node and by removing war.pvp from the children. Also removed war.warp from the children. 2011-12-20 15:28:12 -05:00
taoneill
f7e0b73465 Now checking if War is laoded in entity_death. 2011-12-20 02:34:39 -05:00
taoneill
b057cac73d Closes gh-338. Deaths that weren't prevented properly (e.g. potion of harming) by EntityDamage are now better handled. 2011-12-20 02:32:58 -05:00
taoneill
a532bbaf93 Cleared logging code. 2011-12-20 02:00:46 -05:00
taoneill
0cf0024e55 Closes gh-326. Potion effects are cleared at respawn and saved with player state so, for example, you get re-poisonned when you exit a warzone if you entered with the effect. Thanks @mahoutsukaii for the MobEffect trick. 2011-12-20 01:59:13 -05:00
taoneill
007344a63e Updated pom.xml for Craftbukkit RB 1597. Corrected permissions bug where War admins couldn't change the corners of other zonemakers' zones. 2011-12-20 00:51:37 -05:00
taoneill
60356e56ab Closes gh-337. Players now respawn with the loadout they selected at their last respawn. 2011-12-20 00:16:03 -05:00
taoneill
177543ad20 Closes gh-336. Enchanted items can now be reliably saved in loadouts and chests/dispensers. Consolidated inventory string building and parsing. 2011-12-19 23:48:09 -05:00
taoneill
a37766d31b Closes gh-254. Closes gh-321. Closes gh-312. Closes gh-322. Truns out I wasn't saving inventory item damge or data values, which led to potions not working and items sometimes breaking on first use randomly. Instant damage (splash harming) potions now work properly when you are hitting yourself at the same time with splash damage. Self-inflicted damage is now properly recorded. Fixed one or two NPEs. 2011-12-19 16:01:33 -05:00
taoneill
ccd6649d06 Closes gh-316. Warzone lobbies can now be moved to another world than their warzone's. Bit tricky this lobby resetting... 2011-12-07 23:40:30 -05:00
taoneill
4996a7457d Closes gh-315. Warhub can now be moved from one world to another properly. 2011-12-07 22:26:05 -05:00
taoneill
1325611775 Updated pom.xml to new Bukkit/Craftbukkit version numbers. 2011-12-07 21:48:42 -05:00
taoneill
1b9f06e3ca Closes gh-300. Closes gh-314. Fixed NPE in explosion handling. Lobby doesn't flash at game end anymore (no more dropping to the ground). Meddled with monument healing - it's still wonky although at least it wont give max hp all the time anymore. Added error handling of bad team name. 2011-12-06 20:58:33 -05: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