Author Topic: Make someone Admin  (Read 897 times)

Does anyone knows how to make another player Admin or SuperAdmin with a preferences add on if im not wrong. but IDK where is it......


It's part of RTB
Not really. RTB just makes it easier to do so.

Either type one (or both) of these lines in the console or edit config/server/prefs.cs directly:
$Pref::Server::AutoAdminList = "blid1 blid2 blid3";
$Pref::Server::AutoSuperAdminList = "blid1 blid2 blid3";


Replace blid# with the BL_IDs of the people you want to admin and remove the extra ones.
The list is space separated.

For example:
$Pref::Server::AutoAdminList = "123 456 1337 12345";

No-edit: The pref takes effect after who you added to the list rejoins the server, or after restarting.

Also please note that editing config/server/prefs.cs while running the server does nothing.
You'll have to edit it when the server is not running.

Not really. RTB just makes it easier to do so.
preferences add on
that would be a preferences addon, like he's asking



on the topic of not using an addon, though

if you want to add to the list instead of resetting it each time, and want to add somebody like me to admins
$pref::server::autoadminlist = $pref::server::autoadminlist SPC "6887";

...or you could just get this:

http://forum.blockland.us/index.php?topic=251400.0

and get server prefences letting you do all of this without console commands.

Thank you very much :)


$Pref::Server::AutoAdminList = "123 456 1337 12345";
im so spooked

that would be a preferences addon, like he's asking
Oh, I did not see that.

-snip-
That, instead of adding an admin, it will directly set the ids input to the admin list. This command will add the BLID you put to SA / A:

Code: [Select]
$Pref::Server::AutoAdminList = $Pref::Server::AutoAdminList SPC IDHERE;
Code: [Select]
$Pref::Server::AutoSuperAdminList = $Pref::Server::AutoSuperAdminList SPC IDHERE;