Created
September 12, 2024 01:22
-
-
Save JabDoesThings/01e9abe302c855c55e33bc66e48bf028 to your computer and use it in GitHub Desktop.
The default configuration file for CraftHammer.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This file is part of Craftboid. | |
| # | |
| # Author: Jab | |
| # Version: 2 | |
| # Published: 2/1/2022 | |
| __meta: { version: 2 } | |
| # All security checks are managed here. | |
| security_checks: | |
| # These are the set defaults for all checks for the patch. | |
| # - Override them by defining them in the specific check. | |
| default: | |
| # The mode for the check. | |
| # Values: | |
| # - 'off' => (Off) Ignores the check. (Does not log the result) | |
| # - 'ignore' => (On) Cancels the action but does nothing to the player. (Logs the result) | |
| # - 'kick' => (On) Cancels the action and kicks the player. (Logs the result) | |
| mode: ignore | |
| # If true, the log is sent to the server chat for staff players only. | |
| log_message_in_sever_chat: true | |
| # The message sent to the player when kicked. | |
| # | |
| # NOTE: Only sent when 'mode' is set to 'kick') | |
| # | |
| kick_message: "You've been kicked for suspected hacking." | |
| # The default distance threshold for all distance checks. (In tiles) | |
| # | |
| # NOTE: I could set it to 4.0 for vanilla but mods could affect this limit. | |
| # Adjust this value for your needs. | |
| # | |
| distance: 16.0 | |
| # Checks the GetDBSchema, GetTableResult, and ExecuteQuery packets. | |
| database: | |
| # When a player requests database and is not an admin. | |
| read_not_admin: | |
| # !!! I HIGHLY RECOMMEND NOT CHANGING THIS !!! | |
| mode: kick | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| log_message: "[%player_id%] The player '%player_username%' tried to read the database and is not an admin. %action%.." | |
| # When a player attempts to modify the database and is not an admin. | |
| modify_not_admin: | |
| # !!! I HIGHLY RECOMMEND NOT CHANGING THIS !!! | |
| mode: kick | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # query -> The query the player attempted to execute. | |
| log_message: | |
| - "[%player_id%] The player '%player_username%' tried to modify the database and is not an admin. %action%.." | |
| - "Query: %query%" | |
| # Checks the SandboxOptions packet. | |
| sandbox_options: | |
| # When a player sends an updated SandboxOptions configuration to the server and is not staff. | |
| not_staff: | |
| # A player should never send this packet. This one is pretty obvious.. | |
| mode: kick | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| log_message: "[%player_id%] The player '%player_username%' tried to change Sandbox Options. %action%.." | |
| # Checks the SyncNonPvpZone packet. | |
| sync_non_pvp_zone: | |
| # When a player tries to send a 'SyncNonPVPZone' packet and is not staff. | |
| not_staff: | |
| # A player should never send this packet. This one is pretty obvious.. | |
| mode: kick | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| log_message: "[%player_id%] The player '%player_username%' tried to synchronize a non-PVP zone. %action%.." | |
| # Checks the HitCharacter packet. | |
| hit_character: | |
| # When a player sends a PVP packet when the server has PVP disabled. | |
| pvp_disabled: | |
| # I disabled this because it looks to be deprecated but left it here just in-case it isn't. | |
| mode: off | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| log_message: "[%player_id%] The player '%player_username%' Sent a PVP packet to hurt the player '%target_username%' when PVP is disabled. %action%.." | |
| # Checks the ChangePlayerStats packet. | |
| # | |
| # NOTE: | |
| # - This is where players give themselves staff. | |
| # - I HIGHLY RECOMMEND NOT CHANGING THIS! | |
| # | |
| change_player_stats: | |
| # A player attempts to change stats for an offline player. | |
| offline_player: | |
| # I choose to kick here because no one should be doing this. | |
| # NOTE: Even Lua mods shouldn't use this. | |
| mode: kick | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| log_message: "[%player_id%] The player '%player_username%' tried to change stats for an offline player. %action%.." | |
| # A player attempts to change stats for a player and is not staff. | |
| not_staff: | |
| # I choose to kick here because this is the worst exploit. | |
| # NOTE: Lua mods however might use this. | |
| mode: kick | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # target_username -> The username of the player affected by the packet. | |
| log_message: "[%player_id%] The player '%player_username%' tried to change stats for the player '%target_username%' and is not staff. %action%.." | |
| # Checks the PlayerDeath packet. | |
| player_death: | |
| # When a player tries to kill another player with a packet that is offline. | |
| offline_player: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| log_message: "[%player_id%] The player '%player_username%' tried to kill an offline player using a packet. %action%.." | |
| # When a player tries to kill another player with a packet. | |
| self: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # target_username -> The username of the player affected by the packet. | |
| log_message: "[%player_id%] The player '%player_username%' tried to kill '%target_username%' using a packet. %action%.." | |
| # Checks the PlayerDamage packet. | |
| player_damage: | |
| # When a player tries to damage an offline player. | |
| offline_player: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| log_message: "[%player_id%] The player '%player_username%' tried to damage an offline player. %action%.." | |
| # When a player tries to damage a player beyond a normal distance. | |
| distance: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # target_username -> The username of the player affected by the packet. | |
| # distance -> The distance threshold. | |
| # distance_measured -> The distance measured between the author and the target. | |
| log_message: "[%player_id%] The Player '%player_username%' tried to damage the player '%target_username%' from far away. (%distance% < %distance_measured%) %action%.." | |
| # Checks the ChatMessageFromPlayer packet. | |
| chat_message_from_player: | |
| # When a player tries to send a chat message as another player. | |
| other_player: | |
| # A player should never send this packet for other players. | |
| mode: kick | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # target_username -> The username of the player affected by the packet. | |
| log_message: "[%player_id%] The player '%player_username%' tried to send a chat message for the player '%target_username%'. %action%.." | |
| # ExtraInfo Packet | |
| extra_info: | |
| # Notes: | |
| # - This happens when a player sends extra info for a player that is offline. | |
| offline_player: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| log_message: | |
| - "[%player_id%] The player '%player_username%' tried to update extra info for offline player. %action%.." | |
| # Notes: | |
| # - This is a packet that hackers may use to cheat on a server. | |
| # - I HIGHLY RECOMMEND NOT CHANGING THIS. | |
| check_vars: | |
| mode: kick | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # target_username -> The username of the player affected by the packet. | |
| # old_accesslevel -> The targeted player's original accesslevel. | |
| # new_accesslevel -> The accesslevel to set from the packet. | |
| log_message: "[%player_id%] The player '%player_username%' tried to change access level for the player '%target_username%' from '%old_accesslevel%' to '%new_accesslevel%'. %action%.." | |
| # The Teleport packet. | |
| teleport: | |
| # This check is for non-staff players that send a teleport packet to teleport themselves. | |
| not_staff: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # target_username -> The username of the player affected by the packet. | |
| # x -> The x coordinate to teleport. | |
| # y -> The y coordinate to teleport. | |
| # z -> The z coordinate to teleport. | |
| log_message: "[%player_id%] Player '%player_username%' tried to teleport the player '%target_username%' to (%x%, %y%, %z%). %action%.." | |
| # Checks the InvMngGetItem packet. | |
| inv_mng_get_item: | |
| # When a player gets an item from an offline player. | |
| offline_player: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| log_message: "[%player_id%] The player '%player_username%' tried to get an inventory item from an offline player. %action%.." | |
| # When a player gets an item from another player and is not staff. | |
| not_staff: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # target_username -> The username of the player affected by the packet. | |
| log_message: "[%player_id%] The player '%player_username%' tried to get inventory item from the player '%target_username%'. %action%.." | |
| # Checks the InvMngReqItem packet. | |
| inv_mng_req_item: | |
| # When a player requests an item from an offline player. | |
| offline_player: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| log_message: "[%player_id%] The player '%player_username%' tried to request an inventory item from an offline player. %action%.." | |
| # When a player requests an item from another player and is not staff. | |
| not_staff: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # target_username -> The username of the player affected by the packet. | |
| log_message: "[%player_id%] The player '%player_username%' tried to request an inventory item from the player '%target_username%'. %action%.." | |
| # Checks the InvMngRemoveItem packet. | |
| inv_mng_remove_item: | |
| # When a player tries to remove an item from an offline player. | |
| offline_player: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| log_message: "[%player_id%] The player '%player_username%' tried to remove an inventory item from an offline player. %action%.." | |
| # When a player tries to remove an item from another player and is not staff. | |
| not_staff: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # target_username -> The username of the player affected by the packet. | |
| log_message: "[%player_id%] The player '%player_username%' tried to remove an inventory item from the player '%target_username%'. %action%.." | |
| # Checks the RequestInventory packet. | |
| request_inventory: | |
| # When a player requests the inventory of an offline player. | |
| offline_player: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| log_message: "[%player_id%] The player '%player_username%' tried to request an inventory from an offline player. %action%.." | |
| # When a player requests the inventory of another player and is not staff. | |
| not_staff: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # target_username -> The username of the player affected by the packet. | |
| log_message: "[%player_id%] The player '%player_username%' tried to request an inventory from the player '%target_username%'. %action%.." | |
| # Checks the Bandage packet. | |
| bandage: | |
| # When a player tries to bandage an offline player. | |
| offline_player: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # body_part -> The name of the body-part targeted. | |
| # bandage_life -> The life of the bandage remaining. | |
| # is_alcoholic_bandage -> 'True' or 'False' | |
| # bandage_type -> The type of bandage to apply. | |
| log_message: "[%player_id%] The player '%player_username%' tried to bandage an offline player. %action%.." | |
| # When a player tries to bandage another player across a distance. | |
| distance: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # target_username -> The username of the player affected by the packet. | |
| # body_part -> The name of the body-part targeted. | |
| # bandage_life -> The life of the bandage remaining. | |
| # is_alcoholic_bandage -> 'True' or 'False' | |
| # bandage_type -> The type of bandage to apply. | |
| # distance -> The distance threshold. | |
| # distance_measured -> The distance measured between the author and the target. | |
| log_message: "[%player_id%] The player '%player_username%' tried to bandage the player '%target_username%' from far away. (%distance% < %distance_measured%) %action%.." | |
| # Checks the Stitch packet. | |
| stitch: | |
| # When a player tries to stitch an offline player. | |
| offline_player: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # body_part -> The name of the body-part targeted. | |
| # stitch_time -> The amount of time the stitch applies? | |
| log_message: "[%player_id%] The player '%player_username%' tried to stitch an offline player. %action%.." | |
| # When a player tries to stitch another player across a distance. | |
| distance: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # target_username -> The username of the player affected by the packet. | |
| # body_part -> The name of the body-part targeted. | |
| # stitch_time -> The amount of time the stitch applies? | |
| # distance -> The distance threshold. | |
| # distance_measured -> The distance measured between the author and the target. | |
| log_message: "[%player_id%] The player '%player_username%' tried to stitch the player '%target_username%' from far away. (%distance% < %distance_measured%) %action%.." | |
| # Checks the WoundInfection packet. | |
| wound_infection: | |
| # When a player tries to set an infected wound for an offline player. | |
| offline_player: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # body_part -> The name of the body-part targeted. | |
| # flag -> 'True' or 'False'. | |
| log_message: "[%player_id%] The player '%player_username%' tried to set an infected wound for an offline player. %action%.." | |
| # When a player tries to set an infected wound for a player across a distance. | |
| distance: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # target_username -> The username of the player affected by the packet. | |
| # body_part -> The name of the body-part targeted. | |
| # flag -> 'True' or 'False'. | |
| # distance -> The distance threshold. | |
| # distance_measured -> The distance measured between the author and the target. | |
| log_message: "[%player_id%] The player '%player_username%' tried to set an infected wound for the player '%target_username%' from far away. (%distance% < %distance_measured%) %action%.." | |
| # Checks the Dis-infect packet. | |
| disinfect: | |
| # When a player tries to disinfect an offline player. | |
| offline_player: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # body_part -> The name of the body-part targeted. | |
| # alcohol_level_to_add -> The amount of alcohol to apply to the wound. | |
| log_message: "[%player_id%] The player '%player_username%' tried to disinfect an offline player. %action%.." | |
| # When a player tries to disinfect a player across a distance. | |
| distance: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # target_username -> The username of the player affected by the packet. | |
| # body_part -> The name of the body-part targeted. | |
| # alcohol_level_to_add -> The amount of alcohol to apply to the wound. | |
| # distance -> The distance threshold. | |
| # distance_measured -> The distance measured between the author and the target. | |
| log_message: "[%player_id%] The player '%player_username%' tried to disinfect the player '%target_username%' from far away. (%distance% < %distance_measured%) %action%.." | |
| # Checks the Splint packet. | |
| splint: | |
| # When a player tries to splint an offline player. | |
| offline_player: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # body_part -> The name of the body-part targeted. | |
| # flag -> 'True' or 'False' | |
| log_message: "[%player_id%] The player '%player_username%' tried to splint an offline player. %action%.." | |
| # When a player tries to splint a player across a distance. | |
| distance: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # target_username -> The username of the player affected by the packet. | |
| # body_part -> The name of the body-part targeted. | |
| # flag -> 'True' or 'False' | |
| # distance -> The distance threshold. | |
| # distance_measured -> The distance measured between the author and the target. | |
| log_message: "[%player_id%] The player '%player_username%' tried to splint the player '%target_username%' from far away. (%distance% < %distance_measured%) %action%.." | |
| # Checks the AdditionalPain packet. | |
| additional_pain: | |
| # When a player tries to give additional pain to an offline player. | |
| offline_player: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # body_part -> The name of the body-part targeted. | |
| # additional_pain -> The amount of additional pain to apply to the target. | |
| log_message: "[%player_id%] The player '%player_username%' tried to give additional pain to an offline player. %action%.." | |
| # When a player tries to give additional pain to a player across a distance. | |
| distance: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # target_username -> The username of the player affected by the packet. | |
| # body_part -> The name of the body-part targeted. | |
| # additional_pain -> The amount of additional pain to apply to the target. | |
| # distance -> The distance threshold. | |
| # distance_measured -> The distance measured between the author and the target. | |
| log_message: "[%player_id%] The player '%player_username%' tried to give additional pain to the player '%target_username%' from far away. (%distance% < %distance_measured%) %action%.." | |
| # Checks the RemoveGlass packet. | |
| remove_glass: | |
| # When a player tries to remove glass from an offline player. | |
| offline_player: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # body_part -> The name of the body-part targeted. | |
| log_message: "[%player_id%] The player '%player_username%' tried to remove glass from an offline player. %action%.." | |
| # When a player tries to remove glass from a player across a distance. | |
| distance: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # target_username -> The username of the player affected by the packet. | |
| # body_part -> The name of the body-part targeted. | |
| # distance -> The distance threshold. | |
| # distance_measured -> The distance measured between the author and the target. | |
| log_message: "[%player_id%] The player '%player_username%' tried to remove glass for the player '%target_username%' from far away. (%distance% < %distance_measured%) %action%.." | |
| # Checks the RemoveBullet packet. | |
| remove_bullet: | |
| # When a player tries to remove a bullet for an offline player. | |
| offline_player: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # body_part -> The name of the body-part targeted. | |
| # deep_wound_time -> The time value of how long the wound is deep. | |
| log_message: "[%player_id%] The player '%player_username' tried to remove a bullet from an offline player. %action%.." | |
| # When a player tries to remove a bullet for another player across a distance. | |
| distance: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # target_username -> The username of the player affected by the packet. | |
| # body_part -> The name of the body-part targeted. | |
| # deep_wound_time -> The time value of how long the wound is deep. | |
| # distance -> The distance threshold. | |
| # distance_measured -> The distance measured between the author and the target. | |
| log_message: "[%player_id%] The player '%player_username%' tried to remove a bullet from the player '%target_username%' from far away. (%distance% < %distance_measured%) %action%.." | |
| # Checks the CleanBurn packet. | |
| clean_burn: | |
| # When a player tries to clean a burn for an offline player. | |
| offline_player: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # body_part -> The name of the body-part targeted. | |
| log_message: "[%player_id%] The player '%player_username%' tried to clean a burn for an offline player. %action%.." | |
| # When a player tries to clean a burn for another player across a distance. | |
| distance: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # target_username -> The username of the player affected by the packet. | |
| # body_part -> The name of the body-part targeted. | |
| # distance -> The distance threshold. | |
| # distance_measured -> The distance measured between the author and the target. | |
| log_message: "[%player_id%] The player '%player_username%' tried to clean a burn for the player '%target_username%' from far away. (%distance% < %distance_measured%) %action%.." | |
| # Checks the StartFire packet. | |
| start_fire: | |
| # When a player tries to start a fire when the server's 'NoFire' value is set to 'TRUE'. | |
| disabled: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # x -> The x coordinate to start the fire. | |
| # y -> The y coordinate to start the fire. | |
| # z -> The z coordinate to start the fire. | |
| # energy -> The energy value for the fire. | |
| # life -> The life value for the fire. | |
| # smoke -> 'True' or 'False' | |
| log_message: "[%player_id%] The player '%player_username%' tried to start a fire in an unloaded or invalid location. (%x%, %y%, %z%) %action%.." | |
| # When a player tries to start a fire when the location doesn't exist or isn't loaded. | |
| grid_square: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # x -> The x coordinate to start the fire. | |
| # y -> The y coordinate to start the fire. | |
| # z -> The z coordinate to start the fire. | |
| # energy -> The energy value for the fire. | |
| # life -> The life value for the fire. | |
| # smoke -> 'True' or 'False' | |
| log_message: "[%player_id%] The player '%player_username%' tried to start a fire in an unloaded or invalid square. (%x%, %y%, %z%) %action%.." | |
| # When a player tries to start a fire across a distance. | |
| distance: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # x -> The x coordinate to start the fire. | |
| # y -> The y coordinate to start the fire. | |
| # z -> The z coordinate to start the fire. | |
| # energy -> The energy value for the fire. | |
| # life -> The life value for the fire. | |
| # smoke -> 'True' or 'False' | |
| # distance -> The distance threshold. | |
| # distance_measured -> The distance measured between the author and the target. | |
| log_message: "[%player_id%] The player '%player_username%' tried to start a fire from far away. (%x%, %y%, %z%). (%distance% < %distance_measured%) %action%.." | |
| # Checks a RemoveItemFromSquare packet. | |
| remove_item_from_square: | |
| # When a player tries to destroy an object in the world where a square is not loaded or is invalid. | |
| invalid_square: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # x -> The x coordinate of the square. | |
| # y -> The y coordinate of the square. | |
| # z -> The z coordinate of the square. | |
| # object_index -> The index to remove. | |
| log_message: "[%player_id%] The player '%player_username%' tried to remove an object from the square (%x%, %y%, %z%), but is either an unloaded or invalid square. %action%.." | |
| # When a player tries to destroy an object in the world where the `object_id` to remove is invalid. | |
| object_index: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # x -> The x coordinate of the square. | |
| # y -> The y coordinate of the square. | |
| # z -> The z coordinate of the square. | |
| # object_index -> The index to remove. | |
| log_message: "[%player_id%] The player '%player_username%' tried to remove an object from the square (%x%, %y%, %z%), but has an invalid index. (index=%object_index%) %action%.." | |
| # When a player tries to destroy an object in the world across a distance. | |
| distance: | |
| # This check is sensitive being used by the client in vanilla, so I'm setting this specifically to ignore. | |
| mode: ignore | |
| distance: 4096.0 | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # x -> The x coordinate of the square. | |
| # y -> The y coordinate of the square. | |
| # z -> The z coordinate of the square. | |
| # object_index -> The index to remove. | |
| # distance -> The distance threshold. | |
| # distance_measured -> The distance measured between the author and the target. | |
| log_message: "[%player_id%] The player '%player_username%' tried to remove an object (index=%object_index%), from (%x%, %y%, %z%), from far away. (%distance% < %distance_measured%) %action%.." | |
| # Checks the SledgehammerDestroy packet. | |
| sledgehammer_destroy: | |
| # When a player sends a SledgehammerDestroy packet when the server has sledgehammers disabled. | |
| disabled: | |
| # No player should get to the point where the packet for this is sent without modding their client. | |
| mode: kick | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # x -> The x coordinate of the square. | |
| # y -> The y coordinate of the square. | |
| # z -> The z coordinate of the square. | |
| # object_index -> The index to remove. | |
| log_message: "[%player_id%] The player '%player_username%' tried to remove an object from (%x%, %y%, %z%), with a sledgehammer when sledgehammers are disabled on the server. %action%.." | |
| weapon: | |
| # No player should send this packet without a sledgehammer in their hands. | |
| mode: kick | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| # x -> The x coordinate of the square. | |
| # y -> The y coordinate of the square. | |
| # z -> The z coordinate of the square. | |
| # object_index -> The index to remove. | |
| # weapon -> The weapon in the player's hands, or 'bare hands' | |
| log_message: "[%player_id%] The player '%player_username%' tried to remove an object from (%x%, %y%, %z%) as a sledgehammer, but had the weapon '%weapon%' as their weapon. %action%.." | |
| # Checks the ClimateManagerPacket. | |
| climate_manager: | |
| # When a player sends the packet and is not staff. | |
| not_staff: | |
| # action -> 'Ignoring' or 'Kicking' | |
| # player_id -> If Steam is enabled, this is the Steam ID. Otherwise, it's the player's I.P. Address. | |
| # player_username -> The username of the offending player. | |
| log_message: "[%player_id%] The player '%player_username%' tried to change the climate and is not staff. %action%.." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment