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. Heres one issue my server has been having for a while.

    When players use Showcases, to check the prices for items for example, but don't like them, they just leave without typing anything, they might even disconnect and reconnect. After this, they can't type anything. Whatever they type into the chat, it wont show up. Next time they use Showcases for buying something, but this time actually purchases something or places the showcases, they get the ability to talk again.

    Couldn't it be possible to change that you have to just type basic to a command like /showcase basic or for short /sc basic? This could possibly solve this issue, unless I am the only one having this.
     
  3. Offline

    Karujõmm

    How can i change permissions with GroupManager (essentials) ?
     
  4. Offline

    narrowtux

    This is not the GroupManager support thread.
    Does it work when you disable WordReplace?
     
  5. Offline

    todo

    Well, that seems to have done it :D Works perfectly now.. Thanks alot bud.
     
  6. Offline

    xGONExCRAZYx

    Well, damn :| but, still, that is the biggest downside and should be top priority for the developer. This is an amazing plugin and major props to @narrowtux. It is pretty impressive how he managed to have the items be like that.
     
  7. Offline

    PhotonLance

    dupe detected!!!!!!!!!

    1st player opens a shop ... the 2nd player clicks on the store but does not indicate the number of items ... 1st player remove his shop receiving object ... 2nd introduces a number and also obtains the object...
     
  8. Offline

    narrowtux

    Hmm, that is kinda serious. Thank you for reporting!
     
  9. Offline

    PhotonLance

    how fast u can fix it?
     
  10. Offline

    NinjaGrinch

    Is there anyway to add users to a discount list of sorts per-showcase? A friend of mine owes me a 5% discount for life (don't ask) and I could not find a way to accomplish this. If not consider this a feature request. :)
     
  11. Offline

    Vas

    I've come with great news! I've made you a good image for what my ideas are for a UI and a few added suggestions to the showcase mod. I think infinite and finite should remain seperate for those who wish to run an admin shop that has everything always forever and for those like me, who wish to run a player filled shop where people make stuff, fill it, others buy, etc etc.

    [​IMG]

    Sorry for long post guys. Suppose your used to it with topic titles being long though. xD
    If you are replying to my post please quote me but remove image from the quote so I get the notification and can come check.
     
  12. Offline

    narrowtux

    @Vas nice mockups!
    I want them all combined because this would be very flexible. Of course, normal users won't be able to create infinite resources, so don't worry.
    Also, I can't use custom fonts for the GUI, this depends on the texture pack.
    Another thing I wanted for the new shop is multiple payment options. In buy screen, you'd adjust the wished amount with sliders, then press on the button with the option you want.
    Example: a trader can sell a stone pickaxe for either 10 $ or 5 cobblestone. The one who buys, could then decide what he pays by clicking on one of the buttons.
     
  13. Offline

    Vas

    I'll make a new edit of a UI for items with economy, and the font is not what I wanted in game. It's just my default font is all. Lets see what I can come up with for now.
     
  14. Offline

    narrowtux

    ah :D
    They look nice that way ;)
     
  15. Offline

    Seta

    Some crazy stuff is going on... some items cant get bought from anybody except the person who created the shop... So in detail, the Shop seem to work, the user puts in his Amount Number and then a massage comes "You have bought 0 ...". The user didnt put 0 ^^
    I tested it a bit, but cant find any pattern...

    Sometimes a shop, sometimes not... And yeah you may know already some items like Redwood log are called "null" ^^ Isnt there a bukkit item name file you can use for that?

    Awsome Plugin btw :D
     
  16. Offline

    PluginSearcher

    Can you maybe make a Swedish Translate? I'm just wondering, you don't have to, but my server is swedish and it would be easyier for everyone if it was in swedish...Please respond! :)
     
  17. Offline

    an0x

    Lol translate it youreself o0
     
  18. Offline

    Vas

    Varför inte översätta detta?

    I'm pretty sure google works well on translations. You can edit the files most likely though to put your own words in. That last guy was kinda rude though. I'm sure someone might be able to help you make a swedish translate version.
     
  19. Offline

    WeesoftVideo

  20. Offline

    Caid

    Just an idea for future revisions. What about being able to set groups of items for sale on one slab? For example, one could sell a couple of stairs and a couple of paintings, and it could be marketed as a sofa set. You could walk into a store, and see the sofa setup, then the slab beside it with one of the items in the set displayed, but when it's clicked, the price shows up and the set is added to inventory when the price is paid.

    Setting up the shop shouldn't be too hard, so long as people have the right multiples of items in the shop, just set the shop as sfinite (set finite) to sell sets, then do the usual setup of adding an item, only that you can add another item after the first and so on. The first item added would be the one that is visually displayed.
     
  21. Offline

    aismael

    Hi i want only report that it do not work with the newest spout version
     
  22. Offline

    City Builder

    Having issues with 'end of stream' when people try to login to our game server running CB1060 and showcase/narrowtuxlib/spout.

    Any fixes in the works?

    Thanks for a great plugin, although I think one of those plugins listed above should be fixed so that it can't stop people from logging in and give them end of stream error if it's not compatible with latest build maybe. Just my 2 pennies to ya.
     
  23. Offline

    Dothackking

    Does this not pay you if you buy your own items?
     
  24. Offline

    excalibr23

    Seems that I'm having players lose items when showcases are placed next to chests. The chests will just be completely emptied. Please fix!
     
  25. Offline

    narrowtux

    You could try to use a development build of Spout, actually, our release-cycle hasn't planned that bukkit promoted a new RB.
    Maybe part of the chest/sign wipe bug?
     
  26. Offline

    excalibr23

    What is this?
     
  27. Offline

    NinjaGrinch

    Does this plugin support iConomy 6? Most do not at the moment but it would be great if this one did. :)
     
  28. Offline

    musky

    When will this be updated? I was having issues with End of Stream errors. I removed Narrowtuxlib, spout and showcase and its working again now.

    Thanks, my users are kind of obsessed with this plugin, and it would be great to have it back.
     
  29. Offline

    City Builder

    Thanks, the development version of spout fixed our end of stream errors and showcase is back up and running on our server.
     
  30. Offline

    narrowtux

    A bug that existed on RB 1000, it's fixed as of 1060
    It's Spout that causes this issue. However, it's fixed in the developer preview version. This one isn't compatible to the current version of Spoutcraft, so you're warned;)
    I have an upated version of NarrowtuxLib at home, I'll upload it in kinda 4 hours.

    FYI: Updated NarrowtuxLib to v0.6.0, this fixes BOSEconomy issues, adds support for BOSE6, iCo7 and MultiCurrency

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

    PhotonLance

    how are things with dupe?
     
Thread Status:
Not open for further replies.

Share This Page