Jump to content

Help with adding economy points...

Closed 1.0.6

doublee313
doublee313

Posted

Hello, I am trying to give 300 economy points (I use Economics) and having issues. I've tried the command, etc. Please provide some examples on this to help:

 

  "Cases": [
    {
      "ID": 1,
      "Image": "https://i.imgur.com/QRYmqJP.png",
      "Permission": "cases.patreon5",
      "Cost": 0,
      "Cooldown": 20000.0,
      "Items": [
        {
          "Type": "Item",
          "ID": 4,
          "Image": "",
          "Title": "Patreon $5 monthly points (300)",
          "Command (%steamid%)": "",
          "Plugin": {
            "Hook": "Deposit",
            "Plugin name": "Economics",
            "Amount": 300
          },
          "Display Name (empty - default)": "",
          "ShortName": "easter.bronzeegg",
          "Skin": 0,
          "Amount": 1,
          "Chance": 100.0
        }
      ]
    },

I've tried           "Command (%steamid%)": "deposit %steamid% 300",   etc.... I'm just confused where to do this.

 

Also, the timers aren't showing correctly on cases....See screenshot..The star one is every hour and shows that, etc. Thx

 

image.png

doublee313

Posted (edited)

Maybe add " x secs" "x hour(s)" "x month(s)" "x year(s)" on timers? Just a thought 🙂 Or something like that.

Edited by doublee313
Mevent

Posted

7 minutes ago, doublee313 said:

Hello, I am trying to give 300 economy points (I use Economics) and having issues. I've tried the command, etc. Please provide some examples on this to help:

 

"Cases": [
{
"ID": 1,
"Image": "https://i.imgur.com/QRYmqJP.png",
"Permission": "cases.patreon5",
"Cost": 0,
"Cooldown": 20000.0,
"Items": [
{
"Type": "Item",
"ID": 4,
"Image": "",
"Title": "Patreon $5 monthly points (300)",
"Command (%steamid%)": "",
"Plugin": {
"Hook": "Deposit",
"Plugin name": "Economics",
"Amount": 300
},
"Display Name (empty - default)": "",
"ShortName": "easter.bronzeegg",
"Skin": 0,
"Amount": 1,
"Chance": 100.0
}
]
},

I've tried "Command (%steamid%)": "deposit %steamid% 300", etc.... I'm just confused where to do this.

 

Also, the timers aren't showing correctly on cases....See screenshot..The star one is every hour and shows that, etc. Thx

 

image.png

Try use "Type": "Plugin", 🙂

Mevent

Posted

9 minutes ago, doublee313 said:

Maybe add " x secs" "x hour(s)" "x month(s)" "x year(s)" on timers? Just a thought 🙂 Or something like that.

Yes good idea

doublee313

Posted

My bad...."Plugin" fixed. Thank you my friend. 

So i have this:

  "Cases": [
    {
      "ID": 1,
      "Image": "https://i.imgur.com/QRYmqJP.png",
      "Permission": "cases.patreon5",
      "Cost": 0,
      "Cooldown": 2678400.0,
      "Items": [
        {
          "Type": "Plugin",
          "ID": 4,
          "Image": "",
          "Title": "Patreon $5 monthly points (300)",
          "Command (%steamid%)": "",
          "Plugin": {
            "Hook": "Deposit",
            "Plugin name": "Economics",
            "Amount": 300
          },
          "Display Name (empty - default)": "",
          "ShortName": "easter.bronzeegg",
          "Skin": 0,
          "Amount": 1,
          "Chance": 100.0
        }
      ]
    },
      and it shows timer in pic for 1 month....My players were asking for a better formatting as it would help. Thanks again 🙂image.png.e26600d114a9f7e6bd3b98160c19f5ad.png

Mevent

Posted

1 minute ago, doublee313 said:

My bad...."Plugin" fixed. Thank you my friend. 

So i have this:

  "Cases": [
    {
      "ID": 1,
      "Image": "https://i.imgur.com/QRYmqJP.png",
      "Permission": "cases.patreon5",
      "Cost": 0,
      "Cooldown": 2678400.0,
      "Items": [
        {
          "Type": "Plugin",
          "ID": 4,
          "Image": "",
          "Title": "Patreon $5 monthly points (300)",
          "Command (%steamid%)": "",
          "Plugin": {
            "Hook": "Deposit",
            "Plugin name": "Economics",
            "Amount": 300
          },
          "Display Name (empty - default)": "",
          "ShortName": "easter.bronzeegg",
          "Skin": 0,
          "Amount": 1,
          "Chance": 100.0
        }
      ]
    },
      and it shows timer in pic for 1 month....My players were asking for a better formatting as it would help. Thanks again 🙂image.png.e26600d114a9f7e6bd3b98160c19f5ad.png

Done in 1.0.7

  • Like 1
doublee313

Posted

image.png.5041547d63132668ec00c805f007df47.png

AWESOME UPDATE! Thanks again. We will buy KITS this month and now have SHOP/CASES.....

  • Love 1
Mevent

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.