Jump to content

2 Screenshots

  • 20.3k
  • 547
  • 13.48 kB
  • Update details
    v1.0.2
    Released
    Download size13.48 kB
    Total versions4
    Time between versions 788 days
    Typical update pace About every 263 days
    Freshness 12 days ago

depends on

Required files or plugins needed for this resource to work properly.

About Playtime Commands

The "PlaytimeCommands" plugin for Rust allows server administrators to automate the execution of commands when players achieve specific playtime milestones. Upon initialization, it checks players' playtime at regular intervals and triggers configured commands when certain hour goals are reached. (This plugin requires PlaytimeTracker  or PlayTimeRewards  plugin to work.)

⭐Features

  • Easy config, add unlimited playtime goals and their rewards
  • Light plugin, no performance issues
  • Saved PlayerData to ensure they don't get repeat rewards
  • Reset PlayerData when editing config values
  • NEW! Send customized Broadcast message or personal messages
  • NEW! Send discord webhook notification

📌Commands

  • /prc reset - Reset all player data(Requires 'PlaytimeCommands.admin' permission to use this command in chat.)
  • prc reset - Reset all player data. (Console command)

⚙️Config

{
  "Select Playtime plugin(0 - PlaytimeTracker, 1 - PlayTimeRewards)": 0,
  "Check how often it checks for playtime and execute commands?(In Seconds)": 1800,
  "Reset data on new wipe": false,
  "Discord Webhook Settings": {
    "Enable discord notify": true,
    "Webhook URL": "", // Discord webhook url
    "Message": [
      "PlaytimeCommands",
      "Excuted commands for {PLAYERNAME} - {PLAYERID}",
      "Executed Playtime ID {PLAYTIME}"
    ]
  },
  "Execute command upon playtime Minutes completation": {
    "20": [   //Playtime Minute number
      "oxide.usergroup add {UserID} chads", //commands - Placeholders are {UserID} & {Name} which will replace with SteamID and Player Name
      "chat user add {UserID} chads" //commands
      "broadcast: {Name} has recevied Chads role for 20 minutes playtime.", // use broadcast: to send the messages to all active players
      "msg: You have recevied role for your playtime." // use msg: to send a personal message to the player
      
    ],
    "30": [  //Playtime Minute number
      "sr add {Name} 1000", //commands
      "sr take {UserID} 100", 
      "oxide.usergroup add {UserID} veteran", //commands - Placeholders are {UserID} & {Name} which will replace with SteamID and Player Name
      "chat user add {UserID} veteran" //commands
      "broadcast: {Name} has recevied Veteran role for 30 minutes playtime.", // use broadcast: to send the messages to all active players
      "msg: You have recevied role for your playtime." // use msg: to send a personal message to the player
    ]
  }
}

logo-6062235-1280-thumb-png-763f.png.1529f8210f2fd1cc25f57d5419c2bb33.png


User Feedback

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.6m
Total downloads
Customers
11.4k
Customers served
Files Sold
163k
Total sales
Payments
3.5m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.