By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

The **Portals** plugin lets you create interactive portals in PocketMine-MP 5.0 .
version 1.0.1
Approved
Direct Download How to install?
Switch version
343 Downloads / 362 Total
1 Review
Plugin Description §

Portals Plugin

Welcome to the Portals plugin for PocketMine-MP! This plugin allows players to create and manage portals that execute commands or display messages when players enter them.

Features

  • Create portals with custom names
  • Set positions for portals
  • Add commands to be executed when players enter a portal
  • Set messages to be displayed when players enter a portal
  • Delete existing portals

Commands

  • /portal create portalname: Create a new portal with the specified name.

  • /portal pos1: Set the first position of the portal by tapping a block.

  • /portal pos2: Set the second position of the portal by tapping a block.

  • /portal addcommand portalname <player/server> command: Add a command to be executed when a player enters the specified portal.

  • /portal msg portalname message: Set a message to be displayed when a player enters the specified portal.

  • /portal delete portalname: Delete the specified portal.

  • Note : /portal addcommand portalname player command : The command will be executed as the player who entered the portal.

  • Note : /portal addcommand portalname server command : The command will be executed as the server console.

Permissions

  • portals.command: Allows the player to use the portal commands (default: op).

Configuration

The configuration file (config.yml) is used to store portal data, including positions, commands, and messages. The plugin will automatically save the configuration file when portals are created or modified.

Usage

  1. Create a Portal: Use /portal create <portalname> to create a new portal with the specified name.
  2. Set Positions: Use /portal pos1 and /portal pos2 to set the two opposite corners of the portal by tapping blocks.
  3. Add Commands: Use /portal addcommand <portalname> <player/server> <command> to add a command that will be executed when a player enters the portal.
  4. Set Message: Use /portal msg <portalname> <message> to set a message that will be displayed when a player enters the portal.
  5. Delete a Portal: Use /portal delete <portalname> to delete the specified portal.

Example

To create a portal named "example", set its positions, add a command, and set a message, follow these steps:

  1. /portal create example
  2. /portal pos1 (tap a block)
  3. /portal pos2 (tap another block)
  4. /portal addcommand example player say Welcome to the portal!
  5. /portal msg example You have entered the example portal.

Installation

  1. Download the plugin.
  2. Place the plugin's .phar file in the plugins folder of your PocketMine-MP server.
  3. Start or restart the server to load the plugin.

Support

If you encounter any issues or have any questions, please open an issue on the GitHub repository.


Author: BrahmjotSingh0 Version: 1.0.0
API: 5.0.0
License: MIT

What's new §
  • Dont send empty string if no message is set, Fixed portal working on multiple worlds.
    • updated readme
  • Merge remote-tracking branch 'origin/main'

rest1npieces
Outdated
using v1.0.0
25 Jul 24
Great

Reply to review by :

/ 5
Supported API versions
5.0.0
->
5.16.0
Producers §
  • Collaborators:
    • @BrahmjotSingh0
License §
Categories:
Mechanics
Teleportation
Miscellaneous
Permissions
Commands

You can leave one review per plugin release, and delete or update your review at any time

/ 5
Loading...