-
-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathlocalconfig.yml
More file actions
204 lines (166 loc) · 8.1 KB
/
localconfig.yml
File metadata and controls
204 lines (166 loc) · 8.1 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
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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
############################################################
# +------------------------------------------------------+ #
# | MultiChatLocal | #
# +------------------------------------------------------+ #
############################################################
# By Revilo410
##################
# DON'T EDIT #
version: "1.9.6" #
##################
# 1. Global Chat Settings
# 2. Local Chat Settings
# 3. MultiChat Placeholders
# 4. MultiChat Nicknames
# 5. Channel Control (Support for Towny etc.)
# Specify the name of this server here for the %SERVER% placeholder
server_name: "UNNAMED_SERVER"
# Specify the channel the user should connect to when first joining (local / global)
default_channel: "global"
############################################################
# +------------------------------------------------------+ #
# | Global | #
# +------------------------------------------------------+ #
############################################################
# Should this server use a different format for the global chat than the one assigned in the Proxy Plugins folder?
# ( Useful if you want to use local placeholders that may only be present on one server )
override_global_format: false
# The format to use for the global chat if the setting above is set to true
#
# USES STANDARD MINECRAFT '&X' COLOUR/FORMAT CODES
# %NAME% = The name of the sender
# %DISPLAYNAME% = The display name of the sender
# %PREFIX% = The prefix of the sender
# %SUFFIX% = The suffix of the sender
# %NICK% = The nickname of the sender
# %SERVER% = The server of the sender
# %WORLD% = The world of the sender
#
# Will display as [FORMAT] [MESSAGE]
override_global_format_format: "&5[&dG&5] &f%DISPLAYNAME%&f: "
# If the setting below is set to true, then regardless of the settings above, MultiChat will NOT set the chat format.
# This means that if a plugin such as Towny manages the chat format locally, then this will be used instead.
# MultiChat will still send the message to all the other servers.
#
# NOTE: THIS IS DONE ON A BEST EFFORT BASIS! (MultiChat is a chat formatting plugin so is designed to format the chat!)
override_all_multichat_formatting: false
# Setting this to true will try to override any stubborn plugins messing around with the chat format
force_multichat_format: false
############################################################
# +------------------------------------------------------+ #
# | Local | #
# +------------------------------------------------------+ #
############################################################
# Should MultiChat set the format of the local chat? (Leaving this at false lets other plugins handle the chat)
set_local_format: true
# The local chat format to set if MultiChat is to manage the format
#
# USES STANDARD MINECRAFT '&X' COLOUR/FORMAT CODES
# %NAME% = The name of the sender
# %DISPLAYNAME% = The display name of the sender
# %PREFIX% = The prefix of the sender
# %SUFFIX% = The suffix of the sender
# %NICK% = The nickname of the sender
# %WORLD% = The world of the sender
# %SERVER% = The server of the sender
#
# Will display as [FORMAT] [MESSAGE]
local_chat_format: "&3[&bL&3] &f%DISPLAYNAME%&f: &7"
############################################################
# +------------------------------------------------------+ #
# | MultiChat Placeholders | #
# +------------------------------------------------------+ #
############################################################
# This setting lets you use multichat variables in other plugins!
# For example, if you use essentials chat for your local chat, but wanted to use a multichat nickname.
# You can specify the {multichat_nickname} placeholder as defined below. MultiChat will parse it as usual.
# Essentials doesn't support placeholder API by default, but you can still use PAPI placeholders by making one below!
# {multichat_papi_displayname} will be replaced using the example below and parsed by multichat.
multichat_placeholders:
nickname: "%NICK%"
papi_displayname: "%player_displayname%"
############################################################
# +------------------------------------------------------+ #
# | MultiChat Nicknames | #
# +------------------------------------------------------+ #
############################################################
# Players will be blocked from using any nicknames on this list!
# Can override with permission: multichatlocal.nick.blacklist
# Regular expressions can be used
# (?i) is the regular expression term to ignore case
nickname_blacklist:
- "(?i)Notch"
- "(?i)Jeb"
#- "[1234567890]+.*" # <-- Example to block any nicknames starting with a number!
# Should a prefix be displayed before nicknames to differentiate them from real names?
show_nickname_prefix: false
# What should the prefix before nicknames be?
nickname_prefix: "~"
# The maximum length for nicknames
nickname_length_limit: 20
# The minimum length for nicknames
nickname_length_min: 3
# Should formatting codes such as "&3" be counted in the length of the nickname?
nickname_length_limit_formatting: false
# Should MultiChat use a database to store nicknames instead of regular files?
# (PLEASE NOTE THE SERVER MUST BE RESTARTED FOR THIS TO TAKE EFFECT)
nickname_sql: false
# If the above option is true, MultiChat will use SQLite by default. Set the below to true if you would prefer to use MySQL.
mysql: false
mysql_url: "" # For example "localhost:3306"
mysql_database: "" # Put the name of your MySQL database here
mysql_user: ""
mysql_pass: ""
# Advanced database settings
mysql_flags: []
#- useSSL=false
#- autoReconnect=true
############################################################
# +------------------------------------------------------+ #
# | Channel Control | #
# +------------------------------------------------------+ #
############################################################
# This section allows you to force messages matching a specific format into a certain channel
# For example, if you had a Towny town channel in the format: [TC]
# You could tell MultiChat to keep this local, even if the player is in global mode
# This allows MultiChat to support Towny and other plugins without having to depend on them directly
# Use regular expressions (regex) to match the channel format
# Allowed channels are currently: local, global or current (for the player's currently selected channel)
# If ignore_format_code=true then format codes (&3 etc.) used in the chat format are filtered out before checking
# The order matters, top has highest priority.
# Credit to metzg for many of these examples...
force_channel:
# Example to make Towny's town channel stay local
- regex: '^&f\[&3TC&f\].*'
ignore_format_codes: false
channel: 'local'
# Example to make Towny's nation channel stay local
- regex: '^&f\[&6NC&f\].*'
ignore_format_codes: false
channel: 'local'
# Example to make Towny's admin channel stay local
- regex: '^&f\[&4ADMIN&f\].*'
ignore_format_codes: false
channel: 'local'
# Example to make Towny's mod channel stay local
- regex: '^&f\[&9MOD&f\].*'
ignore_format_codes: false
channel: 'local'
# Make Essentials local (range) chat stay local...
#- regex: '^\[L\].*'
# ignore_format_codes: true
# channel: 'local'
# Make Essentials SHOUT go global
#- regex: '^\[Shout\].*'
# ignore_format_codes: true
# channel: 'global'
# Some other plugin
#- regex: '^(.+) thinks: (.+)'
# ignore_format_codes: true
# channel: 'current' # current is useful because we can stop processing other regexes here, instead of waiting until the end and defaulting
#- regex: '^(.+) slaps (.+) with a trout'
# ignore_format_codes: true
# channel: 'local'
#- regex: '^(.+) slaps (.+) loudly with a trout'
# ignore_format_codes: true
# channel: 'global'