IP 安全
IP Security(IP 安全)是一个非常简单、一目了然的插件,如果你的受信任玩家的账号遭到入侵,它可以防止你的服务器被恶意利用。
如果你有兴趣尝试开发版功能(使用主机名代替 IP),请使用开发构建版本。
简而言之,IP Security 允许你指定特定用户可以从哪些完整 IP 地址或 IP 段登录。如果他们从其他 IP 登录,其账号将被踢出服务器,并且在你有时间调查问题之前,可以选择将其封禁。
如果玩家拥有管理员权限(op),在登出时 IP Security 也会撤销其所有权限。你可以在配置文件中将某个玩家标记为 op,当该玩家从指定的 IP 登录时,系统会重新赋予其 op 权限,从而确保作弊者无法利用 op 进行任何滥用。
配置
#如果玩家未在此列出,他们将无需任何检查即可登录。
players:
#限制 用户 "Test" 的 访问权限 至 IP 127.0.0.1
Test:
ip: 127.0.0.1
#如果玩家在验证后应被设为管理员,则为True
op: true
#禁止 Notch 加入 服务器
Notch:
ip: None
op: false
settings:
#如果玩家在IP身份验证失败(或不被允许
ban-on-wrong-ip: true
#踢出玩家的理由 如果 他们 未能通过 IP 身份验证 (或 不被允许)
kick-reason: 不行。
命令
| 命令 | 描述 |
| /ips help | 显示帮助页面 |
| /ips reload | 重新加载配置文件。 |
| /ips /ips add [用户] [IP地址] [op(true/false)] | 向配置文件中添加用户。 |
| /ips remove [用户] | 从配置中移除一个用户。 |
所有命令都需要 ipsecurity.admin 权限
IP Security
IP Security is a very simple, self-explanatory plugin that can save your server from being exploited if your trusted player's accounts become compromised.
If you are interested in trying the dev features (use hostname for ip) please use the dev builds.
In a nutshell, IP Security will allow you to specify a full IP or IP range that a specified user can log in from. If they log in from another IP, their account will be kicked from the server, and can be banned until you have time to investigate the issue, if you so choose.
IP Security will also de-op all players when they log out, if they have op. You can mark a player as an op in the config, and when they log in under the right IP, they will be given op back, which makes sure that cheaters will have no chance to exploit and use op.
Configuration
#If a player is not listed here, they will be able to log in with no check at all.
players:
#Restrict access for the user "Test" to ip 127.0.0.1
Test:
ip: 127.0.0.1
#True if player should be opped once they are verified
op: true
#Disallow Notch from joining at all
Notch:
ip: None
op: false
settings:
#True if player should be banned if they fail IP authentication (or are not allowed
ban-on-wrong-ip: true
#Reason to kick a player if they fail IP authentication (or are not allowed)
kick-reason: Nope.
Commands
| command | description |
| /ips help | Show help page |
| /ips reload | Reload the config. |
| /ips /ips add [user] [ip] [op(true/false)] | Add a user to the config. |
| /ips remove [user] | Remove a user from the config. |
All commands require the permission ipsecurity.admin
评论 0
登录后参与评分
还没有评论,来抢沙发吧