Skip to content

Allow toggling glitches per playerΒ #4334

@xLive

Description

@xLive

Is your feature request related to a problem? Please describe.

Currently, setGlitchEnabled applies glitches globally across the server. This limits flexibility for multi gamemode servers or situations where some glitches need to be enabled for certain players or modes, while others require them disabled.

Describe the solution you'd like

Add the ability to enable or disable glitches per player instead of globally. There are two solutions that can be implemented:

  1. Add a new server side function setPlayerGlitchEnabled:
-- player enters gamemode A  
setPlayerGlitchEnabled(player, "crouchbug", true)

-- player enters gamemode B  
setPlayerGlitchEnabled(player, "crouchbug", false)
  1. Client side version of setGlitchEnabled:
    This should be easier to implement. Abuse by cheaters can be prevented similarly to how world special properties are handled by adding an event when the state changes on the client side, for example onPlayerChangesGlitchState.

Describe alternatives you've considered

No response

Additional context

No response

Security Policy

  • I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions