本模组由作者 NasheedPog 制作的原版(1.21 版本)重制而来。由于无法联系到他,我以其模组为基础,将其重制为适用于 1.20.X 的版本。
此模组旨在简单记录可能使用小号试图绕过封禁的玩家信息。如果玩家已离线数月,请勿假设所有信息都准确无误。在世界部分地区,某些 IP 地址每周都会发生变化,因此信息可能会很快过时。
以上所有功能均可通过简单的 VPN 轻松绕过。不要依赖此模组来抓捕所有试图规避封禁的人。它仅用于辅助服务器的常规管理。
注意
本模组会收集 IP 地址并将其直接与玩家关联。请在玩家加入服务器时告知他们正在收集此类信息,以便他们决定是否允许这样做。虽然本模组本身不会将任何信息发送到外部,但部分玩家可能会认为这存在安全风险。
如果你使用 /iplogger geolocate 命令,相关信息将被发送到某个网站以进行检查,并提供该玩家所在的大致位置。
命令
-
/iplogger buildFromPastLogs - 建议在你首次安装模组时运行。它将读取服务器上所有过去的日志文件,提取所有用户的 IP 地址并将它们添加到数据库中。如果不运行此命令,只有从安装时刻起之后的用户和 IP 地址才会可用。运行一次后,无需再次运行此命令。如果服务器已运行较长时间,此命令会导致服务器严重卡顿。建议为此命令设置 ticktimeout 为 0。
-
/iplogger getIPs [username] - 提供指定用户名登录服务器时使用过的所有 IP 地址。
-
/iplogger getUsers [IP] - 提供曾使用该 IP 地址登录服务器的所有用户。
-
/iplogger removeIpFromUser [username] [IP] - 从用户记录中移除该 IP 地址。
-
/iplogger getDuplicateIPs - 列出所有使用相同 IP 地址登录的玩家。共享 IP 的常见原因通常是住在同一家庭或属于同一个人的小号账号。
-
/iplogger geolocate [IP] - 使用 iplocation.net 免费 API 提供该 IP 地址所在的国家/地区。
-
/iplogger toggleDebugMode - 在服务器控制台中启用更详细的日志记录。主要供模组开发者用于故障排除……每次服务器启动/重启时会自动重置为 debugMode=false。
This mod is remade from an auther called NasheedPog who made a version for 1.21. I could not get ahold of him so I remade it with his mod as a base for 1.20.X.
This is made for a simple log of players who may have alt accounts trying to get around a ban. Do not assume the info is all correct if the player has been gone for months. Some IP address change weekly in parts of the world so info can be outdated quickly.
This can ALL be bypassed with a simple VPN. Do not rely on this to catch everyone trying to avoid a ban. It is just here to help with the general moderation of servers.
NOTE
This mod does collect IPs and directly ties them to players. Please let players know that you are collecting this info when they join so they can decide if they want to allow this. While this info is not sent anywhere by this mod it self some players may feel this is a security risk.
If you use the '/iplogger geolocate command' the info will be sent to a website to have the info checked and give a general location of where that player is from.
COMMANDS
-
/iplogger buildFromPastLogs - Recommended to run the first time you install the mod. Will read through all past logs file on the server to extract all users' IPs and add them to the database. If this command is not run, only users and IPs from the point of installation forward will be available. After running once, there is no need to run this command ever again. This will lag the server HARD if it has been up for a while. I recomend setting the ticktomeout to 0 for this command .
-
/iplogger getIPs [username] - Gives all the IPs that the given username has used to log in to the server from.
-
/iplogger getUsers [IP] - Gives all the users that have ever logged in to the server using this IP.
-
/iplogger removeIpFromUser [username] [IP] - Removes the IP address from the user.
-
/iplogger getDuplicateIPs - Will give a list of all players that have signed in using the same IP address. Typical reasons for sharing an IP is either living in the same household or being alt-accounts of the same person.
-
/iplogger geolocate [IP] - Uses the iplocation.net free API to give the country in which the given IP resides.
-
/iplogger toggleDebugMode - Turns on more verbose logging in server console. Mostly useful for the mod dev to troubleshoot... Always sets back to debugMode=false on server startup/restart.
评论 0
登录后参与评分
还没有评论,来抢沙发吧