REQ BLT PAYDAY 2 MOD
Make a note of your new revision since you'll be using this on the Mod Manager. If you do not update your revision number, then you will either cause everybody to have to update your mod every time they load the game, or your mod will not know that it has to update. You will need to increment your revision numbers of your mod to match the new revision you are about to push to the server. Once you've added your updates key to your mod definition, and setup your mod on the Mod Manager, you can prepare your mod for upload to the server, and to put an update out.
"display_name" : "GoonMod Weapon Customizer" "install_folder" : "GoonModWeaponCustomizer", If this value is not set, the name of your mod will be used instead. This folder will be removed, so that the updated version may be installed in its place.ĭisplay_name A string key used for the display name of any extra downloads and updates that may be required alongside your mod. Install_folder A string key containing the name of your mod_overrides folder. This is only required if you need your mod to be installed in a path other than the mods folder.įor installing and updating the accompanying mod_overrides of your mod, this value should be set to assets/mod_overrides/.
REQ BLT PAYDAY 2 INSTALL
Install_dir A string key containing the path of the location to install your mod. This is used to check the correct mods on the PaydayMods API, and to download and update the correct mod when required. Identifier A string key containing the identifier of your mod. Revision An integer or float key which contains the number which will be compared to the latest server version for deciding if an update is required or not.
REQ BLT PAYDAY 2 HOW TO
The updates key is an array of objects with specific keys to tell the mod manager how to handle updating your mod. This is done via adding an updates key to your mod definition file. Your mod will require it's mod definition file updating before your automatic updates will work. Or you may cause users to lose their save data for your mod, damage your modifications installation, or damage a users Payday installation. There are also some special considerations which should be made when creating your mod if you will want to incorporate automatic updates. Never put any other identifier other than your own mods in the mod definition file, or your mod will be un-installedĪnd another mod installed instead during an update. Once an identifier has been created, the mod definition file itself needs to have the identifier data itself put into it, so that the game knows which mods
If you do not have an account for the Mod Manager, contact one of us and we'll set you up an account and get you started. In order for the automatic updates system to work for a mod, it must first have its identifier created in the mod manager. The Payday 2 BLT has a feature that allows some mods to automatically update themselves from within Payday 2 itself.Īny mod that is setup on the Payday Mods Manager will automatically be checked for updates when the game loads.