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

    BadDog

    Bump, and if anyone knows about it, give me a hint! By the way, this is what I get, using PermissionsEX:
    [WARNING] Permissions not found! All Operations are allowed!
     
  3. Offline

    dralletje

    same for me D:

    yes, it is!
    but just try if you want to kow something!

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

    Raycrash

    Could you add showcases which player can rent or buy, by predefined by admins ?
     
  5. Offline

    BadDog

    Thanks, but then, I don't understand why the plugin fails to notice there is PermissionsEX installed and throws in a [WARNING] Permissions not found! All Operations are allowed!
    Any idea? I set up the permissions for Showcase in PermissionsEX alright. I didn't find any option to turn on or any field to fill in Showcase's config file to make that work.
     
  6. Offline

    tilllamann

    please make it iconomy 6 compatible :'(
     
  7. Offline

    Alex Berndt

    Ico 6 and PEX if poss! :D
     
  8. How can I let my players create only "finite" shops ? And btw delete "type section" in showcase assistant.

    Awesome plugin btw :3

    Edit: Translating it in french, coming soon.
     
  9. Offline

    kamikaze13016

    plugin for 1.8.1 ? Is possible ?
     
  10. Offline

    micdoodle8

    Amazing plugin, just need it for iConomy 6 and PermissionsEx!

    Good job :]

    Edit: I got it working with both! Thanks
     
  11. Offline

    dralletje

    why don't you use the permisiions bridge brought with pex?
     
  12. Offline

    ruifung

    How did you get it to work with iCo6?
     
  13. Offline

    BadDog

    I thought this bridge was only to enable the importing of previous permissions when switching to PermissionsEX for the first time. I'll test if by reinstalling it, it activates the permissions with Showcase and I'll let you know. Thanks for your help anyway!
     
  14. Offline

    dralletje

    that permissions bridge let's every permissions based plugin use pex.
    there is no installing, just drop it and reload your server :)
     
  15. Offline

    micdoodle8

    Im pretty sure it was when I updated essentials :D
     
  16. Offline

    pudd1nG

    We cannot seem to place showcase's in certain areas, namely above other showcases. However even being 4-5 blocks up and 2 left/right of other showcases it doesn't like to us to create them past the first floor of our market :(
     
  17. Offline

    Redstorm3265

    Please support PermissionsBukkit! :(
     
  18. Offline

    TheShadow777

    it dont work with iconomy 6 :(
     
  19. Offline

    riolu447

    To do that you have to have permissions and give the users only showcase.finite and showcase.buy.finite

    idk about anyone else but on my server refilling does not work and the items for sell will randomly dis-appear... the showcase will still work but the normally hovering item will not be there.... thanks for the help!!

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

    namalinowski

    Hello,
    I downloaded showcase, and installed it and restarted the server. I go online Place a stone half block, and sneak and right click and it just won't work. I am op and i have the '*' for permissions so i have everything, but i can do /showcase it comes up with load/reload/save. But i right click with the item in my hand on the stone half step, but it just doesn't do anything.

    Please Help
    P.S I don't need the economy system for this
     
  21. Offline

    dabiggman

    I love this plugin, but I had to make a choice between Icon6 or this, and I took Icon6
     
  22. Offline

    goldseed

    I took this. lol.
     
  23. Offline

    BadDog

    I didn't notice there wasn't already a translation in French. I should have posted mine. I agree that every user is not familiar with English!
     
  24. Offline

    lezyamin

    I keep getting lag and an error message when i use showcase, im not sure if its because im using 1.8 but heres the message

    Code:
    INFO     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    30.09 19:12:05 [Server] INFO     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    30.09 19:12:05 [Server] INFO     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    30.09 19:12:05 [Server] INFO     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    30.09 19:12:05 [Server] INFO     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    30.09 19:12:05 [Server] INFO     at java.security.AccessController.doPrivileged(Native Method)
    30.09 19:12:05 [Server] INFO     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    30.09 19:12:05 [Server] INFO Caused by: java.lang.ClassNotFoundException: de.moritzschmale.Showcase.ShowcaseMain
    30.09 19:12:05 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    30.09 19:12:05 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    30.09 19:12:05 [Server] INFO     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:439)
    30.09 19:12:05 [Server] INFO     at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    30.09 19:12:05 [Server] INFO     at com.griefcraft.modules.flag.MagnetModule$MagnetTask.run(MagnetModule.java:113)
    30.09 19:12:05 [Server] INFO     at com.griefcraft.modules.flag.MagnetModule.access$300(MagnetModule.java:42)
    30.09 19:12:05 [Server] INFO     at com.griefcraft.modules.flag.MagnetModule.isShowcaseItem(MagnetModule.java:184)
    30.09 19:12:05 [Server] INFO java.lang.NoClassDefFoundError: de/moritzschmale/Showcase/ShowcaseMain
     
  25. Offline

    ruifung

    I don't use essentials... due to the fact it has too much features.. but none of it is the best
     
  26. Offline

    micdoodle8

    Hmmm, well idk then

    :S
     
  27. Offline

    Nick22

    PLEASEEEEEEE add selling! :)
     
  28. Offline

    revo96

    Can you make it for 1.8.1
    Or does it already work on it?
     
  29. Offline

    pudd1nG

    Our shops now just continuously just spew out items. Any suggestions?
     
  30. Offline

    PhotonLance

    you're going to repair the old dupe?... the plugin is good but with dupe not better poop...
     
  31. Offline

    65Wolf

    What am i missing? I try to download the .jar file, but get the .zip, which has no executable .jar files in it? Trying to d/l v0.7.7.

    Secondly, was there ever a fix for the showcases disappearing after a couple server reloads? Seems would overwrite its files after one or two reloads. Frustrating!

    Thanks....
     
Thread Status:
Not open for further replies.

Share This Page