Inactive [MECH/ECON] Showcase v0.8.1 - Create visual shops by spawning drops on slabs [1.1-R5]

Discussion in 'Inactive/Unsupported Plugins' started by narrowtux, May 17, 2011.

Thread Status:
Not open for further replies.
  1. Offline


    Version 0.8.1​
    As supposed in this thread, I created a plugin that lets you put items into glass blocks (now steps, it's notchs fault) to showcase them. This is useable for shops, to show what's for sale there, or to make clear what type of farm you built.
    • Showcase all items in a half-step Block
    • Block protection (you can't break the step block and the block below it to prevent that the item falls down)
    • Multiworld
    • Items in a showcase can't be picked up
    • Only the player who created a showcase can remove it
    • Prevents despawning of items (Normally, drops disappear after 5 minutes)
    • You can setup finite and infinite shops
    • DropChest support (disables DropChest for absorbing the showcased items)
    • WorldGuard support (works out of the box)
    • Localisation
    • Can show custom item names through BukkitContrib
    • Economy support:
      • iConomy 4 & 5
      • BOSEconomy
      • Essentials Economy
    Download & Source-Code
    Download Showcase.jar
    Browse Source-Code on Github
    You will need an economy system if you want shops.
    This will install NarrowtuxLib automatically!
    Please donate, if you really like this ;)
    Show Videos (open)

    When you have got issues, please read this:
    Issue Report (open)

    1. Please, first check if you have got the most recent version of Showcase and the most recent recommended build of Bukkit.
    2. Then, check if the bug is already listed in the "Known Bugs" section.
    3. After doing step 1+2, report the bug with at least this information:
      • Version of Showcase
      • Version of Bukkit
      • If possible, a step-by-step explanation of the bug
      • If possible, console errors
      • When you think that this has got to do with another plugin, please list all your plugins like this:
        • PluginA, PluginB, PluginC ...
    This will be incredible helpful for me to fix it faster.

    You don't actually have to retype everything I typed here, but if you'd take it as a guideline which content you should include in your issue report, it's more helpful ;)

    Please, don't come here just to say "This doesn't work.". This says nothing.

    Adding a showcase
    1. Start sneaking!
    2. Right-click a half-step block with the item in your hand you want to showcase
    3. An assistant will ask you which type of Showcase you want to add. Type the text before the colon :))
    4. Depending on the type you chose, the assistant will ask some extra questions, follow the assistant to finish showcase creation.
    Removing a showcase

    1. Sneak
    2. Right-click on a showcase. If this was a finite showcase or an exchange showcase, you will get your items back.

    ActionPermission-NodeWithout Permissions
    Create a basic Showcase.showcase.basicPlayer
    Create a infinite shop Showcase.showcase.infiniteOperator
    Create a finite shop Showcase.showcase.finitePlayer
    Create an exchange Showcase.showcase.exchangePlayer
    Buy from a finite shop
    Buy from an infinite shop
    Removing a showcase of other players.showcase.adminOperator

    The column "Without Permissions" explains which user-type can use this permission when no Permissions system is installed.
    What are shop showcases?
    A shop showcase can be used to sell items to your players. There are 2 types of shops now:
    1. Infinite shop. This one has an infinite amount of items. The money that the players give to buy an item will go to nirvana
    2. Finite shop. This one has that number of items which the owner has set up. The owner will get the money from which the items were bought.
    How can a Player buy items from a shop showcase?

    1. Click on the Showcase. The price per item and the available amount will be displayed.
    2. Type in the number of items you want and hit enter. A message will show you the success of the checkout.
      • Type 0 to abort checkout
    How can you refill a finite shop showcase?

    1. Click on it
    2. Type in the amount of items to refill. Negative values will remove that amount from the showcase.
    3. Walk away or type 0.

    The showcase command handles manual saving and loading
    /showcase save
    Saves the items to showcases.csv
    /showcase load
    Loads the configuration, translation and items without saving (Use with caution)
    /showcase reload
    Saves and loads everything after that. Useful when some items aren't in place and you want to quick-fix that.

    The configuration file is auto-generated and is called showcase.cfg
    Here are the configuration possibilities:
    • basicmode : this decides if the plugin should operate like in version 0.2 or before (Just the basics)
    • priceforbasic : this adds a price to the basic showcases
    • priceforfinite : this adds a price to the finite showcases
    • priceforexchange: this adds a price to the exchange showcases
    • removewhenempty: when set to true, a finite showcase will be removed when it's amount hits 0
    • showcaseprotection : turn this to false to be able to remove showcases from other players (griefers) (you should now use WorldGuard instead of this one ;) )
    • locale: standard is en-US. The german translation which is included in the jar-file is de-DE. If you type that in, it will copy the german file from the jar to your plugins folder
      • You can change the translation very easily by editing the existing locale.
      • Colors are supported, just add something like [GREEN] or [DARK_RED] to the text.
      • You can add newlines with \n
    • autosaveinterval: the time between two auto-saves in seconds. Standard is 60 secs. Use -1 to disable autosave.

    Currently available translations:

    Version 0.8.1
    See the whole changelog

    • Spawn multiple items in the same glass block (up to 4, would be aligned nicely)
    • Verify that there is no free space below the glass block before adding a showcase
    • Maybe let the showcase glow when you placed torches, glowstone or lava in it
    • Custom messages (aka localisation)
    • Sell-Showcases
    • DropChest support (so the items inside the glass won't be absorbed by a Dropchest)
    • Limit the amount of Showcases per player
    • Add a price that the creator of a showcase has to pay (there would be an independent price for each basic, infinite and finite showcases)
    • Linking infinite shops to banks (money spent for items goes there)
    • Rent a showcase for money/day
    • Autosave with configureable interval
    • Commands for save, load and reload
    Crossed items are already done!

    Known bugs
    • This plugin conflicts with some chat-altering plugins (i.e. bColoredChat) this is because the authors don't know how to correctly set up the priority of events.
    • Normal players (the ones that aren't operators) can't use showcases that are in the spawn-protection area. Either disable the spawn protection or place the showcases to an other location (Disable spawnprotection by setting "spawn-protection-size=0" in the file)
    • With the latest dev preview (not the recommended build), you're able to make slabs to double steps. I've got to investigate until they propose it as RB.
    • ATM, Showcases won't save enchantments. So please just don't try to sell yours because that wouldn't work either.
  2. Offline


  3. Offline


    Guys I found a way to fix the plugin!!!
    Do you guys want it??
    You can see it running on my server!
  4. Offline


    All of you complaining about how narrowtux doesn't do anything or update his plugins, how about actually being considerate? You do realize people are still waiting for a recommended build of 1.2? Making the comments that you're making isn't going to get narrowtux to update the plugin any faster.

    If you're using a Beta or Dev build of 1.2, that is your problem. Sure, a large majority of developers are updating their plugins accordingly throughout the dev build releases, but in my opinion - they shouldn't. They can develop their plugins as the dev builds are released, but publicly releasing those updates shouldn't be done.


    Fairness. This would force all bukkit servers to stay on a recommended build.

    For those of you moving over to SCS, your loss. The plugin commands of SCS are more of a hassle over anything else, and goodluck converting your current showcase shops, you'll probably have to close them all.

    I prefer Showcase and I shall wait patiently for a recommended build of 1.2, as well as a compatible version of Showcase. Showcase is the original plugin and it has a much friendlier, clean set up.
  5. Offline


    Cool Story Bro,
    The only part u missed is that its working!
  6. Offline


    lol, show us the way to make it working on 1.2 or stop writing this
  7. Offline


  8. Offline


    I´ll try it.

    It doesnt work for me. I can create only 1 showcase and when I try to make another shop it writes some error with player chat event

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jul 16, 2016
  9. Offline


  10. Offline


    Does not work. Worked the first two times, but refill and creating is weird.
  11. Offline


    Update for 1.2.3?
  12. Offline


    I know have fun with it we will just wait

    Guys Join It is working there with no errors at all!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jul 16, 2016
  13. Offline


    Update please!
  14. Offline


    Riiiiight. Why would server owners who are here quit and go to your server? The plugin you posted allows people to buy, but not create, showcases.
  15. Offline


    Bro its working on my server do u want me to send the .jars?
  16. Offline


    Yea i would like the jar file's
  17. Offline


    I was using the ones you provided a few posts up. Have you updated them since that?
    I did some testing and while my users and I are able to purchase from pre-existing markets, we are unable to create new ones. If it works perfectly for you, send me the .jar's and I will test them out on my server and get back to you.

    If they do work, I would submit that you become the new primary developer of the plugin.
  18. Doesnt work.
    i get these when starting server:

    2012-03-12 16:12:07 [INFO] SubClassFactory parent ClassLoader []
    2012-03-12 16:12:08 [INFO] Entities enhanced[0] subclassed[1]
    2012-03-12 16:12:08 [SEVERE] Could not load 'plugins\showcase2-2.0a1-SNAPSHOT.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bukkit/event/block/BlockListener
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    at org.bukkit.craftbukkit.CraftServer.<init>(
    at net.minecraft.server.ServerConfigurationManager.<init>(
    at net.minecraft.server.MinecraftServer.init(
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/event/block/BlockListener
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at Source)
    at Source)
    at$000(Unknown Source)
    at$ Source)
    at Method)
    at Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.narrowtux.showcase2.ShowcaseMain.<init>(
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    ... 8 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.block.BlockListener
    at$ Source)
    at Method)
    at Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 27 more
    2012-03-12 16:12:13 [INFO] [NarrowtuxLib] Enabling NarrowtuxLib v1.3.0
    2012-03-12 16:12:13 [INFO] File C:\Users\Jani\Desktop\Minecraft 1.2\plugins\NarrowtuxLib\narrowtuxlib.cfg not found.
    2012-03-12 16:12:13 [INFO] Version: 130
    2012-03-12 16:12:13 [SEVERE] Error occurred while enabling NarrowtuxLib v1.3.0 (Is it up to date?)
    java.lang.NoSuchMethodError: org.bukkit.plugin.PluginDescriptionFile.getAuthors()Ljava/util/ArrayList;
    at com.narrowtux.narrowtuxlib.NarrowtuxLib.sendDescription(
    at com.narrowtux.narrowtuxlib.NarrowtuxLib.onEnable(
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(
    at net.minecraft.server.MinecraftServer.t(
    at net.minecraft.server.MinecraftServer.a(
    at net.minecraft.server.MinecraftServer.init(

    please update? jesus christ, this doesnt work. showcase 2 doesnt work..
  19. Offline



    My post had nothing to do with whether or not this plugin was working. I was simply saying what I wanted to say to those who were complaining. Followed by my stated opinion on how the unfolding of 1.2 should have come about.
  20. Offline


  21. Offline


    Lol, showcase 2 isn't even finished yet. Of course it's not going to work.

    In other news, the plugin seems to be at the bottom of this guy's list. Showcase may or may not be abandon. Most devs abandon their popular projects a lot, it happens. Just look at xcraftgate, it was abandon after it became a widely used plugin.

    The issue here is either Showcase is abandon, or the dev is waiting for a recommended build of 1.2 to update it. I support him waiting for 1.2 to supply the update. I'm keeping my server at 1.1 till there is a recommended 1.2 update and currently some plugins or something are causing errors. Not as bad as 1.2 though so I deal with it.

    Either wait, or find another plugin.

    Also if you choose to download someone else's jars, back up your server in case they just gave you a virus. Just a friendly little reminder to virus illiterate people out there.
  22. Offline


    i dont think that works, as the showcase version is not for 1.2.3. try out this one here:
    this is the most recent dev build and the changes say its updated to 1.2.3 (and vault).
  23. Offline


  24. Offline


    Trying the latest dev build of showcase on #2063. I get some problems with the narrotuxlib. I have tried updating it manually, I also deleted it and let showcase download and install it on start up, both give the same version and errors.

    If I've overlooked something or missed something, I apologize.
  25. Offline


    use this narrowtuxlib here:
    it was posted in the original post.
  26. Offline


    Please be patient while I update. You can get a prerelease which is working with 1.2.3 over at
    It also features full Vault support, which should resolve all your Permissions and Economy issues. Vault is optional, when you don't have it, it will fall back to SuperPerms (which is built into bukkit).
  27. Offline



    Also, I updated to your latest dev build and all our showcases remained but the prices were reset to 0. Cant enable on our server again until I know whats causing that =/
  28. Offline


    Error report:
    Latest dev build of showcase and tuxlib - March 12th builds

    It works fine but with 1 issue:
    All prices become $0 No matter what you enter.
    No errors on console, though 1 error while setting the price, ingame.
    "error formatting: entered price %f"
    Price then becomes 0.00

    This is both on Finite and infinite shops.
  29. Offline


    Yes. I was using the latest dev build from the getspout link, at the time #31. I just updated to build #32 released just a couple of hours ago, and the problem has disappeared.

    This is great! My 1.2.3 server is now running without any errors from any plugins! Hopefully there isn't any major bugs with anything. If there is, oh well, will just deal with it until it is fixed.

    Thanks for the work on this amazing plugin narrowtux.
  30. Offline


    Im getting a weird error in my console and it won't let me use the plugin,
    It reads " could not pass event PlayerInteractEvent to Showcase "
    It won't let me make a showcase, but when I click it with nothing in my hand, it says " You must have something in your hand"

    I have all the permissions and everything, but I still get this error.

    heres what appears in the log

    2012-03-13 15:41:27 [SEVERE] Could not pass event PlayerInteractEvent to Showcase
    at org.bukkit.plugin.RegisteredListener.callEvent(
    at org.bukkit.plugin.SimplePluginManager.callEvent(
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(
    at net.minecraft.server.ItemInWorldManager.interact(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.Packet15Place.handle(SourceFile:39)
    at net.minecraft.server.NetworkManager.b(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.NetworkListenThread.a(
    at net.minecraft.server.MinecraftServer.w(
    Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.RangeCheck(Unknown Source)
    at java.util.ArrayList.get(Unknown Source)
    at com.iCo6.util.Common.formatted(
    at com.iCo6.iConomy.format(
    at com.nijikokun.register.narrowtuxlib.payment.methods.iCo6.format(
    at com.narrowtux.showcase.ShowcaseTypeSelectionPage.getPrice(
    at com.narrowtux.showcase.ShowcaseTypeSelectionPage.<init>(
    at com.narrowtux.showcase.ShowcaseCreationAssistant.<init>(
    at com.narrowtux.showcase.event.ShowcasePlayerListener.onPlayerInteract(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    ... 12 more
  31. Offline


    Please help .....
    2012-03-13 22:36:46 [INFO] [Showcase] Enabling Showcase v0.8.1.32
    2012-03-13 22:36:46 [INFO] Downloading NarrowtuxLib.jar (80kb) ...
    2012-03-13 22:36:47 [INFO] 45%
    2012-03-13 22:36:48 [INFO] Download finished
    2012-03-13 22:36:48 [INFO] [NarrowtuxLib] Enabling NarrowtuxLib v1.3.1
    2012-03-13 22:36:48 [INFO] Version: 131
    2012-03-13 22:36:48 [INFO] [NarrowtuxLib] v1.3.1 by [narrowtux] enabled.
    2012-03-13 22:36:48 [INFO] [NarrowtuxLib] Payment method found (BOSEconomy version: 0.7.0)
    2012-03-13 22:36:48 [SEVERE] Plugin Showcase is attempting to register event com/narrowtux/dropchest/api/DropChestSuckEvent, which does not exist. Ignoring events registered in class com.narrowtux.showcase.event.DropChestListener
    2012-03-13 22:36:48 [SEVERE] Exception in thread "Thread-10"
    2012-03-13 22:36:48 [SEVERE] java.lang.NoSuchMethodError: org.bukkit.plugin.PluginDescriptionFile.getAuthors()Ljava/util/ArrayList;
    2012-03-13 22:36:48 [SEVERE]    at com.narrowtux.showcase.Metrics.postPlugin(
    2012-03-13 22:36:48 [SEVERE]    at com.narrowtux.showcase.Metrics.access$100(
    2012-03-13 22:36:48 [SEVERE]    at com.narrowtux.showcase.Metrics$
    2012-03-13 22:36:48 [SEVERE]    at
    2012-03-13 22:36:48 [SEVERE]    at Source)
    2012-03-13 22:36:48 [INFO] [Showcase] Registered type [basic] (0 items loaded)
    2012-03-13 22:36:48 [INFO] [Showcase] Registered type [finite] (0 items loaded)
    2012-03-13 22:36:48 [INFO] [Showcase] Registered type [infinite] (0 items loaded)
    2012-03-13 22:36:48 [INFO] [Showcase] Registered type [exchange] (0 items loaded)
    2012-03-13 22:36:48 [INFO] [Showcase] Registered type [tutorial] (0 items loaded)
    2012-03-13 22:36:48 [INFO] [Showcase] version has been enabled.
    2012-03-13 22:37:12 [INFO] [NarrowtuxLib] Disabling NarrowtuxLib v1.3.1
    2012-03-13 22:37:12 [INFO] [NarrowtuxLib] v1.3.1 by [narrowtux]
Thread Status:
Not open for further replies.

Share This Page