-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.cfg
70 lines (45 loc) · 2.52 KB
/
example.cfg
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
# only one port line allowed (last one will be used)
# these are comments
Port 2049
# limit connections of normal users to 10
MaxUsers 10
# limit normal users to 32 channels each, anonymous users to 2
MaxChannels 6 6
ServerLicense ../cclicense.txt
#anonymoususers yes or no, or multi (to allow multiple users of the same name from the same IP)
AnonymousUsers yes
AnonymousUsersCanChat yes
AnonymousMaskIP yes # shows just the nn.nn.nn.x instead of full IP.
AllowHiddenUsers no # set to yes to allow people without channels to not appear in the user list
#ACL list lets you specify in order a list, first match is used
ACL 10.0.0.0/8 deny
ACL 192.168.0.0/16 reserve # reserve slots for local
ACL 0.0.0.0/0 allow # allow all
#user/password/permissions sets
#User administrator myadminpass * # allow all functions
#User booga anotherpass CBTKRMHVP # allow chat, bpm/bpi, topic changing, and kicking, a reserved slot, multiple logins voting, show private rooms in stat
#User myuser mypass # allow default functions (chat, no topic)
# optional user/pass with simple status retrieving permissions (this also has the advantage of having the server do less work)
# StatusUserPass username password
DefaultTopic "Welcome to NINJAM. Please play nicely."
DefaultBPM 120
DefaultBPI 8
# two parameters: path to log to, and session length (in minutes). 0 for length means 30 seconds.
# if the first parameter (path) is empty, no logging is done
# SessionArchive . 15
# these two require a full restart to update:
# write PID file (non-windows version only)
# PIDFile ninjamserver.pid
# LogFile ninjamserver.log
# set keep-alive interval in seconds. should probably not bother
# specifying this, the default is 3, which is adequate.
# SetKeepAlive 3
# voting system:
SetVotingThreshold 50 # sets threshold to 50%. can be 1-100%, or >100 to disable
SetVotingVoteTimeout 60 # sets timeout before votes are reset, in seconds
# MOTDFile motd.txt # send this text as a privmsg to all users when they connect
# PrivateGroupMode 20 # max rooms
# PrivateGroupLobbySize 10 # max people in lobby
# PrivateGroupAllowChat yes # allow chat in lobby, to join a room use !join xyz. if chat disabled than any string that doesn't begin with ! or contain spaces will do
# PrivateGroupLobbyMOTDFile motdlobby.txt # lobby motd file
# PrivateGroupPublicPrefix "" # server will list channels with this prefix (e.g. '#'). empty for all channels are private