General > Developers Corner
Table of perms
dankpepe:
Is there a way to create a table of the permissions of an entire ulx group that will update automatically?
JamminR:
https://forums.ulyssesmod.net/index.php/topic,9359.msg47878.html#msg47878
ULib updates this UCL automatically on it's own any time a parameter changes.
Unsure what else you mean.
dankpepe:
I have a script that changes your user group to user and gives you the permissions you had based on your rank because I made a few tables of all the permissions. Is there any way I can call a table of the permissions a group has, to assign to an individual player without creating an entirely new which inherits from the group they were in?
roastchicken:
--- Quote from: dankpepe on May 24, 2016, 08:42:38 PM ---I have a script that changes your user group to user and gives you the permissions you had based on your rank because I made a few tables of all the permissions. Is there any way I can call a table of the permissions a group has, to assign to an individual player without creating an entirely new which inherits from the group they were in?
--- End quote ---
The only thing I can ask is why?
You're completely undermining the entire point of the permission system. The whole point of groups is so you don't have to assign permissions to people individually, and can instead assign them to groups.
dankpepe:
I made an undercover addon and I want it to be able to give permissions to players when they use it. I know the perms are saved in data/ulib/groups.txt, but I was wondering if I could somehow give that table of permissions to a player. How I have it now is I have a table of perms for a specific server, but this won't be helpful on any other server.
Navigation
[0] Message Index
[#] Next page
Go to full version