Skip to content
This repository has been archived by the owner on Jan 31, 2018. It is now read-only.

1.1 : Potion Control

Compare
Choose a tag to compare
@Syst3ms Syst3ms released this 12 Jan 19:16
· 42 commits to master since this release

Update time !

- Added Potion Control :

Control everything about potions with ease ! If you have any suggestions, suggest them here, on Discord or on skUnity !

Syntaxes :

//Effects :
apply [potion] [effect[s] [of]] %potioneffects% to %livingentities%

milk %livingentities% //Removes all potion effects from an entity

//Condition :
[entity] %livingentity% (has [got]|has( not|n't) [got]) [(the|a)] %potioneffecttype% [potion] effect

//Expressions :
[[potion] effect [(with|by)]] %potioneffecttype% for %timespan% with [a] [tier [of]] %number% [particles %-boolean%[ with ambient [effect] %-boolean%[ and [particle] colo[u]r[ed] %-color%]]]]] //Returns a "potioneffect" type, which is used quite a lot

[(normal|splash|linger[ing])] potion (of|by|with|from) [effect[s]] %potioneffects%

[(all|every|each)] [active] [potion] effects (on|in) %livingentities%
[(every|all|each) of] %livingentities%['s] [active] [potion] effect[s]

[(all|every|each)] [potion] effect[s] (on|of) %itemstack% //The item can only be a potion
[(all|every|each) of] %itemstack%['s] [potion] effect[s]

//A "potioneffect" is made of a potion effect type (speed, strength...), duration and other parameters. This only returns the potion effect type 
potion[ ]effect[[ ]type][s] of %potioneffect% 
%potioneffect%['s] potion[ ]effect[[ ]type][s]

//Cannot be set because Spigot doesn't allow it
(duration|length) of [potion] effect[s] %potioneffect%
[potion] effect[s] %potioneffect%['s] (duration|length)

//Same here
(tier|level|amplifier|power) of [potion] [effect] %potioneffect%
[potion] [effect] %potioneffect%['s] (tier|amplifier|level|power)
  • Upcoming :
    • Tipped arrow support
    • Area Effect Cloud Control