SayanVanish
  • Introduction
  • Installation
  • Configuration
    • settings.yml
    • database.yml
    • <feature>.yml
  • Commands And Permissions
  • Placeholders
  • Features
    • Bukkit
      • Hooks
        • Citizens
        • DiscordSRV
        • Essentials
        • MiniPlaceholders
        • Pl3xMap
        • PlaceholderAPI
        • SquareMap
        • dynmap
        • TAB
        • LuckPerms
      • Prevent
        • Advancement Announce
        • Block Break
        • Block Grief
        • Block Place
        • Chat
        • Creature Target
        • Damage
        • Interact
        • Pickup
        • Push
        • Raid Trigger
        • Sculk Sensor
        • Server Ping
        • Spawner Spawn
        • Tab Complete
        • Food Level Change
      • Actionbar
      • Effect
      • Fake Message
      • Fly
      • Inventory Inspect
      • Invulnerability
      • Level
      • Proxy Vanish Queue
      • Silent Container
      • Sneak Toggle GameMode
      • State
      • Update
    • Proxy
      • Velocity
        • Hook
          • AdvancedServerList
          • EnhancedVelocity
          • MiniPlaceholders
          • TAB
          • Velocitab
          • LuckPerms
        • Prevent
          • Tab Complete
        • Sync Events
        • Update
        • Update Ping
      • Bungeecord
  • API
    • How It Works?
    • How to Use the API
    • Events
  • FAQ
  • Supported Plugins
Powered by GitBook
On this page
  1. Features
  2. Bukkit

Sneak Toggle GameMode

This feature allows vanished players to toggle their game mode by sneaking.

FeatureSneakToggleGameMode

Parameter
Description
Default Value
Possible Values

fallbackMode

The game mode to switch to if no previous mode is found

SURVIVAL

SURVIVAL, CREATIVE, ADVENTURE, SPECTATOR

Behavior:

  • When a vanished player sneaks, their game mode toggles between their current mode and spectator mode.

  • The player's original game mode is restored when they stop sneaking.

  • The feature ensures that the player's flight status is preserved during the toggle.

PreviousSilent ContainerNextState

Last updated 4 months ago