Effects

Effects on a Minecraft server offer a wide range of possibilities to modify the gaming experience. Here are some of the most relevant effects, each with its specific function in the context of a Minecraft plugin:

Example of Use:

    effects:
      - id: multiply_experience
        args:
          operation: SUM
          amount: 0.2
        triggers:
          - mine_block
        filter:
          blocks:
            - DIAMOND_ORE
            - EMERALD_ORE
            - GOLD_ORE
            - IRON_ORE
      - id: multiply_experience
        args:
          operation: SUM
          amount: 0.5
        triggers:
          - player_enchanting
      - id: multiply_experience
        args:
          operation: SUM
          amount: 0.1
        triggers:
          - player_reparing

Other Parameters:

The effects have optional parameters such as "cooldown" which adds cooling to that effect or "chance" which is a probability that each effect will have.

Cooldown:

The effect cooldowns work so that each player will have a waiting time for each effect, you can add the time that this cooldown will last as an optional message that will notify how much time remains on the cooldown.

Chance:

By default each effect has a probability of 100%, you can specify how much probability this effect has each time it is executed.

Example of Use:

  - id: apply_potion_player
    args:
      potions:
        LUCK:
          amplifier: 1
          duration: 10 # Infinite == "-1"
        GLOWING:
          amplifier: 1
          duration: 10
    chance: 99.9
    cooldown:
      time: 10
      message: "&c&l!Hey! &cyou're in cooldown, wait &a%seconds%s&c!"

These effects provide server administrators with the ability to customize gameplay, create unique events, and deliver memorable experiences to players exploring the world of Minecraft. May the magic of effects enliven every corner of the server! 🚀🎮

Last updated