Skip to Content
ModulesServers and privileges

Server privileges

The GiveCore module: one privilege for the player and its own group on every server. The site delivers it through the Flute plugin, RCON, an admin plugin database or a list by link, and removes it when the term ends.

You set a privilege up once: VIP, Premium, an admin rank. Each server gets its own group for it, such as vip:gold on CS2 and vip in LuckPerms on Minecraft. The site sends the group to the server, keeps the term and removes the group when the term ends or the privilege is revoked.

Players see privileges on the /privileges page ("Privilege holders", with a menu item), on the "Privileges" profile tab and under "My privileges" in the in-game menu. Studio gets a "Privilege holders" block. In the admin panel, servers and player cards get a "Privileges" tab. That is the default name, and "Name of the section" changes it everywhere, for example to "Donate".

The privilege catalogue and the Delivery to servers table
DependenciesGamesPermissionsStudio blocksBot commandsCron tasks
Flute 2.0, the Rewards module; optionally Shop and Migrationservers with the GameLink plugin (CS2, Source, CS 1.6, GMod, Rust, Minecraft, FiveM, SA-MP); other games through RCON or a plugin database; Squad through a list by linkadmin.givecore and six narrower ones, below"Privilege holders" (givecore.holders)/grant"Privileges: reading the groups of players online", every 10 minutes; "Privileges: reconciling grants with the servers" and "Privileges: reading plugin databases", hourly; "Privileges: clearing stale records", daily; see the scheduler

Install and first setup

Install the module from the marketplace together with Rewards, as described in first steps; every install option is in Installing modules. The "Store" group of the admin menu gains a "Privileges" row with the tabs "Privileges" and "Settings": AdminPrivileges. The page holds the catalogue, the "Still to set up" block and the "Delivery to servers" table. Your servers should already be added. A server that already has a GameLink token gets "Flute plugin" on its own, so there is nothing to pick.

Create a VIP and give it to a player

Example: a CS2 server with the FluteCS2Connect plugin and VIP Core, and a player who should get group gold for 30 days.

Check the delivery method

In "Delivery to servers", click the server's row. In the "Delivery to …" window, pick "Flute plugin" in "How the site passes the privilege to the server"; it is marked "Recommended". Next to it you see "Token set" or "No token", and the token is issued on the server's "Plugins" tab. Tick servers under "Same on other servers" if they need the same method, then click "Save".

The Delivery to … window with delivery methods

Create the privilege

Click "Create a privilege" and enter VIP as the "Name". On the right is the list of servers: type vip:gold in the "What the player gets" column. The vip: prefix sends the group to the VIP plugin, admin: to the admin plugin, and without a prefix it is a group of CounterStrikeSharp itself. If the plugin has reported the server's groups, you can pick one from the list. A server with an empty field never gets this privilege, and "Write one group into every server" fills every row at once.

Click "Create a privilege" under the form. The page confirms that "VIP" is created and says "You can already give it to a player. Add its group on other servers if you need to.". The site makes the "Key" from the name, and it never changes after that.

A privilege with its scheme of servers and groups

Give it to a player

Click "Give to a player", start typing a name or e-mail in "Player" and click "Next". In the form, pick the "Server" and the "Term" (buttons for 7, 30 and 90 days), and leave "Reason" as "Granted by the staff". The button reads "Grant VIP for 30 days". The site asks "Confirm your login to grant the privilege." and answers "The privilege is granted.".

Check it on the server

Open the server in AdminServers and its "Privileges" tab. Under "Groups of privileges", the "Check" column for VIP says "The server has it", and the player appears under "Holders". If the player is offline, the command waits in "Command queue" on the "Plugins" tab. In the game, "My privileges" shows VIP and its term.

The Privileges tab on a server page

The player card does the same: the "Grant a privilege" action and the "Privileges" tab with the "In force", "Granted on the server" and "Past" tables. "Extend" adds the new term to what is left. "Revoke" removes the group from the server at once, and no money goes back to the player.

The Privileges tab in a player card

Staff with admin.givecore.grant can also grant from the bot with /grant and a name in "Player". The bot asks for the privilege, server and term, shows "Grant the privilege?" and after the confirmation answers "The privilege is granted.". The confirmation in the bot stands in for the login confirmation, and the bot takes no more than 30 grants a minute.

To keep VIP and Premium from piling up on one player, open "Ladder and seniority" and give both the same "Ladder", for example vip, with "Seniority" 10 and 20. Premium then replaces VIP, and the form warns that the rest of the VIP term will be lost. A junior privilege cannot go on top of a senior one. How to show buyers the difference between tiers is in Shop.

Selling and rewards

Once a privilege exists, "Sell in the shop" opens a new Shop product with the "Server privilege" reward already chosen, and you only pick the "Privilege" in it. The term comes from the row in "Terms and prices": the privilege lasts as long as the term bought, and "Forever" gives it with no end date. Until such a product exists, "Still to set up" shows "No shop product gives a privilege". "Server privilege" is a regular Rewards reward, so it is offered wherever modules give out rewards, such as cases. Grants from the admin panel and the bot carry the source "Granted by hand". "Renew" on the holders page and in the game leads to the product the shop suggests, otherwise to the address in "Where “Renew” leads".

Delivery through a plugin database or RCON

You do not always need the Flute plugin. The site can write the player into the database of an admin or VIP plugin itself, or send a console command. This is also how a second system runs beside the plugin: click "One more plugin" in the server's window, and the privilege gets a choice in the "Delivered by" column.

Connect the database and pick the method

Open the server, its "Plugins" tab and "Connect a plugin", for example SourceBans++. In the "Delivery to …" window, pick "Admin plugin database" and the same SourceBans++ in "Plugin". The status shows "Database: SourceBans++". For RCON, pick "RCON command" and a ready command in "Plugin that grants the rights".

Enter the group

In the privilege, enter the server group from SourceBans++. For AMX Mod X and Fresh Bans you write access flags instead of a group, for example bt.

GamesDatabase writeRCON command
CS2Iks_Admin, CS2-SimpleAdmin, AdminSystem, VIP Core (R1KO, Pisex), cs2-VIPCore (Fabius), SwiftlyS2 VIPCore, SwiftlyS2 Admins, Custom WeaponsVIP Core, CS2-SimpleAdmin, Iks_Admin, K4-Zenith, VIP Core (R1KO)
CS:GO and CS:SSourceBans++, MaterialAdmin, SourceMod, VIP Core (R1KO, Pisex)VIP Core (R1KO)
CS 1.6AMX Mod X, Fresh Bansnone
Garry's ModxAdminULX
RustnoneOxide / uMod, Carbon
MinecraftnoneLuckPerms, PermissionsEx, GroupManager
UnturnednoneRocketMod, OpenMod
any"Your own database query""Custom command"

Minecraft without the Flute plugin has the "LuckPerms" method: the "LuckPerms API address" and "API key" of the LuckPerms REST API extension. Only an admin with admin.servers writes a custom command or query; everyone else can pick the ready ones. Per game: CS2, Source, CS 1.6, Garry's Mod, Rust, Minecraft.

When the server has a Shop Core, Store (CS2), Zephyrus Store, Economy (SwiftlyS2), PlayerPoints, XConomy or DarkRP database connected, in-game currency from rewards is credited straight into it. The player sees it after rejoining.

Squad and other games that download the list themselves get "List by link". For Squad, pick "Squad: Admins.cfg" in "File format" and put the groups in "Start of the file", for example Group=VIP:reserve. The address appears in "List address for the game" on the server tab. It is derived from the GameLink token, so after "Issue a new one" on the "Plugins" tab the game needs the new address.

Privileges granted on the server

The site reads the groups of players online, and once an hour the VIP Core, cs2-VIPCore, SwiftlyS2 VIPCore, AMX Mod X, LuckPerms and xAdmin databases when they are connected. Groups the site never granted land in "Granted on the server". "Adopt all" on the server tab puts on the site's books those with a known term, a site account and no other privilege of the same ladder, up to a hundred at a time. The rest are adopted one by one with "Adopt" in the player card. When a player links an account, their privileges with a known term are adopted on their own, and they get "A privilege is linked to your account".

What players see

The /privileges page lists holders with the "Player name", "Server" and "Privilege" filters, and a signed-in visitor sees the "My privileges" block with a "Renew" button. "Section address" changes the address, "Who sees the list of holders" sets access. A privilege with "Show to everyone" off stays out of the lists. The profile has a "Privileges" tab and a card on "Overview", and the mark of the senior privilege sits beside the name. Before the term ends the player gets "A privilege is about to end", and a player on the server sees "The privilege is in force until …" in the game.

The Privilege holders page

The "Privilege holders" Studio block shows a short version of the same list: "Heading", "Server", "Privilege" ("Any"), "Order", "Rows" (6, from 1 to 48) and "Show the term", in the "Tiles" or "Rows" view. The block has rows only while "Who sees the list of holders" is set to "Everyone".

Settings

AdminPrivilegesSettings, which needs admin.givecore.catalog and the site settings permission admin.system.

Privileges module settings
FieldWhat it changesDefault
"Name of the section"the name in the menu, tabs and profileempty, "Privileges"
"Preset terms, days"buttons over the term field, up to eight7, 30, 90
"Allow permanent grants"when off, a manual grant is for a term onlyon
"Reconcile grants"once an hour sends a group again when the server lost it after a wipeon
"Adopt privileges when an account is linked"adopts the ones with a known term without an adminon
"Who sees the list of holders""Everyone", "Signed-in only" or "Nobody" (the page answers "not found")"Everyone"
"Where “Renew” leads"an address with {privilege} and {server}empty, no link

For developers

After every step of a grant the module dispatches flute.givecore.privilege_changed with userId, serverId, privilegeKey, state (active or ended), expiresAt and reason (granted, extended, replaced, revoked, expired). The same step goes out as the "Privilege changed" webhook (givecore.privilege_changed). With an API key you get the privileges resource (the catalogue; creating and deleting stay in the admin panel), GET /api/v1/givecore/privileges/holders with the privileges read scope and the privilege, server, page, per_page filters, and GET /api/v1/givecore/me/privileges for your own account. The list by link is served at /api/v1/link/feeds/<key>/privileges.cfg (.txt, .json).

How the core side works: Events and listeners, API keys and the REST API, Module REST API, Extension points.

Troubleshooting

For any other message, use the error lookup.

The plugin cannot grant groups and needs an update

The server's plugin has not reported group delivery, so the site gets the unsupported_action refusal. Update the GameLink plugin. On CS2, check that a VIP or admin plugin is installed and the plugin found it, as the CS2 page describes.

MessageWhat to do
"Saved, but the server does not know the group: …"check the group name on the server, or the grant will not arrive
"The privilege has no group set for the chosen server. Set it in the catalogue."enter the group in the server's row
"The player already holds a privilege of the same ladder: …. Revoke it first."revoke the senior one or pick another
"The server is not in the … database. Set its number in the database connection."enter the server number in the connection on the "Plugins" tab
"The plugin database could not be read. Check the connection on the “Plugins” tab."check access to the database
"The privilege is in force or on its way on this server (grants: …). Revoke it from the players first: without the group there is nothing to remove from the server."revoke the privilege from the players, then change the group
"The “Privilege holders” block names the privilege “…” that is no longer in the catalogue, so the block will be empty."pick another privilege in the block

Next

On this page