Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for Foxxite

A very simple plugin that does as its name would suggest. Prevents the first death of a player.

Report PreventFirstDeath?

PreventFirstDeath

A very simple plugin that does as its name would suggest. Prevents the first death of a player.

The plugin sends a configurable message to the player when they would have died for the first time. Message send to player If the plugin detects that an rtp command is available, it will notify the player of it as well.

The plugin can be configured to also kill all nearby hostiles in a configurable area (default 10 blocks).

Config

All messages are styled with MiniMessage

preventFirstDeath:
  enabled: true
  message: |2+


    <green>Hey there <aqua>{PLAYER}</aqua> you almost died! You have been saved by the gods this time.</green>

    <red>Next time you won't be so lucky!</red>

  messageHasRtp: |2+


    <green>Hey there <aqua>{PLAYER}</aqua> you almost died! You have been saved by the gods this time.</green>

    <red>Next time you won't be so lucky!</red>

    <gray>Use <aqua>/rtp</aqua> to find a new location if this one is too dangerous for you.</gray>

  killNearbyHostiles: true
  killRadius: 10.0

  rtpCommands:
  - rtp
  - wild

Information

CategoryProtection
Published onFebruary 27, 2024
LicenseUnspecified
Downloads17
Stars1
Watchers1

Pinned Versions

Members

Avatar for Foxxite

Foxxite

Owner