Commit Graph

23 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
d897c06c86 Rewriting package + Updating pkgrel 2015-09-20 23:23:34 +02:00