IPCompare 是 CodeEx 在 dev.bukkit.org 上发布的第二个插件。该插件旨在让服务器管理员和工作人员能够查看/对比玩家的 IP,列出用户登录过的所有 IP,并检查不同账号是否从同一 IP 登录。它还限制单个 IP 允许的连接数量,并在有玩家从相同 IP 登录时向已允许的玩家发出警告。这有助于阻止使用多个账号进行破坏行为(griefing)的玩家。
功能:
- 通过简单命令查看在线玩家的 IP
- 对比并查看有多少个账号使用了相同的 IP
- 列出与玩家账号关联的所有 IP 地址
- 列出自插件添加以来连接到服务器的所有 IP 地址
- 在登录时收到重复账号的警告
- 限制每个 IP 可以连接的账号数量
- 排除 OP(管理员)和拥有特定权限的玩家,使其不受 IP 或账号数量的限制
- 非常轻量级
命令和权限:
- /compare [player ip] - 显示列表中具有指定 IP 的所有玩家。
- /iplist [page index] - 列出 IPCompare 玩家列表中的所有玩家。
- /ip [player] - 如果指定玩家在线,则显示其 IP。
- /listips [player] - 列出指定玩家登录过的 IP。
- /warntoggle [player] - 将玩家添加或移除到“当他人使用与其他玩家相同的 IP 登录时发出警告”的玩家列表中。
- /purgeip [player] - 从列表中删除该玩家的所有条目。
权限:
- ipcompare.admin - 授予此插件所有命令的使用权限。
- ipcompare.warn - 当有账号从已列出的 IP 登录时,向玩家发出警告。
- ipcompare.nolimit - 使玩家不受任何 IP 或账号数量的限制。
- ipcompare.* - 授予玩家上述所有权限。
配置
- limit-type: - 要使用的账号限制类型。参数:
- none - (默认值)不限制每个 IP 的账号数量
- online - 限制每个 IP 同时在线的账号数量
- general - 限制可以从一个 IP 加入服务器的账号总数。一旦你从一个账号登录,其他账号将无法再连接。
- max-number-connection-from-ip: - 每个 IP 允许的账号上限。(如果 limit-type 为 none 则忽略此项)需填入数字
- Database: 尚未实现,修改它不会产生任何影响。
- message-language: 选择踢出消息的语言。选项:EN - 英语 / DE - 荷兰语 / FR - 法语 / GE - 德语 / IT - 意大利语
安装方法:
下载 IPCompare.zip 并将其解压到你的 plugins 文件夹中(如果你还没有安装该插件)。如果你已经安装了该插件,请添加 IPCompare 文件夹中缺失的文件,并用 zip 包中的 config.yml 和 IPCompare.jar 覆盖原有文件。
更新日志:
- 版本 0.1 - 由 uruhax 发布
- 插件首次发布
- 版本 0.2 - 由 uruhax 发布
- 为 /iplist 命令添加了分页功能。新用法为 /iplist <page_index>
- 版本 0.3 - 由 uruhax 发布
- 添加了基于配置限制每个 IP 账号数量的功能。
- 添加了向 OP 或拥有权限节点的玩家发出“同一 IP 登录多个账号”警告的功能。
- 添加了配置文件。
- 添加了新的权限节点 "ipcompare.warn"。当有账号在同一 IP 登录时,向玩家发出警告。
- 版本 0.4 - 由 uruhax 发布
- 添加了权限节点 ipcompare.nolimit - 允许玩家在不受 IP 或账号限制的情况下登录服务器。
- 添加了权限节点 ipcompare.* - 授予玩家 ipcompare.admin、ipcompare.warn 和 ipcompare.nolimit 权限
- 版本 0.5 - 由 uruhax 发布
- 添加了 /warntoggle 命令,用于将玩家添加或移除到“当两个账号从同一 IP 登录时发出警告”的列表中。用法:/warntoggle [player name]
- 版本 0.6 - 由 uruhax 发布
- 修复了一些错误。
- 版本 0.7 - 由 uruhax 发布
- 添加了 /purgeip 命令,用于从列表中删除玩家的所有条目。用法:/purgeip <player_name>
- 修复了 /warntoggle 命令的错误
- 在配置文件中添加了语言和数据库使用的选项。(数据库功能目前尚不可用)
- 语言文件必须手动添加到 plugins 文件夹中的 IPCompare 文件夹内,并且需要用 rar 包中的配置文件替换现有配置文件,然后根据需要进行更改。
待办事项:
已知错误:
所有报告的错误均已修复。如果你发现任何其他问题,请务必告知 :D
IPCompare is CodeEx's second plugin publicly released on dev.bukkit.org. This plugin is meant to allow server owners and staff to check/compare player's ips, list every ip a user has logged in from and check if accounts have logged on from the same ip. It also limits the number of connections allowed from one ip and warns allowed players of connections from same ips. This is just a way to help stop griefers with multiple accounts.
Features:
- Check the ip of a player on line with a simple command
- Compare and see how many accounts use the same ip
- List all ip addresses associated with a player's account
- List all ip addresses that have connected to the server since the addition of the plugin
- Get warned of duplicate accounts on login
- Limit the number of accounts that can connect from an ip
- Excludes ops and players with granted permission from limitations of ip or account number
- Very lightweight
Commands and permissions:
- /compare [player ip] - Shows you all the players in the list with the specified ip.
- /iplist [page index] - Lists all the players in the IPCompare player list.
- /ip [player] - Shows you the ip of the player specified if he is online.
- /listips [player] - Lists the ips that the specified player has logged in from.
- /warntoggle [player] - Adds or removes the player to the list of player that are warned when people login with same ip as others.
- /purgeip [player] - Removes all entries of a player from the list.
Permission:
- ipcompare.admin - Gives permission to all commands from this plugin.
- ipcompare.warn - Warns the player of an account logging in from an ip that is already listed.
- ipcompare. nolimit - Exclude the player from any limitation of ips or account number.
- ipcompare.* - Gives the player all the above permissions.
Configuration
- limit-type: - The type of account limit to use. Parameters:
- none - (default value) Does not limit accounts per ip
- online - Limits the number of accounts that can be online at the same time per ip
- general - Limits the number of accounts that can join the server from one ip. Once you log in from one account, other accounts can't.
- max-number-connection-from-ip: - The limit of accounts per ip. (disconsidered if limit-type is none) Takes in a number
- Database: Still not implemented wont make any difference if you edit it.
- message-language: choose the language for the kick message. options: EN - english / DE - dutch / FR - french / GE - german / IT - italian
How to install:
Download the IPCompare.zip and extract it to you plugins folder if you do not already have the plugin. If you do have the plugin add the files that are missing from the IPCompare folder and overwrite the config.yml and IPCompare.jar with the ones in the zip file.
Changelog:
- Version 0.1- released by uruhax
- Initial release of plugin
- Version 0.2- released by uruhax
- Added pages to the /iplist command. New usage is /iplist <page_index>
- Version 0.3- released by uruhax
- Added a function that limits the number of account per ip based on configuration.
- Added a function that warns ops or players with permission node of accounts logged in on the same ip.
- Added Config file.
- Added new permission node "ipcompare.warn". Warns the player of accounts logged in on the same ip.
- Version 0.4- released by uruhax
- Added permission node ipcompare.nolimit - Let's the player login to the server without any limitations for ip or accounts.
- Added permission node ipcompare.* - Give the player ipcompare.admin ipcompare.warn and ipcompare.nolimit
- Version 0.5- released by uruhax
- Added /warntoggle command to remove/add a player to the list of players that are warned when two account from the same ip log in. Usage: /warntoggle [player name]
- Version 0.6- released by uruhax
- Fixed some bugs.
- Version 0.7- released by uruhax
- Added a /purgeip command that removes all entries of a player in the list usage: /purgeip <player_name>
- Fixed /warntoggle command errors
- Added an option in the config for language and database usage. (database usage is not functional yet)
- Language files must be added to the IPCompare folder in the plugins folder manually and the config must be switched with the one in the rar then changed as you want it.
To-do list:
Known bugs:
Everything that has been reported was fixed. If you find anything else be sure to tell :D
评论 0
登录后参与评分
还没有评论,来抢沙发吧