Home - Paneedah/VMW-Balance-Packs GitHub Wiki

I will be writing this very, very basic "explanation" about how to use the VMW BalancePacks because I see a lot of people asking about it. Before I get into it, I will warn you that the Balance Packs (as of the first released alpha) have very limited functionality.


You will not be able to use anything other than:

  • enabled: whether or not the gun should be enabled.
  • recoil: the gun's recoil.
  • damage: how much damage the gun deals.

Things such as FireRate, GravityVelocity, PelletsPerShot, MaxShots, etc. are still only available by using PWEM with VMW 2.0. I will not be updating PWEM to version 3.0 as of right now, so please, don't ask me about it!


So, how do I get started?

You first want to ensure that you have the example template generated. To do that, start your game, go into single-player and run the command /balancepack. What this will do is generate a file in the directory %appdata%/.minecraft/balancepacks/default_pack.json.

What is this file? The default_pack.json file is your 'example', or 'template' balancepack file. Go ahead and have a read over it! You should start to understand how this works.


The default pack should look something like this:

{
  "packName": "default",
  "version": "1.0",
  "packManagerVersion": "1.0",
  "globalParameters": {
    "damageMultiplier": 1.0,
    "recoilMultiplier": 1.0
  },
  "gunConfigurations": [
    {
      "name": "exampleWeapon",
      "enabled": true,
      "damage": 8.0,
      "recoil": 1.0
    }
  ],
  "categoryConfigurations": [
    {
      "group": "LONG_RANGE_RIFLES",
      "damageMultiplier": 1.0,
      "recoilMultiplier": 1.0
    },
    {
      "group": "SHOTGUN",
      "damageMultiplier": 1.0,
      "recoilMultiplier": 1.0
    },
    {
      "group": "HEAVY",
      "damageMultiplier": 1.0,
      "recoilMultiplier": 1.0
    },
    {
      "group": "RIFLES",
      "damageMultiplier": 1.0,
      "recoilMultiplier": 1.0
    },
    {
      "group": "NONE",
      "damageMultiplier": 1.0,
      "recoilMultiplier": 1.0
    },
    {
      "group": "SIDEARM",
      "damageMultiplier": 1.0,
      "recoilMultiplier": 1.0
    }
  ]
}