Repository navigation
Runtime Contracts
English | Русский
UIcore compiles against Paper 1.21.1 with Java 17 bytecode (release 17). The manifest declares api-version: '1.21' and folia-supported: true. See the compatibility matrix for tested server builds and the scope of each test.
| Dependency | Compile target | Runtime role |
|---|---|---|
| PacketEvents | 2.14.0 | Required. UIcore registers and removes its own listeners; PacketEvents owns its lifecycle. |
| PlaceholderAPI | 2.12.3 | Optional. Unavailable or unresolved condition placeholders deny access. |
| FancyNpcs | 2.8.0 | Optional. Personal NPCs are shown only to their viewer. |
| SkinsRestorer API | 15.8.2 | Optional. Skin lookup runs asynchronously; application returns to the server thread. |
| CraftEngine | Capability adapter | Optional. Image/shift resolvers are registered through MiniMessage.Builder.editTags and TagResolver.Builder, preserving standard MiniMessage tags. Real server compatibility requires a smoke check. |
| RE2/J | 1.8, shaded and relocated | Bundled regex implementation. Patterns are static and compiled when loading the element. |
Call the Bukkit service API on the player's scheduler thread (the server main thread on Paper-derived servers). Menu opening starts a transition; an accepted request does not mean that the camera mount has already activated. Input submission uses the same cancellable MenuInputEvent for chat, commands, and the API. Snapshots are deeply immutable; editing uses independent mutable copies.
Global element creation, removal, and editor callbacks are serialized per menu. Rendering reads one immutable, ordered definition snapshot, so a concurrent mutation cannot invalidate its iteration. Keep an editor callback short: change the supplied editor, don't wait for another region or invoke nested global edits. Player-specific camera copies keep their coordinates when accepting a new definition.
Menu privacy uses plugin-scoped player visibility requests. Each viewer's scheduler applies the combined rules of both players. Menu switches replace the current policy; closing removes it and incoming player damage protection. Public menu displays show the owner's rendered content. Camera mounts remain private, and NPC mirrors and schematic previews remain personal. See the menu privacy settings.
A menu visit borrows the player's game mode, invisibility, collision setting, and location. The origin snapshot is saved before side effects and restored through the common close path. Scene switches keep this original snapshot. Delayed actions belong to a session generation and cannot affect a newer visit. A failed return or a death before respawn retains the recovery journal.
Camera block clearing sends client block changes only. It never changes live blocks. Recovery of old blockcache files restores only air or acknowledges an already matching block; conflicts and unavailable worlds remain in their journals. All legacy block lookup, reads, and restoration run on the owning region. A journal is persisted asynchronously only after every scheduled entry finishes; rejected tasks and conflicts keep their entries for retry. Old files stored BlockData only and cannot recover inventory or block-entity NBT.
Input values enter display and message components as literal text. Password fields are masked for display, remain available as raw values to configured actions, and are omitted from denied-command logs. [op] never grants temporary operator status. Console/op actions remain controlled by security settings and exact command allowlist boundaries.
Menus
Development
Меню
Разработка