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



    we had a server crash a while ago because an admin messed up the worldedit regions, so the server froze, saving was not possible anymore neither was stopping it, so the process had to be killed.

    After the server was back up ALL showcases have been deleted... iConomychestshop still works... I know it works differently since they're chests and signs and all that

    but I guess this just killed all my interest in this plugin since i need to replace tenthousands of items :\
  3. Offline


    Just to let you know, this does not hold back chat done in the admin chat plugin. Can be kind of confusing when other moderators are spitting out random numbers =P Great plugin though anyways!
  4. Offline


    The latest version has got autosave ;)
  5. Offline


    Hey! First off, great addon!
    Adds a lot of flavour to my shops, using it since yesterday and love it already.

    One thing i'm missing... the ability to sell stuff per determined ammount.
    For example, i got a vendor with dyes and want to sell 5 dyes for 2 dollar.
    I don't want to sell them for .40 each as i want to keep straight numbers in my currency. (i actually called it credits)
    Would be great if i could give in as price 5:2 or something to get this option.

    Thanks in advance!
  6. Offline


    Hi there, kudos on an awesome plugin.
    One gripe though: The autosave feature is cluttering up the server log, rendering it pretty much useless.
    Could you add an option that disables logging of autosaves?
  7. Offline


    It is posssible that the chests near the showcase will be cleared. This situation does not happen definitely, but it already occured for several times in my server.
    craftbukkit 953
  8. Offline

    Cameron Auber

    Hi narrowtux,

    First of all, love the plugin and I have no problems with it, secondly I have a suggestion, but im not sure if you or anyone else would like it...

    Would it be possible for there to be a store that players can buy and SELL to, and in the menu/GUI have an option as to whether or not a player wants to set the store up like that.
    For example:
    I sell a gold bar at my store for $500 and players can sell gold bars to my store for $450

    EDIT: It is pretty much the same as what @Exanimo suggested, but I didn't see his post

  9. Offline


    Ok, maybe im slow, but in all the install instructions that I can find, it tells me to place the .jar file into my Plugins folder. My problem with this plugin is that when I download it, there is no .jar file. How the crapschnitz do I install it to my server?

    This is what I get when I download it from the link on this page.
  10. Offline


    rename to showcase.jar, your looking into the jar.
  11. Offline


    Ok, but how do I change the file type? When I change the name its still a rar file. proof.jpg proof.jpg
  12. Offline



    Based on your screenshot, I'm going to assume you're using windows Vista.
    1. Press the Alt key.
    2. On the menu that appears in the top of your explorer window, select Tools, and then Folder Options.
    3. Select the "view" tab.
    4. In the "Advanced Settings" box, uncheck "Hide extensions for known file types"
    5. Click the "Apply to folders"-button, then the OK button.
    Now you'll be able to rename the file extension.
  13. Offline


    Thank you Sporadisk.
    I learn something new about my computer every day because of this game!
  14. Offline


    At the time I posted that, I had the most up-to-date essentials package. It seems to have been recently updates, because it detects essentials as a payment type now. Thanks anyway :D
  15. Offline


    Does this work with CB 953?
  16. Offline


  17. Modify the build in the title then :p
  18. Offline


    When I'm home ;)
  19. I found a pretty big bug in this plugin!
    It conflicts with Absorb chest and therefor duplicates the item in teh showcase, infinely!
    All you have to do is to make a chest right beside the showcase and it will start absorbing!
  20. Offline


    Try my other plugin dropchest, it does the same thing better and showcase supports that one.
  21. Offline


    I have a question, it's possible to create a node for a merchant for that he be authorized to sell or not with a shop already create.

    For example, the merchant A got the node "showcase.basic" , and "showcase.sell (fictitious node)". He can create a shop, and sell.

    1. He create a shop
    2. -User B- buy a item from the merchant A's shop (he can because Merchant A has the node "showcase.sell")
    3. Now the admin decide to the merchant A is not a merchant. He remove the node "showcase.sell" to merchant A.
    4. And the -User B- can't buy a item from the merchant A's shop.

    Because without this node, if I decide that a user is no longer a merchant, his shop will still be usable. I don't know if you understand me.
  22. Offline


    I think what your asking for is a node that allows/restricts users to get money from their shops. So that shops made while they have the correct permissions, no longer give them money if they are demoted.
  23. Offline


    Yes, a node that can make usable/unusable their shops.
  24. Offline


    I understand what you mean, that should be easy ;)
  25. Offline


    Essentials Eco and iConomy support
  26. Offline


    Oh yes, if you do this, this plugin will be awesome (even if it's already awesome) !
  27. Offline


    • Version of Showcase: 0.6.13
    • Version of Bukkit: 953
    This is purely about the exchange system...
    • "Can't find key for translation!" happens when the exchange rate is asked.
    • Item ids are not recognized, only names.
    • Some item names are not recognized, like gunpowder for example.
    • Confusing item names. Wood ingame is technically a log. However, the exchange system uses wood as wooden planks. This really screwed me over in an exchange.
  28. Offline


    Perhaps I missed it but does the money spend on an item get send to the showcase owner?
  29. Offline


    I saw that your plugin supports WE, so I suppose its working well with the 'Residence' plugin too? I have all residences (regions) set to build: false, use: true. Since the use flag is set to true in all residences it should work, right?
  30. Offline


    With finite showcases, yes.
    What do you mean? It's already in it :p
    I haven't had a look on the Residence plugin yet.
  31. Offline


    when i use a wooden step, it works, thx:)
Thread Status:
Not open for further replies.

Share This Page