VirtualPack
VirtualPack
[ Configuration ] [ Commands & Permissions ] [ Download ] [ Source ]
With this plugin, players can buy and use a workbench, an enchantment table, chests, furnaces, brewing stands and a bunch of other tools. Completely virtually. Accessible by chat commands.
Required dependencies: Vault, WorldEdit.
Optional dependencies: ProtocolLib (see Configuration/Materializer)
Notice
According to the Bukkit rules, I have to make you aware of:
Quote:This plugin uses the Curse API to check for updates automatically.
To disable update checking, set 'check-update' to 'false' in 'plugins/VirtualPack/config.yml'.
Features
User-side features:
- Chat-based access to the features of those blocks:
- Workbench
- Anvil
- Enchantment Table
- Chest
- Furnace
- Brewing Stand
- Enderchest
- Workbench
- An Uncrafter (Opposite of Workbench)
- A Materializer (Convert item stacks into others)
- A Trash
- Sending items between players
- Statistics and info pages for everything
- Access via Signs
Admin-side (configurable) features:
- Multiverse support
- Completely configurable commands
- Cooldowns on commands
- Admin access to all users' packs (in full and read-only modes)
- Optional economy integration
- StackableItems support
- Update notification
- MySQL support (data is automatically converted when switching from file)
- Importing (converting) data from:
- AlphaChest
- Backpack
- ChestKeeper
- PlayerVaults
- VirtualChest
- AlphaChest
To Do
- Fix the lags
- Fix all the bugs
- Rewrite the whole plugin
- Cross-server functionality
- Custom smelt/brewing recipes/fuel
- Bind tools to blocks/items
Installation
- Download the VirtualPack.jar and place in in you plugins folder.
- Install Vault the same way.
- Install WorldEdit. If you don't want to install it as a plugin, simply place the jar in plugins/VirtualPack. (I need WorldEdit because of the utilities that are bundled with it, and I need those to register the commands.)
- Install a Vault-compatible permissions plugin (see the Vault project page).
- Now either install a Vault-compatible economy plugin or set the "economy" value in the VirtualPack config to "false".
- Install ProtocolLib if you need it.
- Start your server.
- Maybe read the configuration page.
- Have fun.
Importing other plugins' saves
Supported plugins:
- AlphaChest
- Backpack
- ChestKeeper
- PlayerVaults
- VirtualChest
[ Instructions ]
Dev Builds
Quote:Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk!
[ Dev Builds ]
Donation
Is of course always appreciated. :)
I also keep a list of all donations.
STOP STOP STOP STOP STOP STOP STOP
Alright people, it's too much. Do NOT ask me to:
- Change /v because it is used by vanish already. Change it yourself in the config.
- Update the plugin to a new Minecraft version. I'll do it as soon as possible anyway.
If you do one of the above, you don't deserve to talk to me and I won't do anything else than sending you this video.

-
View User Profile
-
Send Message
Posted Nov 25, 2014@Onewingseraphim
What happens when you try to run the command?
@chrisotherwise
The loss of chests have been reported from the beginning of this plugin and I've gone over everything so many times and was just unable to find anything.
I doubt that it's saving while it's still loading, because both the saving and the loading methods check if there is already a saving/loading process going on. Or at least they should.
And the commented out code I have there is not actually safer, I only hoped it would be a bit more efficient, but because of the current data model (everything is always loaded), that wasn't the case anyway. I would only update everything instead of clearing the table and re-inserting everything. So I don't see a point in giving you a config option to turn it on. I fiddled with the saving/loading process a bit again, try dev build 124.
-
View User Profile
-
Send Message
Posted Nov 25, 2014Hi,
Since we installed the "Carbon" plugin a couple of weeks ago we've been having a *huge* problem with people losing all of their vchests. We have debug switched on and we can see that when the server starts up there are a total of (say) 400 chest records. Then next time we restart (maybe later the same day) there will only be 470 - and a heap of users will be complaining that their chests have vanished.
Speculation about what might be happening is that VPack might be trying to do a save before it has finished loading (even though it thinks it has finished loading). Or we might be doing a server shutdown as it is mid-save (although I think this one is unlikely).
We use MySQL for storing the vchests and I've noticed in the source code that there's a commented off section which does a much "safer" update by only saving changed chests rather than resaving everything in bulk each time - with the caveat that it's unable to remove records that have vanished altogether. On our system we *never* remove users so we wouldn't care if Vpack didn't either - and wondered if this code could be enabled via a config setting?
Alternatively if a "whole table write" is inevitable then maybe you could do something like this:
1. Write to a temp table 2. Check the integrity (and see if too many chests were removed). If all is ok then: 3. Delete the original table 4. Rename the temp table to the original name.
Of course it might be something completely unrelated - I'd be very happy to run any tests that would be useful to you.
Many thanks for your help.
-
View User Profile
-
Send Message
Posted Nov 21, 2014Not sure why, but I don't have access to ' /v ad ' and I really need it to delete a players extra chests. :/ Gave myself the permissions ' vpack.admin ' and ' vpack.admin.cut ' , still nothing..
-
View User Profile
-
Send Message
Posted Nov 21, 2014@Th3PotatoArmyHD
That bug was the reason I released v2.7.7 almost 7 weeks ago...
-
View User Profile
-
Send Message
Posted Nov 13, 2014@danielfr789
Try running "/v ad reload <player>" after changing a player's group.
-
View User Profile
-
Send Message
Posted Nov 12, 2014Ok so I have a group with pex that has vpack.use.anvil
When I set a user to that group they get "This anvil does not exist" when typing /anvil
Here is my config http://pastebin.com/c6G4xR9Q
-
View User Profile
-
Send Message
Posted Nov 11, 2014@Siguza
Thank you :)
-
View User Profile
-
Send Message
Posted Nov 11, 2014@VillageRealms
The freezing issue should become better with "load-multithreaded" set to "semi".
I'll have to see if I can get Bukkit running again to hunt the uncrafter bug, but just to be sure: you know it's supposed to charge you for every time you open it, not every uncrafted item/stack, right?
-
View User Profile
-
Send Message
Posted Nov 10, 2014On /v ad reload, the server becomes unresponsive for 20 seconds, then the reloading of the configuration files processes and everything goes back to normal. There is no console errors at all, just says Virtualpack 2.7.7 is being enabled.
Also, i've set a 'use' cost of $500 for the uncrafter, and users with vpack.use.uncrafter can uncraft items for free still. Economy is enabled. The 'buy' cost for uncrafter is set to '0'. Here's my configuration file: http://pastebin.com/9Fhtif8C
Thank you!
-
View User Profile
-
Send Message
Posted Oct 23, 2014@VillageRealms
Did you even look at the config?
-
View User Profile
-
Send Message
Posted Oct 22, 2014Is there any way to disable uncrafting enchanted items, I just hate when people uncraft their weak items that have strong enchantments and put those enchanted books on higher-level items
-
View User Profile
-
Send Message
Posted Oct 21, 2014@QQuMADbrah
Well, if this is truly an 1.7.10 build, I guess it is a too early one. What matters is the NMS package name, which apparently is still not "net.minecraft.server.v1_7_R4".
-
View User Profile
-
Send Message
Posted Oct 19, 2014Im on 1.7.10 now, using your 2.7.7 build as you said for 1.7.10. I erased the plugin folder to generate new configs and what not but the files are blank. Ideas?
Console: 03:08:13 VirtualPack: Enabling VirtualPack v2.7.7 03:08:13 CONSOLE: ERROR]: Error occurred while enabling VirtualPack v2.7.7 (Is it up to date?) 03:08:14 CONSOLE: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R4.Packet
-
View User Profile
-
Send Message
Posted Oct 15, 2014@QQuMADbrah
That's because it's for 1.7.10. For 1.7.9, use v2.7.5.
-
View User Profile
-
Send Message
Posted Oct 15, 2014Hey Im using the newest version but nothing actually loads. It sets up a plugin file where you can find an empty config_1 file as well as an empty config file and the data.db .
In the console I get this bad boy: [15:33:14 INFO]: [VirtualPack] Enabling VirtualPack v2.7.7 [15:33:14 ERROR]: Error occurred while enabling VirtualPack v2.7.7 (Is it up to date?) java.lang.NoClassDefFoundError: net/minecraft/server/v1_7_R4/Packet at net.drgnome.virtualpack.util.ConfigProxy.setDefs(ConfigProxy.java:135 ) [?:?] at net.drgnome.virtualpack.util.ConfigProxy.<init>(ConfigProxy.java:91) [?:?] at net.drgnome.virtualpack.util.Config.reload(Config.java:27) [?:?] at net.drgnome.virtualpack.VPlugin.reloadConfig(VPlugin.java:876) [?:?]
at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:157) [Cr aftbukkit.jar:git-Bukkit-1.7.9-R0.2-10-ge6cd8c0-b3096jnks] at net.drgnome.virtualpack.util.Config.reload(Config.java:27) [?:?] at net.drgnome.virtualpack.VPlugin.init(VPlugin.java:85) [?:?] at net.drgnome.virtualpack.VPlugin.onEnable(VPlugin.java:250) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) [C
Not sure what to do, any ideas? ps:I have tried previous versions to get a config as well as a plugin dump to start clean. No go on either.
-
View User Profile
-
Send Message
Posted Oct 4, 2014@Siguza
You're amazing. Thank you so much!
-
View User Profile
-
Send Message
Posted Oct 4, 2014Alright, v2.7.7 (dev build #123) fixes this.
-
View User Profile
-
Send Message
Posted Oct 4, 2014Hi,
I'm regularly seeing massive lag on player join, which spigot timings reports as being VirtualPack processing VEvents::handlePlayerLogin(PlayerJoinEvent). Lag spikes are often 15 seconds or longer.
Example here: http://timings.aikar.co/?url=8494116
My config is here: http://pastebin.com/Ub9fpRy7
Could you give me any pointers on how to track this down? Ideally I'd like to try and find out whether VirtualPack is cause or symptom, and if it is cause, what is going on. I'm happy to dig into the code and run traces myself, as I'm getting lots of grief from my server users about the lag. Sadly running the server without VPack is not possible at the moment as players immediately complain and log off when they don't find their VChests.
Many thanks,
Chris.
-
View User Profile
-
Send Message
Posted Sep 15, 2014IMPORTANT NOTICE
As of the 15. September 2014 I'm stopping development of all my Bukkit plugins (hence the status "abandoned"). I will still give support for the existing versions, but no more updates are planned so far. With the recent DMCA takedown and the even more recent acquisition of Mojang by Microsoft, I'm leaving. I might come back some time, but for now I'm out. Maybe I'll rewrite my plugins for the Sponge API when that has made it somewhere or use the official API once it's released (if I haven't died of old age by then) or whatever, we'll see when the time has come.
If you want to take over one of my plugins, you can do so. All my plugins are released under CC BY-NC-SA 3.0 (really short summary), except for NBTLib, which is released under CC BY 3.0 (even shorter summary).
You can also just fork them all on GitHub, I've pushed all my current (highly unfinished) code up there.
If you want to contact me, visit www.siguza.net.
You were a cool community.
- Siguza out
-
View User Profile
-
Send Message
Posted Sep 12, 2014I suggest you add the ability to give players a chest with a specified amount of rows.