免费插件

Play Time Rewards 暂时无法下载

游戏时间奖励

奖励活跃的玩家,包括排行榜

hurtworld reward tracker broken

原作者: khan · 查看 uMod 官方页面 ↗

插件介绍

奖励活跃的玩家,包括排行榜

Records playtime, with option to separately record AFK time. Includes a reward system to give players points/money/cash for time played or by referring other players to your server. You can also create custom permissions to give VIP players point multipliers either by using the commands or by simply adding in more config options manually.

Due to ImageLibary's cache avatar feature being broke I have coded in my own method to manually have ImageLibrary cache them..

Note: Permissions will automatically be prefixed with playtimerewards.

The permission system is there to give VIP players a multiplier for the rewards they are issued. The amount of points will be the default amount set in the config, multiplied by the number you set in the permission.

主要用途

主要用于hurtworld、reward、tracker、broken等服务端功能。 本插件由 khan 发布,当前目录记录版本为 v1.2.2,uMod 累计下载 22,246 次。

适用场景

  • 希望扩展原版服务器功能的服主

功能分类

hurtworld reward tracker broken
查看 uMod 官方英文简介

Rewards Players for being active, Includes a Leader Board

权限节点

playtimerewards.admin

Allows players to use ptr command

授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke

指令说明

/playtime

Displays your name and your playtime

/playtime Khan

Display the playtime for the specified player

/playtime top

Display the top 10 play times in chat

/playtime lastwipe

Displays the last time the data was wiped

/pt

Brings up the Rust only UI Leader Board System

相关依赖

  • Cash System
  • Economics
  • Economy Banks
  • Image Library
  • Server Rewards

配置说明

{ { "1. Don't Edit This": { "LastWipe": "2021-05-29 19:05:14Z", "WasWiped": false, "WipeTime": "2021-05-29 19:05:14Z" }, "2. Discord Settings": { "1. Enable Discord Logging": false, "2. Discord Web Hook Url": "", "3. Embed Message Color": "#483D8B", "4. Include Plugin Image Name in discord messages": true, "5. Discord Plugin Image": "https://assets.umod.org/images/icons/plugin/60b0e6d6c8900.png", "6. Discord Plugin Name": "PlayTimeRewards" }, "3. Track Settings": { "1. Sets the Save Interval Timer": 15, "2. Enable Afk Time Tracking": true, "5. Ignore Specified Oxide Groups from getting rewards": [ "admin" ] }, "4. Reward Settings": { "1. Enable Rewards": true, "2. Enable Economics": true, "3. Use Cash System": true, "Cash System Currency": "scrap", "4. Enable Referrals": true, "5. Enable Earning By Referrals": true, "6. Send Deposit Response": true, "7. PlayTime Deposit Timer": 3600, "8. PlayTime Deposit Amount": 5, "9. Referred Player Joined Deposit Amount": 3 "10. Referral Invite Sent Deposit Amount": 5, }, "5. Permission Multipliers": { "Multiplyer": 1.0, "SetPermission": "" } }

官方配置示例


double? FetchPlayTime(string playerid) // Returns double playtime in seconds, or null if no data found
double? FetchAfkTime(string playerid) // Returns double AFK time in seconds, or null if no data found
int? FetchReferral(string playerid) // Returns int number of referrals, or null if no data found

{
{
  "1. Don't Edit This": {
    "LastWipe": "2021-05-29 19:05:14Z",
    "WasWiped": false,
    "WipeTime": "2021-05-29 19:05:14Z"
  },
  "2. Discord Settings": {
    "1. Enable Discord Logging": false,
    "2. Discord Web Hook Url": "",
    "3. Embed Message Color": "#483D8B",
    "4. Include Plugin Image   Name in discord messages": true,
    "5. Discord Plugin Image": "https://assets.umod.org/images/icons/plugin/60b0e6d6c8900.png",
    "6. Discord Plugin Name": "PlayTimeRewards"
  },
  "3. Track Settings": {
    "1. Sets the Save Interval Timer": 15,
    "2. Enable Afk Time Tracking": true,
    "5. Ignore Specified Oxide Groups from getting rewards": [
      "admin"
    ]
  },
  "4. Reward Settings": {
    "1. Enable Rewards": true,
    "2. Enable Economics": true,
    "3. Use Cash System": true,
    "Cash System Currency": "scrap",
    "4. Enable Referrals": true,
    "5. Enable Earning By Referrals": true,
    "6. Send Deposit Response": true,
    "7. PlayTime Deposit Timer": 3600,
    "8. PlayTime Deposit Amount": 5,
    "9. Referred Player Joined Deposit Amount": 3
    "10. Referral Invite Sent Deposit Amount": 5,
  },
  "5. Permission Multipliers": {
    "Multiplyer": 1.0,
    "SetPermission": ""
  }
}

更新日志

最新版本: v1.2.2
最后版本发布: 2022-12-25
最后更新(条目): 2024-10-06

本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面

安装方法

  1. 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
  2. 登录本站后点击"下载",由本站已校验的本地缓存提供作者发布的文件。
  3. 将 .cs 文件放入服务器的 oxide/plugins 目录。
  4. 观察服务端控制台,确认插件编译并成功加载。
  5. 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。

使用前注意

  • Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
  • 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
  • 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
  • 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
来源说明

中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。