Florian CUNY
0108d254ee
Fixed addons and hooks icons in Management Panel not going to the next line
2019-04-19 10:53:14 +02:00
Florian CUNY
3bb5ebb688
Changed PlaceholderAPI hook's icon to a NAME_TAG
2019-04-19 10:43:07 +02:00
Florian CUNY
80f269c38d
Added description for /bbox catalog (en-US)
2019-04-19 10:40:07 +02:00
Florian CUNY
15351c61c8
Merge remote-tracking branch 'origin/develop' into develop
2019-04-18 14:43:34 +02:00
Florian CUNY
8601cd6a0d
Added /bentobox catalog
2019-04-18 14:42:32 +02:00
Florian CUNY
e7cd9d1453
Started implementation of the CatalogPanel
2019-04-18 14:42:00 +02:00
Florian CUNY
c47a41f3fc
Removed the drafty Github api - we now use the GitHubAPI4Java :)
2019-04-18 14:41:29 +02:00
tastybento
7499b19fea
Added offline message event.
...
This event is fired if the player is offline but the recipient of a
message.
2019-04-17 22:22:16 -07:00
Florian CUNY
a26341e36f
Fixed BentoBox still disabling if running on incompatible server
...
This fixes commit 0d6f872420
.
2019-04-17 22:58:17 +02:00
Florian CUNY
a18ed9b999
Added a "compatibility" icon in the Management Panel
2019-04-17 21:54:30 +02:00
Florian CUNY
82dccfd839
Minor improvement of the comparator in /bbox version
2019-04-17 21:53:32 +02:00
tastybento
197d51add0
Fixes issue with teleporting from standard nether or end
...
https://github.com/BentoBoxWorld/BentoBox/issues/634
2019-04-17 09:35:55 -07:00
Florian CUNY
6bf66ec98c
Started implementation of Blueprints (replacement of Schems)
2019-04-14 14:55:24 +02:00
tastybento
4e73d7de5a
Improvements to the Paster ( #632 )
...
* Version up 1.4.1-SNAPSHOT
* Sets pos1 and pos2 after pasting a loaded schem
Corrects version name in POM.
* Shifted schem name validation into SchemsManager
2019-04-14 01:54:04 +02:00
Florian CUNY
141e1d388d
Added a gameMode field to islands for convenience usage
...
#631
2019-04-13 14:44:31 +02:00
Florian CUNY
9386e8aa71
Added Dynmap hook
...
#475
2019-04-13 14:22:05 +02:00
Florian CUNY
7df34d73ba
Made the ManagementPanel display hooks
2019-04-11 14:44:30 +02:00
Florian CUNY
f27d97e05f
Added some Javadoc in HooksManager
2019-04-11 14:02:37 +02:00
Florian CUNY
612ae93faf
Added icon (Material) to hooks
2019-04-11 13:58:11 +02:00
Florian CUNY
7ff3289afa
Added island_members_max placeholder
...
#621
2019-04-11 11:10:49 +02:00
Florian CUNY
7d57effd65
Improved the names of the two previously added placeholders
...
island_trusted_count -> island_trustees_count
island_coop_count -> island_coops_count
#621
2019-04-11 11:02:56 +02:00
Florian CUNY
5450ef6a59
Added ISLAND_TRUSTED_COUNT and ISLAND_COOP_COUNT placeholders
...
#621
2019-04-11 11:01:41 +02:00
Florian CUNY
a045ea1a8e
Added Island#getMemberSet(int, boolean) to specify if we want only the specific rank or the above ranks included
2019-04-11 11:00:02 +02:00
Florian CUNY
f41359ce4d
Added ISLAND_MEMBERS_COUNT, ISLAND_VISITORS_COUNT, ISLAND_BANS_COUNT
...
#621
2019-04-11 10:53:00 +02:00
Florian CUNY
b0d4604c63
Renamed GameModePlaceholders to GameModePlaceholder
...
(enum names should be singular)
2019-04-11 10:47:25 +02:00
Florian CUNY
1d119ddea1
Removed "warp not safe" message, replaced with the (renamed) "no-safe-location-found"
2019-04-11 10:37:14 +02:00
Florian CUNY
a25ab326c3
Added OFFLINE_GROWTH flag localization (en-US)
...
Damn, how could I have missed that + how could nobody have noticed already ? xD
Thanks Liam from Discord!
2019-04-10 21:52:19 +02:00
tastybento
f5ad5aa2c9
Improves API and JavaDocs for getMembers ( #628 )
...
* Improves API and JavaDocs for getMembers
https://github.com/BentoBoxWorld/BentoBox/issues/627
* Fixed indentation in Island
2019-04-10 15:40:54 +02:00
Florian CUNY
aeb0e7d4fa
Added default white color to gamemode addons' icons name
2019-04-10 15:22:23 +02:00
Florian CUNY
c687d18385
Introducing the BentoBox Management Panel (/bbox manage)
...
As it mostly relies on other panels yet-to-be-implemented, it doesn't do much. But it was fun to do!
2019-04-10 14:37:14 +02:00
Florian CUNY
2c371f4091
Added icon for addons
...
It will be used to represent the addon in menus
Default is PAPER
2019-04-10 13:16:47 +02:00
Florian CUNY
81cca6adc8
Added %[gamemode]_world_islands% and %[gamemode]_rank% placeholders
...
#621
2019-04-08 20:47:45 +02:00
Florian CUNY
246a6c30d0
Improved documentation of Island#getMembers() and Island#getMemberSet()
2019-04-08 20:38:50 +02:00
Florian CUNY
79941b5e63
Added %[gamemode]_resets_left% placeholder
...
#621
2019-04-08 10:51:00 +02:00
Florian CUNY
d1a3a8285f
Added PlayersManager#getResetsLeft(World, UUID)
2019-04-08 10:49:22 +02:00
Florian CUNY
166f7b97d6
Added %[gamemode]_resets% placeholder
...
#621
2019-04-08 10:27:03 +02:00
Florian CUNY
5177e2be09
Added nullable annotation on Hook#getPlugin()
2019-04-07 21:37:23 +02:00
Florian CUNY
5dd7796be4
Deprecated GameModePlaceholderManager
...
GameModePlaceholderManager#registerGameModePlaceholders(...) is now handled by PlaceholdersManager#registerDefaultPlaceholders(...).
2019-04-07 20:59:21 +02:00
Florian CUNY
9e12f06599
Improved default placeholders registration
...
To keep it simple: `%bentobox_bskyblock-island-distance%` is now `%bskyblock_island_distance%`.
I tried to keep some legacy support though.
2019-04-07 11:18:18 +02:00
Florian CUNY
749b88669c
Added nullability annotations to some Island's fields
2019-04-07 10:43:24 +02:00
Florian CUNY
962bc50aaa
Added nullable annotation to Island#getCenter
2019-04-07 10:41:32 +02:00
Florian CUNY
38f088bb35
Added has-island placeholder
...
#621
2019-04-07 10:16:59 +02:00
Florian CUNY
d283de9440
Added island-center placeholder
...
#621
2019-04-07 10:15:23 +02:00
Florian CUNY
79ca7512d1
Made the gamemode placeholders no longer return an empty string if player doesn't have an island
2019-04-07 10:02:55 +02:00
Florian CUNY
e8ec7b24b4
Added nullability annotations to both PlaceholderReplacers' #onReplace(...) method
2019-04-07 10:02:10 +02:00
Florian CUNY
b40f07f763
Added island center related placeholders
...
#621
* island-center-x
* island-center-y
* island-center-z
2019-04-07 09:46:02 +02:00
Florian CUNY
0bcbdf245a
Removed useless code and erroneous documentation in GameModePlaceholderManager
2019-04-07 09:44:58 +02:00
Florian CUNY
5a5e0dafc0
Removed deprecated methods in PlaceholderAPIHook
2019-04-07 09:38:30 +02:00
Florian CUNY
00546c2cb6
Fixed indentation in GameModePlaceholderManager
2019-04-07 09:33:50 +02:00
Florian CUNY
01e1147c7f
Improved handling of gamemode default placeholders
2019-04-06 21:09:31 +02:00
Florian CUNY
4d8bb71354
Release 1.4.0
2019-03-28 20:40:37 +01:00
Rem
8581522475
Added Akarin and Glowstone in server compatibility check ( #620 )
2019-03-28 20:22:52 +01:00
Florian CUNY
a54412e266
Fixed typo from 0d6f872420
2019-03-28 20:04:15 +01:00
tastybento
0d6f872420
Removes disablement of plugin for incompatible servers.
...
https://github.com/BentoBoxWorld/BentoBox/issues/619
2019-03-26 08:14:09 -07:00
Florian CUNY
70749b0d16
Fixed another bunch of code smells
2019-03-24 15:51:45 +01:00
Florian CUNY
5073d9cf5c
Fixed code smells
2019-03-24 15:47:25 +01:00
tastybento
2912ae18d2
Auto add default placeholders for GameModeAddons ( #616 )
...
https://github.com/BentoBoxWorld/BentoBox/issues/322
2019-03-24 15:30:58 +01:00
Florian CUNY
1eadddee47
Made addons opt-in by default to the addons metrics
2019-03-24 10:14:27 +01:00
tastybento
7a7ca42383
Refactored toPanelItem to make it easier to understand
2019-03-23 18:59:30 -07:00
tastybento
af25bba60c
Fix code smells.
2019-03-23 18:40:30 -07:00
tastybento
1f341f4929
Remove code smells due to nonNull Spigot settings
...
Let's see if the nonNull's are really true!
2019-03-23 16:34:04 -07:00
tastybento
23491d0c4a
Flag visibility ( #617 )
...
* Saves world settings to config.yml when they are changed mid-game.
* Fixes and adds to tests
* WIP: Added visibility settings for flags.
Tests still need to be fixed and requires saving to config.yml.
* Fixes tests
* Completed changes.
* Renames method to be hidden flags instead of visible settings
GameModeAddons will need to adjust WorldSettings API based classes.
2019-03-23 15:38:06 -07:00
tastybento
cab584d13d
Saves world settings to config.yml when they are changed mid-game. ( #615 )
...
Addresses https://github.com/BentoBoxWorld/BentoBox/issues/614
2019-03-23 21:54:45 +01:00
tastybento
2ba0000a8f
Javadoc typo fix
2019-03-21 21:34:17 -07:00
tastybento
7990378355
Adds island expel command.
...
Requires GameModeAddons to use it.
https://github.com/BentoBoxWorld/BentoBox/issues/524
2019-03-21 20:41:30 -07:00
tastybento
99e9ad6ac8
Makes podzol yield podzol when broken if coarse dirt tilling is denied
...
https://github.com/BentoBoxWorld/BentoBox/issues/613
2019-03-20 23:38:02 -07:00
tastybento
68a52c71bf
Prevents dragon eggs from teleporting outside of protection zone
...
https://github.com/BentoBoxWorld/BentoBox/issues/558
2019-03-20 22:46:13 -07:00
tastybento
05e542442e
Adds an admin schem list command and test class
...
Lists available schems for game mode
https://github.com/BentoBoxWorld/BentoBox/issues/563
2019-03-20 22:33:30 -07:00
tastybento
39c3861391
Item Frames could be placed on any island.
...
https://github.com/BentoBoxWorld/BentoBox/issues/610
2019-03-17 15:18:19 -07:00
tastybento
47900fd183
Handle null center locations.
...
Cloning null was causing an NPE.
2019-03-16 10:44:14 -07:00
tastybento
277378aaa3
Fix to BentoBox version error
...
https://github.com/BentoBoxWorld/BentoBox/issues/608
2019-03-13 18:03:58 -07:00
tastybento
ed7e301b82
Removing sorting of gameworlds for debug purposes
...
https://github.com/BentoBoxWorld/BentoBox/issues/608
2019-03-13 08:51:29 -07:00
tastybento
60b075c668
Fixes bug where coop or trusted could sethomes on other islands
...
https://github.com/BentoBoxWorld/BentoBox/issues/588
2019-03-13 00:01:23 -07:00
tastybento
8ad546df6f
Fixes home teleport when in some types of boat
...
Oak and spruce boats were causing errors due to the mismatch between
enums for tree species and material names.
https://github.com/BentoBoxWorld/BentoBox/issues/606
2019-03-12 23:52:05 -07:00
tastybento
3f355f59d1
Added defensive code to protect from null gamemode worlds
...
Related to https://github.com/BentoBoxWorld/addon-invSwitcher/issues/2
2019-03-12 23:22:04 -07:00
tastybento
cb09ec2e3a
Switched from plugin.getServer() to Bukkit.getServer() to enable tests
...
plugin.getServer() cannot be mocked because it is final.
2019-03-11 22:58:30 -07:00
tastybento
adf0b8247f
Added database test classes for YAML
2019-03-11 22:53:40 -07:00
Florian CUNY
2935f41173
Made Island#getCenter() return a clone of the Location
...
As suggested in https://github.com/BentoBoxWorld/BentoBox/issues/591#issuecomment-471314358
2019-03-11 13:41:01 +01:00
tastybento
75bbc13cf5
Improved islands async deletion from database ( #605 )
...
Addresses https://github.com/BentoBoxWorld/BentoBox/issues/591
2019-03-11 08:41:41 +01:00
tastybento
cfa6861e58
Added IslandCreateCommand test and use of canExecute API.
2019-03-09 22:09:54 -08:00
tastybento
e0a8831ae0
Added test class for CustomIslandMultiHomeHelp class
2019-03-09 21:22:00 -08:00
tastybento
2cdbc25f6a
Rewrote Flag test class for better coverage
2019-03-09 20:55:54 -08:00
tastybento
ee5a2c920b
Added Panel Test class.
...
Fixed bugs with head requesting.
2019-03-09 18:43:27 -08:00
tastybento
8f24e59a21
Fixes IslandsManager test cases and pufferfish removal
...
The clear area method should not remove pufferfish as per
https://github.com/BentoBoxWorld/BentoBox/pull/595
2019-03-09 16:54:54 -08:00
Florian CUNY
1953d966dc
Fixed code smells in YamlDatabaseHandler
2019-03-09 21:55:13 +01:00
BONNe
7a0939e171
Improved handling of Phantoms, Pufferfishes and a few other mobs ( #595 )
2019-03-09 21:21:46 +01:00
tastybento
9ba34d1e92
Skip synthetic fields from Jacoco or compiler
...
When using introspection, synthetic fields should be skipped. These
fields can be added by Jacoco or even the compiler so will cause
problems during unit testing.
Refactored YamlDatabaseHandler to be easier to understand.
2019-03-08 22:29:28 -08:00
BONNe
d11a27dc6d
Fixed MILKING flag not protecting milking Mooshrooms ( #602 )
...
Add extra PlayerInteractEntityEvent handling that prevents from using bowl on mooshrooms without MILKING protection flag.
2019-03-08 20:40:42 +01:00
BONNe
07b4e2d30c
Fixed ArrayOutOfBoundsException in admin delete command ( #600 )
...
When admins tried to delete island, they got an ArrayOutOfBounds exception.
This will fix it.
2019-03-08 20:38:59 +01:00
tastybento
d4d1b77c24
Added test class for island team invite accept command.
...
Reduced complexity of command.
2019-03-07 22:57:49 -08:00
tastybento
a397945248
Reduce complexity code smell.
2019-03-07 22:05:24 -08:00
tastybento
7544660643
Reduce complexity code smell.
2019-03-07 21:59:37 -08:00
tastybento
d3be21b3ae
Fixed minor code smells for db handlers.
2019-03-07 18:44:15 -08:00
tastybento
7471dd6f2e
Enable Ops to adjust any island settings including spawn island
...
https://github.com/BentoBoxWorld/BentoBox/issues/599
2019-03-07 10:02:40 -08:00
tastybento
9318973459
Does not remove arrows or tridents if PVP is disabled.
...
https://github.com/BentoBoxWorld/BentoBox/issues/597
2019-03-06 22:05:26 -08:00
tastybento
9742c1f0e3
Fixes NPE when going through a non-BentoBox world portal.
...
https://github.com/BentoBoxWorld/BentoBox/issues/583
Caused by a failure to check that world was in the known BentoBox worlds
before calling the IWM method.
2019-03-06 21:38:15 -08:00
Florian CUNY
ac1128506e
Added Flags#OFFLINE_GROWTH
...
#580
2019-03-04 08:29:43 +01:00
Florian CUNY
2ae36e737f
Improved OFFLINE_REDSTONE handling (and added javadoc)
2019-03-04 08:22:18 +01:00
tastybento
9659610b11
Added BreakBlocksListener test class.
...
Also added a way to trap null location checks with checkIsland in
FlagListener.
2019-03-03 21:18:38 -08:00
tastybento
ff6b754333
Adds ender crystal protection.
...
https://github.com/BentoBoxWorld/BentoBox/issues/589
2019-03-03 20:00:11 -08:00