Commit Graph

268 Commits

Author SHA1 Message Date
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
Daniel Saukel
72c0fd6152 Added GameSign 2016-02-24 22:04:20 +01:00
Daniel Saukel
675492b667 Fixed some modifiers 2016-02-24 22:00:30 +01:00
Daniel Saukel
b0324f9da8 Fix rewards 2016-02-20 14:45:31 +01:00
Daniel Saukel
f58063a3b2 Continue new game type feature 2016-02-20 14:25:01 +01:00
Daniel Saukel
d519578dae Add friendlyFire option to GameTypes 2016-01-31 00:44:26 +01:00
Daniel Saukel
8b35d91f75 GameType: TEST 2016-01-31 00:43:44 +01:00
Daniel Saukel
7dc26d5805 Game type API 2016-01-29 23:59:33 +01:00
Daniel Saukel
69e1230690 Advanced groups 2016-01-27 20:19:28 +01:00
Daniel Saukel
db96fb4014 :C 2016-01-21 13:55:49 +01:00
Daniel Saukel
73bb925df2 Fix cast exceptions 2016-01-16 20:55:46 +01:00
Daniel Saukel
2fc7e841e1 New structure 2016-01-16 14:28:11 +01:00
Daniel Saukel
e013d5fd3a Added simple PvP rules 2016-01-16 11:30:03 +01:00
Daniel Saukel
2ac0ad1b5c Check if world exists before teleportation 2016-01-16 11:29:06 +01:00
Daniel Saukel
88ace289bd Copy edit world before saving sign data 2016-01-16 11:09:46 +01:00
Daniel Saukel
4391330bc7 Improve protection management #28 2016-01-14 20:14:20 +01:00
Daniel Saukel
8847809c20 Fixed rewards and finishing a dungeon 2016-01-14 18:46:27 +01:00
Daniel Saukel
d7e4c09599 Added command whitelists 2016-01-14 18:06:04 +01:00
Daniel Saukel
970e351c5f Fixed /dxl edit only working with permission even if the player is invited 2016-01-14 17:14:36 +01:00
Daniel Saukel
9d78ce5db1 Implement requirement, reward and trigger events 2016-01-13 00:28:47 +01:00
Daniel Saukel
6d0b6f3b6e Implement world events 2016-01-13 00:11:53 +01:00
Daniel Saukel
6157df9703 Implement DPlayer events 2016-01-12 23:55:20 +01:00
Daniel Saukel
80ebdeeda3 Implement DMobDeathEvent 2016-01-12 22:53:33 +01:00
Daniel Saukel
6ec3808a25 Implemented DGroup events 2016-01-12 22:39:52 +01:00
Daniel Saukel
418e2cb075 Requirement / reward systems now work flawlessly :) 2016-01-12 21:34:05 +01:00
Daniel Saukel
e6ebee2d27 Improve screen message util 2016-01-10 16:54:23 +01:00
Daniel Saukel
262eceabfa Minor fixes for chest & ready signs 2016-01-10 16:53:44 +01:00
Daniel Saukel
ffbaac5bb3 Continue new APIs and their implementation 2016-01-10 16:53:13 +01:00
Daniel Saukel
ce4ddae39f Load triggers 2016-01-10 16:50:59 +01:00
Daniel Saukel
89d2f50055 Implement GameWorldStartEvent 2016-01-10 16:50:45 +01:00
Daniel Saukel
83a2f3058d Changed and added some of the new events 2016-01-10 16:50:05 +01:00
Daniel Saukel
1499f71a28 Fix possible bugs with test & play commands 2016-01-10 16:48:58 +01:00
Daniel Saukel
3c80c7635f Fix NPE in /dxl list 2016-01-10 16:48:18 +01:00
Daniel Saukel
0746d836b3 Added some events (not implemented yet) 2016-01-03 00:40:38 +01:00
Daniel Saukel
d15b8a323c Added API for rewards and requirements 2016-01-02 23:10:49 +01:00
Daniel Saukel
374e8b20ea Added APIs for rewards and requirements 2016-01-02 23:07:51 +01:00
Daniel Saukel
8c1b6cf8a9 Merge pull request #29 from DRE2N/TriggerAPI
Add API for trigger (not fully implemented)
2016-01-02 18:26:32 +01:00
Daniel Saukel
4c7d0c91f1 Fixed some message bugs
Now ready for a release :)
2015-12-31 16:12:57 +01:00
Daniel Saukel
3d7c18a327 Fixed group leave bug 2015-12-31 16:12:35 +01:00
Daniel Saukel
87336aa6df Add API for trigger (not fully implemented) 2015-12-30 20:28:28 +01:00
Daniel Saukel
b36be75a57 Improve multi version code & #21 2015-12-30 17:15:08 +01:00
Daniel Saukel
30096fe166 Fix CommandSign 2015-12-29 21:21:46 +01:00
Daniel Saukel
930045c263 Update to CommandsXL 2.0 2015-12-29 20:42:11 +01:00
Daniel Saukel
41e5a05f93 Permissions are now defined in the plugin.yml 2015-12-29 17:02:53 +01:00
Daniel Saukel
c38d0dfc4a Added /dxl break command
+ Some minor improvements
2015-12-29 16:16:13 +01:00
Daniel Saukel
f4bd3d579a Minor code changes 2015-12-28 22:54:11 +01:00
Daniel Saukel
f9e616b3cf Rewrote message system 2015-12-28 17:46:52 +01:00
Daniel Saukel
231dfff5c3 Added broadcastMessage() method to MessageUtil 2015-12-28 17:46:19 +01:00
Daniel Saukel
8a63006167 +DGroup#sendMessage(); Fixed NPE on quit 2015-12-28 14:54:06 +01:00
Daniel Saukel
47e21e92f5 Made MessageUtil a littlebit cleaner 2015-12-28 01:38:50 +01:00
Daniel Saukel
9ac6d4b670 Remove @SuppressWarnings("deprecation") because the methods aren't deprecated anymore 2015-12-28 01:38:19 +01:00
Daniel Saukel
4c7b97356a Fix freeze bug at a new floor 2015-12-28 01:37:46 +01:00
Daniel Saukel
0b0e676733 Bugfixes
Variable names, unlimited mobs and a group sign bug
2015-12-27 19:27:55 +01:00
Daniel Saukel
0cc9a28f4d Fix group signs not loading correctly
...and minor further fixes.
2015-12-27 14:07:30 +01:00
Daniel Saukel
a018664102 Continue overhaul
This commit includes the PlayerListener and a bugfix in onJoin at
servers without Vault.
2015-12-25 15:48:11 +01:00
Daniel Saukel
56f98e6826 Continue rewrite (including sign system rewrite) 2015-12-25 01:30:23 +01:00
Daniel Saukel
e0a87dd2ac Made Vault soft dependency only 2015-12-23 21:39:05 +01:00
Daniel Saukel
ebd644afe7 Fix NullPointerException 2015-12-22 14:22:36 +01:00
Daniel Saukel
df8e45a8b4 Send dungeon and map name on enter 2015-12-21 22:27:53 +01:00
Daniel Saukel
c8708e8bc8 Support for color codes in the treasure inventory title 2015-12-21 22:26:40 +01:00
Daniel Saukel
0a43be0973 Removed a debug message 2015-12-21 22:26:06 +01:00
Daniel Saukel
a78d0d610d Multi floor support (bugs may occur) 2015-12-21 21:00:26 +01:00
Daniel Saukel
cf17fcf32c General cleanup
Finished to large extent. Including:
- Replaced many field references with getters and setters
- Replaced many "if (...) { if (...) {" blocks with "if (!...) {return}"
to clean up the code a littlebit
- Changed package naming to "io.github.dre2n"
- Rewrote the command system
- Rewrote the lives system
- Rewrote the permissions system to use SuperPerms instead when possible
- Rewrote the multi version handler and added code to support Minecraft
1.9 (obviously untested)
- Added CommandsXL command signs
- Renamed "dungeons" folder to "maps" and prepared a bit more for the
upcoming multi floor support
- Bugfixes
- ...and a looooot more
2015-12-12 21:31:43 +01:00
Daniel Saukel
c98e52a925 Fix onDeath 2015-09-20 17:18:57 +02:00
Daniel Saukel
56c3e982ba Fix null check position in PlayerDeathListener 2015-09-10 14:49:51 +02:00
Daniel Saukel
9fcdba3d1c Fix #13 2015-09-07 18:15:43 +02:00
Daniel Saukel
39179b1eec Fix ClassCastException when arrows are fired at MythicMobs mobs 2015-09-06 20:26:15 +02:00
Daniel Saukel
2fe1c9d28a Fixed NPE in /dxl leave 2015-08-29 15:44:13 +02:00
Daniel Saukel
cabbb35775 Added MythicMobs compatibility to mob trigger 2015-08-28 21:56:29 +02:00
Daniel Saukel
b4599e74f3 keepInventory split 2015-08-26 21:35:15 +02:00
Daniel Saukel
0dc20b271b Small fixes / improvements concerning lives 2015-08-12 20:16:08 +02:00
Daniel Saukel
c8a9b510d4 Split keepInventory (WIP) 2015-08-12 17:05:53 +02:00
Daniel Saukel
c562999f11 Remove static modifier of economy 2015-08-12 15:02:06 +02:00
Daniel Saukel
77baa789e6 Improve play command
Added requirements
2015-08-11 19:34:27 +02:00
Daniel Saukel
5be72ab941 Improve economy support
-Fees
-Configurability
2015-08-11 19:33:31 +02:00
Daniel Saukel
2b7cf84e89 Added /dxl play command 2015-08-03 17:18:41 +02:00
Daniel Saukel
9bdab01b10 Added support for money rewards - untested! 2015-07-30 16:47:02 +02:00
Daniel Saukel
b9746d4526 Added support for 1.8.8 2015-07-30 13:55:24 +02:00
Daniel Saukel
29b9742df5 Set GM to creative in edit mode 2015-07-29 00:06:48 +02:00
Daniel Saukel
de514eff01 Added support for MythicMobs 2015-07-29 00:00:32 +02:00
Daniel Saukel
539bd42f40 Fix portal bug 2015-07-28 23:17:39 +02:00
Daniel Saukel
c8434dec64 Added UUID support for player data 2015-07-17 13:14:59 +02:00
Daniel Saukel
0faa6df7ef NMS handler
Works with v1_7_R3 - v1_8_R3.
2015-07-16 20:33:17 +02:00
Daniel Saukel
fa17562a09 Add UUID support for invited players
Should work fine. Not tested, though.
2015-07-16 00:26:46 +02:00