Sueta

StopNetherTrap

1.1 December 2019

Plugin to prevent nether portals trap

·Plugin

This small plugin prevents a player from getting trapped inside the portal.
It checks if a player is trapped and disables it, then enables it again.

How it works

YouTube

Commands

  • /stopnt - Info about plugin
  • /stopnt reload - Reload config (OP or Console)


When using with Illegal Stack Remover 2.1.0e and upper set PreventPortalTrap to false in the its config.

English (default) config
portal-disabled: "&eThe portal has been disabled. It will be enabled in &a2 minutes&e."
portal-enabled: "&eThe portal has been enabled."
will-disabled-first: "&eThe portal will be disabled in &a%s seconds &eif you stay here."
will-disabled-warn: "&eThe portal will be disabled in &a%s <f>&e."

# <f> placeholder
singular-word: "second"
plural-word: "seconds"

# all values in seconds
stay-counter: 15 # how long player can stay in portal
stay-warn: 5 # when start sending warning to player
auto-enable: 120 # time before auto enable disabled portal

# the list is all in lowercase
ignored-worlds:
   - spawn
  - world1
Russian config
portal-disabled: "&eПортал деактивирован. Повторная активация через &a2 минуты&e."
portal-enabled: "&eПортал активирован."
will-disabled-first: "&eПортал будет деактивирован через &a%s секунд&e, если вы его не покинете."
will-disabled-warn: "&eДеактивация портала через &a%s <f>&e."

singular-word: "секунду"
plural-word: "секунды"

stay-counter: 15
stay-warn: 5
auto-enable: 120

ignored-worlds:
   - spawn
  - world1
German config
portal-disabled: "&eDas Portal wurde deaktiviert. Die Reaktivierung nach &a2 Minuten&e."
portal-enabled: "&eDas Portal wurde aktiviert."
will-disabled-first: "&eDas Portal wird deaktiviert nach &a%s Sekunden&e, wenn man es nicht lässt."
will-disabled-warn: "&eDas Portal wird deaktiviert nach &a%s <f>&e."

singular-word: "Sekunde"
plural-word: "Sekunden"

stay-counter: 15
stay-warn: 5
auto-enable: 120

ignored-worlds:
   - spawn
  - world1
Spanish config (NayZion)
# NayZion - https://www.spigotmc.org/members/nayzion.1025207/
portal-disabled: "&eEl portal ha sido deshabilitado. Estará habilitado en &a2 minutos&e."
portal-enabled: "&eEl portal ha sido habilitado."
will-disabled-first: "&eEl portal se desactivará en &a%s segundos &esi te quedas aqui."
will-disabled-warn: "&eEl portal se desactivará en &a%s <f>&e."

# <f> placeholder
singular-word: "segundo"
plural-word: "segundos"

# todos los valores en segundos
stay-counter: 15 # cuánto tiempo puede permanecer el jugador en el portal
stay-warn: 5 # cuando comience a enviar una advertencia al jugador
auto-enable: 120 # tiempo antes de habilitar automáticamente el portal deshabilitado

# la lista está en minúsculas
ignored-worlds:
- spawn
- world1

Similar projects

Plugin →