Skip to content

Find player's biome using a PlaceholderAPI placeholder

License

Notifications You must be signed in to change notification settings

pseudosmp/PlayerBiomes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • Find player's exact biome using a PlaceholderAPI placeholder
  • Use /whereami to find what biome you are in
  • Gives you the exact same name that the client sees which means it supports custom biomes (datapacks like Terralith, Incendium, etc.)

Commands

/whereami:

Permission: playerbiomes.command.whereami (True by default)

Description: Displays the name of the biome the player is currently in. image

Configuration: (config.yml)

Options are described in comments beside them Latest

Placeholders

image

%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%:

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%

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"


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 this plugin! Thanks to @si6gma (Discord) for help with string manipulation!

Versions <= 4.3.0 and 6.0.0 utilize the JeffLib library for initializing placeholders and getting the biome namespaced ID.

Building:

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

bStats - PlayerBiomes image