Git Product home page Git Product logo

blossomwarps's Introduction

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

blossomwarps's People

Contributors

codedsakura avatar pau1am avatar jarva avatar

Watchers

 avatar

blossomwarps's Issues

The warps list command is invalid

The mod doesn't give me any hints when I use the commands /warps list minecraft:overworld and /warps list minecraft:the_end. But the command /warps list minecraft:the_nether works.

I'm getting a crash, I'm not sure which mod is causing it.

Description: My server keeps crashing after adding both BlossomWarps and BlossomLib, I'm not sure which mod is causing it since it keeps saying a different mod is causing the crash each time. First it said, it was Banhammer so I removed that next it said the Vanish mod is causing the crash so I removed that and now it's just crashing out of nowhere.

Log: https://mclo.gs/5ktz7Uk

Missing message

I found that the mod will not give the corresponding message reply for some unknown or wrong commands.

When I enter /warp xxx (when xxx is an uncreated warp), the mod will not give any response, when I enter /home xxx (when xxx is an uncreated home), the same problem exists.

I think two text messages should be added for Blossomwarp and Blossomhome to inform players that they cannot teleport to uncreated warp or home.

Chinese naming support

When I used the /warps add command, I found that I could only set the name of the teleport I wanted to set to English. Could you add support for Chinese naming for this mod?

/warp <warp> <who> works with permission level 0

I wanted to add this mod to my server for a simple spawn warp, but quickly found out that all players, even the ones with permission level 0, can warp other players with this command.

In the mod description, it says the default permission level for /warp should be 2.

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.