luca28pet / PortalsPE

A PocketMine-MP plugin.
GNU Affero General Public License v3.0
13 stars 16 forks source link
pocketmine-mp-plugin

PortalsPE

A PocketMine-MP portal plugin.

Latest release: https://poggit.pmmp.io/p/PortalsPE/

Latest development phars: https://poggit.pmmp.io/ci/luca28pet/PortalsPE/PortalsPE

How to create a portal:

Flags: Every portal has a set of flag which can modify its behaviour. Current list of implemented flags:

See Commands section belows to see how to edit flags.

Commands:

Permissions:

  • portalspe.command.portal: access the main command
  • portalspe.portal.portalName: access to portalName

Config:

---
#Do not edit this
version: 1

#Choose how the plugin detects players movement: use "event" to use PlayerMoveEvent or "task" to use a repeating task
#Best choice may be "task"
movement-detection: "task"

#Task time in seconds (only matters when "task" is selected in the previous field)
task-time: 3

#Language for players messages. You can use {player} and {portal} variables
lang:
  error: "The destination of this portal is in a world that does not exist or is not loaded"
  no-perm: "You do not have permission to use this portal"
  success: "You have entered the portal"
...