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

    shutara

    no 0.6.2
     
  3. Offline

    narrowtux

    Oh, I guess I shouldn't have changed something with the register API :D
    Will change this anyway to the new Register API which supports MultiCurrency as well as BOSEconomy 7 and iConomy 6
     
  4. Offline

    shutara

    ok so i need to instal bose conomy 7?
     
  5. Offline

    Tim Visser

    I've made a clear, short tutorial explaining the basic usage of this plugin for people who are not familiar with it.

    Watch it here
    I hope you like it!


    EDIT:
    If you want you may put it in your post narrowtux!
     
    narrowtux likes this.
  6. Offline

    matthayez011

    can you still use glass blocks like it used to be? or is there another plugin like that?
     
  7. Offline

    Meisgoot312

    This is a very nice plugin! Although, the "cant find assistant.exchange.create.rate.text" is bugging me, it works fine. I believe that if you could make exchange stores able to trade multiple items (example: 1 iron ingot for 64 cobblestone) it would be a lot better. My server doesn't use Iconomy because it tries to be as "survival" as possible and it doesnt really fit in anywhere. Thanks for reading.
     
  8. Offline

    vvconorvv

    lol it made my comment a quote...

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

    shutara

    it fixed my prob but its new one nobody cant buy somthing it saids that showcase is empty but i can shop there why it does that?
     
  10. Offline

    narrowtux

    @vvconorvv Can you post the SEVERE errors here? It's not that you use a mac that they appear :p
     
  11. Offline

    MC-Luke

    ´Type the text before the colon´ What do you mean with that ? I cant get further then that step ..
     
  12. Offline

    narrowtux

    That's a bit outdated :D just type in basic or finite or infinite ...
     
  13. Offline

    JoshP95

    How can you disable the use of infinite showcases for lower members? And how is the selling to showcases coming along?
    Thank you :)
     
  14. Offline

    MC-Luke

    Nevermind everything works ! Can people sell things to ? or can they only buy it from the shop I made
     
  15. Offline

    narrowtux

    Sell showcases are currently in development.
    You just have to deny the permissions showcase.infinite for them.

    Global note:
    As for the upcoming BukkitContrib 0.2/Spout beta 0.1 release, which includes custom GUI with patched clients, I'm currently also working on making the Assistant GUI-capable. It will automatically detect if the client is GUI-capable and will show the GUI instead of chat then. The chat is used as fallback and will have the same features as the GUI, just it's not that fancy. Here's a screenshot:
    2011-07-30_13.29.18.png
    I will make that more fancy so it's a window, I achieve this by making a simple background image.
    Chat notifications from the assistant will show up as Modal Message boxes with fancy icons.
     
  16. Offline

    musky

    I'm having issues with this. When i type /econ i have 56 coins, if i buy something that costs 10 coins, and then type /econ, i still have 56 coins. I can't however buy anything above 56 coins.

    Any ideas? Thanks.
     
  17. Offline

    narrowtux

    Any error messages in the console?
     
  18. Offline

    musky

    No, but i think it's just me being a retard. I'm buying from my own store, so i'm assuming it doesn't deduct from my wallet?
     
  19. Offline

    narrowtux

    When it's a finite shop, it gives you the money you payed because it's your shop ;)

    Updated GUI:
    View attachment 5318
    View attachment 5319


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

    musky

    yeh i figured that out after i made that post :rolleyes:
     
  21. Offline

    ChromWolf

    FANTASTIC plugin, I love how it's very visual. Sorry I missed the items-in-glass era, but I know it's a Notch thing. Works great for me, though I do have one request: I like that it autosaves, and don't want to turn that off, but is there a way to make it do so silently so it's not spamming the console window?
     
  22. Offline

    narrowtux

    It's optional in the next version!
     
  23. Offline

    exapid

    How long do you think narrowtux until the selling to desert option arrives? Needing it badly :(
     
  24. Offline

    L24D

    @narrowtux
    I've got a major bug... It's crippling my server anyways, dunno if anyone else has this problem or not...
    Ah, so... with the plugin installed, i try to use something like worldedit or voxelsniper, to move the land, and it causes an unbearable lag, and constant timeouts. I remove it, and i can move or place large amounts of blocks almost instantly.
    No errors in the console, just a bunch of server overloaded messages, and lots of hiccups.
    i've got a shop set up on my server with 240 prievews. This plugin is kinda vital... Of sorts. :p Could you check it out, and see what might be causing the problem?

    Thanks! :)
     
  25. With the new bukkit contrib additions, it's causing heavy lag on our servers. Is there way to disable this feature specifically? We love your mod, and don't want to have to change!
     
  26. Offline

    Azlodin

    Thanks! This is HIGHLY needed by me, as it does bloat my logs. ;)
     
  27. Offline

    ValBGaming

    Hey, is there any way to get rid of the pink/light purple lines that come up in the chat? I find them a bit spammy, no offense.
     
  28. Offline

    narrowtux

    Just wait for the next release, it'll be transformed to Spout/BukkitContrib GUI completely. Will fallback to chat assistant if you don't have client mod installed.
     
  29. Offline

    ValBGaming

    I don't use BukkitContrib at the moment. Just wondering if it would be possible to disable the pink/light purple lines from the chat assistant so that it'll just be the text from the "showcase-en-US" file without the lines? I think this is a really nice plugin, but the only thing I dislike are those lines. :p
     
  30. Is there a way to stop this:
    7:27:31 [INFO] [Showcase] Autosaved
    17:28:31 [INFO] [Showcase] Autosaved
    17:29:31 [INFO] [Showcase] Autosaved
    17:30:31 [INFO] [Showcase] Autosaved
    17:31:31 [INFO] [Showcase] Autosaved
    17:32:31 [INFO] [Showcase] Autosaved
    17:33:31 [INFO] [Showcase] Autosaved
    17:34:31 [INFO] [Showcase] Autosaved
    17:35:31 [INFO] [Showcase] Autosaved
    17:36:31 [INFO] [Showcase] Autosaved
    17:37:31 [INFO] [Showcase] Autosaved
    17:38:31 [INFO] [Showcase] Autosaved
    17:39:31 [INFO] [Showcase] Autosaved
    17:40:31 [INFO] [Showcase] Autosaved
    17:41:31 [INFO] [Showcase] Autosaved
    17:42:31 [INFO] [Showcase] Autosaved
    17:43:31 [INFO] [Showcase] Autosaved
    17:44:31 [INFO] [Showcase] Autosaved
    17:45:31 [INFO] [Showcase] Autosaved
    17:46:31 [INFO] [Showcase] Autosaved

    getting irritated by it =/
     
  31. Offline

    UltraPL

    How to delete an showcase? After destroin it the item is still displayed :(
     
Thread Status:
Not open for further replies.

Share This Page