BeRtRoLlT
Civil Servant Zombie
Civil Servant Zombie
Posts: 12
Joined: Sat Sep 10, 2016 12:10 am

Question about IRocketPermissionsPrivider GetPermissions

Thu Jan 05, 2017 12:26 am

Hey

I have some questions about:

public List<Rocket.API.Serialisation.Permission> GetPermissions(IRocketPlayer player, List<string> requestedPermissions)
{

return new List<Rocket.API.Serialisation.Permission>();
}

My first question is where do the strings in requestedPermissions come from? Like when i try /tpa send wich also asks for UnturnedPlayer.HasPermission("tpa.send") the content of the requestedPermissions list is just twice "tpa".

And my second question is what happens with the permissions in the returned List<Permission> ?


Thanks for your help
BeRtRoLlT
0 x

Return to “General Plugin Discussion”

Who is online

Users browsing this forum: Unturned1337Gaming and 2 guests

Advertisement