About this mod
Allows configuring the general and main item stats for every item
Configurations stored in profile JSON files, which can be switched between while in-game
Works in both singleplayer and multiplayer
- Requirements
- Permissions and credits
- Changelogs
Proper server support has just been added. Now servers communicate local changes to connecting clients.
Installation (Without Vortex) (Steam) (GamePass)
- Download UE4SS (at least v3.0.0 or above)
- For SERVERS ONLY, follow this guide for a custom version of UE4SS
- Unzip the UE4SS zipped file using any unzipping program. Don't copy content from the zipped version of the file
- Copy contents of UE4SS into your games binaries/win64 or binaries/WinGDK folder
This can be found at "\Palword\Pal\Binaries\Win64" for Steam users
This can be found at "\Palword\Pal\Binaries\WinGDK" for GamePass users - Download THIS mod. Make sure you download the CORRECT VERSION of the mod for your PLATFORM (Steam vs GamePass)
- Unzip the MOD zipped file using any unzipping program. Don't copy content from the zipped version of the file
- MERGE the files (by selecting the "Pal" folder) from THIS mod into your games "Pal" folder
This can be found at "\Palword\Pal"
Making a Profile
Profiles go in the older at path "Palworld\Pal\Content\Paks\LogicMods\ItemTweaker-profiles". The mod will not function if theItemTweaker-profiles folder is missing.
When making Profiles, you must use the ItemID. Check here for a list of item IDs and their stats.
You can include the following stats for ALL item types:
- SpoilFactor - Known as Corruption Factor in the code. This affects how fast items spoil.
- Weight
- Price
- MaxStack - The maximum stack size for the item
- Durability
- Passives - A list of up to 4 passives that the item can apply to the user when equipped. Not all passives work for each item. This uses PassiveIDs.
- Name - Item display name - somewhat immune to localization
- Desc - Item display description - somewhat immune to localization
- Rarity - Item rarity (0 = common, 1 = uncommon, 2 = rare, 3 = epic, +4 = legendary)
- Rank - Not sure what this is, but I added it
- RestHP - The amount of HP it restores?
- RestSP - The amount of SP it restores?
- RestHunger - The amount of hunger it restores
- RestSanity - The amount of SAN it restores?
- ATK - Attack
- DEF - I have no clue why weapons have a defense stat
- MagSize - How much ammo is required to reload
- SneakRate - Known as Sneak Attack Rate in the code. I have no clue
- ATK - I have no clue why armor have an attack stat
- DEF - Defense
- HP - HP it adds to the wearer's health pool
- Shield - Shield it adds to the wearer's shield pool
Things to note
- You do not need to define all stats adding an item
- You do not need to define all items
- Profiles define the changes you want
- The fields for each item type defined above are case-sensitive
- If you misspell or provide a wrong field name in the Profile's JSON, it will ignore it
Check out Example.json, the Example Profile that the Mod comes with, if you need - you may have guessed it - an EXAMPLE on how to setup a profile. It also includes all default values as of Palworld v0.3.3. It can be regenerated if the ItemTweaker-profiles folder is empty, or usually if there is any issue in your Mod Config file.
Multiplayer Support
When clients with this mod connect to servers with this mod, the server will transmit any item tweaks it has loaded to the connecting client.
If configured properly, servers can also load or reload Profiles without having to restart the server to update the item values. These changes are communicated to all clients connected to the server. By default, this is turned OFF. Please read the mod config file for how to turn this on ItemTweaker.modconfig.json
Requires localcc's ReplicationEnabled mod on both client and server to make this work.
Loading / Reloading a Profile in Singleplayer
Requires Dekita's Mod Config Menu. Open the menu with Shift+F6 while in game, and edit the mod's configs. Hitting Save will reload the current selected Profile. Switching to a different Profile and hitting Save will load that new Profile.
Planned Features
- Modify stat for ALL ITEMS by RARITY - flat value OR multiplier
- Modify stat for ALL ITEMS by CLASS - flat value OR multiplier
- (MAYBE) Auto-load Profiles based on Server name or World name
- (MAYBE) Make the Palworld\Pal\Content\Paks\LogicMods\ItemTweaker-profiles via Lua if it is missing. I don't want to do that for reasons, but I will if it's so desired
Still need support? Ask in my Discord server.
Check out my other mods: