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 maybe found a bug.

    found behavior:
    When player creates a finite showcase with for example 10 cobblestone.
    The player after creation crouches and uses the mouse to remove the showcase.
    The showcase is removed but the 10 cobblestone is nowhere to be found and also not added to the players inventory

    expected behavior:
    After removal of a showcase the items that are still in the showcase are dropped or returned to the players inventory directly.
  3. Offline


    Can showcase be used with a double slab? I would expect that it should be but it will not let me create a double slabbed showcase...
  4. Offline


    Works Perfect with Recommended Build (#1000) danke <3
  5. Offline


    Oh Cool! Looking forward to that :)
  6. Offline


    I don't find a very useful use for the tutorial ones, combined with items. Why would I need those? Just lots of signs or another plugin to read books/bookcases.
  7. Offline


    Someone requested this. I found it easy to be implemented so I did it.

    I developed a website for my plugins so I can update them faster.
    The upside is that I can upload the new version via an interface which let's me enter version number and release notes. Also, it can track download counts.
    The current downside is that the download is not wget-friendly.
    I'm working on it.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Sep 9, 2018
  8. Offline


    There is something i dont understand about your plugin : When First I make a finite showcase that contains 100 goldingots. Then I decide to remove the showcase. The gold is gone. Where did the 100 gold go?
  9. Offline


    It should ve given back to you. It's just a problem when your inventory is full. I plan to drop the items then.
    If your inventory wasn't full, try to relogin.
  10. Offline


    Thanks for your answer, and dropping them when the inventory is full seems like a very good idea.
    (I just introduced your plugin on my server and at least 3 persons began complaining about this. a lot of people seem to end up with a full inventory most of the time)
  11. Offline


    My inventory is always full :D

    And now you can also download 0.7.2 :D

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


    @narrowtux Thanks for the update - but what happened to a wget friendly download link? ;)
  13. Offline


    You can ask @ChrizC for help - he solved the php-download-wget-issue with his php downloader/counter/toolthing.
    ChrizC likes this.
  14. Offline


    Dude you should note that you now need bukkit [1000] (with 0.7) due to narrow/bukkitconrtib ;)
    Took us a while to figure out/remove and we are on 1000 xD
  15. Offline



    I went from 0.6x to 0.7.2 earlier - and without changing *anything* else, my server went from low RAM/CPU to almost crazy extreme usage. Immediately after I updated the console is spammed with the "Can't keep up" messages, which before the update were only sporadically.

    I normally would say its related to other things, but seeing the immediate change after only changing your plugin, I am slightly confused...

    I am not saying that it is Showcases for sure, actually I hope its just a freak coincidence!

    Any way I could get the last *not* 0.7 version? Just to confirm if it's linked? If its the same problem on 0.6x, I take it all back :)

  16. Offline


    Click on "Show the whole changelog" and then on download for the version you want.
  17. Offline



    After downgrading from an unrecommended build (don't know why I had it) for 1.7.3, Showcase bugs out for all showcases. You can't add or remove items from the showcase upon right click like you used to on my server. (as an owner)

    Extremely annoying. Is this just a coincidence? Either way, I've updated up to build #1000, and it still has the problem...

    EDIT - All showcases recognize their owner; they do receive money from transactions and can buy from it and get their money back.

    EDIT EDIT - Tricky thing. Finally found out that I did something wrong. Ignore my stupidity!
  18. Offline


    Can confirm the lag thingy with the new versions ;(
    Downgraded already to fix the lag
  19. please upgrade for latest RB and add Bukkit native permissions support :)
  20. Offline


    just upgraded to RB#1000 and im slowly testing all plugins on a test server before switching, and after getting showcase, this happens every time anyone quits the game
    i think the problem is with bukkitcontrib. the other server running 953 + showcase 7.1 does not have bukkitcontrib as it was not needed yet. no errors there
  21. Offline


    You gotta have another plugin that doesn't like showcase cuz I never get that error.
  22. Offline


    had an issue on my server sine latest RB and 95x builds uisng showcase ver 7 you may need to look at.

    Using the exhange shop does not work, U make your slab and go to add an item then you type exchange and press enter, It replys " Invalid command" or someting like that and I did this as OP.
  23. Offline


    Do you have any chat altering plugins installed?
  24. Offline


    This plugin is working good with Bukkit 1000, thx.
  25. Offline


    Global note!!!
    You need to have bukkit rb 1000 to get this working now. This is because BukkitContrib also needs 1000.
  26. Offline


    Any idea on the lag issues some of us have experiencing since 0.7+ with this? Or just coincidence?
  27. Offline


    2011-07-19 16:37:57 [SEVERE] Error occurred while enabling Showcase v0.7.2 (Is it up to date?): entry
    java.lang.NullPointerException: entry
    at Source)
    at java.util.jar.JarFile.getInputStream(Unknown Source)
    at de.moritzschmale.Showcase.ShowcaseMain.copyFromJarToDisk(
    at de.moritzschmale.Showcase.ShowcaseMain.onEnable(
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(
    at net.minecraft.server.MinecraftServer.e(
    at net.minecraft.server.MinecraftServer.a(
    at net.minecraft.server.MinecraftServer.init(


    craftbukkit 1000
  28. Offline


    Found the problem. BukkitContrib Does not like PermissionsBukkit and vice versa.
    is BukkitContrib really necessary for showcase to function?
  29. Offline


    Yes, because It delivers original block and item names. When you have custom names set (which also will displayed in the tooltip in the client) showcase displays them instead.
    The author is aware of this problem and will provide a solution shortly. I will notify all here when its fixed.
  30. Offline


    great, i will be waiting. thank you

    CONFIRMING: PermissionsBukkit's Latest version fixed the incompatibility issues with BukkitContrib
    no more errors when disconnecting now =)

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


    Cool, thx ;)

    though so :D
    It's in the works ;)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Sep 9, 2018
Thread Status:
Not open for further replies.

Share This Page