๐ Godmode
PrettyPacketAC offers a robust Godmode Detection system with 4 different detection methods. You can configure these methods to protect your server from players who attempt to use godmode.
We recommend testing all 4 methods using the "WARN" action to see which ones trigger detections in your logs, then adjust based on what works best for your server. ๐ธ
๐ ๏ธ Configuration Overview
In your config.lua
file, you can configure the Godmode detection settings as follows:
PrettyPacketAC.Godmode = {
enabled = false,
method_1 = {
enabled = false,
action = "WARN",
},
method_2 = {
enabled = false,
action = "WARN",
},
method_3 = { -- Simple native check, can interfere with Ambulance Scripts
enabled = false,
action = "WARN",
},
method_4 = {
enabled = false,
action = "WARN",
},
}
๐ง Available Detection Methods
Method 1: A basic detection method.
Method 2: A slightly different detection technique.
Method 3: A native check (warning: it can interfere with ambulance scripts).
Method 4: A more complex detection system.
๐ Recommendations for Testing
Test all 4 methods with the "WARN" action enabled to identify which ones trigger detections in your logs.
Once youโve found the most effective methods, adjust the settings as needed, and change the action to either "KICK" or "BAN" based on your server's needs.
๐ก Pro Tip: Be cautious when using Method 3 if you have custom scripts like ambulance scripts, as it can cause conflicts.
๐ Adjusting for Your Server
Choose the best combination of methods and actions for your server. Here's a quick overview of available actions:
"WARN": Logs the detection.
"KICK": Kicks the player from the server.
"BAN": Bans the player from the server.
Last updated