Home›Java›Mods›HyperSkript
HyperSkript
ModsJava

HyperSkript

Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
This is a HyperSkript plugin faster and better version of Skript
Its between 2 to 10 times faster because it uses:
via bytecode + no reflection hot paths

Better than Skript because variables saved in Sqlite instead of yaml

Permission: "hyperskript.admin"
To use /hs reload - command to load HyperScripts
Skripts files end with .hs

In the skript you are allowed to use either 4 spaces or 1 tab
if the HyperSkript is not working check which one you use in example.hs

Below you see example syntax code how to use it
There is no documentation at the moment will come soon

For any questions and help join discord:
https://discord.gg/xfVmrf8svE

Here is full documentation: https://pastebin.com/wpvFJkx9
​
Code (Text):
on player join:
    player.send("Welcome, {player.name}!")
    player.give(1, diamond)
    alert("{player.name} just join the server!")

command heal(Int: amount=10):
    if sender.permission("server.heal") == False:
        sender.send("&cYou don't have permission to use this command.")
        stop
    if amount < 1 or amount > 20:
        sender.send("&eAmount must be between 1 and 20.")
        stop
    else:
        sender.health = min(20, sender.health + amount)
        sender.send("&aHealed {amount}")

command greet(String: name="", Int: times=1):
    if sender.permission("server.greet") == False:
        sender.send("&cYou don't have permission to use this command.")
        stop
    if times < 1 or times > 5:
        for i runs(1):
            sender.send("&eTimes must be between 1 and 5.")
            stop
    if name == "":
        name = sender.name
    for i runs(1, times):
        sender.send("&aHello, {name}! You will be greeted {times} time(s). {i}")


​
Code (Text):
persist default sqlite
persist sqlite file "plugins/HyperSkript/state.db" wal true

state String:welcome_msg default "Hello player"
state homes:<Player,Location> persist default []

command welcome():
    sender.send("{welcome_msg}")

command sethome():
    homes[sender] = sender.location
    sender.send("&aYour location is saved")

command home():
    if homes[sender] != null:
        sender.teleport(homes[sender])
        sender.send("&aWelcome to youre home")
    else:
        sender.send("You have no home use /sethome - to set home")














​

Commands

Plugin details

Read from the plugin's own plugin.yml.

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.

HyperSkript is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 50 times (via Spigot). Download it and open it directly in the game.

Explore more