Xonotic Forums
[RESOLVED] How to make people admin? - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Server Administration (https://forums.xonotic.org/forumdisplay.php?fid=16)
+--- Thread: [RESOLVED] How to make people admin? (/showthread.php?tid=6169)



[RESOLVED] How to make people admin? - Beagle - 04-29-2016

How do I make people admin or make them not admin.


RE: How to make people admin? - BuddyFriendGuy - 04-29-2016

Ah, just got your PM.

Admins are those who know your password. You can have two levels of admins:

Those who know rcon_password can run any command.

Those who know rcon_restricted can run anything listed under "rcon_restricted_commands".


RE: How to make people admin? - Beagle - 04-30-2016

So to make a rcon password you use rcon_password and type the password? And to login you use rcon?


RE: How to make people admin? - BuddyFriendGuy - 04-30-2016

Yes. In your server.cfg (or whatever config file you use on your server):

Code:
rcon_password "abcde"
rcon_restrcited_password "12345"
rcon_restricted_commands "endmatch restart"

Then in your client console, you can type:

Code:
rcon_password "12345"
rcon restart

Notice it's the restricted password, so you can only execute those two assigned commands. If you use the other password, you can run any command.


RE: How to make people admin? - Beagle - 04-30-2016

Ohh thanks BuddyFriendGuy Smile


RE: How to make people admin? - Beagle - 04-30-2016

And how to make people not admin anymore? Last thing.


RE: How to make people admin? - SPLAT - 05-01-2016

(04-30-2016, 11:58 PM)Beagle Wrote: And how to make people not admin anymore? Last thing.

Change the password


RE: How to make people admin? - Beagle - 05-01-2016

Alright thanks SPLAT.


RE: [SOLVED] How to make people admin? - It'sMe - 05-02-2016

rcon also allows different user password
like
Code:
rcon_password "user1:pass1 user2:pass2"
rcon_resctricted_password "user3:pass3 user4:pass4"


This means you can setup passwords per user (rcon) and remove their account if required.
This way you do not have to redistribute the new password everytime you change it.
Furthermore there is the option of master accounts via "sv_vote_master_password"

Code:
sv_vote_master_password pass10
// and clientside
vlogin pass10
vdo endmatch

While rcon commands are hidden the commands executed by master are visible

Code:
* Beagle logged in as master
* Beagle used their master status to do "endmatch".



RE: [SOLVED] How to make people admin? - Beagle - 05-02-2016

Thanks.