Giter Site home page Giter Site logo

portalspe's Introduction

PortalsPE

A PocketMine-MP portal plugin.

How to create a portal:

  • /portal pos1, then break the first position
  • /portal pos2, then break the second position
  • Go to where you want the destination of the portal to be, and do /portal create portalName
  • If you want to fill the portal with a block (for example water), do /portal fill portalName blockId (the id must be numeric)

Commands:

  • /portal pos1
  • /portal pos2
  • /portal create portalName
  • /portal list: see the name of the created portals
  • /portal delete portalName: deletes a portal
  • /portal fill portalName blockId: fill a portal with a block

Permissions:

  • portal.admin: access to the main command

Config:

#Choose how the plugin detects players movement: use "event" to use PlayerMoveEvent or "task" to use a repeating task
#Best choice may be "event"
movement-detection: "event"

#Task time in seconds (only matters when "task" is selected in the previous field)
task-time: 3

#Automatically loads worlds if they are not loaded when a player enters a portal (true or false)
auto-load: true

#If you set this to true, the plugin will check if the player has the right permission to use the portal
#For example, if a player enters the portal "survival", he will be teleported only if he has the permission "portal.survival" (you can use a permission manager like PurePerms)
#Otherwise, if this is false, every player can use every portal
permission-mode: false

#Language for players messages
message-error: "The destination of this portal is in a world that does not exixts or is not loaded"
message-tp: "You have entered the portal"
message-no-perm: "You do not have permission to use this portal"
...

portalspe's People

Contributors

blazinnova avatar

Watchers

James Cloos 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.