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

Server News

作者:rebot | 分类:模组

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

Minecraft 版本: 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 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2

平台: bukkit paper purpur spigot

标签: utility

资源介绍

? Server News

Server News is a simple, lightweight Minecraft server plugin for sharing announcements with your players - without spamming chat or forcing popups.

Players are gently reminded when new server news is available, can read it at any time using /news, and the plugin tracks who has already read it. Optionally, you can reward players the first time they read the news.

Built for modern Paper/Spigot servers with performance and simplicity in mind.


✨ Features

  • ? Display server announcements via /news
  • ? Track which players have already read the news (UUID-based)
  • ? Automatic join reminders (with configurable delays)
  • ? Test announcements before publishing (testnews.yml)
  • ? Reader data persists across restarts
  • ? Optional reward command for first-time readers
  • ? Optional reward sound effect
  • ♻️ Reloadable without restarting the server
  • ?️ Permission-based admin controls

?‍? Commands

Player Commands

  • /news
    Reads the current server news and marks the player as having read it.

Admin Commands

  • /news test
    Preview testnews.yml without tracking reads
    Permission: shantekmc.servernews.test

  • /news reset
    Clears the reader list (use when publishing new announcements)
    Permission: shantekmc.servernews.reset

  • /news list
    Shows how many players have read the news and their names
    Permission: shantekmc.servernews.list

  • /news reload
    Reloads config.yml, news.yml, and testnews.yml
    Permission: shantekmc.servernews.reload


⚙️ Configuration (config.yml)

reward:
  enabled: true
  # Console command to run when a player reads the news for the first time
  # %player% is replaced with the player name
  command: "eco give %player% 25"
  delay-seconds: 5

sound:
  enabled: true
  name: "ENTITY_PLAYER_LEVELUP"
  volume: 0.6
  pitch: 1.2

messages:
  rewarded: "&aPay-day for keeping informed. Good work!"

Notes

  • The reward command is fully customizable - economy, items, permissions, crate keys, or any console command.
  • Rewards only fire once per news cycle.
  • All configuration values can be changed and reloaded live using /news reload.

? News Files

news.yml

lines:
  - "&6Welcome to Block Horizon!"
  - "&7Check out the new shopping district."
  - "&eHave fun and play fair!"

testnews.yml

Used for previewing announcements before publishing them live.

lines:
  - "&d[Test] &7This is what the next announcement will look like."
  - "&7Make sure colors and formatting look right."

? How It Works

  1. Admin updates news.yml
  2. Admin runs /news reload and /news reset
  3. Players are reminded on join if they haven’t read it
  4. Players run /news
  5. News is shown and the player is marked as read
  6. Optional reward is given on first read

No spam. No forced UI. Just clean communication.

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

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
AntiXRAY

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

查看详情
Rama Recipes

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

查看详情
Effect Swords

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

查看详情
Carpet Sky Additions Reborn

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

查看详情