PortalOverrides allows you to modify vanilla portal behavior under some circumstances, without preventing all vanilla behavior.
Features
Per-World modifications
Per-Region modifications (Requires WorldGuard)
Teleport the player when they enter a modified portal
Have the player run a list of commands when they enter a modified portal.
Configuration
Code (YAML):
# Disables the vanilla nether and end portals. DisableVanillaPortals: false
# List of all your custom portals. Portals:
1: # The type of portal. Can be either NETHER_PORTAL or END_PORTAL type: NETHER_PORTAL
# The requirements needed for this portal to take effect. requirements: # The world the portal must be in. # Remove this field to apply to all worlds. world: "world"
# The WorldGuard region the portal must be in. # Remove this field to apply to all regions. region: "region"
# The various actions that should be completed actions:
# A list of commands that the player should run when they enter the portal. # Remove this field if there are no commands. commands: -
"/spawn"
# The location the portal should teleport the player. # Remove this if you do not want the portal to teleport the player. teleport:
world: world
x: 0
y: 0
z: 0
yaw: 0
pitch: 0