UsefulCosmetics is not just a simple vanity plugin, but a powerful Add-on to perks into the CosmeticsCore engine.
The core concept is simple: giving "practical use" and actual in-game advantages to vanity cosmetics. Instead of merely rendering a hat or wings on the player, this plugin detects when a user equips them and applies various, complex buffs completely in the background, without causing any server lag.
Here is exactly what this plugin can do:
For any individually configured cosmetic, the server manager can assign:
All these features are balanced by mechanical defenses:
The core concept is simple: giving "practical use" and actual in-game advantages to vanity cosmetics. Instead of merely rendering a hat or wings on the player, this plugin detects when a user equips them and applies various, complex buffs completely in the background, without causing any server lag.
Here is exactly what this plugin can do:
Core Features (The Advantages)
For any individually configured cosmetic, the server manager can assign:- Advanced Attribute Modifiers (attributes): Using Java's native attribute engine, wearing a hat or backpack can alter the player's core stats (e.g., permanently adding Max Hearts, adjusting native Movement Speed, Attack Damage, or Knockback Resistance).
- Continuous Potion Effects (potion_effects): Dynamically applies physical status effects like Night Vision, Haste for faster mining, or Invisibility, tying them directly to the equipped item.
- Passive Experience Multiplier (xp_boost): The plugin monitors every time a player collects XP orbs from the ground and instantly multiplies the amount by a specific percentage! Wearing the "Divine Wings"? Passively gain +15% XP!
- Trigger-Interval Execution (commands): Allows the server to cyclically run automated commands (/give, /eco) at set intervals, provided the user is wearing that special equipment. Perfect for "Talisman" cosmetics that passively reward players with money every 10 seconds.
- External Permission Delegation (permissions): When the item is equipped, the system temporarily grants specified permissions (like fly.use) and revokes them dynamically and safely the exact moment the cosmetic is unequipped, the player disconnects, or even during a server crash, nullifying any potential caching exploits.
Config Example
Protections & Security (Exploit-Free)
All these features are balanced by mechanical defenses:- Global Anti-Spam (Cooldown): To prevent players from frantically spam-clicking their equipment on and off to bypass initial game-ticks or illegally heal their health bar, the plugin triggers a Global Cooldown module (defaulted to 5 seconds). A manager will firmly block all bonuses on spawn until stability is reached, ensuring fair play.
Integrations, Support, & Backend
- PlaceholderAPI Hook: Instantly supports an internal Placeholder network (%usefulcosmetics_equipped%, %usefulcosmetics_active_cooldown%) to display real-time gear statuses on the Tab-list, Scoreboards, or Chat Hovers.
- Translatable Configuration: Fully supports isolated semantic databases (Using a dedicated messages.yml file) so all texts are customizable.
- Asynchronous, low-delay background logic tracking that will never throttle your TPS.
