Closed Maple-YZ closed 1 year ago
The demote command executed by sub-owner for owner should not work.
The owner can be demoted by sub-owner using demote command, and would lead to a none-owner island like this:
/is settings
Command Ranks
/island team demote
/is team demote A
bbox version 18:05:39 INFO: 服务器: PURPUR 1.20.1 18:05:39 INFO: BentoBox 版本: 1.24.0 18:05:39 INFO: 数据库: JSON 18:05:39 INFO: bskyblock_world (BSkyBlock) : 主世界, 下界, 末地 18:05:39 INFO: Biomes 2.1.1 (ENABLED) 18:05:39 INFO: BSkyBlock 1.16.1 (ENABLED) 18:05:39 INFO: Challenges 1.2.0 (ENABLED) 18:05:39 INFO: Level 2.11.0 (ENABLED) 18:05:39 INFO: Limits 1.19.1 (ENABLED) 18:05:39 INFO: Warps 1.13.0 (ENABLED)
bbox version 18:05:39 INFO: 服务器: PURPUR 1.20.1 18:05:39 INFO: BentoBox 版本: 1.24.0 18:05:39 INFO: 数据库: JSON
18:05:39 INFO: bskyblock_world (BSkyBlock) : 主世界, 下界, 末地
18:05:39 INFO: Biomes 2.1.1 (ENABLED) 18:05:39 INFO: BSkyBlock 1.16.1 (ENABLED) 18:05:39 INFO: Challenges 1.2.0 (ENABLED) 18:05:39 INFO: Level 2.11.0 (ENABLED) 18:05:39 INFO: Limits 1.19.1 (ENABLED) 18:05:39 INFO: Warps 1.13.0 (ENABLED)
plugins [18:07:38 INFO]: Bukkit Plugins: (47): [18:07:38 INFO]: - AddonPatcher, AdvancedCleaner, AuthMe, BBSToper, BentoBox, BentoBox-Biomes, BentoBox-BSkyBlock, BentoBox-Challenges, BentoBox-Level, BentoBox-Limits [18:07:38 INFO]: BentoBox-Warps, Citizens, CMI, CMILib, CoreProtect, CrazyAuctionsPlus, CrazyCrates, DeluxeMenus, FastAsyncWorldEdit, GSit [18:07:38 INFO]: Images, LiteSignIn, LoginManager, LoneLibs, LuckPerms, Multiverse-Core, PlaceholderAPI, PlugManX, ProtocolLib, PyroFishingPro [18:07:38 INFO]: PyroLib, Shopkeepers, SkBee, Skript, skript-gui, Skript-Packet, skript-placeholders, skript-reflect, skUtilities, spark [18:07:38 INFO]: *SQLibrary, Trivia, Vault, ViaBackwards, ViaVersion, worldedit-selection-viewer, WorldGuard
No response
Thanks for finding this. This command was not fully developed and you found a good bug!
Expected behavior
The demote command executed by sub-owner for owner should not work.
Observed/Actual behavior
The owner can be demoted by sub-owner using demote command, and would lead to a none-owner island like this:
Steps/models to reproduce
/is settings
then clickCommand Ranks
and change the settings to allow sub-owner to use the/island team demote
command./is team demote A
to demote A to a sub-owner.BentoBox version
Plugin list
Other
No response