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

    Addon Developer

    Joined:
    Jan 26, 2017
    Messages:
    41
    Likes Received:
    41
    Sharpjaws submitted a new resource:

    SharpSK - Use your favourite plugins in skript

    Read more about this resource...
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,054
    Likes Received:
    144
    Sharpjaws updated SharpSK with a new update entry:

    1.6.1B Update

    Read the rest of this update entry...
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,054
    Likes Received:
    144
    Event-entity on mythicmob spawn event looks not work.
    Only work on get Type of entity ,
    tried entity's name not work and also set it pathfinder
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,054
    Likes Received:
    144
    @iRegalia working on fixing it. can you show me your code?

    event-entity gets the minecraft entity not a mythicmob type entity,
     
    #4 ShaneBee, Jan 29, 2017
    Last edited by a moderator: Jan 29, 2017
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,054
    Likes Received:
    144
    Code (Skript):
    1. on mythicmob spawn:
    2.     if event-entity's name contains "RED":
    3.         make event-entity pathfind to location(1,1,1, world) with speed 1
    using skquery pathfind
     
  6. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,054
    Likes Received:
    144
    @iRegalia Fixed by adding event-string to the event so you can get the name of the mythicmob.
    event-entity by default has no name attached so you will need to use event-string to get the name of the mythicmob once i release this hotfix.


    Code (Skript):
    1.  
    2. on mythicmob spawn:
    3.     if event-string contains "RED":
    4.         make event-entity pathfind to location(1,1,1, world) with speed 1
    5.  
     
  7. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,054
    Likes Received:
    144
    okayy,

    Also here another problem with on timer complete event

    it work at StartGame() function but when timer complete if i remove wait a tick will throw error , idk this is timer problem or mythicmobs plugins prolem
    Code (Skript):
    1.     stop
    2. function StartGame(a: text):
    3.     spawnMob({_a})
    4.     spawnBase({_a})
    5.     create timer "%{_a}%" for 10 seconds
    6.     stop
    7. on timer complete:
    8.     if event-string contains "MOBA-":
    9.         set {_arena} to event-string
    10.         if {moba::%{_arena}%} is "STARTED":
    11.             wait a tick
    12.             spawnMob({_arena})
    13.             wait a tick
    14.             create timer "%{_arena}%" for 30 seconds
    15.             stop
    16.         else:
    17.             stop
     
  8. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,054
    Likes Received:
    144
    @iRegalia Could you post me the error log or is it only a skript error?

    Looks like this is not a problem coming from the timers
     
    #8 ShaneBee, Jan 31, 2017
    Last edited by a moderator: Jan 31, 2017
  9. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,054
    Likes Received:
    144
    Your timer stuff are very interesting,
    Can you add this stuff please ? :emoji_grin:

    Code (Skript):
    1.  
    2. create timer "home.%player%" for 1 day [-keep tick true]
    3. //option to keep it ticking even server restart (would be cool for timed rank or rental home script)
    4.  
    5. //Effect
    6. add 1 days to timer "home.%player%"
    7. set timer "home.%player%" to 10 days
    8. subtract 1 day from timer "home.%player%"
    9.  
    10. stop timer "home.%player%"
    11.  
    12. //Condition
    13. timer "home.%player%" is ticking
    14.  
    15. //Expression
    16. set {_timeleft} to timer "home.%player%"
    17.  
     
    #9 ShaneBee, Feb 3, 2017
    Last edited by a moderator: Feb 3, 2017
    • Like Like x 2
  10. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,054
    Likes Received:
    144
    @Grin Yes some of those features were already planned for the new timers in the upcoming update. Thanks for sending more of them in! :emoji_smile:
     
    • Like Like x 1
    • Friendly Friendly x 1
  11. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,054
    Likes Received:
    144
  12. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,054
    Likes Received:
    144
    Sharpjaws updated SharpSK with a new update entry:

    1.6.1.2 Update

    Read the rest of this update entry...
     
  13. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,054
    Likes Received:
    144
    Can you add support for timer to keep it ticking even server restart please?
     
    #13 ShaneBee, Feb 5, 2017
    Last edited by a moderator: Feb 5, 2017
  14. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,054
    Likes Received:
    144
    @Grin Whoops my bad I completely forgot to add that :emoji_sweat_smile:. Will add it in the next one
     
    • Like Like x 1
  15. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,054
    Likes Received:
    144
    Thank you. :emoji_grin:
     
  16. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,054
    Likes Received:
    144
    Sharpjaws updated SharpSK with a new update entry:

    1.6.1.3 Minor update

    Read the rest of this update entry...
    --- Double Post Merged, Feb 5, 2017, Original Post Date: Feb 5, 2017 ---
    @Grin it has been added. When you have a timer with keep active on true it will resume counting down after a server restart so you don't have to create the timer again
     
    • Friendly Friendly x 1
  17. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,054
    Likes Received:
    144
    hi ! it's me firebl0od, don't know if you remember me, but with the news forum i'm completly lost x) so about that anvil enchant level, where are we ? =)
     
  18. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,054
    Likes Received:
    144
    @firebl0od Hey its been a while since we last spoke. :emoji_smile: If i remember correctly I had it included since 1.6.0 (Although seems like I broke it somehow with my recent updates). I will come back at it later when I have time.
    the syntax was:
    Code (Skript):
    1.  
    2. on anvil prepare:
    3.    event-anvilcost    //I guess
    4.  
     
  19. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,054
    Likes Received:
    144
    @Sharpjaws can i have a link to the previous working update ? =)
     
  20. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,054
    Likes Received:
    144
    What do you mean? it isn't working? You can go to the version history and download it anyways.
     
Loading...