Author Topic: How do u setup auto admin?  (Read 1569 times)

How do I make it to where when certain people join my server, it will automatically add them as a admin or super admin.

Also, how can I make new groups, like if instead of admin they were sponsers that let them in a special room?

Blockland comes with two user groups, Admin and Super Admin. There isn't default functionality for adding or removing them inside the game for whatever reason but you can do it manually.

Go to config/server/prefs.cs and add the player's BLIDs inside the ""s of the $Pref::Server::AutoAdminList of people's BLIDs you want to be admin.

Example: $pref::Server::AutoAdminList = "2143 2144";

As for more groups, that requires you doing it manually. You can take a look at the moderator script for an idea on how to do this.



But how do you add 2 people to the list?

I don't know what Crown is smoking but here is a way easier way.
Download RTB if you haven't already:
http://forum.blockland.us/index.php?topic=251421.0
And place it in your addons folder

Then start your server and open your admin menu (ctrl + A)
There should be a button called "Server preferences"
Pressing it should open a window with 3 tabs, one should be called "Admin".

The person you want to make auto admin must be in the server so you can select them on the left.
Pressing "Admin" or "Super Admin" will make them Admin or SA just once.
You need the "<< Add <<" button and then select whether you want them to be Admin or Super Admin

If for some reason RTB doesn't work, (which I've seen in some cases), and you want to add something to the list, you do $Pref::Server::AutoAdminList = $Pref::Server::AutoAdminList SPC "new blid here"; or, for adding someone to the auto super admin list, $Pref::Server::AutoSuperAdminList = $Pref::Server::AutoSuperAdminList SPC "new blid here"; . Both of these $Prefs should be typed into the console by pressing the tilde button (the button above the tab key ~ or `).

But how do you add 2 people to the list?

Put a space between them.