Skip to content

a simple restart tool for palworld server and notification tool with kook on Windows

Notifications You must be signed in to change notification settings

wtfllix/palworldrestartkook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

# Palworld Restart Kook Bot Notification

  • A simple restart script for palworld server and notification tool with kook on Windows. As knows the dedicated server for Palworld is using huge memory affecting the experience for online gaming.
  • I wrote this script for restart the server and send to nofication to Kook (If you need). I am low-level programmer with GPT help me finish this. Please don't mind any error or bug inside the script.
  • Requirements:
    Python 3.10 (requests,urllib.parse,psutil,time,datetime,subprocess)
  • Variable:
Variable Description
token Your_Bot_Token
target_id Default channel id
guild_id id
shortcut_path path to server.exe
interval_hours you can use 3 means 3hours will restart

Usage (only on Windows):

  1. You can get the target id and guild_id when runing the script at first. And you can get the data like this (press ctrl+c to stop):

image

  1. Search those variables in the script and Change and get the token from kook(https://developer.kookapp.cn/app/index). If you don't need kook it's ok, just ignore the errors.
  2. Open the script in cmd or powershell and say yes. (python palworld_server_restart.py).
  • So what:

image

  • Very poor skill for writing script, please ignore.

About

a simple restart tool for palworld server and notification tool with kook on Windows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages