Admins - cyrillePrigent/uMod GitHub Wiki

Description

Administrator management.

Additional command

Work in players console and server console :

!admins : Display all current admins.

/ma [message]

/pma [message]

/msga [message] : Send a private message to admins.

!setlevel [partname/id#] [level] : Set a admin level to player.

  • [partname/id#] => Partial name (3+ characters required) or slot number.

  • [level] => Administrator level to set.

NOTE : If you use level = 0, you remove administrator rights.

Server configuration

NOTE : Please change the default value of this two cvar or you can't use admins module !!!

Set cvar name used by client setu command.

set u_password_client_cvar "my_server_password"

Set the admin password used by client setu command with u_password_client_cvar value.

set u_admin_password "my_admin_password"

Client configuration

Admins must define admin password in his config file.

Exemple :

setu my_server_password "my_admin_password"

Add first administrator

  1. You can use server console with !setlevel command.

  2. You can add it directly in shrubbot.cfg file.

exemple :

5 - 8AE9615E8C6191C83C85ECD25B34E5A4 - playername