Jump to content

i need help

Pending 1.2.2

Youssef Refaat
  • in Shop
Youssef Refaat

Posted

i uploaded the plugin and it's working in my server but i dont know how to edit on it like i got stone and i tryed to sold it and it sold but i didnt get the RP so how to fix this ?

salientKill

Posted

  "Economy": {
    "Type (Plugin/Item)": "Plugin",
	"Plugin name": "ServerRewards",
    "Balance add hook": "AddPoints",
    "Balance remove hook": "TakePoints",
    "Balance show hook": "CheckPoints",
    "ShortName": "scrap",
    "Display Name (empty - default)": "",
    "Skin": 0,
    "Lang Key (for Title)": "sr_title",
    "Lang Key (for Balance)": "sr_balance"
  },
  "Additional Economics": [
    {
      "ID": 1,
      "Enabled": false,
      "Type (Plugin/Item)": "Plugin",
      "Plugin name": "ServerRewards",
      "Balance add hook": "AddPoints",
      "Balance remove hook": "TakePoints",
      "Balance show hook": "CheckPoints",
      "ShortName": "scrap",
      "Display Name (empty - default)": "",
      "Skin": 0,
      "Lang Key (for Title)": "sr_title",
      "Lang Key (for Balance)": "sr_balance"
    }

Change your settings as shown in above block

make sure the "Additional Economics" is set to false on "Enabled"

Youssef Refaat

Posted

so i just need to replace this code ? all of it ?

Youssef Refaat

Posted

or do i just change the Additional Economics to false ?

salientKill

Posted (edited)

change the Additional Economics to false, but you also need to tell the plugin that you are intending to use the ServerRewards plugin. So that info will go in the first block.

Additional Block is there in case you have multiple rewards plugins and you want to use them all or maybe a fallback scenario if one of the rewards plugin dont work

Edited by salientKill
Youssef Refaat

Posted

thanks i am trying now, do you guys have discord server ?

Youssef Refaat

Posted (edited)

do i just copy paste like this ?

copypaste.png

Edited by Youssef Refaat
salientKill

Posted

you are diting the .cs file my man. you need to go to config folder and edit the json in that one

Mevent

Posted

As salientKill said, you need to edit the configuration files (oxide/config/Shop.json). If you have any urgent questions, I'm always available on my Discord: Mevent#4546

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

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.