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. Plugin author did implement 'auto download' of spout.jar, and it's downloading old - not working - one.
    So remove spout.jar and download manually :)
     
  3. Offline

    T4L_Goose

    Disabling protection doesn't seem to work. I disabled the protection, but people aren't able to break other peoples showcases.
     
  4. Offline

    DaveK

    Is there a reason why my shops are all disapered after an update?? And why does everytime my showcase folder would be renamed to Dropchest and a dropchest.yml file is in this folder?? :( i think i have to wait with my shop plugins until one of this shops are working fine ;( Whatever, i have anyway lot to do else befor i get my server online again. keep up with this nice work mate :)
     
  5. Offline

    narrowtux

    They have to remove them before breaking.

    I have uploaded the false version on bukkit dev. Until I find more time to polish it, please stick to the download link in this thread.

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

    T4L_Goose

    They say it doesn't let them.
     
  7. Offline

    Phlegm

    THIS IS MY FAVORITE PLUGIN OF ALL PLUGINS!!!!
     
  8. Offline

    martynball

    Damn error! :(

    Showcase version: Latest version, downloaded on 29/08/2011
    Bukkit Version:
    17:20:19 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-945-
    g73697a4-b1000jnks (MC: 1.7.3)

    Code:
    17:17:01 [WARNING] No Payment method found! Plugins that rely on this might not
    work! (And you might see an exception stack trace below this).
    17:17:01 [SEVERE] Could not pass event PLAYER_INTERACT to Showcase
    java.lang.NullPointerException
            at de.moritzschmale.Showcase.Types.BuyAssistant.<init>(BuyAssistant.java
    :57)
            at de.moritzschmale.Showcase.Types.InfiniteShowcaseExtra.onClick(Infinit
    eShowcaseExtra.java:23)
            at de.moritzschmale.Showcase.ShowcasePlayerListener.onPlayerInteract(Sho
    wcasePlayerListener.java:78)
            at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.j
    ava:307)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:168)
            at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:6
    3)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:458)
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  9. Offline

    Dommyman

    Hi,
    Just testing out the mod today on my server, and it downloaded a Spout folder and a NarrowtuxLib folder. Is this meant to do this? I dont recall seeing anything to do with Spout on this page

    Edit: And players cant connect either
     
  10. Offline

    narrowtux

    In the text, it says that you need an economy system!
    Yep, this is meant to be. Unfortunately, the Spout download link is outdated and points to a buggy version. Please download spout from the official site: http://dev.bukkit.org/server-mods/spout/
     
  11. Offline

    RedNifre

    Why would I need an economy system if I only want to use it in basic mode? Since I currently don't have the time to resolve all these dependencies and configure an economy plugin in such a way that it does exactly nothing I'll ignore showcase for now.

    Would you mind if someone forked Showcase on Github and created a simple no bloat version? One that just works as a showcase and doesn't require any extra stuff?
     
  12. Offline

    Joshu012887

    How do you change prices?

    Also is there a way to allow people to sell to your store?
     
  13. Offline

    NozomuNet

    Hi, I'm not sure if I'm missing anything, but when I download Showcase as provided in the link of the OP, all I got was a .rar file, and there is no .jar file to be found at all.

    Is there something that I have to do first..?
     
  14. Right click the link - save as - and put .jar on the end of the file name. - Click save. Job Done.
     
  15. Offline

    martynball

    i have essentials which has an Econ system built in :S
     
  16. Offline

    Stephen92

    Is there gonna be a selling feature soon?
     
  17. Offline

    wesmou

    hi

    Spout with 1.0.5 installed on the server the following error

    31/08/2011 16:44:55 [SEVERE] Player: WESMOU was not updated Properly During login!

    how to solve this?

    No problem if you leave this warning?

    thanks
     
  18. Offline

    King_KYl3

    How do i fuck off Spout i hate it and the other plugin narr thing :/
     
  19. Offline

    G1R Productions

    Hello I was wondering if you could please work on the sell showcases. Here are some ideas I had:
    Just a normal option that says like finitesell or something along those lines
    And another option that has buy and sell ( kinda like chest shop only its better because you can see the items)
     
  20. Offline

    Jaein

    This plugin seems to conflict with the new version of bukkit. Either that or the spout plugins going nuts
     
  21. Offline

    GordonGrey

    You need to delete the spout plugin that it came with and install the latest one.

    This plugin hasnt been updated for awhile, I hope the author didnt abandon it. I would like to have it accept sell as well.
     
  22. Offline

    Insanehero

    Getting this error on Showcase 1000 and CB 1060. It happens when you shift-right-click a block when you have nothing in your hand. It then makes it so the player cannot talk...even relogging doesn't work. Please help :D

    20:55:31 [SEVERE] Could not pass event PLAYER_CHAT to NarrowtuxLib
    java.lang.NoClassDefFoundError: info/somethingodd/bukkit/OddItem/OddItem
    at de.moritzschmale.Showcase.ShowcaseCreationAssistant$1.onPageInput(ShowcaseCreationAssistant.java:44)
    at com.narrowtux.Assistant.Assistant.onPlayerChat(Assistant.java:60)
    at com.narrowtux.event.NTLPlayerListener.onPlayerChat(NTLPlayerListener.java:15)
    at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:279)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:706)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  23. Offline

    G1R Productions

    Is there any way you can make this plugin without spout because spout and the other plugin makes the mods on my server not work and our server really likes showcase and would rather not have to switch to chest shop
     
  24. i hold shift and left click and nothing happens
     
  25. Offline

    Jaein

    Is it working for you? With the new Bukkit 1060 and the new spout?
     
  26. Offline

    arsjet

    I'm used to display items to showcase.
    When the construction and working in Sneek, the screen comes out a little annoying assistant.

    Suggest: remove the feature from the showcase.
    I want to remove the feature shop.

    More:
    Sneak in a way that does not use the display items.
    You can only display items in a command available?
     
  27. I've got an error due to someone trying to remove a showcase, I dunno what exacly he tried to do but here's the error:

     
  28. i have the latest everything yeh when i crouch and right click it says

    cant find key creation.item.text
    cant find key creation.item.title
    For translation!
     
  29. Offline

    iamnotcameron

    Can we get PermissionsBukkit support, please?
     
  30. Offline

    ledhead900

    @narrowtux
    Your narrowtux libary is mucking up in CB 1064

    Everytime I anyone uses a showcase using spoutcraft it errors out and they can't speak anymore until restart.
    There chat wont display, after u close gui, Spout was updated so maybe u missed something.


    PHP:
    2011-09-04 16:52:46 [SEVERECould not pass event PLAYER_CHAT to NarrowtuxLib
    java
    .lang.NoClassDefFoundErrorinfo/somethingodd/bukkit/OddItem/OddItem
        at de
    .moritzschmale.Showcase.ShowcaseCreationAssistant$1.onPageInput(ShowcaseCreationAssistant.java:44)
        
    at com.narrowtux.Assistant.Assistant.onPlayerChat(Assistant.java:60)
        
    at com.narrowtux.event.NTLPlayerListener.onPlayerChat(NTLPlayerListener.java:15)
        
    at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:279)
        
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:706)
        
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
        
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
        
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:453)
        
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    HTML:
    2011-09-04 17:29:17 [INFO] Plugins: AfkBooter, Annotate, Appleseed, BorderGuard, ChairCraft, CommandSigns, Dungeon, EasyRules, Essentials, EssentialsProtect, EssentialsSpawn, FalseBookBlock, FalseBookCore, FalseBookExtra, FalseBookIC, FlamboyantFlock, HeavenlyMob, iConomy, LazyRoad, Lockette, LogBlockQuestioner, mcbans, MinecartManiaCore, MinecartManiaSignCommands, MinecartManiaStation, MinecraftViewer, NaturalGiants, Permissions, ScheduledAnnouncer, Seasons, Showcase, SignColours, Spout, Tables, TimeRank, Vegetation, War, WorldEdit, Citizens, dynmap, iChat, JukeBukkit, MinecartManiaAdminControls, MinecartManiaAutomations, MinecartManiaChestControl, BaseBukkitPlugin, Factions, Heroes, Jobs, LogBlock, NoCheat, NarrowtuxLib
    I wish that system would die already hardly any decent admins like it. You would be surprised how many don't want to touch that system.

    Same but on 1064!
     
Thread Status:
Not open for further replies.

Share This Page