blob: 69119e7cc5632affb7bc24a8042adddc1e9b3a27 (
plain)
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
|
# Still working on discord-side triggering
# IMPORTANT! You must have a log for event reports and death leaderboards
# logs are achieved by using -logfile flag on launch, or by logging stdout
# Windows Users use forward slashes
# Path to your log file
file = '/var/log/valheim.log'
# Path to Valheim Plus config file (Only needed if using optional pluscmds)
vplusfile = '/home/user/valheim/BepInEx/config/valheim_plus.cfg'
BOT_TOKEN = ""
# Change ? to command prefix you want to use
BOT_PREFIX = "!"
# Server ip and port for A2S port needs to be +1 of the port number used in -port
SERVER_ADDRESS = ("0.0.0.0",2457)
# Shows up in embeds for stats report
SERVER_NAME = "Server Name"
# LOGCHAIN - where the bot outputs death and random mob events
LOGCHAN_ID = 000000000000000
# use a locked VC channel to report player count, if not, set as False
USEVCSTATS = True
# VCHANNEL - where the bot shows server ticker, must be voice channel
VCHANNEL_ID = 000000000000000000
# MYSQL server info
SQL_HOST = 'localhost'
SQL_PORT = '3306'
SQL_USER = 'username'
SQL_PASS = 'password'
SQL_DATABASE = 'database'
# EXSERVERINFO - used to enable extra server data info gathering from logs ***Must add the extra server info table in mysql***
EXSERVERINFO = True
# World file location used for showing file size.
WORLDSIZE = True
worldfile = '/home/user/valheim/.config/unity3d/IronGate/Valheim/worlds/world.db.old'
# Enable sending debug info to a channel
USEDEBUGCHAN = True
# BUGCHANNEL - where the bot shows debug info
BUGCHANNEL_ID = 7293481670000121
# Commands Roles. Discord roles that can use command.
DEATHS_CMD = "@everyone"
STATS_CMD = "@everyone"
PLAYERSTATS_CMD = "@everyone"
ACTIVE_CMD = "@everyone"
VERSIONS_CMD = "@everyone"
VPLUS_CMD = "@everyone"
SETSTATUS_CMD = "Admin"
SAVESTATS_CMD = "Admin","Mod"
#MODS_CMD = "@everyone"
PLOC_CMD = "@everyone"
# MODSINFO - used to enable server installed mods data info gathering from logs ***Must rerun dbsetup.py if changing this to True if you ran it all ready***
#MODSINFO = True
# MODDIR - Path of the BepInEx plugins folder
#MODDIR = "/var/lib/pterodactyl/volumes/a8fae5c1-4b08-4a96-bdd8-b673e458b3f3/BepInEx/plugins"
# PLOCINFO - used for tracking placed locations to determine percent of world exploed ***Must rerun dbsetup.py if changing this to True if you ran it all ready***
PLOCINFO = True
|