Repository navigation
⚠ BREAKING CHANGES
- K4-WorldText-API 2.0.0 or newer is now required, and the two plugins must be updated together. The
k4-worldtext:sharedapicapability servesIK4WorldTextProviderfrom 2.0.0 onwards, so a server that updates only one of the two resolves nothing: every command repliesK4-WorldText-API missing., and no text is placed or restored. Nothing crashes and no placement is lost, so finishing the upgrade restores the text.
Features
- shared api: take the per-plugin scope through
IK4WorldTextProvider.ForPlugin(this), so every text this plugin places belongs to it and cannot be touched by another consumer of the API (9937fde) - shared api: despawn this plugin's text through the scoped
RemoveAll()on unload and on!reloadtext, instead of removing each tracked id in turn. Text placed by other plugins is left alone (9937fde)
Bug Fixes
- spawning: skip a placement whose config group has no usable lines instead of passing an empty list to the API. 2.0.0 rejects an empty list, and the throw previously abandoned every remaining placement on the map (9937fde)
- commands: reply in chat when
!textis used with a group that has no usable lines, or by a player with no valid pawn, instead of only logging the failure (9937fde) - shared api: treat an unknown id as gone by catching
KeyNotFoundExceptionspecifically, and prune dead ids from thenullthatGetWorldTextLineEntitiesnow returns, so a genuine fault is no longer swallowed as a stale id (9937fde)
Miscellaneous
- deps: update the vendored
K4-WorldText-SharedAPI.dllto 2.0.0 (9937fde) - docs: state the K4-WorldText-API 2.0.0 requirement in the README dependency list (9937fde)
Full Changelog: v1.0.3...v2.0.0