Skip to content

MiniPlaceholders Плагін для Minecraft 1.20.1, 1.21.1

MiniMessage Component-based Placeholders API for Minecraft Platforms

від 4drian3d · Modrinth
переглядів
30 переглядів
Оновлено
Оновлено 05.09.2026

MiniPlaceholders

MiniMessage Component-based Placeholders API for Minecraft Platforms

Compatibility

  • Paper 1.21+
  • Velocity 3.4.0+
  • Fabric 1.21.4+
  • Sponge API 12+

User Usage

Check our user usage wiki

API

Check the available Javadocs

Or check the Developer Wiki

Java

class Main { public static void registerExpansion() { final Expansion expansion = Expansion.builder("my-expansion") .audiencePlaceholder(Player.class, "name", (player, ctx, queue) -> { return Tag.selfClosingInserting(player.getName()); }) .globalPlaceholder("tps", (ctx, queue) -> Tag.selfClosingInserting(Component.text(Bukkit.getTps()[0])) ).build;

expansion.register();

Player player; final TagResolver playerResolver = MiniPlaceholders.audiencePlaceholders(); player.sendMessage(miniMessage().deserialize("Player Name: ", player, playerResolver)); } }

Kotlin

fun register() { val expansion = expansion("my-expansion") { audience("name") { aud, _, _ -> aud.getName().asClosingTag() } global("tps") { _, _ -> Component.text(Bukkit.getTps()[0]).asInsertingTag() } }

expansion.register()

val player: Player val playerResolver = MiniPlaceholders.audiencePlaceholders() player.sendMessage(miniMessage().deserialize("Player Name: ", player, playerResolver)) }

Як встановити MiniPlaceholders

  1. A server on Paper, Purpur, Folia or Velocity

    The plugin runs on the server core for Minecraft 1.7.2–26.2; players do not need to install anything.

  2. File goes into the plugins folder

    Download the file MiniPlaceholders-Paper-3.2.0.jar (239 KB) and put it into the server’s plugins folder.

  3. Restart the server

    On startup the plugin creates its own settings folder in plugins.

  4. Use the “To server” button

    On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.

Версії

Із залежностями

MinecraftЗавантажувачФайлДії
26.2Folia, Paper, Purpur26.2239 КБ
26.1Folia, Paper, Purpur26.1239 КБ
1.21.11Folia, Paper, Purpur1.21.11239 КБ
1.21Folia, Paper, Purpur1.21239 КБ
1.20.1Velocity1.20.1238 КБ
1.19.2Velocity1.19.2238 КБ
1.18.2Velocity1.18.2238 КБ
1.16.5Velocity1.16.5238 КБ

Відгуки

Станьте першим, хто оцінить MiniPlaceholders

Коментарі 0

Увійдіть, щоб коментуватиУвійти

Схожі плагіни

Усі плагіни

Детальніше про це

Автор: 4drian3dЛіцензія: Apache-2.0

Ви автор? Зв'яжіться з нами — ми видалимо це протягом 48 годин.