Commit Graph

313 Commits

Author SHA1 Message Date
Daniel Saukel
01c869f897 Don't send leave notifications when players finish the dungeon 2016-06-10 19:11:45 +02:00
Daniel Saukel
1e7e44f224 Remove player from DGroup when he leaves the game 2016-06-10 14:17:16 +02:00
Daniel Saukel
dd6eed6d93 Fix secure objects 2016-06-10 13:56:11 +02:00
Daniel Saukel
eaa198493b Make announcement interval configurable 2016-06-09 23:27:42 +02:00
Daniel Saukel
1851be10cb Fix announcers 2016-06-09 23:27:29 +02:00
Daniel Saukel
ad9e9b0077 Fix language file serialization 2016-06-09 22:22:32 +02:00
Daniel Saukel
fa5020f348 Fix ChatColor import 2016-06-09 22:22:24 +02:00
Daniel Saukel
4766790cab #40: Start games after 30s if enough players joined (UNTESTED) 2016-06-09 00:42:10 +02:00
Daniel Saukel
7716ed0cad Minor improvements for #85. Resolves #84 2016-06-08 16:28:53 +02:00
Daniel Saukel
969fc44d4e Merge branch 'TeleportSign' of git://github.com/Sn0wStorm/DungeonsXL into 0.12 2016-06-08 16:19:30 +02:00
Daniel Saukel
df562765ee Merge branch 'maxDungeons' of git://github.com/Sn0wStorm/DungeonsXL into 0.12 2016-06-08 16:13:00 +02:00
Daniel Saukel
f1892aaece Move settings feature to extended version 2016-06-08 14:53:06 +02:00
Daniel Saukel
f5644bffbc #83: Basic settings GUI
Added basics, the command, listener and a few player buttons.
2016-06-06 15:19:15 +02:00
Daniel Saukel
11f67839fe Use Spigot Updater 2016-06-06 14:03:21 +02:00
Daniel Saukel
aa74e02f9f Don't start an announcer task if there are no scripts 2016-06-05 23:52:35 +02:00
Daniel Saukel
275cba0799 Load Caliburn instance 2016-06-05 23:52:11 +02:00
Daniel Saukel
b05fd66fb7 #40 Added per player toggling 2016-06-05 13:42:10 +02:00
Sn0wStorm
dd8d3b1d0f If no direction on sign, use sign rotation 2016-06-01 21:35:23 +02:00
Sn0wStorm
479935f007 Added TeleportSign 2016-06-01 15:22:04 +02:00
Daniel Saukel
758a9f03cd Don't clear drops of custom mobs; resolves #75 2016-06-01 00:44:11 +02:00
Daniel Saukel
a97b345b30 CaliburnAPI / ItemsXL integration. Closes #74; closes #15 2016-06-01 00:44:11 +02:00
Daniel Saukel
eaf1cc0b13 Fix crash bug / weather listener loop 2016-06-01 00:44:11 +02:00
Daniel Saukel
ab4e15fd4f Minor fixes 2016-06-01 00:44:11 +02:00
Daniel Saukel
6c6d1a8552 Fix /dxl leave for edit mode 2016-06-01 00:44:11 +02:00
Daniel Saukel
39a9aa03ca Minor fixes for announcer 2016-06-01 00:44:11 +02:00
Daniel Saukel
6e43b559b6 Fix /dxl leave outside a dungeon 2016-06-01 00:44:11 +02:00
Daniel Saukel
4695c024ab Fix time requirement check 2016-06-01 00:44:11 +02:00
Daniel Saukel
e74b1bbb2e Cancel annoying weather in edit worlds 2016-06-01 00:44:11 +02:00
Daniel Saukel
b3003ac3ed Rewrite player data handling 2016-06-01 00:44:11 +02:00
Daniel Saukel
0a9149eb69 Added group size requirement 2016-06-01 00:44:11 +02:00
Daniel Saukel
0791008ea4 Finish sign scripts. Closes #48 2016-06-01 00:44:11 +02:00
Daniel Saukel
569ddf5a8a Added script signs (untested) 2016-06-01 00:44:11 +02:00
Daniel Saukel
3ca7017664 Make DSign#getGame() accessible pre ready 2016-06-01 00:44:11 +02:00
Daniel Saukel
ab40ea726f Meh 2016-06-01 00:44:11 +02:00
Daniel Saukel
34226a5568 #48: Ignore case to compare 2016-06-01 00:44:11 +02:00
Daniel Saukel
1b7842ea80 #48: Script system for mobs and classes 2016-06-01 00:44:11 +02:00
Daniel Saukel
3896e14ef4 Send game announcement only to listed worlds 2016-06-01 00:44:11 +02:00
Daniel Saukel
328e28c254 Move announcer task initialization to main class 2016-06-01 00:44:11 +02:00
Daniel Saukel
b7bc91fd68 Move announcer task initialization to main class 2016-06-01 00:44:11 +02:00
Daniel Saukel
a227d8628d #40 Basic game announcements 2016-06-01 00:44:11 +02:00
Daniel Saukel
70b4d16be5 #61: Some fixes 2016-06-01 00:44:11 +02:00
Daniel Saukel
a4f04ab92b Fix /dxl leave NPE 2016-06-01 00:44:11 +02:00
Daniel Saukel
02e738e840 NPE fixes 2016-06-01 00:44:11 +02:00
Daniel Saukel
231372956d #61: Use GameRules instead of WorldConfig 2016-06-01 00:44:11 +02:00
Daniel Saukel
ffde4f6c8b #61 Added central GameRules class
Not implemented and tested yet!
2016-06-01 00:44:11 +02:00
Daniel Saukel
6e0d4ef9b8 Permission bridge; resolves #42
Includes some fixes
2016-06-01 00:44:11 +02:00
Daniel Saukel
6dd6133978 Finished player handling rewrite. Resolves #63 2016-06-01 00:44:11 +02:00
Sn0wStorm
30d60e9ea2 Added maxDungeons config option 2016-05-31 22:47:21 +02:00
Sn0wStorm
1b6ed7432a Fix NPE in RedstoneSign 2016-05-31 22:10:15 +02:00
Sn0wStorm
6c6c9c4b59 Quickfix ConcModExc when using many Triggersigns 2016-05-31 22:09:16 +02:00
Sn0wStorm
48b735791f Fix All Dungeons being ended
When triggering the End Sign with Redstone etc
2016-05-31 22:07:33 +02:00
Daniel Saukel
6b70e71abb Use double to store health 2016-05-22 20:30:06 +02:00
Daniel Saukel
f266f00412 Fix DGroup dungeon entering issues 2016-05-15 20:56:36 +02:00
Daniel Saukel
1f2791792b Fix respawn task console errors 2016-05-15 19:31:34 +02:00
Daniel Saukel
f01a4411a5 Deny some abusable group commands while playing 2016-05-15 18:50:22 +02:00
Daniel Saukel
62781f9f88 Fix respawn task console errors 2016-05-15 18:49:20 +02:00
Daniel Saukel
2604f6c8db Fix lives command; compile against BRCommons 0.5.2 2016-05-10 15:12:16 +02:00
Daniel Saukel
ceace09bc7 Some event / test plugin / misc fixes 2016-05-06 18:12:26 +02:00
Daniel Saukel
c4243232f0 Fix /dxl group create 2016-05-06 16:11:26 +02:00
Daniel Saukel
5a3a77cabf Call events properly 2016-05-06 15:28:19 +02:00
Daniel Saukel
5699cc142b Fix #62 2016-05-05 20:46:41 +02:00
Daniel Saukel
cac3e3de39 Minor method naming changes 2016-05-05 20:46:08 +02:00
Daniel Saukel
d5415955c5 Map creation with a map name in use is now forbidden 2016-05-05 14:29:35 +02:00
Daniel Saukel
147588967a Code cleanup 2016-05-05 14:13:28 +02:00
Daniel Saukel
4f43db7390 Fix NPE on interact while creating portal 2016-05-04 21:22:52 +02:00
Daniel Saukel
bcd931c2fe Update to BRCommons 0.5.1 2016-05-02 21:48:39 +02:00
Daniel Saukel
601e0cb33e Fix #59 2016-05-02 00:17:14 +02:00
Daniel Saukel
c0a39bc533 Added experimental support for Citizens 2016-05-01 00:20:44 +02:00
Daniel Saukel
e34d5218dc New external mob system 2016-04-30 01:28:11 +02:00
Daniel Saukel
02317cc208 Move game.GameChest => reward.RewardChest 2016-04-29 22:06:33 +02:00
Daniel Saukel
7cbe7f44bb Move DLootInventory to reward package 2016-04-29 22:01:25 +02:00
Daniel Saukel
9ee1e56ddf Create DPlayer for all players on game start 2016-04-29 21:54:57 +02:00
Daniel Saukel
8cbbe09265 Use /mythicmobs instead of /mm 2016-04-29 21:54:25 +02:00
Daniel Saukel
394080da34 Fixed some reward bugs 2016-04-29 21:11:00 +02:00
Daniel Saukel
5e2c9ff601 Fixed GameSign updating when group is deleted 2016-04-29 21:10:16 +02:00
Daniel Saukel
eed8427eb1 Fixed check for permissions not in the enum 2016-04-29 21:08:42 +02:00
Daniel Saukel
0ccbc58be1 New permission system 2016-04-29 16:42:52 +02:00
Daniel Saukel
4737441f9b Use seconds instead of ticks in the config 2016-04-29 15:46:12 +02:00
Daniel Saukel
cdb18b5ae6 Secure Mode 2016-04-29 15:30:57 +02:00
Daniel Saukel
63ffd6a3f8 Use Message util by BRCommons 2016-04-29 01:24:59 +02:00
Daniel Saukel
c1415d054e Fixed group command 2016-04-28 22:41:51 +02:00
Daniel Saukel
2d4e870d65 Added enter command 2016-04-28 22:41:14 +02:00
Daniel Saukel
1cdc78dda3 Fix #52 2016-04-28 00:03:25 +02:00
Daniel Saukel
43e6a04da1 Fixed MythicMobs spawn amount and interval 2016-04-27 23:22:10 +02:00
Daniel Saukel
0caad8f0f4 Fixed MythicMobs not recognized as DMobs 2016-04-27 14:11:36 +02:00
Daniel Saukel
df806d1520 Added ProgressTrigger 2016-04-26 22:20:24 +02:00
Daniel Saukel
53ef4f2280 Added mob waves and the wave trigger
Still needs a trigger to trigger other signs
2016-04-26 20:44:14 +02:00
Daniel Saukel
bac30d3dbb Added Metrics (BRCommons 0.4) 2016-04-24 17:19:09 +02:00
Daniel Saukel
c275b9df35 Move worlds to a new package 2016-04-24 16:24:20 +02:00
Daniel Saukel
ed0e32d9eb Added Time is Running mode 2016-04-24 01:35:39 +02:00
Daniel Saukel
92b10ec50a Multi group dungeons 2016-04-24 00:02:04 +02:00
Daniel Saukel
aa8b952c7c Fix floor signs (end) 2016-04-09 21:47:51 +02:00
Daniel Saukel
dfce9a6f02 Fix #54 2016-04-09 21:47:25 +02:00
Daniel Saukel
1470ae6244 Add message for level reward 2016-04-09 21:45:43 +02:00
Daniel Saukel
0b82db56d2 Fix config values 2016-04-09 20:14:21 +02:00
Daniel Saukel
425ea8e0c1 Add level requirements / rewards 2016-04-09 20:05:27 +02:00
Daniel Saukel
83aaedcc95 Fix #35 2016-04-06 22:59:13 +02:00
Daniel Saukel
5578e3ce5d Remove debug message 2016-04-06 22:05:19 +02:00
Daniel Saukel
43fcee3c31 Fix keepInventoryOnEscape 2016-04-06 22:05:03 +02:00
Daniel Saukel
0afca982b2 Fixed leave teleportation bug 2016-03-28 21:11:01 +02:00
Daniel Saukel
f6bf75e051 Revert "Create a DGlobalPlayer on DPlayers initialization. Resolves #43"
This reverts commit 3c08691866.
2016-03-28 12:44:53 +02:00
Daniel Saukel
f42a85132e Create DGlobalPlayer after DPlayer deletion 2016-03-28 12:31:45 +02:00
Daniel Saukel
3c08691866 Create a DGlobalPlayer on DPlayers initialization. Resolves #43 2016-03-28 12:09:38 +02:00
Daniel Saukel
383e4b6e61 Fixed /dxl leave. Resolves #43 2016-03-28 11:59:01 +02:00
Daniel Saukel
744e48ad39 Remove unused DCommands class 2016-03-27 21:29:06 +02:00
Daniel Saukel
768064e6e9 Global protection and player handler rewrite
These two important rewrites are tied together, so I did a lot of the
player handler rewrite in this commit, even though it mainly tackles the
protection rewrite.
* Rewrote global protections
* Deprecated methods which are subject to change
* Protection system is now waaay more dynamic and provides an API
* Began to rewrite player handling
* Still uses DPlayer in many cases where e.g. DEditPlayer should be
used!
* Added class to represent the data file
2016-03-27 21:28:55 +02:00
Daniel Saukel
5490b99bf3 Do not suppress warnings 2016-03-23 12:03:39 +01:00
Daniel Saukel
ec90e59297 Added lives support for game types 2016-03-22 22:43:39 +01:00
Daniel Saukel
4163fc8905 Make title message configurable 2016-03-22 21:50:28 +01:00
Daniel Saukel
11a04feb11 Add check for GameSigns 2016-03-22 12:17:32 +01:00
Daniel Saukel
a3ee3c698c Fix 1.9 inventories (needs BRCommons update for version check) 2016-03-22 12:17:12 +01:00
Daniel Saukel
26e3b1ee27 Save config on initialization 2016-03-17 15:04:45 +01:00
Daniel Saukel
312844be78 Overhaul: Maven 2016-03-01 22:08:07 +01:00