Hey there,
its possible to read the cfg/user.cfg or easier: list all admins (ownerids) from a server?
Reading users.cfg / getting list of admin IDs?
Discussion in 'Rust Development' started by Sir BenSon, Jan 9, 2017.
-
Wulf Community Admin
You can loop through the BasePlayer.activePlayerList and check if player.IsAdmin().
-
or if you wanna get them all just in one move.
Code:var admins = ServerUsers.GetAll(ServerUsers.UserGroup.Owner);
-
Wulf Community Admin