Added a new feature to change the block at the collected Easter Egg's location.
Changes in the config.yml
Code (YAML):
easter-eggs: # Spooktacular Halloween! candy-basket: # Should we remove the Easter Egg when a player collect it? remove-on-collect:
enabled: false
# Should we change the block at the collected Easter Egg's location? convert-to: AIR
Added an option to remove the Easter Egg block when a player collect it.
Changes in the config.yml
Code (YAML):
easter-eggs: # Spooktacular Halloween! candy-basket:
texture: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODdmNTA0Y2RiZjViMjExMjFiODIxODUyOGRjZTU2NzUwNWQ0NTY3ZDdlNzJjZDQzYTQ2M2NkNTFjODAxM2E2In19fQ==" # Should we remove the Easter Egg when a player collect it? remove-on-collect:
enabled: false
Added distance limit to display Easter Egg particles.
Changes in the config.yml
Code (YAML):
particles: # If the distance between the player and the particle exceeds the value below, the particle won't be displayed. (Set 0 to disable) distance-limit: 0
Added whitelisted and blacklisted permissions for the Easter Eggs.
Added a new placeholder to show how many different type of Easter Eggs has the player found. (%eastereggs_found_different_types%)
Fixed some particles appear when an Easter Egg block is not saved properly by the server. Now these non-Easter Egg blocks will be removed and a warning message will be appear in the console.
Now interaction with the Easter Eggs will cancel the PlayerInteractionEvent. For example, if you are in the creative mode and interact with an Easter Egg, you'll no longer place a block, etc.
Changes in the config.yml
Code (YAML):
easter-eggs: # Example custom heads website: https://minecraft-heads.com # Copy the 'Value' under the 'For Developers' section. green_present: # To get this Easter Egg: /eggs green_present texture: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDA4Y2U3ZGViYTU2YjcyNmE4MzJiNjExMTVjYTE2MzM2MTM1OWMzMDQzNGY3ZDVlM2MzZmFhNmZlNDA1MiJ9fX0=" # Custom messages for different Easter Eggs. # If not specified, default messages from the 'messages' section will be used. egg-already-found: "&c&lYou already found this Easter Egg!" new-egg-found: "&a&lYou found an Easter Egg! &e&l(&a&l{0}&e&l/&a&l{1}&a&l)\n&e&lFind all of them to earn a &b&lawesome reward&e&l!" all-eggs-found: "&a&lCongratulations! You found all the Easter Eggs!" has-blacklisted-perm: "&c&lYou don't have enough permission to collect this Easter Egg!" no-whitelisted-perm: "&c&lYou don't have the required permissions to collect this Easter Egg!" # Set 'NONE' to disable any particle effects. # Custom particle effects can be defined for different Easter Eggs. # If not specified, default particles from the 'particles' section will be used. particles:
found: CRIT
not-found: VILLAGER_HAPPY
# Custom commands for different Easter Eggs. # By default, commands are executed by the console. # To execute a command as a player, start the command with p:. # # Placeholders: # %player% - Player's name. # %egg_id% - Easter Egg's id. commands:
egg-already-found: [] new-egg-found: [] all-eggs-found: [] has-blacklisted-perm: [] no-whitelisted-perm: [] # The permission settings. permissions: # The Easter Egg can only be collected by players who possess any of the permissions listed below. whitelist: [] # Players with any of the permissions listed below are prohibited from collecting this Easter Egg. blacklist: [] # If this option is disabled, the data for this Easter Egg will not be saved for players who interacted with it. persistent: true
# Should players wait a certain amount of time before collecting this type of Easter Eggs? (Optional, by default no cooldown) cooldown: 0
# Should we disable the action bar messages for this Easter Egg? (Optional, by default the action bar is enabled) action-bar-disabled: false
# Set 'NONE' to disable any. sounds: # The sound that is going to be played when a player tries to collect an Easter Egg and does not have required permission to collect this egg. no-whitelisted-perm: NONE
# The sound that is going to be played when player has a cooldown to collect a specific type of Easter Egg again. cooldown: ENTITY_VILLAGER_NO
Changes in the messages.yml
Code (YAML):
messages:
has-blacklisted-perm: "&c&lYou don't have enough permission to collect this Easter Egg!" no-whitelisted-perm: "&c&lYou don't have the required permissions to collect this Easter Egg!"
Added option to disable the action bar messages for a specific type of Easter Egg.
Changes in the config.yml
Code (YAML):
easter-eggs: # To obtain this Easter Egg, use the command: /eggs red_egg red_egg:
texture: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNmUzMmE3ZGU3YTY3MmNjNjhmYTdhMjcyYmFhNmE4OWViZDQ0MGMzMmRjZjQ0ZTc3MDU3MDY4OTg5MDQyZjdjNiJ9fX0=" # Should we disable the action bar messages for this Easter Egg? (Optional, by default the action bar is enabled) action-bar-disabled: false
easter-eggs: # Spooktacular Halloween! candy-basket:
texture: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODdmNTA0Y2RiZjViMjExMjFiODIxODUyOGRjZTU2NzUwNWQ0NTY3ZDdlNzJjZDQzYTQ2M2NkNTFjODAxM2E2In19fQ==" # Spooky Messages egg-already-found: "&cYou already found this Candy Basket!" new-egg-found: "&a&lYou found an Candy Basket! &e&l(&a&l{0}&e&l/&a&l{1}&a&l)\n&e&lFind all of them to earn a &b&lawesome reward&e&l!" all-eggs-found: "&a&lCongratulations! You found all the Candy Baskets!" # Spooky Particles particles:
found: CRIT
not-found: SMOKE_NORMAL
%eastereggs_leaderboard_POSITION% - Shows the player's name in the given position from the leaderboard that includes the players with the most found Easter Eggs.
%eastereggs_leaderboard_4% - Shows the 4th player's name with the most Easter Eggs found.
%eastereggs_leaderboard_value_POSITION% - Shows the amount of found Easter Eggs of the player in the given position from the leaderboard that includes the players with the most found Easter Eggs.
%eastereggs_leaderboard_value_4% - Shows the 4th player's found Easter Eggs amount.
Added general cooldown feature which allows user to set a general cooldown to collect any type of Easter Eggs.
Changes in messages.yml
Code (YAML):
messages:
general-cooldown: "&c&lYou have to wait {0}s before collecting this Easter Egg again!"
Changes in config.yml
Code (YAML):
sounds: # Sound that is going to be played when player has a general cooldown to collect any type of Easter Eggs again. general-cooldown: ENTITY_VILLAGER_NO
# Should players wait a certain amount of time before collecting any Easter Eggs? general-cooldown: 0
Added cooldown feature to make players wait before collecting the same type of Easter Eggs.
Changes in config.yml
Code (YAML):
sounds: # Sound that is going to be played when player has a cooldown to collect again. cooldown: ENTITY_VILLAGER_NO
easter-eggs:
'egg-id': # Should players wait a certain amount of time before collecting this type of Easter Eggs? (Optional, by default no cooldown) cooldown: 0
Changes in messages.yml
Code (YAML):
messages:
cooldown: "&c&lYou have to wait {0}s before collecting this Easter Egg again!"
eggs-menu:
egg:
name: "&e&l{0}" lore: -
"&8* &7LEFT click to teleport." -
"&8* &7RIGHT click to remove." -
"&8* &7SHIFT + RIGHT click to get a copy." -
"&8* &7SHIFT + LEFT click to remove all."
Added '/eastereggs copy' command to copy targeted Easter Eggs.
Can only be executed by players.
Permission: eastereggs.copy
Small fix that some of the eggs with specific ids may not work.
Changes in messages.yml
Code (YAML):
messages:
copy-command:
target-a-block: "&cPlease target an Easter Egg to copy!" not-an-egg: "&cTarget block is not an Easter Egg!" copied-egg: "&aTarget Easter Egg has added to your inventory."
Added /eastereggs removeall <egg id> command to remove all the Easter Eggs with given id.
Permission: eastereggs.removeall
Added check command's messages to messages.yml.
Now help command will display current command label instead of "eastereggs".
Changes in messages.yml
Code (YAML):
messages:
update-command:
checking-for-update: "&3[Easter Eggs] &bChecking for updates, please wait..." new-update-available: "&3[Easter Eggs] &bFound a new update: {0} (current version: {1}).\n&3>>&b https://spigotmc.org/resources/easter-eggs.116086/" up-to-date: "&3[Easter Eggs] &bNo new updates found, everything is up to date!" remove-all-command:
removed-eggs: "&aAll the Easter Eggs with given id is removed." no-eggs-created: "&cNo eggs created with given id!"
messages:
no-player-found: "&c&lNo player has found with that name!" own-stats-reset: "&a&lYou have successfully reset your all statistics!" player-stats-reset: "&a&lYou have successfully reset {0}''s statistics!"
Added new command to create same Easter Egg with different textures.
/eastereggs texture <egg id of new texture>
Fixed some of the command descriptions.
Fixed short and long arguments size error messages not handled properly.
Changes in messages.yml:
Code (YAML):
messages:
correct-usage: "&cCorrect usage: {0}" texture-command:
not-a-skull: "&cYou are currently not holding an Easter Egg!" not-an-easter-egg: "&cThe currently hold item is not an Easter Egg!" updated-texture: "&aA new Easter Egg with updated texture has added to your inventory."
Now Easter Eggs can be non-persistent which means their data won't be stored.
To create non-persistent eggs:
Code (YAML):
easter-eggs:
"green_present": # To get this Easter Egg: /eggs green_present texture: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDA4Y2U3ZGViYTU2YjcyNmE4MzJiNjExMTVjYTE2MzM2MTM1OWMzMDQzNGY3ZDVlM2MzZmFhNmZlNDA1MiJ9fX0=" # If option is disabled, we won't save the data of this Easter Egg for the players that interacted with this egg. # By default, this option is true for all eggs. persistent: false