DeerFoliaPlus · Commands and permissions
Docs/deerfoliaplus/DeerFoliaPlus · Commands and permissions

DeerFoliaPlus · Commands and permissions

Use DeerFoliaPlus commands and set their permission nodes.

Permission model

All commands use Bukkit permissions. Posture permissions default to TRUE. Quick-workbench permissions default to OP. Check the effective default for other utility commands in your permission plugin and startup log.

Command completion does not make a command safe for every player. Test each command with a non-admin account. Grant individual nodes instead of the broad deerfoliaplus.command parent.

Posture commands

These commands require posture.enabled:

CommandPermissionEffect
/sitdeerfoliaplus.command.sitSit in place.
/laydeerfoliaplus.command.layLie down and lock position.
/crawldeerfoliaplus.command.crawlEnter crawling while retaining movement.
/get-updeerfoliaplus.command.get-upStand up from a posture.

Empty-hand right-click chair interaction also requires chair-interaction. When require-side-signs is enabled, signs at both ends of the chair row are required.

Time, weather, and player state

CommandPermissionEffect
/daydeerfoliaplus.command.daySet time to day, 1000 ticks.
/noondeerfoliaplus.command.noonSet time to noon, 6000 ticks.
/nightdeerfoliaplus.command.nightSet time to night, 13000 ticks.
/raindeerfoliaplus.command.rainStart rain.
/stormdeerfoliaplus.command.stormStart a thunderstorm.
/sundeerfoliaplus.command.sunClear rain and thunder.
/fly [player]deerfoliaplus.command.flyToggle flight for yourself or a target player.
/god [player]deerfoliaplus.command.godToggle invulnerability for yourself or a target player.

Time, weather, target-player state, and item-copy commands can affect a survival server’s economy or gameplay. Give these commands to trusted administrators by default.

Items and inspection

CommandPermissionEffect
/hatdeerfoliaplus.command.hatSwap the main-hand item with the helmet slot.
/more [amount]deerfoliaplus.command.moreSet the main-hand item count; without amount, use the maximum stack size.
/inspect playerdeerfoliaplus.command.inspectInspect and operate the target player’s inventory and equipment.
/suicidedeerfoliaplus.command.suicideKill yourself.

/inspect is an administrative capability. Keep it away from ordinary players. /more can create unintended item quantities. Give it to a management group.

Quick workbench commands

These commands default to OP permissions under deerfoliaplus.command:

CommandPermissionEffect
/enderchestdeerfoliaplus.command.enderchestOpen your ender chest.
/workbenchdeerfoliaplus.command.workbenchOpen a 3x3 crafting interface.
/craftingtabledeerfoliaplus.command.craftingtableAlias-style crafting interface.
/stonecutterdeerfoliaplus.command.stonecutterOpen a stonecutter interface.
/loomdeerfoliaplus.command.loomOpen a loom interface.
/grindstonedeerfoliaplus.command.grindstoneOpen a grindstone interface.
/anvildeerfoliaplus.command.anvilOpen an anvil interface.
/cartographytabledeerfoliaplus.command.cartographytableOpen a cartography-table interface.
/smithingtabledeerfoliaplus.command.smithingtableOpen a smithing-table interface.

These interfaces can open without a nearby block. Set permissions with the server economy in mind.

FakePlayer commands

When FakePlayer is enabled, the root command also requires bukkit.command.bot. A normal player’s count is controlled by amount-per-player or a bot.amount.N permission. OPs bypass the count limit. A creator normally controls only their own fake players.

/bot create name
/bot create name skin_name
/bot remove name
/bot remove name cancel
/bot remove name hours minutes seconds
/bot list
/bot list world
/bot tp name player
/bot tp name x y z
/bot tp name x y z dimension
/bot tphere name
/bot inventory name
/bot equipment name
/bot backpack name
/bot save name
/bot load name

Action and dynamic-config subcommands require additional nodes:

CapabilityPermission
/bot actionbukkit.command.bot.action
/bot configbukkit.command.bot.config
/bot savebukkit.command.bot.save
/bot loadbukkit.command.bot.load

Use command completion for action names and arguments:

/bot action name list
/bot action name stop all
/bot action name stop index
/bot action name action_name arguments
/bot config name config_name
/bot config name config_name value

Fake-player data includes world position, inventory, and custom state. Confirm whether you must keep the data before you use remove or save.