Jump to content

command sell

Not a Bug 1.1.62

Keeks
Keeks

Posted

Hello,

First thank you for the great work. I am trying to sell commands in shop but unable to find any instructions on how to add a category and sell a command for an example /call heli or and other command that depends on a price

David

Posted

15 hours ago, Keeks said:

Hello,

First thank you for the great work. I am trying to sell commands in shop but unable to find any instructions on how to add a category and sell a command for an example /call heli or and other command that depends on a price

Hey! which plugin you trying to use for heli command ?

Jack Tighe

Posted

im having the same issue i want to sell a command, i  have set this up in the commands data file but cant see to figure out how to get this item/command on the store ? 

Keeks

Posted

HeliScrap ... but to be fair its not the Heli command I want to sell other commands as well like timed commands ... I can setup yp the timed permissions but unable to sell the commands

Keeks

Posted

HeliScrap ... but to be fair its not the Heli command I want to sell other commands as well like timed commands ... I can setup yp the timed permissions but unable to sell the commands

Keeks

Posted

That is the error I get for any command:
 

(14:43:24) | Failed to call hook 'shop_cmd' on plugin 'Shop v1.1.61' (KeyNotFoundException: The given key was not present in the dictionary.)
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0
at Oxide.Plugins.Shop._RunNotif (BasePlayer player, System.Single duration, System.Int32 type, System.String[] properties) [0x00000] in <040b75c7f6854e84b30aa6c7c284303d>:0
at Oxide.Plugins.Shop.BuyCommand (BasePlayer player, System.String category, System.String command) [0x002dc] in <040b75c7f6854e84b30aa6c7c284303d>:0
at Oxide.Plugins.Shop.shop_cmd (ConsoleSystem+Arg arg) [0x00091] in <040b75c7f6854e84b30aa6c7c284303d>:0
at Oxide.Plugins.Shop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01320] in <040b75c7f6854e84b30aa6c7c284303d>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <46ff2b534abb4b35952608167523b7ec>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <46ff2b534abb4b35952608167523b7ec>:0

 

commands.json
  "Patrol.Helicopter": {
    "DisplayName": "Patrol Helicopter",
    "Image": "https://i.imgur.com/ThcMO8m.jpg",
    "Message": "You just bought a Patrol Helicopter ... Goodluck!",
    "Command": "heli.calltome",
    "BuyPrice": 1,
    "Currency": "eco"
  },

Categories.json
  "PetrolHeli": {
    "Image": "https://i.imgur.com/ThcMO8m.jpg",
    "Permission": null,
    "Sale": 0.0,
    "Items": [
      "command/Patrol.Helicopter"
    ]
  },

 

David

Posted

16 hours ago, Keeks said:

That is the error I get for any command:

Send me your commands and categories file into ticket on my discord please and I will try it on my end 
https://discord.com/invite/Pa2xnsehGD

David

Posted

Changed Status from Pending to Not a Bug

Keeks

Posted (edited)

Hello David,

I have tried to send you on discord by the message is not accepted

Your message could not be delivered. This is usually because you don't share a server with the recipient or the recipient is only accepting direct messages from friends. You can see the full list of reasons here: https://support.discord.com/hc/en-us/articles/360060145013
 

Edited by Keeks
David

Posted

23 hours ago, Keeks said:

Hello David,

I have tried to send you on discord by the message is not accepted

Your message could not be delivered. This is usually because you don't share a server with the recipient or the recipient is only accepting direct messages from friends. You can see the full list of reasons here: https://support.discord.com/hc/en-us/articles/360060145013
 

I disabled DMs due to amount I was receiving, you can open ticket on my discord server https://discord.com/invite/Pa2xnsehGD

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

2.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.