Updates
- Menu title with RGB color (hex) is no longer cut off: from 1.14 the title appears in its entirety (previously it stopped at 2 or 3 letters).
- FancyNpcs NPC no longer disappears when the server restarts: a checker checks 3, 6, 10 and 15 seconds after booting whether the doll is really there and recreates it when FancyNpcs deleted it when finishing its own load (up to 4 times per boot).
- The periodic watchman also starts to consult the FancyNpcs registry: NPC deleted after boot (FancyNpcs reload, /npc remove) returns alone, at most once every 5 minutes.
- delnpc, reload and shutdown cancel the checker so it doesn't recreate over a removal.
- NPC now uses StarPlugins core service (config 'npc': Citizens, FancyNpcs or native fallback).
- Fixed: NPC created from scratch was born with a nameplate on the screen. The conference before recording the data read the Citizens pattern and skipped the recording, so the "hide name" was never saved on the new doll.
- The nameplate of the Citizens NPC now disappears for real: the new Citizens stores the 'nameplate-visible' as text, and the Boolean value that was recorded before it simply ignored.
- The NPC is reborn when hiding the name, because Citizens only assembles the team with the name when the doll is born -- without this, the sign would remain on the screen until the next restart.
- Citizens NPC now has its own brand, so delnpc reaches the doll even after the admin changes the NPC.Nome in the config.
- /starrecompensas delnpc now clears the NPC even when npc.yml is already empty, and accepts a radius: /starrecompensas delnpc [radius].
- NPC and hologram now carry a brand that survives restart, so doll from another session (or another name) is no longer stuck in the world.
- Extra scanning a few seconds after the NPC is born: from 1.17 forward the entities arrive after the chunk, and the old cleaning didn't see the old doll -- that's where the repeated NPCs came from.
- setnpc also clears the target location before creating the new puppet..
- Fixed the error that blocked the menu counter in versions 1.21 (IncompatibleClassChangeError in InventoryView)
- The Citizens NPC no longer shows the duplicate name under the hologram
- Reward already redeemed or without permission now turns into an empty cart in the menu
- First version for the loader StarPlugins.