Garry's Mod

Garry's Mod

Not enough ratings
🥝 kGroups | ULX Secondary Groups
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
7.147 KB
18 Jan, 2021 @ 5:41am
24 Jan, 2021 @ 11:25am
2 Change Notes ( view )

Subscribe to download
🥝 kGroups | ULX Secondary Groups

Description


📣 Hello! Thanks for checking out my addon! I'll be recoding this soon to be released some time early February! Feel free to use this one for now! I'll let you know when the new one is out.



⭐ What is the purpose of this addon?
This addon adds the ability to have secondary donator ranks for a user who already has another rank. This can be used to restrict certain jobs and certain entities. For example, I could have admin rank, but I also have the secondary rank of VIP, so I can become my donator job, and other admins who haven't donated cannot.

⭐ How do I restrict a job/entity?
Simply add “donatorLevel = X” into your jobs.lua or entities.lua for each required job/entity. Replace X with the rank number from the config.

kGroups.Ranks = { [1] = "Level 1", [2] = "Level 2", [3] = "Level 3", [4] = "Level 4", [5] = "Level 5", }

if I didn't want it to be restricted, I just wouldn't add anything. However, if I wanted to restrict my thief job to Level 1, I'd add "donatorLevel = 1". For example:

TEAM_THIEF = DarkRP.createJob("Thief", { color = Color(0, 0, 0, 255), model = "models/player/robber.mdl", description = [[You are a thief, rob people, lockpick their house and steal their plants and legal printers.]], weapons = {"lockpick"}, command = "thief", max = 2, salary = 65, admin = 0, vote = false, hasLicense = false, category = "Citizens", donatorLevel = 1 })

⭐ How do I add my own ranks?
Download your own copy and just increment the number and add a display name! Always remember your commas. Add as many ranks as you like! For example:

kGroups.Ranks = { [1] = "VIP", [2] = "VIP+", [3] = "MVP", [4] = "MVP+", [5] = "GOD", [6] = "SUPERGOD", }

⭐ How do I assign it through a donation system?
Make the console run the command in the following format: setdonator steamid32here ranknumberhere Therefore, for Prometheus, runfollowing: setdonator {steamid} ranknumberhere

📣 Help! I've done something wrong!
No worries! Feel free to add me on Steam or Discord (Kieraann#0001) and I'll be happy to help.



🎊 This addon had been abandoned back in 2014. I have updated and optimized the code and plan on keeping this updated. Feel free to keep track of the progress here![trello.com]


4 Comments
syze 1 Feb, 2024 @ 2:16pm 
So my admin can be VIP TO

They will get 2 rank like admin + vip ?
Foxy Hosting 1 Aug, 2021 @ 6:42am 
You should put it on github for easier download, but so far i love it!
kieraann  [author] 18 Jan, 2021 @ 10:56am 
Sorry kind sir, please forgive.
lester 18 Jan, 2021 @ 10:17am 
help dont delete
:steamsad: