DelayTimer 模组
一个适用于 Minecraft 1.20.1 的 Fabric 模组,添加了一个基于刻(tick)的延迟命令,用于调度服务器端操作,支持按目标执行、取消、列表查看及队列管理。兼容原版风格且轻量级。
TH Description
Overview
DelayTimer เป็นม็อด Fabric สำหรับ Minecraft 1.20.1 ที่เพิ่มคำสั่ง /delay เพื่อรันคำสั่งหลังดีเลย์เป็น tick บนเซิร์ฟเวอร์ รองรับการระบุเป้าหมาย ยกเลิก ดูรายการ และล้างงาน คงความเข้ากันได้กับสไตล์ vanilla และมี footprint ต่ำ
Installation
- Minecraft 1.20.1
- Fabric Loader (เวอร์ชันที่สอดคล้องกับ Minecraft ของคุณ)
- Fabric API
- วางไฟล์ jar ของ DelayTimer ในโฟลเดอร์
mods/
Usage
- ผู้ดูแลระบบที่มีสิทธิ์ OP ระดับ 2 ขึ้นไปเท่านั้นจึงเรียกใช้งานคำสั่งนี้
- คำสั่งหลัก:
โดยจะแจ้งให้รันคำสั่งสำหรับแต่ละ target ในช่วง delay ที่ระบุ (เป็น ticks)/delay <targets> <delayTicks> <command...>
Commands
/delay cancel <id>– ยกเลิกงานตาม UUID/delay cancel <targets>– ยกเลิกงานทั้งหมดสำหรับ targets ที่ระบุ/delay list– แสดงรายการงานที่รอดำเนินการทั้งหมด/delay clear– ล้างงานทั้งหมดในคิว
Examples
/delay @a 100 say Time’s up! (ประมาณ 5 วินาที)
/delay @p 40 say Hello from the target’s perspective
/delay cancel a1b2c3d4-e5f6-7890-abcd-ef1234567890
/delay list
/delay clear
Notes
- ดีเลย์วัดด้วย ticks; 20 ticks = 1 วินาที
- คำสั่งรันในบริบทเซิร์ฟเวอร์และตามเป้าหมายที่เลือก
- ออกแบบให้มี footprint ต่ำและทำงานร่วมกับ vanilla ได้ดี
EN Description
Overview
DelayTimer is a Fabric mod for Minecraft 1.20.1 that adds a /delay command to execute commands after a tick-based delay on the server. It supports per-target execution, cancellation, listing, and clearing of pending tasks, delivering vanilla-friendly gameplay with a small footprint.
Installation
- Minecraft 1.20.1
- Fabric Loader (compatible with your Minecraft version)
- Fabric API
- Place the DelayTimer jar into your mods/ folder
Usage
- Admins with OP level 2+ can use the commands
- Main command:
/delay <targets> <delayTicks> <command...>
Commands
/delay cancel <id>– cancel a scheduled task by UUID/delay cancel <targets>– cancel tasks for the specified targets/delay list– list all pending tasks/delay clear– clear all tasks
Examples
/delay @a 100 say Time’s up! # ~5 seconds
/delay @p 40 say Hello from the target’s perspective
/delay cancel a1b2c3d4-e5f6-7890-abcd-ef1234567890
/delay list
/delay clear
Notes
- Delays are tick-based; 20 ticks = 1 second
- Commands execute in the server context for the targeted entities
- Lightweight design with memory efficiency and vanilla-friendly behavior
你是这个资源的作者?登录后可认领此资源。
相似资源
一个用于收集生物掉落物的多区块模组。
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
查看物品与配方
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧