SuperMarket
SuperMarket is a fast and easy-to-use MySQL server shop
Installation | Commands | Signs | Permissions | FAQ
Video Showcase
If you wish to record a video showcasing the features of this plugin as well as how it functions then please inform me so that i can put it up here!
Features
- Automatic Updates!
- Comes with a complete database of pre-priced items!
- Items can be buy or sell only!
- Modify the database in-game!
- Sign support!
- Suggestion system!
- Little setup required!
- Item names can be changed to anything!
- Add multiple aliases to items!
- Browse through all of the items on the market!
- Prices can be changed instantly in-game!
- Automatically price all of the items to match your server's economy!
- Recorded transaction history!
- Dynamically change your prices every few hours!
- Easily add your own languages!
- Create custom messages!
- Includes an easy to use GUI!
- Control trading by enforcing stock levels!
- Sell enchanted items and books!
Upcoming Updates
-
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
Hi! Congratulations for the plugin Supermarket.
I would like to ask you if you know why I get the following error in console:
"Dynamic pricing has failed!"
Thanks for your help and keep the good work!
Regards.
@FlyingSquidwolf
Please post the entire config as it is here and give me the link, I'll see if I can pinpoint the problem. :)
@Delebird
In that case I suggest you edit the database directly, It is pretty simple to do and
@Delebird
Try the ID number instead of the actual item otherwise you may have to edit the database directly. :(
@Wizardo367
Hey again,
Thanks for the YAML site, I ran through it & its all valid but still no joy. I checked out a few other YAML validators as well and checked both the language & config files, same result.
This is what the console is printing:
"ERROR]: Cannot load configuration from stream org.bukkit.configuration.InvalidConfigurationException: unacceptable character '�' (0xFFFD) special characters are not allowed in "<string>", position 451 at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:57) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:226) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:194) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:212) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at me.wizardo367.SuperMarket.LanguageYML.reloadCustomConfig(LanguageYML.java:31) [SuperMarket.jar:?] at me.wizardo367.SuperMarket.SuperMarket.onEnable(SuperMarket.java:60) [SuperMarket.jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugin(CraftServer.java:446) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.enablePlugins(CraftServer.java:380) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.n(MinecraftServer.java:352) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.g(MinecraftServer.java:326) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.a(MinecraftServer.java:282) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.java:182) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:436) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] Caused by: org.yaml.snakeyaml.reader.ReaderException: special characters are not allowed at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] ... 16 more"
@Wizardo367 all i want to do is
/sm edititem MOB_SPAWNER PRICE 500
It doesn't work.
I have tried every alias of the item possible.
@Delebird
/sm edititem [name/id of item you want to edit] [one parameter - ItemID, DamageValue, Name, Price, Buy/Sell/Both/None] [new value for the parameter]
e.g. If I wanted to edit the price of dirt then I would use
/sm edititem dirt price 0.03
can you come onto my server and execute the commands, i swear they don't work for changing buy/sell prices
@FlyingSquidwolf
Sorry about that, I know a lot of people have been having trouble with the YAML files, run it through this parser http://yaml-online-parser.appspot.com/ and see if you can resolve the issue that way. :)
@danielfr789
That's a good idea, however at the moment I'm wondering whether or not to cease development of the plugin because it is going to need quite a big overhaul to be compatible with 1.8 when it comes out. If 1.8 comes out before September or maybe June I'll try to continue development and add it in. :)
@Tr0llgubbe
The signs were created with the idea of minimal setup in mind for the user and that's why a user can buy 1 item at a time or sell a stack at a time. I didn't think much of it when I was redesigning the plugin because I thought most people would just use the GUI or commands but adding this small feature to the plugin is easily do-able.
Hey dude, I'm still having the weird "unacceptable character" error when enabling the plugin.
THINGS I HAVE DONE
As what Tr0llgubbe said, we need to be able to buy more then 1 item with signs. Also the inventory doesn't update when buying from signs.
I cant request a feature. It says I have no permission so I will do it here.
Can you add a feature where certain users get a % discount?
I have a question regarding the signs, why can you only buy 1 item/block from the sign? Is there any way to change this? I'd like to setup a market where you can either buy a stack of the specified item, or a single one. I looked around the information about the sign, and I didn't see what I was looking for, that's why I'm asking.
Thanks.
@Delebird
Well I had a look at the code and it turns out that the command is supposed to be:
/sm edititem [name/id of item you want to edit] [one parameter - ItemID, DamageValue, Name, Price, Buy/Sell/Both/None] [new value for the parameter]
e.g. If I wanted to edit the price of dirt then I would use
/sm edititem dirt price 0.03
The documentation has been updated and I'm sorry for the confusion. :)
@Wizardo367
the command doesn't work at all for me.
It just keeps telling me to use the command again instead of some confirmation that the comman actually ran.
@Delebird
Your missing out the last parameter which is buy/sell/both/none, choose one and enter it at the end of the command.
e.g. /sm edititem dirt price 0.03 both
also I recommend using the autoprice command if you're looking to adjust the entire database to your economy.
I try to use /SM EditItem [ItemID, DamageValue, Name, Price, Buy/Sell/Both/None]
But it doesnt edit the item, it just shows the command?
I want to allow an item to be sold again after i blocked it, how do i do that?
I also want to edit the price of some items, how do i do that?
I tried "/sm edititem dirt price 0.03" and "/sm edititem dirt buy 00.3" neither worked
@hotrog2
Create a MySQL database and then enter the required information into the config file, simples. :D
How do you connect the plugin to MySQL?