thijsvanloef / palworld-server-docker

A Docker Container to easily run a Palworld dedicated server.
https://hub.docker.com/r/thijsvanloef/palworld-server-docker
MIT License
2.43k stars 295 forks source link

RCON Broadcast command not working at all #191

Closed SOSkr closed 9 months ago

SOSkr commented 9 months ago

Describe the bug

When I try to send a message, it shows me command not found!

To Reproduce

Executing this... docker exec -it palworld-server rcon-cli Broadcast "Hello world"

Screenshots

image

Desktop (please complete the following information)

docker-compose.yml contents

   palworld:
      image: thijsvanloef/palworld-server-docker:latest
      restart: unless-stopped
      container_name: palworld-soskr-server
      ports:
        - 8211:8211/udp
        - 27015:27015/udp
      environment:
         - SERVER_NAME="PalosAmigos"
         - SERVER_DESCRIPTION="Servidor para amigos latinos"
         - PORT=8211 # Optional but recommended
         - PLAYERS=16 # Optional but recommended
         - RCON_ENABLED=true
         - RCON_PORT=25575
         - ADMIN_PASSWORD="R3fnelU#07pbHmwR" # RCON Password
         - COMMUNITY=false # Enable this if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD!
         # - SERVER_PASSWORD="worldofpals" # Optional but recommended
         - MULTITHREADING=true
         - UPDATE_ON_BOOT=true
         - PUID=1000
         - PGID=1000
         - TZ=UTC
      volumes:
         - /home/debian/palworld-server:/palworld/
Filipe-Souza commented 9 months ago

@SOSkr Can you change the docker exec command and try this instead:

docker exec -it palworld-server /usr/bin/rcon-cli "Broadcast Hello world"

image

SOSkr commented 9 months ago

Worked!! thx image