Skip to content

Commands and Permissions

Ashutosh Das edited this page May 20, 2026 · 1 revision

Commands & Permissions

Statfyr provides a small set of in-game and console commands for managing the plugin.


Commands

All commands use the /statfyr base. They can be run in-game or from the server console.

Command Permission Description
/statfyr reload statfyr.reload Reloads config.yml and restarts the HTTP server with the new settings. No server restart needed.
/statfyr status statfyr.status Displays the current API status, bind address, port, and whether HTTPS is active.
/statfyr version (none) Shows the currently installed Statfyr version.

Permissions

Permission Default Description
statfyr.reload op Allows use of /statfyr reload
statfyr.status op Allows use of /statfyr status

Both permissions default to operators only. Grant them explicitly via your permissions plugin (e.g. LuckPerms) if you want non-op staff to manage Statfyr.


Granting Permissions (LuckPerms example)

Allow a specific player to reload the config:

/lp user <player> permission set statfyr.reload true

Allow a staff group to view API status:

/lp group staff permission set statfyr.status true

Console Usage

All commands work from the server console without a permission check:

statfyr reload
statfyr status
statfyr version

Note: Omit the / when running commands from console.


Next: Troubleshooting

Clone this wiki locally