Commit Graph

523 Commits

Author SHA1 Message Date
taoneill
6eeb5be673 Cleared team color in Spout player name display when leaving warzone. 2012-01-07 12:30:03 -05:00
taoneill
589d197bf1 Server reload isn't broken anymore: now removing Spout widgets at Spout plugin disable-time, since Spout was already gone by the time War was getting disabled and tried to remove them. 2012-01-07 00:36:29 -05:00
taoneill
1bae53670e Fixed Yaml loader and another ton of bugs related to cascading configs and the /teamcfg command. Also tweaked /zonecfg so that you can change another warzone's config while standing in another warzone (the one you were in always took over). Made printing of configs more pretty and now printing loadouts. 2012-01-07 00:20:02 -05:00
taoneill
143afa4473 Closes gh-6. Closes gh-39. Team specific settings. New YAML file format and working converter. You can delete a setting to restore config inheritance with, for example, /zonecfg delete:maxscore. New colors for /war-zone-teamcfg. Fixed a bunch of bugs introduced by mega-changes - there are probably a few more lurking around. 2012-01-06 02:01:08 -05:00
taoneill
983e90ca38 Huge (albiet still broken) changes. - Switched to Yaml config (stupid API). - Added team-specific settings. - Reworked entire configuration architechture and mechanic. War holds the War settings, the warzones defaults and the team defaults. Warzones hold their own config items which override the War default if they please (instead of being copied). Team settings add another level of defaults (unless specified, team settings are taken from the Warzone team defaults, or if absent, from the War team defaults). - Added /teamcfg command. - No more difference between default/extra loadouts. 2012-01-05 01:17:02 -05:00
taoneill
dd6beb3b82 Fixed disablebuildmessage setting which broke block placement protection by buildinzonesonly and didn't work for block breaking. 2012-01-03 22:07:18 -05:00
taoneill
e1c6397f22 Removed 'Equiped x loadout' message at every respawn. Message only appears at first respawn or during a sneak-toggle. 2011-12-27 18:32:14 -05:00
taoneill
0b1d428266 Fixed respawn timer and made it changeable through /zonecfg and /warcfg. 2011-12-27 17:51:34 -05:00
taoneill
bd872be244 Fixing merge conflicts with pull request from @Superyoshi. Mostly untested. Isolated Spout code behind checks for spout so War doesn't completely fall over if Spout isn't available on the server. 2011-12-27 16:29:39 -05:00
taoneill
b196618515 Closes gh-340. Doors should now reset properly (no more glass instead of doors). 2011-12-21 11:18:18 -05:00
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
Chris Sp
cd158cc9a9 Spout Integration! 2011-12-11 20:32:53 +01: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
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