You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per-player persistent usage limits for /head (stored in plugins/Decapitator/playercounts.yml).
Config support:
enabled to toggle plugin behaviour.
max-heads-per-player to set per-player limit (use -1 for unlimited).
/head count [player] to view how many heads a player has ordered.
/head reload to reload the plugin config and player data at runtime.
Automatic creation and management of playercounts.yml in the plugin data folder.
Integration with SkinsRestorer:
If SkinsRestorer is installed and enabled, Decapitator will request skin data from SkinsRestorer and apply textures so heads show proper skins on offline-mode servers.
Reflection-based integration so SkinsRestorer is optional at runtime (no compile-time dependency).
README and documented permissions.
Changed
Command behaviour extended to include subcommands (count, reload, help) while preserving the original /head [player] functionality.
Messages enhanced to show current count and max (shows "∞" when unlimited).
Fixed
Ensure head-giving never crashes if SkinsRestorer integration fails — falls back to server-side PlayerProfile behaviour.
Notes
New permissions added: decapitator.count.others, decapitator.reload. See README for full list.
Data file format: YAML mapping of UUID -> integer (e.g., "uuid-string": 3).