forked from BanManagement/BanManager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
173 lines (161 loc) · 7.42 KB
/
config.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
# Default configuration file for James' BanManagement Plugin
# Required. If the connection info is wrong, the plugin may hang on startup and will eventually disable itself
localDatabase:
host: 'localhost'
port: 3306
database: 'frostcast'
username: 'root'
password: ''
bansTable: 'bm_bans'
bansRecordTable: 'bm_ban_records'
ipBansTable: 'bm_ip_bans'
ipBansRecordTable: 'bm_ip_records'
kicksTable: 'bm_kicks'
mutesTable: 'bm_mutes'
mutesRecordTable: 'bm_mutes_records'
playerIpsTable: 'bm_player_ips'
warningsTable: 'bm_warnings'
banAppealsTable: 'bm_ban_appeals'
pinsTable: 'bm_pins'
staffTable: 'bm_staff'
# Enable for /banall & /unbanall commands
# Allows (un)banning across multiple servers that use the same exact externalDatabase.
# Optional
externalDatabase:
enabled: false
host: 'localhost'
port: 3306
database: 'frostcast'
username: 'root'
password: ''
bansTable: 'bm_ban_all'
unbansTable: 'bm_unban_all'
ipBansTable: 'bm_ipban_all'
ipUnbansTable: 'bm_ipunban_all'
mutesTable: 'bm_mute_all'
unmutesTable: 'bm_unmute_all'
# Enable for foreign characters
useUTF8: false
# Enable to log player IPs to allow for offline player ip banning and ip duplicate check of banned players on player join
logIPs: true
# Only fill in if you are syncing bans across servers
serverName: ''
checkForUpdates: true
logKicks: false
# Keep records for number of days, use 0 to never delete
cleanUp:
kicks: 30
banRecords: 0
ipBanRecords: 0
muteRecords: 0
playerIPs: 30
warnings: 0
# Blacklist commands for muted players
mutedCommandBlacklist:
- msg
# Leave false, this is for Tekkit Classic servers
useSyncChat: false
# Simply give the permission bm.timelimit.mutes.X or bm.timelimit.bans.X to apply the time limits
# replace X with the group defined here, can be anything you like.
timeLimits:
mutes:
Moderator: 1h
bans:
Moderator: 1d
# If set to true, allows you to use partial player names in commands for online players
# If set to false, you must specify the entire name of the player
use-partial-names: true
# Bans the players and IP's within banned-players.txt & banned-ips.txt
# Only set this to false if you have a very stable MySQL connection
# If the database fails whilst this is false, banned players can join.
bukkit-ban: true
# Supports colours via &. Use \n for a new line.
messages:
ban: '[name] has been banned for [reason]'
banKick: 'You have been banned for [reason]'
tempBan: '[name] has been banned for [expires] for [reason] by [by]'
tempBanKick: 'You have been temporarily banned for [reason]'
ipBan: '&c[ip] has been banned for [reason]'
ipTempBan: '[ip] has been temporarily banned for [reason] by [by]'
ipBanKick: 'Your IP has been banned for [reason]'
kicked: '[name] has been kicked by [by] for [reason]'
kickedNo: '[name] has been kicked by [by]'
kickReason: 'You have been kicked for [reason]'
kickNoReason: 'You have been kicked'
disconnectBan: 'You have been banned from this server for [reason]'
disconnectTempBan: 'Your ban expires in [expires] Reason: [reason]'
disconnectIpBan: 'Your IP has been banned from this server for [reason]'
disconnectTempIpBan: 'Your ban expires in [expires] Reason: [reason]'
mute: '[name] has been muted for [reason] by [by]'
muted: 'You have been permanently muted for [reason] by [by]'
tempMute: '[name] has been muted for [reason] by [by] which expires in [expires]'
tempMuted: 'You have been temporarily muted for [reason] by [by] which expires in [expires]'
commandPermissionError: '&cYou do not have permission to use this command'
banSelfError: '&cYou can''t ban yourself fool!'
banExemptError: '&cYou do not have permission to ban this player'
alreadyBannedError: '&c[name] is already banned'
playerBanned: '[name] has been banned'
multiplePlayersFoundError: '&cmultiple players found, please be more specific'
importInProgressError: '&cAn import is already in progress'
beginingPlayerImport: '&6Beginning banned player import'
scanningDatabase: '&6'
scanPlayersFound: '&6Players found: [found]'
noPlayersImport: '&cNo players need importing, yay less work for me!'
percentagePlayersImported: '&6[percent]% of players imported'
playerImportComplete: '&6Player import complete!'
beginingIpImport: '&6Beginning banned ip import'
scanIpsFound: '&6Players found: [found]'
noIpsImport: '&cNo IPs need importing, yay less work for me!'
percentageIPsImported: '&6[percent]% of IPs imported'
ipImportComplete: '&6IP import complete!'
bmInfo: '&cName: &6[name]\n&cCurrent Ban: [currentBan]\n&cPrevious Bans: [previousBans]\n&cCurrent Mute: [currentMute]\n&cPrevious Mutes: [previousMutes]\n&cKicks: [kicksCount]\n&cWarnings: [warningsCount]'
ipBanned: '[ip] has been banned'
ipTempBanned: '[ip] has been banned temporarily'
ipSelfError: '&cYou can''t ip ban yourself fool!'
ipPlayerOfflineError: '&c[name] is offline, unable to retrieve IP'
ipTempBanKick: 'You have been temporarily banned for [reason]'
kickSelfError: '&cYou can''t kick yourself fool!'
kickExemptError: '&cYou do not have permission to kick this player'
playerKicked: '[name] has been kicked'
playerNotOnline: '&cPlayer not found, are they online?'
muteSelfError: '&cYou can''t mute yourself fool!'
muteExemptError: '&cYou do not have permission to mute this player'
alreadyMutedError: '&c[name] is already muted'
playerMuted: '[name] has been muted'
mutedBlacklistedCommand: '&cYou may not use that command whilst muted!'
illegalDateError: '&cIllegal Date Format'
playerTempBanned: '[name] has been temporarily banned'
playerTempMuted: '[name] has been temporarily muted'
unbanError: '&cYou can''t unban someone who isn''t banned!'
playerUnbanned: '[name] has been unbanned'
ipUnbanned: '[ip] has been unbanned'
ipNotBannedError: '&c[ip] is not currently banned. You can''t unban someone who isn''t banned!'
invalidIp: '&cInvalid IP!'
invalidPlayer: '&cInvalid Player!'
playerUnmuted: '[name] has been unmuted'
playerNotMutedError: '&cYou can''t unmute someone who isn''t muted!'
updateAvailable: '&A[version] update available'
banTimeLimitError: '&cYou cannot ban for that length of time'
muteTimeLimitError: '&cYou cannot mute for that length of time'
warnSelfError: '&cYou can''t warn yourself fool!'
warnExemptError: '&cYou do not have permission to warn this player'
playerWarned: '[name] has been warned'
warned: '&cYou have been warned by [by] for the following:\n[reason]'
duplicateIP: '&cWarning: [player] has the same IP as the following banned players:\n&6[players]'
consoleName: 'Console'
configReloaded: '&a[BanManager] Config Reloaded.'
invalidClearType: '&cInvalid clear type, available options are banrecords, muterecords, kicks and warnings.'
playerRecordCleared: '[name] has had their [recordType] cleared'
timeNow: 'now'
timeYear: 'year'
timeYears: 'years'
timeMonth: 'month'
timeMonths: 'months'
timeDay: 'day'
timeDays: 'days'
timeHour: 'hour'
timeHours: 'hours'
timeMinute: 'minute'
timeMinutes: 'minutes'
timeSecond: 'second'
timeSeconds: 'seconds'