· 6 years ago · Feb 01, 2020, 01:38 PM
1####################################################
2# ___ _ _ ___ _ #
3# | __|_ _ __| |_(_)___ _ _ | _ ) __ _ __(_)__ ___ #
4# | _/ _` / _| _| / _ \ ' \| _ \/ _` (_-< / _(_-< #
5# |_|\__,_\__|\__|_\___/_||_|___/\__,_/__/_\__/__/ #
6# #
7# ------------------------------------------------ #
8# Supplies features most faction servers require. #
9####################################################
10# * Version 2.1.8 by Sudzzy.
11# * Set any messages in this configuration to "" to display nothing.
12
13# Version of the config file. Do not change this.
14config-version: 3
15
16# Duration in seconds for scheduled database cleanups, clears all outdated data to free up RAM and disk space.
17database-clean: 300
18
19# Duration in seconds for scheduled database saves, in case of crashes. Set to -1 to disable.
20database-save: 300
21
22# The factions version to attempt to support, normally FBasics is able to automatically find which factions version you
23# are using. If you are using some obscure factions which I have not attempted to account for which is based off another
24# build of factions then feel free to change this. Supported versions: "auto", "none", "2.7", "2.6", "1.8", "1.6".
25# Factions 2.8 naturally is supported as the API FBasics requires is the same as Factions 2.7.
26factions-version: "auto"
27
28# Should this plugin update the configuration? False will warn you in console when the configuration needs updating.
29# This is recommended to be set to true.
30update-config: false
31
32##########################################
33# _ _ _ ___ _ _ _ _ #
34# /_\ _ _| |_(_)/ __| (_) |_ __| |_ #
35# / _ \| ' \ _| | (_ | | | _/ _| ' \ #
36# /_/ \_\_||_\__|_|\___|_|_|\__\__|_||_| #
37# #
38# -------------------------------------- #
39# Prevents many known factions glitches. #
40##########################################
41
42# Prevents all types of Phasing or V-Clipping through full blocks.
43antiglitch-phase: true
44
45# Prevents the faction map exploit. This exploit occurs by spoofing lots of movement packets, loading all the chunks in
46# the world at one time.
47antiglitch-faction-map: true
48
49# Prevents clipping through walls after dismounting from a "vehicle".
50antiglitch-dismount-clipping: false
51
52# Prevents all teleportation, movement and building above the nether roof.
53antiglitch-nether-roof: true
54
55# This message is displayed to the user when they attempt to go above the nether.
56antiglitch-nether-roof-message: "&cAction annulée : vous seriez apparu sur le toit du Nether."
57
58# Prevents dispensers dispensing bonemeal. This is an intended vanilla feature, but can be very over powered.
59antiglitch-bonemeal-dispensers: false
60
61# Prevents glitching with ores in mcMMO. https://www.youtube.com/watch?v=fqUXNT_YW7g
62antiglitch-mcmmo-mining: false
63
64# All materials listed here will not be moved by pistons to prevent the mcMMO mining exploit. Slime blocks may also be
65# added to this list to combat a very overpowered way of raiding a base: https://www.youtube.com/watch?v=SaGPyMDLtLY
66antiglitch-mcmmo-mining-blocks:
67 - COAL_ORE
68 - REDSTONE_ORE
69 - GLOWING_REDSTONE_ORE
70 - IRON_ORE
71 - LAPIS_ORE
72 - GOLD_ORE
73 - DIAMOND_ORE
74 - EMERALD_ORE
75 - QUARTZ_ORE
76 - GLOWSTONE
77 #- SLIME_BLOCK
78
79# Prevents players duplicating items by destroying inventory holders. https://www.youtube.com/watch?v=WMio2fyxKnY
80antiglitch-inventory-dupe: true
81
82# Prevents duplication glitch with crops. https://www.youtube.com/watch?v=-I6CY9PXJW0
83antiglitch-crop-dupe: true
84
85# This message is displayed if the user attempts to place a denied block near crops.
86antiglitch-crop-dupe-message: "&cPlacer ce bloc près de récoltes est désactivé."
87
88# All materials listed here are materials considered to be crops.
89antiglitch-crop-dupe-crop-blocks:
90 - BROWN_MUSHROOM
91 - CACTUS
92 - RED_MUSHROOM
93 - SUGAR_CANE_BLOCK
94 - WATER_LILY
95
96# All materials listed here will not be allowed to be placed near crop blocks.
97antiglitch-crop-dupe-deny-blocks:
98 - CHEST
99 - DIODE
100 - IRON_DOOR
101 - REDSTONE_COMPARATOR
102 - TRAPPED_CHEST
103 - WOOD_DOOR
104
105# Prevents users with modified clients from creating massive books. Can cause issues with server I/O and general lag if
106# left unchecked.
107antiglitch-book-limit: 50
108
109# This message is displayed if a user attempts to create a book which exceeds the limit.
110antiglitch-book-limit-message: "&cLes livres sont limités à {limit} pages."
111
112# Prevents players being able to throw an enderpearl if they are halfway inside a solid block.
113antiglitch-enderpearls-disable-within-block: true
114
115# This message is displayed if the user attempts to enderpearl whilst within a block.
116antiglitch-enderpearls-disable-within-block-message: "&cLes enderpearls sont désactivées dans les blocs."
117
118# Prevents players being able to exploit Minecrafts' default faulty enderpearl teleportation calculation.
119antiglitch-enderpearls-correct-teleport: true
120
121# Adds a cooldown for throwing enderpearls once thrown an enderpearl.
122antiglitch-enderpearls-cooldown: 0
123
124# This message is displayed if the user attempts to enderpearl while on a cooldown.
125antiglitch-enderpearls-cooldown-message: "&eAttendez &d{time} &eavant de relancer une Enderpearl."
126
127# This message is displayed if the user attempts to enderpearl while another enderpearl is already being thrown.
128antiglitch-enderpearls-multiple-message: "&eAttendez que votre première Enderpearl touche le sol."
129
130# Adds a cooldown for throwing enderpearls once opening a door.
131antiglitch-enderpearls-door-cooldown: 2
132
133# All the factions and faction relations players can enderpearl into.
134# Supports: Leader, Officer, Member, Recruit, Ally, Truce, Neutral and Enemy.
135antiglitch-enderpearls-factions: []
136 #- "Rel:Leader"
137 #- "Rel:Officer"
138 #- "Rel:Member"
139 #- "Rel:Recruit"
140 #- "Wilderness"
141 #- "SafeZone"
142 #- "WarZone"
143 # . . . You get the idea.
144
145# Change how the list of factions will work.
146# WHITELIST will allow the command when executed within the specified regions and deny everywhere else.
147# BLACKLIST will deny the command when exectued within the specified regions and allow everywhere else.
148#
149# Not settings this variable will default to BLACKLIST.
150#
151# Supports: WHITELIST and BLACKLIST.
152antiglitch-enderpearls-factions-mode: BLACKLIST
153
154# This message is displayed if the user attempts to enderpearl into protected territory.
155antiglitch-enderpearls-factions-message: "&cVotre Enderpearl a été annulée car lancée dans un territoire protégé."
156
157###############################################
158# _ _ _ _ _ #
159# /_\ _ _| |_(_) | ___ ___| |_ ___ _ _ #
160# / _ \| ' \ _| | |__/ _ \/ _ \ _/ -_) '_| #
161# /_/ \_\_||_\__|_|____\___/\___/\__\___|_| #
162# #
163# ------------------------------------------- #
164# Prevents players from stealing others' loot #
165# during PvP. #
166###############################################
167
168# Should the "Anti Looter" module be enabled?
169antilooter-enabled: false
170
171# Duration in seconds to protect the loot for.
172antilooter-duration: 15
173
174# This message is displayed to the attacker once they have killed someone.
175antilooter-dropped-message: "&eDropped items have been protected for &d{time}&e."
176
177# This message is displayed to the user attempting to pick up protected loot.
178antilooter-protected-message: "&eWait &d{time} &ebefore you can pick up this loot."
179
180############################################
181# ___ _ #
182# / __|___ _ __ _ __ __ _ _ _ __| |___ #
183# | (__/ _ \ ' \| ' \/ _` | ' \/ _` (_-< #
184# \___\___/_|_|_|_|_|_\__,_|_||_\__,_/__/ #
185# #
186# ---------------------------------------- #
187# Advanced command editing. #
188############################################
189
190# Should the "Commands" module be enabled?
191commands-enabled: false
192
193# This message is displayed when the player has successfully paid for a command.
194commands-paid-message: "&ePaid for the command with &d${amount}&e."
195
196# This message is displayed when the player can not afford a command.
197commands-cannot-afford-message: "&cYou cannot afford this command as it costs &b${amount}&e."
198
199# This message is displayed when the player is on a command cooldown.
200commands-cooldown-message: "&eWait &d{time} &ebefore executing &2{command}&e."
201
202# This message is displayed when the player has started a command warmup.
203commands-warmup-start-message: "&eExecuting &2{command} &ein &d{time} &e. . ."
204
205# This message is displayed when the player repeats a warming up command.
206commands-warmup-duplicate-message: "&cAlready waiting for this command to warmup."
207
208# This message is displayed when the player moves or is hit under a warmup.
209commands-warmup-failed-message: "&cCommand warmup has been cancelled."
210
211# This message is displayed when the player executes a command in a disallowed territory.
212commands-faction-message: "&cCannot execute &b{command} &cwithin this factions' territory."
213
214# All modified command should be listed here. Please take some time to learn RegEx before using.
215commands-modifiers:
216
217# # This is the command modifier name, it can be changed to whatever you want. Feel free to add as many command
218# # modifiers as you please. Just be sure that the command modifier names are all different from one another.
219# tutorial:
220# # RegEx is used in order to check if this is the correct command modifier to use.
221# regex: "/(|essentials:)(|e)home(| .*)"
222#
223# # Priority of the command modifiers listed under this key.
224# # Supports: LOWEST, LOW, NORMAL, HIGH, HIGHEST and MONITOR.
225# priority: NORMAL
226#
227# # Alias can be used to change the command into something completely different. This can support for changing where
228# # the arguments will show up in the newly executed command.
229# #
230# # Example:
231# # A player executes the command "/ehome base".
232# # %0 = "ehome"
233# # %1 = "base"
234# # %0+ = "ehome base"
235# # %1+ = "base"
236# #
237# # This here would change the command "/ehome base" to "/home base".
238# alias: "/home %1+"
239#
240# # Duration in seconds to prevent the user from typing this command again.
241# cooldown: 5
242#
243# # Duration in seconds to wait before the command warmups up.
244# warmup: 2
245#
246# # Cancels the warmup if the player takes damage.
247# warmup-cancel-on-damage: true
248#
249# # Cancels the warmup if the player moves.
250# warmup-cancel-on-move: true
251#
252# # Price of the command.
253# price: 10.0
254#
255# # Perm required to execute the command.
256# permission: "an.awesome.permission"
257#
258# # This message is displayed if the player does not have permission.
259# permission-message: "&cYou do not have permission! Tell the server administrator to configure FBasics."
260#
261# # This message is displayed once the command has been successfully sent.
262# message: "&6Teleporting . . ."
263#
264# # Faction names and relations to determine whether or not the player is allowed to execute the command in this
265# # specific region.
266# #
267# # Supports: Leader, Officer, Member, Recruit, Ally, Truce, Neutral and Enemy.
268# factions:
269# - "Rel:Truce"
270# - "Rel:Ally"
271# - "Rel:Recruit"
272# - "Rel:Member"
273# - "Rel:Officer"
274# - "Rel:Leader"
275# - "SafeZone"
276# - "WarZone"
277# - "Wilderness"
278#
279# # Change how the list of factions will work.
280# # WHITELIST will allow the command when executed within the specified regions and deny everywhere else.
281# # BLACKLIST will deny the command when exectued within the specified regions and allow everywhere else.
282# #
283# # Not settings this variable will default to BLACKLIST.
284# #
285# # Supports: WHITELIST and BLACKLIST.
286# factions-mode: WHITELIST
287#
288# # Groups enables permission based command editing. Every group inherits all modifiers from the section above and
289# # all groups which have a lower weight. Any variables in the first section can be overridden by these groups,
290# # barring "regex", "priority" and "groups". FBasics will attempt to hook into your permissions plugin and check
291# # the rank name the user is in. If a player is in the rank "member", the member group will be used.
292# groups:
293# member:
294# weight: 10
295# price: 5.0
296# cooldown: 0
297#
298# # Due to group "member" having a lower weight, group "donor" inherits the cooldown of 0 seconds.
299# donor:
300# weight: 20
301# price: 2.50
302
303 safepromote:
304 regex: "/(?!s($| ))(|fbasics:)(|f(b|(|action)basics) )s(|p|afepromote)(| .*)"
305 alias: "/fbasics safepromote %2+"
306
307 wilderness:
308 regex: "/(?!w($| ))(|fbasics:)(|f(b|(|action)basics) )w(|ild(|erness))(| .*)"
309 alias: "/fbasics wilderness"
310 cooldown: 300
311 warmup: 2
312 warmup-cancel-on-damage: true
313 warmup-cancel-on-move: true
314
315 remove-colons:
316 regex: "/\\w+:.*"
317 permission: "fbasics.commands.remove-colons"
318 permission-message: "&cPlease refrain from using colon commands."
319
320#####################################################
321# ___ __ ___ _ #
322# / __| __ _ / _|___| _ \_ _ ___ _ __ ___| |_ ___ #
323# \__ \/ _` | _/ -_) _/ '_/ _ \ ' \/ _ \ _/ -_) #
324# |___/\__,_|_| \___|_| |_| \___/_|_|_\___/\__\___| #
325# #
326# ------------------------------------------------- #
327# A secure method of promoting players after #
328# switching web-stores. #
329#####################################################
330# * Safe Promote requires Vault to be enabled.
331# * Safe Promote works by checking if the player has the "previous group" before attempting to promote.
332# * To use, execute: "/fbasics safepromote <name> <old_group> <new_group>"
333
334# Should the "Safe Promote" module be enabled?
335safepromote-enabled: false
336
337# Should the plugin attempt to auto-complete the username?
338safepromote-autocomplete: false
339
340# Commands to be sent when the player fails the group check.
341safepromote-failed-commands:
342 - "mail send {name} You were not a member of {old_group} so {new_group} was not added"
343 - "mail send YOUR_NAME_HERE {name} failed {old_group} to {new_group} rank check!"
344
345# Commands to be sent when the player passes the group check.
346safepromote-success-commands:
347 - "permissions player {name} addgroup {new_group}"
348 - "permissions player {name} removegroup {old_group}"
349 - "mail send {name} Thank you for supporting the server, enjoy your rank upgrade!"
350
351################################################
352# __ ___ _ _ #
353# \ \ / (_) |__| |___ _ _ _ _ ___ ______ #
354# \ \/\/ /| | / _` / -_) '_| ' \/ -_|_-<_-< #
355# \_/\_/ |_|_\__,_\___|_| |_||_\___/__/__/ #
356# #
357# -------------------------------------------- #
358# Teleport to a random position in the world. #
359################################################
360# * Wilderness is designed to teleport players into a random location in the world, away from faction territory.
361# * To use, execute: "/fbasics wilderness"
362
363# Should the "Wilderness" module be enabled?
364wilderness-enabled: false
365
366# Amount of attempts to find a safe location before giving up.
367wilderness-attempts: 100
368
369# Distance in chunks required to be away from any factions territory. Set to -1 to disable.
370wilderness-factions-radius: 10
371
372# When enabled, all factions searching will be offloaded to a different thread.
373wilderness-factions-asynchronous-search: true
374
375# Sets the default world to be teleported to if not in a valid world. Set to "none" to not change worlds.
376wilderness-default-world: world
377
378# This message is displayed when the user first sends the command.
379wilderness-search-message: "&eSearching for a random location in &2Wilderness &e. . ."
380
381# This message is displayed when the user has successfully teleported.
382wilderness-success-message: "&eSuccessfully teleported to &d{x} {y} {z} &ein world &2{world}&e."
383
384# This message is displayed when the plugin fails to find a safe location.
385wilderness-attempts-message: "&cFailed to find a safe location after &d{attempts} &cattempts. Try again!"
386
387# This message is displayed when the user is not in an enabled world and default is set to "none".
388wilderness-world-message: "&cThis world does not support wilderness, please go to another then try again!"
389
390# Materials wilderness is not allowed to teleport the player to.
391# A full list of materials can be found here: http://goo.gl/JIs4zo
392wilderness-denied-blocks:
393 - STATIONARY_LAVA
394 - STATIONARY_WATER
395 - WATER
396 - LAVA
397 - CACTUS
398
399# Worlds that you wish to have wilderness enabled must be listed here.
400wilderness-worlds:
401 world:
402 # The maps center X co-ordinate.
403 center-x: 0
404
405 # The maps center Z co-ordinate.
406 center-z: 0
407
408 # Maximum distance in blocks away from the center co-ordinates to teleport.
409 range: 7000
410
411 example_world:
412 center-x: 0
413 center-z: 0
414 range: 1000