Commit Graph

50 Commits (ff7ff630e2bb572af45561a5b52590e57b3bb8ad)

Author SHA1 Message Date
Gordian Edenhofer ff7ff630e2 upgpkg: minecraft-server 1.11.2-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!
2016-12-29 15:47:45 +01:00
Gordian Edenhofer d39462710d upgpkg: minecraft-server 1.11.2-1
Tweak proceeding sed command instead of piping to awk.
2016-12-29 14:04:41 +01:00
Gordian Edenhofer a11e065f9f upgpkg: minecraft-server 1.11.2-1 2016-12-21 16:20:52 +01:00
Gordian Edenhofer 6b29de391b upgpkg: minecraft-server 1.11.1-1
Switch from md5sum to sha512sum for additional security.
2016-12-20 18:23:24 +01:00
Gordian Edenhofer a468c7820a upgpkg: minecraft-server 1.11-1 2016-11-15 19:56:26 +01:00
Gordian Edenhofer 6d5dd87fc2 upgpkg: minecraft-server 1.10.2-3
Treat IDLE_SERVER varible case insensitive when comparing to "true".

upgpkg: cuberite 1.9.4-5
upgpkg: spigot 1.10.2-1
2016-08-09 11:56:49 +02:00
Gordian Edenhofer 82a539adb8 upgpkg: minecraft-server 1.10.2-3
* 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-08-04 12:51:07 +02:00
Gordian Edenhofer 271794e3ac upgpkg: minecraft-server 1.10.2-3
Create log dir with mode 2755 instead of 775.
Remove .install notice about obsolete backups.
2016-06-24 20:03:08 +02:00
Gordian Edenhofer de963801f5 upgpkg: minecraft-server 1.10.2-2
* 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.
2016-06-24 17:41:00 +02:00
Gordian Edenhofer 3a2205fcec upgpkg: minecraft-server 1.10.2-1 2016-06-23 20:38:15 +02:00
Gordian Edenhofer bd28300b3e upgpkg: minecraft-server 1.10-2
Fix false greater than comparison if checking for active players.
2016-06-09 23:49:19 +02:00
Gordian Edenhofer d68ac105b3 upgpkg: minecraft-server 1.10-1 2016-06-08 18:59:44 +02:00
Gordian Edenhofer d3f3a8dc47 upgpkg: minecraft-server 1.9.4-4
Add awk and sed to dep array.

upgpkg: spigot 1.9.4-2
2016-05-28 16:08:09 +02:00
Gordian Edenhofer 927f9d50f3 upgpkg: minecraft-server 1.9.4-4
Let player check handle more formats from different plugins etc. in
which the number of players is communicated.

upgpkg: spigot 1.9.4-2
2016-05-28 13:51:12 +02:00
Gordian Edenhofer f2baa544d9 upgpkg: minecraft-server 1.9.4-3
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
2016-05-22 00:31:25 +02:00
Gordian Edenhofer 9fafea9acf upgpkg: (minecraft-server|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
2016-05-20 11:53:30 +02:00
Gordian Edenhofer 53bb3e0764 upgpkg: minecraft-server 1.9.4-1
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.
2016-05-11 00:18:26 +02:00
Gordian Edenhofer 3fc4b8ae1d Change email address to Gmail
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.
2016-05-01 19:48:39 +02:00
Gordian Edenhofer e41789c522 Upgpkg: 1.9.2-4
Reset no_player timer after the server has been shut down.
2016-04-03 18:00:41 +02:00
Gordian Edenhofer 0a4c078d75 Upgpkg: 1.9.2-3
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.
2016-04-03 16:33:16 +02:00
Gordian Edenhofer 87f0b53c40 Upgpkg: 1.9.2-2
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.
2016-04-03 13:43:10 +02:00
Gordian Edenhofer 349829f1e1 Upgpkg: 1.9.2-2
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.
2016-04-03 13:03:23 +02:00
Gordian Edenhofer bba22bf616 Upgpkg: 1.9.2-1
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.
2016-03-30 23:41:19 +02:00
Gordian Edenhofer 991cfe163e Upgpkg: 1.9-8
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.
2016-03-29 17:44:57 +02:00
Gordian Edenhofer e45774abee Upgpkg: 1.9-7
Increase pkgrel afterwards.
2016-03-20 14:52:00 +01:00
Gordian Edenhofer 57c082bbbd Upgpkg: 1.9-6
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.
2016-03-14 21:23:18 +01:00
Gordian Edenhofer 8cba936144 Upgpkg: 1.9-6
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>
2016-03-06 14:24:39 +01:00
Gordian Edenhofer 904e9c8273 Upgpkg: 1.9-5
Fix issues with how the idle_server is handled.
(Tested and at least works for me...)
2016-03-05 12:18:45 +01:00
Gordian Edenhofer 495689d898 Upgpkg: 1.9-4
Fix wrong netcat invocation.
Fix faulty systemd unit files with variables in capital letters.
2016-03-05 10:08:55 +01:00
Gordian Edenhofer 04f376ccc9 Upgpkg: 1.9-3
Fix faulty systemd unit files with wrong use of environment variables.
2016-03-04 18:36:18 +01:00
Gordian Edenhofer b564c24abe Upgpkg: 1.9-2
Update .SRCINFO
2016-03-02 21:53:32 +01:00
Gordian Edenhofer 89684ebd70 Upgpkg: 1.9-2
Fix serious problem which let to the idle_server_daemon being started
independently from whether the user actually wanting it.
2016-03-02 21:51:54 +01:00
Gordian Edenhofer e331e1e8c2 Upgpkg: 1.9-1
Use server_root whenever possible.
Add note to remove the /etc/conf.d/minecraft update-check oneday.
2016-03-01 13:28:15 +01:00
Gordian Edenhofer cc8b55b179 Upgpkg: 1.9-1
Make script and build files more easily adaptable for especially other
flavors of minecraft servers.
2016-02-29 22:19:09 +01:00
Gordian Edenhofer f312efaac7 Upgpkg: 1.9-1
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.
2016-02-29 21:35:38 +01:00
Gordian Edenhofer 8a41942604 Upgpkg: 1.8.9-4
updpkgsums
2016-02-01 21:54:59 +01:00
Gordian Edenhofer 79570a0604 Upgpkg: 1.8.9-4
Fix bug which prevented users from taking backups of multiple
worlds. It occured due to an out-of-place quotation of a variable.
2016-02-01 21:01:49 +01:00
Gordian Edenhofer 6c008ee185 Upgpkg: 1.8.9-3
Remove out-of-place Type option from backup timer
State that the config file is interpreted in bash
2016-01-30 13:07:29 +01:00
Tyler Langlois d7c04f25b6 minecraft-server: remove out-of-place Type option in backup timer 2016-01-29 23:46:34 -05:00
Gordian Edenhofer 562fc844e8 Upgpkg: 1.8.9-2
Check whether sudo is required for command execution
Replace [ with [[ (bash)
2016-01-26 20:30:17 +01:00
Gordian Edenhofer 130c71b396 Upgpkg: 1.8.9-2
Variable name for the management script's name
2016-01-26 00:18:20 +01:00
Gordian Edenhofer b94e3db3db Upgpkg: 1.8.9-2
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
2016-01-23 12:45:46 +01:00
Gordian Edenhofer fc5a4e085d Upgpkg: 1.8.9-1 2016-01-13 23:12:52 +01:00
Gordian Edenhofer ccd743fc8a Tailf is deprecated, use tail -f instead + Bugfix in tail invocation 2015-12-14 21:59:11 +01:00
Gordian Edenhofer 2d367a746a Bugfix + Cleaner server_command handling
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.
2015-12-14 11:51:31 +01:00
Gordian Edenhofer 761f7b2418 Indentation: Use tabs everywhere 2015-12-13 15:32:38 +01:00
Gordian Edenhofer 57d7104491 Fix typo in .install 2015-09-21 19:48:02 +02:00
Gordian Edenhofer d897c06c86 Rewriting package + Updating pkgrel 2015-09-20 23:23:34 +02:00
Philip Abernethy f2bd9cf1fc Updated to 1.8.8 2015-07-31 18:33:43 +02:00
Philip Abernethy 2c972cc099 Initial commit 2015-07-03 19:16:00 +02:00