Skip to content

Blossom-series /warp command and utilities

License

Notifications You must be signed in to change notification settings

Pau1am/BlossomWarps

 
 

Repository files navigation

BlossomWarps

BlossomWarps is a Minecraft Fabric mod in the Blossom-series mods that provides /warp command and utilities

Table of contents

Dependencies

Config

This library's config file can be found at config/BlossomMods/BlossomWarps.json, after running the server with the mod at least once.

teleportation: TeleportationConfig - teleportation settings
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

  • /warp <warp> - alias of /warp <warp> {self}
    Permission: blossom.warps.warp (default: true)
  • /warp <warp> <who> - teleport a player to a warp point called <warp>
    Permission: blossom.warps.warp.others (default: OP level 2)
  • /warps - alias of /warps list
    Permission: blossom.warps.warps (default: true)
    • list - list all available warps
    • add <name> [<position> <rotation>] [<dimension>] - add a warp called <warp> in <dimension> at <position> with rotation: <rotation>. If position/rotation or dimension not provided, executors position will be used.
      Permission: blossom.warps.add (default: OP level 2)
    • remove <name> - removes a warp called <name>
      Permission: blossom.warps.remove (default: OP level 2)
    • add-global <name> - add warp as global warp (accessible with /<name> after server restart, behavior not defined if command /<name> already exists)
      Permission: blossom.warps.add.global (default: OP level 2)
      As well as each global warp has blossom.warps.global.<name> (default: true)

Translation keys

only keys with available arguments are shown, for full list, please see src/main/resources/data/blossom/lang/en_us.json

  • blossom.warps.add: 1 argument - warp name
  • blossom.warps.add.failed: 1 argument - warp name
  • blossom.warps.remove: 1 argument - warp name
  • blossom.warps.remove.failed: 1 argument - warp name
  • blossom.warps.list.header: 1 argument - dimension name
  • blossom.warps.list.item: 1 argument - warp name
  • blossom.warps.list.item.description: 8 arguments - warp name, warp owner UUID, warp dimension key, warp x, warp y, warp z, warp yaw, warp pitch
  • blossom.warps.list.dimension.empty: 1 argument - dimension name

zh_cn (Chinese, Simplified), zh_tw (Chinese, Traditional) - added by @BackWheel

About

Blossom-series /warp command and utilities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 91.0%
  • Shell 9.0%