Promo codes PRO

Private Promo codes PRO 1.0.7

USAGE:
work with:
DESCRIPTION:
Promo code system:
  • Automatic generation new wipe promo code
  • Ability to add new promo codes
  • Personal promo codes, group promo codes
  • Promo code cooldown after connect to server
  • Limited uses
  • The promo code is valid for a limited time.
  • Anti-abuse
  • Discord notifications for players and admins
  • Usage statistic
  • Logs
PERMISSIONS:
promocodes.admin
promocodes.use
COMMANDS:
CHAT:
/promo NAME - use a promo code.​
/addpromo
Syntax: addpromo {1} {2} {3} {4} {5} {6}​
{1} - name​
{2} - points, number​
{3} - Number of promo code activations, (0-100 uses)​
{4} - validity period, (HOURS / 0 - unlimit)​
{5} - cooldown playing on the server to activate the promo code, (SEC / 0 - no cooldown)​
/removepromo
Syntax: removepromo {1}​
{1} - name​

CONSOLE:
addpromo
Syntax: addpromo {1} {2} {3} {4} {5} {6}​
{1} - name​
{2} - points, number​
{3} - Number of promo code activations, (0-100 uses)​
{4} - validity period, (HOURS / 0 - unlimit)​
{5} - cooldown playing on the server to activate the promo code, (SEC / 0 - no cooldown)​
removepromo
Syntax: removepromo {1}​
{1} - name​
randomwipepromo - re-generate new wipepromo code​
SCREENSHOTS:

NEWS CHANNEL:
ADMIN LOGS:
CONFIG:
{
"Color theme": {
"Alert: accent color": "#e87474",
"Alert: prefix color": "#e87474",
"Alert: text color": "#ffffff",
"Notifications: accent color": "#74e897",
"Notifications: prefix color": "#74e897",
"Notifications: text color": "#ffffff",
"Server prefix": "[PROMO]:"
},
"Notifications": {
"Discord webhook - Admins (new promo codes and reports on hacking attempts)": "",
"Discord webhook - Players (messages about new promo codes)": "",
"Enable chat notification (text in language file)": true,
"Enable discord notification": true,
"Message text for players with map data": true,
"Message text for players (discord) - {NAME} - promo code name, {AMOUNT} - promo code amount": "👋 Hey, guys!\n:money_with_wings: The new promo code {NAME} with {AMOUNT} points IS HERE!"
},
"Settings": {
"Enable logging the use of promo codes": true,
"Points Hook (ServerRewards - AddPoints, Economics - Balance": "AddPoints",
"Server name (for discord title notification": "YOUR SERVER NAME"
},
"Wipes promo codes": {
"Enable to generate promo codes every wipe": true,
"List of promo code amounts": [
10,
11,
12,
13,
14,

15
],
"Primary promo code list - true. Secondary promo code list - false": false,
"Primary promo codes names list": [],
"Promo code cooldown": 600.0,
"Secondary promo codes list (using name from list and add a random number. Example: PROMO20": [
"MONEY",
"RAID",
"FARM",
"LOOT",
"RUST",
"COSMO",
"PVP",
"EASY",
"HARD",
"BOOM",
"SCRAP",

"GO"
]
}
}
API:
object GetPromocodeData()
Api_Create_Promo(string name, int amount, BasePlayer initiator = null)
Api_Remove_Promo(string name, BasePlayer initiator = null)
EXAMPLE:
Promocode = PromoCodes?.Call("GetPromocodeData");
  • Like
Reactions: Хомячок
Author
Russki Ivan
Downloads
3
Type
Digital product
License duration
Unlimited
Price
10.00 USD
Views
309
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from Russki Ivan

Latest updates

  1. hooks and messages update

    ADDED: API hooks to add and remove a promo codes Map info in Discord message (size, seed...

Latest reviews

Great!
Top