How zaigie/palworld-server-tool works
PST is a Palworld dedicated-server management tool with a Go REST backend, Vue desktop/mobile interface, and Python save parser. The main workflow is: an administrator configures a save source and server connections, PST retrieves and parses saves, the UI/API exposes player and guild data, and administrators manage the game server and scheduled work. The README documents backups, whitelist, RCON automation, map views, and responsive UI; some corresponding source was not sampled, so those links are documented rather than source-verified.
Main entry points: router.go API Router · save.go Save Coordinator · sav_cli.py Save Parser · bbolt.go Business Database
Components 26
User Interfaces
- Web Application
web/src/App.vue - Desktop Views
web/src/views/PcHome/PcHome.vue - Mobile Views
web/src/views/MobileHome/MobileHome.vue - API Client
web/src/service/api.js
REST Backend
- API Router
api/router.go - Player API
api/player.go - Server API
api/server.go - Backup API
api/backup.go - RCON API
api/rcon.go
Save Processing
- Save Coordinator
internal/tool/save.go - Save Parser
sav_cli/sav_cli.py - Save Structurer
sav_cli/structurer.py - World Types
sav_cli/world_types.py - Parser Logging
sav_cli/logger.py - PST Agent
cmd/pst-agent/main.go
Server Operations
- RCON Connector
internal/tool/rcon.go - Official REST Connector
internal/tool/rest_api.go - Scheduled Tasks
internal/task/task.go - RCON Task Runner
internal/task/rcon_task.go
Persistence
- Guild Services
service/guild.go - Player Services
service/player.go - Business Database
internal/database/bbolt.go - Configuration
internal/config/config.go
Other components
- Administrator
- Palworld Server
- Save Files
Connections 33
- Administrator → Web Application: uses
README.md - Web Application → Desktop Views: routes to
- Web Application → Mobile Views: routes to
- Desktop Views → API Client: requests data
- Mobile Views → API Client: requests data
- API Client → API Router: calls REST
- API Router → Player API: routes to
api/router.go - API Router → Server API: routes to
api/router.go - API Router → Backup API: routes to
api/router.go - API Router → RCON API: routes to
api/router.go - Player API → Player Services: delegates to
api/player.go - Player API → Business Database: reads data
api/player.go - Player Services → Business Database: reads and writes
service/player.go - Guild Services → Business Database: reads and writes
- Administrator → Save Coordinator: configures source
README.md - Save Coordinator → PST Agent: downloads from
internal/tool/save.go - PST Agent → Save Files: copies and zips
cmd/pst-agent/main.go - Save Coordinator → Save Files: retrieves
internal/tool/save.go - Save Coordinator → Save Parser: runs parser
internal/tool/save.go - Save Parser → Save Structurer: structures saves
sav_cli/sav_cli.py - Save Structurer → World Types: builds records
sav_cli/structurer.py - Save Parser → Parser Logging: logs progress
sav_cli/sav_cli.py - Save Parser → API Router: syncs records
sav_cli/sav_cli.py - Administrator → Palworld Server: manages via PST
README.md - Server API → Official REST Connector: queries and controls
api/server.go - Official REST Connector → Palworld Server: calls official API
README.md - RCON API → RCON Connector: dispatches commands
- RCON Connector → Palworld Server: sends RCON
README.md - Administrator → Scheduled Tasks: configures automation
README.md - Scheduled Tasks → RCON Task Runner: loads scheduled jobs
internal/task/task.go - Scheduled Tasks → Save Coordinator: syncs and backs up
internal/task/task.go - Administrator → Configuration: sets PST options
README.md - Backup API → Business Database: records backups