GithubHelp home page GithubHelp logo

triagonal / metateleportdelay Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 73 KB

Meta-based teleport delay for EssentialsX and LuckPerms users.

Home Page: https://www.spigotmc.org/resources/metateleportdelay.90472/

License: GNU General Public License v3.0

Java 100.00%
essentialsx luckperms java minecraft bukkit

metateleportdelay's Introduction

MetaTeleportDelay

MetaTeleportDelay is a small plugin to allow for customizable teleport delay times based on user/group meta. This plugin was originally written for members of the M.O.S.S. discord server, and has been made available here and on Spigot for others to use.

Requires EssentialsX 2.18.0 or above and a recent version of LuckPerms.

This plugin uses bStats for metrics collection. You can disable metrics collection by using the global bStats config, located at /plugins/bStats/config.yml.

Usage

MetaTeleportDelay uses LuckPerms' meta system to determine the teleport delay for a user. Set user or group based meta with the key essx-teleport-delay to define a delay. The value of the meta pair will always override the value in the EssentialsX config, even if the values are the same.

If you don't know how LuckPerms' meta works, refer to their wiki: https://luckperms.net/wiki/Prefixes,-Suffixes-&-Meta and https://luckperms.net/wiki/Meta-Commands.

Examples:

  • /lp group vip meta set essx-teleport-delay 5.5 will give the vip group a teleport delay of 5.5 seconds.
  • /lp user epicgamer420 meta set essx-teleport-delay 1 will give the player epicgamer420 a teleport delay of 1 second.
  • /lp group default meta set essx-teleport-delay 10 dimension-type=the_nether will give the default group a teleport delay of 10 seconds if they are currently inside the nether dimension.
  • /lp group admin meta set essx-teleport-delay 0 will give the admin group a teleport delay of 0 seconds, which makes their teleports instant.

Players or teleport sources with essentials.teleport.timer.bypass are able to bypass the teleport delay as normal.

metateleportdelay's People

Contributors

triagonal avatar

Stargazers

 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.