Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_ByOXlhnZ.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
Corex - 墨喵 Minecraft 资源
Corex 图标

Corex

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0-SNAPSHOT-58ffe68
本资源为搬运资源,原资源地址: https://modrinth.com/mod/corex
资源信息

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 26.1 26.1.1 26.1.2 26.2

平台: folia paper purpur velocity

标签: game-mechanics technology utility

资源介绍
# Corex ![Folia](https://cdn.modrinth.com/data/cached_images/97120bacf29ecd0c024bca531e03827c650a0f76_0.webp) ![Velocity](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/supported/velocity_vector.svg) ![Paper](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/supported/paper_vector.svg) **A high-performance, compiled scripting engine for Paper / Folia / Velocity. Simple, automated, convenient - meet Corex.**

⚡ Compiled at startup

Scripts are parsed once. Every call runs prebuilt bytecode - performance does not depend on the number of scripts.

🏷️ Tags instead of variables

<player.name>, <player.health>, <player.location.x> - data is embedded directly into the string, no intermediate assignments needed.

💾 Persistent flags

A flag is written with a single command - on a player, a block, or globally. Survives restarts. Supports TTL: data deletes itself after a set time.

🌿 Folia support

Corex tracks threads and switches between regions automatically. Scripts are written as usual - no special handling required.

🌐 Velocity - same syntax

Proxy scripts use the same language. Cross-server logic, global data, high performance.

🔄 Hot reload

/run reload - scripts are recompiled on the fly. The server keeps running.


Script Queue

Queue

Every script runs in its own isolated queue. While one queue is waiting (for a delay, a command execution, or a region switch) - the others keep going. Each queue has its own variables and its own position in the code.


.jar lifecycle

File lifecycle

One .jar file runs on Paper, Folia and Velocity. On load, the server detects the platform and reads the right config.


Command syntax

Command style

Every command starts with -, followed by the command name and arguments. Arguments come in two types: linear - passed as a plain value ("Some text"), and prefix - passed as key:value (targets:<player[_TIZIS_]>). Tags can be used in any argument - they are evaluated at the moment the command runs.


Tag syntax

Tag style

A tag is a chain inside < >. Read left to right: player - who, .name - their name (string), .length - the length of that string (number), .isMoreThan[10] - whether it is greater than 10 (boolean). Each part receives the result of the previous one and returns a new value. The final result is substituted wherever the tag is written.


Corex stats

下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
PVP boss PACK

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

查看详情
Furry Fruit Basket

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

查看详情
beyond_the_skybox ru version

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

查看详情
Divinity Economy (Global Market)

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

查看详情