PlayerTimeLimit 能做什么?
本插件允许你在服务器(或特定世界)中实现一套玩家限时游玩系统,例如每天仅可游玩 2 小时、每周仅可游玩 6 小时等。该插件的创意最初源自 YouTube 上的 Minecraft 系列视频,但也可用于其他场景。
当玩家剩余时间耗尽时,他们将被踢出服务器,并且在游戏时间重置之前无法再次加入。你甚至可以为服务器中的每个权限组设置不同的时间限制!
功能特性
✅ 踢出无剩余时间的玩家
✅ 阻止无剩余时间的玩家加入服务器
✅ 按权限组设定游玩时间限制
✅ 时间重置模式:
- 每日
- 每周
- 每月
- 命令触发
✅ 世界白名单系统
✅ Boss Bar 提示信息
✅ Action Bar 提示信息
✅ 启用/禁用提示信息的命令
✅ 查看距离下次时间重置剩余时间的命令
✅ 查看玩家剩余时间及总时间的命令
✅ 为玩家增加游玩时间的命令
✅ 扣除玩家游玩时间的命令
✅ 重置玩家游玩时间的命令
✅ 玩家通知动作支持:
- 聊天消息,居中消息
- 执行玩家命令,执行控制台命令
- 播放音效
- 标题文字
✅ 支持 PlaceholderAPI 变量
✅ 兼容 1.16.5+

快速开始
下载插件并将其放入 plugins 文件夹。你无需进行任何配置即可使用本插件,只需确保安装了一个权限插件,以便为玩家分配部分命令的使用权限,并为他们设置特定的游玩时间限制。
完整 Wiki 文档请见以下链接:
WIKI
命令与权限
命令
(别名: /playertimelimit)
- /ptl message (开启或关闭你自己的限时提示信息)
- /ptl info (查看距离下次时间重置的剩余时间)
- /ptl check (可选)<player> (查看指定玩家的剩余时间和总时间)
- /ptl resettime <player> (重置某位玩家或所有玩家的游玩时间)
- /ptl addtime <player> (为某位玩家增加游玩时间)
- /ptl taketime <player> (扣除某位玩家的游玩时间)
- /ptl reload (重载配置文件)
权限节点:
- playertimelimit.admin (访问所有插件命令)
- playertimelimit.commands.message (访问 /ptl message 命令(默认开启))
- playertimelimit.commands.info (访问 /ptl info 命令(默认开启))
- playertimelimit.commands.check (访问 /ptl check 命令(默认开启))
- playertimelimit.commands.check.others (访问 /ptl check <player> 命令)
- playertimelimit.limit.<group> (此权限将为玩家设定配置文件中定义的特定时间限制)
What can I do with PlayerTimeLimit?
This plugin allows you to implement a system in which players can play a limited amount of time in your server (or certain worlds), for example just 2 hours a day, 6 hours a week, etc. This idea of the plugin came originally from Youtube Minecraft series but it can be used for other cases as well.
Players with no time left will be kicked from the server and they will not be able to join again until the play times are reset. You can even set time limits for each rank on your server!
FEATURES
✅ Kick players with no time left
✅ Prevent players with no time left joining the server
✅ Play time limits per rank
✅ Time reset modes:
- Daily
- Weekly
- Monthly
- Command
✅ World whitelist system
✅ Boss Bar information message
✅ Action Bar information message
✅ Command to enable/disable information message
✅ Command to check remaining time for play times reset
✅ Command to check player time left and total time
✅ Command to add playtime to players
✅ Command to take playtime from players
✅ Command to reset playtime of players
✅ Notifications actions for players:
- Message, centered message
- Player command, console command
- Playsound
- Title
✅ PlaceholderAPI variables
✅ Works with 1.16.5+

HOW TO START
Download the plugin and place it on your plugins folder. You don't need to configure anything to use the plugin, just make sure to have a permissions plugin to give access to players to some commands and set them a specific play time limit.
FULL WIKI ON THIS LINK:
WIKI
COMMANDS AND PERMISSION
COMMANDS
(alias: /playertimelimit)
- /ptl message (Enables or disables the time limit information message for yourself)
- /ptl info (Checks the remaining time for play times reset)
- /ptl check (optional)<player> (Checks player time left and total time)
- /ptl resettime <player> (Resets playtime for a player or all players)
- /ptl addtime <player> (Adds play time to a player)
- /ptl taketime <player> (Takes play time from a player)
- /ptl reload (Reloads the config)
PERMISSIONS:
- playertimelimit.admin (Access to all plugin commands)
- playertimelimit.commands.message (Access to /ptl message commands (enabled by default))
- playertimelimit.commands.info (Access to /ptl info command (enabled by default))
- playertimelimit.commands.check (Access to /ptl check command (enabled by default))
- playertimelimit.commands.check.others (Access to /ptl check <player> command)
- playertimelimit.limit.<group> (This permission will set a specific time limit defined in the config, for the player)
下载 PlayerTimeLimit
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerTimeLimit
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerTimeLimit
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerTimeLimit
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerTimeLimit
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerTimeLimit
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerTimeLimit
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerTimeLimit
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 修复了将时间限制组设置为 0(无时间限制)时出现的问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧