Commands¶
All commands are available under /jflyspeed and its aliases (/jfs,
/jf). Running the root with no arguments shows the help listing. The
three speed commands additionally exist as standalone roots (/flyspeed,
/walkspeed, /speed) unless disabled in config.yml; see
configuration.md.
| Command | Description | Permission |
|---|---|---|
/flyspeed [<speed>\|reset] [targets] |
Set or reset fly speed (aliases /fspeed, /fs). |
jflyspeed.flyspeed |
/walkspeed [<speed>\|reset] [targets] |
Set or reset walk speed (aliases /wspeed, /ws). |
jflyspeed.walkspeed |
/speed <speed> [targets] |
Set speed for your current mode (flying → fly, else walk). | the inferred channel's node |
/speed fly\|walk [<speed>\|reset] [targets] |
Set or reset one speed channel. | jflyspeed.flyspeed / jflyspeed.walkspeed |
/speed reset [targets] |
Reset both fly and walk speed. | jflyspeed.flyspeed + jflyspeed.walkspeed |
/fly [[on\|off] [targets]] |
Toggle or set fly mode. | jflyspeed.fly |
/jflyspeed help [query] |
Shows the in-game command list. | Permission-filtered entries |
/jflyspeed version |
Shows the plugin version and authors (plus a pending update notice for jflyspeed.reload holders). |
jflyspeed.version |
/jflyspeed reload |
Reloads all configuration files. | jflyspeed.reload |
Examples:
/flyspeed 7 # set your own fly speed to 7
/fs 7 # same, via the alias
/jfs flyspeed reset # reset your own fly speed to the default
/fly # toggle your own fly mode
/fly off @a # disable fly mode for everyone
/flyspeed # same: no arguments resets your own speed
/speed 5 # set your fly or walk speed to 5, whichever fits your current mode
/speed fly 5 @a # set everyone's fly speed to 5
/jfs speed walk reset Steve # reset Steve's walk speed
/speed reset @p # reset the nearest player's fly and walk speed
<speed>is a number on the 0-10 scale, where1.0is vanilla normal speed and0.0is frozen (see the README). Non-numeric input is rejected with an error; values outside 0-10 are clamped silently.resetrestores the configured default instead.[targets]accepts vanilla selectors (@p,@a,@r,@s) and player names. An omitted selector means yourself; console must always name a target. A selector matching nobody reports an error instead of failing silently. Targeting anyone but yourself needsjflyspeed.otherplus the relevant speed permission./speed resetresets both channels at once, so it needs bothjflyspeed.flyspeedandjflyspeed.walkspeed./speed <speed>picks the channel from your current mode: flying means fly speed, anything else means walk speed, and needs that channel's permission. Console has no mode, so it must nameflyorwalkexplicitly.- No arguments resets your own speed:
/flyspeedand/walkspeedreset their channel,/speed flyand/speed walkreset theirs, and bare/speedresets every channel you hold the permission for (both when permitted, otherwise just the one). /flytoggles fly mode: bare it flips your own,on/offsets it explicitly, and a selector applies either to others (needsjflyspeed.otherplusjflyspeed.fly, like the speed commands). Toggling a group turns everyone off when all can already fly, otherwise everyone on.- Aliases (
/fspeed,/fs,/wspeed,/ws) work as standalone roots while their channel's root is enabled, and always under/jflyspeed(e.g./jfs fs 5). They are configurable; see configuration.md. - Tab completion on
[targets]lists the selectors first, then online player names with your own name first, filtered by what you already typed. Withoutjflyspeed.otheryou only get@sand your own name. Value arguments suggestresetfirst (afterfly/walk/reseton/speed), then the configured defaults (1,2,5,10). helpsupports an optional query argument that filters the listed commands (/jflyspeed help reset).reloadre-readsconfig.yml,messages.ymlandsounds.yml, then reopens the SQLite database, re-registers the placeholders with the new settings, and re-runs the update check. A failed reload reports an error instead of success. Changes to command roots and aliases take effect after a restart;reloadreports when a restart is needed.
Speeds are applied to the player and are not persisted, matching vanilla behavior across relogs and restarts.