autocommit

This commit is contained in:
LinuxSquare 2024-04-21 15:42:20 +02:00
parent cb58602906
commit ab1f859d6b

View file

@ -2,5 +2,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) tellraw @a {"text": "$2"} 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\": \"$2\"}
} }