mux.world.access

mux.world.access is an immutable namespace of typed Access constants. Use these values for the optional access field in Lua command entries; raw strings are rejected.

ConstantAllowed invokers
PUBLICEveryone. This is the default when access is omitted.
WIZARDWizards and God.
GODGod only.

Constants compare by access identity and stringify to the displayed uppercase name. Unknown lookups and attempts to modify a constant or the namespace raise mux.access.invalid.

return {
  commands = {
    {
      pattern = "^rebuild$",
      access = mux.world.access.WIZARD,
      handler = rebuild,
    },
  },
}