pKeys - Privilege Keys in Garry’s Mod
This addon was originally for a ScriptFodder job but the person who posted the job isn’t interested any more so I thought I’d release this here.
If you’ve ever used Teamspeak you’ll know you can redeem a rank by typing in a privilege key, which is just a long string of text. This means people can get their ranks without admins being online, they can just send them the key and they can redeem their rank whenever.
How to use:
Type !pk and it’ll show you the menu to either redeem, or if you’re one of the ranks in the config file, it’ll show you the menu to generate the keys.
NOTE: This only is currently setup to use ULX.
The config file is located at:
The code is fairly well commented so it should be easy to understand, keys are saved to data/pkeys. The name of the txt file is the privilege key and inside is the rank it’ll give.