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

    narrowtux

    I try to fix it ;)

    Release v0.5.3
    • When a player doesn't have an account and the price for a showcase is 0, let him build one
    • Configuration is generated after the data-folder has been created.

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

    sfxworks

    Fixed. Spawn protection in severer properties interfered with it.
     
  4. Offline

    CyrussM

    Ok i test your plugin,
    when i enable your plugin i get errors in my log file, the same i poste here in the thread a little bit ago.

    2011-05-21 08:31:27 [INFO] Wrong location! net.minecraft.server.EntityItem@3233
    2011-05-21 08:31:27 [INFO] 271.5,144.5(16,9) vs 17,9
    2011-05-21 08:31:27 [SEVERE] java.lang.Exception: Stack trace
    2011-05-21 08:31:27 [SEVERE] at java.lang.Thread.dumpStack(Unknown Source)
    2011-05-21 08:31:27 [SEVERE] at net.minecraft.server.Chunk.a(Chunk.java:367)
    2011-05-21 08:31:27 [SEVERE] at net.minecraft.server.ChunkLoader.a(SourceFile:181)
    2011-05-21 08:31:27 [SEVERE] at net.minecraft.server.ChunkRegionLoader.a(SourceFile:42)
    2011-05-21 08:31:27 [SEVERE] at net.minecraft.server.ChunkProviderServer.loadChunk(ChunkProviderServer.java:132)
    2011-05-21 08:31:27 [SEVERE] at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:62)
    2011-05-21 08:31:27 [SEVERE] at net.minecraft.server.PlayerInstance.<init>(PlayerInstance.java:33)
    2011-05-21 08:31:27 [SEVERE] at net.minecraft.server.PlayerManager.a(PlayerManager.java:37)
    2011-05-21 08:31:27 [SEVERE] at net.minecraft.server.PlayerManager.addPlayer(PlayerManager.java:76)
    2011-05-21 08:31:27 [SEVERE] at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:102)
    2011-05-21 08:31:27 [SEVERE] at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:95)
    2011-05-21 08:31:27 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
    2011-05-21 08:31:27 [SEVERE] at net.minecraft.server.Packet1Login.a(SourceFile:43)
    2011-05-21 08:31:27 [SEVERE] at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    2011-05-21 08:31:27 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
    2011-05-21 08:31:27 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
    2011-05-21 08:31:27 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
    2011-05-21 08:31:27 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    2011-05-21 08:31:27 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)

    This Error repeats from time to time only when your plugin is enable. Without your plugin no errors.

    A little bit more:
    Code:
    2011-05-21 19:13:17 [INFO] Wrong location! net.minecraft.server.EntityItem@224d6
    2011-05-21 19:13:17 [INFO] -558.5,575.5(-35,35) vs -35,36
    2011-05-21 19:13:17 [SEVERE] java.lang.Exception: Stack trace
    2011-05-21 19:13:17 [SEVERE]     at java.lang.Thread.dumpStack(Unknown Source)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.Chunk.a(Chunk.java:367)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ChunkLoader.a(SourceFile:181)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ChunkRegionLoader.a(SourceFile:42)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ChunkProviderServer.loadChunk(ChunkProviderServer.java:132)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:62)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.PlayerInstance.<init>(PlayerInstance.java:33)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.PlayerManager.a(PlayerManager.java:37)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.PlayerManager.addPlayer(PlayerManager.java:76)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:102)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:95)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.Packet1Login.a(SourceFile:43)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-21 19:13:17 [INFO] Wrong location! net.minecraft.server.EntityItem@224d7
    2011-05-21 19:13:17 [INFO] -553.5,575.5(-35,35) vs -35,36
    2011-05-21 19:13:17 [SEVERE] java.lang.Exception: Stack trace
    2011-05-21 19:13:17 [SEVERE]     at java.lang.Thread.dumpStack(Unknown Source)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.Chunk.a(Chunk.java:367)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ChunkLoader.a(SourceFile:181)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ChunkRegionLoader.a(SourceFile:42)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ChunkProviderServer.loadChunk(ChunkProviderServer.java:132)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:62)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.PlayerInstance.<init>(PlayerInstance.java:33)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.PlayerManager.a(PlayerManager.java:37)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.PlayerManager.addPlayer(PlayerManager.java:76)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:102)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:95)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.Packet1Login.a(SourceFile:43)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-21 19:13:17 [INFO] Wrong location! net.minecraft.server.EntityItem@224dd
    2011-05-21 19:13:17 [INFO] -553.5,575.5(-35,35) vs -35,36
    2011-05-21 19:13:17 [SEVERE] java.lang.Exception: Stack trace
    2011-05-21 19:13:17 [SEVERE]     at java.lang.Thread.dumpStack(Unknown Source)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.Chunk.a(Chunk.java:367)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ChunkLoader.a(SourceFile:181)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ChunkRegionLoader.a(SourceFile:42)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ChunkProviderServer.loadChunk(ChunkProviderServer.java:132)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:62)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.PlayerInstance.<init>(PlayerInstance.java:33)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.PlayerManager.a(PlayerManager.java:37)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.PlayerManager.addPlayer(PlayerManager.java:76)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:102)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:95)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.Packet1Login.a(SourceFile:43)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-21 19:13:17 [INFO] Wrong location! net.minecraft.server.EntityItem@224e4
    2011-05-21 19:13:17 [INFO] -555.5,575.5(-35,35) vs -35,36
    2011-05-21 19:13:17 [SEVERE] java.lang.Exception: Stack trace
    2011-05-21 19:13:17 [SEVERE]     at java.lang.Thread.dumpStack(Unknown Source)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.Chunk.a(Chunk.java:367)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ChunkLoader.a(SourceFile:181)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ChunkRegionLoader.a(SourceFile:42)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ChunkProviderServer.loadChunk(ChunkProviderServer.java:132)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:62)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.PlayerInstance.<init>(PlayerInstance.java:33)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.PlayerManager.a(PlayerManager.java:37)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.PlayerManager.addPlayer(PlayerManager.java:76)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:102)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:95)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.Packet1Login.a(SourceFile:43)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    2011-05-21 19:13:17 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  5. Offline

    narrowtux

    Thanks for telling, will add it to the OP.
     
  6. The bug where items showcased can be picked up means i may have to remove this plugin.

    To recreate. Stand by a showcase. Log off the server. Log back in the server and you should have picked up the item.

    I think I'm using craftbucket 766, and the you're latest versio but i can't check until everyone logs off.

    I have turned it off now, had to refund people who had set it up. I think its to do with the loading and unloading of chunks. If so might be albe to use chunk loader, will have a play tonight.

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

    Meteo

    One server restarts, or reloads, the items inside the glass are pick up able, but only 1 is dropped then the glass is empty.
     
  8. It doesn't have to be a server restart, just a client, or a chunk reload, but yeah. I have had it walking past but its much much more rare.

    Might use keep chunks reloaded for the shops, but means I can't let just anyone do it.
     
  9. Offline

    moonjokes

    When I try to make a showcase it gives me this error.
    CB 766
    showcase 5.3

    2011-05-22 21:05:03 [SEVERE] Could not pass event PLAYER_INTERACT to Showcase
    java.lang.NullPointerException
    at de.moritzschmale.Showcase.ShowcasePlayerListener.onPlayerInteract(ShowcasePlayerListener.java:48)
    at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:280)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:207)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:526)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)

    plugin list
    appletree
    bedheal
    iconomy
    jobs
    lockette
    minecartmaniacore
    mobloot
    mobspawner
    musiccraft
    nomorerain
    permissions
    portecoulissante
    quickstash
    quizblock
    sendgift
    showcase
    simplesignedit
    spawnmob
    supplysign
    uquest
    worldedit
    worldguard
    xauth

    Also tested on a server with no plugins but showcase. Getting same error.
     
  10. Offline

    Nick Hooper

    Doesnt work for me...

    1.start sneaking
    2.right click glass with item in hand
    3.type the type in ()

    now at this point i typed (basic) and it said invalid type. i typed 'basic' in every way i could and nothing.

    Nvm, i figured out the problem, when using bcoloredchat to change the color of what my messages are, everything i type actually starts with &b

    so this plugin was detecting that i typed '&bbasic'
     
  11. Offline

    skorm666

    Can you please help me, the assistant doesn't come up and the console give me this....

    2011-05-23 17:50:36 [SEVERE] Could not pass event PLAYER_INTERACT to Showcase
    java.lang.NullPointerException
    at de.moritzschmale.Showcase.ShowcasePlayerListener.onPlayerInteract(ShowcasePlayerListener.java:48)
    at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:280)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:207)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:526)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  12. Offline

    xDice

    i have the same..
     
  13. Offline

    narrowtux

    Are you both @xDice and @skorm666 on version 0.5.3 ?

    Release v0.5.4
    • Fixed crash when right clicking
    • Fixed items not visible when a chunk gets unloaded and you visit it after that.
      • The item-dupes resulting of this *should* be fixed.

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

    Rufus

    13:13:40 [SEVERE] Could not pass event PLAYER_INTERACT to Showcase
    java.lang.NullPointerException
    at de.moritzschmale.Showcase.ShowcasePlayerListener.onPlayerInteract(Sho
    wcasePlayerListener.java:48)
    at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.ja
    va:299)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:310)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:162)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:207)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:535)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)

    CB803
     
  15. Offline

    narrowtux

    get the new version that just has been released.

    @xDice @skorm666 :
    It's fixed now, I'm so stupid :D

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

    Logstone

    When is the next Version comming? =] and is pay with items to buy items in it? =D
     
  17. Offline

    narrowtux

    I think that would be an overkill to implement that. But I heard of a plugin that handles an economy with items.
    When I find it, maybe I'll add support for it.
     
  18. Offline

    Logstone

    owh ok ^^, . i am using a lot showcases in my server and economy plugin just ruïn everything xD. and i think its just more fun to use monney you can see =P

    Btw, i think there wil be some servers. that there are noobs that putting items in every glassblock they see =S.
    I can't think of a solution for that, but maby you can ^^.

    http://www.youtube.com/user/inthelittlewood#p/u/2/vLzWUVSpB_U 4:33 =P

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

    narrowtux

    WorldGuard support will definitely come.

    Okay, this is epic :D
    Maybe I'm implementing it though ;)

    Noooooo notch fixed it:
    http://notch.tumblr.com/post/5775170768/the-changelist-for-1-6

    Maybe I can provide a work-around when the new version comes out...

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

    Bseagull

    i love this plugin, and i have already stated that I do, and i finally got it for my server. But, however, when I tried to use it and give myself a basic showcase, it said something like that I do not have enough money. I have all of the permissions available for my using, but waht does this mean?
     
  21. Offline

    Avous

    @narrowtux

    I'd love to use this plugin but whenever i try it (version 5.4 Permissions 2.7.3 bukkit 802) the items appear OUTSIDE of the box.
     
  22. Offline

    narrowtux

    Do you have an economy system?

    It should be re-aligned after a short time. When that doesn't happen, are there any error messages in the log?

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

    Avous

    Zero errors and its been about two minutes ill provide a photo. i gave a example of multiple items. http://imageshack.us/m/843/2305/20110523170641.png


    Hmm when i reload it retosses them out of the blocks but it doesnt keep them in the middle its still acting like the glass is solid :p

    @narrowtux

    Figured out the problem lol I had the plugin in use Blocks on Glass to allow you to build anything on glass but im presuming because of the plugins nature it made glass act like any other block.

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

    Ratchet

    not sure if this is fixed in 054 but I was using 053 when I got these errors;there's quite a few spaced apart in my server log

    2011-05-23 15:02:24 [SEVERE] Could not pass event PLAYER_INTERACT to Showcase
    java.lang.NullPointerException
    at de.moritzschmale.Showcase.ShowcasePlayerListener.onPlayerInteract(ShowcasePlayerListener.java:48)
    at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:299)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:207)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:535)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  25. Offline

    PsychoNecrosis

    Just going to throw this out

    Via Notch's blog
    * Fixed items in glass blocks not getting ejected properly
     
  26. Offline

    PedroN041

    works with iconomychestshop? because here the plugin is not working....
     
  27. Offline

    cholo71796

    I was coming here to warn the creator of this plugin of the same thing. I wonder if it will be possible to fix this after the update.
     
  28. Offline

    Bseagull

    No My server does not have an economy system nor will it ever have an economy system :)
     
  29. Offline

    MrDylan

    Bukkit: 740
    Showcase: 0.5.4

    Happens after typing basic

    Code:
    
    23:46:12 [SEVERE] Could not pass event PLAYER_CHAT to Showcase
    java.lang.NullPointerException
            at de.moritzschmale.Showcase.ShowcasePlayerListener.onPlayerChat(Showcas
            at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.ja
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:646)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
    
     
  30. Offline

    Jan Tojnar

    I wanted to report it too yesterday but narrowtux was faster:
    http://forums.bukkit.org/threads/me...your-cool-items-802.17672/page-15#post-321109
     
Thread Status:
Not open for further replies.

Share This Page