Jump to content

How to turn off selling?

Not a Bug 1.1.62

prometheus
prometheus

Posted

I want to remove the ability to sell items, only give the option to buy, is this possible? 

Also how can I edit the code to open with /s, /S and /SHOP. I found the section to edit but keep breaking the code 😞 

 

{
  "Main Settings": {
    "» Require permission to open Shop": false,
    "» Block shop usage while building blocked": false,
    "» Require TC Auth. to use shop": false,
    "» Shop Chat Command": "shop",
    "» Pre-fill sell amount based on player's inventory": false,
    "» Enable purchase cooldowns (data/Shop/Cooldowns.json)": false
  },
  "Global Sales": {
    "» Permission Sales": {
      "shop.sale30": 0.3,
      "shop.sale75": 0.75
    },
    "» Item Sales": {
      "wood": 0.15,
      "stones": 0.15,
      "metal.fragments": 0.1,
      "sulfur": 0.05
    }
  },

 

David

Posted

6 hours ago, prometheus said:

I want to remove the ability to sell items, only give the option to buy, is this possible? 

Also how can I edit the code to open with /s, /S and /SHOP. I found the section to edit but keep breaking the code 😞 

Yes, just go to Items data file and put sell price to 0, that will disable sell option for specific item.

David

Posted

Changed Status from Pending to Not a Bug

prometheus

Posted

8 hours ago, David said:

Yes, just go to Items data file and put sell price to 0, that will disable sell option for specific item.

Thank you. 

Is the other part possible? Can I edit the code to open with /s, /S and /SHOP

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.