Skip to content

MiniPlaceholders إضافة لماينكرافت 1.20.1, 1.21.1

واجهة برمجة تطبيقات Placeholders قائمة على مكونات MiniMessage لمنصات Minecraft

ابتداءً من 4drian3d · Modrinth
مشاهدة
32 مشاهدة
محدّث
محدّث 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 KB
26.1Folia, Paper, Purpur26.1239 KB
1.21.11Folia, Paper, Purpur1.21.11239 KB
1.21Folia, Paper, Purpur1.21239 KB
1.20.1Velocity1.20.1238 KB
1.19.2Velocity1.19.2238 KB
1.18.2Velocity1.18.2238 KB
1.16.5Velocity1.16.5238 KB

التقييمات

كن أول من يقيّم MiniPlaceholders

التعليقات 0

سجّل الدخول للتعليقتسجيل الدخول

إضافات برمجية مشابهة

كل الإضافات البرمجية

المزيد حول هذا

المؤلف: 4drian3dالترخيص: Apache-2.0

هل أنت المؤلف؟ تواصل معنا — وسنزيله خلال 48 ساعة.