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


  3. Offline


  4. Offline


    Made a very "user-friendly" tutorial for only my server :) I like this plugin a lot so I want people to know how to use them (although I am not allowing people to create there own shops atm) The tutorial is for simple "buy only" circumstances :)

  5. Offline


    I'm waiting for all plugins to update to the latest recommended build. I hope this plugin gets sorted out.
  6. Offline


    OMFG just pure awesome man!!!
  7. Offline


    Will be awesome once the duplication / no buying bug is destroyed! :D
  8. @_@ my head will be exploded.
    I will be waiting for future update :D
  9. Offline


    I love using showcase but this duplication bug sucks..
  10. Offline


    i also realy love it, but atm i tried it out it sucks :confused:

    you can stand on and allways get 1 item in inventory and you can throw it out and make so many items you want they then lie around :confused:

    please fix this dublication bug

    using craftbukkit 928
  11. Offline


  12. Offline


    Yeah, can you send me some of the output? That'd help me a lot.
  13. Offline


    it's not supposed to remove items anymore is it when showcasing them? i've had that for a few versions now
  14. Offline


    Umm.. why in god's name are my users able to pick up the items? >_> Got like 500 Showcases, which are quite a few, but I paved my streets with diamonds.. and now the users can pick them up..
    So I restarted & reloaded the plugin and the same stuff happened again..
  15. Offline


    Simply use a bukkit build before b924 - am on b921 until this is fixed.
  16. Offline


    Whenever I reload the server the items drop, and disapear, but people can still pick it up
    the items on display staym but the old ones that jumped can be picked up
  17. Offline

    Mathew Alden

    Is it even supposed to remove the items when showcasing them or not?

    Okay. In the middle of loading the plugin, it says "[WARNING] Permissions not found! All Operations are allowed!" Then every time the glitch happens, it says "[INFO] null Extra". That's all it does.

    I'm using 860. I have exchange, finite, and infinite disabled.

    Do you know what's wrong?

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


    ==== Problem ====

    When you /reload the plugins, the items that are on the slabs are duplicated for anyone to pick up.

    The next thing is not really a problem, but when you place an item on top of a slab, you can delete the slab and put whatever block you want underneath (I use this as a display rather than an actual shop). Dont fix this! :) I just tested to see if doing this affects the /reload problem mentioned above, and it does not. Still drops when I type /reload.
  19. Offline


    Does this work with permissions 3.x

    Some items work, and some dont. i cant sell mossy stone, diamonds etc but sponges work and pumpkins

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


    I am!
    I'm using the 860.
  21. Offline


    Where's the author ?

    This #928 duping BUG could easily ruin many servers
  22. Offline


    Hey now!

    I think with the fix being related to Bukkit versions, this is a Bukkit update compatibility issue. If a server is important enough that it can be ruined by this bug, I would think it would be important enough to have backed it up before updating Bukkit or any plugins, and important enough to actually revert to that backup should an update 'ruin' a server.

    These types of issues are ones that cannot always be foreseen by developers, but can and should be anticipated by server administrators because they are bound to happen. I'm sure this is a top priority for narrowtux, but until he fixes it so the latest version of the plugin works with the latest RB, we have to do what we have to do to keep our servers running as we want them. We assume the burden, and sometimes, the burden is real.

    Narrowtux has his side of the burden, and I'm sure he's dealing with it. I suggest we do the same.
    ddubois89 and GmK like this.
  23. Offline


    Does any thing supposed to show up in chat that the showcases were saved or loaded when u do /showcase save or /showcase load?? cause nothing does and i don't know if its loading or not
  24. Offline


    Well good thing his plugin build says 860 still. Using it on an above build is at your own risk especially if you read the last couple pages of the thread.
  25. Offline


    Not working with CraftBukkit: 928

    If u stand near a shop it'll fill your whole invent... Tool breakes after one use...
  26. Offline


    Read the previous two pages.. it's only working on 860 until the next update.
  27. Offline

    Mathew Alden

    Hi. I'm using it on 860 and it doesn't work. When I add an item to a showcase, it isn't removed from my inventory. When I remove an item from a showcase, it (usually) doesn't add it to my inventory. Help?
  28. Offline


    Is there an error generated in the console? If so, post it please.
  29. Offline

    Mathew Alden

    When it's loading, it says [WARNING] Permissions missing! All operations allowed! (or something like that). Every time the glitch happens, it says [INFO] null Extra.
  30. Offline


    The items do not reload when I reboot the serveur, is that normal? :S
  31. Offline

    G1R Productions

    Please fix this!!! I know this has been said but, it doesn't remove item from inventory and when I walk up to the show case it gives me an item for free.
Thread Status:
Not open for further replies.

Share This Page