GNU General Public License v3.0

项目介绍

xGinko/AnarchyExploitFixes 是一个托管在 GitHub 上的开源项目,主要使用 Java 编写,采用 GNU General Public License v3.0 许可证,目前获得 438 个 Star、92 次 Fork。

仓库全名
xGinko/AnarchyExploitFixes
开源许可证
GNU General Public License v3.0
Star 数
438
Fork 数
92
未关闭 Issue
10

README 摘要

AnarchyExploitFixes AnarchyExploitFixes is a Paper plugin attempting to fix all major exploits affecting anarchistic Minecraft servers. It is designed for high configurability and performance. Contact Join the Discord: Servers using AnarchyExploitFixes: (Add your server in a pull request) Server list constantiam.net (70-80) 5b5t.org (5-150) 6b6t.org (50-150) openanarchy.org (40-150) endcrystal.me (10-50) 6g6s.org…

完整内容见 GitHub 原始 README 或本页 。

常见问题

AnarchyExploitFixes 用什么语言开发?

主要使用 Java 编写,采用 GNU General Public License v3.0 许可证,目前有 438 个 Star。

AnarchyExploitFixes 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 AnarchyExploitFixes 的源码?

可以直接克隆仓库:git clone https://github.com/xGinko/AnarchyExploitFixes.git,默认分支为 master;安装与运行步骤见仓库 README。

AnarchyExploitFixes 最近还在维护吗?

仓库最近一次更新为 6月4日,当前有 10 个未关闭 Issue;Star 数为 438,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Fix exploits on anarchy Minecraft servers

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

语言占比

Java

README

bstats

AnarchyExploitFixes

MIT License Build Status CodeFactor Grade Github Downloads Join the Discord

Stargazers Forks Watchers

Ko-Fi Donations

AnarchyExploitFixes is a Paper plugin attempting to fix all major exploits affecting anarchistic Minecraft servers. It is designed for high configurability and performance.

Contact

Join the Discord:

Join the Discord

Servers using AnarchyExploitFixes:

(Add your server in a pull request)

Server list

Downloads

Downloads can be obtained from the modrinth page or the actions tab.

Requirements

  • PacketEvents - To be able to prevent packet exploits. Without it, the plugin cannot enable.

Building from source

First, clone this repository.

Then run the following command in the root directory:

./gradlew clean build

Notice

Please note that some exploits have already been patched by LPX AntiPacketExploit and Panilla, meaning they are most likely not included. It is recommended to use those alongside AEF to patch the majority of exploits.

Commands

These commands can only be executed from console or by opped players.

  • /aef reload - Reload the config
  • /aef bytesize mainhand/inventory (player) - Show bytesize of a held item or inventory
  • /aef datavalue - (1.12 Relevant) Get the data value for the item you’re holding to add it to the remove list
  • /aef elytra - See who is flying on an elytra.
  • /aef geared - See how many players have armor or are new.
  • /aef lag - artificially lag the server for testing. Every time you run the command the server freezes for 1 second by default, add milliseconds to the end of the command for custom time.
  • /aef version - Plugin version.

Features

This list does not include all features, check the config for all features!

All features listed here can be disabled or enabled in the config.

  • Prevent NoCom exploit. - Prevent the ‘NoCom’ coordinate exploit
  • Prevent a new lag exploit where fireworks can bring tps down to single digits.
  • Prevent BowBomb exploit. - Prevent an exploit where bows can instantly kill a player.
  • Prevent Burrow hack - Where you step inside a block so crystals can’t do any damage.
  • Prevent BoatFly exploit - Prevent the Futureclient / Rusherhack BoatFly exploit.
  • Prevent Book-ban - All characters still work! The size of each page is just limited to 255 bytes (customizable). This allows to fill the whole page with latin characters. Characters that use more bytes such as Chinese may be limited in length.
  • Prevent unbreakable Packet elytra fly.
  • Prevent PacketFly exploit.
  • Prevent end gateway crash exploit. - https://www.youtube.com/watch?v=c5nVBQeYo-I
  • Patch end portal dupe. - https://www.youtube.com/watch?v=n-fN6txZNgc
  • Prevent Y256 dispenser crash exploit. - https://www.youtube.com/watch?v=XL17P87O6xA
  • Anti-Illegal system:
    • Remove/revert illegal items: banned items, overstacked items, higher enchanted items, items with illegal datavalues, incompatible enchanted items (eg Silk Touch & Fortune on the same item), inapplicable enchanted items (unenchantables), Spawneggs and unbreakable items and all shulkers containing them.
    • Remove illegal blocks that have been placed in the world. Supports removal of non-natural spawners too!
  • Limit speed of snowballs to prevent clientside lag.
  • Limit crafting table autorecipe speed to prevent a lag exploit.
  • Prevent all coordinate exploits related to teleporting by vanishing a player right before they are teleported.
  • Prevent destroying end portal frames.
  • Prevent multiple end dragons from being created.
  • Prevent portal traps - Teleport a player back to the original portal if they’re trapped for too long.
  • Automatically fill in the bedrock floor/roof if the bedrock has been broken.
  • Prevent players from going below the bedrock floor by teleporting them up. - Useful so people can’t elytra fly below the world.
  • Remove wither heads automatically to prevent lag. - Removes on chunk load, unload or after a customizable alive time
  • Option to disable wither spawning at spawn. - Disabled by default.
  • Prevent chunk ban exploit. - Checks how much of each block is in a chunk.
  • Prevent chat spam. - Delay between messages, Max messages per a certain time, separate link delay, character limit, and more!
  • Prevent god mode exploit. - Prevent most godmode exploits, please note, there could still be bypasses.
  • Prevent invalid names. - Disallow login from players with invalid characters/too long of a name.
  • Prevent command signs. - Prevent players from right-clicking signs that have been placed with a command attached. For example, from a backdoor.
  • Limit falling blocks per chunk to prevent lag.
  • Limit exp bottles per chunk to prevent lag.
  • Prevent projectiles from going through portals, shooting projectiles through portals can get them stuck in the same place on the other side, once they are loaded the server can crash.
  • Prevent too many vehicles (eg. minecarts, boats) in chunks.
  • Prevent bed-traps. - Disabled by default. Teleports players back to original location when they have been standing in a portal for too long.
  • Prevent nether roof access. - Disabled by default.
  • Prevent placing blocks on nether roof
  • Option to disable chests on donkeys. - This is unlike IllegalStack’s, no items will drop if the chest is broken. Useful to prevent many dupe exploits, Disabled by default.
  • Option to prevent donkeys from going through portals. - Useful to prevent many dupe exploits, disabled by default.
  • Option to mask all kick messages. - Change every kick message to “You have lost connection to the server”, or whichever you specify. Disabled by default.
  • Option to enable first join message. - Disabled by default.
  • Command whitelist - Useful for only allowing commands that you want to be allowed, so players can’t find your plugins. Disabled by default.
  • Elytra speed limits for old and new chunks, and bursting settings for when tps is high.
  • Elytra action bar to show players the speed they are going and speed limit.
  • Rate-limit levers - Disabled by default. Prevent lag by spamming levers.
  • Options to disable certain game features at specific TPS. Redstone, Elytra, Explosions, Falling Blocks.
  • Bedrock Filler - Option to automatically fill overworld bedrock floor, nether bedrock floor and nether bedrock ceiling.

Config options

Missing config options will now automatically add themselves with every update without the config resetting.

This config was created on a 1.20.6 Paper server, default entries will vary based on server type and version.

config.yml
config-version: 1.1

##############
#  Language  #
##############
language:
  # The default language that will be used if auto-language is set to false 
  # or no matching language file was found.
  default-language: en_us
  # If set to true, will display messages based on client language.
  auto-language: true

#############
#  General  #
#############
general:
  # The time in ticks (1 sec = 20 ticks) a checked tps will be cached 
  # by the plugin.
  max-tps-check-interval-in-ticks: 20
  # In case packet modules are causing trouble, you can disable them here.
  disable-all-packet-listeners: 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 format: https://docs.advntr.dev/minimessage/format.html.
      format: '<gray>SERVER: <gold>%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

###################
#  Miscellaneous  #
###################
misc:
  join-leave-messages:
    # If you want to hide yourself or someone else when logging
    # into the game, use these permissions:
    # aef.silentJoin, aef.silentLeave
    enable: true
    # If set to true, players will see join/leave messages by default 
    # and enter /toggleconnectionmsgs to disable them. 
    # If set to false will work the other way around.
    connection-messages-on-by-default: true
    show-in-console: false
    first-join-messages:
      # Configure message in lang folder.
      # You can hide yourself and other players using the permission:
      # aef.silentJoin
      enable: false
      show-in-console: true
  kicks:
    # Configure mask message in lang folder.
    mask-kick-messages: false
    prevent-message-kick:
      # Cancels the kick for specific kick messages.
      enable: false
      kick-messages-to-listen-to:
      - Kicked for spamming
      - Stop spamming!
  auto-bed:
    # Re-enables SPIGOT-5988, also known as 'auto-bed'
    # From Minecraft version 1.16 (≈June 2020) to version 1.17.1(≈October 2021)
    # there was a bug (SPIGOT-5988) which did not reset the respawn point of the
    # player after death, if his bed was blocked with a shulker.
    # After dying a second time, the player will be back at his bed again.
    # This bug persisted from the Spigot server to Paper and all its forks until
    # October 2021, after which it was fixed by the Spigot development team.
    # Attempts by players to reach out to Spigot to allow them to disable the patch
    # that fixes the SPIGOT-5988 bug have failed.
    # Demonstration of how the patch works:
    # https://www.youtube.com/watch?v=3y5SbQXzMss
    enable: false

##########
#  Chat  #
##########
chat:
  command-whitelist:
    # 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: aef.bypass.commandwhitelist
    enable: false
    # Will show logs when a command was denied.
    log: false
    # Enable only if you have problems with the default commandwhitelist. 
    # Otherwise not recommended to use.
    use-packets: 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-scanning-server-plugins:
    # Prevents hacked clients running .plugins to find out what plugins 
    # the server is using. 
    # Recommended to use in combination with command whitelist.
    enable: true

############
#  Elytra  #
############
elytra:
  # NOTE: Set nocheatplus horizontal elytra settings to 500 or higher.
  elytra-speed:
    # The period in ticks players will be checked to determine their speed.
    check-period-ticks: 10
    # If set to false, will only calculate 2-Dimensional speed without taking height 
    # changes into consideration.
    calculate-3D-speed: false
    # Display info in Actionbar while flying.
    display-actionbar: true
    # Inform flying player if they are in old or new chunks.
    display-chunk-info-in-actionbar: true
    # Plays XP pickup sound to alert players when they

提示:代码过长已自动截断

评论

暂无评论