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


    For all those who are sick of Spout as a dependency: Use Showcase 0.6.12! Works like a charm with #1000 and doesn't need Spout/BukkitContrib nor Narrowtuxlib.

    If ppl want I could put my 0.6.12 version online for download.
  3. Offline


    Hi ! Showcase is a great plugin ! Thank. :)

    I have a question : Is it possible to change the owner of a showcase ? Because I don't want the other player can make their showcase.

    PS : sorry for my english, i'm french ... :)
  4. Offline


    The only thing I do not like about this plugin is that I either have to charge a ton to make shops or I have to allow people to put shops pretty much anywhere. Many of the buildings and paths in my world are stone slabs so I keep finding random shops all over the place. What would be really cool is if you made a way where a shop has to be activated and so the only shops in the world are the ones that the admins allow rather then shops being all over the place making them hard to find and then the random ones on the street and etc..

    Another great alternative would be to make this hook into residence plugin so that there could be a flag to allow shops in that residence or not.
  5. Offline


    I toyed around with the new shop that replaces finite, infinite and even exchange:
    As you can see, the shop has a stock which has an amount. If the shop is infinite, the amount of the stock is too.
    You can define multiple payment options for both buy and sell. With the GUI, you would set the amount with the slider and then click on the appropriate button with the option you want.
    In chat assistant, youd type "buy3" or "sell1" to tell the option and you're asked for the amount after that.
    I just have to plan how setting up this kind of shop should happen.

    What do you think?

    Heres the link to the image 12.08.11 11 23 08.jpeg

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jul 16, 2016
  6. Is it possible to disable those "This chat is held for you" from appearing? I have admin chat on my server which comes with mcMMO, the /a command. When players are using showcase and I and my Admins are talking in the Admin chat, it will hold the chat even from Admin chat for them.

    I went through the .cfg but couldn't find anything like this. Is is possible for you to add this option?
  7. Offline


    showcases in worldguarded areas don't work :/ I'm trying to host a creative server where you can get building materials from a nice showcase for free (or some stuff for a modest econ price). No-one except op's can use them.. no permissions involved.. how to fix this?
  8. [EN]
    I love this plugin, but i have a small suggestion/request:
    Could you add the ability to sell items to the shop? That would be perfect!
    At the moment I need some other shop-plugin to set-up "Sell-Shops"

    Ich liebe dieses Plugin!
    Trotzdem hätte ich einen kleine Bitte/Vorschlag:
    Könntest du eventuell die Möglichkeit hinzufügen, um Items an einen Shop zu verkaufen?
    Das wäre perfekt!
    Momentan muss ich da nämlich noch andere Plugins benutzen, um Items verkaufen zu können.
  9. Offline


    Yes please! This would be EXTREMELY helpful, not only for me, but I'm sure for many other people who are looking to get Showcase working without spout!
  10. Offline


    Spout is stable now. Don
    Spout is stable now. No need for this imo.
  11. Offline


    Here is it:

    Showcase 0.6.12 (Spout/Narrowtuxlib FREE)

    Working like a charm with #1000
  12. Offline


    So I really like the idea behind this plugin.. But I simply can't get it to work. I've searched every page in this thread for someone with the same issue, but without luck.
    So the problem is that whenever I shift+Right-click on a half-step block with a item in my hand, it gives me the normal assistant text where i need to choose which type of showcase i want.. But whenever I choose any of them it gives me this message
    "[WARNING] Showcase
    Showcase creation cancelled"
    I have no idea whats wrong.. did exactly like in the tutorial video above.

    I use bukkit version 1000
    and showcase v. 0.7.3

    I've seen some with showcase problems when using worldguard plugin.. Which I use myself, can that have anything to say?

    Sorry 'bout the poor english :) not my native language.
  13. Offline


    refill currently dont work.
    when a owner clicks his own showcase it asks "how many do you want to buy"
    and you can only buy from it, entering a negative value stops buy assistant.
  14. Offline


    It has changed to rightclick now ;)
    So the owner can try if his own showcase works (and me :D)
    Can you post a plugin list?

    Sell showcases are in development, in fact, I'll create a new, unified "shop-showcase" which is basically finite, infinite, exchange and sell in one. This will replace the current shops, and they will be converted automagically.
    You can provide multiple payment options for both buy and sell for each showcase (For example, either pay 10 $ for a stone pickaxe or pay 4 cobble for one).
    So this will definitely expand the flexibility of a shop.

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


    Ofc, here it is:
    AFK, BigBrother, Citizens, Elevators, Essentials, HeroChat, HeroicDeath, iConomy, LagMeter, LWC, MobArena, MultiVerse, MyWarp, MakeEmSpawn, NarrowtuxLib, Permissions, PermissionsPlus, rTriggers, Showcase, SignEdit, Spout, tent, TimeShift, VanishNoPickup, VoxelAir, VoxelMimic, VoxelMore, VoxelPort, VoxelSniper, WordReplace, WorldEdit, WorldGuard
    That should be all of them :)
  16. Offline


    Silly question, but would it be possible to implement a system where you can decide the stack number people can buy? I'd like my shops to be able to sell dirt only in stacks of 64, for instance.
  17. Thanks & good luck with further development! ;)
    I think I'll keep this plugin for ever :D
  18. Offline


    For the next version, is it possible to add a command to change the owner of a showcase ?
    Like this :
    - I create a showcase, and I want to give this at another player, because I don't want everybody can make showcase.
    - After right-click on the showcase, I can type "changeowner <owner>" on the chat.
    - Then, the new owner can refill, remove, ... the showcase.

    Thank you :)

    Ps: sorry for my english, I'm french.
  19. Offline


    Seems to be easy.
  20. Offline


    I get auto kicked. and its something to do with Spout becuase if i use the version that does not require it its fine.

    Show Spoiler
    06:33:14 [INFO] ScottSpittle [/] logged in with entity id 98 at ([NewMuezli] -573.53125, 64.0, -266.09375)
    06:33:14 [SEVERE] java.lang.NullPointerException
    06:33:14 [SEVERE] at java.lang.System.arraycopy(Native Method)
    06:33:14 [SEVERE] at
    06:33:14 [SEVERE] at
    06:33:14 [SEVERE] at net.minecraft.server.Packet51MapChunk.a(
    06:33:14 [SEVERE] at net.minecraft.server.Packet.a(
    06:33:14 [SEVERE] at net.minecraft.server.NetworkManager.f(
    06:33:14 [SEVERE] at net.minecraft.server.NetworkManager.d(
    06:33:14 [SEVERE] at
    06:33:14 [INFO] Connection reset
    06:33:14 [INFO] [MultiInv] Shared worlds loaded with no errors
    06:33:14 [INFO] ScottSpittle lost connection: disconnect.genericReason
  21. Offline


    Are you running a dev build of craftbukkit?
  22. Offline


  23. Offline


    I gave normal players all permissions, apart from OP... and they still can't buy from showcases? Help please.
  24. Offline


    I think it would be great if you added an option to sell items to the shop. I would prefer this over a sign shop because you could easily spot the item you're selling. I was going to use this on my server's shop, but you can't sell to the shop. D: It would be a little weird to have to have the item to buy the item, so maybe if you right click on the slab with nothing in your hands, you can choose which item to set up for purchase? :/ For general server shops this would be good if you could somehow create a shop that could both buy and sell. Maybe if you have to type /sc buy [number] and /sc sell [number], it would be better. I really wish you can buy AND sell at shops, but I'll have to use a dumb old sign shop :[
  25. Offline


    Hey Narrow,
    I still have this problem, and ppl on my server really likes the idea of this plugin.. so would love if you could help me out, though u're probably busy.
    Btw I did give permissions nodes if that could have had anything to do with it.
  26. Offline


    Players are able to place a used tool (sword, pickaxe) and armor into a showcase and calls the item null.
    Also, the buying player might not realize the fact the item they are buying is almost worthless (worst case).

    Suggested solutions:
    1. Don't let sellers sell used items
    2. Let them sell the items used, but warn the buyer
    3. Add a config option that implements the above.

    Posted as issue #3 on the github repo.
  27. Offline


  28. Offline


    Hi I have a problem, when I place my showcase with the item I set the price etc but no one can buy it
    All it says is [EssentialsProtect] hazik666
    Doesn't say if you want to buy etc...

    Anyone know how to fix?

  29. Offline


    How did you configure WordReplace?

    Seems you got a plugin that blocks it.

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


    This is the config file from WordReplace:

    replace-user-names: FALSE
    normal-chat-color: WHITE
    - Gold,Dalle,dallesr:dalle:daniel
    - Red,Suco,suco:sucowar:dennis
    - Blue,Doomsteak,doomsteak:doom:kean:kehan
  31. Offline


    Has anyone experienced lag with this plugin? I suggested adding this to our server as it is awesome, but i keep getting server lag after finishing most of the showcases. They work fine and all, but just wanted to see if anyone else had this hapen. thanks!
Thread Status:
Not open for further replies.

Share This Page