-
Notifications
You must be signed in to change notification settings - Fork 1
Configuration
UPDATED FOR VERSION: 0.0.1 (stable)
To change the bot configuration, you need to edit the .env file.
If you don't have any .env file, you can edit sample.env and rename it to .env
Define the language used by the bot.
Possible Value:
- en
- fr
Default: BOT_LANGUAGE=fr
Define where the translations are stored
e.g.: /home/zomboidbot/PzPy/locales
Default: LANGUAGE_DIR=""
Show timestamp on discord
Possible Value:
- yes
- no
Default: SHOW_TIMESTAMP=no
Embed for chat
Possible Value:
- yes
- no
Default: EMBED_CHAT=no
The token for your discord bot
Default: DISCORD_TOKEN=""
The id for the channel you want notifications and chat. If this is a channel name it will use the first channel it finds matching that name, or it can be the discord channel ID which you can get by right clicking on the channel -> copy ID or from the channel link, e.g: https://discord.com/channels/<server_id>/<channel_id>
Default: CHANNEL=""
JOINS=True DISCONNECTS=True DEATHS=True PERKS=True CREATECHAR=True
Set to "True" if you want Admin logs to be sent to the channel below. These logs give info about what players are doing and could be useful for server admins
Default: ADMIN_LOGS="False"
The id for the channel that you want admin/other logs to be sent to
Default: ADMIN_CHANNEL=""
Host to connect to rcon
Default: RCON_HOST="localhost"
The password for rcon on the server (used to relay chat from discord to game)
Default: RCON_PASSWORD
The port to use for the rcon connection, default is 27015
Default: RCON_PORT=27015
Path to Project Zomboid Logs folder Leave empty to try default paths e.g. /home/zserver/Zomboid/Logs
Default: LOGS_PATH=""
Path to the project zomboid maps folder leave empty to try the default paths
Default: MAPS_PATH=""
Path to the project zomboid saves folder leave empty to try the default paths e.g. /home/zserver/Zomboid/Saves/Multiplayer/servertest
Default: SAVES_PATH=""