Jump to content

Command shop

Closed 1.0.26

dragonarab
  • in Shop
dragonarab

Posted

i have plugin called recycler extend 

the command are /recycler.craft

how to add this to the shop so players can buy the item ?

 

Thanks

Mevent

Posted

On 1/17/2022 at 8:29 PM, dragonarab said:

i have plugin called recycler extend 

the command are /recycler.craft

how to add this to the shop so players can buy the item ?

 

Thanks

On 1/21/2022 at 11:16 PM, MercedesCLA45AMG said:

yes good question i could use that as well

https://pastebin.com/bcCkzBEL

For Extended Recycler:

        {
          "Type": "Command",
          "ID": 4354345,
          "Image": "https://i.imgur.com/GuJUyLH.png",
          "Title": "VIP",
          "Command (%steamid%)": "recycler.give %steamid%",
          "Plugin": {
            "Hook": "Withdraw",
            "Plugin Name": "Economics",
            "Amount": 0
          },
          "DisplayName (empty - default)": "",
          "ShortName": "",
          "Skin": 0,
          "Amount": 1,
          "Price": 100.0,
          "Sell Price": 0.0,
          "Discount (%)": {
            "shop.default": 0,
            "shop.vip": 10
          }
        },

 

Mevent

Posted

Changed Status from Pending to Closed

MercedesCLA45AMG

Posted

this wont work as the config is incorrectly written it has to be in the same format as the other items as i spent ages trying to figure this issue out when it didnt work.

 

Mevent

Posted

On 1/23/2022 at 3:07 AM, MercedesCLA45AMG said:

this wont work as the config is incorrectly written it has to be in the same format as the other items as i spent ages trying to figure this issue out when it didnt work.

 

What specifically are you having problems with? O.o

MercedesCLA45AMG

Posted

the config is wrong you have to use this config setup for it to work "Type": "Item",
          "ID": -2132976536,
          "Image": "",
          "Title": "",
          "Description": null,
          "Command (%steamid%)": "",
          "Plugin": {
            "Hook": "",
            "Plugin Name": "",
            "Amount": 1
          },
          "DisplayName (empty - default)": "HQM",
          "ShortName": "metal.refined",
          "Skin": 0,
          "Amount": 1,
          "Price": 0.0,
          "Sell Price": 0.2,
          "Buy Cooldown (0 - disable)": 0.0,
          "Sell Cooldown (0 - disable)": 0.0,
          "Discount (%)": {
            "shop.default": 0,
            "shop.vip": 10
          },
          "Sell Limits (0 - no limit)": {
            "shop.default": 0,
            "shop.vip": 0
          },
          "Buy Limits (0 - no limit)": {
            "shop.default": 0,
            "shop.vip": 0
          },
          "Max Buy Amount (0 - disable)": 0,
          "Max Sell Amount (0 - disable)": 0

Mevent

Posted

12 hours ago, MercedesCLA45AMG said:

the config is wrong you have to use this config setup for it to work "Type": "Item",
          "ID": -2132976536,
          "Image": "",
          "Title": "",
          "Description": null,
          "Command (%steamid%)": "",
          "Plugin": {
            "Hook": "",
            "Plugin Name": "",
            "Amount": 1
          },
          "DisplayName (empty - default)": "HQM",
          "ShortName": "metal.refined",
          "Skin": 0,
          "Amount": 1,
          "Price": 0.0,
          "Sell Price": 0.2,
          "Buy Cooldown (0 - disable)": 0.0,
          "Sell Cooldown (0 - disable)": 0.0,
          "Discount (%)": {
            "shop.default": 0,
            "shop.vip": 10
          },
          "Sell Limits (0 - no limit)": {
            "shop.default": 0,
            "shop.vip": 0
          },
          "Buy Limits (0 - no limit)": {
            "shop.default": 0,
            "shop.vip": 0
          },
          "Max Buy Amount (0 - disable)": 0,
          "Max Sell Amount (0 - disable)": 0

A person uses a plugin that gives out a custom item. And for this he needed to give the command 🙂 

MercedesCLA45AMG

Posted

no you dont follow its written wrong and dosnt work it needs to be like this  

      "Enabled": true,
      "Title": "Items",
      "Permission": "",
      "Items": [
         {
          "Type": "Command",
          "ID": 4354345,
          "Image": "https://i.imgur.com/GuJUyLH.png",
          "Title": "",
          "Command (%steamid%)": "recycler.give %steamid%",
          "Plugin": {
            "Hook": "Withdraw",
            "Plugin Name": "Economics",
            "Amount": 0
          },
          "DisplayName (empty - default)": "",
          "ShortName": "Recycler",
          "Skin": 0,
          "Amount": 1,
          "Price": 1000.0,
          "Sell Price": 0.0,
          "Buy Cooldown (0 - disable)": 0.0,
          "Sell Cooldown (0 - disable)": 0.0,
          "Discount (%)": {
            "shop.default": 0,
            "shop.vip": 10
          },
          "Sell Limits (0 - no limit)": {
            "shop.default": 0,
            "shop.vip": 0
          },
          "Buy Limits (0 - no limit)": {
            "shop.default": 0,
            "shop.vip": 0
          },
          "Max Buy Amount (0 - disable)": 0,
          "Max Sell Amount (0 - disable)": 0

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.1k

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.