Skip to content

Commands Reference

All FoundryEngine commands are under /engine. Permission levels: Any (no perms needed), Gamemaster, Admin (OP).

cutscene

CommandPermissionWhat it does
listGamemasterList cutscenes in this dimension
add <name>GamemasterCreate a cutscene at your position
remove <name>GamemasterRemove a cutscene
play <player> <name> [length] [easing] [holdStart] [holdEnd]GamemasterPlay a cutscene
cancel <player>GamemasterCancel a playing cutscene
linearize <name>GamemasterMake a 2-node cutscene a straight line
resetAll confirmGamemasterRemove all cutscenes

waypoint

CommandPermissionWhat it does
add <pos> <name> [icon] [color]GamemasterAdd a waypoint
remove <pos>GamemasterRemove waypoint at position
clearGamemasterClear all waypoints
listGamemasterList all waypoints

stage

CommandPermissionWhat it does
<targets> add <stage>AdminAdd a stage to players
<targets> remove <stage>AdminRemove a stage
<targets> clearAdminClear all stages
<targets> listAnyList player's stages

screeneffect

/engine screeneffect <players> <effect> <intro> <hold> [outro] [easing] [command]

Effects: black, circle, star, cinematic

reload

/engine reload

Permission: Admin. Reloads all bundles (calls onUnload(), then re-discovers everything).

hand

/engine hand

Permission: Any. Shows info about the held item (registry name, NBT, components).

eval

/engine eval <code>

Permission: Configurable. Run Groovy code inline:

/engine eval println "Hello!"
/engine eval Common.getGameStageHandler().addStage(player, "test")

dump

SubcommandPermissionWhat it does
allAdminDump all registries as markdown
registry <name>AdminDump a specific registry

test

SubcommandPermissionWhat it does
display block|item|text|all|killAdminTest display entities
world open <name> <true|false>AdminCreate a test world
world delete|unload <name>AdminDelete or unload a world
fake spawnAdminSpawn a test mannequin

Next

FoundryEngine is a work-in-progress. Documentation may change.