in what permission group does all the new players get into? Im really confused about this permission part. do I need to sit and put all new members into a group one by one or is it doable by automatic when someone join the server?
Solved New members permission group?
Discussion in 'Rust Discussion' started by Deeplyfried, Nov 12, 2015.
-
Wulf Community Admin
The default group is 'player' for Rust. All new players are added to it.
-
ah okey, thank you, helps alot
-
u can add more like so:
void Loaded()
{
permission.RegisterPermission("FakeAdmin", this);
}
then use them later on:
[ChatCommand("kick")]
void KickPlayer(BasePlayer player, string command, string[] args)
{
if (permission.UserHasPermission(player.UserIDString, "FakeAdmin"))
{
//Do Something here user has permissions
} else SendReply(player, "You don't have kick permissions!");
} -
I see, could come to handy thank you, like the really quick replies
-
Wulf Community Admin
-
oh misread the title my bad