Command reference¶
/fkdr script list scripts, with state and error
/fkdr script reload rescan the folder, reload everything, retire what has gone
/fkdr script reload <name> reload one (or unload it, if its file has gone)
/fkdr script easy open easy mode, the block editor
/fkdr script info <name> metadata, settings, events, HUD entries, commands
/fkdr script on|off <name>
/fkdr script errors the last error for each script
/fkdr script folder print (and open) the scripts folder
/fkdr script new <name> write a starter script and load it
/fkdr script hooks which script features are working on your client
/fkdr <name> [args] a command a script registered
/fkdr script debug [on|off] makes chat.debug print
/fkdr script compiled [on|off] a faster mode for heavy scripts
/fkdr script extensions [on|off] load .jar extensions. Off by default, NOT sandboxed
Script host switches¶
There is no Scripts module. A script runs when that script is switched on, and these three commands are the script host's settings. With no on/off a command prints the current value.
| switch | |
|---|---|
debug |
makes chat.debug print |
compiled |
a faster mode for heavy scripts; goes back to normal by itself if it fails |
extensions |
load .jar extensions on the next start. Off by default, not sandboxed. |
They are kept for next time. Reload and Folder are buttons on Scripts → Installed.
Global bindings¶
| binding | purpose |
|---|---|
script, scriptName |
metadata, script.openFolder() |
events |
subscribe, priorities, cancel |
settings |
declared settings |
hud |
HUD elements |
commands |
/fkdr <name> commands |
chat, log, notify, print |
output |
render |
2D and 3D drawing |
fkdr |
threat, stats, tags, party, teams |
player, world |
the player and the world |
modules |
built-in modules |
storage, bridge, http, json |
persistence and the web |
schedule, scheduleTicks, cancel, keybinds, util, require |
timers, keys, helpers |
providers |
nametag and tab-list suffixes |