-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsample.env
More file actions
93 lines (67 loc) · 2.34 KB
/
sample.env
File metadata and controls
93 lines (67 loc) · 2.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
DEBUG=True
# Sample configuration file. Rename to ".env" and customise with your settings
# Language (en/fr)
BOT_LANGUAGE=en
# Language directory
# E.g. /home/my_user/pzpy/locales
LANGUAGE_DIR=""
# Show timestamp on discord (yes/no)
SHOW_TIMESTAMP=no
# Embed for chat (yes/no)
EMBED_CHAT=yes
# Automatic mod update (yes/no)
AUTO_MOD_UPDATE=yes
# Bash script to reboot script to launch to restart the PZ server
# E.g. /home/my_user/my_reboot_script.sh
MOD_UPDATE_REBOOT_SCRIPT = ""
# Steam API Key (Follow instructions to get API Key: https://steamcommunity.com/dev/apikey)
STEAM_API_KEY=""
# The token for your discord bot
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>
CHANNEL=""
# The notifications for the above 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
# Defaults to False unless this is set to True
ADMIN_LOGS="False"
# The id for the channel that you want admin/other logs to be sent to
ADMIN_CHANNEL=""
# RCON Host
RCON_HOST="localhost"
# The password for rcon on the server (used to relay chat from discord to game)
RCON_PASSWORD=""
# The port to use for the rcon connection, default is 27015
RCON_PORT=27015
# Path to users data
# e.g. /home/my_user/zomboid_bot/data
DATA_PATH=""
# Path to Project Zomboid Logs folder
# Leave empty to try default paths
PZ_PATH=""
# Path to Project Zomboid Logs folder
# Leave empty to try default paths
LOGS_PATH=""
# Path to the project zomboid maps folder
# leave empty to try the default paths
MAPS_PATH=""
# Path to the project zomboid saves folder
# leave empty to try the default paths
# e.g. /home/my_user/Zomboid/Saves/Multiplayer/server_name
SAVES_PATH=""
# DON'T EDIT ANYTHING BEYOND THIS POINT
# DON'T EDIT ANYTHING BEYOND THIS POINT
# DON'T EDIT ANYTHING BEYOND THIS POINT
# DON'T EDIT ANYTHING BEYOND THIS POINT
# Logs
LOG_LEVEL="INFO"
COLOREDLOGS_LOG_FORMAT='%(asctime)s : %(name)s : %(levelname)s : %(message)s'