ServerPlayertimeTicker
ServerPlayertimeTicker 是一款 Minecraft Fabric 模组,用于追踪和管理服务器中玩家的游玩时间。
功能特性
- 自动游玩时间追踪: 自动追踪服务器上每位玩家的游玩时间。
- 最大游玩时间限制: 为每位玩家设置最大游玩时间上限,超出限制后将其踢出服务器。
- 可配置性: 通过配置文件自定义设置,如最大游玩时间和快捷栏提示信息。
- 实时更新: 近乎实时地同步配置更改,确保服务器能够快速适应。
- Luckperms 权限支持: 在 Luckperms 中使用
playtime.immune权限,可将特定玩家排除在倒计时之外。
使用方法
-
安装:
- 从 Releases 页面下载最新的发布版 JAR 文件。
- 将下载的 JAR 文件放入你的 Minecraft Fabric 服务器的
mods文件夹中。
-
配置:
- 在安装该模组后启动服务器,会在
config文件夹中生成一个配置文件(playtime_data.json)。 - 编辑配置文件以调整设置,例如最大游玩时间和快捷栏提示信息的格式。
- 注意:请使用默认配置中的
%m和%s来放置分钟和秒的计数器。
- 在安装该模组后启动服务器,会在
-
运行:
- 一旦玩家加入服务器,模组便会自动开始追踪其游玩时间。
- 玩家会在快捷栏上方看到剩余的游玩时间。
- 如果玩家超过最大游玩时间,将被自动踢出服务器。
贡献指南
欢迎贡献!如果你想为该模组的发展做出贡献,请按照以下步骤操作:
- Fork 本仓库。
- 创建一个新分支(
git checkout -b feature/fooBar)。 - 提交你的更改(
git commit -am 'Add some fooBar')。 - 推送到分支(
git push origin feature/fooBar)。 - 创建一个新的 Pull Request。
许可证
本模组遵循 Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License 许可协议。
ServerPlayertimeTicker
ServerPlayertimeTicker is a Minecraft Fabric mod that tracks and manages playtime for players on a server.
Features
- Automatic Playtime Tracking: Automatically tracks the playtime of each player on the server.
- Maximum Playtime Limit: Enforces a maximum playtime limit for each player, kicking them from the server if exceeded.
- Configurable: Customize settings such as maximum playtime and hotbar message using a configuration file.
- Real-time Updates: Syncs configuration changes in almost real-time, ensuring the server adapts quickly.
- Luckperms usage: Using the "playtime.immune" permission on luckperms you can exclude any particular player from having a countdown.
Usage
-
Installation:
- Download the latest release JAR file from the Releases page.
- Place the downloaded JAR file into the
modsfolder of your Minecraft Fabric server.
-
Configuration:
- After starting the server with the mod installed, a configuration file (
playtime_data.json) will be generated in theconfigfolder. - Edit the configuration file to adjust settings such as maximum playtime and hotbar message format.
- Note: Use %m and %s as seen in the default config to place the minute and second counter in the text.
- After starting the server with the mod installed, a configuration file (
-
Operation:
- The mod will automatically start tracking playtime for each player as soon as they join the server.
- Players will see their remaining playtime above the hotbar.
- If a player exceeds the maximum playtime, they will be automatically kicked from the server.
Contributing
Contributions are welcome! If you'd like to contribute to the development of this mod, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/fooBar). - Commit your changes (
git commit -am 'Add some fooBar'). - Push to the branch (
git push origin feature/fooBar). - Create a new Pull Request.
License
This mod is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
下载 ServerPlayertimeTicker
下载 ServerPlayertimeTicker
下载 ServerPlayertimeTicker
下载 ServerPlayertimeTicker
下载 ServerPlayertimeTicker
下载 ServerPlayertimeTicker
修复了在服务器人数较少时,玩家被踢出可能导致服务器崩溃的问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧