ZQPortal
Introduce
This plugin is customizable and easy-to-use!Transplanted from my open source Nukkit plugin ZQPortal.
Nukkit runs stably~
Welcome feedback~
Function
- After entering the portal, player can be transmitted to the predetermined target location or target server.
配置文件
config.json:
YAML:
{
"language": "en-us", // "en-us", "zh-cn" and "zh-tw" is supported.
"check_update": true, // Plugin auto upgrade switch,"true" or "false".
"checking_mode": "task", // The mode used to detect whether the player is in the portal,value "event" or "task".
"interval": 2 // Task detection interval, In seconds(working only "checking_mode" value is "task").
}
checking_mode's explain
When there are a large number of player, it is recommended to use the "task" mode and increase the detection interval "interval" to obtain better performance.(I guessed~)Test performance and memory occupation by yourself~
- "event": Use player move event monitoring to detect player's position.
- "task": Use a timer to detect player's position.
Command
Command | Parameter | Description | Permission |
---|---|---|---|
/portal set | <string: name> | Enter the Normal Portal setting mode. | OP |
/portal set | <string: name> [string: address] [int: port] | Enter the Cross Server Portal setup mode. | OP |
/portal del | <string: name> | Remove a portal. | OP |
/portal can | Cancel set portal. | OP | |
/portal reload | Reload all configuration files. | OP |
Demonstration
Normal Portal

Cross Server Portal
