Jump to content

IDK how to string the cost code

Not a Bug 1.0.1

003200

Posted

Can you please give me an example of what a fully working example of like vanish but it costs 200 economy.

and also an example of it costing an item like bleach .

Im sorry idk how to code at all, i can make most all mods i buy work only cause i can see there code and then i jus copy it and alter it.  Thanks -32

copcopekcro

Posted

Hello !
So in config :
"Cost Configuration": {
    "Economy Type [Item, Plugin]": "Item",         //// here you chose will it be item or plugin 
    "Plugin Cost Type [CustomCurrency, Economics, ServerRewards]": "CustomCurrency",            ////// if plugin ,what plugin ?
    "Item Shortname (if using Item-based)": "scrap",           ///// if you use item cost , then you need to have shortname ... here you need to add that "
bleach"
    "Item Skin ID (if using Item-based)": 0,                            //// if is some custom or skined item add skinID
    "Item Display Name (if using Item-based)": ""                //// if that item have some custom name add it here ...

  },

So like this you shoud do if you wanna use item bleach:
"Cost Configuration": {
    "Economy Type [Item, Plugin]": "Item",         
    "Plugin Cost Type [CustomCurrency, Economics, ServerRewards]": "CustomCurrency",           
    "Item Shortname (if using Item-based)": "bleach",           

    "Item Skin ID (if using Item-based)": 0,                            
    "Item Display Name (if using Item-based)": ""                

  },
EXAMPLE :
{
      "Perm/Group Title": "God Mode",
      "Image URL": "https://www.dropbox.com/scl/fi/18yy55g7bfcz8tj4yhnkr/5e2c4da074770.png?rlkey=24zmukgzu3rll382s6wpkbd65&st=e1bi9i7k&dl=1",
      "Description": "Allows you to become truly invisible",
      "What Perm/Group": "vanish.allow",    //// this is perm what player will get , so he can use that option (for vanish he need to use chat command /vanish) but you need to have that plugin on your server!
      "Cost Amount": 700,          ///// how much will cost player to buy thise perm , in this example 700 bleach ..
      "Timed Permission/Group": false,           ///// timer or not .. in this case false , they will have always that perm ,until you revoke it !
      "Duration in Seconds": 800         
    },

003200

Posted

OMG TY so much!!!!  This plug in is literally goated!  With this i can open ended make so many diferent mods and functions for existing mods.  Seriously best 10 dollars ive spent!  

  • Love 1
1.7m

Downloads

Total number of downloads.

8.1k

Customers

Total customers served.

122.1k

Files Sold

Total number of files sold.

2.5m

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.