In this mode, the player needs to collect Easter eggs scattered throughout the area. There are 2 gameplay variations in this mode:
• When the eggs spawn after some time at the specified points. At the same time, you can set at least 1000 places, but so that there are only 20 eggs at spawn. Then the locations will be taken randomly from these 1000. The winner is the one who collects the most eggs in a given time
• Once in a wipe, for example, each player will be given, for example, 20 eggs. If he finds them, he receives a reward. Only after the wipe will he be able to take it.
Installation
You just need to specify the points for the eggs to spawn.
/easteregg add
Set as many as possible so that there is pseudo-random and players cannot remember all the location points.
Commands
Description
Command
View mode commands
/easteregg help
Adds +1 spawn point for the egg
/easteregg add
Removes the spawn point that the player is looking at
/easteregg remove
Quick restart
/easteregg trigger
Adds an item to your hand as a prize when you win. You need to specify the drop chance. Be sure to change the drop type in the config for this mode. You can set rewards for 1, 2 and 3 places.
/easteregg additem <place:1-3> <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.easteregg.*
Gives the player permission to create/delete easter eggs
fun.easteregg.create
Gives the player permission to restart this mode
fun.easteregg.trigger
Gives the player permission to pick up easter eggs
fun.easteregg.find
Main config (config.yml)
Easter eggs enable:true#If "false", this mode will not be availableEaster eggs min server online:0#How much online must be on the server in allowed worlds for the mode to workEaster eggs time for event:300#In ticks. How long will the event last?Easter eggs cooldown:300#In ticks. How long will it take for the next event to start?Easter eggs heads:#List of all possible textures for heads. ['head texture', custom model data, fungames animation] - ['eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODNjMjVhN2ExODgxOTZiMTg3MTcyNjRmZmU4MzdjYTM0OGNmNzE5ZTgyNzE3OWVkYzRiNzhjYmNiOGM3ZGQ4In19fQ==',0,'EGG'] - ['eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmQ2YjQ2OWY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jp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2JlNzU0NTI5N2RmZDYyNjZiYmFhMjA1MTgyNWU4ODc5Y2JmYTQyYzdlN2UyNGU1MDc5NmYyN2NhNmExOCJ9fX0=',0,'EGG']Easter eggs total for one time:20#How many eggs will be spawnedEaster eggs title enable:true#Will the title be displayed when you win?Easter eggs title fade in time:10#In ticksEaster eggs title stay time:40#In ticksEaster eggs title fade out time:10#In ticksEaster eggs fireworks:#Victory animations. You can set 1 and more animations. Or set [] to disable - 'SALUT_24'Easter eggs scoreboards enable:true#If "false", then messages will be displayed in the chatEaster eggs chat scoreboard interval:30#If "false", then messages will be displayed in the chat every 30 secondsEaster eggs chat scoreboard send message when get point:true#Send a message when a player gets a point# In this case, eggs will not spawn during cooldown.# They can only be activated with the trigger command.# For example, you specified 20 eggs. And when the player collects all 20 eggs, he will receive a big prize.# There is no time to search! He can come in an hour, or maybe in a month.# The other player also has these 20 eggs and does not claim the eggs of other players, since he does not see them.Easter eggs for each player:false#If "true", then this submode is activatedEaster eggs add eggs to the new player:true#Will Easter eggs be available for new players who log in while the event has already started?Easter eggs use packets:false#Use packets for players individuallyEaster eggs fireworks for 1 egg:#Animation when pick up 1 egg. You can set 1 and more animations. Or set [] to disable - 'SALUT_13'Easter eggs fireworks for all eggs:#Victory animations. You can set 1 and more animations. Or set [] to disable - 'SALUT_24'
Mode config (easter_eggs.yml)
Easter eggs rewards 1 place:Drop mode:MONEYMoney reward:1000.0Items reward: [] #Set by commandCommand reward: []Easter eggs rewards 2 place:Drop mode:MONEYMoney reward:500.0Items reward: [] #Set by commandCommand reward: []Easter eggs rewards 3 place:Drop mode:MONEYMoney reward:100.0Items reward: [] #Set by commandCommand reward: []Easter eggs for each player end prize:Drop mode:MONEYMoney reward:10000.0Items reward: [] #Set by commandCommand reward: []Easter eggs for each player 1 egg prize:Drop mode:MONEYMoney reward:100.0Items reward: [] #Set by commandCommand reward: []Easter eggs locations: [] #Set by command
You can change the type of reward. Just change it in the config above. Here are what they are:
1) MONEY - Gives only money
2) ITEM - Gives only one item with some chance
3) ALLITEMS - Gives all items in list
4) COMMAND - Executes commands. Example:
Command reward:
- eco give %player% 1000
- say Cool