AntiAddict Revisited - 限制服务器上部分玩家的游戏时间
版本:v2.1
描述:
如果你是一位真正关心服务器玩家的管理员,也许有一天你会意识到其中一些玩家已经对游戏上瘾,并在你的服务器上花费了过多的时间。 AntiAddict 是一个插件,允许你限制指定玩家在服务器上的游戏时间。这个时间限制将在第二天重置,从而允许他们再次进行游戏。(通常是按天计算)。
该插件的首位开发者是 Phiwa,他编写了大部分代码。他阅读了 wuppieigor 提出的一个插件请求,并意识到有些服务器管理员真正关心他们服务器上的玩家,而不仅仅是关注他们能填满多少个槽位。
(在 Twitter 上关注我以获取更新!)
Phiwa 的引用:当然,你无法控制玩家在其它服务器或单人游戏中的行为,但这已经是迈向正确方向的一步。在我看来,这些管理员关心他们的成员,因此编写了这个插件来帮助他们,这非常棒。
经过长时间的等待并最终发布 AntiAddict 后,许多服务器管理员熟悉了它并开始喜爱它。不幸的是,Phiwa 当时事务繁忙,无法再更新他的插件。大家都感到难过。我决定介入。Staartvin。我是 AntiAddict 的新任主要开发者,我将尽最大努力让这个插件变得比以前更好!
功能:
- 能够设置哪些玩家被视为“上瘾”
- 高度可自定义的消息,支持超过 14 种翻译。
- 能够检查在被踢出前剩余的时间
- 轻松查看哪些玩家被视为“上瘾”
- 用于命令的权限节点
- 能够通过一个简单的开关限制服务器上的所有玩家
- 支持多世界。配置你想要使用的世界!
- 能够关闭多世界支持并默认使用所有世界。
- 当有新版本可用时,管理员会收到通知。
- 即将被踢出的“上瘾”玩家会收到通知。
- 支持 14 个国家的语言翻译。
- 能够查看关于上瘾玩家的信息,例如:总游戏时间、语言、剩余时间、声誉等!
- 群组支持。创建具有不同时间限制的多个群组
截图:
向“上瘾”玩家显示的内容:
当“上瘾”玩家登录时控制台显示的内容:
当“上瘾”玩家被踢出时显示的内容:
当“上瘾”玩家被踢出时控制台显示的内容:
命令:
- /antiaddict <on/off> (反)激活 AntiAddict。
- /antiaddict status 显示 AntiAddict 的当前状态(开/关)。
- /antiaddict left 显示玩家还可以玩的时间。
- /antiaddict about 显示有关 AntiAddict 的有用信息。
- /timeleft 此命令已弃用,不再使用。
- /antiaddict config reload 重新加载 AntiAddict 的配置。
- /antiaddict language set <language code> (player) 为指定玩家设置语言(如果指定了玩家),否则将为使用该命令的玩家设置语言。
- /antiaddict language list 显示可用的语言及其语言代码。
- /antiaddict info <player> 显示关于玩家的信息,例如语言、声誉、剩余时间和总游戏时间。
- /antiaddict help 显示所有命令。
- /aa <command> 这是 /antiaddict 的别名。你可以像这样使用它,例如 '/aa config reload'。
权限节点:
- antiaddict.admin - 允许玩家控制 AntiAddict。
- antiaddict.ignorelimits - 如果配置中将 LimitAll 设置为 true,则赋予玩家忽略上瘾玩家时间限制的能力。
- antiaddict.lefttime - 赋予玩家在被踢出前检查剩余时间的能力。
- antiaddict.* - 赋予玩家完全控制权。
- antiaddict.versionnotice - 拥有此权限的玩家会在插件过时收到通知。
- antiaddict.language.list - 赋予玩家获取可用语言列表及其语言代码的能力。
- antiaddict.language.set - 赋予玩家更改其语言的能力。
- antiaddict.language.setother - 赋予玩家更改其他玩家语言的能力。
- antiaddict.infoplayer - 赋予玩家获取其他玩家信息的能力。
支持的语言:
- - 英语
- - 荷兰语
- - 德语(感谢 Phiwa)
- - 波兰语(感谢 Phiwa)
- - 意大利语(感谢 samu301295)
- - 巴西葡萄牙语(感谢 TheLunarFrog)
- - 西班牙语(感谢 TheLunarFrog)
- - 法语(感谢 MrLongBacon)
- - 丹麦语
建议:
如果您有任何希望我添加的功能,请随时提出。
已知问题:
完全无 Bug!
捐赠
我是一名贫困的学生,利用空闲时间开发此插件。如果您喜欢我的插件并愿意帮助我,请进行捐赠。捐赠是帮助我的最佳方式,所得款项将用于修复更多 Bug。谢谢!
AntiAddict Revisited - Limit some players' playtime on your server
Version: v2.1
Description:
If you are an admin who really cares about the players of your server, there might come a day when you recognise that some of them got addicted to the game and really play to much on your server. AntiAddict is a plugin which allows you to limit the time specified players can play on your server. This timelimit will be reset the next day, which then would allow them to play again. (so normally it's daily).
The first developer of this plugin was Phiwa, who wrote most of the code. He read a plugin request by wuppieigor and recognised that there are some server admins who really care about the players on their server and do not only watch the number of slots they manage to fill.
(Follow me on Twitter for updates!)
Quote from Phiwa:Of course you cannot control what the players do on other servers or in single-player, but it is a step into the right direction. In my opinion it is great that those admins care about their members and therefore wrote this plugin to help them with it.
After a long time and finally releasing AntiAddict, a lot of server admins became familiar with it and started to love it. Unfortunately, Phiwa had a busy time and couldn't update his plugin anymore. All were sad. I decided to step in. Staartvin. I'm the new main developer of AntiAddict and I will do my best to make this plugin even better than it was!
Features:
- Ability to set which players are 'addicted'
- Highy customisable messages with more than 14 translations.
- Ability to check how much time you have left untill you're kicked
- Easily see which players are 'addicted'
- Permissions used for commands
- Ability to limit all players on the server with one simple toggle
- Support MultiWorld. Configure which worlds you want to use!
- Ability to turn off MultiWorld and just use all worlds, as default.
- Admins will be noticed when there is a new version available.
- Addicted players will get noticed when they're getting kicked soon.
- Translations for 14 countries.
- Ability to see info about an addict, such as: total playtime, language, time left, reputation and more!
- Group support. Make multiple groups that have different time limits
Screenshots:
What is shown to addicted player:
What is shown in console when addicted player logs in:
What is shown when addicted player gets kicked:
What is shown in console when addicted player gets kicked:
Commands:
- /antiaddict <on/off> (De)activates AntiAddict.
- /antiaddict status Shows the current status for AntiAddict (on/off).
- /antiaddict left Shows the time the player has got to play.
- /antiaddict about Shows useful information about AntiAddict.
- /timeleft This command is deprecated and therefore not used anymore.
- /antiaddict config reload Reload AntiAddict's configs.
- /antiaddict language set <language code> (player) Sets the language for a specified player if specified, else it will set the language for player who used command.
- /antiaddict language list Shows the available languages and their language code.
- /antiaddict info <player> Shows information about the player, such as language, reputation , time left and total playtime.
- /antiaddict help Shows all commands.
- /aa <command> This is an alias to /antiaddict. You could use this as '/aa config reload' for example.
Permission-nodes:
- antiaddict.admin - Allows the player to control AntiAddict.
- antiaddict.ignorelimits - Gives the player the ability to ignore the timelimits for addicts if LimitAll is set to true in the config.
- antiaddict.lefttime - Gives the player the ability to check how much time he/she has left before getting kicked.
- antiaddict.* - Gives the player total control.
- antiaddict.versionnotice - Players with this permission will be noticed when the plugin is outdated.
- antiaddict.language.list - Gives the player the ability to get a list of available languages and their language code.
- antiaddict.language.set - Gives the player the ability to change their language.
- antiaddict.language.setother - Gives the player the abilty to change the language of others.
- antiaddict.infoplayer - Gives the player the ability to get info about other players.
Supported Languages:
- - English
- - Dutch
- - German (Thanks to Phiwa)
- - Polish (Thanks to Phiwa)
- - Italian (Thanks to samu301295)
- - Brazilian Portuguese (Thanks to TheLunarFrog)
- - Spanish (Thanks to TheLunarFrog)
- - French (Thanks to MrLongBacon)
- - Danish
Requests:
If there is anything you would like me to add, simply ask for it.
Known Bugs:
Totally bugfree!
Donations
I'm a poor student and I'm developing this plugin in my free-time, if you like my plugin and want to help me, please donate. Donating is the best way to help me out, it goes towards more bug-fixing. Thanks!
下载 AntiAddict Revisited
下载 AntiAddict Revisited
下载 AntiAddict Revisited
下载 AntiAddict Revisited
下载 AntiAddict Revisited
下载 AntiAddict Revisited
下载 AntiAddict Revisited
下载 AntiAddict Revisited
下载 AntiAddict Revisited
下载 AntiAddict Revisited
更新日志:
- 版本 2.1
- 更新至 CraftBukkit 1.6.4-R2.0 (构建 #02918)
- 重写了大量代码
- 修复了存在缺陷的版本更新检查器
- 配置文件的生成方式更加平滑
- 修复了一些语法错误
- 版本 2.0
- 更新至 CraftBukkit 1.4.7-R1.0 (构建 #02624)
- 存储方式从平面文件更改为 SQlite 数据库。
- 修复了该死的语法错误!
- 更新了语言文件(你需要删除旧文件并让 AntiAddict 创建一个新的)
- 防止不必要的变量被保存到数据库中。
- 移除了 /aa 命令,/aa addicts, /aa addicts add, /aa addicts remove
- 添加了多组支持。你现在可以在 groups.yml 中创建自己的组。每个组都有各自的时间限制。这允许你创建不同的组。例如:访客、成员、高级用户等。
- 要将玩家分配到特定组,请赋予他们权限 'antiaddict.groups.<groupname>'
- 更新了 Metrics
- 移除了不必要且已弃用的方法。
- 清理了代码。耶!
- 你可以移除 players.yml。它不再具有任何功能。
- 版本 1.9.5
- 更新至 CraftBukkit 1.4.6R0.3 (构建 #02586)
- 更新了插件 Metrics。
- 版本 1.9.4
- 更新至 CraftBukkit 1.3.2R2.0 (构建 #02396)
- 更新了语言文件
- 修复了一些语法错误
- 更改了 '/antiaddict help' 页面。现在需要数字来表示页码。
- 更新了 '/antiaddict about' 页面。
- 修复了一个罕见 bug,即游戏时长保持为 0 但剩余时间减少。
- 版本 1.9.3
- 修复了尝试更改其他玩家的语言时只会设置为英语的 bug。
- 添加了法语、西班牙语和巴西葡萄牙语作为翻译。(感谢 MrLongBacon & TheLunarFrog)
- 添加了别名命令 /aa。这是 /antiaddict 的别名。
- 添加了 Metrics 启动信息行。
- 版本 1.9.2
- 修复了插件版本未更新的 bug。
- 修复了插件版本未更新的 bug。
- 版本 1.9.1
- 现在支持 PluginMetrics。统计数据可以在这里查看
- 现在支持 PluginMetrics。统计数据可以在这里查看
- 版本 1.9
- 添加了 /antiaddict help。(需要 antiaddict.admin 权限才能执行)
- 添加了包含 14 种语言的翻译文件。如果你想帮助翻译,请告诉我!我会非常感激!
- 移除了不必要的命令 /reload。
- 添加了控制台命令支持。现在可以从控制台执行命令。
- 旧配置文件将自动转换为新格式。
- 为文件处理创建了单独的 Java 类。
- 在配置中添加了 'ShowWhenAddictJoinsServer'。如果设置为 true,当成瘾者加入服务器时,你会在控制台中收到通知。
- 在配置中将 'KickMessage' 更改为 'AlmostKickedMessage'。
- 修复了执行 /antiaddict config 时出现的异常。
- 添加了 /antiaddict info <player>。你可以查看给定玩家的一些信息。(需要 antiaddict.infoplayer 权限才能执行)
- 修复了“少一分钟”的 bug。成瘾者实际获得的时间比应有的少了一分钟。现已修复。
- 移除了 /timeleft 命令。它是不必要的。
- 创建了一个新文件来存储所有成瘾者。请勿触碰该文件。
- 玩家可以使用 /antiaddict language set <languagecode> 设置他们的语言。(需要 antiaddict.language.set 权限才能执行)
- 添加了声誉机制。如果低于或等于 4,玩家将无法再加入。
- 添加了更改其他玩家语言的方法。使用 /antiaddict language set <languagecode> <player>。(需要 antiaddict.language.setother 权限才能执行)
- 添加了 /antiaddict status。它将显示 AntiAddict 的当前状态(开启/关闭)(需要 antiaddict.admin 权限才能执行)
- 简化了命令代码,使其运行更快更好。
- 添加了当玩家没有指定权限而尝试执行命令时的消息。
- 使检查之间的时间间隔变得可变。这意味着如果时间限制更高,检查之间的时间间隔也会更高。
- 时间计算现在是按天进行的,而不是在重启/重载之间。当服务器重载或重启时,插件会保存其数据,并在再次启动时使用这些数据。
- 添加了 /antiaddict language list。显示所有可用的语言。这并不意味着所有语言都已翻译完成。(需要 antiaddict.language 权限才能执行)
- 添加了垃圾登录控制。如果成瘾者在时间耗尽后连续尝试加入超过 3 次,其声誉将降低 0.5。如果他们的声誉低于或等于 4,他们将无法再加入。
- 在配置中添加了 'ReputationPointsBan'。如果成瘾者尝试加入且其声誉等于或少于此数字,(s)he 将无法加入。
- 在配置中添加了 'NoticeOnVersionUpdate'。如果玩家加入且 'NoticeOnVersionUpdate' 为真,AntiAddict 将检查当前运行的版本是否为最新版本。
- 版本 1.8
- 更新至 CraftBukkit 1.3.1R2.0 (构建 #02340)
- 大幅提升了性能,改为每分钟检查玩家时间 60 次,而不是之前的 1200 次。(即每小时 3600 次,每天 86400 次。)此插件不应占用过多资源。之前是每分钟检查 1200 次。(即每小时 72000 次,每天 1728000 次。)
- 新增了版本通知权限。如果插件过时,OP 和拥有 [u]antiaddict.versionnotice[/u] 的玩家将会收到通知。
- 秘密命令如果被滥用,将会惩罚你!
- 新增了一个可配置的选项:[u]KickMessageWhenTryingToLoginAgain[/u]。默认值为:“抱歉,您在此处的游戏时间已结束!”。当被封禁的玩家再次尝试加入服务器时,将显示此新消息。
- 插件已适配 1.3 版本!
- 通过一些命令澄清了插件的使用困惑。
- 版本 1.7
- 更新以支持 CraftBukkit 1.2.5R5.0 [#2262]
- 重新添加了玩家剩余 1 分钟时的警告提示。
- 进一步清理了代码。将所有功能拆分为独立文件。性能可能得到提升。
- 添加了插件版本过期的警告。当管理员(OP)登录时,如果有可用更新,将会收到通知。(相关权限即将推出)
- 开始考虑自动更新功能。如果检测到有可用更新,系统将提示玩家进行更新。
- 改进了错误处理和消息处理机制。
- 重新审视并显著优化了部分代码。
- 构建了一个库,将许多方法存储其中。
- 秘密命令真正添加。试着去找吧 :)
- 改进了配置重载命令的代码。现在它确实能够重载配置了。:)
- 版本 1.6.3
- 更新以支持 CraftBukkit 1.2.5R4.1 [#2258]
- 修复了重载 Bug!太棒了!当服务器重载时,所有时间记录都会重置。
- 修复了在尝试读取插件时出现的崩溃问题。:)
- 语法错误应该已经消除。如果您发现任何错误,请报告。
- 进行了几次版本检查的尝试。目前尚未生效。这让我很困扰。
- 创建了一个秘密命令。试着去找吧 :)
- 版本 1.6.2
- 添加了多世界支持!如果您希望排除某些世界,请在配置中将它们列入 ExemptedWorlds。
- 另外,如果您不需要多世界支持,只需将 'UseMultiWorldSetup' 设置为 false。这样它将自动使用所有世界。
- 修复了更多语法错误
- 开始着手解决“重载修复”问题
- 开始致力于将时间计算方式转换为更完善的系统。(仍处于非常早期的测试阶段!)
- 正在努力实现用于为玩家增加或减少时间的命令
- 版本 1.6.1
- 修复了有时玩家被随机踢出的 Bug
- 修复了当缺少权限插件时的警告提示 ([url]http:dev.bukkit.org/servermods/antiaddict/pages/supportedpermissionsplugins|此处查看支持的权限插件[/url])
- 修复了更多语法错误
- 开始着手解决“重载修复”问题
- 在配置中添加了 'PermissionsWarningOnStartup' 选项(如果为 true,启动时将在控制台显示权限警告)
- AntiAddict 现在会检查配置中的更改,并在停止服务时保存这些更改。
- 开始着手实现用于为玩家增加或减少时间的命令
- 版本 1.6
- 更新以支持 CraftBukkit 1.2.5R1.2 [#2167]
- 添加了当缺少权限插件时的警告提示(此处查看支持的权限插件)
- 修复了更多语法错误
- 添加了另一个用于检查时间的命令 (/timeleft)
- 修复了空配置导致的 Bug
- 重写了创建配置的方法
- 清理了代码
- 添加了重载配置的命令 (/antiaddict config reload)
- 修复了有时玩家未被踢出的 Bug
- 添加了“完全控制”权限 (antiaddict.*)
- 修复了非成瘾用户使用 /antiaddict left 命令时出现的插件错误
- 版本 1.5
- 更新以支持 CraftBukkit 1.2.5R1.0 [#2149]
- 添加了更好的权限系统
- 彻底修复了拼写错误
- 添加了命令来查看在被踢出前还剩多少时间
- 添加了服务器时间即将结束时的警告
- 添加了在游戏中将玩家添加到或移出“成瘾者”列表的方法
- 清理了代码
- 版本 1.4
- 修复了一些拼写错误和 Bug。
- 修复了一些拼写错误和 Bug。
- 版本 1.3
- 在配置中添加了 "LimitAll" 选项。如果设置为 "true",这将限制所有玩家的游戏时间,忽略成瘾者列表。
- 重要提示:请删除旧配置文件(建议先备份成瘾者列表),新版本配置文件已更改,不会自行更新,但在未找到旧配置文件时会创建新的配置文件!
- 版本 1.2
- 更新至 Craftbukkit 1.0.1R1 [#1597 ]
- 更新至 Craftbukkit 1.0.1R1 [#1597 ]
- 版本 1.1
- 修复了两个拼写错误。
- 修复了两个拼写错误。
- 版本 1.0
- 初始发布
无!
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
使床在所有维度中爆炸的模组
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
评论 0
登录后参与评分
还没有评论,来抢沙发吧