Skip to main content

Competitive Gamemode

Displays a warning when attempting to disconnect from a server

note
  • Competitive Gamemode is disabled by default on all servers unless explicitly enabled using the API.

Enabling competitive gamemode

CheatBreakerAPI.getInstance().setCompetitiveGame(Player player, true)

Disabling competitive gamemode

CheatBreakerAPI.getInstance().setCompetitiveGame(Player player, false)