Commit Graph

543 Commits

Author SHA1 Message Date
taoneill
a86683a98a Bug hunting. When you get prevented from placing an item, you get item back in your hand. Actually preventing you from placing cake now. Resetting Bomb block if it gets exploded by nearby TNT. Preventing Bomb block ignition. Nerfed player-hit explosion of suicide bomber. Made spawn-hit explosion a bit bigger (same as player-hit). 2012-01-17 23:20:28 -05:00
taoneill
934292df88 Closes gh-353. Closes gh-354. Finally some new gameplay elements. Added Bomb and Cake structures. Use /setbomb <name>, /setcake <name>, /deletebomb and /deletecake. Grab the bomb and blow up your enemy's spawn for a point. Don't get touched or you blow up. Return the cake to your spawn to get a point and a replenished lifepool. 2012-01-16 23:57:59 -05:00
taoneill
940ad072d4 Using EnumMap since enum's hashCode isn't stable from one VM to another. Fixed ConcurrentModificationException when clearing SpoutPlugin widgets and players. 2012-01-16 18:07:06 -05:00
taoneill
a610181954 Changed pom.xml references to 1.1-R1-SNAPSHOT until RB hits. 2012-01-15 22:34:56 -05:00
taoneill
92b949343c Fixed Spout-less server being broken at zone entry and exit. 2012-01-14 17:58:46 -05:00
taoneill
80fd939922 Corrected plugin.yml format to add PREVIEW tag. 2012-01-14 15:15:46 -05:00
taoneill
25f93ab26c Added PREVIEW tag to version until real release. 2012-01-14 13:50:35 -05:00
taoneill
e53eb7965e Removed Permissions from dependencies since everything works just fine with SuperPerms API. Restoring Spout player title color upon leaving warzone. 2012-01-14 12:52:26 -05:00
taoneill
4d04f39e3b Updated pom.xml. Trying to fix jenkins build. 2012-01-14 11:19:09 -05:00
taoneill
6a452ebb8f Fixed Spout stats header alignment and font display in fullscreen. Made notifications and text stick longer because you can't re-read it through chat. Add 5 message limit in War message feed to counter large message inflows. 2012-01-12 22:41:52 -05:00
taoneill
ad1c591acd Fixed NPE. Something's off in stats display reset at game-end, though. 2012-01-10 01:45:26 -05:00
taoneill
2745803050 Closes gh-280. (Even basic) Spout integration is so totally awesome. Thanks @SuperYoshi for pushing me into doing this. Just made it a bit more pretty with gradients in this rev. 2012-01-10 00:55:03 -05:00
taoneill
38c91b5623 Fixed War without Spout being broken. Made 'monument freed' notification use owner team wool block. 2012-01-09 23:44:40 -05:00
taoneill
25bbf5b185 Updating stats more often just like @SuperYoshi did originally during teams spawn reset. Tweaked message colors. 2012-01-09 00:21:02 -05:00
taoneill
2adb328115 Re-added Spout stats board in a more compact format, with messages now coming underneath the stats board at the top left of the screen. Added notification when flag is dropped. 2012-01-08 23:45:45 -05:00
taoneill
9ff98d0bbf Fixed mapping bug where FLAGMUSTBEHOME and LIFEPOOL would get mixed up, causing chaos. 2012-01-08 21:02:57 -05:00
taoneill
fb7ceaec55 Merge pull request #350 from cmastudios/master
Added spout and its repo to pom.xml
2012-01-08 17:36:29 -08:00
taoneill
0d7f2feef4 Added Spout notifications for battle and match end as well as monument captures (and tweaked the flag capture ones). Turns out ChatColors work great OOTB with GenericLabel - yay. The War message feed at top left + notifications look awesome. 2012-01-08 20:34:15 -05:00
Connor M
576993f97e Added spout and its repo 2012-01-07 17:09:54 -06:00
taoneill
5c3fca5001 Playing around with Spoutcraft notifications at the top left of the screen, so that War messages don't spam the chat anymore. 2012-01-07 17:26:27 -05:00
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