๐ File Types
PalDefender supports a range of custom file types that can be used to configure your serverโs behavior and extend its features.
Currently supported:
* Config.json
* WhiteList.json
* Banlist.json
* PalTemplate.json
* PalSummon.json
* Pals/ImportRules/*.json
* RESTAPI/RESTConfig.json
* RESTAPI/Tokens/*.json
โก Quick Overview
๐ ๏ธ Config.json
Controls server behavior, moderation, logging, and admin settings.
- Security: Anti-cheat (warn, kick, ban, IP-ban), name/word filtering, SteamID protection, illegal stat/item checks.
- Logging: Tracks chat, RCON, logins, deaths, summons, building activity, oilrig events.
- Admin: IP whitelisting, auto-login, godmode/cheats, visibility of admin actions.
- Announcements: MOTD, player deaths, summons, punishments, and loot events.
- Chat & Gameplay Limits: Message length, cooldown bypass, PvP/PvE damage caps, tree cutting limit.
- Misc: RCON base64 support, startup failure handling, optional Chinese command mode.
๐ฅ WhiteList.json
Defines who is allowed to join the server. Supports both User IDs and IP addresses (including masked ranges).
๐ซ Banlist.json
Stores PalDefender ban records used by ban, unban, IP-ban, and REST punishment tools.
- Prefer
/ban,/unban,/banip,/unbanip, or the REST API instead of editing this file manually. - If you must edit it manually, stop the server first or reload configuration after changes.
๐งฌ PalTemplate.json
Used for spawning or giving customized Pals via commands.
- Defines the Palโs ID, nickname, gender, stats (HP/SP/MP), hunger, sanity, shiny status, skills, IVs, passives, and more.
- Allows full customization of a Palโs combat, utility, and work traits.
๐ PalSummon.json
Spawns a custom Pal at a specific location.
- References a
PalTemplate, sets world position (X, Y, Z). - Configures flags such as uncapturable and disables specific status effects (e.g., poison, drowning, burn, etc.).
๐งพ Pals/ImportRules/*.json
Controls how custom Pal templates are accepted.
- Set global limits in
Pals/ImportRules/Default.json. - Add per-Pal overrides with files such as
Pals/ImportRules/Anubis.json. - Choose whether over-limit values are blocked or clamped.
- Choose whether disallowed passives block imports or are removed.
๐ REST API config files
REST API configuration lives in RESTAPI/RESTConfig.json, while bearer tokens live in RESTAPI/Tokens/*.json.
RESTConfig.jsoncontrols whether the API is enabled, the bind address, port, console logging, and CORS settings.- Each token file should contain a private token and permissions. Do not share token values publicly.