Better_ip_use

⭐ — (0 endorsements) 📥 116 downloads 📌 v1.1-beta 📅 2/9/2026
🟡 Updated this year

By my-txz · bukkit

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 2/8/2026 📅 Created: 2/9/2026

🔍 Analysis

  • 🏆 #565 of 1224 bukkit mods in this game by downloads

📋 About This Mod

# Better IP Use (BIU) 报告问题及发布:https://github.com/my-txz/better_ip_use/issues Reporting issues and publishing:https://github.com/my-txz/better_ip_use/issues !(https://img.shields.io/badge/Bukkit-1.19%E2%80%931.21.11-00AAFF?logo=minecraft) !(https://img.shields.io/badge/Java-17+-red) !(https://img.shields.io/badge/Java-21+-blue) A lightweight, conflict-resistant Minecraft plugin that displays player geolocation and filters inappropriate chat using **built-in integrations with Uapipro APIs**. Features include smart location formatting, sensitive word detection, chat cooldowns, and a community-driven reporting system. 一款轻量级、抗冲突的 Minecraft 插件,通过**内置 Uapipro API 集成**实现玩家地域显示与聊天内容过滤。包含智能地域格式化、敏感词检测、发言冷却及社区举报系统。 > 🙏 Special thanks to **(https://uapis.cn)** for providing reliable public APIs used in this plugin. > 🙏 特别鸣谢 **(https://uapis.cn)** 提供稳定可靠的公共 API 支持。 --- # Tips: ### Version download corresponds to: **1.X supports 1.19-1.20.6 | 2.X supports 1.20.6-1.21.11 | 3. X supports 1.13-1.18.2 (in development)** --- ## ✨ Core Features ### 🌍 Smart Geolocation Display Fetches region data via `https://uapis.cn/api/v1/network/ipinfo?ip=%IP%` and formats it consistently across three interfaces: - **Tab List**: Appends as suffix → `Steve ` - **Chat Message**: Rewrites format → `Steve: Hello!` - **Nametag (Above Head)**: Uses prefix for visibility → ` Steve` By default, regions are auto-trimmed to the first two space-separated parts (e.g., `"中国 北京 海淀区"` → `"中国 北京"`). Configurable via `display.region_format: auto | full`. ### 🚫 Sensitive Word Filtering Uses `https://uapis.cn/api/v1/sensitive-word/quick-check` to detect violations. A message is flagged if: - Response contains `"status": "forbidden"`, **or** - The `forbidden_words` array has ≥1 entry. **Punishment flow**: 1. First offense → warning 2. Repeat offense → mute (default: 5 minutes) 3. Optional broadcast on mute Bypass permission: `better_ip_use.bypass`. ### ⏳ Chat Cooldown System Prevents spam by enforcing a configurable delay between messages (default: 5 seconds). Players see a countdown when violating. ### 📢 Community Reporting (`/biu report <player>`) Players can report others for recent inappropriate speech: - Checks up to **3 messages** from the last **5 minutes** - Reporter cooldown: **5 minutes** (configurable) - If any message violates rules, target is **automatically muted** - Fully asynchronous — no server lag ### ♻️ Resource Efficiency & Cleanup - IP-to-region results are cached per player - All player data (cache, history, mutes) is cleaned on quit - Manual cache clearing via `/biu clearcache` - Chat history automatically expires after 10 minutes to save memory ### ⚙️ Conflict-Aware Event Handling - **Display updates** use `EventPriority.MONITOR` — runs *after* plugins like Essentials/CMI - **Chat formatting** uses `EventPriority.HIGH` — reliably overrides most chat systems --- ## ⚠️ Requirements - **Minecraft**: Spigot/Paper **1.19 to 1.20.4** (inclusive) - **Java**: **17+** - **Internet Access**: Must reach `uapis.cn` > ❗ This plugin **currently only supports** Java 17 and Minecraft 1.19–1.20.4. > ❗ 本插件**目前仅支持** Java 17 及 Minecraft 1.19–1.20.4。 > 🔧 **We are currently adapting BIU for Bukkit. You may try it at your own risk.** > 🔧 **我们正在对 Bukkit 进行适配,可以自行进行尝试。** --- ## 🔧 Configuration Highlights (`config.yml`) ```yaml # 语言设置: zh / en language: "zh" # 功能开关 settings: # 启用聊天合规检查 enable_chat_check: true # 启用预审核模式 (true = 发送后审核再显示, false = 实时审核拦截) # true: 玩家发送 -> 服务器审核 -> 通过则广播显示, 不通过则屏蔽 # false: 玩家发送 -> 实时检测 -> 违规则拦截并取消事件 pre_moderation: true # 启用 IP 显示 (Tab/头顶/聊天) enable_ip_display: true # 聊天冷却设置 chat_cooldown: enabled: true # 冷却时间 (秒) seconds: 5 # 举报系统设置 report_system: enabled: true # 检查几分钟内的消息 check_minutes_ago: 5 # 举报冷却时间 (秒) reporter_cooldown_seconds: 300 # 每次最多检查几条消息 max_check_messages: 3 # API 配置 api: sensitive_word: # 正确的API端点 - 使用uapis.cn的敏感词检测接口 url: "https://uapis.cn/api/v1/text/profanitycheck" ip_info: # IP信息查询接口模板 url_template: "https://uapis.cn/api/v1/network/ipinfo?ip=%IP%" # 显示设置 display: region_format: "auto" # auto (取前两级) 或 full (完整) color: "&3" unknown_text: "Unknown" # Tab 列表后缀 tab_suffix_enabled: true # 聊天后缀 chat_suffix_enabled: true # 头顶前缀 nametag_prefix_enabled: true # 处罚设置 punishment: warn_first: true mute_minutes: 5 broadcast_on_mute: true # 消息多语言配置 messages: zh: prefix: "&3 &r" warn: "&c您的发言包含不合规内容,请注意文明用语。" cooldown: "&c请勿频繁发言,还需等待 &e%time% &c秒。" mute: "&c你因多次违规已被禁言 %mute_minutes% 分钟。" mute_admin: "&c你已被管理员禁言。" mute_active: "&c你当前处于禁言状态,无法发言。" mute_broadcast: "&c玩家 &e%player% &c因多次违规已被禁言 %mute_minutes% 分钟。" unmuted: "&a你已被解除禁言,可以正常发言了。" unmuted_auto: "&a你的禁言时间已到,已自动解除禁言。" reload: "&a配置已重载。" cache_cleared: "&aIP地址缓存已清除,所有玩家显示已重置。" no_permission: "&c你没有权限执行

# Better IP Use (BIU)

报告问题及发布:https://github.com/my-txz/better_ip_use/issues

Reporting issues and publishing:https://github.com/my-txz/better_ip_use/issues

!(https://img.shields.io/badge/Bukkit-1. 19%E2%80%931. 21. 11-00AAFF?logo=minecraft) !(https://img.shields.io/badge/Java-17+-red) !(https://img.shields.io/badge/Java-21+-blue)

A lightweight, conflict-resistant Minecraft plugin that displays player geolocation and filters inappropriate chat using built-in integrations with Uapipro APIs. Features include smart location formatting, sensitive word detection, chat cooldowns, and a community-driven reporting system.

一款轻量级、抗冲突的 Minecraft 插件,通过内置 Uapipro API 集成实现玩家地域显示与聊天内容过滤。包含智能地域格式化、敏感词检测、发言冷却及社区举报系统。

> 🙏 Special thanks to (https://uapis.cn)** for providing reliable public APIs used in this plugin. > 🙏 特别鸣谢 (https://uapis.cn)** 提供稳定可靠的公共 API 支持。

# Tips: ### Version download corresponds to: 1. X supports 1. 19-1. 20. 6 | 2. X supports 1. 20. 6-1. 21. 11 | 3. X supports 1. 13-1. 18. 2 (in development)

  • --
  • ## ✨ Core Features

### 🌍 Smart Geolocation Display Fetches region data via `https://uapis.cn/api/v1/network/ipinfo?ip=%IP%` and formats it consistently across three interfaces:

  • Tab List: Appends as suffix → `Steve [中国 北京]`
  • Chat Message: Rewrites format → `Steve[中国 北京]: Hello!`
  • Nametag (Above Head): Uses prefix for visibility → `[中国 北京] Steve`

By default, regions are auto-trimmed to the first two space-separated parts (e.g., `"中国 北京 海淀区"` → `"中国 北京"`). Configurable via `display.region_format: auto | full`.

### 🚫 Sensitive Word Filtering Uses `https://uapis.cn/api/v1/sensitive-word/quick-check` to detect violations. A message is flagged if: - Response contains `"status": "forbidden"`, or - The `forbidden_words` array has ≥1 entry.

Punishment flow: 1. First offense → warning 2. Repeat offense → mute (default: 5 minutes) 3. Optional broadcast on mute

Bypass permission: `better_ip_use.bypass`.

### ⏳ Chat Cooldown System Prevents spam by enforcing a configurable delay between messages (default: 5 seconds). Players see a countdown when violating.

### 📢 Community Reporting (`/biu report `) Players can report others for recent inappropriate speech: - Checks up to 3 messages from the last 5 minutes - Reporter cooldown: 5 minutes (configurable) - If any message violates rules, target is automatically muted - Fully asynchronous — no server lag

### ♻️ Resource Efficiency & Cleanup - IP-to-region results are cached per player - All player data (cache, history, mutes) is cleaned on quit - Manual cache clearing via `/biu clearcache` - Chat history automatically expires after 10 minutes to save memory

### ⚙️ Conflict-Aware Event Handling - Display updates use `EventPriority. MONITOR` — runs after plugins like Essentials/CMI - Chat formatting uses `EventPriority. HIGH` — reliably overrides most chat systems

## ⚠️ Requirements

  • Minecraft: Spigot/Paper 1. 19 to 1. 20. 4 (inclusive)
  • Java: 17+
  • Internet Access: Must reach `uapis.cn`

> ❗ This plugin currently only supports Java 17 and Minecraft 1. 19–1. 20. 4. > ❗ 本插件目前仅支持 Java 17 及 Minecraft 1. 19–1. 20. 4。

> 🔧 We are currently adapting BIU for Bukkit. You may try it at your own risk. > 🔧 我们正在对 Bukkit 进行适配,可以自行进行尝试。

## 🔧 Configuration Highlights (`config.yml`)

```yaml # 语言设置: zh / en language: "zh"

# 功能开关 settings: # 启用聊天合规检查 enable_chat_check: true # 启用预审核模式 (true = 发送后审核再显示, false = 实时审核拦截) # true: 玩家发送 -> 服务器审核 -> 通过则广播显示, 不通过则屏蔽 # false: 玩家发送 -> 实时检测 -> 违规则拦截并取消事件 pre_moderation: true # 启用 IP 显示 (Tab/头顶/聊天) enable_ip_display: true

# 聊天冷却设置 chat_cooldown: enabled: true # 冷却时间 (秒) seconds: 5

# 举报系统设置 report_system: enabled: true # 检查几分钟内的消息 check_minutes_ago: 5 # 举报冷却时间 (秒) reporter_cooldown_seconds: 300 # 每次最多检查几条消息 max_check_messages: 3

# API 配置 api: sensitive_word: # 正确的API端点 - 使用uapis.cn的敏感词检测接口 url: "https://uapis.cn/api/v1/text/profanitycheck" ip_info: # IP信息查询接口模板 url_template: "https://uapis.cn/api/v1/network/ipinfo?ip=%IP%"

# 显示设置 display: region_format: "auto" # auto (取前两级) 或 full (完整) color: "&3" unknown_text: "Unknown"

# Tab 列表后缀 tab_suffix_enabled: true # 聊天后缀 chat_suffix_enabled: true # 头顶前缀 nametag_prefix_enabled: true

# 处罚设置 punishment: warn_first: true mute_minutes: 5 broadcast_on_mute: true

# 消息多语言配置 messages: zh: prefix: "&3[&bBIU&3] &r" warn: "&c您的发言包含不合规内容,请注意文明用语。" cooldown: "&c请勿频繁发言,还需等待 &e%time% &c秒。" mute: "&c你因多次违规已被禁言 %mute_minutes% 分钟。" mute_admin: "&c你已被管理员禁言。" mute_active: "&c你当前处于禁言状态,无法发言。" mute_broadcast: "&c玩家 &e%player% &c因多次违规已被禁言 %mute_minutes% 分钟。" unmuted: "&a你已被解除禁言,可以正常发言了。" unmuted_auto: "&a你的禁言时间已到,已自动解除禁言。" reload: "&a配置已重载。" cache_cleared: "&aIP地址缓存已清除,所有玩家显示已重置。" no_permission: "&c你没有权限执行

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Plugins
Author
my-txz
Version
1.1-beta
Downloads
116
Endorsements
0
Category
bukkit
Created
2/9/2026
Updated
2/8/2026
Game Versions
1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4
Tags
management, social, utility

🔧 How to Install Minecraft Plugins Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Plugins →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Plugins commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Plugins versions does Better_ip_use support?

The author lists 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20. Other versions may work but are untested by the author.

What is the latest version of Better_ip_use?

Version 1.1-beta, published 2026-02-08 with 116 downloads recorded at the source.

Keep browsing — more Minecraft Plugins mods await

📋 All Minecraft Plugins Mods 🏆 Top 25 📂 More bukkit 👤 More by my-txz 🔎 Similar Mods 🌐 Best bukkit (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods