Commit Graph

346 Commits

Author SHA1 Message Date
Daniel Saukel
9de40e2d1d (Re)add built-in command signs 2020-03-22 23:51:31 +01:00
Daniel Saukel
b4171e3479 Revert redstone signs functionality 2020-03-21 19:02:45 +01:00
Daniel Saukel
d6a2e38375 Fix mob signs 2020-03-21 18:17:35 +01:00
Daniel Saukel
f1e98aa66b Update sign colors in language files 2020-03-21 18:14:51 +01:00
Daniel Saukel
d3fc1cb8a0 Use the same green on every interact sign 2020-03-21 17:57:42 +01:00
Daniel Saukel
ed10a03629 Use messages game rule for hologram signs 2020-03-21 17:17:33 +01:00
Daniel Saukel
04ac3b3b58 Don't set signs to air on dungeon init that aren't initialized yet 2020-03-21 16:45:18 +01:00
Daniel Saukel
c4b2562d07 Use setToAir() method everywhere 2020-03-21 16:44:34 +01:00
Daniel Saukel
dede41827f Fix sign IOOB exception if line one length is small 2020-03-21 16:41:06 +01:00
Daniel Saukel
42e762911a Don't use Caliburn's Commons lib import 2020-03-21 16:40:25 +01:00
Daniel Saukel
2e26fe7d7c Remove... whatever this is 2020-03-20 21:09:53 +01:00
Daniel Saukel
56ef3dd202 Shift trigger logic to new sign categories 2020-03-20 21:09:36 +01:00
Daniel Saukel
82cb68c3b5 Consistent exception catching in BlockSign#activate() and #deactivate() 2020-03-20 18:47:52 +01:00
Daniel Saukel
f19417ceeb Start interaction sign IDs at 0 2020-03-20 18:47:27 +01:00
Daniel Saukel
d3e32f5893 Better script sign support 2020-03-20 18:44:26 +01:00
Daniel Saukel
0a3d559b39 Handle interval == 0 windups 2020-03-19 17:06:23 +01:00
Daniel Saukel
53cd13b0ec How did this happen? We're smarter than this! 2020-03-19 16:35:30 +01:00
Daniel Saukel
d0042949fc Fix loading game rules 2020-03-19 15:14:07 +01:00
Daniel Saukel
0212a865f8 Improve message signs 2020-03-18 19:37:41 +01:00
Daniel Saukel
3d19e30287 Readd trigger parser 2020-03-18 19:37:12 +01:00
Daniel Saukel
5d452db92d Use game rules from registry instead of default VALUES array 2020-03-18 19:36:51 +01:00
Daniel Saukel
929a87ac68 Fix potential dungeon game rule NPE 2020-03-18 19:33:06 +01:00
Daniel Saukel
dcc7d4e4fb Set MobSign runnable 2020-03-18 17:07:47 +01:00
Daniel Saukel
02c159e3df Fix title signs 2020-03-18 16:14:06 +01:00
Daniel Saukel
51cccb3afb Load and trigger signs correctly in games 2020-03-18 16:13:58 +01:00
Daniel Saukel
293dc75f0e More Container fixes 2020-03-18 16:13:29 +01:00
Daniel Saukel
2eb3ab6332 Fix NPE when player quits 2020-03-18 13:02:25 +01:00
Daniel Saukel
9a10bea264 Fix reward chest backwards compatibility 2020-03-18 01:15:32 +01:00
Daniel Saukel
bd91373a03 Make title signs use messages game rule 2020-03-18 01:13:15 +01:00
Daniel Saukel
c3528eff3d Fix legacy sign check 2020-03-18 01:12:53 +01:00
Daniel Saukel
8402311e6f Fix msg command 2020-03-18 01:12:37 +01:00
Daniel Saukel
767a5eddaf Fix dungeon config NPE 2020-03-17 13:46:56 +01:00
Daniel Saukel
f94a12c1f7 Fix sign getters 2020-03-17 13:46:45 +01:00
Daniel Saukel
cafe90e40e Fix deprecated signs crashing server 2020-03-16 19:57:28 +01:00
Daniel Saukel
d60d3f3345 Fix MobSign constructor 2020-03-16 18:47:51 +01:00
Daniel Saukel
12d9d73e8a Move dependencies to achieve standalone functionality of API module 2020-03-16 17:45:14 +01:00
Daniel Saukel
6b9ac9d624 Finish game rule API 2020-03-16 16:41:07 +01:00
Daniel Saukel
49b94f8c82 Add GAME_GOAL game rule 2020-03-13 23:50:49 +01:00
Daniel Saukel
c6454057f4 Implement new sign system 2020-03-13 23:48:49 +01:00
Daniel Saukel
ba42e435ac Implement all API except for new sign system 2020-03-09 21:19:27 +01:00
Daniel Saukel
8059dbbc78 Fix syntax in french.yml 2020-02-09 14:51:16 +01:00
Tiplish
4db1664b38
Update french.yml 2020-02-08 12:55:11 +01:00
Daniel Saukel
e8bbf42854 Fix messages NPE / Commons update to 6.1.2 2020-02-08 02:38:52 +01:00
Daniel Saukel
12c2cdfb83 Parse language files with yamllint.com 2020-02-07 15:06:10 +01:00
Daniel Saukel
01bfc43c6e Allow all containers as reward / dungeon chests; resolves #666 2020-02-04 23:01:53 +01:00
Daniel Saukel
054e7d9ae9 Place signs can fire sign triggers 2020-02-03 19:24:12 +01:00
Daniel Saukel
ea963f8a9b German translation 2020-02-03 18:34:23 +01:00
Daniel Saukel
3e3181e7eb Fix /dxl (main) help message 2020-02-02 21:50:29 +01:00
Daniel Saukel
56e6c81c59 Update french.yml 2020-02-02 20:10:57 +01:00
Daniel Saukel
1c7e2a3de8 Language fixes 2020-02-02 20:00:09 +01:00
Daniel Saukel
e62475603b Reorganize French translation
Co-Authored-By: Noiknez <noiknez@users.noreply.github.com>
Co-Authored-By: Tiplish <tiplish@users.noreply.github.com>
2020-02-02 19:59:58 +01:00
Daniel Saukel
c33f523a73 “One should never use exclamation points in writing. It is like laughing at your own joke.” - Mark Twain 2020-02-02 19:21:50 +01:00
Daniel Saukel
ea8da5f2e3 Update to Commons 6.1.1; fixed broken API module references 2020-02-02 03:03:29 +01:00
Daniel Saukel
7e2153f532 Adapter | API 2020-01-12 16:10:08 +01:00
Daniel Saukel
fccb4b7e96 Seriously, 1.14? Resolves #647 2019-11-28 16:58:01 +01:00
Daniel Saukel
c9a3e31016 Close world handle before removing the file; resolves #506 2019-07-28 19:42:54 +02:00
Daniel Saukel
d74c0276ea Add support for BossShopPro; resolvse #624 2019-07-28 18:21:55 +02:00
Daniel Saukel
409de0d756 Make block break whitelists / breakPlaceBlocks complement each other; resolves #616 2019-07-28 18:13:56 +02:00
Daniel Saukel
a46ddbc1fc Centralize latest Spigot version for better maintainability 2019-06-25 22:36:24 +02:00
Daniel Saukel
8b15292b8c Update PaginationButtonPosition import 2019-06-25 22:35:43 +02:00
Daniel Saukel
35d58a3815 Register and set layout of reward GUI 2019-06-19 03:26:30 +02:00
Daniel Saukel
0380e5c527 Fix use item trigger for block interactions; resolves #593 2019-06-19 02:39:28 +02:00
Daniel Saukel
0684e3b34a Fixed that end signs didn't work when the player quit the server while being in a dungeon before; resolves #594 2019-06-18 00:16:13 +02:00
Daniel Saukel
2641fb7e5c Rewrite keepInventoryOnDeath implementation; fix EXP loss; resolves #579 2019-06-17 23:53:24 +02:00
Daniel Saukel
86c09f6a72 Set level EXP instead of total exp 2019-06-17 23:34:35 +02:00
Daniel Saukel
cd2ee3421f World loading performance improvement 2019-06-16 06:09:52 +02:00
Daniel Saukel
5a0723b145 yaw null check 2019-06-16 06:09:33 +02:00
Daniel Saukel
209f8064de Update StatusCommand.java 2019-06-15 12:42:30 +02:00
Daniel Saukel
73ee90e3d7 Reload configs on reload 2019-06-15 12:37:39 +02:00
Daniel Saukel
3f554df158 Fix loading multiple worlds at once 2019-06-14 23:55:11 +02:00
Daniel Saukel
2140157237 Update to Caliburn 0.5.5 2019-06-14 21:57:48 +02:00
Daniel Saukel
8320a3a373 Set VersionComparator to EQUAL 2019-06-13 16:55:56 +02:00
Daniel Saukel
33efd8f51d Add block adapters and replace a lot of legacy code 2019-06-13 02:01:56 +02:00
Daniel Saukel
af9083bf35 Use new directions util (needs testing!) 2019-06-12 19:35:47 +02:00
Daniel Saukel
c3c0539736 Vignette 2019-06-12 17:16:43 +02:00
Daniel Saukel
09da93710b Commons 6 2019-06-11 23:39:27 +02:00
Daniel Saukel
c799a42975 Fix plugin.yml 2019-06-04 17:43:33 +02:00
Daniel Saukel
4f6ff31a33 Remove chunk features 2019-06-04 17:34:25 +02:00
Daniel Saukel
acedb05f55 Fix announcer getter for 1.14+ 2019-06-04 17:18:27 +02:00
Daniel Saukel
df0d01d101 Update pom.xml 2019-06-04 17:18:00 +02:00
Daniel Saukel
60d68b46b1 Multiple module project 2019-05-05 00:43:18 +02:00
Daniel Saukel
4aa23b04c3 Update to DRECommons 3.1.1 2017-07-21 18:33:21 +02:00
Daniel Saukel
9c311c3108 Add group tags 2017-02-28 16:07:15 +01:00
Daniel Saukel
da049b4618 Fix deaths; resolves #210 2017-02-28 14:03:05 +01:00
Daniel Saukel
92ea016603 Make buttons translatable 2017-02-28 13:22:21 +01:00
Daniel Saukel
63421037ad Add workaround to support CustomMobs; resolves #204 2017-02-23 17:27:30 +01:00
Daniel Saukel
50a1b86f3b Add cached item to reset portal creation main hand; resolves #209 2017-02-20 18:55:56 +01:00
Daniel Saukel
c506405a01 Recoded chat system; resolves #207 2017-02-20 18:05:03 +01:00
Daniel Saukel
b3eac538d5 /dxl play bugfix 2017-02-20 14:48:14 +01:00
Daniel Saukel
de5cfee76a Fix reward inventory exploit in dungeons 2017-02-20 01:47:56 +01:00
Daniel Saukel
843491937a /dxl play bugfix 2017-02-20 01:47:28 +01:00
Daniel Saukel
33f05c1678 Make DungeonsXL singleton getters static 2017-02-20 01:46:55 +01:00
Daniel Saukel
70d66515bd Refactor listeners; resolves #93 2017-02-19 23:52:11 +01:00
Daniel Saukel
4b0e691a2b Fix BossShop integration 2017-01-27 23:08:00 +01:00
Daniel Saukel
c28bdf1285 Bump year 2017-01-04 16:07:28 +01:00
Daniel Saukel
a01e18b0c7 Recoded floor / finish system 2016-12-27 16:00:54 +01:00
Daniel Saukel
4f4fa877cf #192: DungeonConfig doesn't need to get initialized 2016-12-27 03:15:37 +01:00
Daniel Saukel
de1d7e97cb Added some null checks to DGamePlayer#leave() 2016-12-27 00:56:45 +01:00
Daniel Saukel
329876e881 Fixed /dxl test command and made it compatible with edit mode 2016-12-27 00:56:23 +01:00
Daniel Saukel
7d254ec019 Recoded play command 2016-12-27 00:55:43 +01:00
Daniel Saukel
23f6f4bfd6 Game types without rewards now don't give rewards anymore 2016-12-27 00:54:44 +01:00
Daniel Saukel
f4a572ba69 Kick command fixes 2016-12-27 00:49:17 +01:00
Daniel Saukel
a3a376e8af Added action bar and title sign 2016-12-26 03:20:03 +01:00
Daniel Saukel
55ce71052f Fix rename command not updating the sign data file 2016-12-24 02:56:11 +01:00
Daniel Saukel
fe97b932d7 #177: Code improvements dungeon vs. dungeonName 2016-12-24 02:55:44 +01:00
Daniel Saukel
b8bf2659d7 Fix end NPE; resolves #177 2016-12-20 20:06:05 +01:00
Daniel Saukel
ac4c807da6 Don't broadcast announcers to players in an instance world 2016-12-20 20:04:50 +01:00
Daniel Saukel
9daa1abb2f #181 fix 2016-12-17 11:26:03 +01:00
Daniel Saukel
921a609830 Make DPlayers getters a bit more robust. Should resolve #181 2016-12-17 01:52:22 +01:00
Daniel Saukel
4133e20471 Don't reload if players are in a game; resolves #185 2016-12-17 01:24:50 +01:00
Daniel Saukel
4efa206bba Fixed RP-API shading 2016-12-15 15:33:07 +01:00
Daniel Saukel
4be232b5b9 Added delete command; resolves #41 2016-12-03 19:54:40 +01:00
Daniel Saukel
28506adc88 Merge pull request #187 from DRE2N/rename
Added rename command
2016-12-03 14:16:45 +01:00
Daniel Saukel
58dca2850e #41: Also apply renaming to data 2016-12-03 14:12:50 +01:00
Daniel Saukel
bacbbe471f Fix /dxl invite NPE; resolves #186 2016-12-03 13:31:07 +01:00
Daniel Saukel
3801466746 Fix GamemodeInventories incompatibility; resolves #184 2016-12-03 13:30:47 +01:00
Daniel Saukel
147ffa87fc Added rename command 2016-12-03 13:06:05 +01:00
Daniel Saukel
d900c80cf7 Fix LivesCommand NPE 2016-12-03 13:05:18 +01:00
Daniel Saukel
5c7b466623 Forbid PlugMan 2016-12-03 13:04:31 +01:00
Daniel Saukel
babe7acd80 Fix groupColorPriority list automatically; resolves #174 2016-12-01 16:04:28 +01:00
Daniel Saukel
15a7e586dd Fix dungeon setup check; resolves #183 2016-11-30 18:50:06 +01:00
Daniel Saukel
f6e8be33a5 Exclude Citizens; resolves #182 2016-11-30 18:01:59 +01:00
Daniel Saukel
4863dbca61 Make reward items list thread safe; resolves #177 2016-11-27 00:03:40 +01:00
Daniel Saukel
c1c04bc187 Remove DeBukkit log 2016-11-26 21:10:03 +01:00
Daniel Saukel
351f10569b Custom ready titles
Because why not?
2016-11-24 23:53:25 +01:00
Daniel Saukel
9c2a45d814 Fix bug with overscaled health 2016-11-23 13:14:00 +01:00
Daniel Saukel
191f47b092 Fix cloned Citizens; resolves #166 2016-11-22 20:45:58 +01:00
Daniel Saukel
2671db8b40 Update dependencies 2016-11-19 20:19:09 +01:00
Daniel Saukel
cfec0229a7 Initial update to 1.11 2016-11-14 19:13:58 +01:00
Daniel Saukel
b14ed1fd97 Fix invitation system; resolves #141 2016-09-28 17:21:26 +02:00
Daniel Saukel
2c1ff4af65 Backwards compatibility fix 2016-09-27 13:14:29 +02:00
Daniel Saukel
9bfa5876d2 Fix 1.8.x- PvE exception; resolves #162 2016-09-27 12:51:58 +02:00
Daniel Saukel
c79867d44c #154: Added reset function 2016-09-13 18:39:22 +02:00
Daniel Saukel
7066c113b7 #154: Added command to download registered RPs 2016-09-11 22:51:59 +02:00
Daniel Saukel
65cb1ebd16 #154: Resource pack signs 2016-09-11 22:20:52 +02:00
Daniel Saukel
6224c931db Fix loading order; resolves #156 2016-09-11 14:35:52 +02:00
Daniel Saukel
941831643c Fix play command; resolves #151 2016-09-10 14:01:11 +02:00
Daniel Saukel
c99f5f89cd Merge pull request #150 from wysohn/0.15
sign need to be handled when it's broken indirect way
2016-09-03 14:34:59 +02:00
wysohn
872fa928d1 sign need to be handled when it's broken indirect way 2016-09-02 16:47:40 -07:00
Daniel Saukel
48744a2175 Fix /dxl msg if no map config exists; resolves #144 2016-09-02 20:35:23 +02:00
Daniel Saukel
258e115a38 Added some JavaDoc explanations to the classes 2016-08-26 15:42:26 +02:00
Daniel Saukel
0ea47a47e5 Recoded tutorial system
Still issues with PEX + start group
2016-08-25 15:48:13 +02:00
Daniel Saukel
385d32a181 Mark BossShop signs as erroneous if plugin is not available 2016-08-24 16:23:06 +02:00
Daniel Saukel
cf557a61e2 Fix games not marked as started 2016-08-24 16:17:28 +02:00
Daniel Saukel
ff7e8dbf5f Fix compatibility issues with max health lower than 20; resolves #137 2016-08-20 23:34:03 +02:00
Daniel Saukel
6ae1118056 Fix event extension 2016-08-14 19:46:39 +02:00
Daniel Saukel
4cda7078a1 Only check for double jump if !placeBlocks 2016-08-03 16:36:21 +02:00
Daniel Saukel
670664ca2f Do group size check before initializing team block 2016-08-03 16:35:36 +02:00
Daniel Saukel
b746e40155 Fix and improve list command 2016-08-03 16:35:08 +02:00
Daniel Saukel
13a167c762 Add capture flag option 2016-08-03 15:36:35 +02:00
Daniel Saukel
af0092ed38 GameType improvements 2016-08-03 15:36:20 +02:00
Daniel Saukel
cb007d736f Fix some messages 2016-08-03 15:35:44 +02:00
Daniel Saukel
d5715298fd Add group score 2016-08-03 15:35:20 +02:00
Daniel Saukel
95e4b30e6a Fix BossShopSign 2016-08-03 15:34:37 +02:00
Daniel Saukel
11f20b4656 Add /dxl rewards command 2016-08-02 23:58:22 +02:00
Daniel Saukel
1a7dbfd434 /dxl group show: Allow player names instead of group names 2016-08-02 23:03:34 +02:00
Daniel Saukel
7abca6543b /dxl enter: Allow player names instead of group names 2016-08-02 23:03:24 +02:00
Daniel Saukel
6d543c22be Add integration for BossShop; resolves #126 2016-08-02 21:04:26 +02:00
Daniel Saukel
15ae32ae84 Fix NPE 2016-08-02 21:04:13 +02:00
Daniel Saukel
750db495d6 Bedwars. close #128; close #127 2016-08-02 20:15:03 +02:00
Daniel Saukel
d43234943b Fix open door sign 2016-08-01 23:12:35 +02:00
Daniel Saukel
7d19bb28d7 Fix dungeon portals teleporting players to the nether; resolves #119; resolves #124 2016-08-01 22:47:35 +02:00
Daniel Saukel
1c848d8690 Exclude map data folder 2016-08-01 22:30:10 +02:00
Daniel Saukel
ca272df95a #9: Fix chat spam 2016-08-01 22:25:50 +02:00
Daniel Saukel
b0397cd0c0 #9: Fixed rotation bug 2016-08-01 20:20:17 +02:00
Daniel Saukel
b112b81e51 #9: Allow any kind of portal material 2016-08-01 19:08:23 +02:00
Daniel Saukel
9c9bf05b95 Fix portal creation NPE 2016-08-01 00:06:31 +02:00
Daniel Saukel
d22bc7a8ee Fix /Dxl lives target 2016-07-31 23:53:20 +02:00
Daniel Saukel
b1c49ebc95 Create error sign if external mob sign provider is unknown 2016-07-31 23:53:07 +02:00
Daniel Saukel
f90d3ad5c7 New game block system; resolves #125 2016-07-31 23:52:33 +02:00
Daniel Saukel
5704a6987a Implemented some new events 2016-07-28 23:54:51 +02:00
Daniel Saukel
7966636166 Moved "dungeons" folder to "scripts" 2016-07-28 23:53:42 +02:00
Daniel Saukel
cbf49c5128 #102: Added DataReloadEvent 2016-07-28 23:53:19 +02:00
Daniel Saukel
a3590fff1e #102: Restructured events 2016-07-28 23:53:02 +02:00
Daniel Saukel
0da5d76742 #122 LeaveSign 2016-07-28 17:28:11 +02:00
Daniel Saukel
f1de40ef2f Don't register permissions once again on /dxl reload 2016-07-28 17:27:52 +02:00
Daniel Saukel
914c31a92f Implement break / place whitelists 2016-07-28 17:02:10 +02:00
Daniel Saukel
80ceb79b5d Implement simple break / place game rules 2016-07-28 16:14:50 +02:00
Daniel Saukel
5b77ab4e8c Fix NPE if class sign uses an unknown class 2016-07-28 16:13:37 +02:00
Daniel Saukel
bdf5b54975 Don't enable performance tweaks if server version is not supported 2016-07-28 16:13:01 +02:00
Daniel Saukel
3124a708cc #116: Added enhanced game rules for block breaking
Still requires implementation!
2016-07-26 20:50:18 +02:00
Daniel Saukel
3366f6b883 Rewrote player persistence system; close #117 2016-07-26 19:47:55 +02:00
Daniel Saukel
b175b2b50b Add setup() method to requirement API 2016-07-26 14:44:39 +02:00
Daniel Saukel
5042b57fc5 "Sync" reload command with new features 2016-07-24 13:43:40 +02:00
Daniel Saukel
b080a6ffc2 Added loot tables. Close #104 2016-07-24 13:43:05 +02:00
Daniel Saukel
5366e4994a Update to CaliburnAPI 0.2 2016-07-23 01:03:17 +02:00
Daniel Saukel
01d7598442 Check if .raw exists 2016-07-23 01:02:49 +02:00
Daniel Saukel
3d74bfac95 Don't let fire spread in instances 2016-07-19 19:00:25 +02:00
Daniel Saukel
be7681480d Recoded reward chests / item rewards; resolves #113 2016-07-16 03:19:44 +02:00
Daniel Saukel
d0c725d2d7 Fixed ready signs without floor config; resolves #111 2016-07-12 23:54:12 +02:00
Daniel Saukel
81be1bec85 Fix SignData NullPointerException
Also remove some debug
2016-07-12 19:20:05 +02:00
Daniel Saukel
821f0fc2ac Minor changes to allow JavaDoc generation 2016-07-12 02:11:49 +02:00
Daniel Saukel
3fc5102020 Allow just one edit instance per resource 2016-07-11 20:38:18 +02:00
Daniel Saukel
06fc9da808 Compile against Caliburn 0.1.8 2016-07-10 01:49:22 +02:00
Daniel Saukel
c89ef03299 Backported NMS to 1_9_R1 and 1_9_R2 2016-07-09 03:05:07 +02:00
Daniel Saukel
faa6d220f0 Restructured project 2016-07-09 02:41:45 +02:00