Jump to content
Message added by Mevent,

Thanks for your interest in my plugin!

If you have any questions or issues with the plugin, please contact me.
For support related questions, please create a thread in the Support Section or send a direct message to my profile @MeventSupport.

Thanks!

1 Screenshot

  • 518.7k
  • 7.9k
  • 419.08 kB

Recommended Comments



Mevent

Posted

3 hours ago, Hwang85 said:

Is there a way to change the name "Shop" in the main starting menu?

Hi! Yes, of course! You can do it in the lang files

ZIZI

Posted

Hi.

Here's an example of the permissions:

 {
      "Enabled": true,
      "Title": "MEDICAL",
      "Permission": "shop.default",
      "Sort Type": "Name",
      "Items": [........

 {
      "Enabled": true,
      "Title": "MEDICAL",
      "Permission": "shop.vip",
      "Sort Type": "Name",
      "Items": [...............

Shop.vip permissions are in the VIP group, Time Premission temporarily sends the player to the VIP group. The problem is that it is impossible to hide the categories with shop.default permissions since they are the main for all VIP players and VIP players are left with normal categories opened which is not logical.
Is it possible to hide categories with shop.default permissions and show shop.vip permissions?

Mevent

Posted

43 minutes ago, ZIZI said:

Hi.

Here's an example of the permissions:

 {
      "Enabled": true,
      "Title": "MEDICAL",
      "Permission": "shop.default",
      "Sort Type": "Name",
      "Items": [........

 {
      "Enabled": true,
      "Title": "MEDICAL",
      "Permission": "shop.vip",
      "Sort Type": "Name",
      "Items": [...............

Shop.vip permissions are in the VIP group, Time Premission temporarily sends the player to the VIP group. The problem is that it is impossible to hide the categories with shop.default permissions since they are the main for all VIP players and VIP players are left with normal categories opened which is not logical.
Is it possible to hide categories with shop.default permissions and show shop.vip permissions?

O.o
You can't do that at the moment, but if you need it, I can add it to the plugin

  • Like 1
ZIZI

Posted

It would be nice, with such a feature, the store will fulfill its purpose.

  • Like 1
Tezza

Posted

hay is there a command to put sales on in your /shop or have do in the config

Mevent

Posted

5 hours ago, Tezza said:

hay is there a command to put sales on in your /shop or have do in the config

Can you describe your problem in a little more detail?

Hwang85

Posted

I see that there are options to buy the Submarines/Locomotives and such, but they just give an item in inventory which does nothing?  How do you get these usable ?

Mevent

Posted

5 hours ago, Hwang85 said:

I see that there are options to buy the Submarines/Locomotives and such, but they just give an item in inventory which does nothing?  How do you get these usable ?

With plugins that allow you to spawn them

Hwang85

Posted

Which plugins would they be, do you know?

Hwang85

Posted

9 hours ago, Mevent said:

With plugins that allow you to spawn them

Surely if your plugin requires other plugins to work correctly, shouldn't they be listed as a dependency ?

  • Moderator
Mals

Posted

6 hours ago, Hwang85 said:

Surely if your plugin requires other plugins to work correctly, shouldn't they be listed as a dependency ?

Commands to summon entities provided by third party plugins are not a dependency, as that is an optional bonus feature, not essential for the shop to function.

Hwang85

Posted

15 hours ago, Mals said:

Commands to summon entities provided by third party plugins are not a dependency, as that is an optional bonus feature, not essential for the shop to function.

Aye, fair, would be nice to know which plugins work with it though.

Mario

Posted

Is it possible to run a command twice from the shop? Example of a command I would like to run twice with 1 purchase.

"Command (%steamid%)": "thecommand %steamid% \"Item With Spaces\""

The command works by itself, can't get it to run twice in the same line I have tried multiple formats. Thanks for the help.

MeventSupport

Posted

Hi. Try to do it like this: 

"Command (%steamid%)":
"thecommand %steamid%|thecommand %steamid%"

MeventSupport

Posted

Hi. Try to do it like this: 

"Command (%steamid%)":
"thecommand %steamid%|thecommand%steamid%"

eov-dev

Posted

Hi, love the plugin, really great way to set up a shop on a server, and pretty easy to configure.

I ran into a small problem but maybe I just don't know how to configure it properly :

I have some commands I sell in my shop that I want to limit to one purchase per player. To do so, I set the "Buy Limit" shop.default to 1 as well as the "Max Buy Amount". However, when a player tries to add that item to his cart it shows the message "You cannot buy... You have reached the limit" even though they never have bought that item. I can check that in the data/shop/Limits.json where indeed there is no entry for that item under the player's id.
 

If I raise the "Buy Limit" shop.default to 2, players can purchase the item once and then they will get the message about reaching the limit.

Am I missing something, or is it intended to configure the limit to 1 above the desired limit ?

MeventSupport

Posted

Hi! Good question. I'll check it out, maybe it's a bug. 

  • Like 1
duramaxman0120

Posted

How do you add vehicles to the shop?

Fusion 3.64

Posted (edited)

17 minutes ago, duramaxman0120 said:

How do you add vehicles to the shop?

It depends on your source for getting them.
I use https://umod.org/plugins/portable-vehicles
You can either set them as a command to give, set the title and price, or use the base item, apply the skin and set the title and display name and price
So for example:

        {
          "Type": "Command",
          "ID": 1122,
          "Image": "https://i.imgur.com/YcRbyFg.png",
          "Title": "Small Car (Place outside)",
          "Description": null,
          "Command (%steamid%)": "portablevehicles.give %steamid% car2",
          "Kit": null,
          "Plugin": {
            "Hook": "Withdraw",
            "Plugin Name": "Economics",
            "Amount": 0
          },
          "DisplayName (empty - default)": "",
          "ShortName": "",
          "Skin": 0,
          "Is Blueprint": false,
          "Amount": 1,
          "Enable item buying?": true,
          "Price": 2000.0,
          "Enable item selling?": false,
          "Sell Price": 0.0,
          "Buy Cooldown (0 - disable)": 900.0,
          "Buy Cooldowns (0 - no limit)": {
            "shop.default": 900.0,
            "shop.vip": 900.0
          },
          "Sell Cooldown (0 - disable)": 0.0,
          "Sell Cooldowns (0 - no limit)": {
            "shop.default": 0.0,
            "shop.vip": 0.0
          },
          "Discount (%)": {
            "shop.default": 0,
            "shop.vip": 0
          },
          "Sell Limits (0 - no limit)": {
            "shop.default": 0,
            "shop.vip": 0
          },
          "Buy Limits (0 - no limit)": {
            "shop.default": 0,
            "shop.vip": 0

Here's an example of a custom item set as "Item" vs "Command":

        {
          "Type": "Item",
          "ID": -1629492040,
          "Image": "https://i.imgur.com/cHdvqa6.png",
          "Title": "Vip Zipline",
          "Description": "",
          "Command (%steamid%)": "",
          "Kit": "",
          "Plugin": {
            "Hook": "",
            "Plugin Name": "",
            "Amount": 1
          },
          "DisplayName (empty - default)": "Vip Zipline",
          "ShortName": "electric.teslacoil",
          "Skin": 2792362292,
          "Is Blueprint": false,
          "Amount": 2,
          "Enable item buying?": true,
          "Price": 500.0,
          "Enable item selling?": false,
          "Sell Price": 0.0,
          "Buy Cooldown (0 - disable)": 0.0,
          "Buy Cooldowns (0 - no limit)": {
            "shop.default": 0.0,
            "shop.vip": 0.0
          },
          "Sell Cooldown (0 - disable)": 0.0,
          "Sell Cooldowns (0 - no limit)": {
            "shop.default": 0.0,
            "shop.vip": 0.0
          },
          "Discount (%)": {},
          "Sell Limits (0 - no limit)": {},
          "Buy Limits (0 - no limit)": {},
          "Daily Buy Limits (0 - no limit)": {},
          "Daily Sell Limits (0 - no limit)": {},
          "Max Buy Amount (0 - disable)": 0,
          "Max Sell Amount (0 - disable)": 0,
          "Force Buy": false,
          "Prohibit splitting item into stacks?": false,
          "Localization": {
            "Enabled": false,
            "Text (language - text)": {
              "en": "Vip Zipline"
            }
          },
          "Content": {
            "Enabled": false,
            "Contents": [
              {
                "ShortName": "",
                "Condition": 100.0,
                "Amount": 1,
                "Position": -1
              }
            ]
          },
          "Weapon": {
            "Enabled": false,
            "Ammo Type": "",
            "Ammo Amount": 1
          }
        },

If you set the item through the GUI using the base item, I think you need to set the display name, otherwise it won't apply it to the given item.
Using the command option just gives the item "normally" as the plugin intends.
You will aso have to use different hooks/plugin name if you are using another plugin than economics.

If you choose to edit manually, you'll need to set an unused number in the "ID": section.

I may be missing something, but pretty sure I covered it all.

Edited by thepiercedweirdo
duramaxman0120

Posted

2 minutes ago, thepiercedweirdo said:

It depends on your source for getting them.
I use https://umod.org/plugins/portable-vehicles
You can either set them as a command to give, set the name and price, or use the base item, apply the skin and set the name and price
So for example:

        {
          "Type": "Command",
          "ID": 1122,
          "Image": "https://i.imgur.com/YcRbyFg.png",
          "Title": "Small Car (Place outside)",
          "Description": null,
          "Command (%steamid%)": "portablevehicles.give %steamid% car2",
          "Kit": null,
          "Plugin": {
            "Hook": "Withdraw",
            "Plugin Name": "Economics",
            "Amount": 0
          },
          "DisplayName (empty - default)": "",
          "ShortName": "",
          "Skin": 0,
          "Is Blueprint": false,
          "Amount": 1,
          "Enable item buying?": true,
          "Price": 2000.0,
          "Enable item selling?": false,
          "Sell Price": 0.0,
          "Buy Cooldown (0 - disable)": 900.0,
          "Buy Cooldowns (0 - no limit)": {
            "shop.default": 900.0,
            "shop.vip": 900.0
          },
          "Sell Cooldown (0 - disable)": 0.0,
          "Sell Cooldowns (0 - no limit)": {
            "shop.default": 0.0,
            "shop.vip": 0.0
          },
          "Discount (%)": {
            "shop.default": 0,
            "shop.vip": 0
          },
          "Sell Limits (0 - no limit)": {
            "shop.default": 0,
            "shop.vip": 0
          },
          "Buy Limits (0 - no limit)": {
            "shop.default": 0,
            "shop.vip": 0

Here's an example of a custom item set as "Item" vs "Command":

        {
          "Type": "Item",
          "ID": -1629492040,
          "Image": "https://i.imgur.com/cHdvqa6.png",
          "Title": "Vip Zipline",
          "Description": "",
          "Command (%steamid%)": "",
          "Kit": "",
          "Plugin": {
            "Hook": "",
            "Plugin Name": "",
            "Amount": 1
          },
          "DisplayName (empty - default)": "Vip Zipline",
          "ShortName": "electric.teslacoil",
          "Skin": 2792362292,
          "Is Blueprint": false,
          "Amount": 2,
          "Enable item buying?": true,
          "Price": 500.0,
          "Enable item selling?": false,
          "Sell Price": 0.0,
          "Buy Cooldown (0 - disable)": 0.0,
          "Buy Cooldowns (0 - no limit)": {
            "shop.default": 0.0,
            "shop.vip": 0.0
          },
          "Sell Cooldown (0 - disable)": 0.0,
          "Sell Cooldowns (0 - no limit)": {
            "shop.default": 0.0,
            "shop.vip": 0.0
          },
          "Discount (%)": {},
          "Sell Limits (0 - no limit)": {},
          "Buy Limits (0 - no limit)": {},
          "Daily Buy Limits (0 - no limit)": {},
          "Daily Sell Limits (0 - no limit)": {},
          "Max Buy Amount (0 - disable)": 0,
          "Max Sell Amount (0 - disable)": 0,
          "Force Buy": false,
          "Prohibit splitting item into stacks?": false,
          "Localization": {
            "Enabled": false,
            "Text (language - text)": {
              "en": "Vip Zipline"
            }
          },
          "Content": {
            "Enabled": false,
            "Contents": [
              {
                "ShortName": "",
                "Condition": 100.0,
                "Amount": 1,
                "Position": -1
              }
            ]
          },
          "Weapon": {
            "Enabled": false,
            "Ammo Type": "",
            "Ammo Amount": 1
          }
        },

If you set the item through the GUI using the base item, I think you need to set the display name, otherwise it won't apply it to the given item.
Using the command option just gives the item "normally" as the plugin intends.
You will aso have to use different hooks/plugin name if you are using another plugin than economics.

If you choose to edit manually, you'll need to set an unused number in the "ID": section.

I may be missing something, but pretty sure I covered it all.

i will give this a shot. thank you! much appreciated!

  • Like 1
ch2rlie000

Posted (edited)

Is there any way possible for me to remove the background blur? 

*EDIT* Figured it out by editing CS file

Edited by ch2rlie000
  • Like 1
MeventSupport

Posted

On 8/5/2023 at 3:30 AM, ch2rlie000 said:

Is there any way possible for me to remove the background blur? 

*EDIT* Figured it out by editing CS file

I’m glad. If you have any more problems, contact please🙂

eov-dev

Posted

On 7/24/2023 at 2:45 AM, eov-dev said:

Hi, love the plugin, really great way to set up a shop on a server, and pretty easy to configure.

I ran into a small problem but maybe I just don't know how to configure it properly :

I have some commands I sell in my shop that I want to limit to one purchase per player. To do so, I set the "Buy Limit" shop.default to 1 as well as the "Max Buy Amount". However, when a player tries to add that item to his cart it shows the message "You cannot buy... You have reached the limit" even though they never have bought that item. I can check that in the data/shop/Limits.json where indeed there is no entry for that item under the player's id.
 

If I raise the "Buy Limit" shop.default to 2, players can purchase the item once and then they will get the message about reaching the limit.

Am I missing something, or is it intended to configure the limit to 1 above the desired limit ?

Hey, did you have time to look into this ? It's not really urgent as the workaround seemed to work.

However, I've had another problem that is a bit more of a concern : for some reason (and I have no idea who is the culprit) the Shop data seem to be erased at every server restart. More specifically the files containing information of Cooldowns and Limits in the data folder are erased (for at least part of) the players). Any idea what could cause this ?
 

Just for info if it has any value to find what the problem might be:
- Because of the problem with the limits detailed in my previous message, I've added both a limit (=2) and a cooldown (of 10 years) to reduce possible problems when my players buy some one-time commands in the shop.
- My server automatically restarts everyday during the night through an in-built scheduled task of my hosting service provider
- I've never tested this during an actual restart (as I am usually asleep), but when I look at the data files I can clearly see info missing that was there the night before (the files are note empty however, at the moment I have cooldowns for one player even though at least four have bought items with cooldowns in the shop, and limit info for several players but with a last update value of "0001-01-01T00:00:00")
- When I buy an item in the shop that has a cooldown, the cooldown does appear in the shop UI afterwards, and the data is written in the data/shop/cooldown file; when the data is erased the cooldown in the shop ui has disappeared and I can rebuy the item

Thanks again and sorry to bother you with this problem 😞 The plugin is amazing aside from this !

  • Moderator
Mals

Posted

12 hours ago, eov-dev said:

Hey, did you have time to look into this ? It's not really urgent as the workaround seemed to work.

However, I've had another problem that is a bit more of a concern : for some reason (and I have no idea who is the culprit) the Shop data seem to be erased at every server restart. More specifically the files containing information of Cooldowns and Limits in the data folder are erased (for at least part of) the players). Any idea what could cause this ?
 

Just for info if it has any value to find what the problem might be:
- Because of the problem with the limits detailed in my previous message, I've added both a limit (=2) and a cooldown (of 10 years) to reduce possible problems when my players buy some one-time commands in the shop.
- My server automatically restarts everyday during the night through an in-built scheduled task of my hosting service provider
- I've never tested this during an actual restart (as I am usually asleep), but when I look at the data files I can clearly see info missing that was there the night before (the files are note empty however, at the moment I have cooldowns for one player even though at least four have bought items with cooldowns in the shop, and limit info for several players but with a last update value of "0001-01-01T00:00:00")
- When I buy an item in the shop that has a cooldown, the cooldown does appear in the shop UI afterwards, and the data is written in the data/shop/cooldown file; when the data is erased the cooldown in the shop ui has disappeared and I can rebuy the item

Thanks again and sorry to bother you with this problem 😞 The plugin is amazing aside from this !

That can happen if there is a typo in the json files.  Did you manually edit them? I use this to check my json: https://jsonlint.com/ I would recommend using the provided in game UI to do any changes, much safer.

  • Love 1
eov-dev

Posted

4 hours ago, Mals said:

That can happen if there is a typo in the json files.  Did you manually edit them? I use this to check my json: https://jsonlint.com/ I would recommend using the provided in game UI to do any changes, much safer.

I have manually edit the Shop.json config file to add limits and cooldowns as I haven't found how to do that with the in game UI. I've also changed the order of some items. I have not edit any of the data json files however.

I've checked all my json files on jsonlint.com and they are all valid.

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 12
  • Sad 1
  • Love 7

Mevent's Collection

User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

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.