Skip to content

Configuration Files

This guide provides an overview of all configuration and data files used by the Easter Eggs plugin. Understanding this structure is crucial for server configuration and maintenance.

The plugin generates the following files inside your /plugins/EasterEggs folder:

FilePurposeReference
config.ymlCore settings, particle effects, sounds, and global commands.Current Page (Below)
messages.ymlAll chat messages, GUI titles, and lore.Current Page (Below)
mysql.ymlDatabase connection settings.Database Configuration

These files are managed automatically by the plugin. Do not modify them manually.

FilePurpose
data.ymlStores individual player statistics (collected eggs).
locations.ymlStores the precise location of every placed Easter Egg in the world.

These settings control the plugin’s overall behavior and features.

AttributeDefaultDescription
mysql-enabledfalseIf true, the plugin uses MySQL for data storage and cross-server syncing. Requires mysql.yml setup.
general-cooldown0Time in seconds a player must wait between collecting any type of Easter Egg. (0 = no global cooldown)
auto-data-saving300Interval in seconds between automatic player data saves. (Set to 0 to disable auto-saving; data will only save on shutdown/reload).
update-notifiertrueIf true, the plugin checks for new versions on startup.

Sensory Settings (Sounds, Particles, Fireworks)

Section titled “Sensory Settings (Sounds, Particles, Fireworks)”

These sections in config.yml control visual and auditory feedback. Refer to the FAQ page for lists of available particle and sound names.

SectionKey AttributesDescription
particlesinterval, distance-limit, disabledGlobal settings for particle density, visibility range, and overall toggling.
soundsnew-egg-found, cooldown, all-eggs-foundConfigures the sound effects played for various player interactions.
fireworksenabled, color, type, powerControls whether a firework spawns when an egg is found, and defines its appearance.
commandsfound-all-the-eggsCommands executed by the console or player when a player successfully finds all eggs defined in the configuration.

The action-bar section controls the message displayed to players when they are near an uncollected Easter Egg.

AttributeDefaultDescription
enabledtrueToggles the action bar feature on or off.
radius9.5The block radius in which players will begin receiving the action bar message.
interval30How often (in ticks) the action bar message rotates or updates. (20 ticks = 1 second)
sorttrueIf true, the plugin sorts nearby eggs so the message refers to the closest egg.
only-not-foundtrueIf true, the action bar only sends messages about eggs the player hasn’t collected yet.
permission""The permission required to see the action bar. (Leave empty to allow all players).
messagesListThe list of messages that rotate in the action bar. Placeholders: %player%, %egg_id%.

This file contains all player-facing messages, GUI names, and item lore.

  • Hex Color Support: The file supports modern color codes using the standard Hex format (<#RRGGBB>).
  • Disable Messages: To prevent a message from being sent, set its value to %do_not_send%.

This sub-section defines the specific items and text used within the main Easter Eggs GUI.

Item/SectionDescriptionNotes
titleThe title of the GUI window.{0} total eggs, {1} filtered status.
close-itemThe item used to close the menu (BARRIER).
next-page / previous-pageItems used for GUI pagination.
eggDefines the name and lore shown for each egg in the GUI.Lore contains teleport/remove instructions for staff.

Placeholder Defaults (placeholders section)

Section titled “Placeholder Defaults (placeholders section)”

This section defines the fallback strings used when specific placeholder states are queried.

Placeholder StringDescription
persistentString returned when %eastereggs_ID:persistent% is true.
not-persistentString returned when %eastereggs_ID:persistent% is false.
empty-positionFallback name used on leaderboards when a rank has no player.
empty-valueFallback score used on leaderboards when a rank has no score.