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!
This commit is contained in:
parent
d39462710d
commit
ff7ff630e2
4
.SRCINFO
4
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = minecraft-server
|
pkgbase = minecraft-server
|
||||||
pkgdesc = Minecraft server unit files, script, and jar
|
pkgdesc = Minecraft server unit files, script, and jar
|
||||||
pkgver = 1.11.2
|
pkgver = 1.11.2
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = http://minecraft.net/
|
url = http://minecraft.net/
|
||||||
install = minecraft-server.install
|
install = minecraft-server.install
|
||||||
arch = any
|
arch = any
|
||||||
|
@ -28,7 +28,7 @@ pkgbase = minecraft-server
|
||||||
sha512sums = c8f96bafb0ba3fd8946ac791b09e75cae54dc1a8e02822f91ca70a77a8ba45b253a83c4db30f9cfbf0658a2608b38e6de3d00f1d832ef676f329a78e69eab3e7
|
sha512sums = c8f96bafb0ba3fd8946ac791b09e75cae54dc1a8e02822f91ca70a77a8ba45b253a83c4db30f9cfbf0658a2608b38e6de3d00f1d832ef676f329a78e69eab3e7
|
||||||
sha512sums = 19ee3646bfbace353b65c0373594edb654de11c9671f29cebad3b31109f29f94ade1d529d9f409b0989c376bef9b451585b22a1e0ac4295fcc92d9565f808418
|
sha512sums = 19ee3646bfbace353b65c0373594edb654de11c9671f29cebad3b31109f29f94ade1d529d9f409b0989c376bef9b451585b22a1e0ac4295fcc92d9565f808418
|
||||||
sha512sums = b0124c8cd90a4f9901a9105c0ee51eb3e7db944d106cf30fd91b29794178e650d3a21c3be3c8e0cb454b2cef6f27541c44e7a5e77a1d50f89b9152363de51d28
|
sha512sums = b0124c8cd90a4f9901a9105c0ee51eb3e7db944d106cf30fd91b29794178e650d3a21c3be3c8e0cb454b2cef6f27541c44e7a5e77a1d50f89b9152363de51d28
|
||||||
sha512sums = 8a2348464c6ec988c5edc755f482e3bfc0dd1aad65c1f82d16547ddea8abf130a773404187a280e23308a521c8732a90825683a1c6ee6fbb8ff30e53834fe75b
|
sha512sums = 73132ec613e05c8ed7ebe4eda2395f1ea0733ffe94ba7e203e06246d5852139bbfb7a9073b2b01891282339a2f85676699cd889cde79d6317066e27fd65b1d67
|
||||||
sha512sums = 503a5555021e42ed15fae8ca32f286142640b7d2c1b2c001d346c1e9010952f1154a3561a3ec7eb8a8736086bf2f15ffaec2c8388aa27332b675b66b9aa7e0c4
|
sha512sums = 503a5555021e42ed15fae8ca32f286142640b7d2c1b2c001d346c1e9010952f1154a3561a3ec7eb8a8736086bf2f15ffaec2c8388aa27332b675b66b9aa7e0c4
|
||||||
|
|
||||||
pkgname = minecraft-server
|
pkgname = minecraft-server
|
||||||
|
|
4
PKGBUILD
4
PKGBUILD
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
pkgname=minecraft-server
|
pkgname=minecraft-server
|
||||||
pkgver=1.11.2
|
pkgver=1.11.2
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Minecraft server unit files, script, and jar"
|
pkgdesc="Minecraft server unit files, script, and jar"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="http://minecraft.net/"
|
url="http://minecraft.net/"
|
||||||
|
@ -26,7 +26,7 @@ sha512sums=('f147d99832e2e12f04cc56e28abe33c5acf7d3269631eb3d75aa18108425994d019
|
||||||
'c8f96bafb0ba3fd8946ac791b09e75cae54dc1a8e02822f91ca70a77a8ba45b253a83c4db30f9cfbf0658a2608b38e6de3d00f1d832ef676f329a78e69eab3e7'
|
'c8f96bafb0ba3fd8946ac791b09e75cae54dc1a8e02822f91ca70a77a8ba45b253a83c4db30f9cfbf0658a2608b38e6de3d00f1d832ef676f329a78e69eab3e7'
|
||||||
'19ee3646bfbace353b65c0373594edb654de11c9671f29cebad3b31109f29f94ade1d529d9f409b0989c376bef9b451585b22a1e0ac4295fcc92d9565f808418'
|
'19ee3646bfbace353b65c0373594edb654de11c9671f29cebad3b31109f29f94ade1d529d9f409b0989c376bef9b451585b22a1e0ac4295fcc92d9565f808418'
|
||||||
'b0124c8cd90a4f9901a9105c0ee51eb3e7db944d106cf30fd91b29794178e650d3a21c3be3c8e0cb454b2cef6f27541c44e7a5e77a1d50f89b9152363de51d28'
|
'b0124c8cd90a4f9901a9105c0ee51eb3e7db944d106cf30fd91b29794178e650d3a21c3be3c8e0cb454b2cef6f27541c44e7a5e77a1d50f89b9152363de51d28'
|
||||||
'8a2348464c6ec988c5edc755f482e3bfc0dd1aad65c1f82d16547ddea8abf130a773404187a280e23308a521c8732a90825683a1c6ee6fbb8ff30e53834fe75b'
|
'73132ec613e05c8ed7ebe4eda2395f1ea0733ffe94ba7e203e06246d5852139bbfb7a9073b2b01891282339a2f85676699cd889cde79d6317066e27fd65b1d67'
|
||||||
'503a5555021e42ed15fae8ca32f286142640b7d2c1b2c001d346c1e9010952f1154a3561a3ec7eb8a8736086bf2f15ffaec2c8388aa27332b675b66b9aa7e0c4')
|
'503a5555021e42ed15fae8ca32f286142640b7d2c1b2c001d346c1e9010952f1154a3561a3ec7eb8a8736086bf2f15ffaec2c8388aa27332b675b66b9aa7e0c4')
|
||||||
|
|
||||||
_game="minecraft"
|
_game="minecraft"
|
||||||
|
|
|
@ -22,7 +22,7 @@ SERVER_START_CMD="java -Xms512M -Xmx1024M -XX:ParallelGCThreads=1 -jar './${MAIN
|
||||||
IDLE_SERVER=false # true or false
|
IDLE_SERVER=false # true or false
|
||||||
# Ensure that if SESSION_NAME is passed through the command line and therefore set to read only by the script,
|
# Ensure that if SESSION_NAME is passed through the command line and therefore set to read only by the script,
|
||||||
# IDLE_SESSION_NAME gets altered according to the command line and not the configurtion file, hence invoke the variable
|
# IDLE_SESSION_NAME gets altered according to the command line and not the configurtion file, hence invoke the variable
|
||||||
IDLE_SESSION_NAME="${SESSION_NAME}_idle_server"
|
IDLE_SESSION_NAME="idle_server_${SESSION_NAME}"
|
||||||
GAME_PORT="25565" # used to listen for incoming connections when the server is down
|
GAME_PORT="25565" # used to listen for incoming connections when the server is down
|
||||||
CHECK_PLAYER_TIME="30" # in seconds
|
CHECK_PLAYER_TIME="30" # in seconds
|
||||||
IDLE_IF_TIME="1200" # in seconds
|
IDLE_IF_TIME="1200" # in seconds
|
||||||
|
|
Loading…
Reference in New Issue
Block a user