katton!

quick note: this is just a preview of what the wiki looks like, this is not the final version, this is just posted right now so people can have an idea on what this is and how they would code stuff

katton is the scripting system for adm1n abuse! you can use this to create custom items or custom events while you're the admin. you do this by writing .kat scripts in VSCode and by using the VSCode extension and exporting the code, and loading it into the server via /katton import

this wiki covers everything like the language, every built in event, every API you can call, examples, etc. this requires atleast a basic understanding of coding. if you do not understand or like scripting, try offering someone to code stuff for you! or just use AI..

preview

@Katton.command(name = "hello", permission = "admin") // whenever you run this command via /katton run hello, it will run the code
function sayHello(sender, args) {
    sender.sendMessage("&ahelo from katton!")
}

@Katton.listen("player_join") // only fires when someone joins the game (not the server)
function onJoin(event) {
    event.player.sendMessage("&ewelcome!")
}