Commit Graph

617 Commits

Author SHA1 Message Date
garbagemule
b0c630df36 Fix color code gibberishing for announcements. 2013-08-16 01:09:39 +02:00
garbagemule
e1feb5172c Fix config reloading. 2013-08-16 01:09:23 +02:00
garbagemule
b9e3a5df0b Fix typo in error message. 2013-08-15 18:11:41 +02:00
garbagemule
ef9fd267c1 Revamp the announcements system.
This commit transforms the announcements system in the following way:
- announcements.yml makes it easier to add missing nodes and remove
  obsolete ones. This way, users don't have to delete their previous
  announcements-file to get the new keys.
- Color codes are supported in the fact that when an announcement
  message is "set()", the string value has all of its &-symbols
  translated.
- No need for a defaults-file, because the enum is very easy to
  compile into a YAML file.
2013-08-15 17:55:21 +02:00
garbagemule
22723d883a Bye bye, Spout. 2013-08-15 15:12:37 +02:00
garbagemule
a3ab2203be Get rid of config adapter.
This change involves many classes because the adapter was relied upon
heavily throughout the project. The change is motivated by the fact
that the wrapper created more problems than it solved. Those problems
(listed here) are solved by this commit. Some classes have undergone
notable changes (e.g. ArenaRegion).

- The config-file will no longer overwrite and regenerate itself
  seemingly randomly.
- The config-file will now save correctly when setting points and
  expanding regions.
- The "no class items in lobby" problem has been fixed.
- The "must be inside region" problem has been fixed.
2013-08-15 14:37:10 +02:00
garbagemule
2475ae3633 Add support for arbitrary filenames... 2013-08-15 04:45:07 +02:00
garbagemule
e99a2f3d44 Fix double-print for loaded arenas. 2013-08-15 04:30:19 +02:00
garbagemule
d92e3e8925 Let's leave out the printlns... 2013-08-15 03:46:49 +02:00
garbagemule
d73a0ed707 Fix "no class items on class selected".
The fix is simply a reload of the config-file after initially loading
the config-file. For some reason it works. No clue why >_>
2013-08-15 03:44:47 +02:00
garbagemule
b6f81e0823 World-change code for set(lobby)region. 2013-08-15 03:41:21 +02:00
garbagemule
a87831a12f Set world-node when world changes. 2013-08-15 03:40:58 +02:00
garbagemule
a15f60b761 Lazy initialization of selected arena.
This fixes issues with having to restart the server for "not ready"
type messages.
2013-08-15 03:39:26 +02:00
garbagemule
8a45e0c953 Make sure we can force worlds. 2013-08-15 00:45:26 +02:00
garbagemule
f1b94fbbcc Correct leaderboards error message. 2013-08-14 22:53:36 +02:00
garbagemule
63ff94b04f Multiworld leaderboards. 2013-08-14 22:37:42 +02:00
garbagemule
f98fe0b78f Multiworld exit-warp and location formatting. 2013-08-14 22:36:12 +02:00
garbagemule
b3cb258d0b Fix lobby region expansion command. 2013-08-14 22:33:44 +02:00
garbagemule
80f091acaa Add world name to coords. 2013-08-13 15:27:33 +02:00
garbagemule
a3cef8339e StringBuffer => StringBuilder, thanks IntelliJ ^_^ 2013-08-13 14:59:11 +02:00
garbagemule
c500c4f80e Remember to add the actual command class ;) 2013-08-13 14:56:10 +02:00
garbagemule
1673078df5 Add classchest command.
The classchest command can be used to link a chest to a class directly
(although still in the same world) without having to position them in
a specific pillar under the signs.
2013-08-13 14:54:34 +02:00
garbagemule
c24f9f8ccc Switch to floating point numbers for locations.
This allows spawnpoints and warps to be specified more precisely.
2013-08-13 14:51:16 +02:00
garbagemule
a5fea824b7 Tossing IntelliJ a bone. 2013-08-10 16:57:24 +02:00
garbagemule
c282fe7000 Add baby zombie villagers 2013-08-10 16:38:44 +02:00
garbagemule
76330f06d3 Add unbreakable-weapons and unbreakable-armor. 2013-08-08 18:23:33 +02:00
garbagemule
345efc9136 ArenaCompleteEvent: s/winners/survivors 2013-08-08 17:58:19 +02:00
garbagemule
544fd91de9 Introduce "last player standing" to death event.
It is now possible to check if an arena player who died was the last
player alive in the arena. Useful for special rewards and stuff.
2013-08-08 06:09:07 +02:00
garbagemule
e3381e895d Some null checks for pet spawner. 2013-08-07 02:00:17 +02:00
garbagemule
3ae69f6cf4 ACTUALLY add the event >_> 2013-08-07 00:10:56 +02:00
garbagemule
1f91dde9e5 Add ArenaCompleteEvent
This event is fired when the final wave was completed and contains
a set of all the players who survived until the end.
2013-08-06 23:59:19 +02:00
garbagemule
0b6a017c32 Include arena in ArenaKillEvent. 2013-08-06 23:58:42 +02:00
garbagemule
2b5291b593 Fix multi-arena join/spec interleaving issues.
- When a player attempts to join or spec an arena while they are
in an arena (arena or lobby), they will be denied access.
- When a player attempts to join or spec an arena while they are
spectating an arena, they will be force-left first.
2013-08-06 12:21:06 +02:00
garbagemule
d57f47fb05 Add ArenaKillEvent
This event is fired whenever an arena player kills either a monster
or another player. Useful for plugin extensions.
2013-08-06 10:33:02 +02:00
garbagemule
312ef3c55a Expose command interface. 2013-08-05 12:42:34 +02:00
garbagemule
48686aafcb Add support for minor economy values. 2013-08-03 04:16:31 +02:00
garbagemule
029a976dc7 Uncancel sign interaction in lobby. 2013-08-03 01:14:14 +02:00
garbagemule
e6a0f30993 Add per-class lobby-permissions node. 2013-08-03 01:13:18 +02:00
garbagemule
dbe5f4d20f Add optional per-arena exit warp. 2013-08-01 16:13:24 +02:00
garbagemule
f43293a376 Attempt to fix multiworld inventory issues. 2013-07-30 23:37:03 +02:00
garbagemule
13948e7554 Add global first-join announce feature. 2013-07-30 23:04:49 +02:00
garbagemule
ea4031b0ed Add isolated chat option. 2013-07-30 22:07:57 +02:00
garbagemule
9230f823fb More task scheduling. Fixes #199 2013-07-30 21:57:36 +02:00
garbagemule
7d27e52d7c Allow flint and steel fire in edit mode. 2013-07-30 13:48:04 +02:00
garbagemule
a5fb96a880 Prevent task scheduling on disable. 2013-07-30 13:31:11 +02:00
garbagemule
859baf7b71 Add global end announcement feature. 2013-07-28 14:21:40 +02:00
garbagemule
d926d99298 Make auto-start kick message customizable. 2013-07-24 14:29:31 +02:00
garbagemule
b643cce511 Fix class chest bones not giving pets. 2013-07-22 19:10:11 +02:00
garbagemule
d6fe6ade4c Add monster type: baby pigmen 2013-07-22 18:26:41 +02:00
garbagemule
de5f21ca1d Fix custom boss abilities not loading. 2013-07-17 15:19:17 +02:00
garbagemule
b6b2ecc168 Fix auto-ready not working for class chests. 2013-07-17 15:15:48 +02:00
garbagemule
bd095dafd5 Change the way region setting works.
The region now contains two location references per region point for
the bounding boxes where p1, p2, l1 and l2 remain the same (min/max),
but also additional locations for the player's actual location, such
that e.g. moving back and re-setting a point has the more intuitive
behavior of expanding regardless of the optimized points.

This also (hopefully) finally fixes the previous issues with the setup
process *knock on wood*.
2013-07-09 04:37:19 +02:00
garbagemule
ed69606388 Fix the region setup bug.
Previously, the set() method would overwrite coordinates completely
without min/max'ing the values to preserve the invariant that p1 is
the lowest point and p2 the highest.
2013-07-05 14:59:09 +02:00
garbagemule
55bbd4ff85 Leave out 1.6 stuff until a stable release. 2013-07-03 14:00:03 +02:00
garbagemule
4a267f5ab5 Use item number for hay bales until 1.6 2013-07-03 13:57:28 +02:00
garbagemule
9b236587da Merge branch 'bleeding' of github.com:garbagemule/MobArena into bleeding 2013-07-03 13:36:48 +02:00
garbagemule
0a6a49410d Some 1.6 updates... 2013-07-03 13:36:41 +02:00
garbagemule
97e9bbc923 Fix default fixed waves. 2013-07-03 13:35:27 +02:00
acstache
07637d087a update ClassLimitManager to provide a set of names of Players who have picked the provided ArenaClass. This will allow manipulating players of just a certain class more easily than before. One possibility is (mind you this is NOT implemented) adding potion effects to a class 2013-07-01 23:51:26 -04:00
garbagemule
22762bf521 Fix setup issue and remove region expansion
This commit consists of two components:
- Restarts are no longer required after setting up the first arena
- Regions no longer auto-expand

The restart requirement is fixed by preventing the ArenaMaster from
actually creating an Arena object and assigning it to the selected
arena upon generating the default arena node in the config-file. The
problem was that the selected arena was set to this initial Arena
object, but another Arena object was created afterwards, which due
to the equals() method of ArenaImpl overwrote the previously created
Arena object in the arenas-list, but didn't change the reference in
the selected arena. In other words; two identical Arena objects were
created, but used in different places (arena list vs. selected arena).

The auto-expansion is removed by simply never auto-expanding regions
upon setting the arena warp or spawnpoints. Instead, setting these
warps throws an error, if p1 and p2 have not yet been set, or if the
location is outside the region.
2013-07-01 19:29:38 +02:00
garbagemule
62eebaa134 Cleanup. 2013-06-27 00:41:54 +02:00
garbagemule
243d0b00fb Add fixed setting for default waves. 2013-06-27 00:29:23 +02:00
garbagemule
65c5ea05b3 Add per-arena setting to enable/disable scoreboards. 2013-06-27 00:05:14 +02:00
garbagemule
97c54855d4 Attempt to fix some XP issues. 2013-06-25 01:58:28 +02:00
garbagemule
e2bae68db1 Ability cleanup.
- All the core abilities have been moved into the project folders
  such that they no longer require any extraction. As such, all
  servers should have the abilities already installed and ready
  to use, regardless of setup-retardation.
- An attempt at fixing the "invisible bosses" issue; a call to
  removeBoss was replaced with getBoss - hopefully this fixes
  all the issues.
2013-06-25 01:53:45 +02:00
garbagemule
1320c34f67 Major revamp of Upgrade Waves.
Using a node setup similar to that of the classes-section, it is
now possible to make complex Upgrade Waves that update weapons
and armor on-the-fly. This also means 'permissions' upgrades.
2013-06-24 22:24:01 +02:00
garbagemule
adb8ee1668 Add checkspawns command. 2013-06-24 22:10:07 +02:00
garbagemule
325b252696 Add showspawns command. 2013-06-24 21:44:18 +02:00
garbagemule
4d95b67cb1 Fix reload issues! Woooo! 2013-06-24 14:48:33 +02:00
garbagemule
3386ba3794 Use ChatColor in ScoreboardManager. 2013-06-24 11:15:52 +02:00
garbagemule
069394c9f5 Add per-arena setting: display-timer-as-level 2013-06-22 13:06:44 +02:00
garbagemule
fe8a8ffa80 Fix the all-node for upgrade waves. 2013-06-22 12:06:13 +02:00
garbagemule
52599319c1 Attempt at fixing reload issues. 2013-06-22 12:02:45 +02:00
Andreas Troelsen
db953285c5 Add per-arena setting 'auto-ready'. 2013-06-10 10:43:03 +02:00
Andreas Troelsen
ffe270511c Let Bukkit serialize (some) inventories...
Since ConfigurationSerializable, there's no need to manually serialize
items anymore, and thus we let Bukkit serialize player inventories for
when players join arenas.

However, the "repairables" in the soft-restore mechanism still use the
now obsolete SerializableItem and SerializableInventory classes, and
should perhaps be rewritten.

Note that for 1.0, it may still be necessary to write a custom means
of serializing items, since we don't know if a given implementation
supports native serialization (however it should be possible to rely
on Bukkit's in the Bukkit-specific classes).
2013-06-10 00:44:56 +02:00
Andreas Troelsen
bd025ff7a6 Add reward-node to boss waves. 2013-06-10 00:25:53 +02:00
Andreas Troelsen
4bcb5c04ac Update ItemParser to (hopefully) support more items. 2013-06-10 00:22:21 +02:00
Andreas Troelsen
7ef98d4538 Remove unused getWave() method from Arena 2013-06-10 00:19:42 +02:00
Andreas Troelsen
0be1a7e4c9 TNT no longer hurts other players with PvP disabled. 2013-06-06 09:38:24 +02:00
Andreas Troelsen
e8fbc6d2f7 Add locations to spawnpoint coverage warning. 2013-05-09 00:52:05 +02:00
Andreas Troelsen
6fc59c9321 Fix CME when players 'cheat' 2013-05-06 23:40:41 +02:00
Andreas Troelsen
5104c975fd Fix player health conflicts. 2013-05-03 22:30:59 +02:00
Andreas Troelsen
3fa63a1146 Only weapons should auto-repair. 2013-05-02 15:55:53 +02:00
Andreas Troelsen
1497a46a77 Make the scoreboard header a little smaller. 2013-05-02 15:41:46 +02:00
Andreas Troelsen
5757723028 Implement basic scoreboard support. 2013-04-09 19:39:48 +02:00
Andreas Troelsen
6d8ab98323 Scheduler stuff. 2013-04-09 14:07:54 +02:00
Andreas Troelsen
76633aeffe Fix potion bug with setclass command. 2013-04-08 02:03:41 +02:00
Andreas Troelsen
b99097f625 Last spot in class chests is now reserved for helmets. 2013-04-04 18:08:46 +02:00
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
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
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
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
Brian
27e1eae504 braaaaaaains... just kidding, but here are some more zombies 2013-01-09 22:11:47 -05: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
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
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
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
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
Brian
fc28597b95 increment version like normal, a few bug fixes, food level should now reset properly when leaving from/dying in the arena 2012-05-23 21:35:00 -04:00
Brian
76dc0c1df3 allow Snow & Iron Golems to be made in the arena. Track them and display when they die 2012-05-22 02:04:26 -04:00
Brian
e473c72743 fixed double economy rewards, spectators dont get rewards until after they leave the spec area 2012-05-22 01:42:17 -04:00
Brian
e2901086f0 a couple of TODOs, fixed "keep-exp: false" not removing exp 2012-05-21 22:15:11 -04:00
Brian
10147532a5 fix joining from other arenas (hopefully), readd missing block destroy check 2012-05-19 17:30:20 -04:00
Brian
806583f41a reworked block break logic a little, deny outsiders to break into the arena at all times 2012-05-16 22:30:12 -04:00
Brian
d856f32103 removeleaderboard command fixes, new Msg enum, plugin.yml 2012-05-13 13:58:59 -04:00
Brian
708ed2821d 0.94.4.66 - bug fixes, works for 1.2.5-R1.3 2012-05-13 02:22:21 -04:00
garbagemule
08b19e7b8e Snowmen no longer melt. Thanks to ACStache. 2012-03-30 03:31:31 +02:00
garbagemule
e9e18e569e Added 1.2 creatures OCELOT and IRONGOLEM. Thanks to ACStache. Also added SNOWGOLEM for the SNOWMAN type. 2012-03-30 03:26:51 +02:00
garbagemule
fa194823a9 Skeletons and zombies are no longer immune to fire blocks and fire arrows. Thanks to ACStache. 2012-03-30 03:17:59 +02:00
garbagemule
f2fefdb62d Dropping items as a spectator outside of the region forces the player to leave. Thanks to ACStache. 2012-03-30 03:11:29 +02:00
garbagemule
be1adba3b8 Added VERYLOW and VERYHIGH boss health values. VERYHIGH replaces PSYCHO, and PSYCHO is even more psycho. Thanks to ACStache. 2012-03-30 03:04:50 +02:00
garbagemule
a058bce396 Boss abilities should no longer continue when bosses die due to untracked damage. Still waiting for Bukkit to add the missing damage handling. 2012-03-11 16:14:45 +01:00
garbagemule
da0f028106 Fixed serious spawn prevention issue. 2012-03-11 15:54:34 +01:00
garbagemule
f0e0419ebd Added null check for reward logging. 2012-03-11 13:41:30 +01:00
garbagemule
7ecc2c7a0d Fixed silly logging bug when leaving from the lobby. 2012-03-08 09:05:37 +01:00
garbagemule
61a2e3b319 Colorful sheep! 2012-03-08 03:00:31 +01:00
garbagemule
70ec22a066 Added auto-ignite-tnt arena setting. 2012-03-08 02:05:31 +01:00
garbagemule
a036891996 If only git knew to add new files... 2012-03-08 00:00:35 +01:00
garbagemule
48acd00d47 Reintroduced logging. 2012-03-07 23:51:00 +01:00
garbagemule
5e7287d03f Potion effects are properly removed on join and leave/death. 2012-03-04 13:25:40 +01:00
garbagemule
2adf1678cc Make harmful potions obey the pvp-enabled setting. 2012-03-03 11:47:53 +01:00
garbagemule
fba31d26a4 Prevent endermen from warping in and out of arena regions. 2012-03-03 11:09:59 +01:00
garbagemule
e394e1554c Teach auto-generated arenas to update their lobby signs. 2012-03-03 10:59:25 +01:00
garbagemule
e3c22c98e0 Fixed disable command. Minor code cleanup. 2012-03-03 10:48:47 +01:00
garbagemule
1f7d280ac8 Fixed classname sensitivity. Permission nodes MUST be all lowercase now, though. This should also erase any confusion with PEX perms. 2012-03-03 09:05:35 +01:00
garbagemule
5df837ea68 Added support for infinite itemstacks. 2012-03-03 08:44:18 +01:00
garbagemule
dc9059cecd Updated source code for CB 1.1-R6. 2012-03-02 22:30:52 +01:00
garbagemule
353109c89a Systems with no Java compiler will not try to compile files. Default abilities are now pre-compiled for compatibility with such systems. build.xml updated to reflect changes. 2012-03-01 22:13:36 +01:00
garbagemule
a3fa0539ce Attempt to properly update... 2012-03-01 00:19:17 +01:00
garbagemule
2e76b93837 Fucking hate git... 2012-03-01 00:12:14 +01:00
Garbage Mule
777f6b9b07 So, you got a big source code revamp. Big whoop, wanna fight about it? 2012-02-24 05:11:06 +01:00
Garbage Mule
e7c66be183 Attempt to fix the permissions issues. 2011-12-12 03:09:49 +01:00
Garbage Mule
bc33ed5824 Blabla 2011-12-12 03:05:51 +01:00
Garbage Mule
c420568cb9 JoinCommand and ArenaListCommand somewhat done. 2011-12-10 23:49:39 +01:00
Garbage Mule
289b1792f5 Complete Config-overhaul, as well as preparation and initial classes for JUnit-testing and refactoring of commands. 2011-12-10 18:33:04 +01:00
Garbage Mule
65e17239e6 Fixed boss health issues. Needs cleanup later. 2011-12-03 21:19:25 +01:00
Garbage Mule
7e30c42510 Fixed item stack creation, so splash potions are created properly. 2011-12-03 20:48:04 +01:00
Garbage Mule
f7e8cc2a83 Potions are now supported as class items. The effects do not wear off upon leaving. Waiting for a relevant cancellation method in Bukkit API. 2011-12-03 20:28:38 +01:00
Garbage Mule
8a0c76c23f First build against MC 1.0 CB. Added support for the new creatures. Ender dragons are messed up, though! 2011-12-03 19:47:17 +01:00
Garbage Mule
2603536149 Food level defaults to 10 to avoid the invincibility effect. 2011-12-03 16:30:28 +01:00
Garbage Mule
c9b9587ce9 Added final-wave per-arena setting. 2011-10-25 17:31:48 +02:00
Garbage Mule
9161bead55 Fixed Heroes health bug (thanks, Drehverschluss, for helping out with the testing) 2011-10-24 19:27:07 +02:00
Garbage Mule
a31aa1ce0e Fixed the mobarena.setup.addcontainer permission 2011-10-18 17:54:12 +02:00
Garbage Mule
ad4d502618 Changed the default usage message to reflect people fucking up 2011-10-18 14:46:48 +02:00
Garbage Mule
6d53b7c193 Fixed warping to lobby from outside the region. 2011-10-14 13:23:56 +02:00
Garbage Mule
fb678cc89f Rewrote teleport handling. 2011-10-14 02:41:41 +02:00
Garbage Mule
5165eda6df Implemented blocklist clearing (no more repair-delay!), and added support for right-clicking signs in the lobby! 2011-10-14 02:26:53 +02:00
Garbage Mule
b4c8ad1d25 C:/Program Files (x86)/Git/ma showregion now picks the arena the player is in, or the selected arena if none were found. Changed to client-side blocks, too. 2011-10-09 02:08:57 +02:00
Garbage Mule
7567d10dda Live players are now displayed on leaderboards in green. Dead players are still displayed in black. 2011-10-08 12:55:10 +02:00
Garbage Mule
4762fb5a6e Signs now properly clear at the start of sessions. 2011-10-08 12:20:58 +02:00
Garbage Mule
279e04abb4 Delayed dousing fire by 2 ticks. 2011-10-05 12:17:18 +02:00
Garbage Mule
b13ff6b7fc Class signs can now contain colors! 2011-10-04 22:28:53 +02:00
Garbage Mule
f4b89fe386 Changed the default CB version to 1240 in case of failure 2011-10-04 21:41:17 +02:00
Garbage Mule
7df41a6027 Updated Register, built against CB 1240 2011-10-04 02:23:24 +02:00
Garbage Mule
69ad343e16 Players not in the right world will now get banned for life! 2011-10-03 22:03:48 +02:00
Garbage Mule
f808b24464 Leaderboards now sort properly, and update every 100 ticks. This will be customizable later. 2011-10-02 23:16:47 +02:00
Garbage Mule
34d2af6c14 v0.94.3.9 - Deprecated support for Heroes pre-b400! 2011-10-02 18:13:57 +02:00
Garbage Mule
515d29a714 Added basic Leaderboards functionality. 2011-10-02 07:24:57 +02:00
Garbage Mule
5c3f65fabe Changed the version checker to be more regex friendly. 2011-09-30 12:47:59 +02:00
Garbage Mule
7d9b227c7e Removed dead file. 2011-09-27 20:21:32 +02:00
Garbage Mule
70ead1efe1 Fixed MagicSpells mumbo jumbo. No more pre v1.1! 2011-09-27 20:19:53 +02:00
Garbage Mule
da8c98b119 Fixed the spawnMonsters/difficulty change. Stable for 1185 and 1216 now. 2011-09-26 17:50:37 +02:00
Garbage Mule
fd5be195a8 arenaMap in ArenaMaster moved to avoid NPE in onDisable 2011-09-25 20:49:58 +02:00
Garbage Mule
3e529e5d0e Missed setting the gamemode on join! 2011-09-25 16:48:07 +02:00
Garbage Mule
8be674d8ec Game mode stuff 2011-09-25 16:46:51 +02:00
Garbage Mule
5679a5b135 Another null check 2011-09-25 15:27:28 +02:00
Garbage Mule
b0ec5b85c6 CreatureType.MONSTER replaced by CreatureType.ZOMBIE just in case 2011-09-25 00:54:38 +02:00
Garbage Mule
f7d9ce1bd6 Fixed some boss spawnpoint issues. 2011-09-25 00:52:19 +02:00
Garbage Mule
03a1212e6b Null check mania! 2011-09-23 17:45:37 +02:00
Garbage Mule
c126bf36e9 Updated economy support 2011-09-22 11:50:01 +02:00
Garbage Mule
0badeaaf90 Added recording of food bar on player join 2011-09-18 23:41:16 +02:00
Garbage Mule
dcff0915a5 Fixed/changed per-class permissions, added Endermen, Cave Spiders and Silverfish, and other stuff. 2011-09-18 23:33:07 +02:00
Garbage Mule
f1433cfc88 Code cleanup 2011-09-16 22:45:05 +02:00
Garbage Mule
7d2c9c9240 Fixed lightning-setting in config-file actually doing something. 2011-09-16 01:40:56 +02:00
Garbage Mule
f0f5967e8d Added support for MagicSpells v1.1 (bad nisovin, BAD!) 2011-09-15 16:19:45 +02:00
Garbage Mule
5e55d57326 Restored MagicSpells 1.04 suppport... 2011-09-15 07:38:24 +02:00
Garbage Mule
a0b489f11b Compiled against CB1113 2011-09-15 07:35:46 +02:00
Garbage Mule
6291a0fbfb Added Spout class selection option 2011-09-14 01:29:26 +02:00
Garbage Mule
ace0475530 Removing JNBT library 2011-09-14 00:04:13 +02:00
Garbage Mule
7c5d5bfda2 Cleanup in MAUtils. 2011-09-14 00:02:07 +02:00
Garbage Mule
33710b7dc3 Added health-multiplier support for swarm waves. 2011-09-13 23:44:36 +02:00
Garbage Mule
d927c147ec Yet another hotfix 2011-09-13 23:38:53 +02:00
Garbage Mule
2ce02c9169 Hotfix for health-multiplier 2011-09-13 23:34:20 +02:00
Garbage Mule
35647bd14c Introduced health-multiplier and amount-multiplier 2011-09-13 23:31:55 +02:00
Garbage Mule
3147bdfda0 Added only-on-swarms for MagicSpells 2011-09-13 21:46:51 +02:00
Garbage Mule
739d7270f1 Players that warp out of the world will get kicked. 2011-09-13 17:39:00 +02:00
Garbage Mule
4c0726a822 Fixed more Heroes stuff, pet stuff, etc. 2011-09-13 17:14:50 +02:00
Garbage Mule
7457aea412 Fixed Heroes PvP stuff... 2011-09-13 16:09:58 +02:00
Garbage Mule
b85f87f856 Introduced magicspells.yml for disabling custom spells. 2011-09-13 10:43:41 +02:00
Garbage Mule
34f688da70 Disables the MagicSpells purge spell during boss fights. 2011-09-13 09:37:25 +02:00
Garbage Mule
ff28bf1a87 Fixed Heroes death bug (maybe)... Time for testing! 2011-09-12 23:46:59 +02:00
Garbage Mule
1959ba5b85 Added isPvpEnabled() on Arena 2011-09-10 23:15:54 +02:00
Garbage Mule
e624e41bfc Removed a redundancy 2011-09-10 10:45:03 +02:00
Garbage Mule
19b011981e Projectile damage should no longer damage players if PvP is disabled 2011-09-09 18:15:48 +02:00
Garbage Mule
ff7329e3c4 Code cleanup, and projectiles should no longer damage pet wolves. 2011-09-09 18:11:15 +02:00
Garbage Mule
cc1ba24ef8 Moved setTypeId() to the RepairableAttachable constructor 2011-08-31 00:33:40 +02:00
Garbage Mule
f402800dd2 Made redstoney things drop as items more rarely. 2011-08-30 23:52:03 +02:00
Garbage Mule
0fd997e3e9 Cleaned up listeners, redstone works (but drops as items), made permission string matching cleaner/faster 2011-08-30 22:48:28 +02:00
Garbage Mule
6fa7f377cc GIT SUCKS MONKEY NUTS! 2011-08-28 01:26:42 +02:00
Garbage Mule
5534b87c9e Added two new boss abilities 2011-08-22 23:01:30 +02:00
Garbage Mule
04fdbf9031 Normal sheep no longer act like exploding sheep 2011-08-22 20:39:40 +02:00
Garbage Mule
4d5c23aa97 Fixed spawn-monsters=false bug 2011-08-22 20:32:26 +02:00
Garbage Mule
d164e43c05 Fixed item sub-types not working and players not being removed from classMap upon /ma leave 2011-08-22 19:24:47 +02:00
Garbage Mule
6079c8828e MACreature enum no longer has underscores. Underscores, hyphens and periods (_, -, .) will be removed upon load, so any of those can be used anywhere for convenience 2011-08-22 08:42:23 +02:00
Garbage Mule
f0c2031076 Added a boss spawnpoints collection to make spawnpoint iteration more smooth 2011-08-22 01:51:59 +02:00
Garbage Mule
22f30880e9 Added Spout support for announcements and reverted to old spawn algorithm 2011-08-21 23:40:36 +02:00
Garbage Mule
6c0af886b1 Monsters no longer target pet wolves in the arena. 2011-08-21 12:41:46 +02:00
Garbage Mule
c298607b56 Players no longer lose stored items and/or earned rewards upon disconnecting from the arena. 2011-08-20 16:01:10 +02:00
Garbage Mule
4ffee1630b Revamped valid spawnpoint algorithm. 2011-08-18 16:56:09 +02:00
Garbage Mule
32f722d733 Added boss ability-announce and ability-interval, and fixed JDOM library issue 2011-08-16 04:52:09 +02:00
Garbage Mule
a3d1b4bb80 Added proper repairing of containers and signs 2011-08-15 01:34:14 +02:00
Garbage Mule
8d234a50e9 More boss abilities 2011-08-10 09:01:12 +02:00
Garbage Mule
06f0c354ab Removing some unneeded classes 2011-08-09 23:48:25 +02:00
Andreas Troelsen
6791f40da4 Exploding sheep a la Notch-code. 2011-08-09 19:33:08 +02:00
Garbage Mule
07c6d5a178 Goodies! 2011-08-06 15:40:37 +02:00
Garbage Mule
1b1e1704c0 Fixed /ma leave, thanks Paul! 2011-08-04 23:21:39 +02:00
Garbage Mule
078eca7094 Default, special, swarm and boss waves implemented. 2011-08-04 22:16:55 +02:00
Garbage Mule
d40901160c Changes 2011-08-03 18:40:57 +02:00
Andreas Troelsen
8a5700e01e Stupid git... 2011-07-31 21:35:14 +02:00
Andreas Troelsen
4c7d85193e Preparations for customizable waves.. 2011-07-31 21:26:18 +02:00
Andreas Troelsen
a277bf2b33 v0.93.3 Fixed some issues with class items, inventory, arena end crashing with logging, etc. 2011-07-19 23:10:34 +02:00
Andreas Troelsen
8805f8a38c Actually fixed players being able to join while arena was running... 2011-07-19 19:32:31 +02:00
Andreas Troelsen
efe88dbf85 Fixed players being able to join while the arena is running 2011-07-19 19:29:35 +02:00
Andreas Troelsen
72cf8e6a42 Fixed some bugs 2011-07-19 16:47:15 +02:00
Andreas Troelsen
f3131585de v0.93.2 - Bugfixes and preparations for Battlegrounds 2011-07-18 00:15:43 +02:00
Garbage Mule
3d398a1899 Bla 2011-07-17 13:11:41 +02:00
Garbage Mule
1498359add Last update 2011-07-04 17:09:03 +02:00
Garbage Mule
eae0439e25 v0.92 - Added Permissions support 2011-07-03 16:20:02 +02:00
Garbage Mule
b5eb307513 Removed excess files 2011-07-03 12:25:48 +02:00
Garbage Mule
203a4a15f7 Removed excess files 2011-07-03 12:25:09 +02:00
Garbage Mule
110db86ab9 v0.92 - First commit to dev branch! 2011-07-03 12:21:34 +02:00
Garbage Mule
b6194f1c64 v0.91.2 - Added Tombstone compatibility and inRegion() for API 2011-06-17 01:57:05 +02:00
zonedabone
04ab729a48 Added support for other death plugins. 2011-06-16 10:46:55 -04:00
Garbage Mule
1e4933d1ae v0.91.1 Fixed a spawn override issue 2011-06-15 05:09:25 +02:00
Garbage Mule
9a1b90fe53 v0.91 - Added API and fixed a few bugs. 2011-06-15 02:35:22 +02:00
Garbage Mule
729ddcdd12 v0.90.2 - Fixed a reward bug and added spawn-monsters=false support 2011-06-14 16:38:25 +02:00
Garbage Mule
7805843713 v0.90.1 - Fixed Creeper instant deaths and other bugs. This is no longer block break. 2011-06-14 03:35:24 +02:00
Garbage Mule
6e72e4e83a Fixed a whoops 2011-06-12 05:56:44 +02:00
Garbage Mule
aee63b2463 v0.90 - A bunch of bug-fixes, revamped config-file 2011-06-12 05:52:36 +02:00
Pandarr
dd29291f58 Removed some unneeded imports.
Made player list generation more efficient.
Removed calls to .keySet()
2011-06-05 08:49:01 -07:00
Garbage Mule
fe54473f6d v0.89.2 - Fixed force end command 2011-06-05 16:21:10 +02:00
Garbage Mule
d03e56f915 v0.89.1 - Added update checking and fixed bugs. 2011-06-05 14:08:26 +02:00
Garbage Mule
9c0f442755 Fixed sword degradation problem 2011-06-05 08:21:28 +02:00
Garbage Mule
eadcaa682b Fixed the command blocker 2011-06-05 07:24:56 +02:00
Garbage Mule
09ff211987 Whoops! Fixed something in ArenaManager.java. Thanks desmin! 2011-06-05 06:51:32 +02:00
Garbage Mule
faaff515a1 v0.89 - Cleaned up some code, fixed undo command, added stuff 2011-06-05 06:43:52 +02:00
Garbage Mule
0ccbc22fca v0.88.3 - Added new commands: config reload, force end, enabled true|false 2011-06-04 23:14:45 +02:00
Garbage Mule
4145c4f5d7 v0.88.2 - Added /ma notready 2011-06-04 20:05:55 +02:00
Garbage Mule
9b795c3174 v0.88.1 - Default rewards 2011-06-03 16:43:08 +02:00
Garbage Mule
a48859be6b v0.88 - Fixed players dropping items if they actually die, added wolves to default waves, added world-node to config-file 2011-06-03 12:02:51 +02:00
Garbage Mule
7ff9e1b251 v0.87.3 - Fixed players being able to leave and keep their items. 2011-06-03 01:18:35 +02:00
Garbage Mule
bd0b311a60 v0.87.2 Fixed players losing rewards when typing /ma leave after arena end. 2011-06-02 22:55:10 +02:00
Garbage Mule
9163c5eef7 v0.87.1 - Fixed delspawn, added /ma reset coords 2011-06-02 17:12:41 +02:00
Garbage Mule
06f5cbb340 v0.87 fixed bugs, added compatibility with Mean Admins, added command alias /mobarena, bigger auto-generated arena 2011-06-02 15:27:31 +02:00
Garbage Mule
c309df8104 v0.85 Bugfixes 2011-06-02 02:03:16 +02:00
Garbage Mule
cfe135e465 fix 2011-06-01 20:50:20 +02:00
Garbage Mule
5e4d9b5624 Optimized getClosestPlayer 2011-06-01 16:26:13 +02:00
Garbage Mule
c9cc5cef8b Added a new targetting system 2011-06-01 13:06:19 +02:00
Garbage Mule
3cdc17c9dd v0.82 fixed arena being made of wood >.< 2011-06-01 02:55:19 +02:00
Garbage Mule
7a34bd0690 v0.81 Fixed a few bugs, added DoooooItHippieMonster(), unlimited durability on swords 2011-06-01 02:38:40 +02:00
Garbage Mule
276d7a8c11 0.72 - wolves, protect and tweaks 2011-05-31 17:11:43 +02:00
Garbage Mule
3647c758e4 minor tweaks 2011-05-31 00:29:07 +02:00
Garbage Mule
94c978ecf5 minor tweaks 2011-05-31 00:27:39 +02:00
Garbage Mule
829e6d68e0 minor tweaks 2011-05-30 23:59:56 +02:00
Garbage Mule
94ab7f3cac Removed excess files, hopefully... 2011-05-30 07:22:55 +02:00
Garbage Mule
6628a74836 first commit 2011-05-30 07:11:25 +02:00