skDragon [EMOTES] [PARTICLES] 2875 days, 17 hours and 34 minutes ago
ៜкƊʀᴀɢᴏɴܟ
(1.8 - 1.15)
▸Particle effects album - http://imgur.com/a/NmmD4
▸ Emote gif album - http://imgur.com/a/o4vsv
The biggest particle addon for skript with other weird stuff?
➧ Features:
▸ Player/location particle effects/trails
▸ Colored particle images!
▸ Color-able particles
▸ Rainbow effects when using colorable particles
▸ Probably the longest syntax ever
▸ Lots of options available to customize the different effects
▸ Hooks into DragonTravel
▸ Emotes (custom player skull animations like Hypixel)
- You can find color codes at these sites http://www.colorschemer.com/online.html or http://www.colorpicker.com/
Requirements:
▪ Skript 2.2
▪ Spigot 1.8.8 to latest (maybe some lower ones xD )
Optional requirements:
▪ DragonTravel - http://dev.bukkit.org/bukkit-plugins/dragontravel/ (needs compatible version to work with what you have)
Built using Java 8 ☕
Syntax:
Emote Effects
stop emote %player%
emote %emotetype% on %entity% [with [frame] delay %-number%][ [and] repeat[ing] %-number% [time[s]]]
custom emote %string% on %entity%[with [frame] delay %-number%][ [and] repeat[ing] %-number% [time[s]]]
reload custom emotes
Emote types
New:
santa wink
santa blink
santa look
xmas tree
orc blink
Old:
blush
cheeky
cool
cry
dizzy
frown
goofy
grin
love struck
lovey
rage
relax
rip
sleepy
smile
spicy
surprised
tan
too cool
wink
Particle Effects
#Effects
stopEffect[ id] %string%
drawAtom particle1 %string%[[, material] %itemstack%][, speed %number%][, ([offset]XYZ|RGB) %number%, %number%, %number%], particle2 %string%[[, material] %itemstack%][, speed2 %number%][, ([offset]XYZ2|RGB2) %number%, %number%, %number%], center %entity/location%, id %string%[, isSingle %boolean%, %player%][, r[ainbow]M[ode] %boolean%], innerPCount %number%, innerRadius %number%, outerPCount %number%, orbitCount %number%, start %number%, visibleRange %number%, rot[ation] %number%[, dis[placement]X %number%, dis[placement]Y %number%, dis[placement]Z %number%][, tps %number%, second %number%]
drawBand particle %string%[, material %itemstack%][, speed %number%][, ([offset]XYZ|RGB) %number%, %number%, %number%], center %entity/location%, id %string%[, isSingle %boolean%, %player%][, r[ainbow]M[ode] %boolean%], visibleRange %number%[, dis[placement]X %number%, dis[placement]Y %number%, dis[placement]Z %number%][, tps %number%, second %number%]
drawComplexCircle particle %string%[, material %itemstack%][, speed %number%][, ([offset]XYZ|RGB) %number%, %number%, %number%], center %entity/location%, id %string%[, isSingle %boolean%, %player%][, r[ainbow]M[ode] %boolean%], randomRotation %boolean%, radius %number%, density %number%, start %number%, visibleRange %number%[, xR[otation] %number%, yR[otation] %number%, zR[otation] %number%][, dis[placement]X %number%, dis[placement]Y %number%, dis[placement]Z %number%][, tps %number%, second %number%]
drawNyanCat center %entity/location%, id %string%[, isSingle %boolean%, %player%], visibleRange %number%[, tps %number%, second %number%]
draw[Simple]Halo particle %string%[[, material] %-itemstack%][, speed %-number%][, ([offset]XYZ|RGB) %-number%, %-number%, %-number%], center %object%, id %string%[, isSingle %-boolean%, %-player%][, r[ainbow]M[ode] %-boolean%][, solid %-boolean%][, density %-number%], visibleRange %number%[, tps %-number%, second %-number%]
drawComplexSpiral particle %string%[, material %itemstack%][, speed %number%][, ([offset]XYZ|RGB) %number%, %number%, %number%], center %entity/location%, id %string%[, isSingle %boolean%, %player%][, r[ainbow]M[ode] %boolean%], clockwise %boolean%, scan %boolean%, radius %number%, density %number%, height %number%, effectMod %number%, start %number%, visibleRange %number%[, xR[otation] %number%, yR[otation] %number%, zR[otation] %number%][, dis[placement]X %number%, dis[placement]Y %number%, dis[placement]Z %number%][, tps %number%, second %number%]
drawWings[ style] %number%, particle1 %string%[[, material] %-itemstack%][, speed %-number%][, ([offset]XYZ|RGB) %-number%, %-number%, %-number%], particle2 %string%[[, material] %-itemstack%][, speed2 %-number%][, ([offset]XYZ2|RGB2) %-number%, %-number%, %-number%], particle3 %string%[[, material] %-itemstack%][, speed3 %-number%][, ([offset]XYZ3|RGB3) %-number%, %-number%, %-number%], center %object%, id %string%[, isSingle %-boolean%, %-player%][, r[ainbow]M[ode] %-boolean%][, flapSpeed %-number%, flapRange %-number%], angle %number%, height %number%, space %number%, visibleRange %number%[, tps %-number%, second %-number%]
drawImage file %string%, center %entity/location%, id %string%[, isSingle %boolean%, %player%][, randomRotation %boolean%,[ plane] %string%], pixelStepX %number%, pixelStepY %number%, scale %number%, visibleRange %number%[, xR[otation] %number%, yR[otation] %number%, zR[otation] %number%][, dis[placement]X %number%, dis[placement]Y %number%, dis[placement]Z %number%][, tps %number%, second %number%]
drawArc particle %string%[, material %-itemstack%][, speed %-number%][, ([offset]XYZ|RGB) %-number%, %-number%, %-number%], center %entity/location%, target %entity/location%, id %string%[, isSingle %-boolean%, %-player%][, r[ainbow]M[ode] %-boolean%], density %number%, height %number%, p[itch]M[ultiplier] %number%, visibleRange %number%[, dis[placement]X %-number%, dis[placement]Y %-number%, dis[placement]Z %-number%][, dis[placement]X2 %-number%, dis[placement]Y2 %-number%, dis[placement]Z2 %-number%][, tps %-number%, second %-number%]
drawDragonBreath particle %string%[, material %-itemstack%][, speed %-number%][, ([offset]XYZ|RGB) %-number%, %-number%, %-number%], center %entity/location%, id %string%[, isSingle %-boolean%, %-player%][, r[ainbow]M[ode] %-boolean%], arcPitch %number%, arcCount %number%, arcDensity %number%, arcSteps %number%, arcLength %number%, visibleRange %number%[, dis[placement]X %-number%, dis[placement]Y %-number%, dis[placement]Z %-number%][, tps %-number%, second %-number%]
drawCylinder particle %string%[, material %-itemstack%][, speed %-number%][, ([offset]XYZ|RGB) %-number%, %-number%, %-number%], center %entity/location%, id %string%[, isSingle %-boolean%, %-player%][, r[ainbow]M[ode] %-boolean%], randomRotation %boolean%, isSolid %boolean%, radius %number%, density %number%, height %number%, sideRatio %number%, visibleRange %number%[, xR[otation] %-number%, yR[otation] %-number%, zR[otation] %-number%][, dis[placement]X %-number%, dis[placement]Y %-number%, dis[placement]Z %-number%][, tps %-number%, second %-number%]
drawPlanet particle1 %string%[[, material] %-itemstack%][, speed %-number%][, ([offset]XYZ|RGB) %-number%, %-number%, %-number%], particle2 %string%[[, material] %-itemstack%][, speed2 %-number%][, ([offset]XYZ2|RGB2) %-number%, %-number%, %-number%], center %entity/location%, id %string%[, isSingle %-boolean%, %-player%][, r[ainbow]M[ode] %-boolean%][, rotation %-boolean%,[ plane] %-string%, rot[ation]Speed %-number%][, orbit %-boolean%,[ plane] %-string%, orbit[al]Radius %-number%, orbit[al]Step %-number%], radius %number%, density %number%, precision %number%, bumpHeight %number%, visibleRange %number%[, dis[placement]X %-number%, dis[placement]Y %-number%, dis[placement]Z %-number%][, tps %-number%, second %-number%]
drawDot[ count %-number%,] particle %string%[, material %-itemstack%][, speed %-number%][, ([offset]XYZ|RGB) %-number%, %-number%, %-number%], center %objects%[, isSingle %-boolean%, %-player%][, r[ainbow]M[ode] %-boolean%], visibleRange %number%[, pulseDelay %-number%][, keepFor %-timespan%]
drawItemFountain %itemstack%, style %number%, center %object%, id %string%, itemTime %timespan%, yVelocity %number%, radius %number%, density %number%[, dis[placement]XYZ %-number%, %-number%, %-number%][, pulseDelay %-number%]
drawRings particle %string%[, material %-itemstack%][, speed %-number%][, ([offset]XYZ|RGB) %-number%, %-number%, %-number%], center %object%, id %string%[, isSingle %-boolean%, %-player%][, r[ainbow]M[ode] %-boolean%], randomRotation %boolean%, animated %boolean%, radius %number%, ringCount %number%, ringDensity %number%, visibleRange %number%[, rot[ation]XYZ %-number%, %-number%, %-number%][, dis[placement]XYZ %-number%, %-number%, %-number%][, pulseDelay %-number%]
drawWarpRings style %number%, particle %string%[, material %-itemstack%][, speed %-number%][, ([offset]XYZ|RGB) %-number%, %-number%, %-number%], center %object%, id %string%[, isSingle %-boolean%, %-player%][, r[ainbow]M[ode] %-boolean%], scan %boolean%, height %number%, radius %number%, ringCount %number%, ringDensity %number%, visibleRange %number%[, rot[ation]XYZ %-number%, %-number%, %-number%][, dis[placement]XYZ %-number%, %-number%, %-number%][, pulseDelay %-number%]
drawSphere[ style] %number%, particle %string%[, material %-itemstack%][, speed %-number%][, ([offset]XYZ|RGB) %-number%, %-number%, %-number%], center %object%, id %string%[, isSingle %-boolean%, %-player%][, r[ainbow]M[ode] %-boolean%], radius %number%, density %number%, visibleRange %number%[, dis[placement]XYZ %-number%, %-number%, %-number%][, pulseDelay %-number%]
Particle names to use
explosion
explosionlarge
explosionhuge
fireworkspark
waterbubble
watersplash
waterwake
suspended
suspenddepth
crit
critmagic
smoke
smokelarge
spell
spellinstant
mobspell
mobspellambient
witchspell
waterdrip
lavadrip
angryvillager
happyvillager
townaura
note
portal
enchantmenttable
flame
lava
footstep
cloud
redstone
snowball
snowshovel
slime
heart
barrier
itemcrack
blockcrack
blockdust
waterdrop
itemtake
mobappearance
dragonbreath - 1.9 only
endrod - 1.9 only
damage - 1.9 only
sweep - 1.9 only
Particle example uses
#Blue
drawWings style 12, particle1 "redstone", RGB 0, 184, 245, particle2 "redstone", RGB2 51, 102, 255, particle3 "redstone", RGB3 0, 0, 204, center player, id "%player%", angle 110, height 0, space 0.2, visibleRange 30, tps 0, second 3
#Green
drawWings style 6, particle1 "redstone", RGB 0, 204, 102, particle2 "redstone", RGB2 2, 204, 0, particle3 "redstone", RGB3 51, 255, 0, center player, id "%player%", angle 110, height 0, space 0.2, visibleRange 30, tps 0, second 3
#Orange
drawWings style 4, particle1 "redstone", RGB 255, 77, 0, particle2 "redstone", RGB2 255, 119, 61, particle3 "redstone", RGB3 255, 51, 0, center player, id "%player%", angle 110, height 0, space 0.2, visibleRange 30, tps 0, second 3
#Magenta
drawWings style 7, particle1 "redstone", RGB 255, 0, 204, particle2 "redstone", RGB2 179, 0, 255, particle3 "redstone", RGB3 204, 102, 255, center player, id "%player%", angle 110, height 0, space 0.2, visibleRange 30, tps 0, second 3
#Images MUST be in \plugins\skDragon make sure you create it if it isn't already there :3
drawImage file "batman.png", center location of player, id "%player%", randomRotation true, "xyz", pixelStepX 5, pixelStepY 5, scale 20, visibleRange 300, tps 1, second 3
drawImage file "\dancing mario.gif", center location of player, id "%player%", randomRotation false, "x", pixelStepX 1, pixelStepY 1, scale 10, visibleRange 300, tps 0, second 2
#You can omit the [square bracket stuff if you want] to make the syntax seem shorter :3
drawComplexSpiral particle "redstone", center player, id "%player%", rainbowMode true, clockwise true, scan true, radius 1, density 50, height 6, effectMod .05, start 0, visibleRange 30
#Or you can use the full syntax
drawArc particle "redstone", center player, target target block, id "%player%", rainbowMode true, density 50, height 2, pitchMultiplier 1, visibleRange 30
drawArc particle "redstone", center player, target target block, id "%player%", rainbowMode true, density 50, height 2, pitchMultiplier 8, visibleRange 30, displacementX 0, displacementY 4, displacementZ 0
#Earth-like planet
drawPlanet particle1 "redstone", RGB 0, 255, 10, particle2 "redstone", RGB2 0, 10, 255, center location of player, id "%player%", radius .25, density 150, precision 100, bumpHeight .25, visibleRange 30, tps 1, second 2
drawDot count 1, particle "redstone", RGB 0, 0, 0, center player, rainbowMode true, visibleRange 32, pulseDelay 0, keepFor 20 ticks
#More drawDot examples:
http://pastebin.com/raw/z2H8aiqkcommand /warp [<number>]:
trigger:
stopEffect "%player%"
drawWarpRings style arg-1, particle "redstone", RGB 80, 255, 255, center location of block at player, id "%player%", rainbowMode true, scan true, height 2, radius 2, ringCount 40, ringDensity 20, visibleRange 32, pulseDelay 2
# item y-Push radius style <-- example of what it does
command /drawitem [<item>] [<number>] [<number>] [<number>]:
trigger:
drawItemFountain arg-1, style arg-4, center location of player, id "%player%", itemTime 1 tick, yVelocity arg-2, radius arg-3, density 40, displacementXYZ 0, 0, 0, pulseDelay 3
command /rings [<boolean>] [<boolean>]:
trigger:
drawRings particle "redstone", RGB 80, 255, 255, center player, id "%player%", rainbowMode true, randomRotation arg-1, animated arg-2, radius 1, ringCount 4, ringDensity 10, visibleRange 32, pulseDelay 2
#Halo
drawHalo particle "flame", RGB 0, 0, 0, center player, id "%player%", rainbowMode true, solid true, density 10, visibleRange 32
drawSphere style 1, particle "redstone", center {_loc}, id "%player%", rainbowMode true, radius 1, density 100, visibleRange 32, pulseDelay 1
#Flapping wings:
drawWings style 17, particle1 "flame", speed 0, XYZ 0, 0, 0, particle2 "redstone", particle3 "redstone", center player, id "%player%", rainbowMode true, flapSpeed 2, flapRange 30, angle 120, height 0, space 0.2, visibleRange 30, tps 0, second 3
I'm slowly adding more over the course of the year :p
Forcefield Example Thanks to
@Quisty for making that <3
command /forcefield:
trigger:
if player has permission "forcefield.use":
if difference between {command.%player%} and now is less than 125 seconds:
if {timer.now.%player%} > 1:
send "&8&m---------------------" to player
send "&f&l ForceField &ais running!" to player
send "&8&m---------------------" to player
else:
send "&8&m-------------------------" to player
send "&f&l ForceField &cis on cooldown!" to player
send "&8&m-------------------------" to player
else:
drawComplexCircle particle "redstone", RGB 5, 255, 193, center player, id "%player%-forcefield1", randomRotation true, radius .8, density 20, start 0, visibleRange 100, xRotation 23, yRotation 120, zRotation 0
drawComplexCircle particle "redstone", RGB 0, 255, 0, center player, id "%player%-forcefield2", randomRotation false, radius .8, density 20, start 0, visibleRange 100, xRotation 70, yRotation 10, zRotation 0
drawComplexCircle particle "redstone", RGB 255, 0, 0, center player, id "%player%-forcefield3", randomRotation false, radius .8, density 20, start 0, visibleRange 100, xRotation 0, yRotation 60, zRotation 0
drawComplexCircle particle "redstone", RGB 0, 0, 255, center player, id "%player%-forcefield4", randomRotation true, radius .8, density 20, start 0, visibleRange 100, xRotation 25, yRotation 54, zRotation 0
set {forcefield.%player%} to true
send player title "&f&lForceField" with subtitle "&aEnabled &8<> &c2 minutes"
send action bar from "&f&lForceField &atime left: &72 minutes" to player
set {command.%player%} to now
wait 1 second
set {timer.now.%player%} to 2 * 60
send action bar from "&f&lForceField &7<> &f%{timer.now.%player%}% &cseconds" to player
loop 120 times:
if {timer.now.%player%} > 1:
wait 1 second
remove 1 from {timer.now.%player%}
send action bar from "&f&lForceField &7<> &f%{timer.now.%player%}% &cseconds" to player
if {timer.now.%player%} = 1:
send action bar from "&f&lForceField &7<> &c&lEnded!" to player
set {forcefield.%player%} to false
stopEffect id "%player%-forcefield1"
stopEffect id "%player%-forcefield2"
stopEffect id "%player%-forcefield3"
stopEffect id "%player%-forcefield4"
stop
DragonTravel Stuff
#Effects
take %player% to station[ named] %string%
take %player% on flight[ named] %string%
take %player% to player[ named] %player%
take %player% on random flight
take %player% to[ their] dragon home
take %player% to[ their] dragon faction home
take %player% to[ coords] %number% %number% %number% in[ world] %string%
take %player% to %location% in[ world] %string%
set %player%[(s|'s)] dragon home at %location%
make %player% (stop|dismount from) dragon travel
delete %player%[(s|'s)] dragon home
set %player%[(s|'s)] [dragon ]station[ named] %string% with display[name] %string% at %location%
delete [dragon ]station[ named] %string%
set %player%[(s|'s)] stat[ionary] dragon[ named] %string% with display[name] %string% at %location%
delete stat[ionary] dragon[ named] %string%
remove riderless dragons in[ world] %string%
make %player% (stop|dismount from) dragon travel at %location%
#Events
DragonTravel dismount
DragonTravel post mount
DragonTravel pre mount
DragonTravel syntax examples
command /dtloc:
trigger:
take player to target block in world "Modded"
command /dtloc2:
trigger:
take player to coords 0 72 0 in world "worldName"
command /dtstationtake:
trigger:
take player to station named "stationName"
command /dtflight:
trigger:
take player on flight named "flightName"
command /dtplayer:
trigger:
set {_p} to "_Sashie_" parsed as offline player
take player to player named {_p}
command /dtrandom:
trigger:
take player on random flight
command /dthome:
trigger:
take player to their dragon home
command /dtfaction:
trigger:
take player to their dragon faction home
command /dtsethome:
trigger:
set players dragon home at location of player
command /dtdismount:
trigger:
make player dismount from dragon travel
command /dtdeletehome:
trigger:
delete players dragon home
command /dtsetstation:
trigger:
set players dragon station named "stationName" with displayname "Boop" at location of player
command /dtdeletestation:
trigger:
delete dragon station named "stationName"
command /dtsetstat:
trigger:
set players stationary dragon named "stationaryName" with displayname "Beep" at location of player
command /dtdeletestat:
trigger:
delete stationary dragon named "stationaryName"
command /dtremoveriderless:
trigger:
remove riderless dragons in world "worldName"
command /dtdismountloc:
trigger:
make player dismount from dragon travel at location of player
Config file example
# / \
# _ ) (( )) (
# (@) /|\ ))_(( /|\ _
# |-| / | \ (/\|/\) / | \ (@)
# | | -------------------/--|-voV---\`|'/--Vov-|--\---------------------|-|
# |-| '^` (o o) '^` | |
# | | '\Y/' |-|
# |-| | |
# | | skDragon |-|
# |-| by Sashie | |
# | | |-|
# |_|___________________________________________________________________| |
# (@) l /\ / ( ( \ /\ l `\|-|
# l / V \ \ V \ l (@)
# l/ _) )_ \I
# '\ /'
# v
#
#(Will only send a message to ops or anyone with the permission node 'skdragon.updates')
CheckForUpdates:
#Should we check if updates exist?
Enabled: true
#How many ticks between checks? (default = 12 hours = 864000(ticks))
UpdateTimer: 864000
#Should we bug ops when they join instead? (Disables the UpdateTimer)
JoinMessageOps: false
View Update