ChestShopUtil
ChestStopUtil adds new utilities, features and user limitations to ChestShop, such as preventing certain items to be traded for certain users. The plugin is entirely configurable and it does also come with a local file, making you able to edit the output of the plugin.
Requires ChestShop in order to function.
Quote from ChestShopUtil:Features
- Set global max buy and sell prices.
- Disallow chestshops from being created in certain worlds.
- Disallow chestshop transactions in certain worlds.
- Prevent certain items from being used, such as air.
- Set per-item max buy and sell price.
- Limit players to a certain amount of shops.
- Disallow trading in certain time periods.
- Set a cooldown between shop creations.
- Prevent players from buying and selling too many items per day.
- Easy shop sign modification using a command, w/ economy support.
- Works just as if the player was placing the sign.
- Automatic update checker.
- The output is written to match chestshop's default output format, and the output is editable.
- Full permissions support & control.
Alternative: PrimeShop http://www.spigotmc.org/resources/primeshop.1113/
Got problem..
7:29:05 PM [SEVERE] Could not pass event PreShopCreationEvent to ChestShopUtil v1.2 7:29:05 PM org.bukkit.event.EventException 7:29:05 PM at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 7:29:05 PM at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 7:29:05 PM at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:486) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 7:29:05 PM at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:471) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 7:29:06 PM at com.Acrobot.ChestShop.ChestShop.callEvent(ChestShop.java:370) [ChestShop.jar:?] 7:29:06 PM at com.Acrobot.ChestShop.Listeners.Block.SignCreate.onSignChange(SignCreate.java:35) [ChestShop.jar:?] 7:29:06 PM at sun.reflect.GeneratedMethodAccessor941.invoke(Unknown Source) [?:?] 7:29:06 PM at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_55] 7:29:06 PM at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_55] 7:29:07 PM at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:318) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 7:29:07 PM at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 7:29:07 PM at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:486) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 7:29:07 PM at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:471) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 7:29:07 PM at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:1583) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 7:29:07 PM at net.minecraft.server.v1_7_R1.PacketPlayInUpdateSign.a(SourceFile:48) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 7:29:08 PM at net.minecraft.server.v1_7_R1.PacketPlayInUpdateSign.handle(SourceFile:9) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 7:29:08 PM at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 7:29:08 PM at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 7:29:08 PM at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 7:29:08 PM at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 7:29:08 PM at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 7:29:09 PM at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 7:29:09 PM at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 7:29:09 PM Caused by: java.lang.NullPointerException 7:29:09 PM at com.mrmag518.ChestShopUtil.EventListener.handlePreCreation(EventListener.java:93) [?:?] 7:29:09 PM at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7.0_55] 7:29:09 PM at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_55] 7:29:10 PM at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_55] 7:29:10 PM at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_55] 7:29:10 PM at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:318) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 7:29:10 PM ... 22 more
I'd love to see the option for admin shops to have dynamic pricing that adjusts slightly based on supply and demand.
@mrmag518
Ok, so it would work. And I already downloaded, (just add "/files/1" to your bukkit dev's page) but I won't open my server to everybody until this new version + some changes (;
@rfsantos1996
I will release it shortly after v1.0 has been approved by the BukkitDev staff, which is taking a surprisingly long time..
About your perrmission question; The higher the maxshops value is, the more prioritized it is. For instance, if ADude has 'csu.maxshops.50' and 'csu.maxshops.100', the permission with a value of 100 would be the effective one.
But this is usually handled by your permissions plugin automatically anyway, I know that PEX handles it (If the group 'Member' had csu.maxshops.20 and another group had the same permission with a different value, the second permission would be prioritized).
Nice plugin! And also, when the new "format of the database structure" will be released? (;
@EDIT: also, you can use "csu.maxshops.20" for Player and simply use "csu.maxshops.50" for VIPs or you need deny "-csu.maxshops.20" AND add "csu.maxshops.50"?