Skip to content

Latest commit

 

History

History
115 lines (86 loc) · 3.68 KB

README.md

File metadata and controls

115 lines (86 loc) · 3.68 KB

start2

TODO List

  • Fix teleport on join bug (maybe related to PocketMine)
  • Fix force hub
  • Fix spawn messages for hubs
  • Fix teleport on death
  • Add multi server support

MSpawns

Multiple Spawn plugin for PocketMine-MP

Category

PocketMine-MP plugins

Requirements

PocketMine-MP API 3.0.0-ALPHA1 - 3.0.0-ALPHA6

Overview

MSpawns is a Multiple Spawn plugin.

EvolSoft Website: http://www.evolsoft.tk

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) and a spawn for each world.
You can also customize spawn settings, spawn messages... and you can also set aliases! (read documentation)

Commands:

/mspawns - MSpawns commands
/setalias - Set alias
/hub - Teleport to global spawn
/sethub - Set global spawn
/spawn - Teleport to world spawn
/setspawn - Set world spawn

To-Do:

- Bug fix (if bugs will be found)

Documentation

Configuration (config.yml):

---
# Available Tags for messages:
#  - {PLAYER}: Show current player name
#  - {WORLD}: Show current world name
# Show [MSpawns] prefix
show-prefix: true
# 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
# Hub message
hub-message: "Welcome to Hub, {PLAYER}"
# 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
# Spawn message
spawn-message: "Teleported To {WORLD} Spawn"
# 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
...

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

Commands:

/mspawns - MSpawns commands (aliases: [ms])
/setalias - Set alias
/hub - Teleport to global spawn
/sethub - Set global spawn
/spawn - Teleport to world spawn
/setspawn - Set world spawn

Permissions:

  • mspawns.* - MSpawns commands permissions.
  • mspawns.info - Allows player to read info about MSpawns.
  • mspawns.reload - Allows player to reload MSpawns.
  • mspawns.sethub - Allows player to set hub.
  • mspawns.hub - Teleport player to hub.
  • mspawns.setalias - Allows player to set alias.
  • mspawns.setspawn - Allows player to set spawn.
  • mspawns.spawn - Teleport player to world spawn.