Releases: Syst3ms/QuarSK
1.3.1 : You're never done hotfixing
Final hotfix
Fixed Skript version checking not working.
Hotfixes
1.3 pre-release : Syntax changes and cleanup !
It has been quite a while since the last update, hasn't it ?
This is a pre-release because I didn't test it and I want to make sure no bugs are left before actual release (which would suck)
This update consists mainly of syntax changes and internal cleanup.
Changes
Requirements (IMPORTANT) :
- Dropped support for 1.8 (deal with it)
- Now requires Skript dev26 or more (otherwise syntax conflicts will be everywhere), hence dropping 1.8 support.
New event :
Lingering potion splash event. Works the same as the regular potion splash event, but, well... with lingering potions. You can get the thrown potion through event-projectile
and the resulting area effect cloud through event-entity
. Syntax : [on] linger[ing] potion splash[ing] [with [effect] types %-*potioneffecttypes*]
Syntax changes :
[entity] %livingentity% (has [got]|has( not|n't) [got]) [(the|a)] %potioneffecttype% [potion] effect
becomes%livingentity% (has [got]|has( not|n't) [got]) [(the|a)] %potioneffecttype% [potion] [effect]
[banner] [block] %block% (is|is(n't| not)) [a] wall banner
becomes%block% (is|are) [a] wall banner
and%block% (isn't|is not|aren't|are not) [a] wall banner
apply (banner|shield) [item] pattern[s] of %itemstack% to [banner] [block] %block%
becomesapply [(banner|shield)] patterns of %itemstack% to %block%
andapply %itemstack%['s] (banner|shield)] pattern[s] to %block%
apply [potion] [effect[s] [of]] %potioneffects% to %livingentities%
becomesapply %potioneffects% to %livingentities%
[new] (banner|shield) (from|with|using|of) [[banner] (layer|pattern)[s]] %bannerlayers% and [bas(e|ic)] colo[u]r %color%
becomes[new] (banner|shield) (with|using) [pattern[s]] %bannerlayers% [(and|with)] base colo[u]r %color%
[new] [banner] (layer|pattern) (with|using|of|from) pattern [type] %bannerpattern% colo[u]r[ed] %color%
becomes[new] [banner] (layer|pattern) (with|using) (pattern [type]|type) %bannerpattern% [(with|and)] colo[u]r %color%
[banner] block bas(e|ic) color of block %block%
andblock %block%['s] [banner] bas(e|ic) color
becomebas(e|ic) color of %block%
and%block%'[s] bas(e|ic) color
[(all|each|every)] [banner] (layer|pattern)[s] of [(shield|banner|item)] %itemstack%
and[(all|every|each) of] %itemstack%['s] [banner] (layer|pattern)[s]
become[banner] pattern[s] of %block%
and%block%['s] [banner] pattern[s]
[(banner|shield)] bas(e|ic) color of item %itemstack%
anditem %itemstack%['s] [(banner|shield)] bas(e|ic) color
becomebas(e|ic) color of %itemstack%
and%itemstack%'[s] bas(e|ic) color
[(all|each|every)] [banner] (layer|pattern)[s] of [(shield|banner|item)] %itemstack%
and[(all|every|each) of] %itemstack%['s] [banner] (layer|pattern)[s]
become[banner] pattern[s] of %itemstack%
and%itemstack%['s] [banner] pattern[s]
[banner] item of [banner] block %block%
and[banner] %block%['s] [banner] item
becomebanner item of %block%
and%block%'[s] banner item
beacon (tier|level) of %block%
and%block%['s] beacon (tier|level)
becomebeacon (tier|level) of %block%
and%block%'[s] beacon (tier|level)
[(all|every|each)] ([living] entit(ies|y)|player[s]) in range of %block%
becomesentities in range of [beacon] %block%
[the] beacon fuel[ing item[[ ]stack]] of [beacon] %block%
and%block%['s] beacon fuel[ing item[[ ]stack]]
becomebeacon fuel[ing] [item] of %block%
and%block%'[s] beacon fuel[ing] [item]
Other changes :
- Removed the
thrown potion
expression inside of the regular potion splash event and replaced it withevent-projectile
- MASSIVE optimisations to the source code have been made.
I think that wraps it up !
1.2.1 : New event, 2 event-values, 1 expression and massive refactor
Update time !
This update doesn't add much new stuff, but on the Java side of things, the whole addon has been changed.
New stuff :
Events :
[on] [potion] splash[ing] [(of|with) %potioneffecttypes%]
Triggers when a splash potion explodes/lands. If you specify potion effect types, the event will only trigger if the thrown potion's effects contains the specified ones.
Event values :
[the] affected entities
Can only be used in the potion splash event. Returns all the entities who got affected by the thrown potion.
[the] thrown potion [entity]
Can only be used in the potion splash event. Returns the thrown potion as an entity.
Expressions :
[banner] item of [banner] block %block%
[banner] %block%['s] [banner] item
Gets a banner item from a banner block : same colors, same patterns.
Added syntax.txt
Now, a file containing all registered syntax is created inside the QuarSk folder ! A way to check the syntax whenever you want !
Hope you enjoy !
1.2 : Banner Control and missing expressions
Update time !
1.2 is here !
This update adds *lots of syntaxes regarding banners. Not only can you fully customise everything about them, but you can also create a banner from Miner Needs Cool Shoes ! Create your banner, then copy the code at the end of the URL in the "Share link" (don't release the mouse button or else it will select the whole url). You will then be able to use that code in the dedicated expression.
It also adds a few missing expressions regarding potions.
New stuff :
Effects (1) :
apply (banner|shield) [item] pattern[s] of %itemstack% to [banner] [block] %block%
apply [item] %itemstack%['s] (banner|shield) pattern[s] to [banner] [block] %block%
Expressions (7) :
Banners :
[new] [banner] layer (with|using|of|from) pattern [type] %bannerpattern% colo[u]r[ed] %color%
[new] (banner|shield) (from|with|using|of) [[banner] patterns] %bannerlayers%
[(all|each|every)] [banner] layer[s] of [(block|banner)] %block%
[(all|every|each) of] %block%['s] [banner] layers
Settable (Modifiers : set, add, remove, delete/reset)
[(all|each|every)] [banner] layer[s] of [(shield|banner|item)] %itemstack%
[(all|every|each) of] %itemstack%['s] [banner] layers
Settable (Modifiers : set, add, remove, delete/reset)
[(banner|shield)] bas(e|ic) color of item %itemstack%
item %itemstack%['s] [(banner|shield)] bas(e|ic) color
Settable (Modifiers : set, reset)
[banner] block bas(e|ic) color of block %block%
block %block%['s] [banner] bas(e|ic) color
Settable (Modifiers : set, reset)
(banner|shield) [item] from [m[iners]]n[eed]c[ool][s[hoes]] [code] %string%
[m[iners]]n[eed]c[ool][s[hoes]] code of [(banner|shield|item)] %itemstack%
[a] [new] random (banner|shield)
Potions :
(tier|amplifier) of [[potion] effect [type]] %potioneffecttype% on [item] %itemstack%
[[potion] effect [type]] %potioneffecttype%['s] (tier|amplifier) on [item] %itemstack%
Settable (Modifiers : add, set, remove)
(duration|length) of [[potion] effect [type]] %potioneffecttype% on [item] %itemstack%
[[potion] effect [type]] %potioneffecttype%['s] (duration|length) on [item] %itemstack%
Settable (Modifiers : add, set, remove)
All possible pattern types :
base
border
brick
circle middle
creeper
cross
curly border
diagonal left
diagonal left mirror
diagonal right
diagonal right mirror
flower
gradient
gradient up
half horizontal
half horizontal mirror
half vertical
half vertical mirror
mojang
rhombus middle
skull
square bottom left
square bottom right
square top left
square top right
straight cross
stripe bottom
stripe center (vertical)
stripe downleft (diagonal, ends down left)
stripe downright (diagonal, ends down right)
stripe left
stripe middle (horizontal)
stripe right
stripe small (multiple small vertical stripes)
stripe top
triangle bottom
triangle top
triangles bottom
triangles top
I'll post images on the wiki when I have time.
Gone :
- `color of %potioneffect%`Fixed :
- The `apply %itemstack% to banner %block%` wouldn't do anything because of a dumb mistake by me.Extended descriptions are on the wiki (found here)
Hope you enjoy !
1.2 Beta : Banner Control
Update time !
NOTE : This is an untested beta. I'm releasing it for you to test it. I am not expecting it to work 100%, but I expect you to report me 100% of the bugs. The wiki will only be updated when it is officially released.
This update adds *lots of syntaxes regarding banners. Not only can you fully customise everything about them, but you can also create a banner from Miner Needs Cool Shoes ! Create your banner, then copy the code at the end of the URL in the "Share link" (don't release the mouse button or else it will select the whole url). You will then be able to use that code in the dedicated expression.
It also adds a few missing expressions regarding potions. Features may be removed or added in final release.
New stuff :
Effects (1) :
apply (banner|shield) [item] pattern[s] of %itemstack% to [banner] [block] %block%
apply [item] %itemstack%['s] (banner|shield) pattern[s] to [banner] [block] %block%
Expressions (7) :
Banners :
[new] [banner] layer (with|using|of|from) pattern [type] %bannerpattern% colo[u]r[ed] %color%
[new] (banner|shield) (from|with|using|of) [[banner] patterns] %bannerlayers%
[(all|each|every)] [banner] layer[s] of [(block|banner)] %block%
[(all|every|each) of] %block%['s] [banner] layers
Settable (Modifiers : set, add, remove, delete/reset)
[(all|each|every)] [banner] layer[s] of [(shield|banner|item)] %itemstack%
[(all|every|each) of] %itemstack%['s] [banner] layers
Settable (Modifiers : set, add, remove, delete/reset)
[(banner|shield)] bas(e|ic) color of item %itemstack%
item %itemstack%['s] [(banner|shield)] bas(e|ic) color
Settable (Modifiers : set, reset)
[banner] block bas(e|ic) color of block %block%
block %block%['s] [banner] bas(e|ic) color
Settable (Modifiers : set, reset)
(banner|shield) [item] from [m[iners]]n[eed]c[ool][s[hoes]] [code] %string%
Potions :
(tier|amplifier) of [[potion] effect [type]] %potioneffecttype% on [item] %itemstack%
[[potion] effect [type]] %potioneffecttype%['s] (tier|amplifier) on [item] %itemstack%
Settable (Modifiers : add, set, remove)
(duration|length) of [[potion] effect [type]] %potioneffecttype% on [item] %itemstack%
[[potion] effect [type]] %potioneffecttype%['s] (duration|length) on [item] %itemstack%
Settable (Modifiers : add, set, remove)
All possible pattern types :
base
border
brick
circle middle
creeper
cross
curly border
diagonal left
diagonal left mirror
diagonal right
diagonal right mirror
flower
gradient
gradient up
half horizontal
half horizontal mirror
half vertical
half vertical mirror
mojang
rhombus middle
skull
square bottom left
square bottom right
square top left
square top right
straight cross
stripe bottom
stripe center (vertical)
stripe downleft (diagonal, ends down left)
stripe downright (diagonal, ends down right)
stripe left
stripe middle (horizontal)
stripe right
stripe small (multiple small vertical stripes)
stripe top
triangle bottom
triangle top
triangles bottom
triangles top
The names may not always be very descriptive, so the best way to find what's what is trial and error. i'll post an extended description (images) on full release.
Hope you enjoy !
1.1.2 : Fixes
This updates only fixes a bunch of stuff :
- Fixed potion level syntax conflicting with xp level syntax
- Fixed possible conflict between beacon level and cp level
- Fixed a dumb mistake making the beacon potion effects not change.
That's all !
1.1.1 : Beacon Control
Update Time !
This update adds a few expressions regarding beacons !
Here they are :
[(all|every|each)] ([living] entit(ies|y)|player[s]) in range of %block% //The block must be a beacon, cannot be set
(tier|level) of [beacon] %block% //Cannot be set
[beacon] %block%['s] (tier|level)
[the] (0¦(first|primary)|1¦second[ary]) [potion] effect of [beacon] %block% //Both can be set
[beacon] %block%['s] (0¦(first|primary)|1¦second[ary]) [potion] effect
Make sure to report any bugs ! Suggest anything you'd want ,as long as it fits in the theme I defined in the skUnity post
1.1 : Potion Control
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