(5.0.0 - 5.16.0) 1.0.0 (5.0.0 - 5.16.0) 1.0.1
85
Read more on poggitWelcome 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.
/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.
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.
/portal create <portalname>
to create a new portal with the specified name./portal pos1
and /portal pos2
to set the two opposite corners of the portal by tapping blocks./portal addcommand <portalname> <player/server> <command>
to add a command that will be executed when a player enters the portal./portal msg <portalname> <message>
to set a message that will be displayed when a player enters the portal./portal delete <portalname>
to delete the specified portal.To create a portal named "example", set its positions, add a command, and set a message, follow these steps:
/portal create example
/portal pos1
(tap a block)/portal pos2
(tap another block)/portal addcommand example player say Welcome to the portal!
/portal msg example You have entered the example portal.
.phar
file in the plugins
folder of your PocketMine-MP server.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