Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/foxfirecodes/turtle-server
a docker powered Minecraft server for me and a few friends
https://github.com/foxfirecodes/turtle-server
docker fabric minecraft minecraft-server
Last synced: 5 days ago
JSON representation
a docker powered Minecraft server for me and a few friends
- Host: GitHub
- URL: https://github.com/foxfirecodes/turtle-server
- Owner: foxfirecodes
- Created: 2024-07-20T15:18:29.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-20T20:42:55.000Z (17 days ago)
- Last Synced: 2024-12-25T05:21:17.996Z (12 days ago)
- Topics: docker, fabric, minecraft, minecraft-server
- Language: Rust
- Homepage:
- Size: 16.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# turtle-server
> tiny server config for a lil server i call "turtle" (just for a few friends)
## setup
during first time setup you will want to run `get-env.sh` to initialize `.env` with the appropriate `UID` and `GID` values.
from there, it's just a matter of configuring some optional env vars if you want the Discord bot to work, namely:
### `.env`
- `CFG_DISCORD_TOKEN` - the bot token for your Discord bot (for MC <-> Discord integration)
- `CFG_DISCORD_CHANNEL` - the channel ID where you want the bot to send server & player messages
- `CFG_DISCORD_ADMIN_ROLE` - the role ID for gating access to admin-only commands (like `/stop` from within Discord)### `bot/.env`
- `DISCORD_TOKEN` - probably same as `CFG_DISCORD_TOKEN` in `.env`. sets up a bot w/ a slash command to start the server if it ever dies for whatever reason
## usage
just `docker compose up -d` from within the `turtle-server` directory to start, `docker compose down` to stop
you can `docker compose attach mc` to access the interactive console. use Ctrl-p Ctrl-q to detach