Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zimeg/minecraft
💎
https://github.com/zimeg/minecraft
Last synced: 21 days ago
JSON representation
💎
- Host: GitHub
- URL: https://github.com/zimeg/minecraft
- Owner: zimeg
- License: mit
- Created: 2024-08-08T03:47:51.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-10T04:13:08.000Z (3 months ago)
- Last Synced: 2024-08-10T07:13:46.521Z (3 months ago)
- Language: HCL
- Homepage: tom:25565
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# minecraft
> a small home server for the block game
## starting a server
run a process in some [flaked][flakes] environment with:
```sh
$ minecraft-server
```[or inspect service patterns on machine startup][service].
## joining the world
connect to the server with a hostname and port:
```sh
tom:25565
```### changing the saves
update the `server.properties` then restart:
```diff
- level-name=world
+ level-name=skyblock
```## plugins
the minimal experience is sought so few changes here.
- [default][default]: basic outlines for this game - `server.properties`
- [papermc][papermc]: simple server configurations - `config/paper-*.yml`
- [bukkit][bukkit]: compiled build settings - `bukkit.yml`
- [spigot][spigot]: compiled build settings - `spigot.yml`the `plugins` path has more setting but hides builds.
## backups
[saving worlds is instead a task for another repo][backup].
### creating the cloud
a unique bucket on amazon web services is needed:
```sh
$ vim ./backup/backup.sh
$ vim ./backup/tofu.auto.tfvars.json
```some changes to the backend backups can happen:
```sh
$ vim ./backup/main.tf
```then configuration can change the currents cloud:
```sh
$ nix develop .#backup
$ tofu init
$ tofu apply
```### saving a backup
[it is often a scheduled time to perform backups][timer]:
```sh
$ nix develop .#backup
$ ./backup/backup.sh
```[backup]: https://github.com/zimeg/.DOTFILES/blob/abdb288a3e62712a49c01c97f408aa73a874e9ca/machines/tom/systemd/services/default.nix#L29-L40
[bukkit]: https://dev.bukkit.org
[default]: https://minecraft.fandom.com/wiki/Server.properties#Keys
[flakes]: https://wiki.nixos.org/wiki/Flakes
[papermc]: https://docs.papermc.io/paper
[service]: https://github.com/zimeg/.DOTFILES/blob/abdb288a3e62712a49c01c97f408aa73a874e9ca/machines/tom/systemd/services/default.nix#L41-L56
[spigot]: http://www.spigotmc.org/wiki/spigot-configuration/
[timer]: https://github.com/zimeg/.DOTFILES/blob/abdb288a3e62712a49c01c97f408aa73a874e9ca/machines/tom/systemd/timers/default.nix#L4-L9