MinuteMessage
一款用于 Minecraft 服务器的多语言定时消息插件。
功能特性
- ? 多语言支持
- ⏰ 自定义消息间隔
- ? 多种消息类型(控制台、聊天栏、全服广播、指定世界)
- ? 版本更新检测
- ? 支持颜色代码与换行符
- ? 玩家加入/离开提示
- ? 维度切换通知
状态
- 开发中
- 如果您希望提交更多语言翻译,请提交 PR。
使用方法
命令
/mm reload- 重载配置/mm list- 查看所有消息组/mm interval <group> <minutes>- 设置消息间隔/mm toggle join- 开关加入消息/mm toggle quit- 开关离开消息/mm toggle dimension- 开关维度切换消息
权限
minutemessage.admin- 管理员权限
配置文件
# MinuteMessage Configuration File
# Plugin Version: 1.0.0
# Author: 柠枺
# ========================
# Basic Settings
# ========================
settings:
# Whether to check for updates
check-update: true
# Default language (currently supports: zh_CN)
language: 'zh_CN'
# Player-related message settings
player:
# Player join message
join:
enabled: false
# Whether to broadcast to other players
broadcast: true
message: '&aWelcome &f%player_name% &a to the server!'
# Player quit message
quit:
enabled: false
# Whether to broadcast to other players
broadcast: true
message: '&ePlayer &f%player_name% &e has left the server'
# Dimension switch message
dimension:
enabled: false
# Whether to broadcast to other players
broadcast: false
messages:
to_nether: '&c>> You have entered the Nether'
to_end: '&5>> You have entered the End'
to_overworld: '&2>> You have returned to the Overworld'
# ========================
# Message Group Configuration
# ========================
# Configuration format description:
# messages:
# <message group name>:
# interval: <send interval (minutes)>
# type: <message type>
# worlds: [list of world names] # Only needed when type: WORLD
# content: [list of message content]
#
# Message type (type) description:
# - CONSOLE: Displayed only in the console
# - CHAT: Sent to all players
# - BROADCAST: Server-wide broadcast
# - WORLD: Specific world broadcast
#
# Supported formats:
# - Color codes: &a, &b, &c, etc.
# - New line character: \n
# - PlaceholderAPI variables: %player_name%, etc.
# ========================
messages:
# Welcome message example
welcome:
interval: 15 # Sent every 15 minutes
type: BROADCAST
content:
- '&aWelcome to the server!\n&bCurrent online players: %server_online%'
- '&eThank you for playing on our server!'
# Rules reminder example
rules:
interval: 30 # Sent every 30 minutes
type: CHAT
content:
- '&6=== Server Rules ===\n&f1. No cheating clients\n&f2. No malicious destruction\n&f3. Please get along with other players'
# World notice example
world_notice:
interval: 45 # Sent every 45 minutes
type: WORLD
worlds:
- 'world'
- 'world_nether'
content:
- '&bThis message is only displayed in the Overworld and the Nether'
# ========================
# Command Description
# ========================
# /mm reload - Reload configuration
# /mm list - View all message groups
# /mm interval <group name> <minutes> - Set message interval
#
# Permission nodes:
# minutemessage.admin - Admin permissions
# ========================
# ========================
# PlaceholderAPI Variable Examples
# ========================
# %server_online% - Number of online players
# %server_max_players% - Maximum number of players
# %player_name% - Player name
# %player_world% - Player's current world
# For more variables, please visit: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders
# ========================
安装步骤
- 下载最新版本
- 将插件放入服务器的
plugins文件夹 - 重启服务器或重载插件
依赖项
- Spigot/Paper 1.20.1+
- PlaceholderAPI(可选)
路线图
- 基础消息系统
- 多语言支持
- 玩家事件消息
- 修复 PlaceholderAPI 支持
- 更多消息类型
- 消息模板系统
贡献指南
欢迎提交 Issue 和 Pull Request!
许可证
本项目采用 MIT License 许可
你是这个资源的作者?登录后可认领此资源。
相似资源
ExyliaLib
ExyliaServices
ExyliaPlugins 的库。
前置实用
26
可自定义玩家模型
tom5454
自定义你的Minecraft头像!
装饰社交
16
Vessel
muhdfdeen
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
生物存储
13
WorldEdit
me4502
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
前置管理
10
LobbyAPI
Zombie_Striker_Dev
创建用户友好的菜单以前往不同的世界
管理交通
9
tkChat
tkkr
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
管理社交
9
评论 0
登录后参与评分
还没有评论,来抢沙发吧