SixM
Single player ↗

Administrators

Each player's testigo, the admin line in servidor.cfg and what an administrator can do.

The testigo

Every PC with SixM has a testigo (witness: your PC's identity token): 16 hexadecimal digits that identify it on every server (it is in the identity file, in SixM's datos\ folder). To find out yours, join any server and type in the chat:

/yo

It answers with your number on that server and your testigo, for example Tu id es #3 y tu testigo 0123456789abcdef.

Making someone an administrator

One admin line per person in servidor.cfg (or in the panel's wizard, the first time):

admin 0123456789abcdef
admin fedcba9876543210

Restart the server from the panel so it reads them. Resources know who is an administrator through sixm.jugador(id).admin (and the role, through the es_admin(id) export).

What an administrator can do

  • Use ScriptHook VI and their mods even if the server doesn't allow them (permitir_mods), with its menu.
  • The administrator commands of the bundled resources:
CommandResourceWhat it does
/dar_dinero <id> <cantidad> [efectivo|banco] (/give_money)sixm-rpgives money to a player
/trabajo <id> <trabajo> [rango] (/job)sixm-rpsets a job and rank; the job is its internal id (parado, policia, medico, mecanico, taxista) and the rank a number, 1 being the lowest
/dar_objeto <id> <objeto> [cantidad] (/give_item)sixm-rpgives an item
/tienda_aqui <tipo> [nombre] (/shop_here)tiendasplaces a store where you are standing
/tienda_quitar (/shop_remove)tiendasremoves the nearest store you placed (10 m)
/npc_aqui [quieto|pasea] [0xmodelo] [nombre] (/npc_here)npcsplaces an NPC where you are standing
/npc_quitar (/npc_remove)npcsremoves the nearest NPC (5 m)
/anuncio <texto> (/announce)anunciosannouncement on everyone's screen

sixm-rp also accepts testigos in the admins list of its config.lua: they grant roleplay permissions, but not the mod ones.

Two test commands of vaciar, /guiones (/scripts) and /parar (/stopscript), do not check permissions: while pruebas = true in its config.lua (the default) any player can use them. Set it to false on a server that is open to the public.

From the panel

Owners manage the server from the web panel with its password: kicking players, restarting resources and changing servidor.cfg. The panel password has nothing to do with the in-game administrators: give it only to whoever runs the server.