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



    1 request:
    a higher priority please.
  3. Offline


    I heard it was this true?
  4. Offline


    Does this plugin allow you to make Showcase where players sell their stuff? If yes, how?
  5. Offline


    I seem to be getting several errors in my server log, how do I fix them?
    182 recipes
    27 achievements
    11:47:55 [INFO] Starting minecraft server version 1.2.5
    11:47:55 [INFO] Loading properties
    11:47:55 [INFO] Starting Minecraft server on
    11:47:56 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.5-R1.0
    -b2149jnks (MC: 1.2.5) (Implementing API version 1.2.5-R1.0)
    11:47:56 [INFO] [iConomy] Loading iConomy v7.0
    11:47:56 [INFO] [Showcase] Loading Showcase v0.8.1.32
    11:47:56 [INFO] Preparing level "Main"
    11:47:56 [INFO] Default game type: 0
    11:47:56 [INFO] Preparing start region for level 0 (Seed: 3623090118495530698)
    11:47:57 [INFO] Preparing start region for level 1 (Seed: 3623090118495530698)
    11:47:58 [INFO] Preparing spawn area: 3%
    11:47:58 [INFO] Preparing start region for level 2 (Seed: 3623090118495530698)
    11:47:58 [INFO] [iConomy] Enabling iConomy v7.0
    11:47:58 [INFO] [iConomy - April Fools] Enabled (63 ms)
    11:47:58 [INFO] [iConomy] Hello, I'm Nijikokun. Yes, this is an April Fools joke
    , but '/money top' was fixed! Enjoy :) - Rare Version!
    11:47:58 [INFO] [Showcase] Enabling Showcase v0.8.1.32
    11:47:58 [INFO] [iConomy - April Fools] Purged accounts with default balance.
    11:47:58 [INFO] Downloading NarrowtuxLib.jar (80kb) ...
    11:47:59 [INFO] Download finished
    11:47:59 [INFO] [NarrowtuxLib] Enabling NarrowtuxLib v1.3.1
    11:47:59 [INFO] File L:\Servers\Test Server\plugins\NarrowtuxLib\
    g not found.
    11:47:59 [INFO] Version: 131
    11:47:59 [INFO] [NarrowtuxLib] v1.3.1 by [narrowtux] enabled.
    11:47:59 [INFO] [NarrowtuxLib] Payment method found (iConomy version: 6)
    11:47:59 [SEVERE] Exception in thread "Thread-10"
    11:47:59 [SEVERE] java.lang.NoSuchMethodError: org.bukkit.plugin.PluginDescripti
    11:47:59 [SEVERE]      at com.narrowtux.showcase.Metrics.postPlugin(Metrics.jav
    11:47:59 [SEVERE]      at com.narrowtux.showcase.Metrics.access$100(Metrics.jav
    11:47:59 [SEVERE]      at com.narrowtux.showcase.Metrics$
    11:47:59 [SEVERE]      at
    11:47:59 [SEVERE]      at Source)
    11:47:59 [SEVERE] Plugin Showcase is attempting to register event com/narrowtux/
    dropchest/api/DropChestSuckEvent, which does not exist. Ignoring events register
    ed in class com.narrowtux.showcase.event.DropChestListener
    11:47:59 [INFO] File L:\Servers\Test Server\plugins\Showcase\showcase.cfg not fo
    11:47:59 [INFO] File L:\Servers\Test Server\plugins\Showcase\showcase-en-US.csv
    not found.
    11:47:59 [INFO] [Showcase] copied new translation file for en-US to disk.
    11:47:59 [INFO] [Showcase] Registered type [basic] (0 items loaded)
    11:47:59 [INFO] [Showcase] Registered type [finite] (0 items loaded)
    11:47:59 [INFO] [Showcase] Registered type [infinite] (0 items loaded)
    11:47:59 [INFO] [Showcase] Registered type [exchange] (0 items loaded)
    11:47:59 [INFO] [Showcase] Registered type [tutorial] (0 items loaded)
    11:47:59 [WARNING] Permissions not found! All Operations are allowed!
    11:47:59 [INFO] [Showcase] version has been enabled.
    11:47:59 [INFO] Server permissions file permissions.yml is empty, ignoring it
    11:47:59 [INFO] Done (2.713s)! For help, type "help" or "?"
  6. Offline


    Would be amazing if an update for 1.2.5.. any one know a plugin similar to this? (All I want is the showcase, not the shop part.)
    DarkByte7 likes this.
  7. Offline


    This does not work for me, I've tried many times and whenever I just sneak and right click it does nothing however, when I sneak and right-click without an item in my hand, it says "you must have an item in your hand" but when I do, it does nothing, can you please help?
  8. Offline


    Hey guys, another tutorial if you can't get it working!
  9. Offline


    Bug Report
    Users cannot place finite item showcases. It goes through all the prompts until it hits the amount of items you put in, and just stops.

    This server is running CraftBukkit version git-Bukkit-1.2.5-R1.0-1-gcaee240-b2150jnks (MC: 1.2.5) (Implementing API version 1.2.5-R1.1)

    Showcase version

    Active plugins: WorldEdit, DisguiseCraft, HawkEye, PermissionsBukkit, NoCheat, LWC, WorldGuard, FoundDiamonds, NarrowtuxLib, Essentials, EssentialsProtect, Showcase, EssentialsSpawn, EssentialsChat

    There are no errors outputted into the console (oddly)

    If you wish to see the error for yourself, the IP is in the sig.
  10. Offline


    Plugin isn't updated, probably the reason that it isn't working.Not workin for me either.
  11. Offline


    Are you going to make an update???
    Because, I found a lot of these messages in the console
    2012-04-17 07:27:06 [SEVERE] Exception in thread "Thread-2609"
    2012-04-17 07:27:06 [SEVERE] java.lang.NoSuchMethodError: org.bukkit.plugin.PluginDescriptionFile.getAuthors()Ljava/util/ArrayList;
    2012-04-17 07:27:06 [SEVERE]    at com.narrowtux.showcase.Metrics.postPlugin(
    2012-04-17 07:27:06 [SEVERE]    at com.narrowtux.showcase.Metrics.access$100(
    2012-04-17 07:27:06 [SEVERE]    at com.narrowtux.showcase.Metrics$
    2012-04-17 07:27:06 [SEVERE]    at
    2012-04-17 07:27:06 [SEVERE]    at Source)
    The Plugin is still working, but the CPU usage is higher then normal!

    I have the Bukkit Build #2149 for MC 1.2.5
    There are no errors with my other Plugins

    I very enjoy you Plugin, please go on with it!
  12. Offline


    hello somone on my server used showcase to duplicate items i dont really know how but there is a bug. my question is how can i make that no one except me can create shops i use pex and puted only showcase.buyinfinite perm for users but they still cand create the player shops
  13. Offline


    Update this plugin, because its really usefull and I really need don't leave this plugin without an update :)
  14. Offline


    Update please! D:
  15. Offline


    ive set all showcase creation nodes to false for a group, they have defaulted access nodes to buy though.
    however users can still create them, how is this please?
  16. Offline

    Mathew Alden

    Whatever happened to Showcase 2.0?
  17. Offline


    Can you please port it to CraftBukkit-1.2.5 RB1?

    Thanks. :)
  18. Offline


    It works fine till I use the Shift+right click
    But when I type in Finite, Infinite, Basic or anything else, It would just go on the chatting log.
    It won't work for the plugin

    What should I do?
  19. PLZZZZZZZ Update this man,...!
    I really need it.. it works fine on my server,
    I just keep getting this spammed in my console

    2012-04-17 07:27:06 [SEVERE] Exception in thread "Thread-2609"
    2012-04-17 07:27:06 [SEVERE] java.lang.NoSuchMethodError: org.bukkit.plugin.PluginDescriptionFile.getAuthors()Ljava/util/ArrayList;
    2012-04-17 07:27:06 [SEVERE] at com.narrowtux.showcase.Metrics.postPlugin(
    2012-04-17 07:27:06 [SEVERE] at com.narrowtux.showcase.Metrics.access$100(
    2012-04-17 07:27:06 [SEVERE] at com.narrowtux.showcase.Metrics$
    2012-04-17 07:27:06 [SEVERE] at
    2012-04-17 07:27:06 [SEVERE] at Source)
  20. Offline


    try opting out of metrics.
    Also, ive got a 1.2.5 server and this runs as described, except im having a permissions issue.
  21. Offline


    How about a 1.2.5 update? ^.^
  22. Offline


    Can people sell TO the showcase or only buy from the showcase?
  23. Offline


    To everyone on this page that was too lazy to read anything from the previous page:

  24. Offline


    Dead link
  25. Offline


  26. Offline


    I can't find the download i click on download but then it just brings up Contact Support from TetraGaming!
  27. Offline


  28. Offline


    Attached Files:

  29. Offline


    Showcase v0.8.1
    Bukkit 1.2.5 RB 1
    Items with their stacking behaviour changed with stackableitems plugin will be picked up and respawned creating a dupe exploit
    Plugin Conflicts StackableItems
    the only fix i can see for this is disabling shops for items specified in config or tracking the players inventory for specified items and removing them from their inventory and not allowing those items to be dropped near the showcase
  30. Offline


    Where is a update for the recent bukkit version? The plugin wont load on my server, and I have to have it. Please update it!
    MinopolisMc likes this.
  31. Offline


    Could not load 'plugins/Showcase.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.defineClass(
    at Method)
    at java.lang.ClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    at de.moritzschmale.Showcase.ShowcaseMain.<init>(
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
    at java.lang.reflect.Constructor.newInstance(
    ... 8 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.player.PlayerListener
    at Method)
    at java.lang.ClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    ... 27 more
    forresthopkinsa likes this.
Thread Status:
Not open for further replies.

Share This Page