Wiki 9Minecraft Compact Machines Wiki
Compact Machines Wiki › Configuration

Compact Machines — Configuration

Commands & Game Rules

Everything administrative lives under the /compactmachines command family (operator level unless noted):

  • /compactmachines tp <room> / /compactmachines tp <player> <room> - teleport yourself (or another player) straight into a room by its room code.
  • /compactmachines give new <template> / /compactmachines give existing <room> - hand out a machine block: either bound to a brand-new room made from a template, or bound to an existing room by code. Both forms also accept a target player: /compactmachines give <player> new <template>.
  • /compactmachines rooms summary - an overview of all registered rooms.
  • /compactmachines rooms find chunk|connected_to|player ... - look up rooms by chunk position, by connected machine, or by which player is inside.
  • /compactmachines unbind <pos> - detach the machine block at a position from its room (the room itself is kept).
  • /compactmachines rebind <pos> <room> - bind the machine block at a position to an existing room code.
  • /compactmachines eject - leave the room you are in without a PSD (escape hatch).
  • /compactmachines upgrades ... - manage per-room upgrades.
  • /compactmachines enable_basic_templates - enable the built-in room-template pack on a world that has none (restart afterwards; see Room Templates & Sizes).

Game rules

The mod registers its own namespaced game rules, set with the vanilla /gamerule command:

  • compactmachines:allow_survival_oob (default false) - whether survival players may move out of a room's bounds.
  • compactmachines:allow_creative_oob (default true) - the same for creative players.
  • compactmachines:allow_spectator_oob (default true) - the same for spectators.
  • compactmachines:damage_oob (default true) - damage players who end up out of bounds.
  • compactmachines:damage_psd_on_exit (default false) - consume PSD durability when leaving a room.

Example: /gamerule compactmachines:allow_survival_oob true