Sueta

BlixateAPI

1.1

[Skript] An all-in-one API

·Plugin

I don't know how to explain this API/Skript so here you go.
Make a folder in "plugins/Skript/scripts" called "_library" and put this Skript in that folder. Then run "/skript reload _library/BlixateAPI"

API (Update Required)
#    toUpperCase(String): Make a string uppercase. 
#    toLowerCase(String): Make a string lowercase. 
#     getOnlineStaff(): Get all people with the staff permission. 
#     getOnlinePlayers(): Get all players that are online. 
#    getPlayerCount(): Get all the players that are online. 
#                      Use %amount of all players% as it's easier 
#    getPlayerStats(Player): String or all player's stats 
#     getKills(OfflinePlayer): Gets the kills of a player 
#     getDeaths(OfflinePlayer): Gets the deaths of a player 
#     getPlaytime(Player): Gets how long the player has been playing 
#    msgWithPerm(String: message, String: permission): Send a message to all players with a specific permission. 
#     setGamerule(String: gamerule, String: value): Update a gamerule 
#     reload(String: skript): Reload a Skript script 
#     announce(String: message): Announce a message. 
#     randomString(String: input, String: delimiter="|"): Outputs a random item. Seperate items with "|" 
#     print(String: prefix, String: message): Output to the console. 
#     error(String: message): Send an error to the console 
#     isBoolean(String): Checks if a string is a boolean 
#     isInteger(String): Checks if a string is a number 
#     isString(String): Checks if a string is just a string 
#     createJail(String: name, Location): Create a jail 
#    jailPlayer(Player, jail): Send the player to jail 
#     unjailPlayer(Player): Bail the player out of jail 
#    isJailed(Player): Check if the player is jailed 
#    getJail(Player): Find which jail the player is in 
#    getMoney(Player): Returns money + formatted 
#    getRawMoney(Player): Get the amount of money as an amount 
#    giveMoney(Player, Number: amount): Increase a player's balance 
#    purchase(Player, Number: amount): Get all the details for purchasing an item 
#    takeMoney(Player, Number: amount): Decrease a player's balance 
#    setMoney(Player, Number: amount): Set a player's balance 
#    addTag(Player, String: tag): Add a "Tag" to a player 
#    delTag(Player, String: tag): Remove a "Tag" from a player 
#    hasTag(Player, String: tag): Check a "Tag" from a player 
#    listPlayerTags(Player): List all "Tags" from a player 
#    getPlayersWithTag(String: tag):  Get all Players with a "Tag" 
#    saveInv(String: inv, Player): Save the players inventory 
#    giveInv(String: inv, Player): Give the players saved inventory to them 
#    restartServer(): Restarts all plugins, skripts, everything. 
#    reloadServer(): Runs a "/reload" Bypasses **ProtocolSupport and other services** 
#    clearItems(World): Delete all items off the ground in a world 
#    clearChat(Player): Clear a players chat 
#    clearGlobalChat(): Clear everyones chat 
#     getPlayersWithPerm(String: perm): Get all players with a specific permission. 
#    isAirborne(Player): Check if a player is mid-air 
#    isOnLadder(Player): Check if a player is using a ladder 
#     isInWater(Player): Check if a player is in water.

Similar projects

Plugin →