First commit
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
## Send commands to the neoforge server as if in the server console
|
||||
#
|
||||
# Example usage:
|
||||
# ./cm give pizza2d1 minecraft:oak_log 1
|
||||
|
||||
command=()
|
||||
while [[ ! -z "${1}" ]]; do
|
||||
command+=("${1}")
|
||||
shift
|
||||
done
|
||||
sudo docker exec -i neoforge_server rcon-cli "${command[@]}"
|
||||
Reference in New Issue
Block a user