Zum Inhalt

📁 Dateitypen

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.
  • Wenn du sie manuell bearbeiten musst, stoppe zuerst den Server oder lade die Konfiguration nach der Aenderung neu.

🧬 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.
  • Erlaubt vollständige Anpassung der Kampf-, Nutz- und Arbeitswerte eines Pals.

📍 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.

  • Setze globale Limits in Pals/ImportRules/Default.json.
  • Füge Pal-spezifische Überschreibungen mit Dateien wie Pals/ImportRules/Anubis.json hinzu.
  • Lege fest, ob Werte oberhalb der Limits blockiert oder reduziert werden.
  • Lege fest, ob unerlaubte Passives den Import blockieren oder entfernt werden.

🌐 REST API config files

REST API configuration lives in RESTAPI/RESTConfig.json, while bearer tokens live in RESTAPI/Tokens/*.json.

  • RESTConfig.json controls 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.