Commit Graph

382 Commits

Author SHA1 Message Date
Andreas Troelsen
092a986887 Class chests can now be trapped chests. 2013-04-04 17:36:42 +02:00
Andreas Troelsen
0ea5c7a313 Make non-sign leaderboard-nodes non-fatal. 2013-04-04 05:04:25 +02:00
Andreas Troelsen
6663235a83 Fix enchanted apples getting 'repaired'. 2013-04-03 21:20:12 +02:00
Andreas Troelsen
51778587dc Update plugin.yml towards next release. 2013-04-03 21:19:29 +02:00
Andreas Troelsen
3224d749c7 Version 0.94.4.96 2013-03-27 14:11:14 +01:00
Andreas Troelsen
45f2605794 Don't repair potions and wool. 2013-03-27 14:09:10 +01:00
Andreas Troelsen
7977915aa1 Add boss name tags. 2013-03-22 22:22:52 +01:00
Andreas Troelsen
fd8bfbf1f0 Fix NPE caused by weaponless damage. 2013-03-21 23:51:06 +01:00
Andreas Troelsen
4b970c6fce Use non-deprecated ItemStack constructor.
The SerializableItem class was previously using a constructor that
included a raw byte for data values. The current constructor takes
no byte argument and the data value must be set explicitly.

This fixes e.g. splash potions not restoring properly from arena
containers.
2013-03-21 23:47:48 +01:00
Andreas Troelsen
f9a1e6e123 Remove unused boss damage method. 2013-03-21 23:33:26 +01:00
Andreas Troelsen
09d9605bb2 Make all MA weapons unbreakable (temporary). 2013-03-21 23:32:35 +01:00
Andreas Troelsen
dd5924adc1 Remove wtf import o.O 2013-02-26 21:12:27 +01:00
Andreas Troelsen
024644ad8a Notify non-ready players on force start. 2013-02-26 21:09:47 +01:00
Andreas Troelsen
ef3b1b42cc Add per-arena option: display-waves-as-level
If true, this option will cause wave numbers to be displayed as the
players' level to aid in wave tracking. It does NOT replace the
announcements, which can still be disabled by putting blank values
in the announcements-file.
2013-02-26 20:12:58 +01:00
Andreas Troelsen
68d0c51492 Update plugin.yml towards next release. 2013-02-26 20:12:00 +01:00
Andreas Troelsen
f9da8872dd Add more auto-start timer announcements. 2013-02-17 04:19:22 +01:00
Andreas Troelsen
9cca20aa92 Add clear-wave-before-boss option. 2013-02-16 15:05:21 +01:00
Andreas Troelsen
7e1b2c2b9f (Possibly) fix invisible bosses.
Unsurprisingly, MobArena's monster handling is sub-optimal, possibly
due to premature optimization. Before, when e.g. a Creeper boss would
explode, it would not be removed from the bosses collection, and thus
the ability thread would continue on running.

This patch adds a tiny bit of overhead w.r.t. removing dead monsters,
but it fixes the issue with Creeper bosses, and with a bit of luck,
mcMMO will not cause issues anymore (yet to be tested).
2013-02-16 14:51:02 +01:00
Andreas Troelsen
cc1187b7f6 Rewrite version checker. 2013-02-15 22:41:59 +01:00
Andreas Troelsen
523c345102 No more logging. 2013-02-03 19:09:47 +01:00
Andreas Troelsen
a4e39562f6 Add support for enchanted books.
Thanks, slipcor!
2013-02-03 16:47:40 +01:00
Andreas Troelsen
97ecc97fd4 Fix possible NPEs. 2013-01-28 22:51:52 +01:00
Andreas Troelsen
ad8a99acda Swap order for vertical layouts. 2013-01-26 04:11:52 +01:00
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