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

    _ROM_

    IDEAS FOR YOUR IDEAS:
    • 1. Sell-Showcases / Rent a showcase for money/day
    Configurable Barter Options: When setting this up give people the option of buying/renting access by trading in X amount of a configurable block type.

    QUESTION:
    Am I able to or do you plan to implement a configurable solution that allows the Showcase Admin to select / grant
    how many signs a shop owner has access to?
    - Forgive me if this has been covered already.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  3. this is stupid now guys.... WHAT AM I SUPPOSED TO DO?
    after repeating myself for over A WEEK i STILL have errors with this crappy register.jar

    i DO NOT want register.jar on my server as it does not work, continues to spit errors

    "cant send this cant send that", i cant even delete it without it reinstalling.


    Our server was in PERFECt working order last week, simple restart one morning and the whole lot is screwed because of this rediculous register.jar


    i speak for another 11 servers with same issue, yet the support we get are questions that dont even have an answer.
     
  4. Offline

    Snowy007

    Ignore the error message about register.jar and wait until the problem fixes itself after having updated some plugins and stuff. If you just regularly check for plugin updates the error message will vanish in no-time. :p
    As far as i know it only gives the error message in the console and nothing is different in-game.
     
  5. Offline

    Zombiemold

    Dupe bug found:

    Place a gold block or a diamond block on top of a shop that is selling the exact same block, then destroy the block you placed. When the block drops, it falls down into the shop, where the hovering item is being shown. When a player walks over it, they can pickup both blocks, including the one IN the shop. The shop doesn't lose inventory, and a new block is placed on top of the shop, like normal.

    Not sure how many other block types this works on, but it's bad.

    Edit: Apparently you can just throw items onto showcases, and if they are the same item, they allow you to pickup both, its like they stack.
     
  6. Offline

    narrowtux

    That's kinda serious then...
     
  7. Update your server plugins.... if registar.jar isnt working you have a plugin using an outdated version of register.
     
  8. Offline

    narrowtux

    It's not outdated, it's the latest (1.5) version you get on niji's github.
    Also, I'm currently switching to have register internally again, however we're having some issues with the build server so you'll have to wait a bit.
     
  9. I mean if he cant get register 1.5 to work then he has another plugin on his server using an outdated version internally. Personally i think the best option is to keep it external and other developers should follow this lead and link into it to make sure it always uses the latest version rather than keeping it internal :)
     
  10. Offline

    narrowtux

    Ah, I misunderstood, sorry :D
     
  11. Offline

    NinjaZidane

    I have to ask Narrowtux...

    Why are you switching to internal Register again? Won't that make an already bad mess even worse?
     
  12. Offline

    narrowtux

    It's no mess :p
    I had a mess before because I didn't know that one has to rename package names when using register classes inside your plugin. I now will do that and this won't cause any more problems. The only bad part about it is that it requires a lot more setup if you want to compile with maven (which you should ;) )
     
  13. Offline

    Lexington

    The dupe bug is cause by NoLagg plugin with formItemStacks: true in it's config.
     
  14. Offline

    narrowtux

    Oh :D Maybe I should contact the dev.
     
  15. Offline

    Zombiemold

    Yup, figured it out just before this post. Such a shame for NoLagg.

    Anyways, carry on with the great work Narrowtux.
     
  16. Offline

    narrowtux

    It's not his fault at all, maybe he didn't know about Showcase.
     
  17. Offline

    hittingal

    Does this mean that the dupe glitch with the conflicting NoLagg plugin is fixed?
     
  18. Is there a way to make a sell shop so people can sell stuff to an infinite shop of lets say string.
     
  19. Offline

    Juze

    Nope. And I was about to say NoLagg plugin causes that before I read the posts about it.
     
  20. Offline

    _ROM_

    I just popped in to read up on the dupe glitch, I was a bit concerned when I read the update about the glitch. I currently do not have the Nolagg Plugin.
     
  21. is there a way to make an infinite buy shop? (so i can buy from people by making a shop)
     
  22. Offline

    narrowtux

    Not yet. Showcase 2 will feature that.
     
  23. any information on when showcase 2 will come? and ty for your reply!
     
  24. Offline

    narrowtux

  25. Offline

    Valtn55

    Awesome Plugin:D
    Thank you very much!
     
  26. The showcase plugin isn't working for me is there a plugin interfering with it? Here's what is said on the console " 19:51:10 [SEVERE] Could not pass event PLAYER_INTERACT to Showcase "
     
  27. Offline

    Lexington

    The NoLagg dupe bug is repaired by bergerkiller but i still deal with single item drops on server reloads. (Not so serius anymore but still a problem )
     
  28. Offline

    OLIX

    Hello, I have a bug with Showcase. When I use it, sometimes it clears all signs arround the Showcase.
    I have Showcase version 0.7.7.11 (In plugin.yml) and Bukkit 1000 (because my server is in 1.7.3, I'm using mods)
     
  29. Offline

    Lexington

    It's not a showcase , bug , its Notches. Showcase is not causing it , it just makes it occur more frequently because of reloading chunks.
     
  30. Getting an "odd" error with this and odditem.

    Code:
    16:24:58 [SEVERE] Error occurred while enabling Showcase v0.7.7.11 (Is it up to date?): info.somethingodd.bukkit.OddItem.OddItemBase cannot be cast to info.somethingodd.bukkit.OddItem.OddItem
    java.lang.ClassCastException: info.somethingodd.bukkit.OddItem.OddItemBase cannot be cast to info.somethingodd.bukkit.OddItem.OddItem
        at com.narrowtux.showcase.Showcase.onEnable(Showcase.java:167)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:174)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:172)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:155)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:300)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:287)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:155)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:351)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  31. Offline

    dockozel

    So, I place a slab, I crouch, I place a block and get "You can't place any showcases." I'm the server owner. What am I doing wrong here?
     
Thread Status:
Not open for further replies.

Share This Page