TPA Warning 图标

TPA Warning

作者:rebot | 分类:模组

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

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

平台: paper

标签: management social utility

资源介绍

Simple /tpa and /tpahere safety check. When someone sends or receives a TPA request, both players automatically get warned if the other person has recent bans for custom defined reasons. Useful to warn players of a potential griefer or toxic player beforing accepting the request.

Warning Example (Configurable)

Warning example

Why Use This

Most servers have /history commands, but nobody actually checks before accepting a teleport request. By the time you realize you've accepted a teleport request from a griefer, it's too late. This plugin does the checking automatically so players can make informed decisions before teleporting.

Perfect for survival servers where TPA is commonly used and griefing/theft problem.

Commands

  • None

Permissions

  • tpawarning.receive - Allows receiving the warning message.

How To Use

When a player gets banned using LiteBans, the ban is added to their history. When a player gets a tp request from the previously banned player (or tries to teleport to them), the player will receive a warning in chat.

Depending on what you put in the config, you can specify specific warnings you want to show. For example, I personally only care about griefing bans. I add the keyword "grief" to the list. Now, if a player's recent history has reason containing "grief", it will be shown to the player.

Requirements / Dependencies

  • Essentials (required)
  • LiteBans (required)

Config

# ================================
# TPA Warning Configuration File
# ================================

# Time Window Settings
time-window:
  # How far back (in days) to check for a user's history
  # Default: 90 (3 months)
  check-days: 90

# Ban Reason Keywords
# If a ban reason contains any of these keywords, a warning will be shown
# All comparisons are case-insensitive
ban-keywords:
  - "theft"
  - "grief"
  - "steal"
  - "stole"
  - "scam"
  - "rob"
  - "took"
  - "destroy"
  - "kill"

# Warning Message Settings
messages:
  # If true, show the actual ban reasons in the warning
  # If false, just show the count of bans
  # Default: true
  show-ban-reasons: true

  # Message sent when warning about another player's ban history
  # Placeholders: %player% (player name), %count% (number of bans)
  warning-header: "&c&l⚠ Warning!&r\n&cPlayer &e%player% &chas &l%count% &r&crecent ban(s) for:"

  # How each reason is formatted in the list
  # Placeholder: %reason% (the ban reason text)
  reason-format: "&4• &c%reason%"

  # Footer message with history command suggestion
  # Placeholder: %player% (player name)
  warning-footer: "\n&7Check full history: &a/history %player%"
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Scuro's Furniture

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

查看详情
Armadillo Scute Armor

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

查看详情
Hexxy Skies

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

查看详情
blue dot

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

查看详情