This is a creature that spawns near the player with some chance when the rain stops. The leprechaun is afraid of players and quickly runs away. While running away, it drops coins that can be picked up. If you kill it, you can get valuable rewards. Also, the spawn of the leprechaun can be tied to time, so that it spawns every 2 hours, for example.
Commands
Description
Command
View mode commands
/leprechaun help
Adds an item to your hand as a prize when you kill a leprechaun. You need to specify the drop chance. Be sure to change the drop type in the config for this mode.
/leprechaun additem <chance>
Permissions
You must use a permission manager like LuckPerms which supports .* permissions notation. Bukkit doesn't support this notation by default!
For what
Permission
Gives all mode access to the player
fun.leprechaun.*
Main config (config.yml)
Leprechaun hunting enable: true #If "false", this mode will not be available
Leprechaun min server online: 0 #How much online must be on the server in allowed worlds for the mode to work
Leprechaun will only spawn after rain: true #If "true", then the leprechaun will spawn when the rain stops
Leprechaun chance to spawn near the player: 10.0 #Chance that when the timer goes off or the rain stops, a leprechaun will appear near the player
Time to spawn (if rain spawn is disabled): 3600 #In seconds. Spawn leprechaun after this interval.
Leprechaun head material: 'bb99a6198296e019bb74af1044abfc46e8bed7624f098c0b51a46d3e1959df19' #Material for leprechaun head
Leprechaun pot of gold material: '395b8dae96e39a7b4745697efb1de681e5fd94d750ab09cb9f23ff7e72a2a33e' #Leprechaun hand material
Leprechaun chestplate color: '128, 255, 0' #RGB color
Leprechaun leggings color: '128, 255, 0' #RGB color
Leprechaun boots color: '0, 0, 0' #RGB color
Leprechaun life cycle: 120 #In seconds. How long will a leprechaun live before he disappears?
Leprechaun max coin price: 1000.0 #The leprechaun drops coins of different values ββonce every time. This is the maximum price of a coin that can drop
Leprechaun how many items drop on death: 5 #How many items can a leprechaun drop upon death?
Leprechaun how many leprechauns can spawn: 3 #How many leprechauns can spawn at once on the entire server
Leprechaun spawn radius: 15.0 #The maximum distance at which a leprechaun can spawn
Leprechaun coin materials: #As list. Material, Custom model data
- ['SUNFLOWER', 0]
- ['SUNFLOWER', 0]
- ['SUNFLOWER', 0]
Leprechaun enable worlds: #As list of world names. In which worlds will the mode be availabl
- world