
Bliss SMP plugin (BlissGems)
BlissGems is a Minecraft plugin that adds a unique gem system where players equip magical gems in their offhand to gain passive abilities and activate powerful skills. There are 8 of the gem types (Astra, Fire, Flux, Life, Puff, Speed, Strength, Wealth)
Список изменений
- Fixed offhand F-key dupe bug
The SWAP_OFFHAND (F key) protection was only blocking swaps in container inventories, not the player's own inventory. When a gem was in offhand and you pressed F on an item in your
inventory, the swap went through — duping the item and destroying the gem. Removed the isPlayerInventory gate so the swap is blocked in ALL inventory contexts when a gem is involved.
- Toggle click now also blocks F-key abilities
Added a check for isClickActivationEnabled() in the swap hand listener. When toggle_click is disabled, the F key swap is still cancelled (gem stays safe), but no abilities are triggered. This matches the behavior of right-click abilities when toggle_click is off.
- Reworked Astra secondary ability — Astral Projection
Replaced the 5-block teleport with spectator mode scouting:
- Player enters spectator mode for 10 seconds (configurable in abilities.durations.astra-projection)
- 8 chunk radius (128 blocks) boundary from origin — if the player goes beyond, they're teleported back to origin with a warning
- Cannot teleport to other players — SPECTATE teleport cause is blocked in TeleportListener.java
- After duration expires (or manual toggle), player is teleported back to their original location and game mode is restored
- Ghost particles appear at the origin body while projecting
- 3-second countdown warning before it ends
