main/Config

Okey, so you want to configure this plugin right? Good, lets begin with the tutorial:

The test config:

Here is a little example to understand how the config is built up:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
effects:
    my_rpg_world:
      zombie:
        nausea:
          multiplier: 1
          chance: 100
          duration: 10
        lifesteal:
          chance: 45
          infmsg: The zombie has eaten your flesh, to replenish his own health!
      skeleton:
        blind:
          multiplier: 1
          duration: 4
          chance: 60
          infmsg: The skeleton has tampered with your vision!
          curemsg: Your vision has stablized.
      spider:
        slow:
          multiplier: 1
          duration: 2
          chance: 90
          infmsg: You are tangled in web!
          curemsg: The spider's web has fallen

In this case, in the world with the name my-rpgworld:

  • a zombie would give you the nausea effect with a multiplier of 1, a chance of 100% and a duration of 10,as well as lifesteal with a chance of 45% and a message when the effect happens
  • a skeleton would give you the bilnd effect with a multiplier of 1, a chance of 60%, a duration of 4, a message when the effect occurs and when it is "cured"
  • a spider would give you the slow effect with a multiplier of 1, a chance of 90%, a duration of 2 together with a cure message and an infected message

    The world

    In the config you need to set up the effects for each world seperately. That includes world_nether and world_the_end too (if you want).

    The mobs

If you are using this plugin, I am sure you want to set up effects for more than only one mob, right? Good :D
So please pay attention to a few things. At first, write all mob names non-capital. That means "Skeleton" is "skeleton" in the config.

The next thing, write all mob names without spaces! "Magma Cube" is now "magmacube".

If you take care about these two easy rules, you can set up every mob that you want :)

The effects

Okey, that is the largest part to explain. Well, lets go.

The options are equal for nausea, slow, blind, hunger, poison. The other effects have different options, which are nessecary

The nausea effect

Name in config: nausea

Available options:

  • multiplier: Strength of the effect
  • duration: Duration of the effect
  • chance: Percentual chance if the player get the effect or not
  • infmsg: Optional message, sent when target got infected
  • curemsg: Optional message, sent when target got cured

The hunger effect

Name in config: hunger

Available options:

  • multiplier: Strength of the effect
  • duration: Duration of the effect
  • chance: Percentual chance if the player get the effect or not
  • infmsg: Optional message, sent when target got infected
  • curemsg: Optional message, sent when target got cured

    The slow effect

    Name in config: slow

    Available options:

  • multiplier: Strength of the effect
  • duration: Duration of the effect
  • chance: Percentual chance if the player get the effect or not
  • infmsg: Optional message, sent when target got infected
  • curemsg: Optional message, sent when target got cured

    The blind effect

    Name in config: blind

    Available options:

  • multiplier: Strength of the effect
  • duration: Duration of the effect
  • chance: Percentual chance if the player get the effect or not
  • infmsg: Optional message, sent when target got infected
  • curemsg: Optional message, sent when target got cured

    The poison effect

    Name in config: poison

    Available options:

  • multiplier: Strength of the effect
  • duration: Duration of the effect
  • chance: Percentual chance if the player get the effect or not
  • infmsg: Optional message, sent when target got infected
  • curemsg: Optional message, sent when target got cured

    The burn effect

    Name in config: burn

    Available options:

  • duration: Duration of the effect
  • chance: Percentual chance if the player get the effect or not
  • infmsg: Optional message, sent when target got infected
  • curemsg: Optional message, sent when target got cured

    The lifesteal effect

    Name in config: lifesteal

    Available options:

  • chance: Percentual chance if the player get the effect or not
  • infmsg: Optional message, sent when target got life from the attack

    The critical hit effect

    Name in config: crit

    Available options:

  • damage: Sets the total damage for the hit.
  • chance: Percentual chance if the player get the effect or not
  • infmsg: Optional message, sent when enemy lands a crit

The additional effect

Name in config: crit

Available options:

  • damage: Sets the additional damage for the hit.
  • chance: Percentual chance if the player get the effect or not
  • infmsg: Optional message, sent when enemy lands a crit

The reflect damage effect

Name in config: reflect

Available options:

  • chance: Percentual chance if the player get the effect or not
  • infmsg: Optional message, sent when enemy lands a crit

The end!

So, if you understand now how it is built up, you could write your own config, or check this thread for configs from other guys!


Comments

Posts Quoted:
Reply
Clear All Quotes