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


    I am having the same thing. Showcases look and work normally but after a while of playing in other areas I come back to notice multiple items floating on the slabs. Sometimes players can pick up the free items, sometimes they can't, even though the items are floating there. /showcase reload will stop the items from being picked up but sometimes the ghost item will still float there. Some more time goes by- more free items.

    Using: Showcase 0.8, RB 1.1-R3, official builds of WorldEdit, WorldGuard, CommandBook, My Worlds, BOSEconomy, bPermissions, Spout. I am NOT using NoLagg or anything like it. I would gladly supply any more info if needed. Great plugin, keep up the good work!
  3. Offline


    Our plugins: AuthMe, Chaircraft, Citizens, Courrier, Craftbook, Craftbook Circuits, Craftbook Vehicles, Default Commands, Dragon Travel, Essentials, Essentials Chat, Essentials Protect, LogBlock, LWC, mcMMO, NoCheat, Nolagg, Orebfuscator, Permissions Bukkit, Residence, Spout, Vault, WorldEdit
    This is a screenshot from the bug:
    We don't get errors. Slabs drop items to the ground but don't do it at all. They do it when the server starts and if it's started there are houndreds of items on the ground. When server run the items are still raining but sometimes it stops or sometimes only few item's on the ground. Now i deleted my old database , placed some items again and the bug is looks like fixed. This is my configuration:
  4. Offline


    Thanks that would be really nice.
  5. Offline


    Yea you can dupe items with showcase pretty easily. You just toss that exact item on the half step and wait a second or two then go pick up the item you tossed and an extra one.

    I have NoLagg on my server so maybe its the item stacking feature that is causing this?
  6. Offline


    NoLagg has a feature to prevent this, but maybe your NoLagg version is just outdated.
  7. Offline


    Hm, well I grabbed the latest one as of two days ago and if its not NoLagg then its something to do with Showcase itself.
  8. People are able to walk over items and pick them up some times. What happens is you see the item then it seems to drop and then you see two then you can pick one up but 2 still appear to be there. Really strange, On bukkit R4 using nolagg and essentialsEco but not spout.
  9. Offline


    This issue occurs more often with nolagg, but also occurs on its own rarely. Sometimes Showcase needs a "reload" or some items show an Entity error and can be picked up. Ive experienced that with Nolagg it happens like mad.
  10. Offline


    Very helpfull, I'm using this on my server but I use ChestShop and I don't want any others shops. I can give no permissions to everyone but it will be so awesome if you make an option or version for only showcase function (no shops) beacause if click on a slab there are lot about shop and I need to hit "basic". If you can make that you only need to sneak and click to showcase an item it would be so awesome. Also I found a bug. If you try to destroy slab from your showcase there is message that this is your showcase and you can't destroy it. I need to sneak+right click and then destroy. It's a bit annoying if you have hundreds of it.
    Cheers. Jantomedes
  11. Offline


    Question :

    Does it support PermissionsEX? seems everyone can do showcase reload, making showcases....
  12. Offline


    the permission nodes arnt working :( We are using Group manager i don't know if it is conflicting or what?

    - ben
  13. Offline


    when someone goes to buy or even check a shop i get errors such as: Right now these errors are related to the spawner eggs. Does it not support the eggs?

    16:16:21 [Server] INFO Fetching addPacket for removed entity: CraftCreeper
    18.02 16:16:21 [Server] INFO Fetching addPacket for removed entity: CraftSkeleton
    18.02 16:16:21 [Server] INFO Fetching addPacket for removed entity: CraftZombie
    18.02 16:16:21 [Server] INFO Fetching addPacket for removed entity: CraftSkeleton
    18.02 16:16:21 [Server] INFO Fetching addPacket for removed entity: CraftSkeleton
    18.02 16:16:21 [Server] INFO Fetching addPacket for removed entity: CraftZombie
    18.02 16:16:21 [Server] INFO Fetching addPacket for removed entity: CraftZombie
    18.02 16:16:21 [Server] INFO Fetching addPacket for removed entity: CraftCreeper
    18.02 16:16:21 [Server] INFO Fetching addPacket for removed entity: CraftZombie
    18.02 16:16:21 [Server] INFO Fetching addPacket for removed entity: CraftSpider
    18.02 16:16:21 [Server] INFO Fetching addPacket for removed entity: CraftSkeleton
    18.02 16:16:21 [Server] INFO Fetching addPacket for removed entity: CraftCreeper
    18.02 16:16:21 [Server] INFO Fetching addPacket for removed entity: CraftSkeleton
    18.02 16:16:21 [Server] INFO Fetching addPacket for removed entity: CraftSkeleton
  14. Offline


    btw items are still duplicating themselves. :S

    Well only happens when no lagg plugin is installed. anyway to prevent this by any chance?
  15. Offline


    I'm really loving how this works! When can we expect to see infinite SELL ability? I'd like this to work both ways to keep the economy flowing.
  16. Offline


    Hey i have a problem, where everytime i restart the server, all the items duplicate, and also they disapear altogether. Heres a pic,
  17. Offline


    I love this plugin. But could you maybe add the ability to do this for staircases and slabs? I made a staircase shelf in my bar and it would be great if it would work with that. Thanks!
  18. Offline


    The next recommended build is for Minecraft 1.2, R5, and I and everyone who uses this plugin will greatly appreciate it if you can get a head start on the plugin so it's update to support the new revision when Minecraft 1.2 is officially released along with Bukkit R5.
  19. Offline


    This Plugin is not compatible with newest update
    CB 1943 ( is the last version it works with plugin
    please update

    Show Spoiler

    Could not load 'plugins\Showcase 0.8.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bukkit/event/player/PlayerListener
        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/player/PlayerListener
        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.showcase.Showcase.<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.player.PlayerListener
        at$ Source)
        at Method)
        at Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 27 more
    Da Bozz likes this.
  20. Dont know about you but my friends cant freaking use it, im the only 1 who CAN use the shops... nothing happens when ppl hit.

    yes my players have <-- permission (using bPermissions)
  21. Offline


    hy, i have a BugReport for you:
    Craftbukkit: 1938
    Showcase: 0.8

    I get the following error when i try to destroy a showcase:
    17:37:31 [SCHWERWIEGEND] Could not pass event org.bukkit.event.player.PlayerInteractEvent to Showcase
            at com.narrowtux.showcase.types.BuyAssistant.<init>(
            at com.narrowtux.showcase.types.InfiniteShowcaseExtra.onClick(
            at com.narrowtux.showcase.ShowcasePlayerListener.onPlayerInteract(
            at org.bukkit.plugin.RegisteredListener.callEvent(
            at org.bukkit.plugin.SimplePluginManager.callEvent(
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(
            at net.minecraft.server.ItemInWorldManager.dig(
            at net.minecraft.server.NetServerHandler.a(
            at org.getspout.spout.SpoutNetServerHandler.a(
            at net.minecraft.server.Packet14BlockDig.handle(SourceFile:43)
            at net.minecraft.server.NetworkManager.b(
            at net.minecraft.server.NetServerHandler.a(
            at org.getspout.spout.SpoutNetServerHandler.a(
            at net.minecraft.server.NetworkListenThread.a(
            at net.minecraft.server.MinecraftServer.w(
    oh and is it possible to get an option which deactivate the moving of the items? i think it could solve some problems with other plugins (take a look at BlocksOnGlass then you know what problem i mean)

    or is it possible to get a version which use pressureplates? this could prevent the problem with BlocksOnGlass
    //edit: i tried it and it prevent the problem with BlocksOnGlass, but then i can destroy the block under the plate and i don't know why
  22. Offline


    Hi All

    I am setting up a Server Shop -which is pretty straight forward. However is there any way to enable players to also sell their goods to the shop? Its a great plugin but I have a very small MP server with a few friends and thought a server shop that we could both buy and sell from/to would be a nice way to earn income as well as spend your money.
  23. this isnt the best plugin to get for server , as u see the plugin is barely updated and the creator wont even answer to questions. Ive had my proplem with players not being able to buy items / even see any message when hitting shop blocks for like few months now. Ive not ever got any kind of answer. I suggest u to use ChestShop or something.
  24. Offline


    I think this is a great plugin but when I want to make a shop (crouch and right-click it), it says: [image uploaded].
    I have the newest version of the plugin and Bukkit.

    Attached Files:

    • Err.png
      File size:
      160.7 KB
  25. Offline


    Ow f*ck... You haven't updated the plugin for the newest Bukkit version :D
  26. Offline


    when you mean 1.1-R4 with the newest Bukkit version, then it should work
  27. Offline


    I got a problem...
    My friend and I just finish a chinese Translation..What text codec should I save?

    ===== Problem Solved =====
  28. I found a bug.
    After some time I can take them in my inventory :(
  29. Offline


    Great plugin! But one more improvement is necessary: people should be able to change the prices that were set previously. Otherwise, every time a player wants to change the price, he must remove the shop and create a new one again.
  30. Offline


    It gives me an option for a "tutorial" shop... and when it asks which kind i want to set up, i'll type basic and it says [WARNING] showcase

    any ideas?

    [​IMG]Also, I have all the permission nodes under my group, but it's not working. I've tried older versions too. When I OP myself it works. But with the nodes it doesn't.

    EDIT: Forget that, It's the plugin WORD REPLACE that it does not work with. I suggest you look at that :] haha

    Another idea, Allow players to sell to infinite shops, so they can also make money? :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jul 16, 2016
  31. Dont know about you but my friends cant freaking use it, im the only 1 who CAN use the shops... nothing happens when ppl hit.
    Yes my players have <-- permission (using bPermissions)
Thread Status:
Not open for further replies.

Share This Page