Inactive [GEN/MECH] VirtualChest 5.6.1 - Have a Chest with you Everywhere[All Economy] [1.1R6/1.2]

Discussion in 'Inactive/Unsupported Plugins' started by Dark_Balor, Apr 6, 2011.

  1. Offline

    Dark_Balor

    VirtualChest (aka GiftPost) - New way to play with minecraft's inventory :
    Version: v5.6.1

    Require Bukkit CB 1337 MIN

    First of all, what's a VirtualChest ?

    A Virtual Chest is a chest that can't be accessed in the "physical world of minecraft" there is no block, nothing. It's mean that you are the only one who can use it, impossible to stole the content, and unlike your player's inventory, no loss when dying.

    You can access whenever you want just by taping a command or using the "magical wand". Like in the game there is 2 types of chest, Large and Normal.

    You can use a virtual chest as an "envelope" to send a package of items to an other player's virtual chest.

    One is never enough then you can buy more Virtual Chest (by default the limit is 10), set the default chest to be opened with the "magical wand", used for send and receive gift.

    Features:
    • Every player have he's chest (depending on Permissions)
    • And can buy other if he want
    • You can send the content of your chest to a Friend
    • Offline mode works (depending on what you put in the config file)
    • Autogenerated config file at first launch.
    • AutoSaver to not lose your's items
    • 2 type of chest, Large and Normal (like in the game)
    • Normal type is upgradeable ingame
    • Max-Range configurable.
    • Work with any items like coloured Wool, Dye etc ...
    • You can set a sign to avoid your player to use there chest everywhere
    • Support for All Economy Plugins with Vault.
    • Support MultiWorld !
    • Support for mcMMO !
    • Support Essentials Reload Command
    IMPORTANT :If you use an Economy plugin you NEED THE VAULT API (Plugin).

    Download

    Source Code
    [​IMG]

    Video Tutorial ( made by @Qanthelas )


    Commands (All PLAYERNAME are CASE SENSITIVE !)
    Code:
    /gp ? 1,2 or 3 - to see the help's page (1,2 or 3)
    /gp c (|ChestName) - open the chest ChestName. If no ChestName provided, use the default chest. (by default your first chest)
    /gp s (PlayerName) - send the content of your default chest to the PlayerName
    /gp e ChestName - empty the selected chest.
    /gp b (large OR normal) ChestName - buy a new chest with the type and the name choosen
    /gp u (|ChestName) - Upgrade the default chest if no ChestName is provided and if it's a normal chest.
    /gp set ChestName (default OR send) - Set the ChestName as default chest or as send/receive chest for "gifts"
    /gp l - List all your chests
    /gp r oldName newName - Rename the chest oldName to newName
    /gp rm <chest> - DESTROY the <chest> forever !
    
    Admins commands :
    mcMMO added command :
    These command work when mcMMO is installed (version 0.9.20 MINIMUM)
    Code:
    /gp party OR /gp p (large OR normal) - Buy a VirtualChest for your party (large or normal chest)
    /gp o OR /pchest  - Open the party's chest
    
    Permissions
    Code:
    giftpost.chest.everywhere - allow to open the chest everywhere.
    giftpost.chest.open - to open the chest, set default chest, buy a chest, list chests, rename chests, delete chests
    giftpost.chest.empty - to empty your chest
    giftpost.chest.send - to send the content of the chest
    giftpost.chest.upgrade - to upgrade a chest
     
    giftpost.admin.empty - to empty the chest of an another player
    giftpost.admin.limit -  allow the user to set a limit of max-chest for an another Player.
    giftpost.admin.sign - allow to create the sign [Chest Keeper] to be use as an accessors to the chest
    giftpost.admin.free - Everything is free for the admins
    giftpost.admin.item - Allow the admin to use the command /gp i to spawn an item in his send chest
    giftpost.admin.sendallusers - Allow the admin to send the content of his sendchest to all user who have a VirtualChest
    giftpost.admin.open - Allow the admin to list and open other player chest.
    How to set the max chests limit and default chest Type with Permissions (open)

    Example on Group Admin :
    As you can see you must add
    Code:
            giftpost:
                    maxchests: 2
                    chestType : 'normal'
    
    in the info node
    Code:
    groups:
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
                giftpost:
                    maxchests: 2
                    chestType : 'normal'
            inheritance:
            permissions:
                - '*'
    
    Example on User
    Here you must add
    Code:
            info:
                giftpost:
                    maxchests: 5
                    chestType : 'normal'
    
    in the user Node (here Balor)
    Code:
    users:
        Balor:
            groups:
            - Admins
            permissions: []
            info:
                giftpost:
                    maxchests: 5
                    chestType : 'normal'
    
    The override works like that : /gp lim Command > User Permissions Variable > Group Permissions Variable > Plugin Config File

    Of course if you set the variable for the group, every user of that group will have that variable.

    How to configure Signs Chest Commands (open)

    1. You must have the permission giftpost.admin.sign if you don't have it this will happen when you'll try to create the sign
      [​IMG]
    2. create a sign with first line : [Chest Keeper] to use it to open the default chest, [Buy Chest] to buy a chest (see config file and Spoiler about setting the default type with Permissions) and [Up Chest] to upgrade the chest.
      [​IMG]
    3. When done just use the right click to open the default chest
      [​IMG]




    Configuration file (open)

    #using or not the max range
    use-max-range: 'true'

    #the max range in block
    max-range: 100

    #allow or not the offline mode (sending a gift to an offline player)
    allow-offline: 'true'

    #Activate or disable the MOTD
    message-of-the-day: 'true'

    #Allow user to use the "wand" to open their default chest
    use-wand: 'true'

    #Id of the item to be used as "wand" by default it's the chest
    wand-item-id: 54

    #Maximum of chest a player can have
    max-number-chest: 10

    #Every X min the AutoSaver will save the content of the chests
    auto-save-time: 10

    #Check if the two player are in the same world when trying to send a "gift"
    world-check: 'true'

    #Activate or not iConomy for the plugin
    iConomy: 'true'

    #Price for sending a gift (in game it's display price for the post) if iConomy activated
    iConomy-send-price: 1.0

    #Price for opening the chest if iConomy activated
    iConomy-openchest-price: 1.0

    #Price of a normalChest
    iConomy-normalChest-price: 10.0

    #Price of a largeChest
    iConomy-largeChest-price: 20.0

    #When opening a chest, auto-stack same items together.
    auto-stack: 'true'

    #When opening a chest, sort it by item ID.
    auto-sort: 'true'

    #The users can only buy NORMAL chest.
    only-normal: 'false'

    #The users can only use the sign to open and buy a chest.
    only-sign: 'false'

    #By default the command buy (and the sign) will buy this type of chest (can be overrided in the Permissions file, see below).
    chest-default: normal

    #If set to true, when the player die, every item he have in his chests are dropped on the ground (like the normal inventory)
    drop-on-death: 'false'

    #If set to true, avoid using SuperPerm Bridge, to use only the Official Super Perm
    forceOfficialBukkitPerm: false

    Todo (open)

    1. Add support for an Economy
    2. Support mcMMO
    3. Add the possibility to lose what we have in the chest when we die
    4. Restrict chest to a location/sign
    5. ideas ?




    Credits (open)

    This plugin use the Proof of Concept of @Timberjaw about VirtualChest.

    Changelog:
    Version 5.6.1
    • [BUKKIT FIX] Works with 1.1-R6 and 1.2


    Version 5.6
    • [CHANGE] Moved to the new Event system
    • [CHANGE] better handeling of Permissions Plugin
    • [CHANGE] Works with bukkit since version 1.1-R1
    Version 5.5
    • [UPDATE] Work with last 1700+- build of Bukkit.
    Version 5.4
    • [CHANGE] Removed Register, Using Vault now for Economy management
    • [CHANGE] VirtualChest can store Cheated Items.
    Version 5.3.2
    • [BUG FIX] Corrected a bug with the rename command.
    Version 5.3.1

    • [CHANGE] Retro-Compatibility with older bukkit version then 1500 (that don't have enchantments)
    Version 5.3

    • [BUG FIX] Some minor bug correction
    • [FEATURE] Works with enchantments
    • [OPTIMIZATION] Changed how the items are saved in the file (auto-convert)
    Version 5.2

    • [OPTIMIZATION] Some optimization done in the file management.
    Version 5.1

    • [CHANGE/BUG FIX] When Register is not detected AND iConomy set to true in the config file, the plugin will auto-disable the Economy feature and display an error message in the log asking to download the Register API.
    Version 5.0.5


    • [CHANGE] No more auto-download of Register
    • [CHANGE] Register added as DEPENDENCY.
    Version 5.0.4


    • [BUG FIX] limit set by the command /gp lim rework now.
    Version 5.0.3


    • [BUG FIX] Should resolve problems with Register.
    Version 5.0.2


    • [BUG FIX] Some permissions weren't working correctly with PermissionsBukkit.
    Version 5.0.1


    • [BUG FIX] With Register.
    Version 5.0


    • [FEATURE] Works with PermissionsEX and Official Bukkit Permission (SuperPerm)
    • [BUG FIX/UPDATE] Updated the use of the Register API.
    • [FEATURE] Works with iConomy 6.x
    Old ChangeLog (open)


    Version 4.5

    • [MINECRAFT] Work with 1.8.1
    • [BUG FIX] Now the old save file are correctly converted
    • [BUG FIX] With the stacker, some time was throwing a ArrayOutOfBound
    Version 4.4.5



    • [BUG FIX] Corrected a major bug in the new save system, user could duplicate their chest using the rename and delete command.
    Version 4.4.4



    • [CHANGE] To avoid any problem with empty command, you must now type the name of the chest to empty it.
    Version 4.4.3



    • [BUG FIX] Corrected command /gp i. Now re-works. You can give colored item example : /gp i wool:5
    Version 4.4.2



    • [BUG FIX] No more NPE with setDefaultChest
    • [BUG FIX] Using the new save system to take the chest list : IMPORTANT. If you had some chest that disappeared before, they will not be in the list anymore.
    Version 4.4.1



    • [BUG FIX] No more exception when using SuperPermBridge
    Version 4.4



    • [BUG FIX] Save corruption
    • [FEATURE] Admin can now open and list other player chest
    • [CHANGE] Save system, now using YML file (that can be edited manually when the user is offline). NO NEED TO DO ANYTHING, the convert is automatic without any loss.
    • [OPTIMIZATION] some code optimization.
    Version 4.3.5



    • [BUG FIX] Correct a rare NPE.
    • [BUG FIX] Should avoid Chest Corruption.
    Version 4.3.4



    • [BUG FIX] Corrected an NPE with the google ConcurrentMap and getDefaultChest.
    Version 4.3.3



    • [COMPATIBILITY] Retro-compatibility with bukkit version under 1000.
    Version 4.3.2



    • [OPTIMIZATION] Using Google collection Concurrent Map. Better memory foot print.
    Version 4.3.1



    • [BUG FIX] In rename function, now the chest name is what it must in the list.
    • [CHANGE] Setting a limit to 0 mean unlimited
    Version 4.3



    • [OPTIMIZATION] Better flushing memory when the player disconnect
    • [BUG FIX] Some bug fix with the command upgrade and remove
    • [FEATURE] Possibility to drop the item in the chests on death (look config param)
    • [FEATURE] New Sign : [Up Chest] to upgrade the chest.
    • [OPTIMIZATION] To prepare the plugin with the next RB.
    Version 4.2



    • [CHANGE] How the upgrade works, now the amount to pay is : LargeChest - NormalChest.
    • [FEATURE] A Sign [Buy Chest] to buy chest
    • [FEATURE] Possibility to set a Default Chest Type in the config and in the Permissions file (seet above)
    • [FEATURE] New Setting : only-sign, it's allow the server admin to deactivate the commands buy and chest (opening the chest) for all the server meaning that only the 2 sign ([Chest Keeper] and [Buy Chest]) can be used to achieve these command.
    • [BUG FIX] Collision with other plugin that are using Register for there economy management.
    Version 4.1



    • [FEATURE] You can now use Permission to set the max chest limit (just look above on the Spoiler How to set the max chests limit with Permissions
    Version 4.0



    • [MAJOR CHANGE] Works now with all Economy plugins (BOSE, iConomy 4 & 5, Essentials)
    Version 3.9.1
    • [OPTIMIZATION] Some code optimization about disabling the plugin.
    Version 3.9




    • [MAJOR BUG FIX] When the player destroy his last/only chest, there where an exception and sometime a duplication of the items in it.
    Version 3.8




    • [FEATURE] 100% Compatible with the command Reload of Essentials
    Version 3.7.2




    • [MAJOR BUG FIX] With the auto-stacker functionality sometime it duplicate the Items instead of deleting it. CORRECTED !
    Version 3.7.1




    • [BUG FIX] Corrected an NPE with a fresh install
    • [BUG FIX] Corrected a problem when buying a new chest and deco/reco just after.
    [cake]Version 3.7[cake]
    • [OPTIMIZATION] Changed the way that the chest are saved. Now if a chest is corrupted, you will not loose all the Virtual Chest
    • [OPTIMIZATION] For the memory footprint, Virtual Chest automatically load and unload the chests. What I mean by that is only the players connected have their chests in memory. (Big big optimization, normally will reduce the CPU utilisation too)
    • [COMMAND] Added a command /gp help (/gp ? work too) to see the help's pages
    Version 3.6.2



    • [CORRECTION] No more msg when player connect when motd is deactivated.
    • [OPTIMIZATION] Permissions system.
    Version 3.6.1



    • [API] Changed the API to be compatible with Bukkit's ItemStacks.
    Version 3.6



    • [CHANGE] Works with iConomy 5.0
    Version 3.5.8



    • [BUG FIX] Command /gp e is now fixed
    • [FEATURE] added command /gp rm <chest> to remove the <chest>. Use it CAREFULLY because it's irreversible !
    Version 3.5.7



    • [BUG FIX] Corrected bug with mcMMO 1.0
    Version 3.5.6



    • [BUG FIX] NPE corrected in GiftPostWorker line 188
    • [BUG FIX] ArrayIndexOutOfBoundsException corrected in Chest line 59
    Version 3.5.5



    • [FEATURE] Added a new command and new Permission node (for admin) /gp i to add the given item to the send chest
    • [FEATURE] Add a new param and new Permission node (for admin) to command /gp s : when doing /gp s allusers, it's send the content of the send chest to all the users who have a VirtualChest.
    Version 3.5.4 (unReleased)



    • [BUG FIX] Corrected the bug in rename command. (The name of the VirtualChest was not changing).
    Version 3.5.3 (unReleased)



    • [FEATURE] Added new config param : only-normal. With this the user can ONLY buy normal chest.
    Version 3.5.2



    • [OPTIMIZATION] Using bukkit scheduler instead of my own thread
    • [MINOR] Now when we type a command without the right number of argument it send a little how to use the command instead of a list of all commands
    Version 3.5.1



    • [FEATURE/MISTAKE FIX] The chest are named automatically if no chestName is provided
    • [FEATURE] You can now rename your chests (command /gp r oldName NewName)
    • [BUG FIX] Corrected the bug with the auto-stack functionality
    Version 3.5



    • Work with bukkit 709
    Version 3.4.1



    • Corrected the message spam
    • [FEATURE] auto-stack and auto-sort chest (see config file)
    Version 3.4 (MAJOR BUG FIXE)



    • [FIXED] When using a large virtual chest, it was loaded as a normal chest when the server restart, meaning that you just have the 27 first items saved instead of 54.
    • Minor code optimization in the permission handler.
    Version 3.3.5



    • Changed the command set : now 2 different "default" chest, one to be open with the command and the wand, the other is used for sending and receiving items
    • added new permission node to have everything for free : giftpost.admin.free
    • possibility to turn of the motd
    • possibility to disallow user to use the wand to open their chest
    Version 3.3.1



    • If a iConomy cost = 0, no message about the chest keeper is displayed
    Version 3.3



    • Added the possibility to set the limit of chest by Player (case sensitive)
    • Added the possibility to set Signs ([Chest Keeper]) to open chests
    • New permissions (giftpost.admin.limit, gifpost.admin.sign, giftpost.chest.everywhere)
    Version 3.2.1



    • Corrected a bug with the command upgrade. When restarting the server, the upgrade was lost.
    Version 3.2



    • Added support for mcMMO : you can buy a chest for your party. When the party is dismissed the chest is destroyed. (done with the help of @nossr50 developer of mcMMO)
    Version 3.1.1



    Version 3.1



    • Added command List to list all your chest
    Version 3.0



    • Now you can buy chest
    • You can have more than 1 chest
    • You can upgrade a normal chest to a large chest
    • You can set a Default chest for send, receive and "wand"
    • New config file (please look at it)
    • Chest now used as magic wand
    Version 2.2.1



    • Added the possibility to disable iConomy for the plugin (look config file)
    Version 2.2



    • Support for iConomy
    Version 2.1



    • Support for MultiWorld
    Version 2.0



    • Public Release with possibility to send the content
    Version 1.0



    • Created an api for VirtualChest


    changed the name to VirtualChest (more obvious name then GiftPost)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
    LPLukas, Monowii, AdamS and 6 others like this.
  2. Offline

    darkwarriors

    so if we dont want Register that causing alot of plugin uses, can u make a standalone versione without register dependeces?
     
  3. Offline

    Dark_Balor

    The 5.1 don't need register to work.

    @AMinecraftplayer : You need java 1.6 or java 1.7. You obviously have 1.5.
    @Karlkorv : Download the last version of Register in the first post, and the last version of VirtualChest.
     
  4. Offline

    darkwarriors

    so it detect Economy plugin withoyt Register api?
     
  5. Offline

    Dark_Balor

    No to use an economy plugin you need Register.
     
  6. Offline

    darkwarriors

    yeah but i need your plugin and my player use it.. pls think about that i cant commit all plugin update because Register is so stupid to do an API system before waiting plugins update that will use it.. if we install Register we have to remove about 7 plugins that as no Register api.. if we install VirtualChest we cant use it with Economy plugin ( and older version dont save item at server stop ) because it only works with Register.. Hope u cane udenstand my point o view.. i have to push 10 plugins changes only because Register Fail..
     
  7. Offline

    Karlkorv

    downloaded both three times, still doesn't work :/
     
  8. No i am 100% that i had java 1.7 , now i have java 1.6 . And it works fine now i only have a problem with LM :

    Code:
    Error occurred while enabling LoginMessage v0.7.2.1 (Is it up to date?): Expecting non-static method com.nijikokun.register.payment.Methods.hasMethod()Z
    java.lang.IncompatibleClassChangeError: Expecting non-static method com.nijikokun.register.payment.Methods.hasMethod()Z
            at de.xzise.wrappers.economy.EconomyHandler.customLoad(EconomyHandler.java:165)
            at de.xzise.wrappers.Handler.load(Handler.java:88)
            at de.xzise.wrappers.Handler.load(Handler.java:59)
            at com.tahkeh.loginmessage.Main.onEnable(Main.java:95)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:170)
            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:171)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
     
  9. Offline

    Robert Pendell

    Don't forget to move over to bukkitdev. I was looking over there and for some reason virtualchest brings up spouttrade.
     
  10. Oh got a new problem with Register and VC:
    And yes , I think its best to take the hole thing from start :p

    Code:
    21:57:02 [INFO] Starting minecraft server version Beta 1.8.1
    21:57:02 [INFO] Loading properties
    21:57:02 [INFO] Starting Minecraft server on *:25565
    21:57:02 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1126-g35eac7a-b1317jnks (MC: 1.8.1)
    21:57:02 [INFO] DataSourcePool [SimpleAdmin] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    21:57:03 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    21:57:03 [INFO] Entities enhanced[0] subclassed[1]
    21:57:03 [INFO] [PermissionsEx] sql backend registered!
    21:57:03 [INFO] [PermissionsEx] file backend registered!
    21:57:03 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    21:57:03 [INFO] [PermissionsEx] p2compat backend registered!
    21:57:03 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
    21:57:04 [INFO] [PermissionsEx] Initializing file backend
    21:57:04 [SEVERE] com.nijikokun.register.payment.Methods.setPreferred(Ljava/lang/String;)Z initializing Register v1.5 (Is it up to date?)
    java.lang.NoSuchMethodError: com.nijikokun.register.payment.Methods.setPreferred(Ljava/lang/String;)Z
            at com.nijikokun.register.Register.hasPreferred(Register.java:41)
            at com.nijikokun.register.Register.onLoad(Register.java:55)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:139)
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:112)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    21:57:04 [INFO] Preparing level "The_City_Of_Epicnes"
    21:57:04 [INFO] Default game type: 0
    21:57:04 [INFO] Preparing start region for level 0 (Seed: 5908543392410747493)
    21:57:05 [INFO] Preparing spawn area: 93%
    21:57:05 [INFO] Preparing start region for level 1 (Seed: -7919196973739110494)
    21:57:06 [INFO] Preparing spawn area: 97%
    21:57:06 [INFO] [LoginMessage]: Loaded no permissions system, because it is deactivated.
    21:57:06 [INFO] [LoginMessage]: Outdated Register found. Deactivating Register support.
    21:57:06 [INFO] [LoginMessage]: Loaded no economy system, because it is deactivated.
    21:57:06 [INFO] [LoginMessage]: LoginMessage 0.7.2.1 enabled
    21:57:06 [INFO] [SimpleAdmin] Permissions system detected!
    21:57:06 [INFO] [SimpleAdmin] Version 3.1 has been enabled!
    21:57:06 [INFO] [PermissionsEx] Superperms support enabled.
    21:57:06 [INFO] [PermissionsEx] v1.15 enabled
    21:57:06 [INFO] BOSEconomy: Located Permissions 2.7.7.
    21:57:06 [INFO] BOSEconomy v0.7.2 enabled.
    21:57:06 [INFO] [Giant Trees] version 0.3.3 is enabled
    21:57:06 [INFO] [NarrowtuxLib] v0.8.11 by [narrowtux] enabled.
    21:57:06 [INFO] [NarrowtuxLib] Payment method found (BOSEconomy version: 0.7.0)
    21:57:06 [INFO] [ChatManager] ChatManager enabled!
    21:57:06 [INFO] [Modifyworld] Modifyworld enabled!
    21:57:06 [INFO] [PermissionsCompat] Compatibility layer enabled.
    21:57:07 [INFO] [VirtualChest] (version 5.1)
    21:57:07 [SEVERE] Error occurred while enabling VirtualChest v5.1 (Is it up to date?): Expected static method com.nijikokun.register.payment.Methods.getMethod()Lcom/nijikokun/register/payment/Method;
    java.lang.IncompatibleClassChangeError: Expected static method com.nijikokun.register.payment.Methods.getMethod()Lcom/nijikokun/register/payment/Method;
            at com.Balor.bukkit.GiftPost.GiftPostWorker.setConfig(GiftPostWorker.java:95)
            at com.Balor.bukkit.GiftPost.GiftPost.onEnable(GiftPost.java:215)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:170)
            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:171)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    21:57:07 [INFO] [Showcase] Registered type [basic] (0 items loaded)
    21:57:07 [INFO] [Showcase] Registered type [finite] (0 items loaded)
    21:57:07 [INFO] [Showcase] Registered type [infinite] (0 items loaded)
    21:57:07 [INFO] [Showcase] Registered type [exchange] (0 items loaded)
    21:57:07 [INFO] [Showcase] Registered type [tutorial] (0 items loaded)
    21:57:07 [INFO] [Showcase] version 0.7.7.11 has been enabled.
    21:57:07 [SEVERE] Could not pass event PLUGIN_ENABLE to Register
    java.lang.IncompatibleClassChangeError: Expected static method com.nijikokun.register.payment.Methods.hasMethod()Z
            at com.nijikokun.register.listeners.server.onPluginEnable(server.java:37)
            at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:585)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:964)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    21:57:07 [INFO] Server permissions file permissions.yml is empty, ignoring it
    21:57:07 [INFO] Done (0.324s)! For help, type "help" or "?"
    
     
  11. Offline

    Zeeky

    Wondering if you can start with a chest already so they don't need to type the command to buy, can you?
     
  12. Offline

    BlancoLanda

    D: , I translated the source to Spanish, but when I use "mvn clean install" , it starts compiling but this error comes:

    Code:
    [ERROR] Failed to execute goal on project GiftPost: Could not resolve dependenci
    es for project be.Balor:GiftPost:jar:5.0.3: The following artifacts could not be
     resolved: com.nijikokun.bukkit:Permissions:jar:3.1.1, net.D3GN.MiracleM4n:mChat
    :jar:v1.7.10_5: Could not find artifact com.nijikokun.bukkit:Permissions:jar:3.1
    .1 in bukkit-repo (http://www.gestdown.info:8888/artifactory/bukkit-repo) -> [He
    lp 1]
    How can I fix that so I can compile it? It seems like it cannot find Permissions 3 and mchat v1.7.10_5 jars...

    Code:
    [WARNING] The POM for com.nijikokun.bukkit:Permissions:jar:3.1.1 is missing, no
    dependency information available
    [WARNING] The POM for net.D3GN.MiracleM4n:mChat:jar:v1.7.10_5 is missing, no dep
    endency information available
    That's the problem...

    This link isn't working: http://www.gestdown.info:8888/artifactory/libs-release-local/net/D3GN/MiracleM4n/mChat/v1.7.10_5/ . Is that the reason? Please tell me the way I can get those files so I can compile :/
     
  13. Offline

    Dark_Balor

    Seems I forgot to update the POM file since I made some change in the repo ...
    I'll do it when I have time ;)
     
  14. Offline

    nicquehen

    Good plugin.

    Todo :
    -a shortcuts key (spout compatible?) to open the default chest more quickly
    -a possible to define the slot number of the chest (i understand is not a chest :p )
     
  15. Offline

    pjt0620

    My players have found a dupe bug that occurs by people doing /gp c to quickly like under 1 second appart
     
  16. Offline

    Sevidra


    I apologize if this seems stupid - I don't know the coding and I'm afraid I'm totally lost. What does this mean? I'm pretty sure it will interfere with our iConomy payments, but I don't have any idea which plugin (yours or register or iConomy) would cause this error.

    I dl'd the most recent register.jar, and the virtual chest is from today also. iConomy is also up to date, as much as it ever is. :)

    What's wrong?
     
  17. Offline

    fatmarley

    You got an example of adding giftpost limits to permissionsex?

    groups:
    Default:
    default: true
    prefix: '&f[&7Hermit&f] '
    towny_maxplots: 4
    options:
    rank: '100'
    rank-ladder: TV
    giftpost:
    maxchests: 1
    chestType: 'normal'

    Been trying that, with no luck
     
  18. Offline

    monir

    Fantastic plugin! i wish i new about this before.
     
  19. Offline

    jycs

    V.1337 > When ?
     
  20. Offline

    monir

    I wonder if i make a server restart does the chests in a party get resetted?
     
  21. Offline

    Robert Pendell

    This was really strange. I came across this error during testing.
    Code:
    2011-11-01 21:55:14 [WARNING] Plugin mcMMO v1.1.16 tried to register permission 'mcmmo.commands.party' but it's already registered
    java.lang.IllegalArgumentException: The permission mcmmo.commands.party is already defined!
            at org.bukkit.plugin.SimplePluginManager.addPermission(SimplePluginManager.java:424)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:177)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    For the life of me I couldn't figure out why. I went through and narrowed it down to being triggered when VirtualChest was enabled. I thought enabling a softdepend would work but the warning is still getting triggered. Can you see why it's happening?

    P.S. - For some reason adding Spout back in made VirtualChest load after mcMMO when previously it was loading before mcMMO. Maybe check to see if mcmmo.commands.party is getting defined by VirtualChest for some reason?
     
  22. Offline

    nicquehen

    Hello, i love your plugin and i request another thing in your to-do :

    Add a virtual workbench.

    /bp w --> open a workbench

    node : giftpost.workbench.open

    Why this request?

    Because i don't find a plugin that can do that (spoutbackpack is inactive now and pocket craft have no permission :( )
     
  23. Offline

    gummby8

    With all of the piston dupe glitches going on, I need a way for my admins and I to "peek" into the users vitual chests. I say "peek" because we don't need to be able to remove anything, if there is anything questionable we will grill the user.
     
  24. Offline

    Nykotin

    Does this work with bPermissions?
     
  25. Offline

    Dark_Balor

    Well I will not ask any question about Register ... not my problem sorry ^^'

    Yes you can restart without loosing anything
    VirtualChest don't register any permission of mcMMO. It's mys be a problem with mcMMO and Spout.
    Maybe later, But I don't have so much time to implement/test new features.
    Yes it does.
     
  26. Offline

    UrNowKoed

    Hey, I just installed VirtualChest and register, but for some reason it isn't charging players to buy the chests, it's giving it to them for free. Here is my config file
    Code:
    use-max-range: 'true'
    max-range: 10000
    allow-offline: 'true'
    message-of-the-day: 'false'
    use-wand: 'true'
    wand-item-id: 54
    auto-save-time: 10
    max-number-chest: 2
    world-check: 'true'
    iConomy: 'true'
    iConomy-send-price: 0.0
    iConomy-openchest-price: 0.0
    iConomy-normalChest-price: 5000.0
    iConomy-largeChest-price: 10000.0
    auto-stack: 'true'
    auto-sort: 'true'
    only-normal: 'false'
    only-sign: 'false'
    chest-default: normal
    drop-on-death: 'false'
    
    I'm not getting any errors. Any idea why it's not charging anyone?
     
  27. Offline

    chisox8

    How would I get multiworld working? Say I just wanted people to open it on one world called "world"... is there a permission's node for that?

    Thanks!
     
  28. Offline

    godgodgodgo

    Hey anyone know if this works on the latest 1.0.0 builds of craftbukkit?

    This is an awesome plugin and i've just switched over from AlphaChest because it was never updated. Could you possibly add a /gp w command for a virtual workbench? I really miss it from the other plugin :/
    Thanks :)

    p.s I think that you should also make it so that 0;0;0 = an empty slot because the with the current version, all of my stuff goes unorganized even with auto-sort and auto-stack set to false :/

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

    shanko

    Will have to try this plugin!!! Looks like what I need

    So does this work with the 1.0 build?
    godo im guessing you tried it?

    edit: apparently not, doesnt let me buy a chest

    doubleEDIT: I just reverted back to build 1337, still same error, wont let me buy a chest

    TRIPLEEDIT; OOOh Signs only maesn you can only buy chests with signs too

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

    Robert Pendell

    Odd. The warning only comes up when both mcMMO and VirtualChest is installed and Spout is missing. It seems there is some kind of race condition occuring somewhere but I have no clue where. I'll just keep Spout installed if nothing more than to eliminate the warning.

    Hey I got a new issue. This one does affect giftpost. On bukkit 1492 I get an exception thrown whenever the plugin attempts to rename a virtual chest.

    Code:
    15:10:25 [INFO] A GiftPost command threw an exception!
    15:10:25 [INFO] Go here : http://forums.bukkit.org/threads/gen-mech-virtualchest-4-3-4-have-a-chest-with-you-everywhere-all-economy-permissions-1000.11695/
    15:10:25 [INFO] and post the content of this log + the content of plugins/VirtualChest/log.txt please, Thanks.
    15:10:25 [SEVERE] java.lang.IllegalArgumentException: Cannot store ExMemorySection[path='test', root='ExtendedConfiguration'] into ExtendedConfiguration[path='', root='ExtendedConfiguration'], unsupported class
    15:10:25 [SEVERE]       at org.bukkit.configuration.MemorySection.prepForStorage(MemorySection.java:863)
    15:10:25 [SEVERE]       at org.bukkit.configuration.MemorySection.set(MemorySection.java:193)
    15:10:25 [SEVERE]       at com.Balor.utils.FilesManager.renameChestFile(FilesManager.java:311)
    15:10:25 [SEVERE]       at com.Balor.bukkit.GiftPost.GiftPostWorker.renameChest(GiftPostWorker.java:479)
    15:10:25 [SEVERE]       at com.Balor.commands.Rename.execute(Rename.java:59)
    15:10:25 [SEVERE]       at com.Balor.bukkit.GiftPost.GiftPost.onCommand(GiftPost.java:285)
    15:10:25 [SEVERE]       at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    15:10:25 [SEVERE]       at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    15:10:25 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:364)
    15:10:25 [SEVERE]       at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
    15:10:25 [SEVERE]       at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    15:10:25 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    15:10:25 [SEVERE]       at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:179)
    15:10:25 [SEVERE]       at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    15:10:25 [SEVERE]       at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    15:10:25 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    15:10:25 [SEVERE]       at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:546)
    15:10:25 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    15:10:25 [SEVERE]       at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
    15:10:25 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    15:10:25 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    
    Nothing incredibly useful in the log but here you go since the exception message asks for it.
    Code:
    INFO: Opening chest :test of player shinji257 [com.Balor.bukkit.GiftPost.GiftPostWorker.getChest 2011-11-23 15:11:29 -0500]
    FINE: [NEW SAVE] Chests of shinji257 loaded [com.Balor.utils.FilesManager.getPlayerChests 2011-11-23 15:11:29 -0500]
    INFO: Chests owned by shinji257 loaded from file (1) [com.Balor.bukkit.GiftPost.GiftPostWorker.getChest 2011-11-23 15:11:29 -0500]
    INFO: shinji257 removed his chest : test [com.Balor.bukkit.GiftPost.GiftPostWorker.removeChest 2011-11-23 15:11:29 -0500]
    INFO: shinji257 has no more chest. [com.Balor.bukkit.GiftPost.GiftPostWorker.removeChest 2011-11-23 15:11:29 -0500]
    INFO: shinji257 files deleted. [com.Balor.utils.FilesManager.removePlayer 2011-11-23 15:11:29 -0500]
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  31. Offline

    monir

    When will it work again for 1.0.0? This Plugin is verry important on our server:'(
     

Share This Page