Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Help with adding economy points...

Closed 1.0.6

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

Share this comment


Link to comment

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

Share this comment


Link to comment
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", 🙂

Share this comment


Link to comment
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

Share this comment


Link to comment

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

Share this comment


Link to comment
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

Share this comment


Link to comment

About Us

Codefling is a forward-thinking platform for developers to share and monetize their work from plugins to game assets and everything in-between.

10,978 files sold to 948 customers and $171,714 of 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.