TimedActions 图标

TimedActions

作者:rebot | 分类:模组

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

Minecraft 版本: 1.13 1.13.1 1.13.2 1.14 1.14.1 1.14.2 1.14.3 1.14.4 1.15 1.15.1 1.15.2 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 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

平台: paper purpur spigot

标签: game-mechanics management utility

资源介绍

TimedActions

A comprehensive Spigot/Paper Minecraft plugin that allows server administrators to schedule and execute commands at specific intervals using both Minecraft time and real-world time.

Features

Core Functionality

  • Dual Time Modes: Schedule actions based on either:
    • Minecraft days (in-game time)
    • Real-world time (seconds, minutes, hours, days)
  • Command Execution: Run any server commands when schedules trigger
  • PlaceholderAPI Integration: Full support for placeholders in commands and messages
  • Multiple Schedules: Configure unlimited separate schedules with different timings
  • Broadcast Messages: Optional broadcast messages when schedules trigger
  • Console Logging: Configurable logging for schedule triggers

Admin Commands

  • /timedactions reload - Reload configuration and restart all schedules
  • /timedactions list - Display all configured schedules and their status
  • /timedactions trigger <scheduleName> - Manually trigger a specific schedule

Permission

  • timedactions.admin - Access to all admin commands (default: op)

Configuration

Example config.yml

# TimedActions Configuration
schedules:
  borderShrink:
    mode: minecraft_days  # minecraft_days or real_time
    interval: 5           # 5 minecraft days
    commands:
      - "worldborder set 5000"
      - "say The world border is now %worldborder_size%!"
    broadcast: "&cThe world border shrinks every 5 days! Current size: %worldborder_size%"
    console-log: true

  giveDiamonds:
    mode: real_time       # real_time mode
    interval: 1h          # 1 hour (supports: s, m, h, d for seconds, minutes, hours, days)
    commands:
      - "give %player_name% diamond 1"
      - "eco give %player_name% 100"  # Vault integration
    broadcast: "&b%player_name% received a diamond and $100!"
    console-log: true

  rankUp:
    mode: real_time
    interval: 7d          # 7 days
    commands:
      - "lp user %player_name% parent add veteran"
    broadcast: "&6%player_name% has ranked up to Veteran after 7 days!"
    console-log: true

# Global settings
settings:
  # Whether to enable PlaceholderAPI support
  placeholder-api: true

  # Prefix for all broadcast messages
  broadcast-prefix: "&8[&6TimedActions&8]&r "

  # Whether to log all schedule triggers to console
  global-console-log: true

Schedule Configuration

Each schedule supports the following options:

  • name: Unique identifier for the schedule
  • mode: minecraft_days or real_time
  • interval:
    • For minecraft_days: Number of Minecraft days
    • For real_time: Time with suffix (s=seconds, m=minutes, h=hours, d=days)
  • commands: List of commands to execute (supports placeholders)
  • broadcast: Optional message to broadcast to all players (supports placeholders)
  • console-log: Boolean, whether to log this schedule's execution to console

Time Intervals

Real-time intervals support:

  • 30s - 30 seconds
  • 5m - 5 minutes
  • 2h - 2 hours
  • 1d - 1 day
  • 7d - 7 days

Plugin Integration

PlaceholderAPI

Full support for all PlaceholderAPI placeholders in:

  • Commands
  • Broadcast messages
  • Built-in placeholders like %player_name%

Common Plugin Examples

WorldBorder Integration
schedules:
  borderShrink:
    mode: minecraft_days
    interval: 5
    commands:
      - "worldborder set 5000"
    broadcast: "&cWorld border has been reduced!"
Vault Economy Integration
schedules:
  dailyReward:
    mode: real_time
    interval: 1d
    commands:
      - "eco give %player_name% 100"
    broadcast: "&a%player_name% received daily $100 reward!"
LuckPerms Integration
schedules:
  weeklyPromotion:
    mode: real_time
    interval: 7d
    commands:
      - "lp user %player_name% parent add veteran"
    broadcast: "&6%player_name% has been promoted to Veteran!"

Dependencies

Required

Optional (Soft Dependencies)

  • PlaceholderAPI - For placeholder support in commands and messages
  • Vault - For economy command integration
  • LuckPerms - For permission management commands
  • WorldBorder - For world border manipulation commands

Installation

  1. Download the plugin JAR file
  2. Place it in your server's plugins folder
  3. Ensure BlueSlimeCore is installed
  4. Restart your server
  5. Configure schedules in plugins/TimedActions/config.yml
  6. Use /timedactions reload to apply changes

API Information

  • Minecraft Version: 1.13+
  • Server Software: Spigot, Paper, or compatible forks
  • Java Version: 8+

Commands Summary

Command Permission Description
/timedactions reload timedactions.admin Reload configuration and restart schedules
/timedactions list timedactions.admin List all configured schedules
/timedactions trigger <name> timedactions.admin Manually trigger a schedule

Support

This plugin is designed to be extensible and maintainable. Future features could include:

  • Random delays for schedules
  • Per-world schedule configurations
  • Permission-based schedule triggers
  • Advanced condition-based scheduling
  • Web interface for schedule management

License

See LICENSE file for details.

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

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Backup System

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

查看详情
Cardboard Chalkbox

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

查看详情
Ice Upgrades

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

查看详情
Cubic Realism

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

查看详情