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. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,007
    Likes Received:
    138
    I use your plugin to pour 1.7.2 service today
    Perfect running, the countdown function is perfect, thanks for your plugins
    --- Double Post Merged, May 2, 2017, Original Post Date: Apr 29, 2017 ---

    The use of players in this event will be problematic
    Seems to be the result of asynchronous execution?
    Can you repair?
    Code (Text):
    1.  
    2. on timer complete:
    3.     loop {team.%event-string%::*}:
    4.         set {_timert2} to loop-value parsed as player
    5.         if {_timert2} is set:
    6.             tp({_timert2}, "%event-string%") #teleport {_timert2} to {loc::%event-string%}
    7.  
    8. [20:21:21 ERROR]: #!#! [Skript] Severe Error:
    9. [20:21:21 ERROR]: #!#!
    10. [20:21:21 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
    11. [20:21:21 ERROR]: #!#! If you're a server admin however please go to https://github.com/bensku/Skript/issues/
    12. [20:21:21 ERROR]: #!#! and check whether this error has already been reported.
    13. [20:21:21 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it (or use paste service),
    14. [20:21:21 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
    15. [20:21:21 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
    16. [20:21:21 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
    17. [20:21:21 ERROR]: #!#!
    18. [20:21:21 ERROR]: #!#! Stack trace:
    19. [20:21:21 ERROR]: #!#! java.lang.IllegalStateException: Asynchronous chunk load!
    20. [20:21:21 ERROR]: #!#!     at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:14)
    21. [20:21:21 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_11_R1.CraftWorld.loadChunk(CraftWorld.java:305)
    22. [20:21:21 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_11_R1.CraftChunk.load(CraftChunk.java:122)
    23. [20:21:21 ERROR]: #!#!     at ch.njol.skript.effects.EffTeleport.execute(EffTeleport.java:91)
    24. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:52)
    25. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
    26. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
    27. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:55)
    28. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.function.ScriptFunction.execute(ScriptFunction.java:89)
    29. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.function.Function.execute(Function.java:107)
    30. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.function.FunctionReference.execute(FunctionReference.java:189)
    31. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.function.EffFunctionCall.execute(EffFunctionCall.java:53)
    32. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:52)
    33. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
    34. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
    35. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:55)
    36. [20:21:21 ERROR]: #!#!     at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:151)
    37. [20:21:21 ERROR]: #!#!     at ch.njol.skript.SkriptEventHandler$1.execute(SkriptEventHandler.java:109)
    38. [20:21:21 ERROR]: #!#!     at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74)
    39. [20:21:21 ERROR]: #!#!     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    40. [20:21:21 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517)
    41. [20:21:21 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502)
    42. [20:21:21 ERROR]: #!#!     at me.sharpjaws.sharpSK.Threads.CTimerThread.run(CTimerThread.java:66)
    43. [20:21:21 ERROR]: #!#!
    44. [20:21:21 ERROR]: #!#! Version Information:
    45. [20:21:21 ERROR]: #!#!   Skript: 2.2-dev26f
    46. [20:21:21 ERROR]: #!#!   Bukkit: 1.11.2-R0.1-SNAPSHOT
    47. [20:21:21 ERROR]: #!#!   Minecraft: 1.11.2
    48. [20:21:21 ERROR]: #!#!   Java: 1.8.0_121 (OpenJDK 64-Bit Server VM 25.121-b13)
    49. [20:21:21 ERROR]: #!#!   OS: Linux amd64 2.6.32-431.el6.x86_64
    50. [20:21:21 ERROR]: #!#!
    51. [20:21:21 ERROR]: #!#! Running CraftBukkit: false
    52. [20:21:21 ERROR]: #!#!
    53. [20:21:21 ERROR]: #!#! Current node: null
    54. [20:21:21 ERROR]: #!#! Current item: teleport {_p}(as org.bukkit.entity.Entity) to [[direction:at]] {team.loc::%{_s}(as java.lang.Object)%}(as org.bukkit.Location)
    55. [20:21:21 ERROR]: #!#!
    56. [20:21:21 ERROR]: #!#! Thread: wait_1a
    57. [20:21:21 ERROR]: #!#!
    58. [20:21:21 ERROR]: #!#! End of Error.
    59. [20:21:21 ERROR]: #!#!
    60. [20:21:21 ERROR]: #!#!
    61. [20:21:21 ERROR]: #!#! [Skript] Severe Error:
    62. [20:21:21 ERROR]: #!#!
    63. [20:21:21 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
    64. [20:21:21 ERROR]: #!#! If you're a server admin however please go to https://github.com/bensku/Skript/issues/
    65. [20:21:21 ERROR]: #!#! and check whether this error has already been reported.
    66. [20:21:21 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it (or use paste service),
    67. [20:21:21 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
    68. [20:21:21 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
    69. [20:21:21 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
    70. [20:21:21 ERROR]: #!#!
    71. [20:21:21 ERROR]: #!#! Stack trace:
    72. [20:21:21 ERROR]: #!#! java.lang.IllegalStateException: Asynchronous chunk load!
    73. [20:21:21 ERROR]: #!#!     at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:14)
    74. [20:21:21 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_11_R1.CraftWorld.loadChunk(CraftWorld.java:305)
    75. [20:21:21 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_11_R1.CraftChunk.load(CraftChunk.java:122)
    76. [20:21:21 ERROR]: #!#!     at ch.njol.skript.effects.EffTeleport.execute(EffTeleport.java:91)
    77. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:52)
    78. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
    79. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
    80. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:55)
    81. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.function.ScriptFunction.execute(ScriptFunction.java:89)
    82. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.function.Function.execute(Function.java:107)
    83. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.function.FunctionReference.execute(FunctionReference.java:189)
    84. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.function.EffFunctionCall.execute(EffFunctionCall.java:53)
    85. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:52)
    86. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
    87. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
    88. [20:21:21 ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:55)
    89. [20:21:21 ERROR]: #!#!     at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:151)
    90. [20:21:21 ERROR]: #!#!     at ch.njol.skript.SkriptEventHandler$1.execute(SkriptEventHandler.java:109)
    91. [20:21:21 ERROR]: #!#!     at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74)
    92. [20:21:21 ERROR]: #!#!     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    93. [20:21:21 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517)
    94. [20:21:21 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502)
    95. [20:21:21 ERROR]: #!#!     at me.sharpjaws.sharpSK.Threads.CTimerThread.run(CTimerThread.java:66)
    96. [20:21:21 ERROR]: #!#!
    97. [20:21:21 ERROR]: #!#! Version Information:
    98. [20:21:21 ERROR]: #!#!   Skript: 2.2-dev26f
    99. [20:21:21 ERROR]: #!#!   Bukkit: 1.11.2-R0.1-SNAPSHOT
    100. [20:21:21 ERROR]: #!#!   Minecraft: 1.11.2
    101. [20:21:21 ERROR]: #!#!   Java: 1.8.0_121 (OpenJDK 64-Bit Server VM 25.121-b13)
    102. [20:21:21 ERROR]: #!#!   OS: Linux amd64 2.6.32-431.el6.x86_64
    103. [20:21:21 ERROR]: #!#!
    104. [20:21:21 ERROR]: #!#! Running CraftBukkit: false
    105. [20:21:21 ERROR]: #!#!
    106. [20:21:21 ERROR]: #!#! Current node: null
    107. [20:21:21 ERROR]: #!#! Current item: teleport {_p}(as org.bukkit.entity.Entity) to [[direction:at]] {team.loc::%{_s}(as java.lang.Object)%}(as org.bukkit.Location)
    108. [20:21:21 ERROR]: #!#!
    109. [20:21:21 ERROR]: #!#! Thread: wait_1a
    110. [20:21:21 ERROR]: #!#!
    111. [20:21:21 ERROR]: #!#! End of Error.
    112. [20:21:21 ERROR]: #!#!
    113.  
    --- Double Post Merged, May 2, 2017 ---
    I'm trying to get the "event-string"
    Add wait 1 ticks
    And then this problem is solved
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,007
    Likes Received:
    138
    No... you are running 1.11.2 Spigot. Also, the error has something to do with chunk loading.
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,007
    Likes Received:
    138
    That's the news of the merge

    1.7.2 can run without problems

    Problems have been solved

    I made two servers
     
    • Like Like x 1
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,007
    Likes Received:
    138
    Important:
    Alright a heads up for everybody who uses SharpSK's experimental timers. There was a very critical bug regarding the timer complete/tick events causing server crashes, probably spamming errors and unpleasant problems when attempting to execute commands or other synchronized things inside the events (reported by several people). So I am here to say that this bug has now been patched for the next version. I apologize for any problems regarding the timers as there is still alot of work todo on them. At the same time I would like to say thanks to everybody who were testing out the timers and reporting bugs to me/suggestion things to me. Cheers! :emoji_grin:
     
  5. SmilingSlimeGuy

    Joined:
    Jan 30, 2017
    Messages:
    7
    Likes Received:
    0
  6. Sharpjaws

    Addon Developer

    Joined:
    Jan 26, 2017
    Messages:
    41
    Likes Received:
    41
    @SmilingSlimeGuy It's a known bug. Its fixed by adding
    Code (Skript):
    1.  rotate by 0 degrees  
    to the end of the past schematic syntax, for example:
    Code (Skript):
    1.  sharpsk paste schematic "someschem" at the location of the player exclude air true rotate by 0 degrees  
     
  7. SmilingSlimeGuy

    Joined:
    Jan 30, 2017
    Messages:
    7
    Likes Received:
    0
  8. Sharpjaws

    Addon Developer

    Joined:
    Jan 26, 2017
    Messages:
    41
    Likes Received:
    41
    @SmilingSlimeGuy Ah yes that error is completely normal. You can ignore it for now. Also, you're welcome :emoji_thumbsup:
     
  9. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,007
    Likes Received:
    138
    Sharpjaws updated SharpSK [1.8 - 1.12+] with a new update entry:

    SharpSK 1.6.3 Update - Major update

    Read the rest of this update entry...
     
  10. x

    xbxy Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    170
    Likes Received:
    8
    Code (Text):
    1.  
    2. [18:15:06 WARN]: [Skript] Task #15531 for Skript v2.2-SNAPSHOT generated an exception
    3. java.lang.NoSuchMethodError: ch.njol.skript.util.Timespan.fromTicks_i(J)Lch/njol/skript/util/Timespan;
    4.         at me.sharpjaws.sharpSK.main$23.get(main.java:616) ~[?:?]
    5.         at me.sharpjaws.sharpSK.main$23.get(main.java:611) ~[?:?]
    6.         at ch.njol.skript.expressions.base.EventValueExpression.getValue(EventValueExpression.java:103) ~[?:?]
    7.         at ch.njol.skript.expressions.base.EventValueExpression.get(EventValueExpression.java:89) ~[?:?]
    8.         at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:103) ~[?:?]
    9.         at ch.njol.skript.expressions.base.WrapperExpression.get(WrapperExpression.java:88) ~[?:?]
    10.         at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:103) ~[?:?]
    11.         at ch.njol.skript.lang.VariableString.toString(VariableString.java:383) ~[?:?]
    12.         at ch.njol.skript.lang.VariableString.getArray(VariableString.java:488) ~[?:?]
    13.         at ch.njol.skript.lang.VariableString.getArray(VariableString.java:1) ~[?:?]
    14.         at ch.njol.skript.effects.EffBroadcast.execute(EffBroadcast.java:69) ~[?:?]
    15.         at ch.njol.skript.lang.Effect.run(Effect.java:54) ~[?:?]
    16.         at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:63) ~[?:?]
    17.         at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91) ~[?:?]
    18.         at ch.njol.skript.effects.Delay$1.run(Delay.java:84) ~[?:?]
    19.         at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:67) ~[jx_shengcun.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    20.         at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [jx_shengcun.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    21.         at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:614) [jx_shengcun.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    22.         at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:273) [jx_shengcun.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    23.         at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:562) [jx_shengcun.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    24.         at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:469) [jx_shengcun.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    25.         at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [jx_shengcun.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    26. [18:15:07 INFO]: LZM1314[/14.208.210.113:36223] logged in with entity id 77328 at ([shengcun] -2233.6254660925256, 65.0, -3712.9230858499186)
    27.  
     
  11. Uzumaki

    Uzumaki Well-Known Member

    Joined:
    Feb 20, 2017
    Messages:
    289
    Likes Received:
    8
  12. EnderWingZ

    EnderWingZ Member

    Joined:
    Jun 4, 2017
    Messages:
    8
    Likes Received:
    0
    %event-phase% in event "on dragon phase change" does not work
     
  13. S

    Sitieno14 Member

    Joined:
    Mar 8, 2017
    Messages:
    14
    Likes Received:
    1
    Code (Skript):
    1. sharpsk fastasyncworldedit paste schematic "DeleteHouse" at location of {house::%player%::abovecomputer}
    Code (Skript):
    1. [16:14:08] [Craft Scheduler Thread - 38/WARN]: [SharpSK] Failed to paste schematic: "DeleteHouse" An error occurred
    Code (Skript):
    1. sharpsk fastasyncworldedit paste schematic "House" at location of event-block
    2.        
    Code (Skript):
    1. [16:14:02] [Craft Scheduler Thread - 28/WARN]: [SharpSK] Failed to paste schematic: "House" An error occurred
    2.  

    Please can you help me to fix this problem?
    Thanks in advance..
     
  14. C

    Coolfire02 Member

    Joined:
    Jun 15, 2018
    Messages:
    3
    Likes Received:
    0
    command /lagtest:
    trigger:
    if player has permission "op.lelele":
    set {testingngngngng.%player%} to {testingngngngng.%player%} + 1
    pex add permission "testperm.%{testingngngngng.%player%}%" to %player%
    pex add group Free to %player%
    pex add group A to %player%
    pex remove group Free from %player%

    all PEX events dont work ;-; all spits out an error of cant understand this condition/effect any help will be appreciated

    Update:
    I realised some of the problems and fixed it
    command /lagtest:
    trigger:
    if player has permission "op.lelele":
    set {testingngngngng.%player%} to {testingngngngng.%player%} + 1
    pex add permission "testperm.%{testingngngngng.%player%}%" to player
    pex add group "Free" to player
    pex add group "A" to player
    pex remove group "Free" from player

    but it still gives the same error lmao
     
  15. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,007
    Likes Received:
    138
    Do you have both PEX and VAULT on your server?
     
  16. C

    Coolfire02 Member

    Joined:
    Jun 15, 2018
    Messages:
    3
    Likes Received:
    0
    yeah xD
     
  17. KeirLoire

    KeirLoire Member

    Joined:
    Jan 26, 2019
    Messages:
    1
    Likes Received:
    0
    It would be nice if SharpSK has a nexpression for getting the permissions of a pex group. :emoji_slight_smile:
     
  18. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,007
    Likes Received:
    138
    SharpSK is abandoned.
    Hasn't been updated in about 1.5 years
     
  19. i

    initiaL PIG Member

    Joined:
    Mar 9, 2019
    Messages:
    2
    Likes Received:
    0
    set glowing color of player to red

    doesnt works :emoji_frowning:

    sharpsk
    glowapi

    [10:56:58] [Server thread/ERROR]: Can't understand this condition/effect: set glowing color of player to red (cmd.sk, line 6: set glowing color of player to red')
     
Loading...