What's new
Resource icon

MythicPapi - Conditions and placeholders addon 1.1

MythicPapi
Now you can use PlaceholderAPI's placeholder as MythicMobs skill condition!​

Dependencies
Usage
You can find valid Placeholder here. And of course any your own made expansion's placeholder. But make sure you have loaded all the expansions that you want to use!
NOTE: Mobs do not have placeholder! Because they are not player!

Valid condition:
  • papi{pl = placeholder1;o = operator;pr = placeholder2}
  • papirange{pl = placeholder1;o = operator;pr = placeholder2,radius=radius,matchall=true}

Example:
papirange{pl = placeholder1;o = operator;pr = placeholder2,radius=5,matchall=true}
  • pl One of the placeholder/value you want to compare.
  • o The operator you want to use. Valid operator
== (You can use "<eq>" to replace "=", but why not "="? :p)
!=
<=
>=
<
>
NOTE: You can only use "==" and "!=" to compare not numeric value. Or it will always return false.
For example:
[×] papi{pl = %player_name%;o = >;pr = Narcissu14}
[√] papi{pl = %player_level%;o = <=;pr = 16}​
  • pr Another placeholder/value you want to compare.
  • radius/r You know it! Default is 3.
  • matchall/ma Players' placeholder compare result all must be true or not? Default is false.(If false, one player's result is true, condition result = true)
TODO
  • Let me know your ideas! :D
SOURCE CODE


THANKS
  • Thanks @xikage for MythicMobs. MythicMobs is aweeeeeeeesome!
  • Thanks @BerndiVader for his example tutorial of custom condition!
Author
Narcissu14
Downloads
905
Views
1,700
First release
Last update
Rating
4.75 star(s) 4 ratings

Latest updates

  1. New condition and placeholder for MythicMobs items!

    + New condition to check nearby players' placeholder. + Placeholder for MythicMobs items...
Top