Commit Graph

568 Commits

Author SHA1 Message Date
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
54b3df5eec [Ant] Add remote dist target. 2013-08-07 01:57:48 +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
77899a4e7f Update plugin.yml towards next release. 2013-07-24 14:50:51 +02:00
garbagemule
9d4d704626 Version 0.95.5
- Add missing monster type: baby pigmen
- Fix class chest bones not spawning pets
- Make auto-start kick message customizable
2013-07-24 14:36:13 +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
5a3ff900fc Update plugin.yml towards next release. 2013-07-17 15:21:42 +02:00
garbagemule
053c686ec4 Version 0.95.4
- Fix auto-ready not working with class chests
- Fix custom boss abilities not loading
2013-07-17 15:20:34 +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
805096c777 Update plugin.yml towards next release. 2013-07-09 04:56:26 +02:00
garbagemule
6a246a9a77 Version 0.95.3
- Make the region setup more intuitive
- Fix the lobby region issue
- (Hopfully) fix the setup process
2013-07-09 04:53:51 +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
8027fa3d5f Update plugin.yml towards next release. 2013-07-05 15:08:40 +02:00
garbagemule
b650a0316d Version 0.95.2
Hotfixing region issues.
2013-07-05 15:07:22 +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
075531517e Update plugin.yml towards next release. 2013-07-03 14:19:15 +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
garbagemule
0fdffedf85 Merge pull request #194 from acstache/bleeding
Keep track of which players picked which class

- Change MutableInt counters to String sets of player names
- Add getPlayersWithClass() method
2013-07-02 16:29:29 -07: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
821f3d776c Update plugin.yml towards next release. 2013-06-27 01:08:40 +02:00
garbagemule
4af4c67baf Version 0.95 2013-06-27 01:07:48 +02:00
garbagemule
e8837edd2e Get rid of that echo. 2013-06-27 00:55:06 +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