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


    Thanks for the iConomy 6 update! :)

    Would it be possible to allow a user to change the price an item is sold for in his/her showcase without having to remove it?
  3. Offline


    Having problems. My users have the permissions, but can't make showcases, only OP's can.
    "Warning] Showcase (next line) Showcase creation cancelled
    Also: What does basicmode mean?
  4. Offline


    I have a problem, when someone buys something it shows the number(s). Is there a fix? I am using OKChat.
  5. Offline


    This is a really cool plug-in that I would like to use on my server, although it only supports iConomy style economies.

    Do you think you could make this plug-in accept physical currencies (for example, cookies)?

    I am thinking that when you decide to buy something the shop will automatically take the cookies out of your inventory, or you could have a theoretical "shopping cart" where when you "check out" of the store, it removes the cookies from your inventory.
  6. Offline


    Just a note, the 'OtherBlocks' mod conflicts with this one, After installing it all shops didn't work, current shops were still there but were unable to use them. After removing 'OtherBlocks' mod Showcase ran correctly :)
  7. Offline


    When I try to set up exchange, when it gets to exchange rate it says "Can't find key for translation!"

    What is this?
  8. Offline


    This will work with the New shoptype I'm currently writing.
    That's a weird bug.
    Basically, this asks you to enter the rate like this: 1:1 the left is what the player gets the right is what he pays for that.

    Is that an actual plugin or a mod as in modifying source files of the craftbukkit.jar?

    Maybe try another chat plugin like iChat.

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


    I tried that, but I'm doing a test I have 9 diamonds for a diamond block (as a test) and when I punch it, it says "You have been given 0 diamonds."
  10. Offline


    You can't buy from your own shop currently, what you are seeing is the process of taking the payments out. So when someone buys from this, the diamonds will be added to that "inventory" and you can take away that with a click.
  11. Offline


    Oh ok, then I'll try it.
  12. Offline


    Plugin - and it's probably my fault :/ Looking into it :)
  13. Offline


    Whats the conflict in particular?
  14. Offline


  15. Offline


    Really disappointed that this plugin always seems to be the problem on my server. Whenever i get an issue, it's always down to this plugin, and removing always fixes it. It's a shame really, i love this plugin, maybe when it's more stable i will give it another go.
  16. Offline


    Instead of making inclusive presumtions, you could do an actual bug report that'd help me fixing the issue.
    But I can say, that most of the issues will arise from Spout.
  17. Offline


    is there any difference if u use minecraft client and spoutcraft client? if yes, what?
  18. Offline


    Not with this version of Showcase. With the new Shop showcase comes some GUI that will make buy, sell and setting up even easier.

    EDIT: When you have spoutcraft installed, you might benefit from other plugins which already have GUI support implemented.
  19. Offline


    looking forward to this... Will it be soon as I am planning a tutorial video of it for my servers users.
  20. Offline


    Will still take a while, also I'm waiting until the Spout 1.1 release because I use some features that are currently not in the released version of spout (but in the dev preview).
  21. Offline


    ok will hold my horses for now then - grats on working on Spout btw... looks like a lot of fun!
  22. Offline


    could you support spout?
  23. Offline


    Look above you, see a discussion about spout ;)
    I'm a Spout developer BTW.
    Thanks :)

    I disabled the current GUI in the latest version, you may want to download that.
    I didn't test all the assistants with the changes I made, and it turns out that Spout Labels aren't that relieable in v1.0.1 (will change with v1.1.0)

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


    have you got a beta or something to test? I NEED a GUI :D
  25. Offline


    ok wait i shall
  26. Offline


    Could we get this to work with double steps aswell? I want to make a nice counter with the items on it.
  27. Offline


    Don't like Spout? Go into the change log and download 0.6.12. It doesn't use spout and works with CB #1060. Tell me if it works for you too!
  28. Offline


    The GUI in Spout doesn't tell you what item your buying or how many are in stock.

    Is this a planned feature?
  29. Offline


    Used it and it doesn't work.
  30. Offline


    So. I've been having showcase problems for days. Now it got bad. I, an admin, tried to use a showcase. It made me completely unable to chat, no matter what.

    My players can't create showcases.

    Here;'s a snippet from my server.log

    I'm on CB1000

    Show Spoiler

    2011-08-17 23:13:45 [SEVERE] Could not pass event PLAYER_CHAT to NarrowtuxLib
    java.lang.NoClassDefFoundError: info/somethingodd/bukkit/OddItem/OddItem
    at de.moritzschmale.Showcase.ShowcaseCreationAssistant$1.onPageInput(
    at com.narrowtux.Assistant.Assistant.onPlayerChat(
    at com.narrowtux.event.NTLPlayerListener.onPlayerChat(
    at org.bukkit.plugin.RegisteredListener.callEvent(
    at org.bukkit.plugin.SimplePluginManager.callEvent(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.Packet3Chat.a(
    at net.minecraft.server.NetworkManager.b(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(

    I have given all the PLayer permissions to the players and it doesn't let them make it.
  31. Offline


    Install OddItem or prevent clicks with empty hand on a showcase.
Thread Status:
Not open for further replies.

Share This Page