▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/PlayerBiomes

PlayerBiomes

Get player's Biome Name, however you like it to be displayed! (Using PlaceholderAPI)

87
2

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

Совместимость

Minecraft: Java Edition

1.21.x1.20.x1.19.x1.18.x1.17.x1.16.x

Платформы

Поддерживаемые окружения

Сервер

Детали

Лицензия:MIT
Опубликован:4 месяца назад
Обновлён:3 месяца назад
Главная