PlayerBiomes

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 7.1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/playerbiomes
资源信息

Minecraft 版本: 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2 26.2

平台: bukkit folia paper purpur spigot

标签: adventure decoration utility

资源介绍

PlayerBiomes

  • Use /whatbiome to find what biome you are in
  • Send player-specific translations of biome names to players
  • Get the player's biome name formatted in various ways using PlaceholderAPI placeholders
  • Gives you the exact same name that the client sees which means it supports custom biomes (datapacks like Terralith, Incendium, etc.)

Image displaying the usage of the plugin's placeholder in a scoreboard

Commands

/playerbiomes reload (alias /pb reload):

  Permission: playerbiomes.command.reload (false by default)


  Description: Reloads the configuration of PlayerBiomes, and refreshes the translation cache.

/whatbiome (alias /whereami):

  Permission: playerbiomes.command.whatbiome (true by default)


  Description: Displays the name of the current biome of the player running the command.


Image displaying the output of the command `/whatbiome`

Configuration

(config.yml)

Options are described in comments beside them. Here is the latest config.yml

Inside the plugins/PlayerBiomes/ folder, a folder named lang can be created and in it, can be multiple json files named <locale>.json that contain translations of biome names for that locale. You can either extract these from the Minecraft Java client .jar file
, or download these on the fly from a website that hosts those files. Downloading is disabled by default. Read the config for more info.

Placeholders

Image displaying the output of the various placeholders the plugin offers, along with localization

[Fabric Mod Caxton used on Client to render the Tamil font (Resource Pack Used). Check it out!]

%playerbiomes_biome_raw%:

  Gives the complete namespaced ID of the biome

  Examples:

    "minecraft:jungle"

    "terralith:moonlight_grove"

    "terralith:caves/deep_caves"

    "incendium:weeping_valley"

%playerbiomes_biome_name% and %playerbiomes_biome_name_english%:

  Gives the Capitalized name of the biome (Removes the internal path of biomes from the Namespaced ID)

  Examples:

    minecraft:jungle becomes "Jungle"

    terralith:moonlight_grove becomes "Moonlight Grove"

    terralith:caves/deep_caves becomes "Deep Caves"

    incendium:weeping_valley becomes "Weeping Valley"

%playerbiomes_biome_namespace%:

  Gives the Capitalized nameSPACE of the biome

  Examples:

    minecraft:jungle becomes "Minecraft"

    terralith:moonlight_grove becomes "Terralith"

    terralith:caves/deep_caves becomes "Terralith"

    incendium:weeping_valley becomes "Incendium".

%playerbiomes_biome_formatted% and %playerbiomes_biome_formatted_english%:

  Gives the full namespaced ID of the biome in the format: :

  Examples:

    minecraft:jungle becomes "Minecraft: Jungle"

    terralith:moonlight_grove becomes "Terralith: Moonlight Grove"

    terralith:caves/deep_caves becomes "Terralith: Deep Caves"

    incendium:weeping_valley becomes "Incendium: Weeping Valley"

Placeholders ending with _english use the old method that gets the name from the namespaced key directly using string manipulation.


Support and Feature Requests in SpigotMC Resource Discussion Tab / Discord only! Do NOT use the issues tab for this.

Thanks @mfnalex and @RoughlyUnderscore for helping with the initial version of this plugin! Thanks to @si6gma (Discord) for help with string manipulation (< 6.0.0)!

The plugin utilizes the JeffLib library for getting the biome namespaced key for game versions older than 1.19.3.

Building:

  1. Clone the project (the version/branch of your choice)
  2. Build using mvn install

bStats - PlayerBiomes


image

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Create: Creativity Ages -- Energy Bridge

价格:0 墨喵币
下载量:0

查看详情
Four K's Ultimate MC

价格:0 墨喵币
下载量:0

查看详情
Zborka

价格:0 墨喵币
下载量:0

查看详情
Pixie Fix

价格:0 墨喵币
下载量:0

查看详情