Commit Graph

67 Commits

Author SHA1 Message Date
tastybento
8ecc106f75 Removed exception 2021-07-31 11:05:55 -07:00
tastybento
2c6c59e4aa Make fields final 2021-07-31 11:05:40 -07:00
tastybento
2fe7df2824 JavaDoc fixes 2021-07-31 11:05:16 -07:00
tastybento
1c55fea7d5 Made fields local 2021-07-31 11:03:15 -07:00
tastybento
ec25abdea4 Improve code smells 2021-07-30 22:17:04 -07:00
tastybento
229dff6c55 Added tests for Settings. 2021-07-24 21:20:45 -07:00
tastybento
4b83e9b770 Added null checks. 2021-07-24 21:13:46 -07:00
tastybento
b897a71cd2 Added null checks. 2021-07-24 14:20:24 -07:00
tastybento
3077329848 Convert to Pladdon 2021-06-27 09:13:36 -07:00
tastybento
3b4dddf040 Java 16, BentoBox 1.17.0 2021-06-27 09:04:23 -07:00
tastybento
8747e9a6db Work with 1.17 WorldGeneratorAPI 2021-06-26 07:51:44 -07:00
tastybento
bde1fa97d6 Fixes issue where advancements were synced in the wrong world
When teleporting, the advancements were synced before the teleport
completed. This uses a different event.

https://github.com/BentoBoxWorld/Boxed/issues/26
2021-04-28 20:26:50 -07:00
tastybento
92d3a57362 Fixes issue where players lost a box size increment.
All boxes start with a minimum size of 1. This was not being included in
the box size calculation, so players were erroneously losing one box
size when they logged in or teleported.
2021-04-25 18:08:36 -07:00
tastybento
eb361a8579 Added spawn_here sign for nether blueprint. 2021-04-25 16:39:49 -07:00
tastybento
4079f2bdc0 Add two placeholders that list the number of advancements done for a box
%boxed_island_advancements% - the number of advancements for a
particular user
%boxed_visited_island_advancements% - the number of advancements based
on where the user is located.

If there is no box, the return value is "". Values are still given if
the player is outside the protected area but inside the overall
potential box size.

Only advancements that were not automatically given are counted.


https://github.com/BentoBoxWorld/Boxed/issues/20
2021-04-25 16:03:37 -07:00
tastybento
d30502c72b Save settings after loading.
https://github.com/BentoBoxWorld/BSkyBlock/issues/401
2021-04-25 11:12:07 -07:00
tastybento
c404c9a1ae Fixes bug where new boxes had their protection size reduced to 0 2021-04-24 08:15:32 -07:00
tastybento
19356d6e68 Adds a check that will run on login and other times to set the box size
Runs through the advancements that island has and corrects the size of
the box. This enables admins to adjust the value of advancements after
the fact and players will still benefit (or be nerfed) from the changes.
2021-04-18 15:40:51 -07:00
tastybento
e8aeb0b31d Fixed bug where team members did not yield advancements immediately.
After teleporting back to the island, the team would get them.

https://github.com/BentoBoxWorld/Boxed/issues/19
2021-04-18 14:36:52 -07:00
tastybento
d997b391a9 Exploit fix. Coops could gift advancements to others.
Fixes https://github.com/BentoBoxWorld/Boxed/issues/18
2021-04-09 22:24:52 -07:00
tastybento
1e962f93d0 Code smell reduction. 2021-03-28 20:59:51 -07:00
tastybento
04ab9ae381 Enable Nether biomes via biomes.yml config. 2021-03-28 17:12:50 -07:00
tastybento
8f109d57ff Moved overworld biome placement definition to biome.yml config file 2021-03-28 14:04:25 -07:00
tastybento
48d6850731 Fix bug where structures were not made like Bastions and villages
Extended default island distance to 1000 radius to increase chance of
players getting these structures.
2021-03-28 12:56:46 -07:00
tastybento
acd2fc1ad3 Make the edges Nether Wastes 2021-03-28 08:52:56 -07:00
tastybento
d49b9dc9cd More attractive nether. 2021-03-27 19:07:55 -07:00
tastybento
7b345253c7 Initial Nether implementation. 2021-03-23 21:45:52 -07:00
tastybento
769d4af4bd Correct version reference. 2021-03-21 16:13:33 -07:00
tastybento
1e65b76ccf Added option to broadcast advancement completion to online players. 2021-03-21 09:33:54 -07:00
tastybento
c39ded9e16 Handles default root advancement scoring and better presentation. 2021-03-20 10:20:21 -07:00
tastybento
c7473785df Adds a default box change setting for unknown advancements.
Makes adding custom advancement datapacks easier because the default
advancement reward will be to increase the box by 1.
2021-03-20 09:49:34 -07:00
tastybento
cac0c64654 Require BentoBox 1.16.1 2021-03-20 09:38:52 -07:00
tastybento
253fcf6483 Use BentoBox 1.16.1
Removed unused class.
2021-03-20 08:09:52 -07:00
BONNe
8971755bf0
Expose BentoBox 1.14 onRespawnCommands (#14)
* Expose BentoBox 1.14 onRespawnCommands
BentoBoxWorld/BentoBox#1719

* Update Settings.java
2021-03-16 12:34:53 -07:00
BONNe
9f4ac86fb4
Expose BentoBox 1.16 portal generation mechanics. (#13)
BentoBoxWorld/BentoBox#1718
2021-03-16 12:34:37 -07:00
tastybento
7a32465512 Fixes incompatibility with Multiverse.
Fixes https://github.com/BentoBoxWorld/Boxed/issues/12
2021-03-14 15:12:13 -07:00
tastybento
734bdc3eba Optimized the advancement recognition code. 2021-03-14 14:38:35 -07:00
tastybento
4cc5068bb8 Resets statistics as well as advancements.
https://github.com/BentoBoxWorld/Boxed/issues/8
Some advancements can be triggered by statistics so those need to be
reset as well.
2021-03-13 18:16:02 -08:00
tastybento
9354382f76 Sets island spawn point to new enderpearl location.
https://github.com/BentoBoxWorld/Boxed/issues/4
2021-03-13 15:39:50 -08:00
tastybento
9a586ed762 Syncs team mate advancements to island
https://github.com/BentoBoxWorld/Boxed/issues/8
2021-03-13 15:35:15 -08:00
tastybento
11b44af4c3 Windows is case sensitive to addon names.
Fixes https://github.com/BentoBoxWorld/Boxed/issues/11
2021-03-13 15:02:45 -08:00
tastybento
49fd7282b7 Turn off mob spawning outside the box by default. 2021-03-13 14:12:44 -08:00
tastybento
37c5f59518 Merge branch 'develop' of https://github.com/BentoBoxWorld/Boxed.git into develop 2021-03-13 11:37:31 -08:00
tastybento
d7a52d2103 Clears and sets advancements programaticaly.
https://github.com/BentoBoxWorld/Boxed/issues/7
2021-03-13 11:36:55 -08:00
tastybento
5e536dfa63 Some work around trying to reset advancements
only when a player starts an island.
2021-03-13 10:18:32 -08:00
Huynh Tien
dda6fd1813
Add Vietnamese (#6) 2021-03-09 08:01:30 -08:00
tastybento
493289dc54 Remove flag from loaded check. 2021-03-07 14:00:35 -08:00
tastybento
d33f932c5d Added protection around no WorldGeneratorAPI plugin 2021-03-04 08:17:40 -08:00
tastybento
9c714e10ba Code cleanup. 2021-03-03 20:51:31 -08:00
tastybento
816e1e86be Added settings for structures and stronghold generation. 2021-03-03 20:46:22 -08:00