Commit Graph

324 Commits

Author SHA1 Message Date
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
Tim Düsterhus
174126209b Forcing the code style we agreed on
- Trimming whitespace
- Using qualifier whenever possible
- Space between if/for/while/switch and (
2011-08-14 13:19:22 +02:00
Tim Düsterhus
e9f56967cb A switch is more nice here 2011-08-14 13:07:25 +02:00
Tim Düsterhus
5f0bc9f2b8 Merge branch 'javaDoc' 2011-08-14 12:57:58 +02:00
Tim Düsterhus
0019e7e107 JavaDoc for commands and War 2011-08-14 12:57:16 +02:00
Tim Düsterhus
e1b895a966 We don't have to invent the wheel twice 2011-08-13 19:58:54 +02:00
Tim Düsterhus
ae13d93da1 Removed unused import 2011-08-13 19:30:24 +02:00
Tim Düsterhus
f013c209a8 Removed some pieces left from refactor 2011-08-13 19:29:42 +02:00
Tim Düsterhus
7e6a2988a6 Removed unused var, "corrected" if 2011-08-13 18:12:48 +02:00
taoneill
7fef7c9649 Removed spammy forgotten logging code when pvpinzonesonly:off. War v1.6 PREVIEW 5. 2011-08-08 23:00:18 -04:00
taoneill
66b4af4d1a Fixed broken setteamflag. PREVIEW 4. 2011-08-07 21:49:34 -04:00
taoneill
8fcd24da2c Fixed load/unload re-registering listeners. This is War v1.6 PREVIEW 3. 2011-08-07 17:37:55 -04:00
taoneill
f56c5571dd Added '/war leave' to zone join message so that even people with HeroChat get some guidance on how to leave. 2011-08-07 16:28:46 -04:00
taoneill
27584c51bb Fixed pvp being broken. Tim's refactor prevented attackers from being registered, messing up all of the damage checks. 2011-08-07 16:20:38 -04:00
taoneill
5dcaac9351 Added -p or print option to zonecfg and warcfg. Ex: /zonecfg test -p autoassign:true, /warcfg print autoassign:false, /zonecfg -p. Trying to nail down pvp issue and I was dying for this. 2011-08-07 13:27:50 -04:00
taoneill
ec35b6088a Added /savezone and /zonecfg commands that work from outside the zone. Better matching to support exact matches when looking for a warzone by name. Invisible spawn setting can be set as default spawn style now. Rallypoint stays with /warcfg. Whew. 2011-08-06 19:04:18 -04:00
taoneill
6dfb485ec2 Fixed setzonelobby not working for detaching lobbies: copy-pasta = bad. Hooked up warhub command. 2011-08-06 17:00:51 -04:00
taoneill
05b827d265 Changed command handling so that we print the command usage string ourselves. Cleaned up plugin.yml so usage help doesn't look awful. Brought back 'bad' messages formatted in red which where torn out by Tim. Added warning when console tries to use player-only command. Now matching the start of the name of a warzone instead of the exact name, because that's how it worked and how it should continue to work. 2011-08-06 16:14:21 -04:00
Tim Düsterhus
8891b97a9d Documentation 2011-07-28 18:54:53 +02:00
Tim Düsterhus
9dae88a5fc Updated plugin.yml 2011-07-28 16:43:02 +02:00
Tim Düsterhus
5d19aec2b3 Bugfix 2011-07-28 16:38:34 +02:00
Tim Düsterhus
22e79c51f4 Removed the dropLootonDeath member 2011-07-28 14:26:37 +02:00
Tim Düsterhus
b303e8e540 Moved getters / setters to the end of class 2011-07-28 14:22:49 +02:00
Tim Düsterhus
00e8349b40 Adding SetZoneLobbyCommand 2011-07-28 14:11:06 +02:00
Tim Düsterhus
ef75e5a323 Adding ZoneMakerCommand
Everything else needed refactoring because of this
2011-07-28 13:56:34 +02:00
Tim Düsterhus
a0c8e1eb7e Adding SetZoneCommand 2011-07-28 13:28:24 +02:00