autocommit
This commit is contained in:
parent
8ec0570eb8
commit
06ad872d58
1 changed files with 1 additions and 1 deletions
|
@ -3,5 +3,5 @@
|
||||||
function broadcast() {
|
function broadcast() {
|
||||||
local dir="$(getValueByKey 'PODMAN_DIRECTORY')/${1}"
|
local dir="$(getValueByKey 'PODMAN_DIRECTORY')/${1}"
|
||||||
podman exec -it "$1" rcon -m -H 127.0.0.1 -p 25575 -P $(grep -E "^rcon.password" $dir/data/server.properties | cut -d= -f2)\
|
podman exec -it "$1" rcon -m -H 127.0.0.1 -p 25575 -P $(grep -E "^rcon.password" $dir/data/server.properties | cut -d= -f2)\
|
||||||
tellraw @a [{\"text\":\"[SYSTEM] \",\"color\":\"red\",\"bold\":true},{\"text\": \"$2\"}]
|
tellraw @a [{\"text\":\"[SYSTEM] \",\"color\":\"red\",\"bold\":true},{\"text\": \"$2\",\"color\":\"light_purple\",\"bold\":false}]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue