NewbieGuardplus 图标

NewbieGuardplus

作者:rebot | 分类:模组

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

Minecraft 版本: 26.1 26.1.1 26.1.2

平台: folia

标签: game-mechanics social

资源介绍

new

# ?️ NewbieGuard ### Temporary PvP protection for new players, built for Folia. `Folia` · `Java 21+` · `Adventure boss bar`

New players get a head start: a configurable protection window the moment they first
join, with a live boss bar counting down the time left. The countdown pauses while
they're offline, and protection drops automatically the moment they throw the first
punch.

Built specifically for Folia — it uses the region and entity schedulers throughout
and never touches the legacy BukkitScheduler.


✨ Features

  • ? First-join protection — new players are shielded for a configurable duration (default 60 minutes).
  • ? Live boss bar — counts down every second and shifts colour as time runs low: ? green → ? yellow → ? red.
  • ⏸️ Offline-safe — the timer only ticks while the player is online; time offline is never deducted.
  • ? PvP shield — incoming attacks on a protected player are cancelled, and the attacker gets a short, spam-protected notice.
  • ⚔️ Fair play — if a protected player strikes someone first, their own protection is removed (configurable).
  • ? Staff bypassnewbie.bypass lets staff hit protected players for testing.
  • ?️ Manual control — grant or remove protection at any time with commands.
  • ? New players only — returning players are never protected.


? Commands

Command Description Permission
/newbie check [player] Show remaining protection time newbie.check (self) · newbie.admin (others)
/newbie grant <player> [minutes] Grant protection to an online player newbie.admin
/newbie remove <player> Remove a player's protection newbie.admin


? Permissions

Permission Description Default
newbie.bypass Attack protected players op
newbie.check Check your own remaining time everyone
newbie.admin Grant / remove protection, check others op


⚙️ Configuration

protection-duration-minutes: 60
remove-on-attack: true
bypass-permission: "newbie.bypass"

bossbar:
  green-threshold-minutes: 10
  yellow-threshold-minutes: 5

messages:
  protection-start: "&aYou are protected from PvP for {duration} minutes"
  protection-expired: "&eYour PvP protection has expired"
  protection-removed-attack: "&cYou attacked another player — your protection has been removed"
  blocked-attack: "&cThis player is still under new-player protection and cannot be attacked"
  bossbar-format: "New Player PvP Protection — Time left {time}"

? The boss bar supports {time}, {minutes} and {seconds} placeholders.
Chat messages support legacy & colour codes.


? Requirements

Server Folia
Java 21 or newer


? Notes

  • Protection is stored in each player's persistent data, so it survives restarts and rejoins.
  • Players who joined before the plugin was installed are not protected — use /newbie grant to protect them manually.
--- *Lightweight, no dependencies, and Folia-native.*
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Ez recipes

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

查看详情
Armor Statues Datapack

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

查看详情
Working elevators!

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

查看详情
Sengoku Era

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

查看详情