Commands
- /powergem place <x> <y> <z> - Place a gem at specific coordinates
- /powergem revoke - Revoke power from current power holder
- /powergem reload - Reload plugin configuration
- /powergem powerplayer - Show current power holder
- /powergem gems - Display gem status and locations
- /powergem scatter - Scatter all gems randomly
- /powergem help - Show help information
Configuration
config.yml
Code (Text):
required_count: 5 # Total number of gems in the server
gem_material: RED_STAINED_GLASS # Material type for gems
gem_name: "&cPowerGem" # Gem display name (supports color codes)
gem_particle: FLASH # Particle effect for gems
gem_sound: AMBIENT_UNDERWATER_LOOP_ADDITIONS_ULTRA_RARE # Sound effect
# Location restrictions
use_required_locations: false # Whether gems must be placed in specific locations
required_locations: # Required placement area (if enabled)
world: world
center:
x: 0
y: 70
z: 0
radius: 5
# Random placement settings
random_place_range: # Area for random gem scattering
world: world
corner1: {x: -100, y: 160, z: -100}
corner2: {x: 100, y: 30, z: 100}
# Event configurations
revoke_power: # Actions when power is revoked
commands:
- "deop %player%"
sound: ENTITY_ENDERMAN_TELEPORT
particle: FLAME
gem_union_execute: # Actions when all gems are collected
commands:
- "op %player%"
sound: ENTITY_ENDERMAN_TELEPORT
particle: FLAME
gem_scatter_execute: # Actions when gems are scattered
commands:
- "deop %player%"
sound: ENTITY_ENDERMAN_TELEPORT
Permissions
- powergem.admin - Required for all PowerGem commands
Dependencies