GithubHelp home page GithubHelp logo

fabrictpa's Introduction

FabricTPA

CurseForge downloads GitHub package.json version Discord server
A server-side Fabric/Quilt mod that adds /tpa command-set.
Works for Minecraft 1.16.2+ (snapshots not fully tested)
Requires FabricAPI

Commands

All commands except /tpaconfig don't require OP permissions. They're meant for everyone on a server to use.

/tpa <player> - Initiates request for you to teleport to <player>
/tpahere <player> - Initiates request for <player> to teleport to you

/tpacancel [<player>] - Cancel a tpa or tpahere request you've initiated, argument required if multiple ongoing
/tpaaccept [<player>] - Accept a tpa or tpahere request you've received, argument required if multiple ongoing
/tpadeny [<player>] - Deny a tpa or tpahere request you've received, argument required if multiple ongoing /back - Return to previous position

/tpaconfig [<option> [<value>]] - Get/Set config options, more info below (Requres OP permission level 2)

LuckPers / fabric-permission-api

There are only 2 permissions:

  • fabrictpa.tpa allows players to execute the base commands
  • fabrictpa.config allows players to edit the config using the /tpaconfig command

Configuration

Configuration is done through /tpaconfig. There are currently 5 configurable options.
Configuration is also saved in config/FabricTPA.properties, from which the values are loaded at server startup. It also updates when a setting is changed in-game.

timeout - How long should it take for a tpa or tpahere request to time out, if not accepted/denied/cancelled. Default: 60 (seconds)
stand-still - How long should the player stand still for after accepting a tpa or tpahere request. Default: 5 (seconds)
disable-bossbar - Whether to disable the boss bar indication for standing still, if set to true will use action bar for time. Default: false
cooldown - The minimum time between teleporting and the next request. Default: 5 (seconds)
cooldown-mode - The mode for the cooldown, one of 3 values: WhoTeleported, WhoInitiated, BothUsers. Default: WhoTeleported. More info below

Cooldown modes

WhoTeleported - The cooldown is applied to whoever got teleported
WhoInitiated - Cooldown is applied to whoever initiated the request
BothUsers - The Cooldown is applied to both players involved in the teleport request

fabrictpa's People

Contributors

codedsakura avatar lingmuqingyu avatar spaceclouds42 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.