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

    narrowtux

    [​IMG]
    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.
    Features
    • 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 ;)
    Videos
    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.


    Usage
    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.
    Permissions


    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 showcase.showcase.buy.finitePlayer
    Buy from an infinite shop showcase.showcase.buy.infinitePlayer
    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.
    Commands

    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.

    Configuration
    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.
    Translations

    Currently available translations:
    Changelog

    Version 0.8.1
    See the whole changelog

    Todo
    • 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 server.properties 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

    MUUS

    update to 1,2,3 :)
     
  3. Offline

    ChildOfWar

    Got on this morning and I see this in my console.
    Code:
    09:34:28 [SEVERE] Exception in thread "Thread-47819"
    09:34:28 [SEVERE] java.lang.NoSuchMethodError: org.bukkit.plugin.PluginDescriptionFile.getAuthors()Ljava/util/ArrayList;
    09:34:28 [SEVERE]      at com.narrowtux.showcase.Metrics.postPlugin(Metrics.java:217)
    09:34:28 [SEVERE]      at com.narrowtux.showcase.Metrics.access$100(Metrics.java:55)
    09:34:28 [SEVERE]      at com.narrowtux.showcase.Metrics$1.run(Metrics.java:191)
    09:34:28 [SEVERE]      at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    09:34:28 [SEVERE]      at java.lang.Thread.run(Thread.java:636)
    
    It doesn't seem to be a "fatal" error, but it's still annoying.
     
  4. Offline

    genogeist

    It looks like this is more a problem with the dependency NarrowtuxLib being out of date
     
  5. Offline

    thect

    i have testet infinite shop(what i am going to use in server) and it works on 1.2.3 and dont got any porblems :)
     
  6. Offline

    gujane

    hello, I found a bug that the items which can stack dupling, while i throw the same item to the showcase.

    (sorry for my poor english)

    there is a link down here for bug
     
  7. Offline

    ChildOfWar

    Is there any substitute for NarrowtuxLib? Do I even need it?
     
  8. Offline

    dabiggman

    I love your plugin, but NarrowtuxLib needs to go. You force this in your plugins and it is the main cause of problems.
     
    TNTUP likes this.
  9. Offline

    Austin

    Narrowtux has ruined the best shop plugin in bukkit.
     
  10. Offline

    DaEgo

    [INFO] [Showcase] Enabling Showcase v0.8.1.32
    [SEVERE] Exception in thread "Thread-37"
    [SEVERE] java.lang.NoSuchMethodError: org.bukkit.plugin.PluginDescriptionFile.getAuthors()Ljava/util/ArrayList;
    [SEVERE] at com.narrowtux.showcase.Metrics.postPlugin(Metrics.java:217)
    [SEVERE] at com.narrowtux.showcase.Metrics.access$100(Metrics.java:55)
    [SEVERE] at com.narrowtux.showcase.Metrics$1.run(Metrics.java:191)
    [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    [SEVERE] Plugin Showcase is attempting to register event com/narrowtux/dropchest/api/DropChestSuckEvent, which does not exist. Ignoring events registered in class com.narrowtux.showcase.event.DropChestListener
    [SEVERE] at java.lang.Thread.run(Unknown Source)
     
  11. Offline

    Pixiio

    Please update, thank you!
     
  12. Offline

    ChildOfWar

    DaEgo- It's narrowtuxlib, it is the only thing wrong with this plugin, lol.
     
  13. Offline

    ChrisX930

    Need a update for 1.2.3 .(
     
  14. Offline

    JJUSA12

    every time i try to use showcase it says you cant place any showcases any idea on how to fix this
     
  15. Offline

    aaomidi

    narrowtuxlib NOOOOOOOOOOOOOOOOOOOOOOO

    OMG UPDATE FOR CRYING OUT LOUD

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

    TNTUP

    Currently using ChestShop. Lack of sell feature and waiting for 1.2.3.. You just lose a customer. Having another useless plugin is useless (narrowtuxlib). (sorry for my language)
     
    dabiggman likes this.
  17. Offline

    MinecraftDaemon

    someone should take this over seeing ass the sourcecode is avaliable adn get rid of narrowtuxlib i couldnt do it my self im no good at coding :D
     
  18. Offline

    Stroved

    Would like an update to this, its epic!
     
  19. Offline

    Oh_hi_thur

    narrowtuxlib needs to GTFO

    I'm with this guy, I'm not using this plugin unless you get rid of narrowtuxlib.

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

    aaycapp

    update please!
     
  21. Offline

    dabiggman

    I'm tired of dealing with your lack of dedication to the people that rely on you. Moving to chestshop
     
  22. Offline

    josip1

    All people saying his lack of dedication blablabla, you would actually find he's very dedicated to what he does. He is a big part of the spout server project.
     
  23. Offline

    TNTUP

    Well yes. But lots of people don't want the NarrowtuxLib because idk why. And I see peoples being waiting for the sell feature (like me). :/
     
  24. Offline

    dabiggman

    You mean like not keeping up with any of the plugins people use countless times? I can remember not having a single update for countless bukkit updates, leaving us sitting in the dark. Not too mention him abandoning Showcase 2 without ever saying anything. He can focus on Spout all he wants, this is what my users care about and I was tired of having to wait weeks for a simple code update that takes less than an hour. Every other plugin has already been updated, except for his.
     
  25. Offline

    mikkel12i

    Will you update this? To Craftbukkit-1.2.3 ????? Thanks!
     
  26. Offline

    Xunzi

    Say, when do ya think this will be 1.2.3-compatible? :3
     
  27. Offline

    revo96

    Could you pls Update Narrowtuxlib i need it for this plugin
    With friendly greets ~Revo
     
  28. Offline

    aaomidi

  29. Offline

    Ejupa

    I would like a way to use just the floaty block part of showcase and none other stuff. Seeing that narrowtuxlib errors like no tomorrow and still isn't fixed yet. Myself and a lot of other servers just use it in that way for just the floaty blocks for the stores. Could you just make a lite ver with just that. I think it would make a lot of admins happy if you did. and it would be a hell of a lot less programming. :)
     
  30. Offline

    toxuin

    Hey guys, I like the idea of http://dev.bukkit.org/server-mods/scs/ ! Nothing else but ONE plugin with floaty items! That's exactly what we all need! I REALLY hope it's dev will be updating it more friggin' frequently than narrow tux does (doesn't actually).
     
  31. Offline

    Chaz42

    1.2.3? Please! It is really needed on my server! this is the only good shop plugin! :(
     
Thread Status:
Not open for further replies.

Share This Page