diff --git a/README.md b/README.md
index d28fe3dee..50820c233 100755
--- a/README.md
+++ b/README.md
@@ -138,7 +138,6 @@ This config was created on a 1.20.1 Folia server, default entries will vary base
config.yml
```yml
-
config-version: 1.0
##############
@@ -154,23 +153,46 @@ language:
# General #
#############
general:
+ # How long a checked tps is cached to save resources in ticks (1 sec = 20 ticks)
+ max-tps-check-interval-in-ticks: 20
# Use only if you are having problems with ProtocolLib when starting the plugin.
disable-all-ProtocolLib: false
# The Y-level at which the nether ceiling generates the last layer of bedrock on your server.
nether-ceiling-y: 127
+ # A server restart is required when changing a command's enable status!
+ commands:
+ say:
+ enable: false
+ # Uses MiniMessage formatting.
+ format: 'SERVER: %message%'
+ help:
+ # Help command that shows a small command overview for players.
+ enable: false
+ toggleconnectionmsgs:
+ # If you don't use join leave/messages, you can set this to false.
+ enable: true
#############
# Patches #
#############
patches:
- prevent-book-ban:
+ anti-book-ban:
enable: true
- max-byte-size-per-page: 255
- # Will have the side effect of players being unable to dye signs in later versions.
+ # If set to false, will use UTF-8.
+ # Charset to use to encode the result of ItemMeta#toString into a sequence of bytes.
+ # The length of that sequence is then used to get the approximate Byte-size of an ItemStack.
+ use-UTF-16: false
+ max-book-size: 9000
+ # Kicks players when they try to create a book bigger than the limit.
+ kick-on-too-large-book-edit: true
+ max-item-size: 8260
+ max-inventory-size: 50674
+ # How long in ticks a dropped item's size should be cached after checking.
+ dropped-items-size-cache-ticks: 120
+ # How long in ticks a player's inventory size should be cached after checking.
+ player-inventory-size-cache-ticks: 20
+ # Will have the side effect of players being unable to dye signs.
prevent-command-sign: false
- prevent-destroying-end-portals:
- enable: true
- log: true
# Removes entities or players if they are "invalid". Not sure if this works.
experimental-godmode-patch: false
prevent-teleport-coordinate-exploit:
@@ -183,8 +205,8 @@ patches:
remove-beehive-coordinates:
log: false
beehive-types-to-check:
- - BEEHIVE
- - BEE_NEST
+ - BEEHIVE
+ - BEE_NEST
# Patches a coordinate exploit by looking at Beehive NBT data using hacked clients.
enable: true
boatfly-patch:
@@ -192,33 +214,23 @@ patches:
max-entity-packets-per-10s: 15
kick-player-if-boatflying: false
# Patches Futureclient / Rusherhack boat fly exploit.
+ enable: false
+ window-click-crash-patch:
+ # Patches Container click / Window click crash exploit.
enable: true
#################
# Preventions #
#################
preventions:
- nether-portals:
- # only enable if you must. Does not affect players.
- prevent-all-entities-in-portals: false
- # Prevents some dupe exploits like the dolphin dupe or the allay dupe.
- prevent-dropped-items-in-portals: true
- # Prevents a lag exploit.
- prevent-fireworks-in-portals: true
- prevent-portal-traps:
- # Teleports a player back to the original location if they stand in a portal for too long.
- enable: false
- wait-time-until-tp-back-in-seconds: 10
- # Prevents a lag exploit. Might disable some chunk loader designs.
- prevent-projectiles-in-portals: false
anti-bed-trap:
# Resets Bed Respawn when a player dies too many times within a certain timeframe.
enable: false
log: false
# Amount of times player can die until he is determined as bed-trapped.
- max-deaths-per-time: 8
+ max-deaths-per-time: 7
# Time until death counter will be reset again
- time-in-seconds: 6
+ time-in-seconds: 5
prevent-nether-roof:
# Prevent players from going above the nether roof.
enable: true
@@ -228,15 +240,58 @@ preventions:
enable: false
log: true
whitelisted-players:
- - Notch
+ - Notch
prevent-opped-players:
- # Useful if you suspect a backdoored plugin.
+ # Useful if you suspect a backdoor has happened.
enable: false
log: true
whitelisted-players:
- - Notch
+ - Notch
+ permanent-block-breaking:
+ by-exploding-pistons:
+ enable: true
+ whitelisted-worlds:
+ - example_world_name
+ # If enabled, will only protect portals and end gateways
+ only-for-portals-and-gateways: false
+ by-placing-piston-on-retract:
+ enable: true
+ whitelisted-worlds:
+ - example_world_name
+ portals:
+ prevent-destroying-end-portals:
+ enable: true
+ log: true
+ end:
+ bedrock-protection-radius-blocks: 8
+ # Add block locations that should be protected as well.
+ # Format: :::
+ # If you don't want to use this, just configure an empty list using: pillar-blocks: []
+ pillar-blocks:
+ - world_the_end:143:140:-50
+ - world_the_end:112:90:-90
+ # CAUTION: Will kill the entity on folia due to broken portal event. There is sadly no other efficient way.
+ # Only enable if you must. Does not affect players.
+ prevent-all-entities-in-portals: true
+ prevent-portal-traps:
+ # Teleports a player back to the original location if they stand in a portal for too long.
+ enable: false
+ wait-time-until-tp-back-in-seconds: 10
+ # Prevents a lag exploit. Might disable some chunk loader designs.
+ prevent-projectiles-in-portals: false
+ prevent-specific-types:
+ enable: true
+ # CAUTION: Will kill the entity on folia due to broken portal event. There is sadly no other efficient way.
+ # Defaults prevent common lag methods.
+ entities:
+ - DROPPED_ITEM
+ - FIREWORK
+ - PRIMED_TNT
+ - THROWN_EXP_BOTTLE
+ - EXPERIENCE_ORB
+ - ARMOR_STAND
withers:
- # Prevents wither skulls from being launched.
+ # Prevents wither skulls from being shot.
disable-withers-from-shooting-skulls: false
rate-limit-wither-skulls:
# This can help combat lag caused by a ton of witherskulls spawning but weakens withers.
@@ -281,8 +336,8 @@ lag-preventions:
enable: false
show-actionbar: true
kick-player: false
- max-lever-usages-per-time: 10
- lever-time-in-ticks: 180
+ max-lever-usages-per-time: 15
+ lever-time-in-ticks: 40
prevent-snowball-exploit:
# Patches a lag exploit.
enable: false
@@ -293,10 +348,11 @@ lag-preventions:
prevent-falling-block-stasis-exploit:
# Patches a lag exploit using falling blocks and glitched piston heads: https://www.youtube.com/watch?v=y2CjPlvtj58
enable: true
+ log: false
# (20 ticks = 1 second)
falling-blocks-max-alive-time-in-ticks: 300
# How frequently we should check for all projectile's alive time
- check-period-in-seconds: 120
+ check-period-in-seconds: 12
prevent-liquid-update-lag:
enable: false
# amount of liquid source blocks * sides it can spread to * block spread length
@@ -306,15 +362,52 @@ lag-preventions:
time-in-ticks: 100
# very spammy, use for testing only
log: false
+ pathfinding-limits:
+ enable: false
+ log: false
+ global-limit:
+ enable: false
+ # The max distance no mob pathfinding should exceed.
+ # You want this to be higher than your highest max distance for a specific mob.
+ max-target-distance: 20.0
+ custom-limits:
+ enable: true
+ entities:
+ WITHER: 8.0
+ ZOMBIE_VILLAGER: 10.0
+ ZOMBIE: 6.0
+ ZOMBIFIED_PIGLIN: 8.0
+ SKELETON: 6.0
+ WITHER_SKELETON: 8.0
+ prevent-flooding-machines:
+ enable: false
+ delete-waterlogged-blocks: true
+ target-distance-limits:
+ enable: false
+ log: false
+ global-limit:
+ enable: false
+ # The max distance no target should exceed.
+ # You want this to be higher than your highest max distance for a specific mob.
+ max-target-distance: 20.0
+ custom-limits:
+ enable: true
+ entities:
+ WITHER: 8.0
+ ZOMBIE_VILLAGER: 10.0
+ ZOMBIE: 6.0
+ ZOMBIFIED_PIGLIN: 8.0
+ SKELETON: 6.0
+ WITHER_SKELETON: 8.0
disable-physics-during-low-tps:
explosions:
# Disable explosions during low tps to combat lag.
- enable: false
+ enable: true
disable-TPS: 14.0
log: false
block-physics:
# Stop block physics (like falling blocks) when the TPS gets below a certain value.
- enable: false
+ enable: true
disable-TPS: 16.0
log: false
liquid-spread:
@@ -327,7 +420,7 @@ lag-preventions:
log: false
redstone:
# Disable redstone during low TPS to prevent some lag machines.
- enable: false
+ enable: true
disable-TPS: 16.0
log: false
noteblocks:
@@ -352,7 +445,8 @@ lag-preventions:
# Dupe Preventions #
######################
dupe-preventions:
- # Attempts to prevent dupes involving chested entities and portals.
+ # CAUTION: Will remove chests and their contents from a chested entity if it touches a portal on Folia!
+ # Prevents entities that can carry chests from using portals.
prevent-chested-living-entities-in-portals: true
# Prevents a dupe exploit involving donkeys.
prevent-chests-on-living-entities: false
@@ -372,7 +466,8 @@ combat:
# 1.0 = Half a heart of damage every time you move.
damage-when-moving: 1.0
teleport-above-block: true
- # Prevent burrow even if there is a block above the block they are burrowing in, please note this may allow creating an "elevator", players will keep teleporting up until they hit air
+ # Prevent burrow even if there is a block above the block they are burrowing in.
+ # Please note this may allow creating an "elevator", players will keep teleporting up until they hit air
prevent-if-block-above-burrow: false
break-anvil-instead-of-teleport: true
# Needs to be enabled to prevent a bug where players are teleported above a slab when the slab is underwater, only happens in newer versions.
@@ -384,9 +479,11 @@ combat:
crystal-aura:
regular-delay:
enable: false
- delay-in-ticks: 4
- # Use this if youre on 1.12, otherwise the delay will not work.
- prevent-placing-crystals: false
+ # Can help with desync in some cases but recommended to leave off unless needed.
+ update-inventory-on-cancel: false
+ # Set to -1 to disable.
+ break-delay-in-ticks: 4
+ place-delay-in-ticks: -1
piston-aura-delay:
# Rate-limits pistons that extend into crystals
enable: false
@@ -398,46 +495,48 @@ combat:
# Only delay when switched to specific materials
only-delay-specific-materials: true
delayed-specific-materials:
- - BOW
- - DIAMOND_SWORD
- - DIAMOND_AXE
- - TRIDENT
- - GOLDEN_SWORD
- - GOLDEN_AXE
- - IRON_SWORD
- - IRON_AXE
- - STONE_SWORD
- - STONE_AXE
- - WOODEN_SWORD
- - WOODEN_AXE
- - BLACK_BED
- - BLUE_BED
- - BROWN_BED
- - CYAN_BED
- - GRAY_BED
- - GREEN_BED
- - LIGHT_BLUE_BED
- - LIGHT_GRAY_BED
- - LIME_BED
- - MAGENTA_BED
- - ORANGE_BED
- - PINK_BED
- - PURPLE_BED
- - RED_BED
- - WHITE_BED
- - YELLOW_BED
- - CROSSBOW
- - NETHERITE_SWORD
- - NETHERITE_AXE
+ - BOW
+ - DIAMOND_SWORD
+ - DIAMOND_AXE
+ - TRIDENT
+ - GOLDEN_SWORD
+ - GOLDEN_AXE
+ - IRON_SWORD
+ - IRON_AXE
+ - STONE_SWORD
+ - STONE_AXE
+ - WOODEN_SWORD
+ - WOODEN_AXE
+ - BLACK_BED
+ - BLUE_BED
+ - BROWN_BED
+ - CYAN_BED
+ - GRAY_BED
+ - GREEN_BED
+ - LIGHT_BLUE_BED
+ - LIGHT_GRAY_BED
+ - LIME_BED
+ - MAGENTA_BED
+ - ORANGE_BED
+ - PINK_BED
+ - PURPLE_BED
+ - RED_BED
+ - WHITE_BED
+ - YELLOW_BED
+ - CROSSBOW
+ - NETHERITE_SWORD
+ - NETHERITE_AXE
anchor-aura-delay:
enable: false
- delay-in-ticks: 8
# Can help with desync in some cases but recommended to leave off unless needed.
update-inventory-on-cancel: false
- also-cancel-glowstone-interaction: false
+ place-delay-in-ticks: 8
+ break-delay-in-ticks: -1
bed-aura-delay:
enable: false
- delay-in-ticks: 5
+ # Set to -1 to disable.
+ break-delay-in-ticks: 5
+ place-delay-in-ticks: -1
##############
# Illegals #
@@ -449,32 +548,32 @@ illegals:
enable: false
# Enter PLAYER_HEAD here if you want to remove placed playerheads.
blocks-to-remove:
- - PLAYER_HEAD
- - CHAIN_COMMAND_BLOCK
- - COMMAND_BLOCK
- - COMMAND_BLOCK_MINECART
- - REPEATING_COMMAND_BLOCK
- - BEDROCK
- - BARRIER
+ - PLAYER_HEAD
+ - CHAIN_COMMAND_BLOCK
+ - COMMAND_BLOCK
+ - COMMAND_BLOCK_MINECART
+ - REPEATING_COMMAND_BLOCK
+ - BEDROCK
+ - BARRIER
exempted-worlds:
- - exampleworld1
- - exampleworld2
+ - exampleworld1
+ - exampleworld2
pause-on-low-TPS: false
pause-TPS: 14.0
periodically:
enable: false
# Enter PLAYER_HEAD here if you want to remove placed playerheads.
blocks-to-remove:
- - PLAYER_HEAD
- - CHAIN_COMMAND_BLOCK
- - COMMAND_BLOCK
- - COMMAND_BLOCK_MINECART
- - REPEATING_COMMAND_BLOCK
- - BEDROCK
- - BARRIER
+ - PLAYER_HEAD
+ - CHAIN_COMMAND_BLOCK
+ - COMMAND_BLOCK
+ - COMMAND_BLOCK_MINECART
+ - REPEATING_COMMAND_BLOCK
+ - BEDROCK
+ - BARRIER
exempted-worlds:
- - exampleworld1
- - exampleworld2
+ - exampleworld1
+ - exampleworld2
check-period-in-seconds: 10
pause-on-low-TPS: false
pause-TPS: 14.0
@@ -485,62 +584,76 @@ illegals:
# You can add or remove as much world names here as you want.
natural-spawner-types-per-world:
world:
- - SKELETON
- - ZOMBIE
- - SILVERFISH
- - SPIDER
- - CAVE_SPIDER
+ - SKELETON
+ - ZOMBIE
+ - SILVERFISH
+ - SPIDER
+ - CAVE_SPIDER
world_the_end:
- - SKELETON
- - SPIDER
+ - SKELETON
+ - SPIDER
world_nether:
- - BLAZE
- - MAGMA_CUBE
- remove-items-with-specific-names:
+ - BLAZE
+ - MAGMA_CUBE
+ remove-specific-item-names:
+ # Resets an item's name if configured in the config.
enable: false
color-insensitive-item-names:
- - Super Insane Mega Sussy Item
+ - Super Insane Mega Sussy Item
color-sensitive-item-names:
- - PvP KIT V2
+ - PvP KIT V2
revert-overstacked-items:
# Revert illegally high stacked items.
enable: false
item-whitelist-enabled: false
- use-as-blacklist-instead: false
+ use-as-blacklist-instead: true
whitelisted-items:
- - TOTEM_OF_UNDYING
+ - TOTEM_OF_UNDYING
+ # Prevents Hopper32k mechanic of placing a shulker containing illegals on top of a hopper and using the illegal
+ # out of the hoppers inventory.
+ # WARNING: Hooks into InventoryMoveItemEvent, which can become resource intense. Enable only if you need to.
+ prevent-hopper32k-mechanic: false
+ delete-shulker-if-contains-overstacked: false
+ bundles-cant-unbundle-if-contains-overstacked: false
periodically-check-player-inventories:
enable: false
check-period-in-ticks: 20
- delete-shulker-if-contains-overstacked: false
revert-unbreakables:
enable: false
item-whitelist-enabled: false
use-as-blacklist-instead: false
- # Make sure to keep enabled, otherwise netherite tools will mistakenly be set to maximum durability, due to some bug in spigot.
- skip-zero-durability: true
whitelisted-items:
- - DIAMOND_CHESTPLATE
+ - DIAMOND_CHESTPLATE
+ # Prevents Hopper32k mechanic of placing a shulker containing illegals on top of a hopper and using the illegal
+ # out of the hoppers inventory.
+ # WARNING: Hooks into InventoryMoveItemEvent, which can become resource intense. Enable only if you need to.
+ prevent-hopper32k-mechanic: true
+ delete-shulker-if-contains-unbreakable: false
+ bundles-cant-unbundle-if-contains-unbreakable: true
periodically-check-player-inventories:
enable: false
check-period-in-ticks: 20
- delete-shulker-if-contains-unbreakable: false
ban-specific-blocks:
remove-items: true
banned-blocks:
- - CHAIN_COMMAND_BLOCK
- - COMMAND_BLOCK
- - COMMAND_BLOCK_MINECART
- - REPEATING_COMMAND_BLOCK
- - BEDROCK
- - BARRIER
- - STRUCTURE_BLOCK
- - STRUCTURE_VOID
- - END_PORTAL_FRAME
- - END_PORTAL
- - NETHER_PORTAL
- - LIGHT
+ - CHAIN_COMMAND_BLOCK
+ - COMMAND_BLOCK
+ - COMMAND_BLOCK_MINECART
+ - REPEATING_COMMAND_BLOCK
+ - BEDROCK
+ - BARRIER
+ - STRUCTURE_BLOCK
+ - STRUCTURE_VOID
+ - END_PORTAL_FRAME
+ - END_PORTAL
+ - NETHER_PORTAL
+ - LIGHT
+ # Prevents Hopper32k mechanic of placing a shulker containing illegals on top of a hopper and using the illegal
+ # out of the hoppers inventory.
+ # WARNING: Hooks into InventoryMoveItemEvent, which can become resource intense. Enable only if you need to.
+ prevent-hopper32k-mechanic: false
delete-shulker-if-contains-banned-block: false
+ bundles-cant-unbundle-if-contains-banned-block: true
periodically-check-player-inventories:
enable: false
check-period-in-ticks: 20
@@ -552,7 +665,7 @@ illegals:
item-whitelist-enabled: true
use-as-blacklist-instead: false
whitelisted-items:
- - BOW
+ - BOW
periodically-check-player-inventories:
enable: false
check-period-in-ticks: 20
@@ -562,47 +675,105 @@ illegals:
item-whitelist-enabled: true
use-as-blacklist-instead: false
whitelisted-items:
- - GOLDEN_APPLE
+ - GOLDEN_APPLE
+ # Prevents Hopper32k mechanic of placing a shulker containing illegals on top of a hopper and using the illegal
+ # out of the hoppers inventory.
+ # WARNING: Hooks into InventoryMoveItemEvent, which can become resource intense. Enable only if you need to.
+ prevent-hopper32k-mechanic: true
+ delete-shulker-if-contains-higher-enchant: false
+ bundles-cant-unbundle-if-contains-higher-enchant: true
periodically-check-player-inventories:
enable: false
check-period-in-ticks: 20
- delete-shulker-if-contains-higher-enchant: false
revert-specific-higher-enchants:
enable: false
enchantments:
- - DIG_SPEED
+ - DIG_SPEED
item-whitelist-enabled: true
use-as-blacklist-instead: false
whitelisted-items:
- - GOLDEN_APPLE
+ - GOLDEN_APPLE
+ # Prevents Hopper32k mechanic of placing a shulker containing illegals on top of a hopper and using the illegal
+ # out of the hoppers inventory.
+ # WARNING: Hooks into InventoryMoveItemEvent, which can become resource intense. Enable only if you need to.
+ prevent-hopper32k-mechanic: true
+ delete-shulker-if-contains-specific-higher-enchanted: false
+ bundles-cant-unbundle-if-contains-higher-enchant: true
periodically-check-player-inventories:
enable: false
check-period-in-ticks: 20
- delete-shulker-if-contains-specific-higher-enchanted: false
revert-inapplicable-enchants:
enable: true
item-whitelist-enabled: true
use-as-blacklist-instead: false
whitelisted-items:
- - GOLDEN_APPLE
+ - GOLDEN_APPLE
+ # Prevents Hopper32k mechanic of placing a shulker containing illegals on top of a hopper and using the illegal
+ # out of the hoppers inventory.
+ # WARNING: Hooks into InventoryMoveItemEvent, which can become resource intense. Enable only if you need to.
+ prevent-hopper32k-mechanic: false
+ delete-shulker-if-contains-inapplicable-enchant: false
periodically-check-player-inventories:
enable: false
check-period-in-ticks: 20
- delete-shulker-if-contains-inapplicable-enchant: false
- ban-player-heads:
- # This deletes playerheads with and without owners
- enable: false
- delete-shulker-if-contains-player-head: false
- periodically-check-player-inventories:
+ nbt:
+ revert-illegal-damage-modifiers:
+ # Reverts 32ks / 255s that have been created using nbt tags instead of illegal enchants.
enable: false
- check-period-in-ticks: 20
- prevent-placing: true
+ # The exact name of the damage nbt tag
+ tag: dmg
+ log: false
+ item-whitelist-enabled: false
+ use-as-blacklist-instead: false
+ whitelisted-items:
+ - GOLDEN_APPLE
+ # Deletes the item instead of clearing the tag
+ delete-item-instead: false
+ # Prevents Hopper32k mechanic of placing a shulker containing illegals on top of a hopper and using the illegal
+ # out of the hoppers inventory.
+ # WARNING: Hooks into InventoryMoveItemEvent, which can become resource intense. Enable only if you need to.
+ prevent-hopper32k-mechanic: true
+ delete-shulker-if-contains-damage-modifier: false
+ bundles-cant-unbundle-if-contains-damage-modifier: true
+ periodically-check-player-inventories:
+ enable: false
+ check-period-in-ticks: 20
+ revert-impossibly-stored-items:
+ enable: false
+ # The exact name of the nbt tag that signals items are stored inside.
+ tag: BlockEntityTag
+ # Deletes the item instead of clearing data
+ delete-item-instead: false
+ log: false
+ delete-shulker-if-contains-storage-items: false
+ materials-to-check:
+ - CHEST
+ - TRAPPED_CHEST
+ - DISPENSER
+ - DROPPER
+ player-heads:
+ remove-items:
+ # This deletes playerheads with and without owners
+ enable: false
+ # Prevents Hopper32k mechanic of placing a shulker containing illegals on top of a hopper and using the illegal
+ # out of the hoppers inventory.
+ # WARNING: Hooks into InventoryMoveItemEvent, which can become resource intense. Enable only if you need to.
+ prevent-hopper32k-mechanic: false
+ delete-shulker-if-contains-player-head: false
+ periodically-check-player-inventories:
+ enable: false
+ check-period-in-ticks: 20
+ prevent-placing: false
spawn-eggs:
# Also prevents them from being used in combination with dispensers.
prevent-using: false
remove-spawn-eggs:
enable: false
delete-shulker-if-contains-spawn-egg: false
+ # Prevents Hopper32k mechanic of placing a shulker containing illegals on top of a hopper and using the illegal
+ # out of the hoppers inventory.
+ # WARNING: Hooks into InventoryMoveItemEvent, which can become resource intense. Enable only if you need to.
+ prevent-hopper32k-mechanic: false
##################
# Chunk Limits #
@@ -709,18 +880,86 @@ chunk-limits:
# Limit specific entity types per chunk.
enable: false
log-removals: true
- # check all chunks every x ticks.
+ # Check all chunks every x ticks.
check-period-in-ticks: 1200
+ chunk-age-skip:
+ enable: true
+ # How long a chunk has to have been inhabited for it to be checked
+ min-age-in-ticks: 800
+ # When a chunk is loaded, entities inside of it are not necessarily loaded as well.
+ # Force loading is worse for performance but could help in some scenarios.
+ forceload-entities: false
# Google EntityType Spigot for the correct names. They have to match your minecraft version.
limited-types:
+ MAGMA_CUBE: 10
+ SILVERFISH: 3
+ MULE: 10
+ FROG: 20
+ HOGLIN: 10
+ HUSK: 10
+ SHEEP: 10
+ VEX: 15
+ VINDICATOR: 15
+ PILLAGER: 15
+ PIGLIN_BRUTE: 10
+ POLAR_BEAR: 5
+ TURTLE: 20
+ TRADER_LLAMA: 10
+ SLIME: 10
+ CAVE_SPIDER: 10
+ DROWNED: 10
+ EVOKER: 15
+ SQUID: 20
+ HORSE: 10
+ PARROT: 10
+ ENDERMITE: 3
+ FOX: 10
+ AXOLOTL: 10
+ STRAY: 10
+ ZOMBIE: 10
+ CAT: 10
+ SALMON: 6
+ GOAT: 10
+ RABBIT: 5
+ DONKEY: 10
+ STRIDER: 3
+ PANDA: 5
+ OCELOT: 3
+ ENDERMAN: 10
+ ZOMBIE_VILLAGER: 25
+ LLAMA: 10
+ WITCH: 15
+ TROPICAL_FISH: 6
+ SPIDER: 10
+ ALLAY: 20
+ SKELETON: 10
+ WITHER_SKELETON: 10
WITHER: 16
- HORSE: 5
+ CREEPER: 10
+ MUSHROOM_COW: 10
CHICKEN: 10
- SKELETON_HORSE: 5
- COW: 10
- WOLF: 15
- DONKEY: 5
+ ZOMBIFIED_PIGLIN: 10
+ COD: 6
+ ZOMBIE_HORSE: 10
WITHER_SKULL: 10
+ RAVAGER: 15
+ GLOW_SQUID: 20
+ PUFFERFISH: 3
+ GUARDIAN: 20
+ BEE: 15
+ PHANTOM: 10
+ BLAZE: 10
+ SKELETON_HORSE: 10
+ COW: 10
+ PIGLIN: 25
+ WANDERING_TRADER: 10
+ PIG: 10
+ ZOGLIN: 10
+ BAT: 3
+ DOLPHIN: 4
+ TADPOLE: 20
+ WOLF: 10
+ IRON_GOLEM: 15
non-living-limit:
# Limit the amount of non living entities in a chunk to prevent lag (does not affect items).
enable: false
@@ -729,8 +968,8 @@ chunk-limits:
# 20 ticks = 1 second
check-period-in-ticks: 20
dropped-item-limit:
- # Limit the amount of dropped items in a chunk to combat lag.
- # Be aware this does not prioritize higher value items.
+ # Limit the amount of dropped items in a chunk to combat lag.
+ # Be aware this does not prioritize items by value or anything, just whatever gets over the counter.
enable: false
log-removals: true
max-dropped-items-per-chunk: 200
@@ -739,23 +978,23 @@ chunk-limits:
whitelist-specific-item-types: false
# You need to use correct Material enums for your minecraft version here.
whitelisted-types:
- - SHULKER_BOX
- - BLACK_SHULKER_BOX
- - BLUE_SHULKER_BOX
- - BROWN_SHULKER_BOX
- - CYAN_SHULKER_BOX
- - GRAY_SHULKER_BOX
- - GREEN_SHULKER_BOX
- - LIGHT_BLUE_SHULKER_BOX
- - LIGHT_GRAY_SHULKER_BOX
- - LIME_SHULKER_BOX
- - MAGENTA_SHULKER_BOX
- - ORANGE_SHULKER_BOX
- - PINK_SHULKER_BOX
- - PURPLE_SHULKER_BOX
- - RED_SHULKER_BOX
- - WHITE_SHULKER_BOX
- - YELLOW_SHULKER_BOX
+ - SHULKER_BOX
+ - BLACK_SHULKER_BOX
+ - BLUE_SHULKER_BOX
+ - BROWN_SHULKER_BOX
+ - CYAN_SHULKER_BOX
+ - GRAY_SHULKER_BOX
+ - GREEN_SHULKER_BOX
+ - LIGHT_BLUE_SHULKER_BOX
+ - LIGHT_GRAY_SHULKER_BOX
+ - LIME_SHULKER_BOX
+ - MAGENTA_SHULKER_BOX
+ - ORANGE_SHULKER_BOX
+ - PINK_SHULKER_BOX
+ - PURPLE_SHULKER_BOX
+ - RED_SHULKER_BOX
+ - WHITE_SHULKER_BOX
+ - YELLOW_SHULKER_BOX
villager-limit:
enable: false
max-villagers-per-chunk: 25
@@ -764,24 +1003,25 @@ chunk-limits:
check-period-in-ticks: 600
# Professions that are in the top of the list are going to be scheduled for removal first.
removal-priority:
- - NONE
- - NITWIT
- - SHEPHERD
- - FISHERMAN
- - BUTCHER
- - CARTOGRAPHER
- - LEATHERWORKER
- - FLETCHER
- - MASON
- - FARMER
- - ARMORER
- - TOOLSMITH
- - WEAPONSMITH
- - CLERIC
- - LIBRARIAN
+ - NONE
+ - NITWIT
+ - SHEPHERD
+ - FISHERMAN
+ - BUTCHER
+ - CARTOGRAPHER
+ - LEATHERWORKER
+ - FLETCHER
+ - MASON
+ - FARMER
+ - ARMORER
+ - TOOLSMITH
+ - WEAPONSMITH
+ - CLERIC
+ - LIBRARIAN
exp-bottle-limit:
- # Prevent having a shit ton of exp bottles in one chunk then loading it to kill the server.
+ # Prevent having a shitton of exp bottles in one chunk then loading it to kill the server.
enable: true
+ log: false
# Max in a chunk, doesn't limit the actual xp orbs.
max-exp-bottle-per-chunk: 25
falling-block-limit:
@@ -790,17 +1030,20 @@ chunk-limits:
log: false
# Removes any falling block if there is more than x blocks (actively) falling in a chunk.
max-falling-gravitiy-blocks-per-chunk: 60
- # Delay in ticks until the same chunk can be checked again (avoids overchecking because a physics event can be called multiple times for the same chunk)
+ # Delay in ticks until the same chunk can be checked again.
+ # Prevents overchecking, because a physics event can be called multiple times for the same chunk.
chunk-check-delay-in-ticks: 20
minecart-limit:
# Limit the amount of minecarts to prevent lag.
enable: false
+ log-removals: false
max-minecarts-per-chunk: 25
# 200 ticks = 10 seconds.
check-period-in-ticks: 400
vehicle-limit:
- # Limit the amount of vehicles to prevent some lag machines involving boats and a dispenser,
+ # Limit the amount of vehicles to prevent some lag machines involving boats and a dispenser.
enable: false
+ log-removals: false
max-vehicles-per-chunk: 25
# 200 ticks = 10 seconds.
check-period-in-ticks: 400
@@ -820,8 +1063,8 @@ bedrock:
pause-tps: 16.0
# Case sensitive!
exempted-worlds:
- - exampleworld
- - exampleworld2
+ - exampleworld
+ - exampleworld2
periodically-check-and-fill:
enable: false
check-period-in-seconds: 10
@@ -835,8 +1078,8 @@ bedrock:
pause-tps: 16.0
# Case sensitive!
exempted-worlds:
- - exampleworld
- - exampleworld2
+ - exampleworld
+ - exampleworld2
periodically-check-and-fill:
enable: false
check-period-in-seconds: 10
@@ -853,8 +1096,8 @@ bedrock:
pause-tps: 16.0
# Case sensitive!
exempted-worlds:
- - exampleworld
- - exampleworld2
+ - exampleworld
+ - exampleworld2
periodically-check-and-fill:
# only checks loaded chunks
enable: false
@@ -865,17 +1108,9 @@ bedrock:
# Fills the bedrock hole and teleports player above.
enable: true
exempted-worlds:
- - world_the_end
- - skyblock_world
+ - world_the_end
+ - skyblock_world
filler-material: BEDROCK
- prevent-removing-bedrock-by-exploding-pistons:
- enable: true
- whitelisted-worlds:
- - example_world_name
- prevent-removing-bedrock-by-placing-piston-on-retract:
- enable: true
- whitelisted-worlds:
- - example_world_name
############
# Elytra #
@@ -916,7 +1151,7 @@ elytra:
burst-speed-old-chunk-TPS: 18.0
burst-speed-new-chunks: 3.12
burst-speed-new-chunk-TPS: 19.0
- deny-elytra-on-low-TPS: true
+ deny-elytra-on-low-TPS: false
deny-elytra-TPS: 12.0
also-remove-elytra-on-low-TPS: true
Nether-Ceiling:
@@ -935,154 +1170,80 @@ elytra:
deny-elytra-on-low-TPS: true
deny-elytra-TPS: 12.0
also-remove-elytra-on-low-TPS: true
+ patch-generic-speedhacks:
+ # Patches speed-limit bypass using generic speedhacks (Timer) by additionally checking player position every x ticks
+ enable: true
+ # Lower value means more accuracy but also more overhead.
+ check-interval-in-ticks: 10
packet-elytra-fly:
# Patches the future/rusherhack/kamiblue 2b2t elytra fly exploit
patch-packet-elytra-fly: true
use-bypass-permission: false
- # Will only allow players to go about 85km/h on kami blue, and won't even work on rusherhack. Recommended to not go lower as there could be false positives.
- max-elytra-opens-per-10-seconds: 25
+ # Will only allow players to go about 85km/h.
+ max-elytra-opens-per-time: 25
+ # Will only allow players to go about 85km/h.
+ time-in-seconds: 10
# Configure message in lang folder.
notify-player-to-disable-packetfly: true
- # If enabled, the plugin will not remove elytra from the player, but simply disconnect from the server.
+ # If enabled, player will be kicked instead of dropping their elytra.
kick-instead-of-remove-elytra: false
##########
# Chat #
##########
chat:
- banned-regex:
- enable: false
- log: true
- # Prevents any message that starts with "This is a" and ends with "banned message"
- banned-regex:
- - ^This is a(.*)banned message
- banned-words:
- enable: false
- log: true
- case-sensitive: false
- banned-words:
- - what's 2+2
- character-limit:
- enable: true
- log: true
- char-limit: 128
command-whitelist:
- # This will make it pretty much impossible to find your plugins as only the commands you specify will be able to work.
+ # This will make it pretty much impossible to find your plugins as only the commands you specify will be able to work.
# Allow bypass using permission: anarchyexploitfixes.commandwhitelistbypass
enable: false
+ # Will show logs when a command was denied.
+ log: false
# Enable only if you have problems with the regular commandwhitelist. Otherwise not recommended to use.
use-protocollib: false
# Add all commands you want your players to be able to access (without the '/'). Not case sensitive.
whitelisted-commands:
- - help
- - vote
- - kill
- - discord
- - togglechat
- - toggleconnectionmsgs
- - toggletells
- - togglewhispering
- - toggleprivatemsgs
- - ignore
- - ignorelist
- - ignorehard
- - toggledeathmsg
- - dmt
- - worldstats
- - stats
- - tps
- - msg
- - whisper
- - w
- - m
- - t
- - pm
- - tell
- - r
- - reply
- - last
- # Add all subcommands you don't want your players to be able to access. Case sensitive!
- blacklisted-subcommands:
- - help about
- - vote List
- - vote Best
- - vote Total
- - worldstats reload
- - stats reload
- prevent-spam:
- enable: false
- # Bit spammy, intended for debug
- log: false
- # Notifies players to slow down when spamming
- notify-player: false
- # Global limit (Messages per X seconds)
- anti-spam-time: 1
- # How many messages should we allow to send in X seconds
- anti-spam-check-time: 30
- # How long a player should wait before being able to send another exact same message
- anti-spam-word-time: 60
- # The percentage of similarity to previously sent messages for it to count as spam
- anti-spam-word-similarity-percentage: 94.8
- lenient-word-check:
- # Will not count messages as word spam that are shorter than or equal to the length of the configured limit.
- enable: true
- message-character-limit: 10
- # ~1 message every 3 seconds if constantly spamming
- anti-spam-messages-per-time: 10
- anti-spam-commands:
- enable: false
- log: true
- anti-spam-command-time: 1
- # Notifies players to slow down when spamming
- notify-player: false
- # Exclude commands from antispam.
- use-whitelist: true
- whitelisted-commands:
+ - help
+ - vote
+ - kill
+ - discord
+ - togglechat
+ - toggleconnectionmsgs
+ - toggletells
+ - togglewhispering
+ - toggleprivatemsgs
+ - ignore
+ - ignorelist
+ - ignorehard
+ - toggledeathmsg
+ - dmt
+ - worldstats
+ - stats
+ - tps
- msg
- - message
- - w
- whisper
+ - w
+ - m
+ - t
+ - pm
- tell
- r
- reply
- - f
- banned-subcommands:
- - msg Notch
- - f perms
- links:
- prevent-sending:
- enable: false
- log: true
- only-for-players-around-spawn: true
- spawn-radius: 1000
- link-regex:
- - (https?://(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|www\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|https?://(?:www\.|(?!www))[a-zA-Z0-9]+\.[^\s]{2,}|www\.[a-zA-Z0-9]+\.[^\s]{2,})
- - '[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z()]{1,6}\b([-a-zA-Z()@:%_+.~#?&/=]*)'
- prevent-spamming:
- enable: true
- log: true
- only-for-players-around-spawn: true
- spawn-radius: 1000
- delay-until-next-link-in-seconds: 300
- link-regex:
- - (https?://(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|www\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|https?://(?:www\.|(?!www))[a-zA-Z0-9]+\.[^\s]{2,}|www\.[a-zA-Z0-9]+\.[^\s]{2,})
- - '[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z()]{1,6}\b([-a-zA-Z()@:%_+.~#?&/=]*)'
- remove-specific-characters:
- enable: false
- character-list:
- - ·
- - •
- - '@'
+ - last
+ blacklisted-subcommands:
+ - help about
+ - vote List
+ - vote Best
+ - vote Total
+ - worldstats reload
+ - stats reload
prevent-scanning-server-plugins:
# Prevents hacked clients running .plugins to find out what plugins the server is using
- enable: false
+ enable: true
###################
# Miscellaneous #
###################
misc:
- # Uses MiniMessage formatting.
- say-command-format: 'SERVER: %message%'
join-leave-messages:
# If you want to hide yourself or someone else when logging into the game,
# use these permissions: anarchyexploitfixes.silentJoin, anarchyexploitfixes.silentLeave
@@ -1094,60 +1255,15 @@ misc:
# Configure message in lang folder.
enable: false
show-in-console: true
- # Enable the /aef kickphrase command.
- enable-kickphrase-command: false
kicks:
# Configure mask message in lang folder.
mask-kick-messages: false
- prevent-spam-kick:
+ prevent-message-kick:
# Cancels the kick for specific kick messages.
enable: false
kick-messages-to-listen-to:
- - Kicked for spamming
- - Stop spamming!
-
-##################
-# 1b1t Options #
-##################
-1b1t-options:
- distance-away-to-teleport:
- enable: false
- distance-in-blocks: 5000
- teleport-commands:
- - tpa
- - tpahere
- - call
- - ecall
- - etpa
- - tpask
- - etpask
- excluded-worlds:
- - world_the_end
- - exampleworld2
- make-specific-commands-hurt-you:
- enable: false
- damage-amount: 10
- hurt-commands:
- - tpa
- 1b1t-place-bedrock:
- # Allow placing bedrock within certain y-levels.
- enable: false
- overworld:
- placing-allowed: true
- upper-y-limit: 319
- lower-y-limit: -54
- nether:
- placing-allowed: true
- upper-y-limit: 122
- lower-y-limit: 10
- end:
- placing-allowed: false
- upper-y-limit: 80
- lower-y-limit: 0
- slowdupe:
- # Enable 1b1t Slow!Dupe - 5% chance of duplicating an item by punching an itemframe
- enable: false
- log: false
+ - Kicked for spamming
+ - Stop spamming!
```