· Added an optional PacketEvents support, which can improve the plugin channel detection performance. (It will be auto enabled when your server is using packetevents)
· Changed the default config file where it can detect the specified channel message
* Just a notice that there's no need to wait for FakeModBlocker to add 26.1 support, because this little plugin might always support the latest server version + Now You can select whether ignore bedrock players or not if you are using floodgate plugin to allow bedrock players to join. Therefore there's a new config added:
Code (Text):
skip-bedrock-via-floodgate: true
So it might look like this:
Code (Text):
extra-detections:
sign-translation:
enabled: true
skip-bedrock-via-floodgate: true
mods:
Freecam:
detect:
key: "key.freecam.toggle"
punishment:
action: "KICK"
reason: "&c&lWarning: Please do not use &b&lFreecam &c&lon this server."
* Remade the new sign dectecting feature, now it no longer use the real oak_sign block in the world. * But I'm also afraid that this might also make the new feature also support 1.21.10+ Paper. * Haven't tested yet.
New feature added, now Paper or it's fork server can use the sign function to detect translation keys to know whether a player is using a specified mod or not. (PS: It's also easy to hide this kind of info, so please don't think this is a magic plugin to get rid of all the cheaters) And you need to add below content in your config.yml to use new feature:
# Extra optional detections
# WARNING:
# This sign translation detection depends on sign editor API availability.
# On some older server versions/APIs it is NOT available and will be skipped automatically.
extra-detections:
sign-translation:
enabled: true
mods:
Freecam:
detect:
key: "key.freecam.toggle"
punishment:
action: "KICK"
reason: "&c&lWarning: Please do not use &b&lFreecam &c&lon this server."
AccurateBlockPlacement:
detect:
key: "key.category.accurateblockplacement.category"
punishment:
action: "KICK"
reason: "&c&lWarning: Please do not use &b&lAccurateBlockPlacement &c&lon this server."
New Command: /modblocker check <player> - To check info of specified player
Notice: Please add or rewrite below sections in your message_xx.yml
Code (Text):
command:
no-permission: "&cYou do not have permission to use this command."
reload-success: "&aModBlocker configuration and messages reloaded successfully."
usage: "&eUsage: /modblocker reload or /modblocker check <player>"
player-not-found: "&cPlayer %player% is not online or does not exist."
check-header: "&bChecking MOD plugin channels for &f%player%&b:"
check-channels: "&7Registered channels:"
check-matched: "&cMatched forbidden keywords:"
check-none: "&aNo forbidden MOD keywords detected."