动态效果白名单
这是一个使用 MySQL/HTTP/文件 的简单白名单模组。 要在游戏中添加用户到白名单权限,需要 Bukkit(已包含在 bukkit 中),并且你需要使用文件或 MySQL 模式。 如果你希望设置简单,插件可以在不更改配置的情况下运行;你也可以编辑配置文件来自定义断开连接的消息等。
该白名单使用 PluginMetrics,这意味着它会将服务器信息(插件版本、在线玩家数量、服务器版本、服务器位置(国家))发送到 PluginMetrics 服务器 (),以便我获取插件使用情况。你可以在 PluginMetrics 配置 (plugins/PluginMetrics/config.yml) 中关闭此功能,但建议保持开启,这样我可以查看使用情况。
如果最近发布了新的 Minecraft 版本,请尝试使用插件,而不是询问是否兼容。 在报告错误之前,请检查你是否拥有最新版本并查看更新日志。
功能
- 使用 MySQL/HTTP/文件 的白名单
- 按间隔更新白名单,而不仅仅是在服务器启动时
- 在游戏中将用户添加到白名单,或与你的论坛/网站集成
- 文件数据源使用与 Minecraft 内置白名单系统相同的格式。
- 自定义断开连接消息(如果不在白名单中)
- 当有人加入且不在白名单中时,向 OP 和具有相应权限的玩家发送通知(需要在配置中启用 (General.PrintConnectFails))
- 支持自定义 SQL 查询和自定义数据库结构
- 内置导入/导出器允许从文件、sql 和 url 导入/导出到文件、世界和 sql。(1)
- 运行时重新加载插件(无需重启服务器)
- 运行时刷新白名单(无需等待自动刷新或重启服务器)
- 服务器运行时可以开启/关闭白名单
- (允许的数据源: sql, file, url, world 允许的目的地: sql, file)
待办事项
- 无
依赖项
- MySQL JDBC(如果你打算使用 sql 作为数据源)- 下载 mysql 连接器并将 mysql-connector-java-5.1.15-bin.jar 放入 C:\Program Files\Java\jre6\lib\ext 或 Linux 上的 /java/packages/lib/ext()
页面
权限
| 权限 | 描述 |
|---|---|
| dewhitelist.add | 将用户添加到白名单的权限 |
| dewhitelist.remove | 从白名单中移除用户的权限 |
| dewhitelist.displayfails | 查看所有失败加入请求的权限(如果在配置中激活,将在聊天中显示) |
| dewhitelist.reload | 重新加载插件的权限 |
| dewhitelist.refresh | 刷新白名单的权限(检查白名单中的新玩家) |
| dewhitelist.import | 从一个源导入到另一个源的权限(可用于备份白名单) |
| dewhitelist.mode | 开启/关闭白名单的权限 |
聊天命令
| 命令 | 描述 |
|---|---|
| /whitelist add [player] | 将输入的玩家添加到白名单。 |
| /whitelist remove [player] | 将输入的玩家从白名单中移除。 |
| /whitelist reload | 重新加载插件 |
| /whitelist import [source] [destination] | 从源导入白名单到目标 (1) (2) |
| /whitelist refresh | 刷新白名单(检查白名单中的新玩家) |
| /whitelist <on/off> | 开启/关闭白名单 |
- (允许的数据源: sql, file, url, world 允许的目的地: sql, file)
- (当使用 world 作为源时使用第三个参数,最后一个参数是世界名称。示例 "/whitelist import world file world")
源代码
源代码托管在 Github:
下载
- 仅 JAR 文件 (版本 1.5.2)
- 完整包 (版本 1.5.2) - 包括 JAR、SQL 文件(数据库)、php 文件(如果使用 url 作为数据源)
更新日志
版本 1.5.2
- 所有调试消息现在都带有前缀 [DEWhitelist-debug]
- 不再在调试模式下打印整个白名单,而是打印白名单中的玩家数量。
- 检查其他插件是否已经禁止了该玩家,如果是,则让其他插件处理事件。
- 在调试模式下,现在会打印另一个插件是否已处理加入事件。
版本 1.5.1
- 快速修复未正常工作的刷新计时器。
版本 1.5.0
- 新增 /whitelist <on/off> 命令 - 可以实时开启/关闭白名单
- 修复了打印连接失败信息的问题,现在不再在控制台或向玩家重复打印该信息。
- 调试选项已从 General.debug 移至 Other.debug
- 配置中新增了启动时白名单模式的选项(开启或关闭)
- 添加了 PluginMetrics,用于发送匿名统计数据(玩家数量、Bukkit 版本、插件版本),可在 pluginMetrics 配置文件中关闭(plugins/PluginMetrics/config.yml)
如果您在我的插件上使用了服务器,请考虑 捐赠 :)
Dynamic Effect Whitelist
This is a simple whitelist mod using MySQL/HTTP/File. To add users ingame to the whitelist permissionsBukkit is required (included in bukkit), you also need to use the File or MySQL mode. The plugin can run without any changes to the config, if you want it simple or you can edit the config to personalize the disconnect message etc.
The whitelist uses PluginMetrics which means it will send server info (plugin version, number of players on the server, server version, server location (country)), to PluginMetrics server () so I can get plugin usage. It can be turned off in PluginMetrics config (plugins/PluginMetrics/config.yml), but it's recommended to let it be on, so I can see the usage.
If a new minecraft version has recently been released then try the plugin instead of asking if it works. Before reporting a bug, check so you have the latest version and check the changelog
Features
- Whitelist using MySQL/HTTP/File
- Updates the whitelist at an interval and not just at server start
- Add users to the whitelist ingame or integrate with your forum/website
- The file data source uses the same format as Minecraft´s built-in whitelist system.
- Custom disconnect message (if not on whitelist)
- Notification for OP' s and players with the right permission, when someone joins and is not on the whitelist (Needs to be enabled in the config (General.PrintConnectFails))
- Support for custom SQL queries & custom database structure
- Built-in importer/exporter allows importing/exporting from/to file, sql & url to file, world & sql. (1)
- Reload plugin on the run (without restarting the server)
- Refresh the whitelist on the run (without waiting for the automated refresh or restarting the server)
- Whitelist can be turned on/off while the server is running
- (Allowed sources: sql, file, url, world Allowed destinations: sql, file)
Todo
- Nothing
Dependencies
- MySQL JDBC (If you are going to use sql as data source) - Download the mysql connector and place mysql-connector-java-5.1.15-bin.jar in C:\Program Files\Java\jre6\lib\ext or /java/packages/lib/ext on linux ()
Pages
Permissions
| Permission | Description |
|---|---|
| dewhitelist.add | permission to add users to the whitelist |
| dewhitelist.remove | permission to remove users from the whitelist |
| dewhitelist.displayfails | permission to see all failed joins (shown in the chat if activated in config) |
| dewhitelist.reload | permission to reload the plugin |
| dewhitelist.refresh | permission to refresh the whitelist (check for new players in the whitelist) |
| dewhitelist.import | permission to import from a source to another (Can be used to backup the whitelist) |
| dewhitelist.mode | permission to turn on/off the whitelist |
Chat commands
| Command | Description |
|---|---|
| /whitelist add [player] | adds the entered player to the whitelist. |
| /whitelist remove [player] | removes the entered player to the whitelist. |
| /whitelist reload | Reloads the plugin |
| /whitelist import [source] [destination] | imports whitelist from source to destination (1) (2) |
| /whitelist refresh | Refreshes the whitelist (checks for new players in the whitelist) |
| /whitelist <on/off> | Turns on/off the whitelist |
- (Allowed sources: sql, file, url, world Allowed destinations: sql, file)
- (Uses a third argument when using world as source, the last world is the name of the world's name. Example "/whitelist import world file world")
Source
The source is hosted on Github:
Download
- JAR Only (Version 1.5.2)
- Full package (Version 1.5.2) - Includes JAR, SQL-file (database), php-file (if you use url as data source)
Changelog
Version 1.5.2
- All debug messages are now shown with the prefix [DEWhitelist-debug]
- No longer prints entire whitelist in debug mode, instead it prints the number of players in the whitelist.
- Checks if other plugin has already disallowed the player and if so it lets the other plugin handle the event.
- In debug mode it now prints if another plugin has handled the join event.
Version 1.5.1
- Quick fix for the refresh timer which didn't work.
Version 1.5.0
- /whitelist <on/off> added - Can turn on/off the whitelist on the run
- Print connection fails should be fixed and should no longer print in console nor to players multiple times.
- debug option moved from General.debug to Other.debug
- Option in the config to set which mode the whitelist should be at startup (on or off)
- PluginMetrics added, sends anonymous stats (player count, bukkit version, plugin version), can be turned off in the pluginMetrics config (plugins/PluginMetrics/config.yml)
If you use my plugin on your server(s) please consider donating :)
下载 Dynamic Effect Whitelist
下载 Dynamic Effect Whitelist
下载 Dynamic Effect Whitelist
下载 Dynamic Effect Whitelist
下载 Dynamic Effect Whitelist
下载 Dynamic Effect Whitelist
下载 Dynamic Effect Whitelist
下载 Dynamic Effect Whitelist
下载 Dynamic Effect Whitelist
下载 Dynamic Effect Whitelist
1.6
- 适配 Bukkit 1.5.2 R 0.1
- 修复警告及小错误/清理代码
1.5.2
- 所有调试信息现在均带有前缀 [DEWhitelist-debug]
- 在调试模式下不再打印完整的白名单,而是改为打印白名单中的玩家数量。
- 检查其他插件是否已禁止该玩家,如果是,则交由其他插件处理该事件。
- 在调试模式下,现在会打印是否有其他插件处理了加入事件。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧