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

    oglop

    it seems to be halted bcz it seems that the autor is focusing on adminCMD
     
  3. Offline

    BigTristen

    This really needs to be updated. I run a prison server. errg
     
  4. Offline

    Stephen92

    Yeah wish this would get updated :(
     
  5. Offline

    Dark_Balor

    Version 5.5
    • [UPDATE] Work with last 1700+- build of Bukkit.
     
    Tendonsie likes this.
  6. Offline

    bluehasia

    does this also fix Virtual Chest (Gift Post) Error that pops up when one tries to do a command?
     
  7. Offline

    Dark_Balor

    Which popup exactly ?
     
  8. Offline

    bluehasia

    Roerich said:
    If I type /gp or /gp ? or /gp help (and all other VirtualChest Commands)
    I see in the Chat Window just the
    Chat Message :
    Virtual Chest (Gift Post)
    Virtual Chest (Gift Post)
    Virtual Chest (Gift Post)
    im having same issue and i opped myself

    -------

    I assume its an error line since that pops up for command and signs dont work at all
     
  9. Offline

    Dark_Balor

    Are you using any permission plugin ?
     
  10. Offline

    bluehasia

    I have
    Essentials 2.7.1

    Permissions 3.1.6

    GroupManager "1.7 (Phoenix)"


    believe this all comes with the essential pluging
     
  11. Offline

    Dark_Balor

    Why do you have 2 permissions plugin ? GroupManager and Permissions 3.1.6 ?
    Moreover you have to add the permissions node in the configuration file of Permissions 3.1.6 as explained on the first page of the thread.
     
  12. Offline

    predawnia

    Is it possible to have a check whether a person is in CREATIVE MODE, and if yes, disable the usage of the commands /gp and /pchest

    This is to facilitate servers that have both CREATIVE and SURVIVAL mode people, and to prevent CREATIVE mode people from abusing using the virtual chests.

    So...
    1. CREATIVE MODE = disable /gp and /pchest
    2. SURVIVAL MODE = enable /gp and /pchest

    and also disable signs for CREATIVE

    Thank you. :)

    I am having this error. Running Bukkit #1718 and PermissionsBukkit 1.2, I have a permission node for the user group as the following:-

    user:
    permissions:​
    mcmmo.commands.party: true​

    22:56:12 [WARNING] Plugin mcMMO v1.2.07 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:426)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:196)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:173)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:355)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:342)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:174)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

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

    shanko

    EDIT: disregard, i had a lower version

    on 1779

    Code:
    21.01 11:25:11 [Connect] User coppersnake123, IP 108.56.165.134
    21.01 11:25:01 [Server] INFO    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    21.01 11:25:01 [Server] INFO    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
    21.01 11:25:01 [Server] INFO    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
    21.01 11:25:01 [Server] INFO    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    21.01 11:25:01 [Server] INFO    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:587)
    21.01 11:25:01 [Server] INFO    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    21.01 11:25:01 [Server] INFO    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    21.01 11:25:01 [Server] INFO    at net.minecraft.server.Packet15Place.handle(SourceFile:39)
    21.01 11:25:01 [Server] INFO    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
    21.01 11:25:01 [Server] INFO    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:274)
    21.01 11:25:01 [Server] INFO    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:183)
    21.01 11:25:01 [Server] INFO    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:327)
    21.01 11:25:01 [Server] INFO    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
    21.01 11:25:01 [Server] INFO    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:342)
    21.01 11:25:01 [Server] INFO    at com.Balor.Listeners.GPPlayerListener.onPlayerInteract(GPPlayerListener.java:99)
    21.01 11:25:01 [Server] INFO    at com.Balor.Listeners.GPPlayerListener.onSign(GPPlayerListener.java:82)
    21.01 11:25:01 [Server] INFO    at com.Balor.commands.Chest.execute(Chest.java:54)
    21.01 11:25:01 [Server] INFO    at com.Balor.bukkit.GiftPost.GiftPostWorker.getDefaultChest(GiftPostWorker.java:275)
    21.01 11:25:01 [Server] INFO    at com.Balor.bukkit.GiftPost.GiftPostWorker.setDefaultChest(GiftPostWorker.java:319)
    21.01 11:25:01 [Server] INFO    at com.Balor.utils.FilesManager.createDefaultChest(FilesManager.java:445)
    21.01 11:25:01 [Server] INFO    at com.Balor.Tools.Configuration.File.ExtendedConfiguration.save(ExtendedConfiguration.java:124)
    21.01 11:25:01 [Server] INFO    at com.Balor.Tools.Configuration.File.ExFileConfiguration.save(ExFileConfiguration.java:66)
    21.01 11:25:01 [Server] INFO    at com.Balor.Tools.Configuration.File.ExtendedConfiguration.saveToString(ExtendedConfiguration.java:206)
    21.01 11:25:01 [Server] INFO    at com.Balor.Tools.Configuration.File.ExtendedConfiguration.serializeValues(ExtendedConfiguration.java:336)
    21.01 11:25:01 [Server] INFO    at com.Balor.Tools.Configuration.ExMemorySection.isNaturallyStorable(ExMemorySection.java:108)
    21.01 11:25:01 [Server] INFO java.lang.NoSuchMethodError: org.bukkit.configuration.MemorySection.isNaturallyStorable(Ljava/lang/Object;)Z
    21.01 11:25:01 [Server] SEVERE Could not pass event org.bukkit.event.player.PlayerInteractEvent to VirtualChest
     
  14. Offline

    Stephen92

    Does this support groupmanager?
     
  15. Offline

    Dark_Balor

    No.

    predawnia : mmH seems to be a problem with mcMMO ...
     
  16. Offline

    Stephen92

    can you add support to it, alot of people use that plugin, I think not only for myself but tohers would appreciate it, and more people would use your plugin.
     
  17. Offline

    LolHens

    Very cool plugin!
    Could you add Metadata support, for the wand item?
    Edit: Do you know the inventory, if you put three chests next to each other via map editing
    and opening the middle one? Could you implement this inventory?
     
  18. Offline

    Dagumboss

    Some of my players are buying their virtualchests (sign access only, signs in certian places) and later they disappear. Why is this?
     
  19. Offline

    shanko

    You should disable the commands if a server is only using signs to buy/open chests. Too many people get confused and try to buy/open with commands that look like they work but really don't instead of looking for the signs
     
  20. Offline

    Ar56te876mis

    I have this bug

    Code:
    2012-01-27 13:30:04 [INFO] [VirtualChest] Loading VirtualChest v5.1.
     
    2012-01-27 13:30:04 [INFO] [VirtualChest] (version 5.1)
     
    2012-01-27 13:30:04 [SEVERE] Error occurred while enabling VirtualChest v5.1 (Is it up to date?): null; could not determine a constructor for the tag tag:yaml.org,2002:com.aranai.virtualchest.ItemStackSave
     
    could not determine a constructor for the tag tag:yaml.org,2002:com.aranai.virtualchest.ItemStackSave
     
    in "<reader>", line 200, column 5:
     
    - !!com.aranai.virtualchest.ItemSt ...
     
    ^
     
    at org.yaml.snakeyaml.constructor.SafeConstructor$ConstructUndefined.construct(SafeConstructor.java:475)
     
    at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:183)
     
    at org.yaml.snakeyaml.constructor.BaseConstructor.constructSequenceStep2(BaseConstructor.java:277)
     
    at org.yaml.snakeyaml.constructor.BaseConstructor.constructSequence(BaseConstructor.java:248)
     
    at org.yaml.snakeyaml.constructor.SafeConstructor$ConstructYamlSeq.construct(SafeConstructor.java:440)
     
    at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:183)
     
    at org.yaml.snakeyaml.constructor.BaseConstructor.constructMapping2ndStep(BaseConstructor.java:326)
     
    at org.yaml.snakeyaml.constructor.SafeConstructor.constructMapping2ndStep(SafeConstructor.java:143)
     
    at org.yaml.snakeyaml.constructor.BaseConstructor.constructMapping(BaseConstructor.java:307)
     
    at org.yaml.snakeyaml.constructor.SafeConstructor$ConstructYamlMap.construct(SafeConstructor.java:459)
     
    at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:183)
     
    at org.yaml.snakeyaml.constructor.BaseConstructor.constructMapping2ndStep(BaseConstructor.java:326)
     
    at org.yaml.snakeyaml.constructor.SafeConstructor.constructMapping2ndStep(SafeConstructor.java:143)
     
    at org.yaml.snakeyaml.constructor.BaseConstructor.constructMapping(BaseConstructor.java:307)
     
    at org.yaml.snakeyaml.constructor.SafeConstructor$ConstructYamlMap.construct(SafeConstructor.java:459)
     
    at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:183)
     
    at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:142)
     
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:128)
     
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
     
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
     
    at org.bukkit.util.config.Configuration.load(Configuration.java:90)
     
    at com.Balor.utils.FilesManager.getYml(FilesManager.java:75)
     
    at com.Balor.utils.FilesManager.openChestTypeFile(FilesManager.java:434)
     
    at com.Balor.utils.FilesManager.getAllPlayerChestType(FilesManager.java:580)
     
    at com.Balor.bukkit.GiftPost.GiftPostWorker.newLoad(GiftPostWorker.java:541)
     
    at com.Balor.bukkit.GiftPost.GiftPost.onEnable(GiftPost.java:225)
     
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231)
     
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057)
     
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379)
     
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191)
     
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174)
     
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:356)
     
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:343)
     
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
     
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
     
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
     
    2012-01-27 13:30:04 [INFO] [VirtualChest] Successfully linked with PermissionsEX
     
    2012-01-27 13:30:04 [INFO] [VirtualChest] Successfully linked with Register (Economy plugins).

    I hope you can help me. I attached the VirtualChest files.
     

    Attached Files:

  21. Offline

    Nickshelton80

    Please add support for group manager :)
    It would help alot :)
    Keep up the great work with this plugin!
    I hope you add it so i can use this plugin on my server
     
  22. Offline

    Dark_Balor

    You have an old version of VirtualChest. You should update to the 5.5.
    Nickshelton80 : if GroupManager support SuperPerm (the API made by bukkit) you just have to set
    forceOfficialBukkitPerm: true
     
  23. Offline

    Nickshelton80

    Where do i find the forceOfficialBukkitPerm: true at?
    Sorry for the bother, im new to this stuff :)
     
  24. Offline

    Ar56te876mis

    Dark_Balor Sorry, I'm so stupid I uploaded the wrong version of VirtualChest.

    Admincmd and VirtualChest are the best plugins ever and the support is very good.
    thank you
     
  25. Offline

    Dark_Balor

    in the configuration file of VirtualChest : /plugins/VirtualChest/config.yml

    No problem. I do my best for the support :)
     
  26. Offline

    Qentus

    Can i set maxchests and chesttype if i have PEX via MySQL? Anything like /pex user **** set giftpost.maxchests 5?
     
  27. Offline

    Dark_Balor

    Should be working yes :)

    never tried with mysql.
     
  28. Offline

    Qentus

    It doesn´t work. Can you add permissions node like giftpost.maxchest.5 and giftpost.chesttype.normal/large ?
     
  29. Offline

    Kc0rb90

    Im getting this error with the latest recomended build. Hope you can help
    Code:
    2/4/2012 11:36:46 PM [SEVERE]  Error occurred while disabling VirtualChest v5.5 (Is it up to date?): null
    2/4/2012 11:36:46 PM java.lang.NullPointerException
    2/4/2012 11:36:46 PM at com.Balor.bukkit.GiftPost.GiftPostWorker.save(GiftPostWorker.java:526)
    2/4/2012 11:36:46 PM at com.Balor.bukkit.GiftPost.GiftPost.onDisable(GiftPost.java:248)
    2/4/2012 11:36:46 PM at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:233)
    2/4/2012 11:36:46 PM at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:1083)
    2/4/2012 11:36:46 PM at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:397)
    2/4/2012 11:36:46 PM at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:390)
    2/4/2012 11:36:46 PM at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:186)
    2/4/2012 11:36:46 PM at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:385)
    2/4/2012 11:36:46 PM at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:465)
    2/4/2012 11:36:46 PM at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) 
     
  30. Offline

    Qentus

    Dark_Balor
    What about my problem?
     
  31. Offline

    fatmarley

    Dark_Balor just a quick question. Does the permissions setup work with PEX?

    Code:
                giftpost:
                    maxchests: 2
                    chestType : 'normal'
     

Share This Page