349829f1e1
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.
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
pkgbase = minecraft-server
|
|
pkgdesc = Minecraft server unit files, script, and jar
|
|
pkgver = 1.9.2
|
|
pkgrel = 2
|
|
url = http://minecraft.net/
|
|
install = minecraft-server.install
|
|
arch = any
|
|
license = custom
|
|
depends = java-runtime-headless
|
|
depends = screen
|
|
depends = sudo
|
|
depends = bash
|
|
optdepends = tar: needed in order to create world backups
|
|
optdepends = netcat: required in order to suspend an idle server
|
|
conflicts = minecraft-server-systemd
|
|
conflicts = minecraft-canary
|
|
noextract = minecraft_server.1.9.2.jar
|
|
options = !strip
|
|
backup = etc/conf.d/minecraft
|
|
source = https://s3.amazonaws.com/Minecraft.Download/versions/1.9.2/minecraft_server.1.9.2.jar
|
|
source = minecraftd-backup.service
|
|
source = minecraftd-backup.timer
|
|
source = minecraftd.service
|
|
source = minecraftd.conf
|
|
source = minecraftd.sh
|
|
md5sums = 560d467028f17a70997151ed0053deb6
|
|
md5sums = b786935d6517d46fe0944377daba32b8
|
|
md5sums = fef6fadd0739ae03ff71ba61025be207
|
|
md5sums = afb84ad0316af0aca421b36eaa2bbd90
|
|
md5sums = 00045683c06924d765ac14887218ffcc
|
|
md5sums = f130c76d285297071c3e0d2988631dfe
|
|
|
|
pkgname = minecraft-server
|