Jump to content

Shop UI 1.2.65

$32.99 $22.90
   (31 reviews)
Message added by David,

CUSTOMER SUPPORT 
To report issues with plugin or simply get in touch with me, please use support section on site or create ticket on my discord

On-site Support
 Discord Support    
 

Please allow at least 24 hours for response on site tickets as we all live in different time zones.  Not available during weekends.

8 Screenshots

  • 152.1k
  • 6k
  • 41.41 kB

Recommended Comments



Flint Monkey

Posted

@David - I am trying to add the ability for players to purchase heli calls to the store and am getting the following error in the console:

Quote

[Shop] Item(heli.basic) listed in Category(Commands) does not exist. You can only list items/commands which exists in data/Shop/Item.json or /Commands.json

I have the following in Commands.json:

Quote

"heli.basic": {

"DisplayName": "Call Basic Heli",

"Image": "https://www.dropbox.com/s/29g5m2gb7xhdbm7/heli.png?raw=1",

"Message": "You just called a basic tier helicopter.",

"Command": "heli.call Basic {steamid}",

"BuyPrice": 10,

"Currency": "rp",

"ShowDisplayName": true

}

and the following in Categories.json:

Quote

"Commands": {

"Image": "https://www.dropbox.com/s/wg2x2ii64bxvyvg/heli-white.png?raw=1",

"Permission": null,

"Sale": 0.0,

"Items": [

"heli.basic",

"heli.regular",

"heli.military",

"heli.elite"

]

},

Am I missing something?

Zoreeno

Posted

13 minutes ago, Flint Monkey said:

Am I missing something?

You are.

If you are adding commands to a category they need to be added with the "command/" prefix.  So your items section in the categories file needs to look like this:

"Items": [

"command/heli.basic",

"command/heli.regular",

"command/heli.military",

"command/heli.elite"

 

  • Love 1
Tanki

Posted

Hello, i din't see anything about cooldown for commands, is it possible?

looking for purcahse plugin.

 

thanks

Zoreeno

Posted

47 minutes ago, Tanki said:

cooldown for commands, is it possible?

It is possible. You would add it to your cooldowns.json data file  with   "command/name of command": seconds

 

like this

  "command/glauncher": 518400,
  "command/greengloves": 86400,
  "command/skillreset": 172800,

 

  • Like 1
Balloonicron

Posted

Hi, I'm sorry for bugging you again
image.png.75ad4d5fe0694ac47420590ea420108d.png
Categories and Commands
image.png.d1fbd74398a646919869b7d9365acd4f.png
but I'm having a lot of trouble getting this to link to
the vehicles plugin.
image.png.b906cd7683853cc4fa08b7908675719b.png

I've tried 2mod, I've tried 2module_car_spawned.entity
I just don't get how to make them work with one another.  I've tried every possible command.  

Kaho

Posted

Hey David,

getting a error with the Command Tab.

Trying to Import the "Callheli Command"
https://umod.org/plugins/heli-control

On ServerRewards i used:

  "commands": {
    "4 Call Attack Helicopter": {
      "description": "Call Attack Helicopter",
      "iconName": null,
      "commands": [
        "callheli pos $player.x $player.y $player.z 1"
      ],
      "displayName": null,
      "cost": 500,
      "cooldown": 0
    },

That works

in your Config i use:
 

{
  "CallHeli": {
    "DisplayName": "Call Attack Heli",
    "Image": "https://kaho.wtf/wp-content/uploads/2022/12/call_atack_heli2.png",
    "Message": "You just bought command",
    "Command": "callheli pos $player.x $player.y $player.z 1",
    "BuyPrice": 500,
    "Currency": "rp",
    "ShowDisplayName": true
  },


Can buy the Command but seems the Shop dont give out the right Position. Getting this Error:

[HeliControl] Incorrect argument supplied for X coordinate!

do i need to replace the $player.x and so on with other arguments to use it with your Shop?

Zoreeno

Posted (edited)

35 minutes ago, Kaho said:

do i need to replace the $player.x and so on with other arguments to use it with your Shop?

I'm not sure if the Call Heli plugin relies specifically on the $player.x.y.z call or not, but in my commands file for shop I have to use {playername} or {steamid} to have the commands work.

maybe give one of these a try while you wait for David to get back to you:

"Command": "callheli pos {playername}.x {playername}.y {playername}.z 1",

"Command": "callheli pos {steamid}.x {steamid}.y {steamid}.z 1",

We also use HeliControl on our server, but we use a different plugin to call the heli to the player with just callheli playerID and it calls the heli just above where the player is standing. So maybe this is another thing to try if the above doesn't work: 

"Command": "callheli {steamid}"

or

"Command": "callheli {playername}"

 

Edited by Zoreeno
  • Love 1
TaoXi_Honey

Posted

how open command shop ?

Kaho

Posted

1 minute ago, Honey said:

how open command shop ?


Its /shop

 

else check the Data file in data/Shop/Shop.json

 

{
  "Main Settings": {
    "» Require permission to open Shop": false,
    "» Shop Chat Command": "shop"
  },

 

MNfreakTim

Posted

Is there an easy way to convert a GUI Shop json (prices) into a usable json for the shop plugin? I don't want to bother you with setting that up for me, but it is a bit daunting to do each item again one by one.

I figured I would ask before I jumped into doing each item one by one 🙂

 

Thanks in advance.

 

 

Flint Monkey

Posted

3 hours ago, MNfreakTim said:

Is there an easy way to convert a GUI Shop json (prices) into a usable json for the shop plugin? I don't want to bother you with setting that up for me, but it is a bit daunting to do each item again one by one.

I figured I would ask before I jumped into doing each item one by one 🙂

 

Thanks in advance.

 

 

@MNfreakTim - @David offers to do just that on the main description page. Contact him on Discord and he'll set it up for you. 🙂

MNfreakTim

Posted

One other quick question for you with regards to the Shop plugin. Is it possible to increase the sell limit? The previous shop plugin I used had a sell all button and my players had become accustomed to this option and with the higher gather rate on my server it is has been requested to increase the selling limit.

 

Thanks in advance

Kobani

Posted

One question before I buy it. Is it possible to change the labels on the buttons to another language? For example the "Back to Categories."

MNfreakTim

Posted

This months forced update seems to have broken this plugin. I am getting the following error now.

 

Error while compiling: Shop.cs(1525,28): error CS1061: Type `Network.Server' does not contain a definition for `write' and no extension method `write' of type `Network.Server' could be found. Are you missing an assembly reference?

 

Thanks,

 

Tim

  • Like 1
Rust Admin

Posted

Shop and CraftMenu are broken since update

DeepBlue

Posted

Did the new update today just break the shop or do I need to go troubleshooting?

 

Thank you for your help

Rust Admin

Posted

Just now, DeepBlue said:

Did the new update today just break the shop or do I need to go troubleshooting?

 

Thank you for your help

Read above?

DeepBlue

Posted

Perfect, thank you very kindly. 

Heartless_Genocide

Posted

Will this one require anything is slide into the Info Panel?

hc4stillo

Posted

I think there is a problem, when the server restarts, the plugins stop working, the solution is to reload it but it is not normal. I'll be the only one with that problem.

Porky

Posted

Just wondering if there is another update?
im on Shop 1.1.69
codefling updates checker says there is an update available
and in MyRustServers inbuilt plugin checker it says version 1.2.16  and 1.2.13 ?
any ideas?

( yes i am seeing it twice )

Elloco

Posted

how can i assign kits by command? .kits.consolegive does not work

Kaho

Posted

On 2/12/2023 at 9:05 PM, Porky said:

Just wondering if there is another update?
im on Shop 1.1.69
codefling updates checker says there is an update available
and in MyRustServers inbuilt plugin checker it says version 1.2.16  and 1.2.13 ?
any ideas?

( yes i am seeing it twice )

UpdateChecker is confused with another Shop Plugin. So that dont Work actually.

Porky

Posted

14 hours ago, Kaho said:

UpdateChecker is confused with another Shop Plugin. So that dont Work actually.

thanks pal

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 7
  • Love 6

User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.7k

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.