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

    nolivenopain

    I have a serious problem when i make a showcase i cant break it :O and im admin and im op :O and i still cant break it :/ i went to config file putted protection to false but still :( help plz
     
  3. Offline

    ACallander

    Is there a way I can just showcase the items and use iconomy/chestshop to allow purchases instead of this plugin?
     
  4. Offline

    narrowtux

    It will come soon :p
    You need to remove the showcase first.
    Do so in the same way you create a showcase.
    You can use the type "basic" and it will just put the item on it.
    This is the way the very first version did.
    To go even further, you can turn on basicmode in the config for convenience.
     
  5. Offline

    NinjaGrinch

    Along with actual iConomy 6 support, any chance we could get a fix for the notifications? It seems it likes to show some things as the same number. As in what number to type for the notification.

    Erm.png

    In this case it should have shown one of them as notification number 30 instead of 31 for both of them.
     
  6. Offline

    Sawn

    Sorry if it has already been answered but is it possible to define a showcase as 'basic' per default ?
    I don't need any iConomy or anything, I just want my players to be able to place showcases as decorative objects.
    So can I setup this in a way that when a player sneak+right-clic on a slab it automagically create a showcase whithout asking to type 'basic' ?
     
  7. Offline

    narrowtux

    look 2 posts above ;)
    set basicmode=true in the config!
     
  8. Offline

    Sawn

    My bad, I thought it did'nt work since i have made these modification before a reload.
    Something must have messed up the reload, I'll try a restart when my players will leave the server ^^
    Sorry for the useless bothering and thanks for the answer and this great mod :)
     
  9. Offline

    mediahaker

    Hi! I previously used iConomy Chest Shop which had the ability to buy and sell from one sign. Does this plugin have this functionality aswell cause I cant get it to work this way.

    Thanks :)
     
  10. Offline

    DaveK

    Showcase 0.7.4
    CraftBukkit build: 1060

    Hi, i installed showcase what installed spout and norrowtux automaticly.
    Then my Client wouldnt let me on my server until i updated spout to the new version manually.
    Now i got that problem does i cant set blocks anymore all my other permissions are working.. whats happen?? I got all adminpermissions and cant built. :( My Console show no errors at all.

    installed plugins
    Spout 1.0.2.134
    Permissions Yeti 3.1.6
    BOSEconomy 0.7.2
    Narrowtuxlib 0.6.0
    ichat 2.3.3-p3
    admincmd 5.7.15
     
  11. Offline

    King_KYl3

    How i make it so it dont download dumb NarrowtuxLib And Gay Spout?
     
  12. Offline

    an0x

    Deleting the Plguin and all youre problems are solved take one of the other shit shop systems.
     
    royfort likes this.
  13. Offline

    PhotonLance

    narrowtux do you plan to fix a dupe with ur plugin?
     
  14. Offline

    narrowtux

    I read all posts, even if they're not in big red bold text.
    What dupe issues do you have?
     
  15. Offline

    tinez

    i got this one (CB1060, SC0.7.4):

    19:27:27 [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:435)
    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)
     
  16. Offline

    quickclay

    Hey dude, you are a great developer, but notoriously bad at keeping your version numbers up to date. ;) The thread title says 7.3, the top of the thread says 7.2, and I'm reading there's a 7.4 somewhere. Also NarrowtuxLib's thread says 0.5 but it's actually on 0.6. Just fyi.
     
  17. Offline

    narrowtux

    Yeah, that's correct, I'm too lazy :D
     
    quickclay likes this.
  18. Offline

    King_KYl3

    Um this plugin installs narrowtux and then spout :/
     
  19. Offline

    NinjaGrinch

    Hate to sound like a broken record but, iConomy 6 support please?
     
  20. Offline

    PhotonLance

    omg ... i posted long time ago

     
  21. Offline

    Stephen92

    I want it to be infinite but how do i buy and sell things from 1 thing?
     
  22. Offline

    narrowtux

    Selling doesn't work ATM.
    Sorry, I can't remember every single post in this thread!
     
  23. Offline

    skawke

    Odd, no error or anything, yet the showcased items disappears after a server restart. I'm guessing 1060 broke something?

    /showcase reload
    /showcase load

    both doesn't fix the problem.
     
  24. Offline

    narrowtux

    Maybe update to Spout 1.0.2.
     
  25. Offline

    Stephen92

    dang, that sucks, this is by far the best shop plugin, I hope you add in a feature for it soon to where whenever you add something infinite you can put in the buy and sell price and whenever a buyer/non admin comes they can left click and it would ask if they want to buy or sell then discuss the prices and how many they wanna buy and stuff.
     
  26. Offline

    narrowtux

    I'm on it. Scroll back a few pages to see my plans.
     
  27. Offline

    Stephen92

    ahh ok awesome, do you have an eta?

    I just wanted to say for all those who are using other shops, this shop is badass, there is no other shop plugin that can compete, you dont even use signs, the picture does it all for you.
     
  28. Offline

    Mike_Roper

    If you added the sell Showcase it would totally make this plugin the best shop plugin out there! :cool:
    Right now my server is at build #1000 just for this plugin, that's saying something... :rolleyes:
    I'm glad to see the progress this has made and I hope to see it proceed in its journey.​
     
  29. Offline

    Stephen92

    Yeah I hope he adds it soon.
     
  30. Offline

    NinjaZidane

    Would love to see iConomy 6 support for this!
     
  31. Offline

    Insanehero

    How exactly does the showcase protection work? I want to set it up so my players have to buy a shop that contains half stone blocks in order to use the half stone blocks in the areas shop that they bought. So only the player who bought the shop can use those half blocks. Does it work that way?
     
Thread Status:
Not open for further replies.

Share This Page