· 6 years ago · Dec 05, 2019, 09:06 PM
1# Uchat configuration file
2# Author: FabioZumbi12
3# We recommend you to use NotePad++ to edit this file and avoid TAB errors!
4# ------------------------------------------------------------------------
5#
6# Tags is where you can customize what will show on chat, on hover or on click on tag.
7# To add a tag, you can copy an existent and change the name and the texts.
8# After add and customize your tag, put the tag name on 'general > default-tag-builder'.
9# ------------------------------------------------------------------------
10# ###### Do not rename the tags 'playername', 'nickname' and 'message' ########
11# ############ or the plugin will not parse the tag correctly! ################
12# ------------------------------------------------------------------------
13#
14# Available replacers:
15# - {world}: Replaced by sender world;
16# - {message}: Message sent by player;
17# - {playername}: The name of player;
18# - {nickname}: The nickname of player. If not set, will show realname;
19# - {nick-symbol}: The symbol to use before nickname;
20# - {ch-name}: Channel name;
21# - {ch-alias}: Channel alias;
22# - {ch-color}: Channel color;
23# - {balance}: Get the sender money;
24# - {hand-type}: Item type;
25# - {hand-name}: Item name;
26# - {hand-amount}: Item quantity;
27# - {hand-lore}: Item description (lore);
28# - {hand-durability}: Item durability;
29# - {hand-enchants}: Item enchantments;
30# - {time-now}: Prints the time now on server;
31#
32# Permissions Group Options:
33# - {option_group}: Get the group name;
34# - {option_prefix}: Get the prefix of group (if set);
35# - {option_suffix}: Get the suffix of group (if set);
36# - {option_display_name}: Get the custom name of group (if set);
37# - {option_<key option>}: Get some custom key option from your group in permissions like {option_home-count} to get home count from Nucleus;
38#
39# Permissions Player Options:
40# - {player_option_prefix}: Get the prefix of player (if set);
41# - {player_option_suffix}: Get the suffix of player (if set);
42# - {player_option_<key option>}: Get some custom key option from your permissions like {player_option_viptime} or what you want;
43#
44# Vanilla Chat:
45# - {chat_header}: Get the header of chat;
46# - {chat_body}: Get the body of chat;
47# - {chat_footer}: Get the footer of chat;
48# - {chat_all}: Get all default formats;
49#
50# MCClans:
51# - {clan_name}: The name of clan;
52# - {clan_tag}: Clan tag;
53# - {clan_tag_color}: Clan tag with colors;
54# - {clan_kdr}: Clan KDR;
55# - {clan_player_rank}: Get the player rank on Clan;
56# - {clan_player_kdr}: Get the player KDR;
57# - {clan_player_ffprotected}: Get if player is friendly fire protected;
58# - {clan_player_isowner}: Get if this player os owner of this Clan;
59# Jedis (Redis):
60# - {jedis-id} - The ID of this server;
61#
62#
63
64"_config-version"=1.0
65# API configurations.
66api {
67 format-console-messages=false
68 # Change this if using SpongeVanilla or some issues to UChat detect the API versions.
69 # - Available: 5, 6, 7, 8
70 sponge-api=7
71}
72broadcast {
73 # Aliases to use for broadcast.
74 aliases=anunciar
75 # Enable broadcast. Enabling this will unregister any other broadcasts commands using the same aliases.
76 enable=true
77 # Tag to use on broadcast message to set a click event.
78 on-click="click:"
79 # Tag to use on broadcast message to set a hover message.
80 on-hover="hover:"
81 # Tag to use on broadcast message to set a website url on click.
82 url="url:"
83}
84bungee {
85 enable=false
86 "server_id"=Sponge
87}
88debug {
89 messages=false
90 timings=false
91}
92# General settings.
93general {
94 # Template to show when players send links or urls.
95 URL-template="&lClique para abrir a URL &n{url}&r"
96 # Command and aliases for /channel command.
97 channel-cmd-aliases="channel, ch"
98 # This will make a check if the player channel is available on destination world and put on the world channel if is not available.
99 check-channel-change-world=false
100 # Tag to show when sent messages from console to channels.
101 console-tag="&6 {console}&3"
102 custom-tags=[]
103 default-channels {
104 # Default channel for new added worlds
105 default-channel=l
106 worlds {
107 DIM-1 {
108 channel=l
109 force=false
110 }
111 DIM1 {
112 channel=l
113 force=false
114 }
115 main {
116 channel=l
117 force=false
118 }
119 mundo {
120 channel=l
121 force=false
122 }
123 ultra {
124 channel=l
125 force=false
126 }
127 }
128 }
129 # This is the main tag builder.
130 # Change the order of this tags to change how tag is displayed on chat.
131 # This tags represent the names of tag in this configuration.
132 default-tag-builder="world,ch-tags,prefix,nickname,suffix,message"
133 # If using the placeholder "{option_all_prefixes/suffixes}", exclude this groups from tags.
134 dont-show-groups=[
135 default
136 ]
137 # Enable to allow parse tags and placeholders on messages.
138 enable-tags-on-messages=false
139 # The default channel for fakeplayers from mods and other plugins.
140 fakeplayer-channel=l
141 # Example alias for rename group name to other name. Support color codes.
142 group-names {
143 my-admin="&4Admin&r"
144 my-moderator="&2MOD&r"
145 }
146 item-hand {
147 enable=true
148 # Text to show on chat on hover the tag.
149 format="&6[{hand-amount} {hand-type}]{group-suffix}"
150 # Placeholder to use on chat by players to show your item in hand.
151 placeholder="@hand"
152 }
153 nick-symbol="&r"
154 persist-channels=true
155 # Remove this from chat (like empty tags)
156 remove-from-chat=[
157 "[]",
158 "&7[]",
159 "&7[&7]"
160 ]
161 # Enable spy on join?
162 spy-enabled-onjoin=false
163 # Chat spy format.
164 spy-format="&c[Spy] {output}"
165 # Aliases to send commands from system to players (without any format, good to send messages from other plugins direct to players).
166 umsg-cmd-aliases=umsg
167 # Example alias for rename world name to other name. Support color codes.
168 world-names {
169 my-end="&5The-End&r"
170 my-nether="&4Hell&r"
171 }
172}
173tags {
174 admin-chat {
175 format="&b[&4{playername}&b]&4: &b"
176 }
177 ch-tags {
178 click-cmd="ch {ch-alias}"
179 format="{ch-color}[{ch-alias}]&r"
180 hover-messages=[
181 "&fNome do canal: {ch-color}{ch-name}",
182 "&bClique para entrar nesse canal"
183 ]
184 }
185 clantag {
186 format="{clan_tag_color} "
187 }
188 custom-tag {
189 click-cmd="say I created an awesome tag!"
190 click-url="www.google.com"
191 format="&7[&2MyTag&7]"
192 hide-in-worlds=[
193 world-hide
194 ]
195 hover-messages=[
196 "You discovered me :P"
197 ]
198 permission="any-name-perm.custom-tag"
199 show-in-worlds=[
200 world-show
201 ]
202 }
203 globalmessage {
204 format=" &7» {message}"
205 }
206 jedis {
207 format="{server-id}"
208 hover-messages=[
209 "&7Server: {jedis-id}",
210 "&cChange me on configuration!"
211 ]
212 }
213 localmessage {
214 format=" &e» {message}"
215 }
216 message {
217 format="{message}"
218 }
219 nickname {
220 format="{nick-symbol}{nickname}"
221 hover-messages=[
222 "&3Usuário: &f{playername}",
223 "&3Dinheiro: &7{balance}",
224 "&3Tag 1: {player_option_prefix}",
225 "&3Tag 2: {player_option_suffix}",
226 "&3Nível: &6[Nv. %ts_level%]"
227 ]
228 }
229 playername {
230 format="{playername}"
231 hover-messages=[
232 "&3Usuário: &f{playername}",
233 "&3Dinheiro: &7{balance}",
234 "&3Tag 1: {player_option_prefix}",
235 "&3Tag 2: {player_option_suffix}",
236 "&3Nível: &6[Nv. %ts_level%]"
237 ]
238 }
239 prefix {
240 format="{player_option_prefix}{player_option_suffix}"
241 }
242 staff {
243 format="&c[STAFF]"
244 }
245 staffmessage {
246 format="&c » {message}"
247 }
248 suffix {
249 format="{player_option_suffix}"
250 }
251 team-nickname {
252 format="&f[&9%teamtag%&f] {nickname}"
253 }
254 trademessage {
255 format=" &3» {message} "
256 }
257 trainerlvl {
258 format=" &6[Nv. %ts_level%]"
259 }
260 vanilla-chat {
261 format="{chat_header}{chat_body}"
262 }
263 vipmessage {
264 format=" &b» {message}"
265 }
266 world {
267 format="&7[{world}&7]&r"
268 hover-messages=[
269 "&7Sent from world &8{world}"
270 ]
271 }
272}