Code Monkey home page Code Monkey logo

customelevator's Introduction

Discord

changelog

version 1.3.0 :

  • add world configuration
  • modification of config.yml

Elevator

A simple PocketMine-MP plugin that allows to create elevators on your server.

How to use

You just have to setup an id in the config.yml. Place 2 blocks aligned, jump to go up and sneak to go down.

Video

Alt text

Config

---
# DON'T TOUCH!
config-version: "1.0.0"
prefix: "§6[§fElevatorBlock§6]"

# Elevator block name
block: "diamond block"

# Enable or disable the distance system (true|false)
distance: true

# Maximum distance between 2 elevators
max_distance: 5

# permission to use elevator
permission: true
#if you would use distance by a rank and if permission is true

#dist:
#  permission1:
#    if distance = true
#    max_distance: 4
#  permission2:
#    if distance = true
#    max_distance: 4
dist:
  player_6_block:
    max_distance: 5
  player_7_block:
    max_distance: 7

# ==(CONFIGURATION)==
Settings:
  # ==(WORLD MANAGER)==
  # add to "whitelist" or "blacklist" modes
  WorldManager:
    # Valid modes:
    # - whitelist
    # - blacklist
    # - false
    mode: whitelist
    # Add the names of worlds that are in the whitelist
    worlds-whitelist:
      - "world"
      - "world-2"
      - "ACM"
    # Add the names of worlds that are in the blacklist
    worlds-blacklist:
      - "MinePvP"
      - "ZonePvP"

no_elevator_found: "{prefix} §cNo elevator was found"
distance_too_hight: "{prefix} §cAn elevator has been found, but it's too far"

customelevator's People

Contributors

fernanacm avatar jjwon419 avatar poggit-bot avatar royaljacques avatar

Stargazers

 avatar  avatar

customelevator's Issues

Error when jump of the dirt

Error: Call to a member function getTypeId() on null
File: plugins/Elevator_dev-6.phar/src/Ayzrix/Elevator/Events/Listeners/PlayerListener line 20

rewrite the code completely

several defects are apparent in the plugin:

  • no possibility to choose between 1 jump only or directly to the highest
  • mixed config
  • unoptimized code

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.