跳到正文

Fabric.SK

作者:DemoDev

Fabric.SK is a Fabric version of the Skript plugin for Minecraft.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Fabric.SK

Fabric.SK is a server-side Skript-style scripting engine for Fabric. Write readable .sk scripts to automate gameplay, create custom commands, respond to events, manage items, and build lightweight server logic — all without requiring players to install a client-side mod.

Inspired by Bukkit’s Skript, Fabric.SK brings script-based customization to the modern Fabric ecosystem with its own parser, AST engine, and runtime.

✨ Features

  • ✔ Server-side scripting — no client mod required
  • ✔ Skript-style syntax — readable commands, events, conditions, and effects
  • ✔ Custom commands — define commands directly in .sk scripts
  • ✔ Event handling — react to supported gameplay events
  • ✔ Variables and execution context — work with script variables and event context
  • ✔ Item customization — create named items and customize supported item properties
  • ✔ Conditional logic — use if and else to control script behavior
  • ✔ Player loops — run supported effects and checks for online players
  • ✔ Repeating scripts — use supported timed events such as every 1 second
  • ✔ Entity and player effects — use supported effects through scripts
  • ✔ Hot reload — reload scripts without restarting the server
  • ✔ Organized script storage — scripts are stored in config/fabricsk/scripts/

Fabric.SK is under active development. Skript compatibility and supported syntax may vary by version.

📜 Example Script

This example gives a player a custom-named Speed Sword and repeatedly checks whether they are holding it.

command /speedsword:
    permission: op
    trigger:
        give player an iron sword named "&eSpeed"

every 1 second:
    loop all players:
        if loop-player's tool is iron sword named "&eSpeed":
            apply effect speed 2 to loop-player for 2 seconds without particles

📁 Script Location

Place your .sk scripts in:

config/fabricsk/scripts/

Reload scripts with:

/fabricsk reload

Available commands and supported syntax may vary between versions.

🚧 Roadmap

  • More gameplay events, including chat, death, and block interactions
  • Expanded expressions for players, locations, and entities
  • More conditions and effects
  • Improved variable handling and persistence
  • Broader Skript syntax compatibility
  • Addon API for extending Fabric.SK

Fabric.SK — Create scripts in Fabric.


Other Projects

Mod List

Reworked TPA

Elytra Softlock

常见问题

Fabric.SK 支持哪些 Minecraft 版本?

Fabric.SK 支持 Minecraft Java 版 1.21–26.3,共 17 个版本,可用的加载器:Fabric / Quilt。下载时注意选择和你游戏版本一致的文件。

Fabric.SK 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

DemoDev 的其他作品

查看全部 →