SHOW:
|
|
- or go back to the newest paste.
1 | # | |
2 | # Parties main configuration file | |
3 | # | |
4 | # For a better configuration: | |
5 | # - Use Notepad++ | |
6 | # - View -> Symbols -> Show White Space and TAB (Active) | |
7 | # - Don't use arrows (tabs), but spaces | |
8 | # - Set format (syntax) editor to YAML | |
9 | # | |
10 | # You can find a list of available tags here: https://alessiodp.com/wiki/parties/placeholders | |
11 | # | |
12 | ||
13 | # / = = = = = = = = = = = = = = = = \ | |
14 | # | PARTIES SETTINGS | | |
15 | # \ = = = = = = = = = = = = = = = = / | |
16 | parties: | |
17 | updates: | |
18 | # Check for updates, recommended. Parties will check for updates when the server finish to load | |
19 | check: true | |
20 | # Send a message to admins if an update is available | |
21 | warn: true | |
22 | # See invisible allies (Use ScoreboardTeams system, not recommended) | |
23 | see-invisible-allies: false | |
24 | # Message upon login and logout of partymates | |
25 | join-leave-messages: false | |
26 | # Enable bungeecord listener (Insert parties in bungeecord plugin folder too) | |
27 | bungeecord: false | |
28 | ||
29 | ||
30 | # / = = = = = = = = = = = = = = = = \ | |
31 | # | STORAGE SETTINGS | | |
32 | # \ = = = = = = = = = = = = = = = = / | |
33 | storage: | |
34 | # What type of storage Parties should use? | |
35 | # Available types: | |
36 | # none = Parties data is saved into memory (A reload reset everything, disable log if used on it) | |
37 | # File based: | |
38 | # * txt = Output to file (ONLY LOG) | |
39 | # * yaml = Save all data into a YAML file (ONLY DATABASE) | |
40 | # SQL based: | |
41 | # * mysql = Save all data into a MySQL database | |
42 | # * sqlite = Save all data into a SQLite database | |
43 | log-storage-type: none | |
44 | database-storage-type: yaml | |
45 | log-settings: | |
46 | # Log format | |
47 | # %date% = Date as yyyy-MM-dd | |
48 | # %time% = Time as HH:mm:ss | |
49 | # %position% = Debug purpose, show caller class (USE IT TO REPORT BUGS) | |
50 | # %level% = Mode of the message | |
51 | # %message% = Message | |
52 | format: "%date% [%time%] (%level%) {%position%} %message%" | |
53 | # Log chat of parties | |
54 | chat: true | |
55 | # Print messages on the console | |
56 | print-console: true | |
57 | # Levels: | |
58 | # 1: Basic log level | |
59 | # 2: Log all events that interacts with the database | |
60 | # 3: Debug level (Log a lot of events) | |
61 | log-level: 1 | |
62 | migrate-settings: | |
63 | # Used to initialize an unused database to make it migratable | |
64 | initialize-storage: | |
65 | yaml: false | |
66 | mysql: false | |
67 | sqlite: false | |
68 | # Command migrate can be used only via console | |
69 | migrate-only-console: true | |
70 | # Rename old data.yml (Empty to overwrite) | |
71 | migration-suffix: "_backup" | |
72 | storage-settings: | |
73 | file-based: | |
74 | # File based DBs: YAML | |
75 | txt: | |
76 | log-name: "log.txt" | |
77 | yaml: | |
78 | database-name: "data.yml" | |
79 | ||
80 | sql-based: | |
81 | # SQL based DBs: MySQL, SQLite | |
82 | general-settings: | |
83 | varchar-size: 255 | |
84 | tables: | |
85 | parties: "parties_parties" | |
86 | players: "parties_players" | |
87 | log: "parties_log" | |
88 | versions: "parties_versions" | |
89 | mysql: | |
90 | # <ip>:<port> | |
91 | address: "localhost:3306" | |
92 | database: "database" | |
93 | username: "username" | |
94 | password: "password" | |
95 | # Size of the connection pool | |
96 | pool-size: 10 | |
97 | # Lifetime of each connection, in milliseconds (Default: 30 minutes = 1800000ms) | |
98 | connection-lifetime: 1800000 | |
99 | # Connection timeout, drop connection if the query take too long (Default: 15 seconds = 15000ms) | |
100 | connection-timeout: 10000 | |
101 | # Property used to alert when the connection is not using a valid SSL certificate | |
102 | use-ssl: true | |
103 | # Charset used by tables | |
104 | charset: "utf8" | |
105 | sqlite: | |
106 | # SQLite is a SQL database that store data into a file | |
107 | database-name: "database.db" | |
108 | ||
109 | none: | |
110 | disband-on-leader-left: true | |
111 | # Delete empty parties after tot seconds | |
112 | delay-delete-party: 600 | |
113 | ||
114 | ||
115 | # / = = = = = = = = = = = = = = = = \ | |
116 | # | ADDITIONAL SETTINGS | | |
117 | # \ = = = = = = = = = = = = = = = = / | |
118 | additional: | |
119 | auto-command: | |
120 | # All partymates will use the same command that the leader uses (Rank permission: party.autocommand) | |
121 | # You can configure the leader with rank permissions | |
122 | enable: false | |
123 | # Important: Blacklist/whitelist your commands to prevent exploits (Pay for example) | |
124 | # Blacklist/whitelist your commands with a "start-with" check (Block /pay to prevent commands like "/pay bla bla", "/paymember bla", "/payment") | |
125 | # If you whitelist a command, you will bypass it (if it is blacklisted) | |
126 | # You can insert '*' for all commands | |
127 | blacklist: | |
128 | - "/pay" | |
129 | - "/money" | |
130 | whitelist: [] | |
131 | ||
132 | censor-system: | |
133 | # This censor system is used when a player create a party or set description/motd/etc.. | |
134 | enable: false | |
135 | case-sensitive: false | |
136 | contains: [] | |
137 | starts-with: [] | |
138 | ends-with: [] | |
139 | ||
140 | exp-system: | |
141 | # Exp system | |
142 | enable: true | |
143 | # Divide exp between players | |
144 | - | divide-between-players: true |
144 | + | divide-between-players: false |
145 | share-if-more-than: 1 | |
146 | # Special tags: | |
147 | # %number% = Number of players | |
148 | # %exp% = Exp value | |
149 | formula: "%exp% / %number%" | |
150 | # Range in blocks between players in a party to share experience, -1 is unlimited (Every online player of the party) | |
151 | - | range: 15 |
151 | + | range: 100 |
152 | exp-to-handle: | |
153 | # Handle vanilla/skillapi exp | |
154 | vanilla: true | |
155 | skillapi: false | |
156 | give-exp-as: | |
157 | # Here you can choose to convert 'vanilla', or 'skillapi', exp into something else | |
158 | # For example, if you have set skillapi exp on a mob, you can convert that experience | |
159 | # into a vanilla one, by set: 'skillapi: vanilla' | |
160 | # Another example, if you want to give normal exp as skillapi, set: 'vanilla: skillapi' | |
161 | vanilla: vanilla | |
162 | skillapi: skillapi | |
163 | addons: | |
164 | # Give exp via SkillAPI (ExpSource MOB) | |
165 | skillapi: | |
166 | # Enable SkillAPI supports | |
167 | enable: false | |
168 | exp-source: "MOB" | |
169 | ||
170 | follow-party: | |
171 | # When player join in a world, the party will be teleported into it | |
172 | # If you wanna use a server follow alternative, install Parties into Bungeecord/Waterfall too! | |
173 | enable: false | |
174 | # Type of teleport: | |
175 | # 1 = Teleport into world spawn | |
176 | # 2 = Same point of followed player | |
177 | type-of-teleport: 1 | |
178 | # Minimum rank to let partymates follow you (0 = all ranks) | |
179 | rank-needed: 0 | |
180 | # Minimum rank to follow the party (0 = all ranks) | |
181 | minimum-rank-to-follow: 0 | |
182 | # Timeout before player can re-use portal in seconds, important to fix join portals spam (20 ticks = 1 second) | |
183 | timeout-portal: 100 | |
184 | # List of worlds that would use follow-party feature ('*' = all worlds) | |
185 | list-worlds: | |
186 | - '*' | |
187 | ||
188 | notify: | |
189 | # Enable notify command | |
190 | # If an user use notify command, it will stop to receive every notification | |
191 | enable: false | |
192 | block: | |
193 | invite: true | |
194 | ||
195 | placeholders: | |
196 | # This options are used to customize Parties placeholders | |
197 | # You can customize every external placeholder | |
198 | # Use classic placeholders inside the option! | |
199 | color-name: "%color_name%" | |
200 | color-code: "%color_code%" | |
201 | color-command: "%color_command%" | |
202 | desc: "%desc%" | |
203 | kills: "%kills%" | |
204 | motd: "%motd%" | |
205 | party: "%party%" | |
206 | prefix: "%prefix%" | |
207 | rank-name: "%rank_name%" | |
208 | rank-chat: "%rank_chat%" | |
209 | suffix: "%suffix%" | |
210 | ||
211 | tag-system: | |
212 | # Set a tag name above player head, this use Minecraft ScoreboardTeams system. | |
213 | # Unfortunately, this system is not handled by Parties | |
214 | # To avoid Minecraft bugs, characters are limited to 16 (party name included!) | |
215 | # IT IS NOT RECOMMENDED TO USE | |
216 | enable: false | |
217 | # Which kind of tag system do you wanna use? | |
218 | # - scoreboard: Minecraft related system | |
219 | tag-engine: scoreboard | |
220 | # Tag types: | |
221 | # base = Show the name of the party | |
222 | # custom = The player choose prefix or suffix with the relative command | |
223 | tag-type: base | |
224 | base-tag: | |
225 | # Warning: If you select this the max length for the party name is 10 chars. Overflow this will bug the plugin. | |
226 | format-prefix: "[%party%] " | |
227 | format-suffix: "" | |
228 | custom-tag: | |
229 | # Allow prefix command: /party prefix <tag> | |
230 | prefix: true | |
231 | format-prefix: "[%prefix%] " | |
232 | # Allow suffix command: /party suffix <tag> | |
233 | suffix: false | |
234 | format-suffix: " [%suffix%]" | |
235 | allowed-characters: '[a-zA-Z0-9\ \.\,\_\-]+' | |
236 | mininum-length: 3 | |
237 | maximum-length: 6 | |
238 | ||
239 | ||
240 | # / = = = = = = = = = = = = = = = = \ | |
241 | # | ADDONS SETTINGS | | |
242 | # \ = = = = = = = = = = = = = = = = / | |
243 | addons: | |
244 | # BanManager is used to auto kick banned users and prevents to speak into party chat if an user is muted | |
245 | banmanager: | |
246 | enable: false | |
247 | prevent-chat-muted: true | |
248 | # Warning: BanManager doesn't work good with offline-mode UUIDs | |
249 | auto-kick-banned: true | |
250 | ||
251 | # You can create a mark for each party home | |
252 | dynmap: | |
253 | enable: false | |
254 | hide-by-default: false | |
255 | settings: | |
256 | # Minimum party players to show up the marker on Dynmap | |
257 | minimum-players: 3 | |
258 | markers: | |
259 | layer: "Party homes" | |
260 | # HTML Allowed. Tags: %party%, %prefix%, %suffix%, %kills% | |
261 | label: "<b>%party%</b>'s home" | |
262 | # Dynmap icons | |
263 | icon: "house" | |
264 | ||
265 | # Give GP permissions to your entire party | |
266 | griefprevention: | |
267 | # This will enable "/party claim <permission>" command | |
268 | enable: false | |
269 | # To perform the command you need to be the Owner of the claim, or Manager | |
270 | need-to-be-owner-claim: false | |
271 | sub-commands: | |
272 | trust: "trust" | |
273 | container: "container" | |
274 | access: "access" | |
275 | remove: "remove" | |
276 | ||
277 | # Customize the tablist with Parties placeholders | |
278 | tablist: | |
279 | # Use ProtocolLib (4+) [IT BROKES SKINS] | |
280 | enable: false | |
281 | # Leave empty to disable | |
282 | # You need to use a JSON text | |
283 | in-party: '{"text":"%player%","color":"aqua"}' | |
284 | out-party: '' | |
285 | # Header & Footer, leave empty to disable | |
286 | header: | |
287 | in-party: "&b> %party% <" | |
288 | out-party: "&cOut of party" | |
289 | footer: | |
290 | in-party: "&b&lParties" | |
291 | out-party: "&b&lParties" | |
292 | ||
293 | # Give a price to each command | |
294 | vault: | |
295 | # Enable Vault support (Use permission 'parties.admin.vaultbypass' to bypass commands) | |
296 | enable: false | |
297 | confirm-command: | |
298 | # This will enable "/party confirm" command | |
299 | # True: use confirm command | |
300 | # False: buy when the command is used | |
301 | enable: true | |
302 | # Timeout in ms | |
303 | timeout: 10000 | |
304 | # Set a price for these commands (use doubles, 1.1, 1.5, etc..) | |
305 | price-commands: | |
306 | claim: 0.0 | |
307 | color: 0.0 | |
308 | create: 0.0 | |
309 | desc: 0.0 | |
310 | home: 0.0 | |
311 | join: 0.0 | |
312 | motd: 0.0 | |
313 | prefix: 0.0 | |
314 | set-home: 0.0 | |
315 | suffix: 0.0 | |
316 | teleport: 0.0 | |
317 | ||
318 | ||
319 | # / = = = = = = = = = = = = = = = = \ | |
320 | # | COMMANDS SETTINGS | | |
321 | # \ = = = = = = = = = = = = = = = = / | |
322 | commands: | |
323 | # Enable tab support (/party <tab> to see every allowed command) | |
324 | tab-support: true | |
325 | help-pages: | |
326 | # Hide a command if the player doesn't have permissions to perform it | |
327 | permission-based: true | |
328 | commands-per-page: 9 | |
329 | descriptions: | |
330 | party: "Parties help page" | |
331 | p: "Send a party message" | |
332 | main-commands: | |
333 | help: "help" | |
334 | party: "party" | |
335 | p: "p" | |
336 | accept: "accept" | |
337 | chat: "chat" | |
338 | claim: "claim" | |
339 | color: "color" | |
340 | confirm: "confirm" | |
341 | create: "create" | |
342 | delete: "delete" | |
343 | deny: "deny" | |
344 | desc: "desc" | |
345 | home: "home" | |
346 | ignore: "ignore" | |
347 | info: "info" | |
348 | invite: "invite" | |
349 | join: "join" | |
350 | kick: "kick" | |
351 | leave: "leave" | |
352 | list: "list" | |
353 | migrate: "migrate" | |
354 | motd: "motd" | |
355 | notify: "notify" | |
356 | password: "password" | |
357 | prefix: "prefix" | |
358 | rank: "rank" | |
359 | reload: "reload" | |
360 | rename: "rename" | |
361 | sethome: "sethome" | |
362 | spy: "spy" | |
363 | suffix: "suffix" | |
364 | teleport: "teleport" | |
365 | sub-commands: | |
366 | on: "on" | |
367 | off: "off" | |
368 | silent: "silent" | |
369 | # Sub-command of "/party create <partyname> fixed" (if enabled) | |
370 | fixed: "fixed" | |
371 | # Sub-command used to remove something (desc, prefix, suffix, etc..) | |
372 | remove: "remove" | |
373 | ||
374 | # End of configuration file | |
375 | dont-edit-this: | |
376 | config-version: 18 |