Jump to content

commands

No Response 1.2.53

Papi Rusty
Papi Rusty

Posted

commands are not working. throwing errors in console as everyone else has said in the support tickets

 

David

Posted

I'm not aware of any issues regarding shop commands, can you show me what exactly is not working?

David

Posted

Changed Status from Pending to No Response

Rust Admin

Posted

I submitted a ticket 3 weeks ago for the same issues with commands.  I am experiencing the same issue.  It is not every command, which makes it difficult to track down.

Console:
[Shop] Item(cmd/cmdscrap) listed in Category(Resources) does not exist. You can only list items/commands which exists in data/Shop/Item.json or /Commands.json

Commands.json :

 "cmdscrap": {
    "DisplayName": "Daily SCRAP",
    "Image": "https://rustlabs.com/img/items180/scrap.png",
    "Message": "You just got <color=orange>100 free scrap!</color>.\nCheck back tomorrow!",
    "Command": "inventory.giveto {steamid} scrap 100",
    "BuyPrice": 0,
    "Currency": "scrap",
    "ShowDisplayName": true
  }


Resources category in "Categories.json":
 

"Resources": {
    "Image": "https://rustplugins.net/products/shop/diamond-stone.png",
    "Permission": null,
    "Sale": 0.0,
    "Items": [
	  "cmd/cmdscrap"
	]
}

 

Rust Admin

Posted

I figured it out...

BuyPrice has to be greater than 0.   You cannot just give things away in Shop anymore.
It used to allow that.

Instead of  "BuyPrice": 0,
It needs to be at least:   "BuyPrice": 1,

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.