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


    Hay can you make it so people can buy and sell instead of just buy
  3. Offline


    i really love you idea but i got a problem i lost all variability of my blocks in my server :confused: all stab like the grey stab. i lost my mossy stonebricks and all my wool when we place it it become black wool.. if you try place pink, white, red.. etc... become a black wool! and now man :(?
  4. Offline


    I have the same problem error msg after crateing a finite shop...but infinite still works!
    many players get pissed off now :p

    here are the error

    2011-12-24 10:35:41 [SEVERE] Could not pass event PLAYER_CHAT to NarrowtuxLib
    at org.bukkit.craftbukkit.inventory.CraftItemStack.clone(
    at org.bukkit.craftbukkit.inventory.CraftItemStack.clone(
    at com.narrowtux.showcase.ShowcasePlayer.remove(
    at com.narrowtux.showcase.types.FiniteShowcase.createShowcase(
    at com.narrowtux.showcase.ShowcaseCreationAssistant.onAssistantFinish(
    at com.narrowtux.narrowtuxlib.assistant.Assistant.stop(
    at com.narrowtux.narrowtuxlib.assistant.Assistant.onPlayerChat(
    at com.narrowtux.narrowtuxlib.event.NTLPlayerListener.onPlayerChat(
    at org.bukkit.plugin.RegisteredListener.callEvent(
    at org.bukkit.plugin.SimplePluginManager.callEvent(
    at net.minecraft.server.NetServerHandler.a(
    at org.getspout.spout.SpoutNetServerHandler.a(
    at net.minecraft.server.Packet3Chat.a(
    at net.minecraft.server.NetworkManager.b(
    at net.minecraft.server.NetServerHandler.a(
    at org.getspout.spout.SpoutNetServerHandler.a(
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.w(
  5. Offline


    I am currently running my server on a computer that does not have internet access. Unfortunate side effect of being a deployed soldier. Where could I manually download the new NarrowtuxLib file for Showcase? Thank you!
  6. Offline


    it sad :p we need solutions!
  7. Offline


    A suggestion I have is make it so we can make infinite showcase and set the owner of it to server. That way the person who made it wont profit off it.
  8. Offline


    as admin i made a finite shop fine but when a nonop did it said the pass to chat error
  9. Offline


    Is there anyway you could make it integrate with Residence so that when another player owns the property, you cannot setup a showcase?
  10. Offline


    Run fine on my server, but , when a player bought an object, the vendor receive 2 similar notifications, and just 1 can be read
  11. Offline


    This is a great plugin indeed, but after a while of usage I noticed it began to fail, spawning entities in an incorrect chunk. I get a bunch of those errors in the console:
    10:40 PM [WARNING] Wrong location for net.minecraft.server.EntityItem@224452 in world 'world'!
    10:40 PM [WARNING] Entity is at 782.5,-720.5 (chunk 48,-46) but was stored in chunk 48,-45
    10:40 PM [WARNING] Wrong location for net.minecraft.server.EntityItem@224458 in world 'world'!
    10:40 PM [WARNING] Entity is at 783.5,-718.5 (chunk 48,-45) but was stored in chunk 49,-45
    10:40 PM [WARNING] Wrong location for net.minecraft.server.EntityItem@224465 in world 'world'!
    10:40 PM [WARNING] Entity is at 331.5,-16.5 (chunk 20,-2) but was stored in chunk 20,-1
    10:40 PM [WARNING] Wrong location for net.minecraft.server.EntityItem@224466 in world 'world'!
    10:40 PM [WARNING] Entity is at 332.5,-16.5 (chunk 20,-2) but was stored in chunk 20,-1
    10:40 PM [WARNING] Wrong location for net.minecraft.server.EntityItem@224467 in world 'world'!
    10:40 PM [WARNING] Entity is at 333.5,-16.5 (chunk 20,-2) but was stored in chunk 20,-1
    10:40 PM [WARNING] Wrong location for net.minecraft.server.EntityItem@2244a5 in world 'world'!
    10:40 PM [WARNING] Entity is at 47.5,425.5 (chunk 2,26) but was stored in chunk 3,26
    10:40 PM [WARNING] Wrong location for net.minecraft.server.EntityItem@2244a8 in world 'world'!
    10:40 PM [WARNING] Entity is at 47.5,425.5 (chunk 2,26) but was stored in chunk 3,26
    10:40 PM [WARNING] Wrong location for net.minecraft.server.EntityItem@2244ab in world 'world'!
    10:40 PM [WARNING] Entity is at 47.5,422.5 (chunk 2,26) but was stored in chunk 3,26
    10:40 PM [WARNING] Wrong location for net.minecraft.server.EntityItem@2244ae in world 'world'!
    10:40 PM [WARNING] Entity is at 47.5,425.5 (chunk 2,26) but was stored in chunk 3,26
    10:40 PM [WARNING] Wrong location for net.minecraft.server.EntityItem@2244c5 in world 'world'!
    10:40 PM [WARNING] Entity is at 79.5,435.5 (chunk 4,27) but was stored in chunk 5,27
    10:40 PM [WARNING] Can't keep up! Did the system time change, or is the server overloaded? 
  12. Offline


    12:04:38 [SEVERE] Could not pass event PLAYER_INTERACT to Showcase
    java.lang.NoSuchMethodError: com.narrowtux.narrowtuxlib.NarrowtuxLib.getMethod()
            at com.narrowtux.showcase.types.BuyAssistant.<init>(
            at com.narrowtux.showcase.types.FiniteShowcaseExtra.onClick(FiniteShowca
            at com.narrowtux.showcase.ShowcasePlayerListener.onPlayerInteract(Showca
            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:43)
            at net.minecraft.server.NetworkManager.b(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.w(
  13. Offline


    Update for 1.0.0 please and fix this :(
    And can you add showcase with glass block now?
  14. Offline


    We think we may have a duplication bug with this plugin but we can't be sure, it's proving very difficult to reproduce. We only set it up to display items, no trading or shop features. We also don't know what this is but we think it might be related.

    2011-12-27 15:28:31 [SEVERE] Could not pass event PLAYER_INTERACT to Showcase
    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.interact(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.Packet15Place.a(SourceFile:39)
    at net.minecraft.server.NetworkManager.b(
    at net.minecraft.server.NetServerHandler.a(
    at org.getspout.spout.SpoutNetServerHandler.a(
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.w(
  15. Offline


    What is the difference between finite shops and basic shops?
  16. Offline


    Problem with IChat... Chat go to normal...

    And Please Fix for 1.0...

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


    this plugin is broken, whenever i made a shop about 10 minutes later it started spitting 1000s of the items out that i made, so i was thinking hey maybe the plugin got corrupted. downloaded again it's still doing it. Unless you want people getting 1000s of items without work do not get this plugin.
  18. Offline


    Whats the permission for the players can sell items... because it says: You don't have access that command :/
    please help or send message
  19. Offline


    if you read correct the information from this plugin then you cant found a sell command maby?
    you can sell here only buy!
    You command is from bukkit self and say this command dont even exist!
  20. Offline


    Yes, you cant sell with this plugin, that will all be in showcase 2
  21. Offline


    okay i fix this problem but... here another one.
    if i [ADMIN] make a shop, another players [USERS] can't buy anything from it.
    problem with essentials?
  22. Offline


    Why does the showcases keep breaking, like the they cause a ton of chunk errors & they randomly drop duplicates of items at the showcase. Sorry very tired right now can't really type.
  23. Offline


    you fixed it only for you or for all?
  24. Offline

    Mathew Alden

    If I remember right... Basic shops aren't shops at all, they're 'shelves.'

    ... I might be totally wrong though.
  25. Offline


    your plugin is the best, thanks!!
  26. Offline


    Could you get back the support on the Glass blocks? I really wanted to use that.
  27. Offline


    that was notches fault not Narrows and I do agree the glass blocks looked way better but beggars can't be choosers.
  28. Offline


    There is a glitch with this plugin that I was wondering if there was a way to fix it from making copies of the items because I really like this plugin but if there is no way to resolve the duplication of items then I will have to remove the plugin because in the shops i want people to buy items not get them for free by the dozens
  29. Offline


    Guys i think the plugin maker of this plugin has just ditched it -.-
  30. Offline


    That feature isn't released yet :p
  31. Offline


    Hmm, so I have the same errors like convictedsaint
    Also when player buy things lag the server. :(

    Please, update this mod becouse I really like it but with this bugs...
Thread Status:
Not open for further replies.

Share This Page