Перейти к содержимому
Mineforgian

denizen-utilities

Extending Denizen for greater capabilities

Загрузки
364
Подписчики
2
Обновлён
10 июля 2026 г.
Лицензия
Apache-2.0

Опубликован 5 марта 2026 г.

Denizen-Utilities (add-on)

⚠️ Java version 25 or higher is required. This ensures compatibility with the latest high-performance APIs, such as BetterModel 3.0.

Plugin Bridges

Introduces integration for popular plugins, allowing you to control them directly via scripts:

  • BetterModel 3.0+
  • DiscordSRV
  • SkinsRestorer

✨ Core Features

FakeInternalData Fix: Includes a custom NMS patch that restores the fakeinternaldata command functionality for MC 1.21+, bypassing long-standing bugs in official Denizen builds.

Dialog Containers: Full support for the Paper Dialog API. Create native client-side UI screens (forms, lists, prompts) using a simple dialog script container.

PlayerConnectionConfigureEvent: Intercept and manage players using the ConnectionTag before they fully join. Perfect for authorization systems, language selection, or rule confirmations during the login phase.

📂 Extensions

Biome Extensions: New tags and mechanisms for BiomeTag, such as sky_color and sky_light_color.

Player Extensions: Easy-to-use mechanisms for PlayerTag to show (show_dialog) or hide (close_dialog) native interface boxes.

[📖] View the full documentation

Ченджлог

2.9.0-beta.2Бета26.1.1, 26.1.2, 26.2 · 10 июля 2026 г.
  • player connection configure:

The WAIT determination now requires a DurationTag (e.g., WAIT:5s or WAIT:1m) instead of a fixed 1-minute timeout. (default 1m)

2.9.0-beta.1Бета26.1.1, 26.1.2, 26.2 · 9 июля 2026 г.

Support 26.2.

DialogScriptContainer

Add:

  • procedural: Added the ability to dynamically generate inputs, bodies, and buttons.
    procedural:
    - repeat 15 as:x:
        - definemap button:
            label: <[x]>
            script:
            - adjust <context.connection> connect
        - define buttons.<[x]>:<[button]>
    - determine buttons:<[buttons]>
    

PlayerCustomClickScriptEvent

  • player custom click Event: Full cross-plugin support, allowing safe interception and reading of dialogs created by other plugins on the server.
  • Switches: button_id:, namespace.
  • Contexts: <context.connection>, <context.button_id>, <context.namespace>, <context.inputs>, and lazy-evaluated direct input retrieval via <context.[input_id]>.

ConnectionTag

Add:

  • <ConnectionTag.is_connected>: Returns whether the connection is currently open and active.

BiomeTag

Add:

  • attribute Mechanism & Tag: Replaced hardcoded properties with a dynamic <BiomeTag.attribute[<name>]> tag and attribute: mechanism.
    - adjust <biome> attribute:[sky_color=red;fog_color=<color[green]>]
    
2.8.2Релиз26.1, 26.1.1, 26.1.2 · 25 июня 2026 г.

PlayerConnectionConfigureEvent

Fixed:

  • Determinations:

Fixed an issue where event determinations (such as determine WAIT) were evaluated incorrectly or failed to register.

Added:

  • reflect_event Context:

Added the <context.reflect_event> context to allow reflective access to the underlying AsyncPlayerConnectionConfigureEvent via JavaReflectedObjectTag.

2.8.1Релиз26.1, 26.1.1, 26.1.2 · 20 июня 2026 г.

chore(config): change default fakeinternaldata to false

2.8.0Релиз26.1, 26.1.1, 26.1.2 · 20 июня 2026 г.

DialogScriptContainer

Add:

  • Condition:

Added ability to hide/show specific input fields, body elements, and buttons based on condition checks.

bodies:
   1:
     type: message
     condition: <player.inventory.contains_item[diamond]>
     message: <gray>You have a diamond in your inventory, so cool!
2.7.1Релиз26.1, 26.1.1, 26.1.2 · 14 июня 2026 г.

Fixed view range mechanism in tracker.

2.7.0Релиз26.1, 26.1.1, 26.1.2 · 13 июня 2026 г.

BetterModel

Add:

  • BMActiveModelTag/BMBoneTag.brightness:

Adds support for a brightness override, containing "block" and "sky" keys (0-15).

  • BMActiveModelTag.model_scale:

Adds unified model scaling while preserving the relative positions of bones, geometry, and pivot points.

2.6.3Релиз26.1, 26.1.1, 26.1.2 · 13 июня 2026 г.

BetterModel

Fix:

  • SkinsRestorer:

Fixed crash on startup if SkinsRestorer is not installed.

Комментарии

Загружаем…