INNOUNIQ
Discord
  • 🏠Home
  • 🧩Plugins
    • 🌏TheCore
      • Installation
      • Commands & Permissions
      • Configuration
        • Base
        • Options
        • Centralized Reward Repository
        • Command management
    • 🎄Advent Season
      • Modules
        • Advent Calendar
          • Installation
          • Command & Permissions
          • Configuration
            • Options
            • Calendar
            • GUI
            • Command management
            • Placeholder
        • Christmas Mail
          • Installation
          • Command & Permissions
          • Configuration
            • Options
            • GUI
            • Command management
            • Placeholder
        • Grinch
          • Installation
          • Command & Permissions
          • Configuration
            • Options
            • GUI
            • Command management
            • Placeholder
        • Saint Nicholas
          • Installation
          • Command & Permissions
          • Configuration
            • Options
            • GUI
            • Command management
        • Scavenger Hunt
          • Installation
          • Command & Permissions
          • Configuration
            • Options
            • Christmas Present
            • GUI
            • Command management
            • Placeholder
          • Advent Calendar
      • FAQ
      • Summary
    • 🐣Easter Season
      • Modules
        • Egg Hunt
          • Installation
          • Command & Permissions
          • Configuration
            • Options
            • Easter Egg
            • GUI
            • Command management
            • Placeholder
      • FAQ
      • Summary
    • 🎺Melody Player
      • Installation
      • Commands & Permissions
      • Configuration
        • Options
        • Melody Reposiotry
        • Player Repository
        • Command management
        • GUI
      • FAQ
      • Summary
    • 🏃‍♂️Parkour
    • 💸Lottery
    • 📥Voting
      • Installation
      • Commands & Permissions
      • Configuration
        • Options
        • Voting Unit
        • GUI
        • Interactive Signs
      • Summary
    • 🎟️Promotional Activity
      • Coupon
        • Installation
        • Commands & Permissions
        • Configuration
          • Options
          • Command management
          • GUI
          • Placeholder
        • FAQ
        • Summary
      • Voucher
        • Installation
        • Commands & Permissions
        • Configuration
          • Options
          • Command management
          • GUI
          • Placeholder
        • FAQ
        • Summary
    • 👴Archieve
      • 🎄Advent Season - 2022 Edition
        • Installation
        • Command & Permissions
          • Advent Season
          • Advent Calendar
          • Christmas Mail
          • Carols
          • Saint Nicholas
          • Grinch
          • Additional permissions
        • Configuration
          • Base
          • Options
            • Advent Calendar
            • Christmas Mail
            • Saint Nicholas
            • Grinch
            • Carols
          • Reward
          • Command management
          • GUI
          • Placeholder
        • FAQ
        • Summary
      • 🎄Advent Season - 2023 Edition
        • Advent Core
        • Commands & Permissions
        • Configuration
          • Base
          • Options
          • Reward
          • Command management
        • Modules
          • Advent Calendar
            • Installation
            • Command & Permissions
            • Configuration
              • Options
              • Calendar
              • GUI
              • Command management
              • Placeholder
          • Christmas Mail
            • Installation
            • Command & Permissions
            • Configuration
              • Options
              • GUI
              • Command management
              • Placeholder
          • Grinch
            • Installation
            • Command & Permissions
            • Configuration
              • Options
              • GUI
              • Command management
              • Placeholder
          • Saint Nicholas
            • Installation
            • Command & Permissions
            • Configuration
              • Options
              • GUI
              • Command management
          • Scavenger Hunt
            • Installation
            • Command & Permissions
            • Configuration
              • Options
              • Christmas Present
              • GUI
              • Command management
              • Placeholder
            • Advent Calendar
        • FAQ
        • Summary
      • 📥Voting - Until 4.2.0
      • 🐣Easter Season - 2023/2024
        • Easter Core
        • Commands & Permissions
        • Configuration
          • Base
          • Options
          • Reward
          • Command management
        • Modules
          • Egg Hunt
            • Installation
            • Command & Permissions
            • Configuration
              • Options
              • Easter Egg
              • GUI
              • Command management
              • Placeholder
        • FAQ
        • Summary
  • ⚖️Terms of Use
  • 🏖️Playground Server
  • 📊Analytics
  • 💰Donation
Powered by GitBook
On this page
  • How to create Easter Egg
  • Using in-game UI
  • Manually in the file
  • Explanation of variables
  • Testing the Easter Egg
  • Finally

Was this helpful?

  1. Plugins
  2. Easter Season
  3. Modules
  4. Egg Hunt
  5. Configuration

Easter Egg

Manual to Easter Eggs.

PreviousOptionsNextGUI

Last updated 2 months ago

Was this helpful?

There is expected that rewards are created, yet! To create rewards, check this tutorial:

How to create Easter Egg

There are two options how to create EasterEgg. By in-game UI or Manually in the confiuration file. Both have some restrictions, so if you want use some advanced methods you will need to use combination of them.

Using in-game UI

I recommend to watch SettingUp Tutorial to EggHunt.

To open SetUp UI type /Easter SetUp

To open Settings UI type /Easter Settings

Manually in the file

Configuration file EasterEgg.yml is located at main folder of Egghunt plugin.

Template for the one Easter Egg

EGG_1:
  Name:
    EN: Unicorn Egg
  Description:
    EN: Unicorn
  Hint:
    EN: []
  Rarity: EPIC
  Icon:
    Material: MONSTER_EGG
    MaterialData: 55
    CustomModelData: 0
    Enchantment: false
    Color: 255:255:255
    ItemFlagList:
    - HIDE_ENCHANTS
    - HIDE_ATTRIBUTES
  Condition:
    DateTimeRange:
      Active: false
      Start: 01.04.2023 00:00
      End: 02.04.2023 00:00
  Reward:
    List:
    - RewardKey_1
    ChoiceType: QUICK__ALL
  VisibilityZone: 5
  Requirement:
    CollectedEgg:
      Count: 1
  Particle:
    Active: true
    TickDelay: 13
    Data:
      Effect: SPELL_WITCH
      Amount: 35

Explanation of variables

Name, Description and Hint support multi-localization

Name:
  EN: "Unicorn Egg"
  SK: "Vajíčko Jednorožca"

Rarity

Rarity is not required to use, but you can differ what egg has higher value. Also you can create requirements using Rarity. (E.g. Collect 3 EPIC Eggs.)

If you want to change rarity names of create more/less rarities. Edit CustomValue.yml , GUI.yml and Localization file.

Icon

Setting up icon is recommended through in-game UI. It is used at Album, Locations and Admin UI for better recognition between each other eggs.

Condition

To increase rarity and also activity on your server, you can place a condition when is able to find Easter Egg. Players have to visit server and find egg in specified date-time range. Before and after this range, Egg won't be able to find.

Requirements

Before finding that egg, player has to meet requirements. If player meets requiremenets, egg is spawned at location. You can combine these three requirements as you wish.

Examples:

Player has to find specified Egg.

Requirement:
  CollectedEgg:
    Key: "EGG_1" #Key of the egg.

Player has to find at least one Egg.

Requirement:
  CollectedEgg:
    Count: 1

Player has to find at least 2 eggs from COMMON rarity and one EPIC.

Requirement:
  CollectedEgg:
    RarityCount:
    - "COMMON:2"
    - "EPIC"

PlayTime Requirement

To prevent abuse from fake accounts claiming rewards from eggs or to enhance the gameplay experience, you can require players to spend a specified amount of time on your server before being able to find Easter egg.

Types of Restriction:

  • Total - Total time spent on the server.

    • Example: Player has to play for at least 5 Days(7200 Minutes) to be able to find egg.

  • Today - Today's time spent on the server. Probably most used

    • Example: Player has to play for at least 30 Minutes that day to be able to find egg..

  • Session - Time spent on the server since player logged in.

    • Example: Player has to be online for at least 30 Minutes to be able to find egg..

Requirement:
  PlayTime:
    TotalMinute: 0
    TodayMinute: 0
    SessionMinute: 0

To disable PlayTime Requirement, keep all values to 0.

VisibilityZone

How near(in blocks) has to be player to spawn egg.

VisibilityZone: 20

Particle

Particles are spawning around the spawned Easter Egg. You can keep them active or disable them. Also you can change Effect, Color, Speed and Amount.

Particle:
  Active: true
  TickDelay: 13 #How fast particles are spawned. (20 ticks = 1 second)
  Data:
    Effect: SPELL_WITCH
    Amount: 35
    Speed: 1.0 #Optional, Default 1.0
    Color: "255:255:255" #Optional, Default White
    Offest: #Optional, Offset from EasterEgg's location. (Vector)
      X: .5
      Y: .5
      Z: .5

Reward

Choice Types:

  • NONE - No reward is given to player at claiming the Egg.

  • QUICK_ALL - All assigned rewards are given to player

  • QUICK_CHANCE - One reward is selected from assigned list by probability

Example for probability. DiamondTools has 90% chance, MoneyPocket has 10% chance to win.

Summary of probability at assinged rewards has to be 100.0! Otherwise, system won't work correctly!

Reward:
  List:
  - DiamondTools:90.0
  - MoneyPocket:10.0
  ChoiceType: QUICK_CHANCE

Testing the Easter Egg

At detail of the Easter Egg, at bottom of the UI, there is a Redstone Dust. By click on it, you can test the claiming. All Rewards assigned to this egg will be given to you. (No Database query/update will be executed.)

Available through Settings and Easter Egg Repository.

Finally

After successful setting up of the eggs, you need to reload the plugin to load new rewards.

To reload the whole plugin type /EggHunt Reload

🧩
🐣
How to create Reward