MonGen's Cave Docs
  • Welcome here!
  • Premium Products
    • mc-DiscordLink
      • Plugin FAQ
      • Commands
      • Feature Help
        • Setup Discord Bot
        • Link System
        • Embed Builder
      • Supported Plugins
        • Rank Plugins
        • PlaceholderAPI
        • DiscordLinkProxy
        • Floodgate
      • Migrate Data
    • mc-KillStats
      • Plugin FAQ
      • Supported Plugins
      • Commands
      • Hooks
        • PlaceholderAPI
      • Developer API
    • mc-Levels
      • Plugin FAQ
      • Commands
      • Supported Plugins
        • PlaceholderAPI
        • AxBooster
      • Developer API
    • mc-Credits
      • Plugin FAQ
      • Commands
      • Feature Help
        • GUI Options
      • Supported Plugins
        • PlaceholderAPI
      • Developer API
    • mc-Homes
      • Plugin FAQ
      • Commands
      • Feature Help
        • Safe Teleport
        • Home Name
  • Free Products
    • mc-FunGun
      • Plugin FAQ
      • Supported Plugins
      • Commands
    • mc-PlayerVisibility
      • Plugin FAQ
      • Supported Plugins
      • Commands
    • mc-IPGuard
      • Plugin FAQ
      • Supported Plugins
      • Commands
    • mc-Scheduler
      • Plugin FAQ
      • Commands
      • Supported Plugins
        • PlaceholderAPI
  • REACH US HERE
  • Discord Support
  • BuiltByBit
  • SpigotMC
  • Polymart
Powered by GitBook
On this page
  • What does the Safe Teleport feature do?
  • Type of Mode's
  1. Premium Products
  2. mc-Homes
  3. Feature Help

Safe Teleport

Use the plugin's safe-teleport feature for complete security!

What does the Safe Teleport feature do?

The Safe Teleport feature ensures that the destination is still safe before teleporting the player to their home. It checks the location for potential dangers (like lava, void, or unsafe blocks) to prevent unwanted damage or death.

How the plugin reacts in these situations depends on the configured safe-teleport.mode—allowing you to choose whether the teleport is canceled, requires confirmation, or proceeds anyway.

Type of Mode's

  safe-teleport:
    enabled: true
    # Options: cancel, confirm, auto
    mode: "auto"
    scan-radius: 5
    check:
      air-under-player: true
      dangerous-blocks: true
      end-crystal-nearby: true
      liquid: true
      suffocation-risk: true

Mode 'cancel'

  • This mode immediately blocks the teleport if the location is deemed unsafe.

Mode 'confirm'

  • This mode opens a confirmation menu if the location is potentially dangerous, leaving it up to the player to decide whether they still want to teleport at their own risk.

Mode 'auto' (recommended)

  • In this mode, if the location is unsafe, the plugin will attempt to find a safe spot nearby within the specified radius. If a safe location is found, the player will be teleported there; otherwise, the teleport will fail.

PreviousFeature HelpNextHome Name

Last updated 1 month ago