ServerProtection 图标

ServerProtection

作者:rebot | 分类:模组

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

Minecraft 版本: 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

平台: bukkit paper purpur spigot

标签: game-mechanics management utility

资源介绍

ServerProtection

ServerProtection is a lightweight plugin that protects your server from new players attempting to grief using dangerous items and blocks.

? How it works

New players are restricted from using certain blocks and items until they reach a configured playtime threshold. Once they've played long enough, all restrictions are lifted automatically.

✨ Features

  • Playtime-based restriction — players are blocked until they reach the required playtime
  • Fully configurable blacklist — block any item or block completely
  • World-based rules — restrict blocks only in specific dimensions (beds in Nether/End, respawn anchors in Overworld)
  • Placement rules — restrict items to specific blocks and faces (flint & steel only on top of obsidian)
  • Discord webhook alerts — get notified instantly when a player triggers a restriction
  • Hot reload — reload config without restarting the server

? Commands & Permissions

Command Description Permission
/serverprotection reload Reload the config serverprotection.reload
Permission Description
serverprotection.bypass Bypass all restrictions
serverprotection.reload Reload the config

⚙️ Configuration

config.yml ```yaml server: id: "Survival" webhook: url: "https://discord.com/api/webhooks/..." message: >- ⚠️ Player **%player%** tried to use **%item%** on **%block%** in world **%world%** (x: %pos_x%, y: %pos_y%, z: %pos_z%) on server **%server%**, playtime: **%playtime_minutes%** min. playtime: required-hours: 5 requirement-message: "⚠ You have not played enough time. Minimum: %playtime_hours% h." rules: # Fully blocked blocks and items blocked: - TNT - END_CRYSTAL - TNT_MINECART - WITHER_SKELETON_SKULL - LAVA_BUCKET # Blocked only in certain worlds world-restricted: - materials: [RESPAWN_ANCHOR] requires-item: GLOWSTONE # optional blocked-in: [NORMAL, THE_END] - materials: [RED_BED, ORANGE_BED, YELLOW_BED, LIME_BED, GREEN_BED, CYAN_BED, LIGHT_BLUE_BED, BLUE_BED, PURPLE_BED, MAGENTA_BED, PINK_BED, WHITE_BED, LIGHT_GRAY_BED, GRAY_BED, BLACK_BED, BROWN_BED] blocked-in: [NETHER, THE_END] # Allowed only on a specific block and face placement-restricted: - materials: [FLINT_AND_STEEL, FIRE_CHARGE] allowed-block: [OBSIDIAN] allowed-face: UP # optional ```

? Requirements

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

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Presence Footsteps Lite

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

查看详情
Misanthrope Gas Engine

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

查看详情
All the utils!

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

查看详情
Mob Farm

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

查看详情