Skip to content

Portals

Seppe Volkaerts edited this page Apr 26, 2023 · 5 revisions

Portals?

The portals plugin allows portals to be created that can transport players between servers. The portals will take up a visual of projectiles in the game, or invisible if desired.

Installing the plugin

If you are not using the docker image to deploy terre, then you will also need to install the portals plugin first before you can use it. You can do this by downloading the jar from the latest packages and placing it in the plugins directory. Now you will need to restart terre and if installed correctly, you will see that it is loaded in the console output:

Initializing Portals plugin!

Commands

Creating the portals is all done using commands:

/portal create|delete ...

# Creates a portal in the current server to the destination server name
# name: a unique name that identifies the portal, must be unique across all servers
# type: is the type/visual of the portal, defaults to invisible if not specified
#       allowed: lunar, nebula, magnetosphere, electrosphere, fireball, shadowball, void, invisible
# pos: by default is the current player position used, but this can be overridden by specifying coordinates explicitly
/portal create <name> <destination> [--type <type>] [--pos <x> <y>]

# Deletes a portal with the specified name
/portal delete <name>

Examples

# Create a lunar portal at the current position to the survival server
/portal create myportal survival --type lunar

# Create a fireball portal at the specified position to the survival server
/portal create myportal survival --type fireball --pos 100 100

# Delete the portal that was created before
/portal delete myportal

Permissions

The following permissions can be used if a permission plugin is installed (like tshock-users).

# Gives access to the /portal command
portals.command.portal
Clone this wiki locally