本帖最后由 pepsi小唐 于 2022-2-9 18:21 编辑

插件的特别之处

常用指令
权限设置

LitePlaytimeRewards

LitePlaytimeRewards 是一款轻量级、高级且高度可定制的插件,可在特定游戏时间为玩家提供奖励。该插件的主要目标集中在高性能和广泛的可定制选项上。LitePlaytimeReward 可以调整以适应任何服务器,并在玩游戏时为玩家提供独特的体验。

插件的特别之处
•自定义的奖励
玩家的GUI通过 GUI 给玩家提供奖励。简单使用的键盘按键进行奖励设置。快速可靠。•同步游戏时间

不知道插件的功能或者如何它工作,如何设置?
我们已为您提供保障!查看Wiki来查看怎么安装、设置、配置和使用 LPR 的方法。
如果您想报告错误,请前往 GitHub。
常用指令
• /afktime [玩家ID] ----- 查询当前AFK时间或者其他玩家
• /givereward ----- 打开GUI来设置玩家奖励
• /givereward<奖励><玩家ID> [数量|金额] [消息文本]----- 强制给某个玩家奖励
• /lpr help----- 查看插件命令提示
• /lpr reset <奖励> <玩家ID>----- 重置玩家距离领取这个奖励的时间
• /playtime [玩家ID] ----- 查询在线时间
• /rewards -----查看所有奖励的详细信息
权限设置权限节点 描述
liteplaytimerewards.afktime /afktime 命令
liteplaytimerewards.afktime.other /afktime [player] 命令
liteplaytimerewards.givereward /givereward 命令
liteplaytimerewards.help /lpr help 命令
liteplaytimerewards.reload /lpr reload 命令
liteplaytimerewards.reset /lpr reset <reward> <player> 命令
liteplaytimerewards.playtime /playtime 命令
liteplaytimerewards.playtime.other /playtime [player] 命令
liteplaytimerewards.rewards /rewards 命令
liteplaytimerewards.reward。<rewardID> 如果奖励UsePermission设置为true,则有资格获得此奖励的权限
Config:
############################################################
# +------------------------------------------------------+ #
# | DATA | #
# +------------------------------------------------------+ #
############################################################
#多久自动保存数据?
#最小值为一分钟.
AutoSave: 1
#插件关闭后保存多久的playerdata数据?
#节省RAM的性能.
#最小值为零分钟.
TimeKeepDataInCache: 5
#插件加载所有的在线,包括安装此插件之前获得的在线时间?
#只支持 Spigot/Paper v1.13+
CountAllPlaytime: true
#禁止获得奖励的世界?
DisableGettingRewardsInWorlds:
[
#- world
#- world_nether
#- world_the_end
]
############################################################
# +------------------------------------------------------+ #
# | GUIs | #
# +------------------------------------------------------+ #
############################################################
#GUI中的边框材质?
BorderMaterial: "white_stained_glass_pane"
#奖励GUI格式
#Options:
#"fill" -> Fill the inventory from left to right.
#"centered" -> Center the rewards in the inventory.
InventoryLayout: "centered"
#插件在奖励GUI中排序奖励顺序
#Options:
#id -> Alphanumeric ordering by ID.
#id_reversed -> Unalphanumeric ordering by ID.
#name -> Alphanumeric ordering by name.
#name_reversed -> Unalphanumeric ordering by name.
#time -> Ascending by time till next reward.
#time_reversed -> Descending by time till next reward.
#pending -> Ascending by amount pending.
#pending_reversed -> Descending by amount pending.
#redeemed -> Ascending by amount redeemed.
#redeemed_reversed -> Descending by amount redeemed.
RewardsOrder: "id"
############################################################
# +------------------------------------------------------+ #
# | MISCELLANEOUS | #
# +------------------------------------------------------+ #
############################################################
#是否开启自动检查更新?
UpdateChecker: true
Message:已汉化
授权搬运

如果您觉得有帮助的话,不妨给一下人气或者金粒表示支持?谢谢~
LitePlaytimeRewards
LitePlaytimeRewards 是一款轻量级、高级且高度可定制的插件,可在特定游戏时间为玩家提供奖励。该插件的主要目标集中在高性能和广泛的可定制选项上。LitePlaytimeReward 可以调整以适应任何服务器,并在玩游戏时为玩家提供独特的体验。

•自定义的奖励
- 可以任意修改的显示文本,可以用颜色符号。
- 可以设置在 GUI 中显示代表奖励的物品。
- 每个奖励可以完全配置。
- 将每个奖励所需的游戏时间设置为你需要的任何时间。甚至多个时间组合也是可以的。
- 取消AFK 时间来计算奖励所需要的时间。
- 可以设置根据安装插件之前在线的游戏时间给予奖励。
- 要求玩家有空出来的物品栏来领取奖励。
- 可以将奖励设置为永远循环。
- 禁用某个世界的在线奖励。
- 可以设置一些权限来限制玩家领取。
- 每个奖励可以通过tell和全服通知来提醒玩家。
- 可选择想要通知玩家的方式(侧边栏、聊天栏和Title格式)。
•专业版GUI界面
奖励界面
记录实时游戏时间直到下一个奖励。
记录每个奖励兑换的时间。
记录每个奖励的待处理时间。
按照个人喜欢的标准设置奖励。
从GUI 的中心或从左到右填充GUI。
玩家的GUI
通过 GUI 给玩家提供奖励。
简单使用的键盘按键进行奖励设置。
快速可靠。
•同步游戏时间
- 检查游戏时间。
- 检查AFK 时间。
- 在安装此插件之前检查是否记录之前的时间(需要Spigot 1.13或更高版本)

Config:
Message: 已汉化
授权搬运
如果您觉得有帮助的话,不妨给一下人气或者金粒表示支持?谢谢~
2021.12 数据,可能有更多内容

LitePlaytimeRewards

LitePlaytimeRewards 是一款轻量级、高级且高度可定制的插件,可在特定游戏时间为玩家提供奖励。该插件的主要目标集中在高性能和广泛的可定制选项上。LitePlaytimeReward 可以调整以适应任何服务器,并在玩游戏时为玩家提供独特的体验。
•自定义的奖励
- 可以任意修改的显示文本,可以用颜色符号。
- 可以设置在 GUI 中显示代表奖励的物品。
- 每个奖励可以完全配置。
- 将每个奖励所需的游戏时间设置为你需要的任何时间。甚至多个时间组合也是可以的。
- 取消AFK 时间来计算奖励所需要的时间。
- 可以设置根据安装插件之前在线的游戏时间给予奖励。
- 要求玩家有空出来的物品栏来领取奖励。
- 可以将奖励设置为永远循环。
- 禁用某个世界的在线奖励。
- 可以设置一些权限来限制玩家领取。
- 每个奖励可以通过tell和全服通知来提醒玩家。
- 可选择想要通知玩家的方式(侧边栏、聊天栏和Title格式)。
玩家的GUI通过 GUI 给玩家提供奖励。简单使用的键盘按键进行奖励设置。快速可靠。•同步游戏时间
- 检查游戏时间。
- 检查AFK 时间。
- 在安装此插件之前检查是否记录之前的时间(需要Spigot 1.13或更高版本)
不知道插件的功能或者如何它工作,如何设置?
我们已为您提供保障!查看Wiki来查看怎么安装、设置、配置和使用 LPR 的方法。
如果您想报告错误,请前往 GitHub。
常用指令• /afktime [玩家ID] ----- 查询当前AFK时间或者其他玩家
• /givereward ----- 打开GUI来设置玩家奖励
• /givereward<奖励><玩家ID> [数量|金额] [消息文本]----- 强制给某个玩家奖励
• /lpr help----- 查看插件命令提示
• /lpr reset <奖励> <玩家ID>----- 重置玩家距离领取这个奖励的时间
• /playtime [玩家ID] ----- 查询在线时间
• /rewards -----查看所有奖励的详细信息
权限设置权限节点 描述liteplaytimerewards.afktime /afktime 命令
liteplaytimerewards.afktime.other /afktime [player] 命令
liteplaytimerewards.givereward /givereward 命令
liteplaytimerewards.help /lpr help 命令
liteplaytimerewards.reload /lpr reload 命令
liteplaytimerewards.reset /lpr reset <reward> <player> 命令
liteplaytimerewards.playtime /playtime 命令
liteplaytimerewards.playtime.other /playtime [player] 命令
liteplaytimerewards.rewards /rewards 命令
liteplaytimerewards.reward。<rewardID> 如果奖励UsePermission设置为true,则有资格获得此奖励的权限
Config:
############################################################
# +------------------------------------------------------+ #
# | DATA | #
# +------------------------------------------------------+ #
############################################################
#多久自动保存数据?
#最小值为一分钟.
AutoSave: 1
#插件关闭后保存多久的playerdata数据?
#节省RAM的性能.
#最小值为零分钟.
TimeKeepDataInCache: 5
#插件加载所有的在线,包括安装此插件之前获得的在线时间?
#只支持 Spigot/Paper v1.13+
CountAllPlaytime: true
#禁止获得奖励的世界?
DisableGettingRewardsInWorlds:
[
#- world
#- world_nether
#- world_the_end
]
############################################################
# +------------------------------------------------------+ #
# | GUIs | #
# +------------------------------------------------------+ #
############################################################
#GUI中的边框材质?
BorderMaterial: "white_stained_glass_pane"
#奖励GUI格式
#Options:
#"fill" -> Fill the inventory from left to right.
#"centered" -> Center the rewards in the inventory.
InventoryLayout: "centered"
#插件在奖励GUI中排序奖励顺序
#Options:
#id -> Alphanumeric ordering by ID.
#id_reversed -> Unalphanumeric ordering by ID.
#name -> Alphanumeric ordering by name.
#name_reversed -> Unalphanumeric ordering by name.
#time -> Ascending by time till next reward.
#time_reversed -> Descending by time till next reward.
#pending -> Ascending by amount pending.
#pending_reversed -> Descending by amount pending.
#redeemed -> Ascending by amount redeemed.
#redeemed_reversed -> Descending by amount redeemed.
RewardsOrder: "id"
############################################################
# +------------------------------------------------------+ #
# | MISCELLANEOUS | #
# +------------------------------------------------------+ #
############################################################
#是否开启自动检查更新?
UpdateChecker: true
Message:已汉化
- #Essentials color codes can be used in all messages (without needing essentials on your server) -> https://wiki.ess3.net/mc/
- ############################################################
- # +------------------------------------------------------+ #
- # | RewardsGUI | #
- # +------------------------------------------------------+ #
- ############################################################
- #The title of the inventory when executing the command /rewards.
- RewardsInventoryTitle: "&3您的奖励"
- #The title of the inventory when executing the command /givereward.
- GiveRewardInventoryTitle: "&2可用奖励"
- #Available placeholder: %redeemed% - %pending%
- #Each list item will be a new line.
- #Reward information displayed under reward name when executing /rewards.
- RewardInfo:
- - "&a(redeemed: &2%redeemed%&a, pending: &2%pending%&a)"
- #Available placeholders: %total_in_seconds% - %total_in_minutes% - %total_in_hours% - %total_in_days% - %seconds% - %minutes% - %hours% - %days%
- #The following placeholders should be used together: %seconds% - %minutes% - %hours% - %days%
- #Each list item will be a new line.
- #Info displayed under reward description when executing /rewards if available and time left.
- NextReward:
- - "&e下一个奖励在&6"
- - "&6%days% 天, %hours% 小时, %minutes% 分钟, %seconds% 秒"
- #Info displayed under reward description when executing /rewards if player can't claim reward anymore.
- NextRewardNever:
- - "&c已经赢得了这个奖励。"
- #Info displayed under reward description when executing /rewards if no permission for it but claimed or pending at least once.
- NextRewardNoPermission:
- - "&你挣不到这个奖励。"
- #Available placeholders: %player% - %rewardname% - %world%
- #Notification send to players if they have a reward pending cause in an unclaimable world.
- PendingNotificationWrongWorld: "&e你有一个游戏时间奖励,但不能在这个世界上。"
- #Available placeholders: %player% - %rewardname% - %inventory_spaces_needed%
- #Notification send to players if they have a reward pending cause not enough inventory space left.
- PendingNotificationNotEnoughInventory: "&e你需要 &6%inventory_spaces_needed% &e空余位置来存放奖励"
- ############################################################
- # +------------------------------------------------------+ #
- # | Commands | #
- # +------------------------------------------------------+ #
- ############################################################
- #Available placeholders: %total_in_seconds% - %total_in_minutes% - %total_in_hours% - %total_in_days% - %seconds% - %minutes% - %hours% - %days%
- #The following placeholders should be used together: %seconds% - %minutes% - %hours% - %days%
- #Shown when executing the command /playtime.
- Playtime: "&6您已在此服务器上玩了%days%天、%hours%小时、%minutes%分钟和%seconds%秒。"
- #Available placeholders: %player% - %total_in_seconds% - %total_in_minutes% - %total_in_hours% - %total_in_days% - %seconds% - %minutes% - %hours% - %days%
- #The following placeholders should be used together: %seconds% - %minutes% - %hours% - %days%
- #Shown when executing the command /playtime <player>
- PlaytimeOther: "&6%player%已在此服务器上玩了%days%天、%hours%小时、%minutes%分钟和%seconds%秒。"
- #Available placeholders: %total_in_seconds% - %total_in_minutes% - %total_in_hours% - %total_in_days% - %seconds% - %minutes% - %hours% - %days%
- #The following placeholders should be used together: %seconds% - %minutes% - %hours% - %days%
- #Shown when executing the command /afktime
- AFKTime: "&6您在这台服务器上有%days%天、%hours%小时、%minutes%分钟和%seconds%秒的AFK。"
- #Available placeholders: %player% - %total_in_seconds% - %total_in_minutes% - %total_in_hours% - %total_in_days% - %seconds% - %minutes% - %hours% - %days%
- #The following placeholders should be used together: %seconds% - %minutes% - %hours% - %days%
- #Shown when executing the command /afktime <player>
- AFKTimeOther: "&6%player%在该服务器上有%days%天、%hours%小时、%minutes%分钟和%seconds%秒秒的AFK。"
- #Available placeholders: %player% - %rewardname%
- #Shown to player executing the command /givereward if the reward has been successfully given to player.
- RewardGiven: "&a%rewardname%奖励已给予%player%。"
- #Shown to player if executing the command /lpr reload was successful.
- ReloadSuccess: "&a已成功重新加载配置和消息。"
- #Available placeholders: %player% - %rewardname%
- #Shown to player if executing the command /lpr reset <reward> <player> was successful.
- ResetSuccess: "&a玩家%player%的%rewardname%已成功重置。"
- ############################################################
- # +------------------------------------------------------+ #
- # | Errors | #
- # +------------------------------------------------------+ #
- ############################################################
- #Error thrown if command requires to be executed by an online player.
- NeedToBeOnline: "&c您需要登录才能使用此命令。"
- #Error thrown when executing the command /afktime or /afktime <player> and if server hasn't got essentials installed.
- ServerDoesntKeepTrackOfAFK: "&c此服务器不跟踪AFK时间。"
- #Error thrown when executing the command /givereward and no rewards are configured in the config file.
- NoRewardsConfigured: "&c配置文件中配置的奖励。"
- #Error thrown when executing the command /rewards and there are no rewards available for the player.
- NoRewardsAvailable: "&C您没有任何奖励。"
- #Error thrown if player has no permission to use the command.
- NoPermission: "&c您没有执行此命令的权限。"
- #Available placeholders: %player%
- #Error thrown if command requires player data but player has no data on the server.
- NoData: "&c%player%在此服务器上还没有数据。"
- #Available placeholders: %rewardname%
- #Error thrown when executing /givereward <reward> <playername> [amount] [broadcast] and reward isn't configured on the server.
- NoSuchReward: "&c%rewardname%不是可用的奖励。"
- #Error thrown when executing /givereward <reward> <playername> [amount] [broadcast] and amount is not a number greater then 0.
- NotANumber: "&cAmount必须是大于0的正数。"
- #Error thrown when executing /givereward <reward> <playername> [amount] [broadcast] and broadcast is not true or false.
- NotABoolean: "&cBroadcast必须为true或false。"
- #Available placeholders: %player%
- #Error thrown if command requires receiving player to be online but isn't.
- NotOnline: "&c玩家%player%未联机。"
授权搬运

如果您觉得有帮助的话,不妨给一下人气或者金粒表示支持?谢谢~
图呢?。。。。
谢谢大佬,加油。。。
好玩福利多bag少不掉线
专业团队 发表于 2020-7-30 13:03
图呢?。。。。
不好意思,现在补
图片已补充
这是每日的还是总计的在线时间?
作者已经更新
配置文件和语言文件都已汉化
本楼提供语言错误,欢迎大神纠错
本楼提供语言错误,欢迎大神纠错
感谢分享的插件
qq506699915 发表于 2020-8-3 09:41
感谢分享的插件
感谢支持
MCBBS有你更精彩~
感谢分享的插件
感谢作者的分享
提供一个下一次领奖时间的变量就好了
感谢大佬,不过 这个汉化有点机译的感觉

这插件厉害啊,楼主辛苦了
本帖最后由 pepsi小唐 于 2020-8-29 13:42 编辑
message是自己汉化
蓝Lan_nice 发表于 2020-8-27 08:07
感谢大佬,不过 这个汉化有点机译的感觉
存在报错emm
执行 LitePlaytimeRewards 插件 rewards 命令时发生异常!
[14:13:30 INFO]: [Yum] 异常名称: java.lang.NullPointerException
[14:13:30 INFO]: [Yum] 异常说明: null
[14:13:30 INFO]: [Yum] 简易错误信息如下:
[14:13:30 INFO]: [Yum] 位于 com.backtobedrock.LitePlaytimeRewards.commands.RewardsCommand.run(RewardsCommand.java:24)
[14:13:30 INFO]: [Yum] 位于 com.backtobedrock.LitePlaytimeRewards.LitePlaytimeRewardsCommands.onCommand(LitePlaytimeRewardsCommands.java:47)
[14:13:30 INFO]: [Yum] 位于 com.backtobedrock.LitePlaytimeRewards.LitePlaytimeRewards.onCommand(LitePlaytimeRewards.java:78)
[14:13:30 INFO]: [Yum] 位于 pw.yumc.Yum.inject.CommandInjector.onCommand(CommandInjector.java:106)
[14:13:30 INFO]: [Yum] 位于 org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
执行 LitePlaytimeRewards 插件 rewards 命令时发生异常!
[14:13:30 INFO]: [Yum] 异常名称: java.lang.NullPointerException
[14:13:30 INFO]: [Yum] 异常说明: null
[14:13:30 INFO]: [Yum] 简易错误信息如下:
[14:13:30 INFO]: [Yum] 位于 com.backtobedrock.LitePlaytimeRewards.commands.RewardsCommand.run(RewardsCommand.java:24)
[14:13:30 INFO]: [Yum] 位于 com.backtobedrock.LitePlaytimeRewards.LitePlaytimeRewardsCommands.onCommand(LitePlaytimeRewardsCommands.java:47)
[14:13:30 INFO]: [Yum] 位于 com.backtobedrock.LitePlaytimeRewards.LitePlaytimeRewards.onCommand(LitePlaytimeRewards.java:78)
[14:13:30 INFO]: [Yum] 位于 pw.yumc.Yum.inject.CommandInjector.onCommand(CommandInjector.java:106)
[14:13:30 INFO]: [Yum] 位于 org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
深拥v 发表于 2020-8-31 14:13
存在报错emm
执行 LitePlaytimeRewards 插件 rewards 命令时发生异常!
能把yum屏蔽一下嘛,主要信息可能被yum屏蔽了
深拥v 发表于 2020-8-31 14:13
存在报错emm
执行 LitePlaytimeRewards 插件 rewards 命令时发生异常!
重载试试
可以加入服务器,挺适合
没有图片,无法确定插件的质量
云梦之巅 发表于 2020-9-6 12:38
没有图片,无法确定插件的质量
麻烦仔细看帖子可以吗?
感谢分享
很遗憾。他不能统计BC群组里的玩家在线时长,只能统计一个服务端的玩家在线时长,如果可以增加数据库那么就会非常完美
xxx754599345 发表于 2020-9-6 17:19
很遗憾。他不能统计BC群组里的玩家在线时长,只能统计一个服务端的玩家在线时长,如果可以增加数据库那么就 ...
我会反馈给作者的
已更新,欢迎提出建议
懂了这就去当肝帝
可以支持PAPI变量嘛?
感谢分享!
可以很棒!
感谢作者分享的插件
感谢作者的分享!
MCBBS有你更精彩~
MCBBS有你更精彩~
请问一下支持每天更新在线时间吗
就是在线奖励可以重复领取的
就是在线奖励可以重复领取的
楼主没有给权限指令,方便大家看我发一下吧
权限节点 描述
liteplaytimerewards.afktime /afktime 命令
liteplaytimerewards.afktime.other /afktime [player] 命令
liteplaytimerewards.givereward /givereward 命令
liteplaytimerewards.help /lpr help 命令
liteplaytimerewards.reload /lpr reload 命令
liteplaytimerewards.reset /lpr reset <reward> <player> 命令
liteplaytimerewards.playtime /playtime 命令
liteplaytimerewards.playtime.other /playtime [player] 命令
liteplaytimerewards.rewards /rewards 命令
liteplaytimerewards.reward。<rewardID> 如果奖励UsePermission设置为true,则有资格获得此奖励的权限
权限节点 描述
liteplaytimerewards.afktime /afktime 命令
liteplaytimerewards.afktime.other /afktime [player] 命令
liteplaytimerewards.givereward /givereward 命令
liteplaytimerewards.help /lpr help 命令
liteplaytimerewards.reload /lpr reload 命令
liteplaytimerewards.reset /lpr reset <reward> <player> 命令
liteplaytimerewards.playtime /playtime 命令
liteplaytimerewards.playtime.other /playtime [player] 命令
liteplaytimerewards.rewards /rewards 命令
liteplaytimerewards.reward。<rewardID> 如果奖励UsePermission设置为true,则有资格获得此奖励的权限
请问怎么设置不同的世界获取不同的奖励
中国long 发表于 2021-1-25 21:10
请问怎么设置不同的世界获取不同的奖励
抱歉,现在还没这个功能
谢谢分享 MCBBS有你真好
本帖最后由 中国long 于 2021-1-27 11:26 编辑
感觉楼主权限那里说得不是让人很容易明白,我再来补充一下吧
在rewards.yml文件里有UsePermission选项
如果UsePermission设置为true,则玩家需要拥有相应权限才能领取在线奖励,具体的权限节点楼上已经给出
如果UsePermission设置为false,则玩家无需权限就能领取在线奖励
感觉楼主权限那里说得不是让人很容易明白,我再来补充一下吧
在rewards.yml文件里有UsePermission选项
如果UsePermission设置为true,则玩家需要拥有相应权限才能领取在线奖励,具体的权限节点楼上已经给出
如果UsePermission设置为false,则玩家无需权限就能领取在线奖励
支持指令吗?比如给钱啥的
南客Yiba 发表于 2021-1-28 12:46
支持指令吗?比如给钱啥的
请你描述的纤细点,是在指定时间,然后执行指令给钱吗
pepsi小唐 发表于 2021-1-28 14:57
请你描述的纤细点,是在指定时间,然后执行指令给钱吗
在线1分钟给1块钱
南客Yiba 发表于 2021-1-28 14:58
在线1分钟给1块钱
你可以在config设置20分钟给20块钱或者更少时间,以此类推