CLIShop
CLIShop
CLIShop is a plugin that creates a command-based virtual free market for players, much like VirtualShop which no longer works.
Installation
CLIShop requires Vault and a working economy plugin.
Usage
After plopping this into your plugins folder, your players will have a couple of commands to use, which is explained in the commands section.
Configuration
config.yml
sell_damaged_items: false #Can players sell damaged tools or colored wool? price_limit: 5000000.00 #Maximum price players can set on items (default 5,000,000) shorthand: true #Shortens length of market list (more like VirtualShop's)
SALES
I don't recommend messing with this file. It contains the items players are trying to sell.
Commands
Player
/cshop - Master player command
/cshop help - Get help on using CLIShop
/cshop sell [item] [amount] [cost_per_one] - Sell amount of items for cost per one (taken from inventory)
/cshop sell hand [amount] [cost_per_one] - Sell the amount of [item in your hand] for cost per one
/cshop buy [player] [item] [amount] - Buy the amount of items from player
/cshop list <page> <item> - Show the CLIShop market shopping list. Page defines the page to view. Item filters the shop by only displaying those selling the item.
- CLIShop pages do not consume memory; it is processed on the fly.
Admin
/csadmin reload - Reload CLIShop configuration files.
Permissions
clishop.player - Grants permissions to use all /cs commands
clishop.admin - Grants permissions to use all /csadmin commands
Source
The source can be found at GitHub, which is open to the public.
@carbine781
carbine I have the same issue, nothing is craft-able and the durability is messed up on tools like pickaxes.
However, there is a solution to this. Allowing the selling of used/partially broken items fixes this and you can now craft! Hope this helps
HORRIBLE ERROR GLITCH
So I thought That The Plugin Was Working Fine, and me and the rest of the staff on my server were happy that we found a working plugin UNTIL we realized that it doesn't work. Everything works EXCEPT when you buy something, it has -1 durability or something weird on it. Each item that you buy has a -1 at the end of the item id, and you can't craft with the item. Please fix this asap.
This would be ultimately awesome, if we could sell monster eggs and potions. :) Maybe even make it so we can sell weapons with enchantments, but that isn't as important as the eggs and potions.
Any word on whether or not this is working now on 1.4.4? I would really like to use this plugin over any of the chest or sign shops. Having a virtual shop is what I really want, and this would be perfect for the server I am setting up.
As for my java, I will update it today and see if that helps any.
Okay, it officially does NOT work with any bukkit builds for 1.4.4 And I have updated my java. This really sucks because I love how this plugin looks. Hopefully you can get us an update soon.
@haduke
It's working on 1.4.2 Recommended 0.2, not sure about development build. Is Java updated?
Does this plugin work with MC 1.4.2 or MC 1.4.4? Because I have tried both the recommended build for 1.4.2 and the developmental build for 1.4.4 and this plugin just won't load up in either of them. I always seem to get the following error in my server console as soon as I fire it up:
20:39:26 [SEVERE] Could not load 'plugins\CLIShop.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException java.lang.UnsupportedClassVersionError
: ramirez57/CLIShop/Main : Unsupported major.minor version 51.0
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
ava:154)
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
java:305)
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
.java:230)
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:227)
at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:205)
at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(Server
ConfigurationManagerAbstract.java:51
at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11)
at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:111)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:398)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
Caused by: java.lang.UnsupportedClassVersionError ramirez57/CLIShop/Main : Unsu
pported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
java:44)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
java:29)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
ava:143)
... 9 more
Thanks for 1000 downloads. I plan to re-write the storage of the shop (however, this means to get a future version, the shop must be cleared). It would use a lot less memory and be more efficient.
Would there be a way if you want to buy an item you can just do /cshop buy diamond , instead of /cshop buy (player) diamond (price) . I just need it to be simple and quick for my players.
0.3.1 is coming It's awaiting approval. This fixes two major bugs in which you could not process the market list due to a missing player file. This project's GitHub is updated if you do not wish to wait.
@skylord_will
Try it out and see. I will only develop for full recommended builds published by Bukkit and not Beta builds.
Hey, Does this work with the 1.4.2 Build?
Thx
Just tested this on the new 1.3.2-R3.0 build. It seems to be functioning normally. Please report any problems.
@zaxome
Sorry for the late response, but I'm not an active developer at the moment. I've just tested it vanilla with the new build and it is working fine. Perhaps it is a plugin conflict or permissions problem. I cannot provide further information about the problem at this time.
I have Bukkit 1.3.2 installed. When I try to use /cshop list it displays this error:
"An internal error occurred while attempting to perform this command"
The plugin is awesome, I was looking for a shop plugin like virtual shop and this one is good or probably even better than it. Keep up the good work!
Update: The items that are being sold are visible, but the error still appears.
Anyway to import VirtualShop items into this plugin?
can you add mySQL feature? :D
@borgs
Yes, I plan to change the command in the future. For now, there are aliases:
cs - clishop
csadmin - csa, clishopadmin
I'll probably change to /cshop or something.
when i do /cs it wants to use world edits craftscript :-(