aboutsummarylogtreecommitdiffstats
path: root/cuberite.sh
AgeCommit message (Collapse)Author
2021-12-22upgpkg: minecraft-server 1.18.1-2Gordian Edenhofer
Fork all files relating to managing a minecraft server into a dedicated repository. Alert the user of this change by adding READMEs in the directories of the server. upgpkg: cuberite 1.12.2c1_1be14eb-1 upgpkg: cuberite-bin 1.12.2b293-3 upgpkg: papermc 1.18.1+b68-2 upgpkg: spigot 1.18.1+b141-5
2021-12-10upgpkg: minecraft-server 1.18.1-1Gordian Edenhofer
Add a small delay to taking backups as for the sever to finish triggering it. upgpkg: cuberite 1.12.2c1_1be14eb-1 upgpkg: cuberite-bin 1.12.2b293-3 upgpkg: spigot 1.18.1+b141-4
2021-10-20upgpkg: minecraft-server 1.17.1-3Gordian Edenhofer
Print the output of the server to the terminal if startup fails. Evaluate a failure during startup by constantly inspecting the output of the server for the first 15 seconds during startup. Relates to #13 . upgpkg: cuberite 1.12.2c1_afe07fe-1 upgpkg: cuberite-bin 1.12.2b284-3 upgpkg: papermc 1.17.1+b341-1 upgpkg: spigot 1.17.1+b131-4
2021-08-28upgpkg: minecraft-server 1.17.1-2Gordian Edenhofer
Do not lock the minecraft server session if an administrator is connected to the console. Instead, re-introduce the admin check in the idle-server daemon to verify whether it is safe to shut down the server. Resolves #12. upgpkg: cuberite 1.12.2c0_094cd61-3 upgpkg: cuberite-bin 1.12.2b258-3 upgpkg: papermc 1.17.1+b100-3 upgpkg: spigot 1.17.1+b131-3
2021-07-13upgpkg: minecraft-server 1.17.1-2Gordian Edenhofer
Sync the minecraft-server management script across different minecraft-server flavors. Notify the user of the switch to tmux during post-install with a consistent message. upgpkg: cuberite 1.12.2c0_094cd61-2 upgpkg: cuberite-bin 1.12.2b258-2 upgpkg: papermc 1.17.1+b100-2 upgpkg: spigot 1.17.1+b131-2
2021-06-17upgpkg: minecraft-server 1.17-1Gordian Edenhofer
More aggressively close the netcat instance in idle_server_daemon as to not stall on dead connections. upgpkg: cuberite 1.12.2c0_4e48464-1 upgpkg: cuberite-bin 1.12.2b241-1 upgpkg: papermc 1.16.5+b778-1 upgpkg: spigot 1.17+b128-1
2020-12-13Fix spellingTom Kuschel
2020-01-14upgpkg: minecraft-server 1.15.1-2Gordian Edenhofer
Introduce a new config flag called `BACKUP_FLAGS` for specifying additional flags which to pass to tar for compression. Additionally, replace `Type=forking` with `Type=oneshot` in the backup services as to not let the backup timeout. Furthermore, change some upper case variables to lower case ones. upgpkg: spigot 1.15.1+b107-1 upgpkg: cuberite 1.12b1065-1 upgpkg: papermc 1.15.1+b48-1
2019-11-29upgpkg: cuberite/papermc Update build numbersGordian Edenhofer
upgpkg: cuberite 1.12b1060-1 upgpkg: papermc 1.14.4+b230-1
2019-09-25upgpkg: minecraft-server 1.14.4-2Gordian Edenhofer
Fix a bug which was most likely introduced in ada9f5931d preventing the `is_player_online` function to parse the response properly for some servers and in particular papermc. The bug deleted lines which were not intended to be deleted. As a fix, just stop deleting any lines as all subsequent invocations use grep anyway and hence already select the right line. upgpkg: cuberite 1.12b1049-1 upgpkg: papermc 1.14.4+b196-1 upgpkg: spigot 1.14.4+b103-2
2019-03-29upgpkg: minecraft-server 1.13.2-4Gordian Edenhofer
Fix search-and-replace mistakes made in commit b382febaf5. upgpkg: cuberite 1.12b1014-2 upgpkg: spigot 1.13.2+b93-2
2019-03-28upgpkg: minecraft-server 1.13.2-3Gordian Edenhofer
Adapt the `is_player_online` function to be a little more generic. This fixes detecting players on cuberite even with the most recent version. upgpkg: cuberite 1.12b1014-1 upgpkg: spigot 1.13.2+b93-1
2019-03-28upgpkg: minecraft-server 1.13.2-2Gordian Edenhofer
Update server-management script to be a little tidier. Sync changes across minecraft-server, spigot and cuberite. upgpkg: cuberite 1.12b1013-2 upgpkg: spigot 1.13.2+b93-1
2018-09-21upgpkg: minecraft-server 1.13.1-1Gordian Edenhofer
Broaden the scope of the regex which searches for active users in the minecraftd.sh management script to include more escape sequences. This notably enables using the idle_server part of the script in combination with the 'Paper' minecraft server. upgpkg: cuberite 1.12b975-2 upgpkg: spigot 1.12.2+b73-2
2017-03-27upgpkg: minecraft-server 1.11.2-3Gordian Edenhofer
Harden management script against code errors and faulty user input by disallowing the use of undeclared variables ('set -u') and returning on unhandled errors of invoked programs ('set -e') plus: * Circumvent '$?' everywhere by using 'if $()' instead. * Deprecate 'expr' in favor of shell built-ins and '`' for '$()'. * Use more quotes around variables. upgpkg: cuberite 1.9.4b712-1 upgpkg: spigot 1.10.2-2
2017-01-07cuberite|spigot: Merge changes to minecraftdGordian Edenhofer
Change the idle_server naming schema in the script. Previously screen was used to select a session with a specific well defined name however apparently screen selects anything starting with the specified pattern. This let to some confusion between the server and the idle_server. To circumvent this behaviour simply change the naming schema of the idle_server. THIS IS NOT A FIX! upgpkg: cuberite 1.9.4-6 upgpkg: spigot 1.10.2-1
2016-08-09upgpkg: minecraft-server 1.10.2-3Gordian Edenhofer
Treat IDLE_SERVER varible case insensitive when comparing to "true". upgpkg: cuberite 1.9.4-5 upgpkg: spigot 1.10.2-1
2016-08-04upgpkg: cuberite 1.9.4-4Gordian Edenhofer
* invoke SESSION_NAME when setting IDLE_SESSION_NAME * make the destination of the game command dump configurable * surpress error messages when sourcing since some variables might be set to read-only
2016-06-24upgpkg: cuberite 1.9.4-3Gordian Edenhofer
Port the minecraft-server managing script to cuberite. Increase builtags.