ScriptingCommand reference¶
/bitchos script list scripts, with state and error
/bitchos script reload rescan the folder, reload everything, retire what has gone
/bitchos script reload <name> reload one (or unload it, if its file has gone)
/bitchos script info <name> metadata, settings, events, HUD entries, commands
/bitchos script on|off <name>
/bitchos script errors the last error for each script
/bitchos script folder print (and open) the scripts folder
/bitchos script new <name> write a starter script and load it
/bitchos script hooks which host call sites are actually live
/bitchos <name> [args] a command a script registered
The Scripts module¶
Found in the menu under Scripts.
| setting | |
|---|---|
Debug |
makes chat.debug print |
Compiled |
Rhino's compiling mode; falls back on its own if it fails |
AllowExtensions |
load .jar extensions. Off by default, not sandboxed. |
Reload |
rescan and reload |
OpenFolder |
open the scripts folder |
Switching the Scripts module off stops every script without unloading them.
Global bindings at a glance¶
| binding | purpose |
|---|---|
script, scriptName |
metadata, script.openFolder() |
events |
subscribe, priorities, cancel |
settings |
declared settings |
hud |
HUD elements |
commands |
/bitchos <name> commands |
chat, log, notify, print |
output |
render |
2D and 3D drawing |
bitchos |
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 |