Skip to content

Commands and Permissions ​

The main command for EmakiCooking is /ecooking, alias /ec. All commands and permission nodes are listed below, along with the command to run first when a station (the block you cook with) goes wrong. Admins use it to reload station configuration, check the source of a held item or target block, rebuild the station index, and view runtime debug output

Command list ​

CommandPermissionDescription
/ec helpemakicooking.useShow help
/ec reloademakicooking.reload or emakicooking.adminReload config, language, stations, recipes, GUI, and item adjustments
/ec inspect handemakicooking.inspect, emakicooking.use, or emakicooking.adminInspect the held item source and cooking match status
/ec inspect blockemakicooking.inspect, emakicooking.use, or emakicooking.adminInspect the target block within 6 blocks for station type, block state, TileState, PDC/YAML backend, and index status
/ec station reindexemakicooking.adminRebuild the station coordinate index from legacy YAML and currently loaded PDC stations
/ec convert-legacy [confirm]emakicooking.adminMigrates old flat matcher keys to sibling item_sources + matcher fields or nested role nodes; fermentation-barrel inputs[] retains its legacy key for persisted slot-identity compatibility. Without an argument it performs a dry run; confirm (or --apply) writes files and keeps a backup
/ec debug [status|on|off|player <player>|module <module>]emakicooking.debug or emakicooking.adminOutput runtime debug information, see the subcommands below

Running /ec with no arguments is equivalent to /ec help; both print the help. An unrecognized subcommand reports general.unknown_command

Nutrition commands ​

/ec nutrition queries and manages player nutrition values. See Nutrition System for the gameplay

CommandPermissionDescription
/ec nutrition get [player] [type]emakicooking.nutrition.use, emakicooking.nutrition.admin, or emakicooking.adminQuery nutrition values. Without a type it lists value / max for all types; with a type it returns the current value. The player can be omitted (defaults to self; the console must specify one)
/ec nutrition set <player> <type> <value>emakicooking.nutrition.admin or emakicooking.adminSet a player's nutrition value for a type
/ec nutrition add <player> <type> <value>emakicooking.nutrition.admin or emakicooking.adminAdd to a player's nutrition value for a type
/ec nutrition remove <player> <type> <value>emakicooking.nutrition.admin or emakicooking.adminSubtract from a player's nutrition value for a type
  • set, add, and remove require all four arguments, the target player must be online, and the written value is clamped to the type's min~max
  • When the nutrition system is disabled, nutrition commands report that it is disabled

Base permissions ​

PermissionDefaultDescription
emakicooking.usetrueBasic usage permission
emakicooking.reloadopReload configuration
emakicooking.inspectopInspect items or stations
emakicooking.adminopAdmin permission
emakicooking.debugopDebug permission

Station permissions ​

PermissionDefaultDescription
emakicooking.station.chopping_board.usetrueUse the chopping board
emakicooking.station.chopping_board.cuttruePerform cutting
emakicooking.station.wok.usetrueUse the wok
emakicooking.station.wok.stirtrueStir fry
emakicooking.station.wok.servetrueServe from wok
emakicooking.station.grinder.usetrueUse the grinder
emakicooking.station.steamer.usetrueUse the steamer
emakicooking.station.steamer.fueltrueAdd fuel to steamer
emakicooking.station.steamer.moisturetrueAdd moisture to steamer
emakicooking.station.oven.usetrueUse the oven
emakicooking.station.oven.fueltrueAdd fuel to oven
emakicooking.station.juicer.usetrueUse the juicer
emakicooking.station.juicer.presstruePress ingredients
emakicooking.station.juicer.collecttrueCollect juice
emakicooking.station.fermentation_barrel.usetrueUse the fermentation barrel
emakicooking.station.fermentation_barrel.starttrueStart fermentation
emakicooking.station.fermentation_barrel.collecttrueCollect fermentation result

Nutrition permissions ​

PermissionDefaultDescription
emakicooking.nutrition.usetrueQuery your own nutrition values (/ec nutrition get)
emakicooking.nutrition.adminopSet, add, or remove any player's nutrition values

NOTE

emakicooking.admin overrides all nutrition operations

Which command to run first ​

SituationRun firstPurpose
Changed stations, recipes, GUI, or language/ec reloadReload the Cooking runtime configuration
Materials, fuel, or containers do not match/ec inspect handSee which item source the held item resolves to
Station block, PDC backend, or index looks wrong/ec inspect blockSee whether the target block is a TileState, the active backend, PDC/YAML state, and the index record
Migrated old YAML, replaced blocks, or stations are missing after restart/ec station reindexRebuild the data/stations/index/<world>.idx coordinate index
Station listener or display misbehaves/ec debugInspect runtime state and debug output

Common operations ​

Inspect held item ​

text
/ec inspect hand

Use this to confirm whether the held item is recognized as a recipe input, container, fuel, tool, or station block; run it first when tracing custom item sources

Inspect target station block ​

text
/ec inspect block

Use this to inspect the target block within 6 blocks for station type, item source, block_state, tile_state, storage_backend, pdc_state, indexed, index_backend, and legacy_yaml. On servers with many stations, this confirms whether the anchor uses BLOCK_PDC and avoids standalone YAML-file IO

Rebuild station coordinate index ​

text
/ec station reindex

Use this to scan legacy YAML states and currently loaded PDC stations, rebuilding data/stations/index/<world>.idx. Run it first after migrating old data, replacing block entities, or seeing stations fail to restore on ChunkLoad

Reload cooking configuration ​

text
/ec reload

After reloading, check console output. If new station blocks, GUI, or recipe directories were added, verify state persistence and interaction flow on a test server first

Debug runtime state ​

text
/ec debug
/ec debug status
/ec debug on
/ec debug off
/ec debug player <player>
/ec debug module <module>
SubcommandDescription
no argument / statusPrint the current debug switch, tracked players, and enabled modules
on / offEnable or disable debug output globally
player <player>Toggle tracking for that online player; omitting the name lists the available modules
module <module>Toggle debug output for a single module. Modules available in EmakiCooking: recipe, stir, display, station, pdc (plus the shared CoreLib modules)

An unrecognized subcommand falls back to printing the status. Useful for troubleshooting station listeners, display entities, recipe matching, and persistence state

Troubleshooting ​

  • Station not working: check block source, station permissions, and interaction type
  • Station state/backend unclear: run /ec inspect block and check tile_state, storage_backend, pdc_state, indexed, and legacy_yaml
  • Station missing after restart or chunk load: run /ec station reindex, then check console for lost_block_entity_replaced or mismatch reports
  • Materials cannot be placed: check input_rules.only_recipe_items, recipe directory, and item source
  • Juicer cannot collect: check fluid capacity vs container serving_ml, and confirm emakicooking.station.juicer.collect permission
  • Fermentation barrel cannot start: check input matches recipe and start permission
  • Oven not progressing: check heat is within recipe range and fuel is effective