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


    You can configure that empty finite shops should be removed.
    Just set removewhenempty to true in you showcase.cfg
  3. Offline

    Mathew Alden

  4. Offline


    these are my plugins:

  5. Offline


    I'm having an item duplication issue atm. When I walk over the showcases it's giving me items. Eeeee.

    CB1000/Showcase 072
  6. Offline


    Which plugins do you have installed?
  7. Offline


    I absolutely love this plugin.. is there any way to use it with LWC? I would probably ditch a couple other plugins if I could. Great work!
  8. Offline


    First, thank you.
    What do you mean with using it with LWC?
  9. Offline


    Show Spoiler
  10. Offline


    Is any of the plugins handling with item pickups?
    I already checked vanishNoPickup.
  11. Offline


    I'm not sure. It could very well be a conflict. I just wanted to report it. I think I might stick with signs for now.

  12. Offline


    In almost every case it's a conflict.
  13. Offline


    showcase bug when use plugin chestharvester
    it make infinity item when put chest near showcase
  14. Offline


    Use dropchest :p
  15. Offline


    Hello, your plugin is really great. Thx for it. I have one idea to implement. Its possible to add "search" option so players can find more easily showcase shop with specific item? Something like /search [id, name] and then they get coords of the shop, price for item and owner info.
  16. Offline


    I have a suggestion/bug report:

    Can you implement a check to see if a shop is empty before removing it. I have often shift+right-clicked a shop to close it, forgetting to remove the items first and lost all the items. :(
  17. Offline


    Normally you get the items back, and if your inventory is full, they drop to the ground. It's not always working though, but he's fixing it.
  18. Is there a way to disable autosave notification? It's difficult to find important messages in the console/log with this enabled...
    Mathew Alden likes this.
  19. Offline


    Ok, now I could create my store. But the problem is that people can not buy.

    these are my plugins:

  20. Offline

    Mathew Alden

    Hi. I have an idea. Can you make a sixth type of showcase. This one works a little different than the others. It displays a gold bar (but can be configured to other things) but it doesn't sell gold bars, it sells money. Basically, instead of putting money in and getting items out, you put gold bars in and get money out. It spawns infinite money and destroys the gold bars put in.

    I'm using a plug-in called Gold2Economy that does this with chat commands, but it'd be so much cooler if it was integrated into a physical showcase shop.

  21. can you add a blacklist ? to prevent some items to be sold.
  22. Offline


    Not sure if anyone posted about this all ready. I'm getting a bug where players aren't really recognized as the owner of a showcase. When I hit my own showcase it asks me what I want to buy, I don't get any stocking options. Did something change or is this a bug? I tried making a new shop, but that didn't resolve the bug. I'm using CB1000 and Showcase 0.7.2.

    Nevermind, just found out it was changed. Left click = Buy interaction, Right click = Stock interaction.
  23. Offline


    is it possible to change the price for the items after installing a showcase
    there is no option for users and i tried it in the .csv but everytime the price reset to the old one
  24. Offline


    Users currently can't change the price ingame, when you do with the showcase.csv, follow this steps:
    1. /showcase save
    2. Edit showcase.csv
    3. /showcase load
    Saving before editing the file is highly recommended because otherwise it could cause item loss.
  25. Offline


    This comes up with other plugins enabled
    12:37:54 [SCHWERWIEGEND] Could not pass event PLAYER_INTERACT to Showcase
            at de.moritzschmale.Showcase.Types.RefillAssistant.updateText(RefillAssi
            at de.moritzschmale.Showcase.Types.RefillAssistant.<init>(RefillAssistan
            at de.moritzschmale.Showcase.Types.FiniteShowcaseExtra.onRightClick(Fini
            at de.moritzschmale.Showcase.ShowcasePlayerListener.onPlayerInteract(Sho
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
            at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            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(
    And this after a fresh reinstall bukkit 1000 + showcase + permissionsplugin(not the bukkit one)
    12:45:17 [SCHWERWIEGEND] Could not pass event PLAYER_INTERACT to Showcase
            at de.moritzschmale.Showcase.Types.BuyAssistant.<init>(
            at de.moritzschmale.Showcase.Types.FiniteShowcaseExtra.onClick(FiniteSho
            at de.moritzschmale.Showcase.ShowcasePlayerListener.onPlayerInteract(Sho
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
            at net.minecraft.server.ItemInWorldManager.dig(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            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(
  26. Offline


    You need an economy system to use the economy-based showcase types.
  27. Offline


    Gah silly me, testing on a local server.... this happens if you delete all plugins :p
    Gonna post later on if it lagged...
  28. Offline


    how do update from the zip file? i extracted it but i dont get the .jar file?
  29. Offline


    That's not a zip file!
  30. Offline


    nvm i git it :p
  31. Offline


    it may have been asked, and most likely answered, but does this "shop" plugin allow for players to sell to a showcase?

    i'd love to use this, unless a better version updates soon, because seeing the items is a big help especially with items like redwood, which sometimes just appear on signs as 17:1/2. this would also help new people, either to the server or to minecraft, see what items are what.
Thread Status:
Not open for further replies.

Share This Page