tastybento
32638e7a87
Prevents repeated portaling when nether is disabled. ( #1826 )
...
* Prevents repeated portaling when nether is disabled.
https://github.com/BentoBoxWorld/BentoBox/issues/1782
* Fix test
2021-08-15 17:05:20 -07:00
tastybento
233c058bfe
Warns visitors that PVP is active if they teleport to an island
...
https://github.com/BentoBoxWorld/BentoBox/issues/1780
2021-08-14 21:02:53 -07:00
tastybento
6b839d9c69
Prevent bucket duping when scooping obsidian Part 35
...
https://github.com/BentoBoxWorld/BentoBox/issues/1825
2021-08-14 16:23:13 -07:00
tastybento
cc974c795f
Added deprecation suppression.
2021-08-08 18:41:43 -07:00
BONNe
56a1fdb55a
Improve ItemParser code. ( #1821 )
...
* Improve ItemParser code.
Add ability to parse text if Material is just a single string.
Add ability to parse player heads.
Add comments to the code.
* Fixes failing test.
2021-08-08 10:05:14 -07:00
tastybento
cf8df9c2a8
Make spawn protection area square instead of circle.
...
https://github.com/BentoBoxWorld/BentoBox/issues/1819
2021-08-07 20:14:40 -07:00
tastybento
acfc001cd6
Java upgrade ( #1814 )
...
* Version 1.17.3
* Use Map.of and List.of instead of Immutable collections
* Replace explicit type argument.
* Replace lamba with method reference
* Replace condition with Objects.requireNonNullElseGet
* Use String.repeat
* Use new switch expressions
* Use instanceof patten variables which are more compact
* Fuse toUnmodifiableList into stream and return it.
* Remove unnecessary toString() calls.
* Remove unnecessary public
* Extracted common part from if
* Simplify conditional expressions
* Remove unused IOExceptions
* Cast to long
* Use Map.putAll
* Use primitives
* Clarify what is null or not
* Addedd @Serial annotation introduced with Java 14.
* Use Optional.isEmpty instead of !isPresent
* Use flatMap then ifPresent
* Just use Arrays.stream
* Swap map and filter for null with Objects::nonNull
* Use expression lambda
2021-07-31 08:48:26 -07:00
tastybento
b5725e7107
Remove update when pasting chest.
2021-07-25 10:23:03 -07:00
tastybento
6bac200ac0
Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop
2021-07-25 09:32:05 -07:00
tastybento
3b136f0d68
Quote filename of addon that cannot be loaded.
...
Provides a better understanding of which addon failed.
2021-07-25 09:31:53 -07:00
tastybento
9b1d61659b
Removes unneeded exploit protection code for skulls ( #1810 )
...
This no longer seems to be required with 1.17.1
https://github.com/BentoBoxWorld/BSkyBlock/issues/430
2021-07-24 12:27:35 -07:00
gecko10000
21fed6ebfe
Fix bucket dupe ( #1806 )
...
Fix https://discord.com/channels/272499714048524288/310623455462686720/867790395442462760
2021-07-23 21:01:40 -07:00
BONNe
2044c73f05
Add alternative Addon#getIslandManager method ( #1797 )
...
We have already done this to the main BentoBox class. But add-ons missed it, and it still has this weird structure: Addon#getIslands().getIslands().
This will just add the same method as it is already in BentoBox class.
2021-07-23 19:32:00 -07:00
tastybento
3d1481fec5
Fix test for InventoryListener
2021-07-06 15:15:35 -07:00
tastybento
0845722150
Add support for Minecraft 1.17.1
2021-07-06 14:54:43 -07:00
BONNe
69f7b49469
Implement 3 bar charts: addons, gamemodes, hooks ( #1790 )
...
BStats supports sending Bar chart data, however, it does not display it via their site directly.
It can be called manually, to view.
PieChart does not work very well for addons and hooks. BarChart however allows viewing each addon separately.
This change allows sending data to the server about bar charts.
2021-07-06 13:50:58 -07:00
Justin
759ba522f4
Add world setting flag for island visitors keep inventory ( #1785 )
2021-07-06 13:47:35 -07:00
Justin
0f7866a00b
Parent/sub-flag support, split up and designate CONTAINER flag as parent flag ( #1784 )
...
* Split CONTAINER flag into multiple flags
CONTAINER split into
- CONTAINER (Chest/Minecart Chest)
- BARREL (Barrel)
- COMPOSTER (Composter)
- FLOWER_POT (Flower Pot)
- SHULKER_BOX (Shulker Box)
- TRAPPED_CHEST (Trapped Chest)
Fixes #1777
* Add subflag support
* Create container parent flag, chest subflag
* Remove extra string from when CHEST was CONTAINER
* Fix incorrect flag specified on fired event in IslandToggleClick
* Add missing world subflag event firing
* Remove extra import
2021-07-06 13:41:23 -07:00
Justin
f88b8d4d6d
Custom date time format support for /<admin> info <player> ( #1783 )
...
Fixes #1720
2021-07-06 13:33:10 -07:00
BONNe
3a1ec0a570
Implements better online player counter. ( #1791 )
...
Current one is based on online player count when bStats sends data to the server.
This one will send data about amount of players who logged in the server.
2021-07-06 15:22:44 +02:00
tastybento
19ddd73204
Add homes command to default player options.
2021-07-05 18:31:06 -07:00
tastybento
e0e1f2878c
Revert "WIP prevent repeated teleports in portals"
...
This reverts commit 2a5d8c14e3
.
2021-06-20 16:29:24 -07:00
tastybento
a0f2f11499
Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop
2021-06-20 12:19:09 -07:00
tastybento
c2e832095a
Minecraft 1.17 support ( #1781 )
...
* Java 16 preliminary branch.
This compiles, but junit tests fail all over because there is a lack of
Java 16 support right now.
* Use Java 16
* 1.17 WIP
* Require 1.17
* Fixes tests.
* WIP fixing tests
* Exclude maven from shading
* Try update snapshots to build action
* Try repo on command line
* Remove reference to shade plugin in dependencies
2021-06-20 12:18:10 -07:00
tastybento
2a5d8c14e3
WIP prevent repeated teleports in portals
2021-06-19 09:59:20 -07:00
gecko10000
7768cc69cc
Remove SLIME_SPLIT spawn reason from natural mob spawning flag ( #1774 )
2021-06-08 10:40:20 -07:00
tastybento
044a0c5c0d
Fix JavaDoc
2021-05-31 16:01:21 -07:00
tastybento
c3b25c92b5
Added JavaDoc
2021-05-31 16:01:12 -07:00
tastybento
6e9513f2ea
Enable plugins to register Addons ( #1768 )
...
* Enable plugins to register Addons
* Pladdon approach. Loads addons as plugins.
* Added auto-move for pladdons.
2021-05-31 12:42:54 -07:00
tastybento
bedeb7c168
Addd GSON enum type adapter for compatibility with Mohist
...
https://github.com/BentoBoxWorld/BentoBox/issues/1766
2021-05-28 17:24:51 -07:00
tastybento
e472e07c34
Fixes Invincible Visitor settings panel
...
https://github.com/BentoBoxWorld/BentoBox/issues/1762
2021-05-22 17:41:47 -07:00
Fredthedoggy
ca39e05fc7
Allow Non-Bentobox commands as default player (commands) ( #1760 )
...
* Update ServerCompatibility.java
* Update Default Player Command to support non-bentobox commands
2021-05-15 13:20:09 -07:00
tastybento
64c83f809c
Adjusted default command for backwards compatibility
2021-05-13 08:01:22 -07:00
tastybento
2bc35c8936
Runs player go and create commands as direct calls.
...
Avoids performCommand because it can be trapped as a cheat because it
executes too fast. Allows use of non-subcommands.
2021-05-13 07:37:41 -07:00
tastybento
982dc2fd52
Require non null getCenter
...
This will throw a big runtime error if range is adjusted without a
center location being defined. Should only affect addons like the
Converter.
2021-05-11 21:29:44 -07:00
tastybento
839f05de71
Fix maxteamsize placeholders
...
The placeholders were not using the correct API call and so were
reporting based on the player's permission and not the actual island's
maxteam size.
https://github.com/BentoBoxWorld/BentoBox/issues/1753
2021-05-07 12:36:12 -07:00
Fredthedoggy
9ed0620bb0
Update ServerCompatibility.java ( #1751 )
2021-05-01 09:37:11 -07:00
tastybento
09bac48b5e
Adjusted portal search radius to 64.
2021-04-25 09:35:45 -07:00
tastybento
b1ab2ecece
Corrected since reference, removed debug.
2021-04-24 09:02:47 -07:00
tastybento
33b49a2349
Set minimum portal search radius to 8. Added config option.
...
https://github.com/BentoBoxWorld/BentoBox/issues/1747
2021-04-24 08:45:05 -07:00
tastybento
ac8458fd3c
Add IslandHomesCommand
...
https://github.com/BentoBoxWorld/BentoBox/issues/1737
2021-04-07 21:36:49 -07:00
tastybento
2098fd636a
Fix home listing on error.
...
https://github.com/BentoBoxWorld/BentoBox/issues/1737
2021-04-07 21:20:48 -07:00
tastybento
3e068e4283
Fix missing fields in copy constructor for Island class.
2021-04-03 16:33:55 -07:00
BONNe
dc829786d3
Fixes a bug with Commands not being able to find subcommand if defined label contains capital letter. ( #1724 )
2021-03-27 18:19:44 -07:00
tastybento
609322d582
Remove debug.
2021-03-27 17:05:13 -07:00
tastybento
4b9b6774ea
Teleport based on protection center and world height.
2021-03-27 16:57:15 -07:00
tastybento
c6e2a9bd66
Admin teleport now goes to island spawn locations if they exist
2021-03-27 09:23:24 -07:00
tastybento
3c4b7deb75
Treat teleporting as moving for delayed commands.
...
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1722
2021-03-21 15:50:47 -07:00
Florian CUNY
8ecfee4359
Added since javadoc to getIslandsManager and getPlayersManager()
...
Completes 2bef0fe57c
2021-03-21 22:08:21 +01:00
tastybento
9e0fdbd210
Add Util method to enable multi-lingual broadcasts.
2021-03-21 09:04:30 -07:00