Commands
Command
Description
Permission
/pinata spawn - Force spawn a Pinata at a random saved location. - pinatarun.admin
/pinata forcestop - Immediately despawn any active Pinatas. - pinatarun.admin
/pinata addloc - Add your current location as a potential spawn point. - pinatarun.admin
/pinata removeloc <#> - Remove a spawn location by its ID number. - pinatarun.admin
/pinata listloc - List all saved spawn locations. - pinatarun.admin
/pinata reload - Reload the config.yml and messages.yml. - pinatarun.admin
Configuration
Everything is editable! Here is a preview of the config.yml.
YAML
settings:
spawn-interval: 600 # Seconds between auto-spawns
alive-duration: 120 # How long it lives before running away
max-hits: 25 # Hits required to destroy it
hologram-lines:
- "&#FFD700★ HIT ME FOR REWARDS! ★"
- "&7Hits Left: &e%hits%"
gameplay:
speed-multiplier: 0.25 # How fast it runs
hit-cooldown: 0.5 # Seconds a player must wait between hits
rewards:
loot_table:
- type: ITEM
material: DIAMOND
chance: 50.0
message: "&aYou found a &bDiamond&a!"
- type: XP
amount: 50
chance: 100.0
Installation
- Download the .jar file.
- Place it in your server's /plugins folder.
- Restart your server.
- Go to a location in-game and run /pinata addloc.
- Run /pinata spawn to start the party!