Coder Social home page Coder Social logo

mspawns's Introduction

start2

MSpawns

Multiple spawns plugin for PocketMine-MP

Category

PocketMine-MP plugins

Requirements

PocketMine-MP API 3.0.0

Overview

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

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

Donate

Please support the development of this plugin with a small donation by clicking ๐Ÿ’ต here. Your small donation will help me paying web hosting, domains, buying programs (such as IDEs, debuggers, etc...) and new hardware to improve software development. Thank you ๐Ÿ˜„

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.

mspawns's People

Contributors

letsplaydev avatar lukeeey avatar milkandcookiz avatar poggit-bot avatar splexpe avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.