tr-EasterEvent 0.2

plugin for an Easter event on your server

  1. Amosar
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    Source Code:
    https://gitlab.com/Trafalcraft/tr-easterEvent
    Languages Supported:
    You can custom the texts with the config file.
    Tr-Easter is a plugin to create an easter event in your server.

    Feature:
    • -Easter bunny spawn randomly in the world
    • -Reward system
    • -Customise the name of item
    • -Customise the description of the item
    • -Support enchantment, eggs, custom banner..
    • -Custom Messages

    Dependency :

    Usage :
    • You need to modify the config.yml with your rewards
    • All percentage of your reward need to be equals to 100%
    • If you want to add custom items type /easter addItem <name> with the item in your hand
    Command:
    • /easter reload - to reload the config file
    • /easter spawn - Spawn a new Easter bunny at your position.
    • /easter addItem <itemName> - Add the item in your hand to the config file.
    Example:
    Code (Text):
    Settings:
      RabbitSpawnInChunkLuck: 40
      RabbitSpawnLuck: 70
      MonsterSpawnLuck: 1
      IgnoreWorlds: freebuild/mini-games
      IgnoreRegions: spawn
    Msg:
      prefix: '§f[§5Easter§f]>§5 '
      no_permission: '&4ERROR &9&l> &r&bYou don''''t have permission to do that!'
      command_use: '§9[§4tr-Easter§9]> §r§cCommand use: §6$command'
      bunnyName: '&5Easter bunny'
    version: 0.1
    items:
      elytra:
        displayName: '&5Easter elytra'
        broadcastMsg: An Elytra have been found by $player during the easter event. WP
        percent: 0.1
        item:
          ==: org.bukkit.inventory.ItemStack
          type: ELYTRA
      20lvls:
        levels: 20
        playerMsg: This easter bunny have 20lvls for you
        percent: 20
      diamondBlock:
        playerMsg: This easter bunny have a diamond block
        percent: 10
        item:
          ==: org.bukkit.inventory.ItemStack
          type: DIAMOND_BLOCK
      700coins:
        money: 700
        playerMsg: This easter bunny have 700 coins :O
        percent: 15
      easterEgg:
        displayName: '&5Good easter'
        playerMsg: This egg contain a beautiful easter egg.
        percent: 20
        item:
          ==: org.bukkit.inventory.ItemStack
          type: MONSTER_EGG
          meta:
            ==: ItemMeta
            meta-type: SPAWN_EGG
            internal: H4sIAAAAAAAAAONiYOBi4HTNK8ksqQxJTOdgYMpMYRDIzcxLTS5KTCuxKkpMSsosYWAAAEbg1TAoAAAA
            id: rabbit
      dragonHead:
        playerMsg: This easter bunny have a beautiful dragon head
        percent: 5
        item:
          ==: org.bukkit.inventory.ItemStack
          type: SKULL_ITEM
          damage: 5
      enchantedBook:
        displayName: '&5EnchantedBook'
        playerMsg: This easter bunny have an enchanted book
        percent: 5
        item:
          ==: org.bukkit.inventory.ItemStack
          type: ENCHANTED_BOOK
          meta:
            ==: ItemMeta
            meta-type: ENCHANTED
            stored-enchants:
              MENDING: 1
      villagerEgg:
        displayName: '&5Good easter'
        playerMsg: This easter bunny have a beautiful easter egg
        percent: 2.4
        item:
          ==: org.bukkit.inventory.ItemStack
          type: MONSTER_EGG
          meta:
            ==: ItemMeta
            meta-type: SPAWN_EGG
            internal: H4sIAAAAAAAAAONiYOBi4HTNK8ksqQxJTOdgYMpMYRDKzcxLTS5KTCuxKsvMyUlMTy1iYAAAkZYsxCoAAAA=
            id: villager
      goldenCarrot:
        displayName: '&5golden carrot'
        playerMsg: This easter bunny have a beautiful golden carrot
        percent: 5
        item:
          ==: org.bukkit.inventory.ItemStack
          type: GOLDEN_CARROT
      carrot:
        displayName: '&5You have carroted'
        playerMsg: This easter bunny have a beautiful easter egg
        percent: 17
        item:
          ==: org.bukkit.inventory.ItemStack
          type: CARROT_ITEM
      goldenApple:
        displayName: '&5Easter cheater'
        playerMsg: This easter bunny have a beautiful notch apple
        percent: 0.5
        item:
          ==: org.bukkit.inventory.ItemStack
          type: GOLDEN_APPLE
          damage: 1
    Code (Text):
    version: 0.1 # do not change it
    Settings:
      RabbitSpawnInChunkLuck: 40
      RabbitSpawnLuck: 70
      MonsterSpawnLuck: 1
      IgnoreWorlds: freebuild/mini-games
      IgnoreRegions: spawn
    Msg:
      prefix: '§f[§5Easter§f]>§5 '
      no_permission: '&4ERROR &9&l> &r&bYou don''''t have permission to do that!'
      command_use: '§9[§4tr-Easter§9]> §r§cCommand use: §6$command'
      bunnyName: '&5Easter bunny'

    # the percent addition need to be equals to 100
    items:
      elytra:
        broadcastMsg: An Elytra have been found by $player during the easter event. WP
        percent: 0.1
        item:
          ==: org.bukkit.inventory.ItemStack
          type: BANNER
          damage: 14
          meta:
            ==: ItemMeta
            meta-type: BANNER
            display-name: &5Easter Banner
            lore:
            - An incredible banner with great power
            enchants:
              DAMAGE_ALL: 10
              DURABILITY: 3
              FIRE_ASPECT: 2
              MENDING: 1
            patterns:
            - ==: Pattern
              color: RED
              pattern: br
            - ==: Pattern
              color: RED
              pattern: tl
      20lvls:
        levels: 20
        playerMsg: This easter bunny have 20lvls for you
        percent: 20
      diamondBlock:
        playerMsg: This easter bunny have a diamond block
        percent: 10
        item:
          ==: org.bukkit.inventory.ItemStack
          type: DIAMOND_BLOCK
      700coins:
        money: 700
        playerMsg: This easter bunny have 700 coins :O
        percent: 15
      easterEgg:
        displayName: '&5Good easter'
        playerMsg: This egg contain a beautiful easter egg.
        percent: 20
        item:
          ==: org.bukkit.inventory.ItemStack
          type: MONSTER_EGG
      dragonHead:
        playerMsg: This easter bunny have a beautiful dragon head
        percent: 5
        item:
          ==: org.bukkit.inventory.ItemStack
          type: SKULL_ITEM
          damage: 5
      enchantedBook:
        playerMsg: This easter bunny have an enchanted book
        percent: 5
        item:
          ==: org.bukkit.inventory.ItemStack
          type: ENCHANTED_BOOK
          meta:
            ==: ItemMeta
            meta-type: ENCHANTED
            display-name: &5EnchantedBook
            stored-enchants:
              MENDING: 1
      villagerEgg:
        playerMsg: This easter bunny have a beautiful easter egg
        percent: 2.4
        item:
          ==: org.bukkit.inventory.ItemStack
          type: MONSTER_EGG
      goldenCarrot:
        playerMsg: This easter bunny have a beautiful golden carrot
        percent: 5
        item:
          ==: org.bukkit.inventory.ItemStack
          type: GOLDEN_CARROT
          meta:
            ==: ItemMeta
            meta-type: UNSPECIFIC
            display-name: &5golden carrot
      carrot:
        playerMsg: This easter bunny have a beautiful easter egg
        percent: 17
        item:
          ==: org.bukkit.inventory.ItemStack
          type: CARROT_ITEM
          meta:
            ==: ItemMeta
            meta-type: UNSPECIFIC
            display-name: &5You have carroted
      goldenApple:
        playerMsg: This easter bunny have a beautiful notch apple
        percent: 0.5
        item:
          ==: org.bukkit.inventory.ItemStack
          type: GOLDEN_APPLE
          damage: 1
          meta:
            ==: ItemMeta
            meta-type: UNSPECIFIC
            display-name: &5Easter cheater
     

    Futur update:
    • Your suggestions
    If you like my plugin :)
    [​IMG]

    Images

    1. EasterEvent.png