This Minecraft Server Wrapper is a Python script designed to manage Minecraft server operations and enhance functionality with various extensions and automation. The wrapper handles server input/output, manages configurations, automates updates, restarts, and integrates with Discord through webhooks. Additionally, it can summon Herobrine, providing a unique twist for players.
- Auto-update: Automatically updates the server to the latest or preferred Minecraft server version.
- Auto-restart: Automatically restarts the server when it closes unexpectedly.
- Scheduled Restarts: Configurable to restart the server at scheduled intervals.
- Discord Integration: Sends server events to a configured Discord channel.
- Herobrine Integration: Adds a spooky Herobrine experience to your server.
- Configurable Settings: Customizable settings through a configuration file.
- Custom Commands: Extension to create custom commands in python by listening to player chat.
- Ask Command: Use LLM to ask Minecraft specific questions.
- Backups: Automatically backup world.
requestsfor discord_hook extensionopenaifor herobrine extension
- Install Module:
pip install git+https://github.com/yourgithubusername/minecraft-server-wrapper.git
- Run the Program:
or
mcs-wrapper
mcsw
- Modify
wrapper.cfgin the project root to set up your preferences:- Set server version, enable auto-updates, and configure webhook URLs.
- Adjust auto-restart behaviors and Herobrine settings as desired.
- Start the wrapper with the specified server directory:
mcsw -d directory_name
Directory_name is a directory in the .mcs_wrapper directory
- After the first start, you can edit the config files in your directory.