Age | Commit message (Collapse) | Author |
|
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! - part 2
|
|
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!
|
|
Tweak proceeding sed command instead of piping to awk.
|
|
|
|
Switch from md5sum to sha512sum for additional security.
|
|
|
|
Treat IDLE_SERVER varible case insensitive when comparing to "true".
upgpkg: cuberite 1.9.4-5
upgpkg: spigot 1.10.2-1
|
|
* 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
|
|
Create log dir with mode 2755 instead of 775.
Remove .install notice about obsolete backups.
|
|
* Handle server command output completely through screen instead of relying
on a possible outdated log file. (Implemented in the game_command function.)
The default screen command dump resides in /tmp.
* LOGPATH is not needed anymore.
* Unite various java options into one lengthier SERVER_START_CMD.
* Update configuration file accordingly.
* Create log dir in PKGBUILD.
* Fix some style inconsistencies.
|
|
|
|
Fix false greater than comparison if checking for active players.
|
|
|
|
Add awk and sed to dep array.
upgpkg: spigot 1.9.4-2
|
|
Let player check handle more formats from different plugins etc. in
which the number of players is communicated.
upgpkg: spigot 1.9.4-2
|
|
Fix bug on when to reset the no_player time: a false elif was used
instead of a simple else.
Typo.
upgpkg: spigot 1.9.4-2
|
|
Pause player checking when in idle_server mode as long as someone is
connected to the server console. Not only does it make sense for any
admin which wants to monitor the console, it also removes annoying list
invocations from the console while e.g. typing in it.
upgpkg: minecraft-server 1.9.4-2
upgpkg: spigot 1.9.4-2
|
|
Reset timer to ( IDLE_IF_TIME - 300 seconds [5 min.] ) on shutdown, so
after pinging the server it will go down earlier instead of waiting the
full IDLE_IF_TIME. This only affects the idle_server_daemon.
|
|
Gmail has been my main email address for a couple of years and the
yahoo.de address is merely my spam mail. Since I trust Google spam
filers and have a certain aversion for yahoo mail, I am switching.
|
|
Reset no_player timer after the server has been shut down.
|
|
Escape colored game-command output when evaluating the logs. Though this
is not the default for the stock server, some plugins add color to e.g.
list.
Set tail -f refresh interval to 0.1s (default 1s) to speedily escape.
|
|
Do not save server files immediately before going down in case there is
no player on the server. The files are saved on shutdown eitherway and
the save-all command heavily delays the list command which is triggered
later.
|
|
The list command prints a line containing the usernames after the last
occurrence of ": " and since playernames may not contain this string the
clean player-list can be easily retrieved through the use of sed. This
surpasses the usefulness of the player_delimiter.
Increase waiting period between executing the list game-command and
scanning the logs from 0.3 seconds to 0.6 seconds.
Tweak tail -f command in server_command.
Use ${_game} variable aggressively in PKGBUILD.
|
|
Bump up to version 1.9.2 and omit version 1.9.1 since it was released
the same day and does not contain a patch for connection issues
described in MC-100283.
|
|
Stop server immediately if no player is on the server.
Increase waiting period between executing a game-command and scanning
the logs from 0.2 seconds to 0.3 seconds.
Wait before scanning the logs when checking for active players.
Fix typo occured --> occurred and some spacing issues.
|
|
Increase pkgrel afterwards.
|
|
Renaming variables in the configuration file.
Increase time-out time to 10 seconds when shutting down the idle_server.
Minor redesign when passing commands to the minecraft server console.
|
|
On server stop, return to the prompt as soon as the server has
completely shut down, not as soon as the shutdown command has been sent.
Thereby fixing the restart capability.
Introduce sanity check whether the servers is really down in idle_daemon
and server_start as well.
Signed-off-by: Gordian Edenhofer <gordian.edenhofer@gmail.com>
|
|
Fix issues with how the idle_server is handled.
(Tested and at least works for me...)
|
|
Fix wrong netcat invocation.
Fix faulty systemd unit files with variables in capital letters.
|
|
Fix faulty systemd unit files with wrong use of environment variables.
|
|
Fix serious problem which let to the idle_server_daemon being started
independently from whether the user actually wanting it.
|
|
Use server_root whenever possible.
Add note to remove the /etc/conf.d/minecraft update-check oneday.
|
|
Make script and build files more easily adaptable for especially other
flavors of minecraft servers.
|
|
Add suspending capability for the minecraft server through the control
script and an additional screen session which listens on the same port
with netcat.
* Update .conf accordingly
* IDLE_SERVER can be either true or false
* The default is no idle server
* Choose an available netcat flavor automatically
Variable renaming in .install.
Notify the user of kept directories on post_remove and alter ownership
to root before removing the game user.
Print error messages to stderr.
|
|
updpkgsums
|
|
Fix bug which prevented users from taking backups of multiple
worlds. It occured due to an out-of-place quotation of a variable.
|
|
Remove out-of-place Type option from backup timer
State that the config file is interpreted in bash
|
|
Check whether sudo is required for command execution
Replace [ with [[ (bash)
|
|
Variable name for the management script's name
|
|
Restore backups easily with the delivered bash script
Human readable naming schema for backups
Backed up directories are now relative
Group has write permission (g+ws) to SERVER_ROOT
Proper quotation of variables which might contain spaces
|
|
|
|
|
|
Fix a bug which was introduced by the new indentation (cat EOF).
Tailf which is used to retrieve the server output closes itself as
soon as the minecraft command is triggered. Since this functionality
is build into tailf there is no need to reinvent the wheel.
|
|
|
|
|
|
|
|
|