SML (SkriptModuleLoader) 图标

SML (SkriptModuleLoader)

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.3.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/skript-module-loader
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11

平台: paper spigot

标签: game-mechanics management utility

资源介绍

A Java-style wrapper for Skript projects

SkriptModuleLoader lets you package Skript (.sk) files inside a Java plugin JAR, making your Skript project look, build, and distribute like a real Java/Maven project.

This solves common Skript problems:

  • ❌ Scripts getting deleted or forgotten
  • ❌ Messy scripts/ folders
  • ❌ No proper versioning or releases
  • ❌ Hard to distribute modular Skript systems

With this project, your .sk files live inside the plugin JAR, and are automatically extracted and loaded when the server starts.


✨ What This Project Is

Think of SkriptModuleLoader as:

A wrapper that turns Skript into a Java-style project

You write Skript
➡️ Package it like Java
➡️ Release it like a plugin
➡️ Load it automatically

No manual copying. No confusion.


? How It Works (Concept)

  1. You place .sk files into the Java project
  2. Maven bundles them into the plugin JAR
  3. The plugin extracts them at runtime into Skript’s folder
  4. Skript reloads automatically

? How to use it

Variant 1.

You compile the project

  1. Download the .zip file from the downloads page and unzip it.
  2. Download Java 21 and Maven (if you haven't)
  3. Open \src\main\resources\modules and place your .sk files there (no subfolders).
  4. Open \src\main\resources\config.yml and set the bundled-scripts: with your script names (with .sk) you placed earlier.
  5. Go to the root of the project and start program named build.bat.
  6. Program will automatically compile the plugin.
  7. Place the .jar file in \plugins\ of your server. Plugin will automatically install and load the scripts.

Variant 2.

You load the .sk file through the plugin

  1. Download the .jar file to \plugins\ of your server.
  2. Start the server once and stop.
  3. Place your .sk files to the newly generated folder \plugins\SkriptModuleLoader\modules\
  4. Start the server, and watch how plugin loads to scripts folder in Skript.

You can't distribute the plugin in case of Variant 2.

Additionally you can edit the config.yml before or/and after the compilation.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Nether Ruby Template Fix

价格:0 墨喵币
下载量:0

查看详情
Sounds X Ars Nouveau

价格:0 墨喵币
下载量:0

查看详情
zyrajobs

价格:0 墨喵币
下载量:0

查看详情
Slightly Improved Gui

价格:0 墨喵币
下载量:0

查看详情