Jump to content

Money Refund


YaMang -w-
 Share

Recommended Posts

Money Refund


 Console Command:


mrefund user playerid permission amount rp

ex) mrefund user $player.id backpacks.use 5000 eco

ex2) mrefund user $player.id backpacks.use 5000 rp

ex3) mrefund group $player.id admin 5000 rp

has permission 5000 eco refund

 

Example Server Rewards)

"Backpack": {
      "description": "Buy Backpack",
      "iconName": "",
      "commands": [
        "mrefund user $player.id backpacks.use 500 rp"
      ],
      "displayName": null,
      "cost": 500,
      "cooldown": 5
    },

Purpose of use:

Server Reward (command)
shop (command)
Refund if has permission or group

 

📢 Only available on RCON or server console due to abuse protection. 📢

 

Config:

{
  "Prefix": "<color=#00ffff>[ Money Refund ] - </color>\n",
  "SteamID": 0,
  "Version": {
    "Major": 1,
    "Minor": 0,
    "Patch": 0
  }
}

 

Lang:

{
  "HasPerm": "<color=red>You already have this permission</color> <color=yellow>I got {0} {1} back</color>",
  "HasGroup": "<color=red>You already have this group</color> <color=yellow>I got {0} {1} back</color>"
  "RP": "<color=lime>RP</color>",
  "ECO": "<color=lime>ECO</color>"
}

 


 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...