Commit Graph

271 Commits

Author SHA1 Message Date
tastybento 6bc6f71a4a Change plugin name to Pladdon 2021-08-12 18:37:14 -07:00
tastybento 21c09a8a34 Use instanceof pattern 2021-07-31 10:51:46 -07:00
tastybento 908b0a834f JavaDoc fixes 2021-07-31 10:51:27 -07:00
tastybento 88e44c9e1d Assert if worlds are null. They should never be. 2021-07-09 16:19:32 -07:00
tastybento 563c52e7a1 Require non-null Settings 2021-07-08 18:29:29 -07:00
tastybento 0d347b76c8 Update to Java 16. 2021-06-20 09:10:29 -07:00
tastybento a13e88900b Fix tests 2021-06-20 08:44:44 -07:00
tastybento f30203f547 Address async issue
https://github.com/BentoBoxWorld/AcidIsland/issues/112
2021-06-20 08:37:57 -07:00
tastybento 4bfd78af19 Add Pladdon 2021-05-31 16:13:20 -07:00
tastybento 00b0bda860 Additional null check. 2021-05-03 16:34:10 -07:00
tastybento 8e107fc0a9 Save new flags to config after addon loading.
https://github.com/BentoBoxWorld/BSkyBlock/issues/401
2021-04-25 11:10:21 -07:00
tastybento 6be3468b2a Fix tests 2021-04-25 10:08:56 -07:00
tastybento 5fd56876f1 Change settings to match defaults in config.yml 2021-04-25 10:05:21 -07:00
tastybento 72aa445c13 Run tests with PowerMockRunner. 2021-03-28 21:02:06 -07:00
tastybento 4122bf1853 Correct version number reference. 2021-03-21 16:11:29 -07:00
BONNe 2a573e9fc5
Expose BentoBox 1.14 onRespawnCommands. (#108)
BentoBoxWorld/BentoBox#1719
2021-03-16 12:34:26 -07:00
BONNe 611707f31c
Expose BentoBox 1.16 portal generation mechanics. (#107)
BentoBoxWorld/BentoBox#1718
2021-03-16 12:34:14 -07:00
tastybento 890ddc9c9d Hooked in events that were not being called.
EntityDamageByAcidEvent and ItemDestroyByAcidEvent were never actually
being called by any code.

Added handlers to each event so that they fire correctly.
2020-12-27 17:15:39 -08:00
tastybento 4f6a5b4c28 Deprecated these classes - they are never used 2020-12-27 17:14:27 -08:00
tastybento 6907edd407 Do not set world mob spawn settings unless > 0 2020-11-27 07:50:25 -08:00
tastybento 9c77498cb4 Clean stone wasn't allowed in non-BentoBox worlds.
Fixes https://github.com/BentoBoxWorld/AcidIsland/issues/104
2020-10-24 14:05:54 -07:00
tastybento b517789ffd Updated config.yml 2020-10-21 21:32:06 -07:00
tastybento dae0140793 Added settings for mob block and teleport on island gen
https://github.com/BentoBoxWorld/AcidIsland/issues/103
2020-10-21 21:27:52 -07:00
tastybento d72cc11ab6 Merge if statements 2020-10-10 19:53:10 -07:00
tastybento bba53387a4 Added AcidIsland test class 2020-10-10 19:27:30 -07:00
tastybento b01c1551a6 Removed code smell 2020-10-10 19:00:59 -07:00
tastybento 2cc574d7b0 Added AISettings test class 2020-10-10 19:00:49 -07:00
tastybento d1e13f1c95 Refactored AcidEffect to make it easier to understand 2020-10-10 14:40:33 -07:00
tastybento 91ff142254 Consolidated Acid events using an abscract event 2020-10-10 14:21:48 -07:00
gitlocalize-app[bot] 15ffdfd426
Translate vi.yml via GitLocalize (#102)
Co-authored-by: Nguyen Minh An <minh.annguyen264@gmail.com>
2020-10-02 14:42:34 -07:00
tastybento 7f2216da8a
Code smell reduction (#100) 2020-09-12 12:06:49 -07:00
tastybento fc84ea32bb Add cleanstone removal to nether and end
Fixes https://github.com/BentoBoxWorld/AcidIsland/issues/94
2020-08-17 16:12:04 -07:00
tastybento 6708937c17 Protects visitors from acid damage.
Sets default for to allow acid damage for visitors.

Fixes https://github.com/BentoBoxWorld/AcidIsland/issues/93
2020-08-14 15:31:07 -07:00
tastybento 9193bb9cbd Prevents damage to players with Essnetials God Mode on
https://github.com/BentoBoxWorld/AcidIsland/issues/93
2020-08-13 12:34:45 -07:00
tastybento c1515e8689 Moves acid task to async. 2020-08-09 11:00:01 -07:00
tastybento 30a1302867 Backwards compatibility with 1.15.2 2020-06-30 16:15:40 -07:00
tastybento b9052d85cd Backwards compatibility with 1.15.2 2020-06-30 16:15:22 -07:00
tastybento 50d234b9b2 Added default biomes for nether end. 1.16.1 only from now on. 2020-06-29 18:48:10 -07:00
tastybento 2195a428d7 Updated to BentoBox 1.13.0 API 2020-05-05 18:22:14 -07:00
tastybento 9c661b6c6e Merge branch 'develop' of
https://github.com/BentoBoxWorld/AcidIsland.git into develop

Conflicts:
	src/main/java/world/bentobox/acidisland/AISettings.java
2020-04-18 14:47:39 -07:00
tastybento 111875f09c Add use-control-panel option to config 2020-04-18 14:46:06 -07:00
tastybento 476d6486f1 Updated copyright notice. 2020-04-18 14:31:40 -07:00
tastybento ded273c7e5 Only burn items in loaded chunks.
https://github.com/BentoBoxWorld/AcidIsland/issues/84
2020-04-09 11:03:22 -07:00
tastybento f344208460 Only burn entities in loaded chunks
https://github.com/BentoBoxWorld/AcidIsland/issues/84
2020-04-09 11:01:46 -07:00
tastybento 5b3344498d Removed commands for island trash because they should not be needed. 2020-04-06 17:00:00 -07:00
tastybento 2b4417f245 Adds support for max coop and team sizes in config.yml
https://github.com/BentoBoxWorld/BentoBox/pull/1267
2020-04-06 16:58:06 -07:00
tastybento 941e331727 Added world-specific spawn limit settings to config.yml 2020-03-07 18:23:16 -08:00
tastybento bb58480eb5 Adds config setting for potion effects for acid and rain
https://github.com/BentoBoxWorld/AcidIsland/issues/83
2020-02-29 15:58:08 -08:00
tastybento 000b9947f9 Removes admin.noburn permission check.
Fixes https://github.com/BentoBoxWorld/AcidIsland/issues/81
2020-02-13 07:17:05 -08:00
tastybento cc24856c21 Adds acidisland.mod.bypassdelays perm.
https://github.com/BentoBoxWorld/BentoBox/issues/1136
2020-02-07 18:44:50 -08:00
tastybento 8a5b4817c8
Czech translation. Credit @Polda18 2020-01-30 10:33:20 -08:00
András Marczinkó dafc612ed9 Update hu.yml (#80) 2020-01-26 13:55:23 -08:00
tastybento 1e6423c480 Adds BentoBox 1.11.0 team permissions 2020-01-18 22:43:26 -08:00
gitlocalize-app[bot] f5ff3aa1df Translate lv.yml via GitLocalize (#79)
Co-authored-by: BONNe <bonne@bonne.id.lv>
2020-01-10 16:29:06 -08:00
gitlocalize-app[bot] fd7edce61f Created German translation (#78)
* Translate de.yml via GitLocalize

* Translate de.yml via GitLocalize

Co-authored-by: xXjojojXx <36734820+xXjojojXx@users.noreply.github.com>
Co-authored-by: Florian CUNY <poslovitch@bentobox.world>
2020-01-03 14:41:00 +01:00
tastybento da10b080e1 Merge branch 'develop' of
https://github.com/BentoBoxWorld/AcidIsland.git into develop

Conflicts:
	pom.xml
	src/main/java/world/bentobox/acidisland/AISettings.java
2019-12-15 16:31:24 -08:00
tastybento 886cadb141 Added setting to switch on/off pasting of missing nether/end islands
https://github.com/BentoBoxWorld/BentoBox/issues/1063
2019-12-15 16:26:43 -08:00
tastybento 91d4988bfb Deprecated biome 2019-12-15 16:26:14 -08:00
tastybento a46616ff0f Updated default config.yml 2019-12-11 16:36:10 -08:00
tastybento 4d644e3ffc Fixed java doc in AcidRainEvent 2019-12-11 16:33:25 -08:00
tastybento 2c99121312 Fixed acid rain detection to skip nether or end environments.
Also fixed more fundamental bug around acid rain detection.
https://github.com/BentoBoxWorld/AcidIsland/issues/76
2019-12-11 16:18:06 -08:00
Florian CUNY f782c9eeb2 Added a list of available potion effects in config comments 2019-12-08 13:54:50 +01:00
Florian CUNY f2b53bb2f8 Added potion effects for acid rain
Implemented https://github.com/BentoBoxWorld/AcidIsland/issues/24

Also improved some config comments
2019-12-08 11:11:02 +01:00
tastybento cc3d75ec42 Remove blank files. 2019-11-28 18:33:09 -08:00
gitlocalize-app[bot] afdcb17eb0 Polish translation (#73)
* Translate pl.yml via GitLocalize

* Translate pl.yml via GitLocalize
2019-11-28 15:03:46 -08:00
András Marczinkó 3b9aead166 Translated into Hungarian (#72) 2019-11-24 13:49:58 -08:00
tastybento d3a0ebc7dc Improved temple blueprint - added sapling and rod 2019-11-17 18:48:37 -08:00
tastybento 75ac0c44d0 Added new admin reset command. Cleaned up config.yml. 2019-11-17 15:20:33 -08:00
tastybento b98ae8d38d
Create id.yml 2019-11-16 18:27:23 -08:00
tastybento a9efaea2eb
Create ro.yml 2019-11-16 18:27:11 -08:00
tastybento 3785616c6b Handle zero sea height. Added test class. 2019-11-16 11:38:56 -08:00
tastybento 8791c0a21b
Improved generator (#71)
* Optimized generator

* Improves speed of nether roof generation.

* Now with biomes
2019-11-15 16:30:55 -08:00
BONNe 8b7f43a673 Update to latest BentoBox 1.9-SNAPSHOT API changes. (#70)
- Add fallingBannedCommands
- Add createIslandOnFirstLoginEnabled
- Add createIslandOnFirstLoginDelay
- Add createIslandOnFirstLoginAbortOnLogout
2019-11-09 10:30:52 -08:00
tastybento 9d9837dcbc Fixed bug with nullable 2019-11-03 14:15:41 -08:00
tastybento 5fdfe6f2b9 Update to latest BentoBox API 2019-10-13 09:06:57 -07:00
tastybento f35c6d1803 Fixes tests for Acid Command 2019-10-03 14:45:45 -07:00
tastybento 2e66d8358c Merge branch 'develop' of https://github.com/BentoBoxWorld/AcidIsland.git into develop 2019-09-28 16:12:44 -07:00
tastybento 6f53fe8a85 Update to BentoBox 1.8.0 API 2019-09-28 16:12:37 -07:00
tastybento 6e009adc46 Added test class for AcidEffect 2019-09-27 17:08:28 -07:00
tastybento fcc455bb70 Merge remote-tracking branch 'origin/master' into develop 2019-09-20 15:40:27 -07:00
Leonardo-DGS 49ec3f5e40 Create it-IT.yml (#64) 2019-09-20 12:01:43 -07:00
tastybento 7f69872d09 Uses new API to support other addon flags 2019-09-13 21:02:20 -07:00
tastybento 3879378594 Includes bubble columns
https://github.com/BentoBoxWorld/AcidIsland/issues/60
2019-09-02 13:06:57 -07:00
tastybento 8ca6ccd833 Remove saving on disable. 2019-08-31 08:36:05 -07:00
tastybento f528e943c1 Monsters benefit from armor
https://github.com/BentoBoxWorld/AcidIsland/issues/37

Also takes actual armor protection of player into consideration
including any enchantments.
2019-08-30 21:53:26 -07:00
tastybento a3f72f5f1d Only helmets take damage from acid rain
https://github.com/BentoBoxWorld/AcidIsland/issues/58
2019-08-30 21:12:44 -07:00
tastybento e7c6a751c0 Renamed Japanese locale file. 2019-08-28 16:01:10 -07:00
tastybento d419720591 Merge branch 'develop' of https://github.com/BentoBoxWorld/AcidIsland.git into develop 2019-08-28 16:00:34 -07:00
tastybento 43241fe98a Renamed Spanish language file. 2019-08-28 16:00:25 -07:00
tastybento 7764941514
Japanese translation (#56)
* Translate ja-JP.yml via GitLocalize
2019-08-17 18:04:11 -07:00
tastybento 2bb6c6311b Updated POM to show build #'s and updated tests 2019-08-11 12:39:18 -07:00
tastybento fe66dfd54a Added Admin Settings command using BentoBox 1.6.0 API 2019-08-10 11:18:25 -07:00
tastybento 6488dac1b1 Added admin purge command 2019-07-19 19:06:36 -07:00
tastybento 933ed94dee Fixes flag saving issue exposed by Flag API on Bentobox.
https://github.com/BentoBoxWorld/AcidIsland/issues/53

AcidIsland was creating a new config object every time which caused
async race conditions when saving. The same config object should be used
continuously.

Also fixed test issue with DelayedCommand.
2019-07-18 18:44:10 -07:00
tastybento dd47f6191b Updated to 1.6.0 API
Removed nether trees. Added reset deaths on new island.
2019-07-06 23:50:12 -07:00
tastybento 541ec30de8 Adds island near command.
Fixes tests.
2019-06-26 17:44:40 -07:00
tastybento c1b6520fcf Uses new command call API 1.5.3 2019-06-18 08:59:37 -07:00
tastybento f349a56d82 Removes death sum setting. 2019-06-08 09:12:20 -07:00
tastybento 5e60ba1a2d Update config.yml to use new comments 2019-06-07 22:27:06 -07:00
tastybento f230715625 Cleans up kicked-keep-inventory config setting.
https://github.com/BentoBoxWorld/BentoBox/issues/738
2019-06-07 22:20:04 -07:00