1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Script SkaMoore library 1.0-beta2

A snippets library for skript-mirror

Tags:
  1. Max094_Reikeb
    Contributors:
    Olyno, Anarchick, nope, blue, Snow-Pyon, Govindas, EWS, JustAlban', ZQNKH
    Supported Minecraft Versions:
    • 1.14
    SkaMoore library
    SkaMoore is a skript-mirror's library that adds expressions, conditions and a lot of stuff.

    Dependencies required : ThatPacketAddon and SkStuff.

    Here is the official website of SkaMoore library, with all the explainations, the changelogs, and the documentation.

    Expression :
    Code (Text):
    Code (Text):
    1. #(nl|new line|newline)
    2.  
    3. #example :
    4. command /kick <offline player <text=reason>:
    5.     trigger:
    6.         kick arg-1 due to "&4&lYou were kicked for : &r%nl%&b> %arg-2%"
    Condition :
    Code (Text):
    1. #[has] %player% changed biome
    2.  
    3. #Examples :
    4. on any move:
    5.     if player changed biome:
    6.         send "&aYou just changed biome!" to player
    7.  
    8. on any move:
    9.     has player changed biome
    10.     send "&aYou just changed biome &a%{biome::%player%::avant}% &ato biome &a%{biome::%player%::apres}% &a!"
    Effects :
    Code (Text):
    1. #tempban %player% (due to|for) %reason% for %timespan%
    2. #to notice : The duration of the ban can only be written with the form "X seconds | minutes | hours | days | weeks | years"
    3. #example :
    4. command /tempban <player> <text=reason> <timespan>:
    5.     trigger:
    6.         if arg-1 is set:
    7.             if arg-2 is set:
    8.                 if arg-3 is set:
    9.                     tempban arg-1 due to arg-2 for arg-3
    Code (Text):
    1. #tempardon %player%
    2. #example :
    3. command /tempardon <offline player>:
    4.     trigger:
    5.         if arg-1 is set:
    6.             tempardon arg-1
    Code (Text):
    1. #make %entity% [show] [the] (swing their (main|off) hand|take damage|leave bed|critical|magic critical) [effect] [to %-players%]
    2. #examples :
    3. command /swing:
    4.     trigger:
    5.         make player swing their main hand
    6.  
    7. command /showdamage <player>:
    8.     trigger:
    9.         make player show the take damage effect to arg-1
    10.  
    11. on damage:
    12.     if attacker is a witch:
    13.         cancel event
    14.         make player show magic critical effect to {_viewers::*}
    Code (Text):
    1. #send coded (text|expression) %string% from %player% (with keys|as) %integer%, %integer% and %integer% [uncoded for %-players%]
    2. #examples :
    3. command /cchat <offline player>:
    4.     trigger:
    5.         if {chat::%player%::is} is false:
    6.             set {chat::%player%::is} to true
    7.             set {chat::%player%::cansee} to arg-1
    8.             message "Done, true!"
    9.             stop
    10.         if {chat::%player%::is} is true:
    11.             set {chat::%player%::is} to false
    12.             message "Done, false!"
    13.  
    14. on chat:
    15.     if {chat::%player%::is} is true:
    16.         cancel event
    17.         send coded text message from player with keys 2, 3 and 4 uncoded for {chat::%player%::cansee}
    18.  
    19. on chat:
    20.     if {chat::%player%::is} is true:
    21.         cancel event
    22.         send coded expression message from player as 42, 21 and 90
    Code (Text):
    1. #give %player% unstackable item %item%
    2. #examples:
    3. command /specialgive <item> <integer> <text>:
    4.     trigger:
    5.         give player unstackable item arg-2 of arg-1 named "%arg-3%"
    6.  
    7. command /givespecialsword:
    8.     trigger:
    9.         give player unstackable item 67 of diamond sword of sharpness 4 named "ddd" with lore "&cCOOL"