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

    aufdemrand

    For people having problems loading Showcase (and conflicting with Register.jar) with the newer CraftBukkit releases, I found a fix on another forum thread. I can't remember exactly where, but here's the cure -- for now.

    Edit Narrowtux config file in your plugins folder to turn OFF auto-updating.
    Then, delete the Narrowtux.jar and replace it with an older version, found here:
    http://ci.getspout.org/job/NarrowtuxLib/

    I used build 13. I noticed today that he has updated to build 21 very recently --- perhaps that fixes the issue as well.
     
  3. Offline

    narrowtux

  4. Offline

    aufdemrand

    Build 21 fixes the problem with register.jar?
     
  5. Offline

    Hotshot

    Could you add a sell showcase? So players can sell their items TO a showcase? I tried to do it myself, but getting caught up on all the code wouldve taken weeks -__-
     
  6. Offline

    L24D

    @narrowtux
    I agree with @Hotshot
    I was just about to post the same thing. It's pointless to have a shop if you can't actually sell things to it. :p
    It also makes it a bit difficult (impossible) to earn money from things mined and obtained through exploration too.

    - And maybe remove register support, please? I don't trust it on my server... But i don't have much of a choice for now.

    Thanks Bunches. :p
     
  7. Offline

    narrowtux

    Showcase 2 has that. It's not completely done yet, but quite usable.
    @L24D Register is essential, the build is downloaded from a server I trust (the Spout build server), so be assured that this does not harm your server.
     
  8. Offline

    TheMello

    I make my sell showcases by making an exchange showcase and loading it up with gold ingots.

    Anyhow...

    I have a problem. Some showcases accidentally got cuboided out on my server. Now the drops from the showcases are sitting there and can't be picked up. I've tried relogging, restarting the server, and even placing halfblocks under them to try and turn them into a showcase again. None of this has worked. How can I get rid of them?
     
  9. Offline

    kalez

    Ive actually done this, and if you can build the halfblocks back up to the height it originally was at, you can then close the shop normally. I know this works cause just did it about a minute ago, and we've done it in the past to make different height "basic" shops, which you have to break and replace the original half blocks beneath to close.

    Hey @narrowtux, sorry for the double post, but wanted to keep my issue separate from helping Mello up there :p

    i was just trying to make an exchange shop, and the details arent quite clear on what you are supposed to do when, but when it asks for the exchange item (i think thats what its asking, the "ok or id" part) and i do that, it gives me an error in chat, but not in log: "Can't find key assistant.exchange.create.rate.text for translation!"

    And then when i try to shop at it, it only says "Add 0 *itemname* to your inventory." but *itemname* is not the item floating over the slab.

    0.7.7.11
    1337

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

    riolu447

    @narrowtuxlib I downloaded newest dev build of showcase to see if it would work with iCo6, but now when I try to use a showcase it says "Could not pass event PLAYER_INTERACT to Showcase" Could you please help me figure this out? I'm desperately trying to showcase working on my server again because we rely very heavily on it...

    Thanks!

    Edit: I also have the latest Dev Build of Narrowtuxlib. Auto download of register it turned off and register is not installed because it won't enable (give could not pass PLUGIN_ENABLE errors).
    Server Log From Start Until Error (open)
    Code:
    2011-11-29 21:01:07 [INFO] Starting minecraft server version 1.0.0
    2011-11-29 21:01:07 [INFO] Loading properties
    2011-11-29 21:01:07 [INFO] Starting Minecraft server on *:25565
    2011-11-29 21:01:07 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-11-29 21:01:07 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-11-29 21:01:07 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2011-11-29 21:01:07 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    2011-11-29 21:01:08 [INFO] This server is running Craftbukkit version git-Bukkit-1.8.1-R4-27-g7b56535-b1503jnks (MC: 1.0.0) (Implementing API version 1.0.0-R1-SNAPSHOT)
    2011-11-29 21:01:08 [INFO] [SuperpermBridge] Superperm/Permissions bridge initialized
    2011-11-29 21:01:08 [INFO] [BaseBukkitPlugin 1.5] initialized
    2011-11-29 21:01:08 [INFO] DataSourcePool [DispNameChanger] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-11-29 21:01:08 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    2011-11-29 21:01:09 [INFO] Entities enhanced[0] subclassed[1]
    2011-11-29 21:01:09 [INFO] CleanroomGenerator version 0.0.4 is enabled!
    2011-11-29 21:01:09 [INFO] Preparing level "world"
    2011-11-29 21:01:09 [INFO] Default game type: 0
    2011-11-29 21:01:09 [INFO] Preparing start region for level 0 (Seed: 7786749086274333646)
    2011-11-29 21:01:10 [INFO] Preparing start region for level 1 (Seed: -979406964575812725)
    2011-11-29 21:01:10 [INFO] Preparing spawn area: 85%
    2011-11-29 21:01:10 [INFO] Preparing start region for level 2 (Seed: 4063284553915814342)
    2011-11-29 21:01:11 [INFO] [AutoMessage] version [1.5] loaded
    2011-11-29 21:01:11 [INFO] CommandBook 1.6 enabled.
    2011-11-29 21:01:11 [WARNING] CommandBook: 17 Warps(s) loaded
    2011-11-29 21:01:11 [WARNING] CommandBook: 8 Homes(s) loaded
    2011-11-29 21:01:11 [INFO] CommandBook: Maximum wrapper compatibility is enabled. Some features have been disabled to be compatible with poorly written server wrappers.
    2011-11-29 21:01:11 [INFO] CommandBook: Could not time-lock unknown world 'cworld'
    2011-11-29 21:01:11 [INFO] CommandBook: 0 banned name(s) loaded.
    2011-11-29 21:01:11 [INFO] CommandBook: 1 kit(s) loaded.
    2011-11-29 21:01:11 [INFO] CommandBook: Using the Bukkit Permissions API.
    2011-11-29 21:01:11 [INFO] [HealingWater] Enabled (Version 1.4.1).
    2011-11-29 21:01:11 [INFO] [iConomy - Celty] Enabled (29 ms)
    2011-11-29 21:01:11 [INFO] [JSONAPI] JSONAPI version null started
    2011-11-29 21:01:11 [INFO] [JSONAPI] Logging to file: false
    2011-11-29 21:01:11 [INFO] [JSONAPI] Logging to console: true
    2011-11-29 21:01:11 [INFO] [JSONAPI] IP Whitelist = None, all requests are allowed.
    2011-11-29 21:01:11 [INFO] [JSONAPI] Waiting 2.000 seconds to load methods so that all the other plugins load...
    2011-11-29 21:01:11 [INFO] [JSONAPI] Any requests in this time will not work...
    2011-11-29 21:01:11 [INFO] [MultiInv] version 2.3.2 is enabled!
    2011-11-29 21:01:11 [INFO] [Multiverse-Core] - Version 2.0-b275 Enabled - By Rigby and fernferret
    2011-11-29 21:01:11 [INFO] [Multiverse-Core] - Attached to Permissions
    2011-11-29 21:01:11 [INFO] [AllPay] - Version 3.0 - hooked into iConomy 6 for Multiverse-Core v2.0-b275
    2011-11-29 21:01:11 [INFO] [Multiverse-Core] - Multiverse Config -- Loaded
    2011-11-29 21:01:11 [INFO] [Multiverse-Core] - World Config -- Loaded
    2011-11-29 21:01:11 [INFO] [Multiverse-Core] Loading World & Settings - 'world' - NORMAL
    2011-11-29 21:01:11 [INFO] [Multiverse-Core] Loading World & Settings - 'world_nether' - NETHER
    2011-11-29 21:01:11 [INFO] Preparing start region for level 3 (Seed: 3896148291970211734)
    2011-11-29 21:01:12 [INFO] CommandBook: Time locked to '12:00 (12:00 pm)' for world 'cworld'
    2011-11-29 21:01:12 [INFO] [Multiverse-Core] Loading World & Settings - 'cworld' - NORMAL & Custom Generator: CleanroomGenerator:10,stone,4,dirt,1,grass
    2011-11-29 21:01:12 [INFO] Preparing start region for level 4 (Seed: -6270633990121000496)
    2011-11-29 21:01:12 [INFO] [Multiverse-Core] Loading World & Settings - 'redworld' - NORMAL & Custom Generator: CleanroomGenerator:5,sandstone,8,air,1,glowstone,4,sandstone,8,air,1,glowstone,4,sandstone,8,air,1,glowstone,4,sandstone
    2011-11-29 21:01:12 [INFO] [Multiverse-Core] 4 - World(s) loaded.
    2011-11-29 21:01:12 [INFO] [NarrowtuxLib] v0.8.12 by [narrowtux] enabled.
    2011-11-29 21:01:12 [INFO] Load OreDetector v0.2 maintained by [_skyler_]
    2011-11-29 21:01:12 [INFO] [OreDetector] Hooking into Permissions plugin by Nijuko
    2011-11-29 21:01:12 [INFO] RedstoneChips: Loading SensorLibrary 0.25 > photocell, pirsensor, rangefinder, daytime, slotinput, beacon.
    2011-11-29 21:01:12 [INFO] RedstoneChips: Loading BasicCircuits 0.9 > adder, and, clock, counter, demultiplexer, divider, flipflop, multiplexer, multiplier, or, pisoregister, print, random, receiver, shiftregister, transmitter, xor, decoder, encoder, pixel, pulse, not, synth, srnor, terminal, router, ringcounter, iptransmitter, ipreceiver, comparator, delay, repeater, nand, nor, xnor, segdriver, dregister, sram, bintobcd.
    2011-11-29 21:01:12 [INFO] RedstoneChips 0.9 enabled.
    2011-11-29 21:01:12 [INFO] [ShopAds] Version 1.67 loading.
    2011-11-29 21:01:12 [INFO] [ShopAds] Config loaded!
    2011-11-29 21:01:12 [INFO] [ShopAds] No advertisements were loaded
    2011-11-29 21:01:12 [INFO] [ShopAds] Version 1.67 is enabled!
    2011-11-29 21:01:12 [INFO] SimpleSignEdit v1.7 enabled.
    2011-11-29 21:01:12 [INFO] [SuperpermBridge] Superperm/Permissions bridge enabled
    2011-11-29 21:01:12 [INFO] CommandBook: Using the Bukkit Permissions API.
    2011-11-29 21:01:12 [INFO] [Multiverse-Core] - Attached to Permissions
    2011-11-29 21:01:12 [INFO] ThunderTools version 0.3 is enabled!
    2011-11-29 21:01:12 [INFO] [VoxelSniper] VoxelFOX offender will be Smite with lightning!
    2011-11-29 21:01:12 [INFO] [VoxelSniper] Config loaded
    2011-11-29 21:01:12 [INFO] [VoxelSniper] Entity Damage Event registered.
    2011-11-29 21:01:12 [INFO] VoxelSniper version 5.019 is enabled! Snipe away.
    2011-11-29 21:01:12 [INFO] WorldEdit 4.7 enabled.
    2011-11-29 21:01:12 [INFO] WorldEdit: Using the Bukkit Permissions API.
    2011-11-29 21:01:13 [INFO] WorldGuard: Using the Bukkit Permissions API.
    2011-11-29 21:01:13 [INFO] WorldGuard: (world) Single session is enforced.
    2011-11-29 21:01:13 [INFO] WorldGuard: (world) TNT ignition is PERMITTED.
    2011-11-29 21:01:13 [INFO] WorldGuard: (world) Lighters are PERMITTED.
    2011-11-29 21:01:13 [INFO] WorldGuard: (world) Lava fire is blocked.
    2011-11-29 21:01:13 [INFO] WorldGuard: (world) Fire spread is UNRESTRICTED.
    2011-11-29 21:01:13 [INFO] WorldGuard: Loaded configuration for world 'world"
    2011-11-29 21:01:13 [INFO] WorldGuard: (world_nether) Single session is enforced.
    2011-11-29 21:01:13 [INFO] WorldGuard: (world_nether) TNT ignition is PERMITTED.
    2011-11-29 21:01:13 [INFO] WorldGuard: (world_nether) Lighters are PERMITTED.
    2011-11-29 21:01:13 [INFO] WorldGuard: (world_nether) Lava fire is blocked.
    2011-11-29 21:01:13 [INFO] WorldGuard: (world_nether) Fire spread is UNRESTRICTED.
    2011-11-29 21:01:13 [INFO] WorldGuard: Loaded configuration for world 'world_nether"
    2011-11-29 21:01:13 [INFO] WorldGuard: (world_the_end) Single session is enforced.
    2011-11-29 21:01:13 [INFO] WorldGuard: (world_the_end) TNT ignition is PERMITTED.
    2011-11-29 21:01:13 [INFO] WorldGuard: (world_the_end) Lighters are PERMITTED.
    2011-11-29 21:01:13 [INFO] WorldGuard: (world_the_end) Lava fire is blocked.
    2011-11-29 21:01:13 [INFO] WorldGuard: (world_the_end) Fire spread is UNRESTRICTED.
    2011-11-29 21:01:13 [INFO] WorldGuard: Loaded configuration for world 'world_the_end"
    2011-11-29 21:01:13 [INFO] WorldGuard: Blacklist loaded.
    2011-11-29 21:01:13 [INFO] WorldGuard: (cworld) Single session is enforced.
    2011-11-29 21:01:13 [INFO] WorldGuard: (cworld) TNT ignition is PERMITTED.
    2011-11-29 21:01:13 [INFO] WorldGuard: (cworld) Lighters are PERMITTED.
    2011-11-29 21:01:13 [INFO] WorldGuard: (cworld) Lava fire is blocked.
    2011-11-29 21:01:13 [INFO] WorldGuard: (cworld) Fire spread is UNRESTRICTED.
    2011-11-29 21:01:13 [INFO] WorldGuard: Loaded configuration for world 'cworld"
    2011-11-29 21:01:13 [INFO] WorldGuard: (redworld) Single session is enforced.
    2011-11-29 21:01:13 [INFO] WorldGuard: (redworld) TNT ignition is PERMITTED.
    2011-11-29 21:01:13 [INFO] WorldGuard: (redworld) Lighters are PERMITTED.
    2011-11-29 21:01:13 [INFO] WorldGuard: (redworld) Lava fire is blocked.
    2011-11-29 21:01:13 [INFO] WorldGuard: (redworld) Fire spread is UNRESTRICTED.
    2011-11-29 21:01:13 [INFO] WorldGuard: Loaded configuration for world 'redworld"
    2011-11-29 21:01:13 [INFO] WorldGuard: 0 regions loaded for 'world'
    2011-11-29 21:01:13 [INFO] WorldGuard: 0 regions loaded for 'world_nether'
    2011-11-29 21:01:13 [INFO] WorldGuard: 0 regions loaded for 'world_the_end'
    2011-11-29 21:01:13 [INFO] WorldGuard: 0 regions loaded for 'cworld'
    2011-11-29 21:01:13 [INFO] WorldGuard: 0 regions loaded for 'redworld'
    2011-11-29 21:01:13 [INFO] WorldGuard 5.3 enabled.
    2011-11-29 21:01:13 [INFO] CommandHelper 3.1.2 enabled
    2011-11-29 21:01:13 [INFO] CommandHelper: Using the Bukkit Permissions API.
    2011-11-29 21:01:13 [INFO] [CommandHelper]: 5 alias(es) defined.
    2011-11-29 21:01:13 [INFO] [JSONAPI] Remote Toolkit methods cannot be loaded because it depends on a plugin that is not installed: 'RemoteToolkitPlugin'
    2011-11-29 21:01:13 [INFO] [JSONAPI] 69 methods loaded in 3 namespaces.
    2011-11-29 21:01:13 [INFO] [JSONAPI] JSON Server listening on 20059
    2011-11-29 21:01:13 [INFO] [JSONAPI] JSON Stream Server listening on 20060
    2011-11-29 21:01:13 [INFO] [JSONAPI] JSON WebSocket Stream Server listening on 20061
    2011-11-29 21:01:13 [INFO] [JSONAPI] Active and listening for requests.
    2011-11-29 21:01:13 [INFO] [dynmap] Loaded 12 shaders.
    2011-11-29 21:01:13 [INFO] [dynmap] Loaded 56 perspectives.
    2011-11-29 21:01:13 [INFO] [dynmap] Loaded 6 lightings.
    2011-11-29 21:01:13 [INFO] [dynmap] Loaded 3 maps of world 'world'.
    2011-11-29 21:01:13 [INFO] [dynmap] Loaded 2 maps of world 'world_nether'.
    2011-11-29 21:01:13 [INFO] [dynmap] World 'world_the_end' disabled
    2011-11-29 21:01:13 [INFO] [dynmap] Loaded 3 maps of world 'cworld'.
    2011-11-29 21:01:13 [INFO] [dynmap] Loaded 3 maps of world 'redworld'.
    2011-11-29 21:01:13 [INFO] [dynmap] Dynmap WebServer started on null:8124
    2011-11-29 21:01:13 [INFO] [dynmap] version 0.20.1 is enabled
    2011-11-29 21:01:13 [INFO] [BaseBukkitPlugin 1.5] Unfamiliar version string git-Bukkit-1.8.1-R4-27-g7b56535-b1503jnks (MC: 1.0.0)
    2011-11-29 21:01:13 [INFO] [DispNameChanger] Spout not detected! Not using spout features.
    2011-11-29 21:01:13 [INFO] [DispNameChanger] Version 4.1 by [captainawesome7, itsatacoshop247, Daxiongmao87, Luke Zwekii, Sammy, SniperFodder] has been enabled!
    2011-11-29 21:01:13 [INFO] [iChat] Found PermissionsBukkit v1.2
    2011-11-29 21:01:13 [INFO] iChat (v2.4.4) enabled
    2011-11-29 21:01:13 [INFO] [Jail] Loaded 2 jail zones.
    2011-11-29 21:01:13 [INFO] [Jail] Loaded 3 prisoners.
    2011-11-29 21:01:13 [INFO] [Jail] Loaded 19 cells.
    2011-11-29 21:01:13 [INFO] [Jail] Jail v2.0.3 loaded!
    2011-11-29 21:01:13 [INFO] PermissionsBukkit v1.2 is now enabled
    2011-11-29 21:01:14 [INFO] [Showcase] Registered type [basic] (0 items loaded)
    2011-11-29 21:01:14 [INFO] [Showcase] Registered type [finite] (311 items loaded)
    2011-11-29 21:01:14 [INFO] [Showcase] Registered type [infinite] (0 items loaded)
    2011-11-29 21:01:14 [INFO] [Showcase] Registered type [exchange] (0 items loaded)
    2011-11-29 21:01:14 [INFO] [Showcase] Registered type [tutorial] (0 items loaded)
    2011-11-29 21:01:14 [INFO] [Showcase] version 0.7.8 has been enabled.
    2011-11-29 21:01:14 [INFO] Done (0.477s)! For help, type "help" or "?"
    2011-11-29 21:01:14 [INFO] RedstoneChips: Reading circuits file...
    2011-11-29 21:01:14 [INFO] RedstoneChips: Activating circuits...
    2011-11-29 21:01:14 [INFO] RedstoneChips: Done. Loaded 3 chips.
    2011-11-29 21:01:16 [INFO] riolu447 [/127.0.0.1:60971] logged in with entity id 543 at ([world] 244.40625, 64.0, -246.21875)
    2011-11-29 21:01:16 [INFO] [MultiInv] Sharing Halloween to world is invalid
    2011-11-29 21:01:16 [INFO] [MultiInv] Shared worlds loaded with no errors
    2011-11-29 21:01:17 [SEVERE] Could not pass event PLAYER_INTERACT to Showcase
    java.lang.NoSuchMethodError: com.narrowtux.narrowtuxlib.NarrowtuxLib.getMethod()Lcom/nijikokun/register/narrowtuxlib/payment/Method;
    	at com.narrowtux.showcase.types.BuyAssistant.<init>(BuyAssistant.java:65)
    	at com.narrowtux.showcase.types.FiniteShowcaseExtra.onClick(FiniteShowcaseExtra.java:40)
    	at com.narrowtux.showcase.ShowcasePlayerListener.onPlayerInteract(ShowcasePlayerListener.java:100)
    	at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:330)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    	at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:171)
    	at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:92)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:497)
    	at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
    	at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    
     
  11. Offline

    sensybloody

    Hello,

    First of all I want to say this is a really great plugin.
    But for some reason it stopped working.

    "You can't place any showcases."
    "[WARNING] Showcase"
    "Showcase creation cancelled"

    I couldn't find an answer on the forums (or maybe I'm just bad at searching).

    And when I protect an area with WorldGuard, but there is a shop in it.
    Will people be able to buy stuff inside the protected area ?

    Thanks ! :cool:
     
  12. Offline

    narrowtux

    This is likely a permissions issue. I don't have a clue about general Permissions configuration, so please ask in the forum of your permissions system.

    When you have shops inside WorldGuard protected areas, people who are not allowed to build there can still buy from the showcases, yes. That's what this feature was meant to do ;)

    You have to get the latest dev-build of showcase as well, otherwise it will very likely crash.
    Find that on http://ci.getspout.org/job/Showcase

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

    sensybloody

    Hm that's weird, even OP can't make a showcase even when they have all permissions.

    Thanks anyway !
     
  14. Offline

    lezyamin

    Hey this is an AMAZING plugin, but im getting an error,I use CB1530, I have the dev version of NarrowtuxLib and the dev version of Showcase and I get this :
    Code:
    INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    30.11 16:49:26 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    30.11 16:49:26 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
    30.11 16:49:26 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    30.11 16:49:26 [Server] INFO     at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:546)
    30.11 16:49:26 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    30.11 16:49:26 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    30.11 16:49:26 [Server] INFO     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    30.11 16:49:26 [Server] INFO     at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:179)
    30.11 16:49:26 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    30.11 16:49:26 [Server] INFO     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    30.11 16:49:26 [Server] INFO     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
    30.11 16:49:26 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:370)
    30.11 16:49:26 [Server] INFO     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    30.11 16:49:26 [Server] INFO     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    30.11 16:49:26 [Server] INFO     at net.madjawa.pluginreloader.PluginReloader.onCommand(PluginReloader.java:84)
    30.11 16:49:26 [Server] INFO     at net.madjawa.pluginreloader.PluginReloader.loadPlugin(PluginReloader.java:231)
    30.11 16:49:26 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    30.11 16:49:26 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:964)
    30.11 16:49:26 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    30.11 16:49:26 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    30.11 16:49:26 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:585)
    30.11 16:49:26 [Server] INFO     at com.nijikokun.register.listeners.server.onPluginEnable(server.java:37)
    30.11 16:49:26 [Server] INFO java.lang.IncompatibleClassChangeError: Expected static method com.nijikokun.register.payment.Methods.hasMethod()Z
    30.11 16:49:26 [Server] SEVERE Could not pass event PLUGIN_ENABLE to Register
    And now when I reload the server i get this :

    Code:
    30.11 17:03:48 [Server] INFO     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    30.11 17:03:48 [Server] INFO     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    30.11 17:03:48 [Server] INFO     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    30.11 17:03:48 [Server] INFO     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    30.11 17:03:48 [Server] INFO     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    30.11 17:03:48 [Server] INFO     at java.security.AccessController.doPrivileged(Native Method)
    30.11 17:03:48 [Server] INFO     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    30.11 17:03:48 [Server] INFO Caused by: java.lang.ClassNotFoundException: de.moritzschmale.Showcase.ShowcaseMain
    30.11 17:03:48 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    30.11 17:03:48 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    30.11 17:03:48 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:482)
    30.11 17:03:48 [Server] INFO     at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    30.11 17:03:48 [Server] INFO     at com.griefcraft.modules.flag.MagnetModule$MagnetTask.run(MagnetModule.java:113)
    30.11 17:03:48 [Server] INFO     at com.griefcraft.modules.flag.MagnetModule.access$300(MagnetModule.java:42)
    30.11 17:03:48 [Server] INFO     at com.griefcraft.modules.flag.MagnetModule.isShowcaseItem(MagnetModule.java:184)
    30.11 17:03:48 [Server] INFO java.lang.NoClassDefFoundError: de/moritzschmale/Showcase/ShowcaseMain
    Sorry to be a hindrance, but i found out that it works for other admins with the EXACT same permission nodes as me. But there is no response for me.

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

    Korrosive

    Bukkit #1532, NarrowtuxLib Latest (#21) and Showcase Latest Dev Build (#15).

    I can place a infinite showcases, basic, exchange... but when I put a finite, the item dissapear, the message appear, but don't appear the drop on the slab.

    Error:

    Code:
    16:44:33 [SEVERE] Could not pass event PLAYER_CHAT to NarrowtuxLib
    java.lang.NullPointerException
    at org.bukkit.craftbukkit.inventory.CraftItemStack.getEnchantments(Craft
    ItemStack.java:171)
    at org.bukkit.inventory.ItemStack.clone(ItemStack.java:209)
    at com.narrowtux.showcase.ShowcasePlayer.remove(ShowcasePlayer.java:89)
    at com.narrowtux.showcase.types.FiniteShowcase.createShowcase(FiniteShow
    case.java:83)
    at com.narrowtux.showcase.ShowcaseCreationAssistant.onAssistantFinish(Sh
    owcaseCreationAssistant.java:91)
    at com.narrowtux.narrowtuxlib.assistant.Assistant.stop(Assistant.java:24
    0)
    at com.narrowtux.narrowtuxlib.assistant.Assistant.onPlayerChat(Assistant
    .java:88)
    at com.narrowtux.narrowtuxlib.event.NTLPlayerListener.onPlayerChat(NTLPl
    ayerListener.java:32)
    at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.ja
    va:295)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:339)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:726)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
     
  16. Offline

    riolu447

    I did... I said that at the very beginning of my first post... That's why I'm so confused about what is going on and why it's not working.
     
  17. Offline

    Redstorm3265

    As I said apx. 1 month ago, you do not support permissions bukkit, ive set it up and you still cannot make infinite without being an op, its all default perms.
     
  18. Offline

    narrowtux

    this bug was in Bukkit. It has been fixed recently. Upgrade to the latest build.
    Remember that this is still not a recommended build and those bugs can appear, as you see here.
     
  19. Offline

    Korrosive

    Fixed with latest build. Thanks! :D
     
  20. Offline

    Sushen

    As a server administrator, i'm really NOT SATISFIED on how you upload YOURSELF (by CODE !) your NarrowtuxLib library on the hosting server !! This SHOULD'nt be done that way (NEVER!), and YOU SHOULD advertise the users on the required dependencies so that they install'em manually on their server.

    Code from Showcase.java, line 212
    Code:
    File toPut = new File("plugins/NarrowtuxLib.jar");
    download(getServer().getLogger(), new URL("http://tetragaming.com/narrowtux/plugins/NarrowtuxLib.jar"), toPut);
    pm.loadPlugin(toPut);
    pm.enablePlugin(pm.getPlugin("NarrowtuxLib"));
    Hope you'll fix this very early !!
    Thanks
     
  21. Offline

    narrowtux

    It's far more easy for users to install this. And what would be the difference between you dropping the dependency on the server yourself or let Showcase do it? Right: It's far more convenient.
    Also, no all-caps words are needed when you talk to me ;)

    Version 0.7.9 released
    • Updated for NarrowtuxLib - now integrates Register correctly again
    • Fix a duplication issue with finite showcases.

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

    Sushen

    The difference is that when you put it manually, you have a control on what you install. With your method, if your server is hacked, the clients will be infected without ever noticing it. Thats the point.
    The caps are there to signify that this should never be done silently - whatever software you release. If a virus goes on the hosting machine, the people who install youre plug will be held responsible for the hacking by the Hoster.
    You should take it into account as a developper.

    If you administrate a server (minecraft or whatever), you probably know that when you find a file that you didnt' put yourself, you've probably been hacked.
     
  23. Offline

    narrowtux

    I don't know why you think this would be equal to hacking, because it just loaded an additional dependency.
    If you want control of what you're installing, simply install NarrowtuxLib before Showcase - Showcase doesn't download NarrowtuxLib. Easy as that.

    And: there is never a valid reason to use all caps.
     
  24. Offline

    Sushen

    All caps is not the important part..

    You've never been hacked, did you ? else you would'nt ask this question ^^

    As for installing NarrowtuxLib before Showcase, you don't even mention it on your first post.
    Thats why i find your way of uploading your dependency really intrusive.
    The correct way would be to provide a zip file with your plug and your dependency, and at least to mention it somewhere..
     
  25. Offline

    MikeA

    Is there any possibility of making a modified version without economy so it's possible to just make a slab with an item on it, and no functions?
     
  26. Offline

    --GJ--

    That's what a basic showcase does. Only finite & infinite are for selling.
     
    MikeA likes this.
  27. Offline

    MikeA

    Oi! Thanks, I didn't notice that.. I am behind a bit.
     
  28. Offline

    riolu447

    Hey! that solve my problem too!

    Thanks!
     
  29. Offline

    G1R Productions

    02.12 08:09:13 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    02.12 08:09:13 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:380)
    02.12 08:09:13 [Server] INFO at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:477)
    02.12 08:09:13 [Server] INFO at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    02.12 08:09:13 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    02.12 08:09:13 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    02.12 08:09:13 [Server] INFO at net.minecraft.server.Packet15Place.a(SourceFile:57)
    02.12 08:09:13 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:592)
    02.12 08:09:13 [Server] INFO at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:275)
    02.12 08:09:13 [Server] INFO at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:171)
    02.12 08:09:13 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    02.12 08:09:13 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    02.12 08:09:13 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:330)
    02.12 08:09:13 [Server] INFO at com.narrowtux.showcase.ShowcasePlayerListener.onPlayerInteract(ShowcasePlayerListener.java:68)
    02.12 08:09:13 [Server] INFO at com.narrowtux.showcase.ShowcaseCreationAssistant.<init>(ShowcaseCreationAssistant.java:43)
    02.12 08:09:13 [Server] INFO java.lang.NoSuchMethodError: com.narrowtux.narrowtuxlib.NarrowtuxLib.getMethod()Lcom/nijikokun/register/payment/Method;
    02.12 08:09:13 [Server] SEVERE Could not pass event PLAYER_INTERACT to Showcase
     
  30. Offline

    narrowtux

    you should install the latest version of showcase ;)
     
  31. Offline

    TheMello

    @narrowtux: My server members and I have a suggestion. Would it be possible to add members to a showcase so that more than one person can edit it? I'm trying to sell them on Showcase over chest-shops, but they are bringing problems like this and the lack of the ability to sell to my attention. For those that co-own a shop, restocking can only be done by one person. All of the money would obviously go to the creator of the display, but others should be allowed to edit it. Thanks for reading this.
     
Thread Status:
Not open for further replies.

Share This Page