Every command name can be changed in shared/config.lua. These are the defaults.
Commands
| Command | Who | What it does |
|---|---|---|
/logout | Staff (group.admin) | Sends you back to the character selection |
/logoutplayer [id] | Staff (group.admin) and server console | Sends another player back to the character selection. id is the server ID of the player |
/mcadmin | Staff (group.admin and the permission in admin.permission) | Opens the admin panel, in game and in the character selection |
/partnerinvite [target] [type] | Everyone | Invites a nearby player to appear with you in the selection. target is their server ID. type is cp (couple) or bff (best friend) |
/forcepartner [citizenid] [type] | Staff (group.admin) | Sets your partner by citizenid, without an invitation. Same type values |
/estatura | Minor characters with growth enabled by staff | Opens the height panel. The name is set in family.growthCommand |
/partnerinvite needs the other player within 10 metres, and they have 60 seconds to answer. A player can send 3 invitations per minute. The three values are in the partner block of the config. With partner.enabled = false, /partnerinvite and /forcepartner do not exist.
Optional command
vehicles.spotCommand is disabled by default. Give it a name and the command copies your current position as a vec4 to the clipboard. It is meant for filling data/vehicle_locations.lua.
vehicles = {
enabled = true,
resource = "cuxial_garages",
spotCommand = "mcspot",
},Keys
Cuxial Multichar registers no key bindings.
Permissions
Staff commands use the restricted field of each command. It is an ACE group, checked by ox_lib. The permission of /forcepartner is in partner.commands.force.
commands = {
logout = { name = "logout", restricted = "group.admin" },
logoutPlayer = { name = "logoutplayer", restricted = "group.admin" },
},To give a player that group:
add_principal identifier.license:xxxxxxxxxxxxxxxx group.adminSet restricted = false to open a command to every player.
The exports that approve minor characters do not check permissions. The resource that calls them must do it. See Exports & events.
