Skip to content

A collection of scripts and SystemD units for my personal minecraft server network

Notifications You must be signed in to change notification settings

nsstrickland/minecraft-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation


Strick.Land Server Scripts

A collection of scripts used for my personal minecraft server

Constantly improving, but never really that good!

Files and Descriptions

Util

Main collection of scripts for server upkeep

  • backup.sh
    • Backup script that informs the server of potential incoming lag, then compresses all files into a .tar.gz file named with the time and server name.
    • Removes files older than a certain amount of time
  • rcon-gen-pass.sh
    • Basically useless, but generates a random password for the rcon terminal.
    • Runs each time a server is started for a unique password every time.
  • rcon-stop-server.sh
    • Warns a server for 30 seconds before stopping, then saves worlds before stopping server.
    • SystemD unit provides PID to script (though the script can look this up if not given), the script will watch until the PID disappears, then successfully exit.
  • rcon-terminal.sh
    • Based on the server name, quickly looks up the rcon port and password, then starts an mcrcon terminal with the relevant information

Backup/services

systemd units for minecraft services

  • minecraft-announce.service
    • A service to run the LANBroadcast.py script under util

About

A collection of scripts and SystemD units for my personal minecraft server network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages