🚨Infraction System

Protecting the integrity of the game experience is crucial. This menu empowers you to identify and flag players engaging in unfair or disruptive behavior.

Here's a detailed guide to using the infraction system:

Available Infractions:

  • TRIGGERED_ANTICHEAT: Player has triggered the anticheat system.

  • TRIED_CRASH_PLAYER: Player attempted to crash another player's game.

  • TRIED_KICK_PLAYER: Player tried to kick another player from the session.

  • ATTACKING_WITH_GODMODE: Player attacked while using godmode.

  • ATTACKING_WITH_INVISIBILITY: Player attacked while invisible.

  • ATTACKING_WHEN_HIDDEN_FROM_PLAYER_LIST: Player attacked while hidden from the player list.

  • SPOOFED_DATA: Player has spoofed data.

  • SPOOFED_HOST_TOKEN: Player has spoofed the host token.

  • INVALID_PLAYER_MODEL: Player is using an invalid player model.

  • SUPER_JUMP: Player has demonstrated an abnormal jump capability.

  • UNDEAD_OTR: Player is in an undead state.

  • CUSTOM_REASON: Allows for specifying a personalized reason for flagging a player.

Flagging a Player:

  1. Utilize the network.flag_player_as_modder() function.

  2. Provide the player's index and the desired infraction type as parameters.

  3. For custom reasons, include an additional string detailing the justification.

Example:

network.flag_player_as_modder(player_index, infraction.CUSTOM_REASON, "I have my reason")

Last updated