Описание
**Fabric.SK** is a server‑side Skript engine for Fabric, allowing you to write simple, readable .sk scripts to automate gameplay, create commands, react to events, and build lightweight server logic — all without plugins or mods on the client.
Fabric.SK brings the spirit of Bukkit Skript to the modern Fabric ecosystem with a clean parser, AST engine, and runtime designed specifically for 1.21+.
## ✨ Features
- ✔ Server‑side only — no client mod required
- ✔ Skript‑style syntax (command, on join, broadcast, if, etc.)
- ✔ Full parser + AST engine
- ✔ Dynamic command registration (/skcmd )
- ✔ Event system (on join, on chat, etc.)
- ✔ Variables + execution context
- ✔ Hot reload with /fabricsk reload
- ✔ Scripts stored in `config/fabricsk/scripts/` (May be changed in some versions)
## 📂 Example Script
```Skript
# example.sk
broadcast "Fabric.SK is running!"
command hello:
trigger:
broadcast "Hello from Skript on Fabric!"
on join:
broadcast "%player% joined the server!"
if true:
broadcast "This condition is true!"
else:
broadcast "This will not run."
```
## 📁 Script Location
Place .sk files in `config/fabricsk/scripts/`
Reload with:
```Code
/fabricsk reload
```
🚧 Roadmap
Variables with persistence
More events (chat, death, block break, etc.)
Expressions (player name, location, etc.)
Conditions (player is op, name is "DemoMC___", etc.)
Effects (kick, teleport, give, etc.)
Addon API
---
**Fabric.SK - Create scripts in Fabric.**
---
## Other Projects
### [Mod List]()
### [Reworked TPA]()
### [Elytra Softlock]()