Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference/TOOLKIT-INDEX.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Useful areas in `featureframework-paper` include:
- `paper.lifecycle` — owned tasks, listeners, and feature resource scope;
- `paper.command` — feature-owned commands and Brigadier integration;
- `paper.localization` and `paper.log` — platform message/logging adapters;
- `paper.ui` — inventory/menu UI support from `featureframework-paper-toolkit`;
- `paper.ui` — HUD helpers from `featureframework-paper-toolkit`;
- optional PlaceholderAPI, ViaVersion, DataProvider, and DataRegistry adapters from `featureframework-paper-integrations`.

`PaperFeatureResources` is the main entry point for feature-owned tasks, commands, listeners, data, caches, GUIs, and services.
Expand Down
8 changes: 3 additions & 5 deletions docs/toolkits/PAPER-UI-AND-PLATFORM-ADAPTERS.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
# Paper UI and Platform Adapters

The Paper module contains platform-specific helpers that cannot live in the shared module, including inventory/menu UI support, command/Brigadier integration, packets, registries, time/clock helpers, previews, and toast/UI adapters.
The Paper module provides platform-specific helpers for command and Brigadier integration, packets, registries, time, and HUD adapters.

## GUI ownership
## Application UI ownership

`PaperFeatureResources` owns a `FeatureGUIManager`. Menus created for one feature should stay under that feature's resource scope so they are shut down with it.

Avoid storing plugin-global references to a feature-owned menu after the feature can be reloaded or recreated.
Applications own their inventory menus and previews. Use `PaperFeatureResources` to register UI listeners, schedule updates and close feature-owned views during teardown. Keep each inventory session scoped to the feature that opened it.

## Time helpers

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading