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

    BFC_Mike

    Since installing your plugin, I keep getting this:
    Code:
    18:17:58 [INFO] null Extra
    
    I'm curious as to what it is
    RB1000
     
  3. Offline

    Mercury

  4. Offline

    dominichello

    Shift Right click the showcase AS the owner of it.
     
  5. Offline

    MCrofl777

    hmm it's an amazing plugin, but it doesn't work without problems for me :(
    I can add items to slabs with rightclick, but only can choose infinite, basic and tutorial.
    If I choose finite or exchange, the "assist" don't ask me anything. I and other players can not buy from it.
    There is no item information displayed and nothing happens. :(
    In "Infinite"-mode I can set the price and it says "succesful" but no player can buy.
    And Permissions is set too.
    Otherwise it's not too bad, then I use it only to show items. ;)
     
  6. Offline

    narrowtux

    I guess there are Errors in the console?
    Happens when you disable a showcase type, but didn't remove the showcases itself. You can remove those showcases safely.

    You need an economy system.

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

    tommygoesha

    how will players be able to Sell TO showcases?
     
  8. Offline

    narrowtux

    Global notice!
    Sell showcases are currently in development. Please stop requesting it.
     
  9. Offline

    zenyl

    This plugin doesn't work.....
    I downloaded it, ran the server, and around 95% of my plugins were disabled... This was the ONLY plugin i added at that time, and when i tried to delete it, it came up with a wierd error, telling me that the file i tried to delete weren't where it was supposed to be. Luckily, it went to the bin, and is now deleted, but this is a huge problem -_-
     
  10. Offline

    UltraPL

    To remove showcase:
    Worked. Thank you - Bukkit community along with the Minecraft community is fantastic!
     
  11. Offline

    umarth

    Me too... not have a way to disable the message?
     
  12. Offline

    MCrofl777

    ok, I got iConomy 5, but I don't know whether it's set right up...
    I'll keep trying ;)
     
  13. Offline

    ChromWolf

    For those getting spammed with

    [INFO] [Showcase] Autosaved
    [INFO] [Showcase] Autosaved

    In their console log: I just asked this. XD The author has stated it will become optional in the next release. Please be patient. ^_^
     
    ddubois89 and narrowtux like this.
  14. Offline

    Cenarius

    how come i never seen this awesome plugin before :eek:
    GREAT plugin :)
    Thanks ^_^

    EDIT: future request ;)
    enable showcasing in certain worldguard region (making shop area where there is steps already and players can come and buy or look for empty step and place items would be really nice, i think :p)
    it's the perfect image i had in mind for a local shop :eek:

    EDIT2:also what's the option "disabled" in the config for ?
    is it for like disabling a certain type of showcase
    or disable the plugin itself ?
    what is it exactly for xD
     
  15. Offline

    narrowtux

    For the request: I'm sure that I can setup a custom region flag which enables showcase use when it's set.
    the disabled option is for disabling some showcase types completely. I did that because plugins _can_ register new showcase types, but if you don't want them, you can disable them there.
     
  16. Offline

    Cenarius

    aw if you're actually going to implement this custom flag future it would be really awesome :D
    so are we gonna see this in the next release :p ?
    ehumm i see .. is there is any plugin that offers a new showcase type atm :) ?

    also ..
    i just tried to setup a showcase ...
    i made it with 1 stick in it for 20$ -fininte type- and i told one of my players to buy what's in it ..
    he bought it no problem, but the showcase is still there !
    and i'm pretty sure i've the config so that it removes the showcase when it's empty :eek:
    here is a copy from my config :
    Code:
    priceforbasic=0.0
    removewhenempty=true
    priceforfinite=0.0
    showcaseprotection=true
    priceforexchange=0.0
    locale=en-US
    autosaveinterval=60
    basicmode=false
    disabled=
    
    pretty much the same :p
    it was perfect out of the box :eek:

    users have the permission to create/buy from the finite type ..
    i don't get why it didn't remove it when it was empty :eek:
     
  17. Offline

    Sh00ck

    @narrowtux

    Kleine Frage :
    ist Showcase schon für PermissionsBukkit geupdated ? Also supported ?
    und kann ich bitte deine Skype oder ICQ addy.. habe so paar Sachen xD
     
  18. Offline

    Mercury

    What happens if I move showcase with piston?
     
  19. Offline

    Kaaji

    Hello, I didn't see if you had answered me, but it's just to say that the plugin
    works fine again. I don't know what happened...

    Thanks you very much. ;)
     
  20. Offline

    Bodacious27

    I was wondering if you could possibly provide a second download without BukkitContrib because it wreaks havoc on my server. A couple of my friends have reported the same thing to me. My friends and I would love to use this plugin and it would be a shame if we couldn't.
     
  21. Offline

    narrowtux

    removewhenempty is bugged atm.
    Nein, noch kein SuperPermissions.
     
    Cenarius likes this.
  22. Offline

    Cenarius

    thanks again :)
     
  23. Offline

    narrowtux

    The showcase is unusable until you move the block back.
    Some users exploit that to deactivate showcases.
     
  24. Offline

    ravyn

    I have just installed your plugin and am running BOSEconomy as my economy plugin. Setting up the blocks work like a charm, however, when I make a 'purchase' it does not deduct money from my account.

    Additionally, I would like to a) find out more information on what the difference between the Basic, Tutorial, and Exchange shop types are (there is no clear explaination here). I would also like to know the syntax to 'disable' a shop type. For example in the config file there is an option for:

    Code:
    Disabled = 
    What do I put here to disable a shop type? I have tried:

    Code:
    Disabled = basic tutorial exchange  
    but that did not work. Thanks in advance.
     
  25. Offline

    Cenarius

    EDIT: problem solved !
    stupid me xD
    the region they tried to create to create a showcase in was protected for someone else :p
     
  26. Offline

    narrowtux

    seperate the items by a ,!
     
  27. Offline

    Cenarius

    sorry for the trouble ;)
     
  28. Offline

    ravyn

    Thank you.

    Any Ideas on what I may have done wrong with BOSEconomy and your plugin that causes it not to deduct the purchase price from my bank account?
    Also what does 'price for finite' mean? If I set a price there the person that sets up the finite shop will be charged a one time cost for setting it up?
     
  29. Offline

    Zykana

    Is there a way I can get a copy of this plugin before it used BukkitContrib? It's auto-installing BukkitContrib and we don't want it on our server. It crashes our server too much, and we don't actually use it.
     
  30. Offline

    narrowtux

    You described it exactly.
    I'll very soon update the Register API by nijikokun, which I use to provide support for iConomy, BOSEconomy, etc. The new version adds a few new economy systems, and I think this will also fix that bug.
    No. BukkitContrib v0.1.17 is known to be buggy, if you're patient enough to wait until Spout 0.1 comes out which fixes many issues, you can use your server without bugs.
    The only problem is that Spout will change something internally, so I have to update Showcase in some way. So you'll have to be double patient ;)
     
  31. Offline

    ravyn

    sounds good I will wait until then. Thank you.
     
Thread Status:
Not open for further replies.

Share This Page