SaftiSk
A Skript addon that adds things that i felt like were missing.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
SaftiSk
Welcome to saftiSk!
The addon that adds things you probably don't need.
Features ✨
Data Structures 🧱
Define structured, reusable data with ease. No more list variable to store your data!
Example:
``` data struct "person": name: string age: int
on load: set {_values::name} to "safti" set {_values::age} to 69
set {owner} to a new data structure example with values {_values::*} ```
External Script Loading 🌐
Load Skript files from any directory, not just the plugins/Skript/scripts folder.
Example:
``` on load: reload external script at "path/relative/to/plugins/directory" ```
GitHub Dependency Manager 📦
Automatically download and load Skript files directly from public GitHub repositories, allowing you to manage script dependencies with ease.
Configuration for the dependency loader is done via plugins/saftiSk/config.yml. Here's how it works:
- github_api_token: The GitHub API token used to fetch files. If you're only accessing public repositories, you can leave this as "anonymous". Setting a token (especially for private repos) is highly recommended to raise the request limit from 60/hour to 5000/hour. After updating the token, reload the config with /saftisk reload.
- dependencies: Define a list of GitHub repositories and the script files you want to load from them. Each repository should be public unless you've set an API token with the required read permissions.
Example Config:
``` github_api_token: "anonymous"
dependencies: chaossafti/saftiSkExample: files: - "example.sk" ```
Requirements 📌
- Skript - Minecraft 1.21.4