Commit Graph

509 Commits

Author SHA1 Message Date
Andreas Troelsen
646a31da73 Fix possible NPE. 2013-01-26 03:47:07 +01:00
Andreas Troelsen
fa28964d51 Make the chest search happen per-pillar.
This allows for a sneaky little trick, where two lines class signs
becomes possible, if one chest is offset backwards, and the other
chest is positioned at the very bottom block.
2013-01-26 03:37:49 +01:00
Andreas Troelsen
2de480709d Add support for class item chests.
This is an extremely ugly, hacky way to do it, but the feature
should definitely make it into 1.0 - it requires no commands or
any other complex setting up besides flipping one option in the
config-file.

Upon clicking a class sign in the lobby, MobArena will (if the
config-setting is true) search for chests below the sign, and
below (and including) the block behind the sign, i.e. the block
that a wall sign would be attached to. If a chest is found, the
contents will become the class inventory.

The search can be optimized to be a one-off thing unless the
block changes from being a chest. A todo for 1.0, perhaps.
2013-01-25 23:27:32 +01:00
Andreas Troelsen
3f3518ab5b Try to restore inventories on server join.
This should have absolutely no effect due to the implementation
of the restore method. If no file exists, nothing happens, but if
for some reason the inventory was never restored, it will be.
2013-01-25 23:12:50 +01:00
Andreas Troelsen
9d7fbf7247 Allow flat health values for bosses. 2013-01-21 03:56:47 +01:00
Andreas Troelsen
cf5149c3b9 Finally fix the flight issue.
Update to v0.94.4.95 for next build.
2013-01-19 02:06:43 +01:00
Andreas Troelsen
6833966c9a Break or die! 2013-01-18 02:12:01 +01:00
Andreas Troelsen
a710ff7c6c Update plugin.yml 2013-01-17 18:08:55 +01:00
Andreas Troelsen
01fdcabe6d Add Metrics to shut slipcor up! 2013-01-17 17:50:09 +01:00
Andreas Troelsen
72aba03400 Simple attempt at anti-flying. 2013-01-17 17:49:08 +01:00
Andreas Troelsen
ddeb0cef44 Better multiworld support. 2013-01-16 23:44:20 +01:00
garbagemule
a6ea9d03da Merge pull request #149 from acstache/bleeding
braaaaaaains... just kidding, but here are some more zombies
2013-01-11 18:29:50 -08:00
Brian
27e1eae504 braaaaaaains... just kidding, but here are some more zombies 2013-01-09 22:11:47 -05:00
garbagemule
eb0bb85780 Merge pull request #146 from acstache/bleeding
Implement boss health using the Bukkit Max Health API, and remove health-multiplier limitation of "0 < limit <= 1".
2013-01-05 05:51:04 -08:00
Brian
4548152a27 finish unreverting leaderboard fix/clean up 2013-01-03 22:31:56 -05:00
Brian
b012d9c0c0 Wolves are wolves, not players 2013-01-03 21:53:00 -05:00
Brian
051c058c1a dont revert upstream fixes! whoops! 2013-01-03 21:37:18 -05:00
Brian
1f03436f40 update boss health using new Entity Max Health API/fix health-multiplier values > 1 on default style waves 2013-01-03 21:32:21 -05:00
garbagemule
60e5324ea6 Fix leaderboards. Tsk, tsk, Bukkit! 2012-12-29 04:45:59 +01:00
garbagemule
620ff5ada7 Add AutoStartTimer to repo >_> 2012-12-27 21:30:55 +01:00
garbagemule
807e30be49 Add auto-start-timer feature. Minor cleanup. 2012-12-26 12:55:46 +01:00
garbagemule
5ed81f0a2a Add a couple of new tiny features.
- With pvp-enabled: true, PvP is activated at the first wave,
  giving players a period of time to spread out.
- The per-class config option, unbreakable-weapons: true-false, can
  be used to set whether weapons for a class should have infinite
  durability or not.
2012-12-22 13:36:49 +01:00
garbagemule
df605b13fb Import ItemStack and minor cleanup. 2012-12-20 12:35:42 +01:00
Brian
d9f349e46f Merge pull request #143 from acstache/bleeding
update plugin.yml
2012-12-18 19:57:11 -08:00
Brian
64c0b993aa update plugin.yml 2012-12-18 22:54:49 -05:00
Brian
177c23c86c Merge pull request #142 from slipcor/bleeding
1.4.5-R0.3 build 2524 or higher required!
2012-12-18 19:50:32 -08:00
slipcor
f5bd14ee96 Update src/com/garbagemule/MobArena/waves/SheepBouncer.java
Remove CraftBukkit dependency, replace explosion with API method.
2012-12-17 22:54:08 +01:00
slipcor
44bacf8814 Update src/com/garbagemule/MobArena/waves/MACreature.java
add new 1.4.5 mobs, utilizes 1.4.5-DEV !!! CraftBukkit #2524
2012-12-17 22:51:56 +01:00
slipcor
d140712206 Update src/com/garbagemule/MobArena/ArenaListener.java
Fix players being able to issue commands when spectating
2012-12-17 22:40:03 +01:00
garbagemule
cb39b97c80 Fixed inventory exploit. 2012-09-18 22:53:19 +02:00
garbagemule
44a3d0754c Fix NewWaveEvent. 2012-09-14 20:18:05 +02:00
garbagemule
cb265d7398 Fix dangling else in the listener, and no more NPEs for setclass command. 2012-09-14 20:17:05 +02:00
garbagemule
80018504bc Fix dangling else in the listener, and no more NPEs for setclass command. 2012-09-14 20:16:37 +02:00
garbagemule
a94370deec Fixed the config-file reset bug. 2012-08-22 06:05:45 +02:00
garbagemule
6ade558eeb Fixed ClassLimitManager and split ArenaClass.getName() into
getConfigName() and getLowercaseName()
2012-07-30 18:00:37 +02:00
garbagemule
62c78cc0d2 Merge pull request #120 from acstache/bleeding
More bug fixes
2012-07-29 20:41:41 -07:00
Brian
b7f25504f2 replace tabs with 4 spaces 2012-07-29 22:39:38 -04:00
Brian
a93749225e v0.94.4.78 - listen for sign breaks, if it is a leaderboard sign, remove it from the config 2012-07-29 22:30:16 -04:00
Brian
4c4e06d3a8 v0.94.4.77 - More CLM stuff, Updated Deprecated spawnCreature [requires 1.2.5-R4.1] 2012-07-27 10:29:38 -04:00
garbagemule
96857585a9 Merge pull request #99 from acstache/bleeding
1.2.5-R1.3/1.2.5-R2.0 onEnable fix, plus many more
2012-07-12 15:19:52 -07:00
Brian
1e42350aaf v0.94.4.75 - prep for deprecated spawnCreature method, more Class Limit work 2012-07-02 20:36:58 -04:00
Brian
33199aa05e v0.94.4.74 - more ClassLimitManager stuff, needs more work 2012-06-29 21:36:41 -04:00
Brian
dd2ec4c157 fix an NPE, order matters! 2012-06-07 21:17:02 -04:00
Brian
cb06e2cb1e v0.94.4.73 - more Class Limit Manager work; testing begins 2012-06-07 21:13:15 -04:00
Brian
c6fada2bfd v0.94.4.72 - picking "random" class doesnt assign until the arena begins now 2012-06-07 19:39:08 -04:00
Brian
7e48ec7410 v0.94.4.71 redo - not allow joining other arenas from in lobby or arena, spectator is fine 2012-06-06 20:37:20 -04:00
Brian
795edcb9ff v0.94.4.71 - allow joining arenas from spectator areas 2012-06-06 20:32:01 -04:00
Brian
b783f8ecbb v0.94.4.70 - Fix "random" class sign not working 2012-06-06 20:27:23 -04:00
Brian
906fe93d6a v0.94.4.69 - beginning of Class Limits feature [not working] 2012-06-06 20:20:11 -04:00
Brian
9f77f2f3de v0.94.4.68 - fixed not giving rewards to spectators when they leave 2012-05-24 00:33:10 -04:00