DelayTimer

模组

· 作者 PPekKunGz

DelayTimer 是一个适用于 Minecraft 1.20.1 的 Fabric 模组,它在服务端添加了 /delay 命令,支持在基于刻数的延迟后执行命令,并具备取消/列表/清除功能。

0 本站下载 0 关注 更新于 9 个月前

需要前置:Fabric API

最新 1.20.1-1.0.0 · 1.20.1 · Fabric

一键开服(送7天)

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 ขึ้นไปเท่านั้นจึงเรียกใช้งานคำสั่งนี้
  • คำสั่งหลัก:
    /delay <targets> <delayTicks> <command...>
    
    โดยจะแจ้งให้รันคำสั่งสำหรับแต่ละ target ในช่วง delay ที่ระบุ (เป็น ticks)

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

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源