RangeBans - 封禁 IP 段;
版本:v1.03
此插件主要面向离线模式服务器开发,因为在这些服务器上很难处理动态 IP 用户。
功能特性:
- 封禁 IP 段和主机名
- 支持从这些封禁中排除昵称,或将其用作白名单
- 支持通配符(例如:192.168.*.*, 90.120.128-192.*)
- 权限系统
下载 RangeBans for 1.2.x!
源代码与更新进度
安装、配置:
你只需要将 .jar 文件放入 /plugins 文件夹即可。
此外,你还可以通过配置文件设置一些值(配置文件会自动生成):
- broadcast-kicks: (true/false) 当被禁止 IP 段的玩家尝试加入服务器时,向管理员广播消息
- broadcast-passes: (true/false) 当玩家因昵称例外而通过范围封禁时,向管理员广播消息
- ban-msg: 显示给被封禁玩家的消息,支持颜色代码
- use-hostnames-as-whitelist: (true/false) 插件是否应将主机名封禁作为白名单使用?
封禁列表和例外列表存储在 .txt 文件中。
命令、截图:



如何查询某人的 IP 段?
例如,对于 inetnum:192.168.128.0 - 192.168.192.255,
正确的命令应为:/rb ban 192.168.128-192.*
或直接使用 /rb ban 192.168.128.0 - 192.168.192.255
权限:
- rb.* - 完全访问权限
- rb.reload - 重新加载插件
- rb.ban - 封禁和解封 IP 段及主机名
- rb.exception - 添加/移除例外
- rb.check - 检查某人的 IP
- rb.list - 列出封禁/例外
- rb.broadcast - 当玩家在封禁/例外列表中时被通知接收消息
版本 1.03
版本 1.02
版本 1.01
版本 1.0
- 增加权限系统!
- 新增封禁主机名的功能(例如国家、运营商——更简便)
- 新增配置选项,允许将主机名封禁用作白名单(例如,仅允许白名单内的国家加入)
- 更新至 1.1-R3,仍向后兼容
- 通用代码优化
RangeBans - Ban IP Ranges;
Version: v1.03
This plugin was mainly made for offline-mode servers, where you cant really deal with dynamic IPs users.
Features:
- Ban IP Ranges, hostnames
- Except nicknames from these bans or use them as whitelist
- Support for 'wildcards' (ex. 192.168.*.*, 90.120.128-192.*)
- Permissions
Download RangeBans for 1.2.x!
Source and progress
Installation, Configuration:
All you need is just to simply grab .jar file into /plugins folder.
Additionally, u can set some values via config file (generated automatically):
- broadcast-kicks: (true/false) Broadcast a message to operators player with banned IP range tries to join the server
- broadcast-passes: (true/false) Broadcast a message to operators when player passes range ban due to an nickname exception
- ban-msg: Message to show to banned player, supports colorizing
- use-hostnames-as-whitelist: (true/false) Should plugin use hostname bans as whitelist?
Bans and exceptions are stored in .txt files.
Commands, screenshots:



How to check somebody's IP range?
For example, for inetnum: 192.168.128.0 - 192.168.192.255,
correct command would be: /rb ban 192.168.128-192.*
or simply /rb ban 192.168.128.0 - 192.168.192.255
Permissions:
- rb.* - full access
- rb.reload - reload the plugin
- rb.ban - ban and unban both IP Ranges and hostnames
- rb.exception - add/remove exceptions
- rb.check - check somebody's IP
- rb.list - list bans/exceptions
- rb.broadcast - receives message when a player is found on bans/exceptions list
Version 1.03
- Hostname bans are now optional - no more freezes on playerjoin
Version 1.02
Version 1.01
- Fixes critical bug with wrong IP parsing
Version 1.0
- Permissions!
- Feature to ban hostnames (ex. countries, providers - easier)
- Added config option to use hostname bans as whitelist (ex. only whitelisted countries can join)
- Updated to 1.1-R3, still compatible backwards
- General code tweaks
评论 0
登录后参与评分
还没有评论,来抢沙发吧