SharpSK [1.8 - 1.12+]

Addon SharpSK [1.8 - 1.12+] 1.6.3

  • 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!

Sharpjaws

Addon Developer
Jan 26, 2017
41
41
0
27
The Netherlands
Sharpjaws submitted a new resource:

SharpSK - Use your favourite plugins in skript

Slogo.png


About:

SharpSK is an addon for skript that provides support for alot of other plugins so you are able to interact with them in skript. It also includes some unique features itself to try out.

Supported Plugins:
MythicMobs
AuthmeReloaded
CoreProtect
GlowAPI
JobsReborn
LightAPI
mcMMO
Multiverse
PermissionsEx
uCars

Goals:
Right now 10 Plugins are supported in total but I am working to...

Read more about this resource...
 
Sharpjaws updated SharpSK with a new update entry:

1.6.1B Update

Fixed a bug with the armor equip event throwing errors with 1.7-1.8.8 versions

Mythicmobs:

Added event-entity to On Mythicmob spawn.


mcMMO:

Added:
[sharpsk] [mcmmo] remaining %skilltype% [e]xp[erience] of %player%
[mcmmo] power[]level cap[acity]


JobsReborn:
Added Support for 3.8.X+
Fixed a bug where the "jobs of %offlineplayer%" expression if used repeatly in a broadcast effect it would keep duplicating the message.
You can now get event-job from any jobsreborn event.

CoreProtect:...

Read the rest of this update entry...
 
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
 
code_language.skript:
on mythicmob spawn:
    if event-entity's name contains "RED":
        make event-entity pathfind to location(1,1,1, world) with speed 1
using skquery pathfind
 
@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_language.skript:
on mythicmob spawn:
    if event-string contains "RED":
        make event-entity pathfind to location(1,1,1, world) with speed 1
 
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_language.skript:
    stop
function StartGame(a: text):
    spawnMob({_a})
    spawnBase({_a})
    create timer "%{_a}%" for 10 seconds
    stop
on timer complete:
    if event-string contains "MOBA-":
        set {_arena} to event-string
        if {moba::%{_arena}%} is "STARTED":
            wait a tick
            spawnMob({_arena})
            wait a tick
            create timer "%{_arena}%" for 30 seconds
            stop
        else:
            stop
 
Your timer stuff are very interesting,
Can you add this stuff please ? :emoji_grin:

code_language.skript:
create timer "home.%player%" for 1 day [-keep tick true]
//option to keep it ticking even server restart (would be cool for timed rank or rental home script)

//Effect
add 1 days to timer "home.%player%"
set timer "home.%player%" to 10 days
subtract 1 day from timer "home.%player%"

stop timer "home.%player%"

//Condition
timer "home.%player%" is ticking

//Expression
set {_timeleft} to timer "home.%player%"
 
Last edited by a moderator:
Sharpjaws updated SharpSK with a new update entry:

1.6.1.2 Update

MythicMobs:

Added event-string to mythicmob spawn event so you can get the mythicmob's internal name

General:
Added new command /sharpsk timers so you get the amount of active timers that are running

Merged PirateSK into SharpSK

Credits:
Piratejsk for making the original piratesk addon
@Blade for updating it and giving me his source code.:emoji_thumbsup:

Added new timer features:

Effects:
stop timer %string%

Expressions:
time of timer...

Read the rest of this update entry...
 
Sharpjaws updated SharpSK with a new update entry:

1.6.1.3 Minor update

General:

Changed:
code_language.skript:
create timer %string% for %timespan%
to:
code_language.skript:
create timer %string% for %timespan% [keep active %-boolean%]

When keep active is true then the timer will be paused and temporarily saved when the server stops and resumed after the server restarts.

Fixed a syntax error with the All Timers expression

Read the rest of this update entry...
[doublepost=1486335290,1486316361][/doublepost]@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
 
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 ? =)
 
@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_language.skript:
on anvil prepare:
   event-anvilcost    //I guess