Jump to content

Banknotes

Pending 2.2.30

rustybros
  • in Kits
rustybros

Posted

HOw do i make it only possible to buy kits with bank notes only?

  • Curator
Mevent

Posted

10 minutes ago, rustybros said:

HOw do i make it only possible to buy kits with bank notes only?

You can do it through the Kits config.  

  1.  In oxide/config/Kits.json (or carbon/config/Kits.json) set your only currency to the banknote item:
     
    "Economies": {
       "0": {
         "Type": "Item",
         "ShortName": "sticks",
         "Skin": 2536195910,
         "DisplayName": "Bank Note"
       }
     },
     "DefaultCurrency": 0

     
  2.   In oxide/config/Kits.json (or carbon/config/Kits.json) set each purchasable kit to use that currency and a price, for example:
     
    "MyKit": {
       "Sale": true,
       "Price": 50,
       "DefaultCurrency": 0
     }

     
  3.  Then save the files, reload the plugin (o.reload Kits / c.reload Kits), and test buying the kit with only those banknotes in your inventory.
rustybros

Posted

OK i tried this and i wan to use the bank balance in my ATM and not use the notes from my inventory so how do i go about doing that ?

2.2m

Downloads

Total number of downloads.

10.1k

Customers

Total customers served.

146.6k

Files Sold

Total number of files sold.

3.1m

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.