· 6 years ago · Oct 23, 2019, 10:06 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: true
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: true
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 cancelled due to the destination being above the nether roof."
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: true
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 - ENDER_STONE
77 - GLOWSTONE
78 - NETHERRACK
79 - PACKED_ICE
80 #- SLIME_BLOCK
81
82# Prevents players duplicating items by destroying inventory holders. https://www.youtube.com/watch?v=WMio2fyxKnY
83antiglitch-inventory-dupe: true
84
85# Prevents duplication glitch with crops. https://www.youtube.com/watch?v=-I6CY9PXJW0
86antiglitch-crop-dupe: true
87
88# This message is displayed if the user attempts to place a denied block near crops.
89antiglitch-crop-dupe-message: "&cPlacing this block near crops has been disabled."
90
91# All materials listed here are materials considered to be crops.
92antiglitch-crop-dupe-crop-blocks:
93 - BROWN_MUSHROOM
94 - CACTUS
95 - RED_MUSHROOM
96 - SUGAR_CANE_BLOCK
97 - WATER_LILY
98
99# All materials listed here will not be allowed to be placed near crop blocks.
100antiglitch-crop-dupe-deny-blocks:
101 - CHEST
102 - DIODE
103 - IRON_DOOR
104 - REDSTONE_COMPARATOR
105 - TRAPPED_CHEST
106 - WOOD_DOOR
107
108# Prevents users with modified clients from creating massive books. Can cause issues with server I/O and general lag if
109# left unchecked.
110antiglitch-book-limit: 500
111
112# This message is displayed if a user attempts to create a book which exceeds the limit.
113antiglitch-book-limit-message: "&cBooks are limited to {limit} pages."
114
115# Prevents players being able to throw an enderpearl if they are halfway inside a solid block.
116antiglitch-enderpearls-disable-within-block: true
117
118# This message is displayed if the user attempts to enderpearl whilst within a block.
119antiglitch-enderpearls-disable-within-block-message: "&cEnderpearls are disabled whilst within a block."
120
121# Prevents players being able to exploit Minecrafts' default faulty enderpearl teleportation calculation.
122antiglitch-enderpearls-correct-teleport: true
123
124# Adds a cooldown for throwing enderpearls once thrown an enderpearl.
125antiglitch-enderpearls-cooldown: 8
126
127# This message is displayed if the user attempts to enderpearl while on a cooldown.
128antiglitch-enderpearls-cooldown-message: "&eWait &d{time} &ebefore throwing your next enderpearl."
129
130# This message is displayed if the user attempts to enderpearl while another enderpearl is already being thrown.
131antiglitch-enderpearls-multiple-message: "&eWait for your first enderpearl to land."
132
133# Adds a cooldown for throwing enderpearls once opening a door.
134antiglitch-enderpearls-door-cooldown: 2
135
136# All the factions and faction relations players can enderpearl into.
137# Supports: Leader, Officer, Member, Recruit, Ally, Truce, Neutral and Enemy.
138antiglitch-enderpearls-factions: []
139 #- "Rel:Leader"
140 #- "Rel:Officer"
141 #- "Rel:Member"
142 #- "Rel:Recruit"
143 #- "Wilderness"
144 #- "SafeZone"
145 #- "WarZone"
146 # . . . You get the idea.
147
148# Change how the list of factions will work.
149# WHITELIST will allow the command when executed within the specified regions and deny everywhere else.
150# BLACKLIST will deny the command when exectued within the specified regions and allow everywhere else.
151#
152# Not settings this variable will default to BLACKLIST.
153#
154# Supports: WHITELIST and BLACKLIST.
155antiglitch-enderpearls-factions-mode: BLACKLIST
156
157# This message is displayed if the user attempts to enderpearl into protected territory.
158antiglitch-enderpearls-factions-message: "&cEnderpearl was cancelled due to being within protected territory."
159
160###############################################
161# _ _ _ _ _ #
162# /_\ _ _| |_(_) | ___ ___| |_ ___ _ _ #
163# / _ \| ' \ _| | |__/ _ \/ _ \ _/ -_) '_| #
164# /_/ \_\_||_\__|_|____\___/\___/\__\___|_| #
165# #
166# ------------------------------------------- #
167# Prevents players from stealing others' loot #
168# during PvP. #
169###############################################
170
171# Should the "Anti Looter" module be enabled?
172antilooter-enabled: true
173
174# Duration in seconds to protect the loot for.
175antilooter-duration: 10
176
177# This message is displayed to the attacker once they have killed someone.
178antilooter-dropped-message: "&eDropped items have been protected for &d{time}&e."
179
180# This message is displayed to the user attempting to pick up protected loot.
181antilooter-protected-message: "&eWait &d{time} &ebefore you can pick up this loot."
182
183############################################
184# ___ _ #
185# / __|___ _ __ _ __ __ _ _ _ __| |___ #
186# | (__/ _ \ ' \| ' \/ _` | ' \/ _` (_-< #
187# \___\___/_|_|_|_|_|_\__,_|_||_\__,_/__/ #
188# #
189# ---------------------------------------- #
190# Advanced command editing. #
191############################################
192
193# Should the "Commands" module be enabled?
194commands-enabled: true
195
196# This message is displayed when the player has successfully paid for a command.
197commands-paid-message: "&ePaid for the command with &d${amount}&e."
198
199# This message is displayed when the player can not afford a command.
200commands-cannot-afford-message: "&cYou cannot afford this command as it costs &b${amount}&e."
201
202# This message is displayed when the player is on a command cooldown.
203commands-cooldown-message: "&eWait &d{time} &ebefore executing &2{command}&e."
204
205# This message is displayed when the player has started a command warmup.
206commands-warmup-start-message: "&eExecuting &2{command} &ein &d{time} &e. . ."
207
208# This message is displayed when the player repeats a warming up command.
209commands-warmup-duplicate-message: "&cAlready waiting for this command to warmup."
210
211# This message is displayed when the player moves or is hit under a warmup.
212commands-warmup-failed-message: "&cCommand warmup has been cancelled."
213
214# This message is displayed when the player executes a command in a disallowed territory.
215commands-faction-message: "&cCannot execute &b{command} &cwithin this factions' territory."
216
217# All modified command should be listed here. Please take some time to learn RegEx before using.
218commands-modifiers:
219
220# # This is the command modifier name, it can be changed to whatever you want. Feel free to add as many command
221# # modifiers as you please. Just be sure that the command modifier names are all different from one another.
222# tutorial:
223# # RegEx is used in order to check if this is the correct command modifier to use.
224# regex: "/(|essentials:)(|e)home(| .*)"
225#
226# # Priority of the command modifiers listed under this key.
227# # Supports: LOWEST, LOW, NORMAL, HIGH, HIGHEST and MONITOR.
228# priority: NORMAL
229#
230# # Alias can be used to change the command into something completely different. This can support for changing where
231# # the arguments will show up in the newly executed command.
232# #
233# # Example:
234# # A player executes the command "/ehome base".
235# # %0 = "ehome"
236# # %1 = "base"
237# # %0+ = "ehome base"
238# # %1+ = "base"
239# #
240# # This here would change the command "/ehome base" to "/home base".
241# alias: "/home %1+"
242#
243# # Duration in seconds to prevent the user from typing this command again.
244# cooldown: 5
245#
246# # Duration in seconds to wait before the command warmups up.
247# warmup: 2
248#
249# # Cancels the warmup if the player takes damage.
250# warmup-cancel-on-damage: true
251#
252# # Cancels the warmup if the player moves.
253# warmup-cancel-on-move: true
254#
255# # Price of the command.
256# price: 10.0
257#
258# # Perm required to execute the command.
259# permission: "an.awesome.permission"
260#
261# # This message is displayed if the player does not have permission.
262# permission-message: "&cYou do not have permission! Tell the server administrator to configure FBasics."
263#
264# # This message is displayed once the command has been successfully sent.
265# message: "&6Teleporting . . ."
266#
267# # Faction names and relations to determine whether or not the player is allowed to execute the command in this
268# # specific region.
269# #
270# # Supports: Leader, Officer, Member, Recruit, Ally, Truce, Neutral and Enemy.
271# factions:
272# - "Rel:Truce"
273# - "Rel:Ally"
274# - "Rel:Recruit"
275# - "Rel:Member"
276# - "Rel:Officer"
277# - "Rel:Leader"
278# - "SafeZone"
279# - "WarZone"
280# - "Wilderness"
281#
282# # Change how the list of factions will work.
283# # WHITELIST will allow the command when executed within the specified regions and deny everywhere else.
284# # BLACKLIST will deny the command when exectued within the specified regions and allow everywhere else.
285# #
286# # Not settings this variable will default to BLACKLIST.
287# #
288# # Supports: WHITELIST and BLACKLIST.
289# factions-mode: WHITELIST
290#
291# # Groups enables permission based command editing. Every group inherits all modifiers from the section above and
292# # all groups which have a lower weight. Any variables in the first section can be overridden by these groups,
293# # barring "regex", "priority" and "groups". FBasics will attempt to hook into your permissions plugin and check
294# # the rank name the user is in. If a player is in the rank "member", the member group will be used.
295# groups:
296# member:
297# weight: 10
298# price: 5.0
299# cooldown: 0
300#
301# # Due to group "member" having a lower weight, group "donor" inherits the cooldown of 0 seconds.
302# donor:
303# weight: 20
304# price: 2.50
305
306 safepromote:
307 regex: "/(?!s($| ))(|fbasics:)(|f(b|(|action)basics) )s(|p|afepromote)(| .*)"
308 alias: "/fbasics safepromote %2+"
309
310 wilderness:
311 regex: "/(?!w($| ))(|fbasics:)(|f(b|(|action)basics) )w(|ild(|erness))(| .*)"
312 alias: "/fbasics wilderness"
313 cooldown: 300
314 warmup: 2
315 warmup-cancel-on-damage: true
316 warmup-cancel-on-move: true
317
318 remove-colons:
319 regex: "/\\w+:.*"
320 permission: "fbasics.commands.remove-colons"
321 permission-message: "&cPlease refrain from using colon commands."
322
323#####################################################
324# ___ __ ___ _ #
325# / __| __ _ / _|___| _ \_ _ ___ _ __ ___| |_ ___ #
326# \__ \/ _` | _/ -_) _/ '_/ _ \ ' \/ _ \ _/ -_) #
327# |___/\__,_|_| \___|_| |_| \___/_|_|_\___/\__\___| #
328# #
329# ------------------------------------------------- #
330# A secure method of promoting players after #
331# switching web-stores. #
332#####################################################
333# * Safe Promote requires Vault to be enabled.
334# * Safe Promote works by checking if the player has the "previous group" before attempting to promote.
335# * To use, execute: "/fbasics safepromote <name> <old_group> <new_group>"
336
337# Should the "Safe Promote" module be enabled?
338safepromote-enabled: true
339
340# Should the plugin attempt to auto-complete the username?
341safepromote-autocomplete: false
342
343# Commands to be sent when the player fails the group check.
344safepromote-failed-commands:
345 - "mail send {name} You were not a member of {old_group} so {new_group} was not added"
346 - "mail send YOUR_NAME_HERE {name} failed {old_group} to {new_group} rank check!"
347
348# Commands to be sent when the player passes the group check.
349safepromote-success-commands:
350 - "permissions player {name} addgroup {new_group}"
351 - "permissions player {name} removegroup {old_group}"
352 - "mail send {name} Thank you for supporting the server, enjoy your rank upgrade!"
353
354################################################
355# __ ___ _ _ #
356# \ \ / (_) |__| |___ _ _ _ _ ___ ______ #
357# \ \/\/ /| | / _` / -_) '_| ' \/ -_|_-<_-< #
358# \_/\_/ |_|_\__,_\___|_| |_||_\___/__/__/ #
359# #
360# -------------------------------------------- #
361# Teleport to a random position in the world. #
362################################################
363# * Wilderness is designed to teleport players into a random location in the world, away from faction territory.
364# * To use, execute: "/fbasics wilderness"
365
366# Should the "Wilderness" module be enabled?
367wilderness-enabled: true
368
369# Amount of attempts to find a safe location before giving up.
370wilderness-attempts: 100
371
372# Distance in chunks required to be away from any factions territory. Set to -1 to disable.
373wilderness-factions-radius: 10
374
375# When enabled, all factions searching will be offloaded to a different thread.
376wilderness-factions-asynchronous-search: true
377
378# Sets the default world to be teleported to if not in a valid world. Set to "none" to not change worlds.
379wilderness-default-world: world
380
381# This message is displayed when the user first sends the command.
382wilderness-search-message: "&eSearching for a random location in &2Wilderness &e. . ."
383
384# This message is displayed when the user has successfully teleported.
385wilderness-success-message: "&eSuccessfully teleported to &d{x} {y} {z} &ein world &2{world}&e."
386
387# This message is displayed when the plugin fails to find a safe location.
388wilderness-attempts-message: "&cFailed to find a safe location after &d{attempts} &cattempts. Try again!"
389
390# This message is displayed when the user is not in an enabled world and default is set to "none".
391wilderness-world-message: "&cThis world does not support wilderness, please go to another then try again!"
392
393# Materials wilderness is not allowed to teleport the player to.
394# A full list of materials can be found here: http://goo.gl/JIs4zo
395wilderness-denied-blocks:
396 - STATIONARY_LAVA
397 - STATIONARY_WATER
398 - WATER
399 - LAVA
400 - CACTUS
401
402# Worlds that you wish to have wilderness enabled must be listed here.
403wilderness-worlds:
404 world:
405 # The maps center X co-ordinate.
406 center-x: 0
407
408 # The maps center Z co-ordinate.
409 center-z: 0
410
411 # Maximum distance in blocks away from the center co-ordinates to teleport.
412 range: 7000
413
414 example_world:
415 center-x: 0
416 center-z: 0
417 range: 1000