Il portale della tecnologia e dei tutorial by Flavius12

MSpawns

Multiple spawns plugin for PocketMine-MP

Requirements

PocketMine-MP API 3.0.0

Overview

MSpawns let you set multiple spawns on your PocketMine-MP server.

This Plugin uses the New API. You can't install it on old versions of PocketMine.

MultiWorld Bugs (for eg. Invisible chunks...) aren't related to plugin or PocketMine but to Minecraft PE.

You can set a global spawn (hub/lobby) and a spawn for each world. You can also customize spawn settings, spawn messages... and you can also set aliases! (read documentation)

Documentation

Configuration (config.yml):

---
# Available Tags for messages:
#  - {PLAYER}: Show current player name
#  - {PREFIX}: Show plugin prefix
#  - {WORLD}: Show current world name
# Show hub-message or spawn-message when a player joins
show-messages-onjoin: true
# Force teleportation to hub when a player joins
force-hub: false
# Show message when a player teleports to hub
enable-hub-message: true
# Force teleportation to spawn when a player joins (obviously if you enable force-hub, force-spawn won't work)
force-spawn: false
# Show message when a player teleports to spawn
enable-spawn-message: true
# Enable aliases usage
enable-aliases: true
# Teleport a player to the spawn/hub when they die
# 1 = Teleport to spawn 2 = Teleport to Hub
teleport-on-death: 1
# External hub server 
hub-server:
 # Enable external hub server
 enabled: false
 # Name of the hub server
 name: "External Server"
 # Hostname of the hub server
 host: 127.0.0.1
 # Port of the hub server (default 19132)
 port: 19132

Messages (messages.yml):

---
#Hub message
hub-message: "{PREFIX} &bWelcome to Hub, &a{PLAYER}"
#No hub message
no-hub: "{PREFIX} &cNo hub set"
#Spawn message
spawn-message: "{PREFIX} &bTeleported to &e{WORLD}&b Spawn"
#No spawn message
no-spawn: "{PREFIX} &cNo spawn found in this world"
#Invalid world
invalid-world: "{PREFIX} &cWorld not found"
#Spawn aliases disabled
aliases-disabled: "{PREFIX} &cSpawn aliases are disabled on this server"
...

Commands:

/mspawns - MSpawns commands (aliases: [ms])
/sethub - Set hub (aliases: [setlobby])
/delhub - Delete hub (aliases: [dellobby])
/hub - Teleport to hub (aliases: [lobby])
/setspawn - Set world spawn
/delspawn - Delete world spawn
/spawn - Teleport to world spawn
/setalias - Set alias
/delalias - Delete alias

Aliases:

With aliases you can create commands that teleport players.
You can manually edit them in aliases.yml file.
If you want to create an alias you must specify the name and the target world (remember that the target world must have a spawn set)
Example usage: Imagine that you have a world called "pvpworld" and you want to set an alias called "pvp".

  1. Set spawn in world "pvpworld" with /setspawn
  2. Do /setalias pvp pvpworld
    To use the alias you must simply do /pvp and you will be teleported to "pvpworld" spawn

Remember that you can use aliases only if you set to true the value of "enable-aliases" in config.yml

Permissions:

  • mspawns.* - MSpawns permissions tree.
  • mspawns.info - Let player read info about MSpawns.
  • mspawns.reload - Let player reload MSpawns.
  • mspawns.delhub - Let player delete hub.
  • mspawns.sethub - Let player set hub.
  • mspawns.hub - Let player teleport to hub.
  • mspawns.delalias - Let player delete alias.
  • mspawns.setalias - Let player set alias.
  • mspawns.delspawn - Let player delete world spawn.
  • mspawns.setspawn - Let player set world spawn.
  • mspawns.spawn - Let player teleport to world spawn.

Do you want this plugin to be updated?

If this plugin reaches $50 of interest, it will be updated to support latest version of PocketMine-MP.

So to give interest in updating this plugin, donate and wait for the threshold to be reached. You can just donate $1. Your small contribute will help update this plugin!

$25 of $50 raised

DONATE

NOTE: Please specify the plugin you're donating for on notes!

If you want, I can also update the plugin just for you for $10. Just write an email to [email protected]

Download

Version 2.2
Requirements PocketMine-MP API 3.0.0
Download Count 514

Click here to go back to the PocketMine-MP plugin list