HomeJavaModsSkillAPI.sk - a SkillAPI API for Skript
SkillAPI.sk - a SkillAPI API for Skript
ModsJava

SkillAPI.sk - a SkillAPI API for Skript

⬇ Download on Spigot
[​IMG]
SkillAPI API - v1.0
made by Alexis.__l
with Skript.


Updates:

Dependencies:


Languages:



API Content:

Spoiler: Effects
  • Add Experience
  • Add Level
  • Add Skill Points
  • Cast Skill
  • Clear All Binds
  • Clear Bonuses
  • Clear PlayerData
  • Open Attribute Menu
  • Profess
  • Refund Attribute Points
  • Regenerate Mana
  • Remove Experience
  • Remove Level
  • Remove Skill Points
  • Set Experience
  • Set Level
  • Set Skill Points
  • Start Passives
  • Stop Passives
  • Toggle Skill Bar
  • Update Health and Mana
  • Update ScoreBoard
  • Up Attribute (NEW)
  • Give Attribute (NEW)
  • Refund Attribute (NEW)
  • Reset Attribute (NEW)
  • Reset All Attributes (NEW)
  • Give Attribute Points (NEW)
  • Set Attribute Points (NEW)
Spoiler: Expressions
  • Attribute Points
  • Experience
  • Level
  • Level of Skill
  • Main Class
  • Mana
  • Max Mana
  • Mana Reg
  • Previos Profess
  • Profess Options
  • Required Experience
  • Total Experience
  • Get Attributes (NEW)
  • Get Attribute (NEW)
  • Get Attribute Points (NEW)
Spoiler: Conditions (NEW)
  • Is Level Maxed (NEW)
  • Has Skill (NEW)
  • Has Attribute (NEW)
  • Has Class (NEW)
  • Has Mana (NEW)


How to use the API:

First you have to download the skript and put it in the Scripts folder (/plugins/skript/scripts), then use /sk reload SkillAPI API

And o'go, the API will be installed in your Skripts folder. Now to use it you will need to use the expressions and effects what are explained below with the syntax.



Other APIs created by me:



Syntaxis:

Spoiler: Effects
Code (Java):
SkillAPI add %integer % to %player % 's exp[erience]

SkillAPI remove %integer% from %player%'
s exp [erience ]

SkillAPI set %player % 's exp[erience] to %integer%

SkillAPI add %integer% to %player%'
s (level |lvl )

SkillAPI remove %integer % from %player % 's (level|lvl)

SkillAPI set %player%'
s (level |lvl ) to %integer %

SkillAPI add %integer % skill points to %player %

SkillAPI remove %integer % skill points from %player %

SkillAPI set %player % 's skill points to %integer%

SkillAPI make %player% cast %text%

SkillAPI clear all binds of %player%

SkillAPI clear bonuses of %player%

SkillAPI clear player data of %player%

SkillAPI open attr[ibute] menu to %player%

SkillAPI profess %player% into %text%

SkillAPI refund attr[ibute] points of %player%

SkillAPI regen[erate] mana of %player%

SkillAPI toggle skillbar of %player%

SkillAPI start passives of %player%

SkillAPI stop passives of %player%

SkillAPI update health and mana of %player%

SkillAPI update scoreboard of %player%

SkillAPI up attr[ibute] %string% of %player%

SkillAPI give %integer% to %player%'
s %string % attr [ibute ]

SkillAPI refund %player % 's %string% attr[ibute]

SkillAPI reset %player%'
s %string % attr [ibute ]

SkillAPI reset all attr [ibutes ] of %player %

SkillAPI give %integer % attr [ibute ] points to %player %

SkillAPI set %player % 's attr[ibute] points to %integer%
Spoiler: Expressions
Code (Java):
SkillAPI %player % 's main class
SkillAPI main class of [the] %player%

SkillAPI %player%'
s exp [rience ]
SkillAPI exp [rience ] of [the ] %player %

SkillAPI %player % 's attr[ibute] points
SkillAPI attr[ibute] points of [the] %player%

SkillAPI %player%'
s max [imum ] mana
SkillAPI max [imum ] mana of [the ] %player %

SkillAPI %player % 's mana
SkillAPI mana of [the] %player%

SkillAPI %player%'
s (level |lvl ) of skill %text %

SkillAPI %player % 's (level|lvl)
SkillAPI [the] (level|lvl) of [the] %player%

SkillAPI %player%'
s required exp [erience ]
SkillAPI required exp [erience ] of [the ] %player %

SkillAPI %player % 's total exp[erience]
SkillAPI total exp[erience] of [the] %player%

SkillAPI %player%'
s mana regen
SkillAPI mana regen of [the ] %player %

SkillAPI %player % 's prev[ious] profess
SkillAPI prev[ious] profess of [the] %player%

SkillAPI %player%'
s profess options
SkillAPI profess options of [the ] %player %

SkillAPI get attr (s |ibutes ) of %player %
SkillAPI get %player % 's attr(s|ibutes)

SkillAPI get %player%'
s %string % attr [ibute ]

SkillAPI get attr [ibute ] points of %player %
SkillAPI get %player % 's attr[ibute] points
Spoiler: Conditions
Code (Java):
SkillAPI %player % is level maxed

SkillAPI %player % has skill %string %

SkillAPI %player % has attr [ibute ] %string %

SkillAPI %player % has class

SkillAPI %player % has %integer % mana




Any suggestions will be welcome.
In case you find bugs report it to me.

My Discord User: alexis.__l#9027



leave 5 stars if u read this<3
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

SkillAPI.sk - a SkillAPI API for Skript is a free Minecraft Java mod. Compatible with Minecraft 1.9, 1.10, 1.11, 1.12 and newer. Downloaded 1,036 times (via Spigot). Download it and open it directly in the game.

Explore more