Preset Commands

Allows you to set commands to be run on world load


3 Likes

1582 Downloads
banner for the Preset Commands mod

Details

Adds 6 commands:

  • addcommand {command} adds {command} to the list of commands for the current save
  • removecommand {slotnumber} removes the command stored in {slotnumber} from the list of commands for the current save
  • listcommands lists all commands and their slot numbers for the current save
  • addglobalcommand {command} adds {command} to the list of commands for the global command settings
  • removeglobalcommand {slotnumber} removes the command stored in {slotnumber} from the list of commands for the global command settings
  • listglobalcommands lists all commands and their slot numbers for the global command settings

Behaviour Notes:

  • the global command settings are run before the individual save command settings
  • global settings are saved when changed
  • individual save settings are saved with world (i.e. only saves when the world saves and restored with loading a backup)

Multiplayer

This mod is unaffected by multiplayer

Loading the mod

This mod should be loadable and unloadable at any time

Description last changed on 2024-03-07