Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
A fork of Denizen for Paper with extended features, new events and bug fixes.

The Denizen Scripting Language - Paper Impl (Unofficial version!)
An implementation of the Denizen Scripting Language for Paper servers, with strong Citizens interlinks to emphasize the power of using Denizen with NPCs!
Version 1.3.3M: Compatible with Paper 1.21.11, 26.1.2 and 26.2!
⚡ Full Compatibility: Works flawlessly with Denizen Utilities and Denizen Reflect right after installation.
💎 Extension Highlights
- Next-Gen Support: Fully updated extension for VS Code by
Humususus. - All-in-One: Includes all the latest changes and community-requested tweaks.
- Source & Guide: Check it out on 🔗 GitHub: refined-denizenScript

- Events:
- Added support for the Paper-specific event
on player unchecked sign edits. - Migrated
on player equips|unequips ...to a generalizedon <entity> equips|unequips <item> or armor|helmet|chestplate|leggings|boots|bodysyntax, extending support to all entities and adding the new body slot.<context.entity>– TheEntityTaginvolved.<context.slot>– The name of the equipment slot.<context.new_item>/<context.old_item>– The current and previousItemTagin the slot.
- Added support for the Paper-specific event
- Resource Pack: Fully overhauled the logic for the
resourcepackcommand to support adding multiple resource packs.- Added a new
addargument to theresourcepackcommand to send additional resource packs to a player. - Added
PlayerTag.remove_resource_packmechanism to remove a specific resource pack by ID from a player. - Added
PlayerTag.remove_resource_packsmechanism to remove all resource packs from a player.
- Added a new
- Text & Formatting:
- New tags:
<&sprite>,<&shadow_color>,<&shadow_gradient>,<&dual_gradient>and<&head>.- Sprite usage example:
<&sprite[minecraft:items:item/porkchop]> - Shadow Color usage examples:
- Simple variant -
<&shadow_color[#51a2ff]> - With adjustable transparency -
<&shadow_color[<color[#51a2ff].with_alpha[254]>]>
- Simple variant -
- Shadow gradient usage examples:
- Simple variant -
<&shadow_gradient[from=#51a2ff;to=#FFF085]> - With adjustable transparency -
<&shadow_gradient[from=<color[#51a2ff].with_alpha[0]>;to=<color[#FFF085].with_alpha[254]>]>
- Simple variant -
- Dual gradient including Shadow color and Simple color gradients, usage examples:
- Simple variant -
<&dual_gradient[from=#51a2ff;to=#FFF085;s_from=#FFF085;s_to=#51a2ff]> - Tags
fromandtofor simple color gradient adjusting. - Tags
s_fromands_tofor shadow color gradient adjusting.
- Simple variant -
- Head usage examples:
- Full Face Texture -
<&head[Tjtoxshpilivili1]> - Only Face Texture (without surface pixels) -
<&head[!Tjtoxshpilivili1]>
- Full Face Texture -
- Sprite usage example:
- Added
.shadow_color,.shadow_gradientand.dual_gradienttags toElementTag.
- New tags:
- Internal Migration: Fully migrated to Paper Components for improved performance and modern API compatibility.

- Teleport:
- An
asyncoption has been added that teleports the player to unloaded chunks without causing server lag; sometimes there is a slight delay in execution. Details: https://docs.papermc.io/paper/dev/entity-teleport/ - Added
~waitabletag support for teleports utilizing the async parameter. This allows scripts to precisely track and wait until the asynchronous teleportation process is fully completed. - Usage examples:
- Async teleport -
teleport <player> <player.location.random_offset[99999,0,99999]> async - Waitable async teleport -
~teleport <player> <player.location.random_offset[99999,0,99999]> async
- Async teleport -
- An
- Playeffect:
- Migrated to Paper's modern
ParticleBuilderAPI, fixing a vanilla limitation where particles wouldn't render beyond 32 blocks from the player. - Added automatic handling for the
forcedparameter. Previously, even if you specified a high visibility radius (e.g., visibility:100) for a particle spawned 50 blocks away, it wouldn't display. Forcing the particle now ensures it correctly renders at extended distances. - Usage example -
playeffect effect:END_ROD quantity:100 <player.location.random_offset[50,0,50]> visibility:100 forced
- Migrated to Paper's modern

- Attributes:
- Added new
.rarity_colortag for items, returns ColorTag.- Usage example -
<player.item_in_hand.rarity_color>
- Usage example -
- Added new
- Custom Model Data:
- Updated
custom_model_datamechanism and property, returns a MapTag offloats,strings,flags(booleans), andcolors. - Now accepts a
MapTagcontainingListsoffloats,strings,flags(booleans), andcolors(RGB) for advanced item model selection, while fully retaining backward compatibility for single-number inputs. - Usage examples:
- Backward compatibility -
inventory adjust slot:hand custom_model_data:1000 - New format -
inventory adjust slot:hand custom_model_data:<map[floats=<list[1000]>;flags=<list[...]>;strings=<list[foo:bar]>;colors=<list[<color[127,0,0]>]>]>- Simple usage -
custom_model_data:[floats=1000;flags=...;strings=foo:bar;colors=<color[127,0,0]>]
- Simple usage -
- Backward compatibility -
- Updated

- Core Optimization: Implementation of custom optimizations across several internal classes.
- Tags Modification:
- Added new sub-tag
.unsortedto tag.find_entities[<#.#>].within[<#.#>]to bypass distance-based sorting. Use this for better performance when the order of entities in the list is not required. - Optimized the
.distancetag by replacingMath.powwith direct multiplication. This reduces computational overhead and results in faster distance calculations across the script.
- Added new sub-tag
- Removals:
- The
.scriptnametag has been removed from all objects. Denizen ASAP Strong warninghas been fully removed.
- The

- showfake: Fixed an issue where the command would trigger an error message despite functioning correctly.
- fakeinternaldata: Fixed a critical bug where the command was non-functional and threw an error.
Other links
- Discord - chat room (Modern, strongly recommended): https://dsc.gg/dsng
- My Telegram Channel - spoilers, works with Denizen, new features: https://t.me/energ0bro
Pinned Versions
Pages
Members
Owner