BlossomTpa
BlossomTpa is a Minecraft Fabric mod in the Blossom-series mods that provides /tpa command and utilities
Table of contents
Dependencies
- BlossomLib
- fabric-permissions-api / LuckPerms / etc. (Optional)
Config
This mod's config file can be found at config/BlossomMods/BlossomTPA.json
, after running the server with
the mod at least once.
teleportation
: TeleportationConfig -
teleportation settings
timeout
: int - (seconds), how long a tpa/tpahere request is active before it timeouts
standStill
: int - (seconds), how long the player has to stand still before being teleported
cooldown
: int - (seconds), how long the player has to wait after teleporting using this command, before being able to
teleport again
Commands & their permissions
/tpa <target>
- initiates a tpa request to<target>
Permission:blossom.tpa
(default: true) ORblossom.tpa.command.tpa
(default: true)/tpahere <target>
- initiates a tpahere request for<target>
Permission:blossom.tpa.here
(default: true) ORblossom.tpa.command.tpahere
(default: true)/tpaaccept [<target>]
- accepts a tpa/tpahere request from<target>
Permission:blossom.tpa
(default: true) ORblossom.tpa.command.tpaaccept
(default: true)/tpadeny [<target>]
- denies a tpa/tpahere request from<target>
Permission:blossom.tpa
(default: true) ORblossom.tpa.command.tpadeny
(default: true)/tpacancel [<target>]
- cancels a tpa/tpahere request to<target>
Permission:blossom.tpa
(default: true) ORblossom.tpa.command.tpacancel
(default: true)
A player with the permission blossom.tpa.disallowed
will not be able to receive tpa requests.
The player sending the tpa request will receive a warning message, while the player receiving the request will see nothing.
A player with the permission blossom.tpa.accept.always.tpa
or blossom.tpa.accept.always.tpahere
will always automatically accept any incoming tpa or tpahere request respectively.
Neither of the players will receive any messages about the request.
A player with the permission blossom.tpa.accept.force.tpa
or blossom.tpa.accept.force.tpahere
will always have any outgoing tpa or tpahere request (respectively) automatically forced to be accepted.
Neither of the players will receive any messages about the request.
This behaviour is similar to the vanilla /tp
command, but with the stand-still period.
Translation keys
Only keys with available arguments are shown, for full list, please see
src/main/resources/data/blossom/lang/en_us.json
Note on terms used here:
"initiator" - player who initiated the tpa/tpahere request and can /tpacancel it
"receiver" - player who's received a tpa/tpahere request and has to /tpaaccept or /tpadeny it
blossom.tpa.fail.to-self
: 0 argumentsblossom.tpa.fail.disallowed
: 1 argument - receiverblossom.tpa.fail.similar
: 1 argument - receiverblossom.tpa.fail.multiple
: 0 argumentsblossom.tpa.fail.none
: 0 argumentsblossom.tpa.fail.none-from
: 1 argument - initiatorblossom.tpa.fail.cancel.none-to
: 1 argument - receiverblossom.tpa.to.start.initiator
: 6 arguments - timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny commandblossom.tpa.to.start.receiver
: 6 arguments - timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny commandblossom.tpa.to.timeout.initiator
: 6 arguments - timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny commandblossom.tpa.to.timeout.receiver
: 6 arguments - timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny commandblossom.tpa.to.accept.initiator
: 6 arguments - timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny commandblossom.tpa.to.accept.receiver
: 6 arguments - timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny commandblossom.tpa.to.deny.initiator
: 6 arguments - timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny commandblossom.tpa.to.deny.receiver
: 6 arguments - timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny commandblossom.tpa.to.cancel.initiator
: 6 arguments - timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny commandblossom.tpa.to.cancel.receiver
: 6 arguments - timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny commandblossom.tpa.here.start.initiator
: 6 arguments - timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny commandblossom.tpa.here.start.receiver
: 6 arguments - timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny commandblossom.tpa.here.timeout.initiator
: 6 arguments - timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny commandblossom.tpa.here.timeout.receiver
: 6 arguments - timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny commandblossom.tpa.here.accept.initiator
: 6 arguments - timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny commandblossom.tpa.here.accept.receiver
: 6 arguments - timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny commandblossom.tpa.here.deny.initiator
: 6 arguments - timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny commandblossom.tpa.here.deny.receiver
: 6 arguments - timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny commandblossom.tpa.here.cancel.initiator
: 6 arguments - timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny commandblossom.tpa.here.cancel.receiver
: 6 arguments - timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny command
zh_cn
(Chinese, Simplified), zh_tw
(Chinese, Traditional) - added by @BackWheel