Expand description
ยงImplementing new commands.
To implement a new command provide a handler function in do_command.
Enumsยง
- KitEntry ๐
Traitsยง
Functionsยง
- area ๐
- ban_
end_ ๐date - build_
buff ๐ - can_
send_ ๐message - cast_
buff ๐ - clear_
skillset ๐ - do_
command ๐ - edit_
banlist_ ๐feedback - edit_
setting_ ๐error_ feedback - edit_
setting_ ๐feedback - find_
alias ๐ - find_
username ๐ - find_
uuid ๐ - get_
areas_ ๐mut - get_
entity_ ๐target - handle_
adminify ๐ - handle_
alias ๐ - handle_
area_ ๐add - handle_
area_ ๐list - handle_
area_ ๐remove - handle_
aura ๐ - handle_
ban ๐ - handle_
ban_ ๐ip - handle_
battlemode ๐ - handle_
battlemode_ ๐force - handle_
body ๐ - handle_
buff ๐ - handle_
build ๐ - handle_
clear_ ๐persisted_ terrain - handle_
create_ ๐location - handle_
death_ ๐effect - handle_
debug_ ๐column - handle_
debug_ ๐ways - handle_
delete_ ๐location - handle_
destroy_ ๐tethers - handle_
disconnect_ ๐all_ players - handle_
dismount ๐ - handle_
drop_ ๐all - handle_
explosion ๐ - handle_
faction ๐ - handle_
give_ ๐item - handle_
goto ๐ - handle_
group ๐ - handle_
group_ ๐invite - handle_
group_ ๐kick - handle_
group_ ๐leave - handle_
group_ ๐promote - handle_
health ๐ - handle_
into_ ๐npc - handle_
join_ ๐faction - handle_
jump ๐ - handle_
kick ๐ - handle_
kill ๐ - handle_
kill_ ๐npcs - handle_
kit ๐ - handle_
lantern ๐ - handle_
light ๐ - handle_
lightning ๐ - handle_
location ๐ - handle_
make_ ๐block - handle_
make_ ๐npc - handle_
make_ ๐sprite - handle_
make_ ๐volume - handle_
motd ๐ - handle_
mount ๐ - handle_
object ๐ - handle_
outcome ๐ - handle_
permit_ ๐build - handle_
players ๐ - handle_
region ๐ - handle_
reload_ ๐chunks - handle_
remove_ ๐lights - handle_
repair_ ๐equipment - handle_
reset_ ๐recipes - handle_
respawn ๐ - handle_
revoke_ ๐build - handle_
revoke_ ๐build_ all - handle_
rtsim_ ๐chunk - handle_
rtsim_ ๐info - handle_
rtsim_ ๐npc - handle_
rtsim_ ๐purge - handle_
rtsim_ ๐tp - handle_
safezone ๐ - handle_
say ๐ - handle_
scale ๐ - handle_
server_ ๐physics - handle_
set_ ๐motd - handle_
site ๐ - TODO: Add autocompletion if possible (might require modifying enum to handle dynamic values).
- handle_
skill_ ๐point - handle_
skill_ ๐preset - handle_
spawn ๐ - handle_
spawn_ ๐airship - handle_
spawn_ ๐campfire - handle_
spawn_ ๐portal - handle_
spawn_ ๐ship - handle_
spawn_ ๐training_ dummy - handle_
spawn_ ๐wiring - handle_
spot ๐ - handle_
sudo ๐ - handle_
tell ๐ - handle_
tether ๐ - handle_
time ๐ - handle_
time_ ๐scale - handle_
tp ๐ - handle_
unban ๐ - handle_
unban_ ๐ip - handle_
version ๐ - handle_
waypoint ๐ - handle_
weather_ ๐zone - handle_
whitelist ๐ - handle_
world ๐ - insert_
or_ ๐replace_ component - kick_
player ๐ - make_
ban_ ๐info - no_sudo ๐
- parse_
alignment ๐ - parse_
buffkind ๐ - parse_
skill_ ๐tree - position ๐
- push_
item ๐ - push_
kit ๐ - real_
role ๐ - reload_
chunks_ ๐inner - set_
skills ๐ - socket_
addr ๐ - uid ๐
- uuid ๐
- uuid_
to_ ๐username - NOTE: Intended to be run only on logged-in clients.
- verify_
above_ ๐role - Ensure that client role is above target role, for the purpose of performing some (often permanent) administrative action on the target. Note that this function is not a replacement for actually verifying that the client should be able to execute the command at all, which still needs to be rechecked, nor does it guarantee that either the client or the target actually have an entry in the admin settings file.
Type Aliasesยง
- CmdResult ๐
- Command
Handler ๐ - Handler function called when the command is executed.