A Minecraft Java Edition server.properties configuration template written in Pkl.
https://pkl-lang.org/index.html
Please follow this guide to install Pkl CLI in your machine.
Download this repository, create a new pkl file and amend this template. Docs.
// server.pkl
amends "serverTemplate.pkl"
// This would override the default MOTD
`motd` = "Welcome to the server!"
Generate the server.properties
file with your amendments by the Pkl CLI.
$ pkl eval -f properties server.pkl
The values of the default server.properties
file are determined according to the Minecraft Wiki as of version 24w04a
.
$ pkl eval -f properties serverTemplate.pkl
Please rename the file to server.properties
.