tastybento
e9067cfb28
Add bbox admin perms command and adjust perms for commands
...
Made some admin commands have their own perm so that they can be
controlled individually by permissions.
2023-06-18 13:55:21 -07:00
tastybento
ae63125f50
Enables UUIDs to be used in admin commands as well as names ( #1298 )
...
Implements a solution for #1297 .
Adds Util#getUUID(String nameOrUUID)
2020-04-23 21:16:09 +02:00
tastybento
b29da53f43
Revert "Made BentoBoxCommand#setup() default ( #1258 )"
...
This reverts commit 7de842e284
.
2020-04-07 13:38:44 -07:00
Clément P. (Cleymax)
3bd0ff4a69
Added IslandRankChangeEvent ( #1260 )
...
Implements #1135
changed name of the event to append Event to it
Call the event in proper places
2020-04-04 21:57:59 +02:00
Florian CUNY
7de842e284
Made BentoBoxCommand#setup() default ( #1258 )
...
* Made BentoBoxCommand#setup() "default" and deprecated it
* Undeprecated BentoBoxCommand#setup() and changed its javadoc
* Put back setup in IslandGoCommand and IslandSethomeCommand
* Removed setup in AdminPurgeStatusCommand
2020-04-04 20:40:14 +02:00
tastybento
30d9ed3887
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1216
2020-03-05 16:47:52 -08:00
tastybento
aa5c253e03
Fix for double calling of events ( #1111 )
...
* Fixes tests for AdminSetrankCommand
https://github.com/BentoBoxWorld/BentoBox/issues/1107
* Fixes double calling of events.
https://github.com/BentoBoxWorld/BentoBox/issues/1110
* Makes AddonEvent static
https://github.com/BentoBoxWorld/BentoBox/pull/1111
2020-01-07 10:15:12 -08:00
tastybento
784988ca54
Test class cleanup. Use Bukkit direct calls instead of Bukkit.getServer
2019-10-18 19:33:24 -05:00
tastybento
b1f66eb31b
Fixes bugs and code smells from Sonarcloud.
2019-07-04 16:54:05 -07:00
tastybento
fc160d8c5f
Aligns permissions and fixes permission bugs
...
https://github.com/BentoBoxWorld/BSkyBlock/issues/120
2019-05-07 13:14:25 -07:00
Florian CUNY
6100420bae
Added better success messages to admin team commands
...
#630
2019-04-28 11:21:58 +02:00
tastybento
f60a39a543
Fires team and island events. Adds new events.
...
A lot of the commands were not firing events. These events are now
needed by addons.
Added new JOINED, REGISTERED, UNREGISTERED reasons for events.
Switched to using Bukkit.getServer() instead of plugin.getServer() in a
number of classes because the former can be mocked but the latter cannot
be because it's marked as a final method in JavaPlugin.
2019-02-02 20:40:44 -08:00
Florian CUNY
b20ef00853
Updated locales to replace all references of "leader" to "owner"
...
The island owner is no longer both known as "owner" or "team leader" depending on the methods you're using : it's "owner" everywhere now. Period. 🎉
2018-12-09 13:41:09 +01:00
Florian CUNY
0322ffe0ce
Deprecated #getTeamLeader(...) methods
...
These have been deprecated in CompositeCommand, IslandCache and IslandsManager and they got replaced by #getOwner(...).
2018-11-18 11:12:54 +01:00
Florian CUNY
02be048192
Removed "general.errors.unknown-player-name" : added a "[name]" textvariable in "general.errors.unknown-player"
...
Closes #263
2018-09-15 10:39:16 +02:00
Florian CUNY
f89bda6b5d
Replaced #setParameters(String) by #setParametersHelp(String) in commands
2018-08-11 13:33:42 +02:00
tastybento
67ab937b97
Revert "Removed useless #setDescription() and #setParameters() in commands"
...
This reverts commit 0e8e9dde67
.
2018-08-10 13:47:58 +09:00
Florian CUNY
0e8e9dde67
Removed useless #setDescription() and #setParameters() in commands
2018-08-09 11:56:05 +02:00
tastybento
3c74ef0694
Moved admin and island commands into API package
2018-08-02 19:26:46 -07:00