-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.yml
71 lines (61 loc) · 3.04 KB
/
config.example.yml
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
#Email and password used to log into the discord account.
credentials:
email: '[email protected]'
password: 'apassword'
#Dictionary of channels to be used.
channels:
lobby: 'https://discord.gg/foo'
admin_channel: 'https://discord.gg/foobar'
#A greeting message. Displayed whenever the bot starts up, usually sent to the lobby.
greeting: 'Reactor: online. Sensors: online. Connection established. All systems nominal.'
#Config settings for behaviour control.
allow_everyone: True
allow_nudging: True
#Config for setting up the nudge_receiver() proc.
nudge_config:
hostname: 'localhost'
port: 5555
key: 'foobar'
#Server info for the game. Key must be the same as comms_password in ../config/config.txt.
server_info:
hostname: 'localhost'
port: 4444
key: 'foobar'
#All commands the bot is meant to recognize, along with helper text.
#Split into different dictionaries, depending on the access required to use them.
commands:
public_commands:
help: Sends this message to you.
helpadmin: Showcases all admin commands, and their syntax.
helpmod: Showcases all mod commands, and their syntax.
helpcciaa: Showcases all duty officer commands, and their syntax.
greet: Forces me to greet you!.
playercount: Checks the playercount of the server and returns it to you.
admincount: Checks the amount of admins on the server and returns it to you.
docount: Checks the amount of DOs on the server and returns it to you.
gamemode: Tells you the servers current gamemode.
mentionstatus: Tells you whether or not I am set to mention everyone.
nudgestatus: Tells you whether or not I am forwarding messages from within the game.
admin_commands:
togglenudges: Toggles my status on nudges.
togglementions: Toggles my usage of the everyone mention.
refreshconfig: Refreshes my config file, and loads new values into it.
restartserver: Restarts the main game server.
announceserver: Sends an admin anonuncement to the game server. Syntax !announceserver [message to announce].
adminmsg: Sends a PM to the player whose CKey is specified. Syntax !adminmsg [player ckey] [message to send].
mod_commands:
adminmsg: Sends a PM to the player whose CKey is specified. Syntax !adminmsg [player ckey] [message to send].
cciaa_commands:
faxlist: Returns a list of fax IDs and their subjects that have been sent or received this round. Replace [received] with either the word "sent" or "received". Syntax !faxlist [received].
getfax: Returns the content of the fax with the ID specified. Replace [received] with either the word "sent" or "received" and [fax_id] with a number. Syntax !getfax [fax_id] [received].
#Authorized server-groups for specific commands. Cciaa are authorized for cciaa_commands, etcetera.
authorization:
admin: [
'administrators'
]
mod: [
'moderators'
]
cciaa: [
'duty officers'
]