Commands
The canonical command is /slimefun. The short alias is /sf.
The source registers 23 top-level subcommands. Some operations require a player sender, online target, or additional permission. Angle brackets indicate required arguments; square brackets indicate optional arguments.
Player Commands
Section titled “Player Commands”| Command | Description |
|---|---|
/sf help |
Show command help. |
/sf guide |
Give the Slimefun Guide to the player. |
/sf open_guide |
Open the guide interface. |
/sf search <query...> |
Search registered items in the guide. |
/sf stats [player] |
Show research statistics; another player requires additional permission. |
/sf backpack [player] |
Inspect stored backpacks; inspecting another owner requires additional permission. |
/sf charge |
Charge a supported held item. |
/sf id |
Show the Slimefun ID of the held item. |
/sf teleporter [player] |
Open the GPS teleporter interface for a known player profile. |
Guide, item search, charging, ID inspection, teleportation, and backpack inspection are player-only operations. /sf stats is restricted by research configuration and uses slimefun.stats.others for another player’s statistics.
Administration Commands
Section titled “Administration Commands”| Command | Description |
|---|---|
/sf cheat |
Open the administrative item menu (player only). |
/sf give <player> <item_id> [amount] |
Give an enabled registered item to an online player. |
/sf research <player> <all|reset|namespace:key> |
Grant or reset player research. |
/sf reload |
Reload supported plugin components. |
/sf migrate confirm |
Start legacy block and profile migration jobs. |
/sf blockdata get <key> |
Read a data field on the targeted Slimefun block. |
/sf blockdata set <key> <value> |
Change a persistent field on the targeted block. |
/sf blockdata remove <key> |
Remove a persistent field on the targeted block. |
/sf banitem [item_id] |
Disable an item through Items.yml. |
/sf unbanitem <item_id> |
Re-enable an item through Items.yml. |
/sf cleardata <world|*> <block|oil|*> confirm |
Delete selected block and/or oil world data. |
/sf blockdata is player-only, uses a block within approximately 8 blocks of the player, and does not allow the id field to be changed or removed. /sf banitem may use the held item when a player omits the ID. /sf unbanitem expects an ID.
/sf give defaults to one item. It rejects multiblock machine items and only drops overflow when options.drop-excess-sf-give-items is enabled.
Destructive operations: /sf cleardata deletes selected persistent data. /sf migrate confirm starts asynchronous migrations. These commands are not troubleshooting tools; back up and rehearse on staging before use. Granting research does not grant Technology Licenses.
Diagnostics Commands
Section titled “Diagnostics Commands”| Command | Description |
|---|---|
/sf versions |
Show detected server, plugin, and addon versions. |
/sf timings [--verbose] [--avg|--low] |
Show performance timings. |
/sf debug [test_case|disable|off] |
Inspect or toggle diagnostic test modes. |
/sf debug_fish |
Give the developer debug item (player only). |
--verbose is available to console senders; --avg and --low change the timing output order. When both sorting options are specified, average takes precedence. The DATABASE debug case enables SQL profiling; disable and off stop the active debug mode.
Technology License Commands
Section titled “Technology License Commands”| Command | Description |
|---|---|
/sf license |
Show the player’s licenses. |
/sf license list |
List the player’s licenses. |
/sf license list <player> |
Inspect another online player’s licenses (admin). |
/sf license info <license> |
Show registered license details, price, and requirements. |
/sf license buy <license> |
Purchase an eligible license (player only). |
/sf license grant <player> <license> |
Grant a registered license (admin). |
/sf license grant <player> all |
Grant all missing registered licenses (admin). |
/sf license revoke <player> <license> |
Revoke one license (admin). |
/sf license revoke <player> all |
Revoke all stored license keys (admin). |
Player-facing operations use slimefun.license.use. Administrative operations use slimefun.license.admin and require the target player online in the inspected source. grant all does not unlock research; revoke all also removes stored keys belonging to uninstalled addons.
Tab Completion
Section titled “Tab Completion”/sfsuggests registered subcommands according to the command handler and sender permissions.givesuggests online players, enabled item IDs, then amounts1,2,4,8,16,32, and64.researchsuggests online players,all,reset, and registered research keys.blockdatasuggestsget,set,remove, then fields from the targeted block.banitemsuggests enabled items;unbanitemsuggests disabled items.cleardatasuggests loaded worlds or*, data types, thenconfirm.timingssuggests--verbose,--avg, and--low;debugsuggests available test cases and disabling options.license grant <player>suggests missing registered licenses andallwhen relevant;license revoke <player>suggests owned licenses andallwhen relevant.
The license completer does not expose entitlement-derived suggestions when its storage read fails. /sf grant all is not a registered standalone command.
Special Conditions
Section titled “Special Conditions”- Console support is command-specific. Commands that open inventories or inspect the held item need a player sender.
- Several administrative commands accept console senders, but player-target commands can still require the target online.
/sf reloaddoes not replace a full server restart for JAR changes or database-backend changes.- The destructive
cleardatacommand usesslimefun.command.cleardata, which is checked by the command but not declared in the suppliedplugin.yml.
See Permissions and Technology Licenses for access and license behavior.