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.

Addon SharpSK [1.8 - 1.12+] 1.6.3

Made for supporting alot of your favourite plugins for use in skript

  1. Update - Loads of stuff and lots of stability bugfixes Part 2/2

    The wait is finally over and this update has been finally released. Enjoy!

    Added 1.12 compatibility support
    Tons and tons of bugfixes:

    Fixed critical timer thread errors when running async. They should be working fine now.
    Fixed On Transfer event Throwing error when calling Event-block for Minecraft hopper minecart (Use event-entity for that instead)
    Fixed InventoryTransferEvent throwing errors on minecarts. You can now get them with event-entity
    FIxed mcMMO powerlevel expression throwing nullpointerexceptions on command execution
    Fixed some more timer bugs
    Fixed mythicmobs compatibility
    Fixed jobsreborn compatibility
    Fixed event-item from a On Extract event returning the wrong item
    SharpSK can now load with Massivecore and Factions installed.
    Player skulls are now recognized as helmets in a Armor equip/unequip event
    More minor bugfixes.
    and much more bugfixes that I am too lazy to list all here.

    Removed some old remaining debug messages
    Moved over from MCStats to bstats

    Changed the error messages to make more sense when sharpsk fails to hook into one of the plugins

    Sentinel Support has been fully scrapped. Because lack of API.

    Doubled schematic pasting block limit from 200000 to 400000 blocks!
    All syntaxes have been changed up abit so here's the new one for both plugins:
    Code (Skript):
    2. Worldguard:
    4. Effects:
    5. [sharpsk] [worldguard] create region %string% between %location% and %location% in [world] %world%
    6. [sharpsk] [worldguard] (delete|remove) region %string% (in|from) [world] %world%
    7. [sharpsk] [worldguard] add owner[s] %players/offlineplayers/strings% [(by name|by uuid)] to region %string% in [world]
    8. [sharpsk] [worldguard] remove owner %players/offlineplayers/strings% [(by name|by uuid)] from region %string% in [world] %world%
    9. [sharpsk] [worldguard] add member[s] %players/offlineplayers/strings% [(-by name|by uuid)] to region %string% in [world] %world%
    10. [sharpsk] [worldguard] remove member[s] %players/offlineplayers/strings% [(by name|by uuid)] from region %string% in [world] %world%
    12. Expressions:
    13. [sharpsk] [(worldguard)] (point|pos[ition])[ ] 1 of region %string% in [world] %world%
    14. [sharpsk] [worldguard] (point|pos[ition])[ ] 2 of region %string% in [world] %world%
    15. sharpsk [worldguard] region at %location%
    16. [sharpsk] [all] [worldguard] regions in %world%
    17. [sharpsk] [worldguard] (set [all] blocks in|fill) region %string% in [world] %world% (to|with) %itemstack%
    18. [sharpsk] [worldguard] [all] members of region %string% in [world] %world%
    19. [sharpsk] [worldguard] [all] owners of region %string% in [world] %world%
    20. [sharpsk] [worldguard] [all] flags of region %string% in [world] %world%
    21. [sharpsk] value of flag %string% of [worldguard] region %string% in [world] %world%
    23. Events:
    24. On [sharpsk] [worldguard] pvp disallow[ed]:
    26. WorldEdit:
    27. Added possibility to rotate your schematics
    28. If piratesk is found:
    29. sharpsk paste schematic %string% at %location% [exclude air %-boolean%] [rotate [by] %-number% [degrees]]
    30. If not:
    31. [sharpsk] paste schematic %string% at %location% [exclude air %-boolean%] [rotate [by] %-number% [degrees]]
    Code (Skript):
    2.     New features:
    3.         You can now start a timer in ticks instead of seconds:
    4.         Also you can now set intervals for timers
    6.         create (timer|timer in ticks) %string% for %timespan% [keep active %-boolean%] [[with] (interval|delay) %-timespan% [between ticks]]
    8.         With intervals timers won't be triggering the "timer tick event" on every second passed. You can specify on which interval the event should trigger.
    9.         For example with a 5 second interval the timer tick event will trigger when 5 seconds pass on a timer.
    11.     You can now pause/resume timers:
    12.         pause timer %string%
    13.         resume timer %string%
    14.     Usefull if you need to temporarily delay a timer or other stuff.
    16.     Changes:
    17.         On timer tick: event-number changed to event-time

    Added towny part 2 support:
    Code (Skript):
    2. Recap of all Existing Events/new ones:
    3.     On [towny] mob remov([al]|ed]): //Called when a mob is removed from a town Returns event-entity: The entity
    4.     On [towny] nation create[d]: //Called when a nation has been created. Returns event-nation: Nation Name
    5.     On [towny] nation delete[d]: //Called when a nation has been deleted. Returns event-nation: Nation Name
    6.     On [towny] nation town add[ed]: //Called when a town has been added.
    7.     On [towny] nation rename[d]: //Called when a nation has been renamed.  Returns event-string: Old nation name.  Returns event-nation: New Nation Name
    8.     On [towny] nation town remove[d]: //Called when a town has been deleted.
    9.     On [towny] town delete[d]: //Called when a town has been deleted. Returns event-town: Town Name
    10.     On [towny] town create[d]: //Called when a town is created.    Returns event-town: Town Name
    11.     On [towny] town rename[d]: //Called when a town has been renamed.  Returns event-string: Old town name.  Returns event-town: New Town Name
    12.     On [towny] town claim[ed]: //Called when a town has been claimed.   Returns event-town: Town  Name
    13.     On [towny] town unclaime[d]: //Called when a town has been unclaimed.  Returns event-town: Town  Name
    14.     On [towny] resident rename[d]: //Called when a resident is renamed. Returns event-string: Resident Old Name
    15.     On [towny] resident add[ed]:  //Called when a resident has been added. Returns event-town: Town  Name
    16.     On [towny] resident remove[d]:  //Called when a resident has been removed. Returns event-town: Town  Name
    17.     On [towny] plot clear[ed]:  //Called when a town plot has been cleared.
    18.     On [towny] plot change[d]:  //Called when a town plot has been changed.
    19.     On [towny] pvp disallow[ed]: //Called when a player tried to pvp while disallowed.
    20.     On [towny] town block settings chang(e|ed): //Called when a town block settings changed.
    23. Types:
    27. Expressions:
    28.     [sharpsk] [towny] all [of|the] town[ ]blocktypes
    29.     [sharpsk] [towny] (all|the) nations //returns a list of all nations
    30.     [sharpsk] [towny] (all|the) towns    //returns a list of all towns
    31.     [sharpsk] [towny] town at %location%  //returns town at a location
    32.     [sharpsk] [towny] [bank] balance of nation %string%  //returns balance of nation (Settable)
    33.     [sharpsk] [towny] [bank] balance of town %string%  //returns balance of a town (Settable)
    34.     [sharpsk] [towny] town of %offlineplayer%  //returns a town of a player
    35.     [sharpsk] [towny] nation of %offlineplayer%  //returns nation of a player
    36.     [sharpsk] [towny] [town] (block|plot)type at %location%  //gets the town-blocktype at location  (Settable)
    37.     [sharpsk] [towny] mayor of town %string% //gets the mayor of a town (Settable)
    39. Effects:
    40.     [sharpsk] [towny] create town %string% at %location% [with [bank] balance %-number%] [[and] with mayor %-offlineplayer%] [and residents %-offlineplayers%] //Creates a town
    41.     [sharpsk] [towny] delete town %string% //Deletes a town
    42.     [sharpsk] [towny] rename town %string% to %string% //Renames a town
    43.     [sharpsk] [towny] kick %offlineplayer% from town %string% //Kicks a player from a town
    44.     [sharpsk] [towny] add %offlineplayer% to [town] %string% //Adds player to a town
    45.     [sharpsk] [towny] create nation %string% (of|in) town %string% [with [bank] balance %-number%] //Creates a nation in a town
    46.     [sharpsk] [towny] kick %offlineplayer% from nation %string%  //Kick player from nation
    47.     [towny] add %offlineplayer% to nation %string% //Adds a player to a nation
    Added complete kingdoms(Free)/kingdoms+(Paid) part 2 support:
    Code (Skript):
    2. Recap of all Existing Events/new ones
    3.     On [kingdoms] kingdom create[d]:    //Called on kingdom creation. Retuns event-string: Kingdom Name
    4.     On [kingdoms] kingdom delete[d]:   //Called on kingdom deletion. Retuns event-string: Kingdom Name
    5.     On [kingdoms] kingdom member join[ed]:   //Called on when player joins kingdom. Retuns event-string: Kingdom. event-player: The player
    6.     On [kingdoms] kingdom member leave[d]:  //Called on when player leaves kingdom. Retuns event-string: Kingdom. event-player: The player
    7.     On [kingdoms] champion [player] (lose|defeat):  //Called on when a kingdom loses from a challenger Retuns event-string: Kingdom. event-player: The challenger
    8.     On [kingdoms] champion [player] (win|victory):  //Called on when a kingdom wins from a challenger  Retuns event-string: Kingdom. event-player: The challenger
    9.     On [kingdoms] [resource] point[s] change[d]:  //Called on when resourcepoints of kingdom increases/decreases Retuns event-string: Kingdom. event-number: RP Amount
    12. Kingdoms Expressions:
    13.     [sharpsk] [kingdoms] [kingdom] of %offlineplayer% //Gets the kingdom of a player
    14.     [sharpsk] [kingdoms] king of [kingdom] %string% //Gets the king of a kingdom
    15.     [sharpsk] [kingdoms] members (of|in) kingdom %string% //Gets a list of members of a kingdom
    16.     [sharpsk] [kingdoms] enemies of kingdom %string% //Gets a list of enemy kingdoms of a kingdom
    17.     [sharpsk] [kingdoms] allies of kingdom %string%  //Gets a list of allied kingdoms of a kingdom
    18.     [sharpsk] [kingdoms] (max[imum]|amount of) members (allowed in|limit of) kingdom %string% //Gets the amount of max members allowed in a kingdom (Settable)
    19.     [sharpsk] [kingdoms] (RP|resource[ ]points) of [kingdom] %string% //Gets the resourcepoints of a kingdom (Addable/Removable/Settable)
    20.     [sharpsk] [kingdoms] might of [kingdom] %string% //Gets the might of a kingdom (Addable/Removable/Settable)
    21.     [sharpsk] [kingdoms] (all|the) kingdoms //Gets all the kingdoms
    22.     [sharpsk] [kingdoms] lore of kingdom %string% //Gets the lore of a kingdom (Settable)
    23.     [sharpsk] [kingdoms] nexus loc[ation] of kingdom %string% //Gets the nexus location of a kingdom (Settable)
    24.     [sharpsk] [kingdoms] home loc[ation] of kingdom %string% //Gets the home location of a kingdom (Settable)
    26. Kingdoms Effects:
    27.     [sharpsk] [kingdoms] create kingdom %string% [with] king %player%  //Creates a kingdom
    28.     [sharpsk] [kingdoms] remove kingdom %string%  //Removes a kingdom
    29.     [sharpsk] [kingdoms] make kingdom %string% enemy of kingdom %string%  //Makes kingdom a enemy of another kingdom
    30.     [sharpsk] [kingdoms] make kingdom %string% ally of kingdom %string%  //Makes kingdom a ally of another kingdom
    31.     [sharpsk] [kingdoms] add member %offlineplayer% to kingdom %string%  //Adds a member to a kingdom
    32.     [sharpsk] [kingdoms] give [a] shield to kingdom %string% //Gives a kingdom a shield
    33.     [sharpsk] [kingdoms] remove shield from kingdom %string%
    35. Kingdoms Conditions:
    36.     [sharpsk] [kingdoms] kingdom %string% is [not] online //Checks if a kingdom is online
    37.     [sharpsk] [kingdoms] kingdom %string% [[doesn[']t] have]  [has] [a] shield //Checks if a kingdom has a shield

    You can now log block data and get lookup data

    Code (Skript):
    2.     Effects:
    3.         [(coreprotect|cp)] log block [(removal|placement|interaction)] at %location% (for|by) %offlineplayer%  //Logs a specific block action made by a player
    4.     Expressions:
    5.         [(coreprotect|cp)] [(0¦removal|1¦placement|2¦interaction)] lookup data [from by %-offlineplayers%] from %location% in radius %number% from %timespan% ago [excluding %-itemstacks%]   //Returns a list of itemstacks from the lookup data retrieved
    bertek41 and KingAlterIV like this.
Return to update list...