Uptime Command

By: TerrierDarts

Maximizing Your Stream: The Ultimate Uptime Guide

What Is Uptime?

Uptime refers to the duration your stream has been live. This command provides a simple way to track and display your uptime for your audience.

Setting It Up

Everything you need is preconfigured using arguments. While the C# code can be modified, it is designed to be straightforward. Be cautious if you make changes.

Available Arguments

Below is a table outlining the arguments you can use to customize your uptime messages:

Argument Description
dTag Displays "day" or "days" based on the value.
hTag Displays "hour" or "hours" based on the value.
mTag Displays "minute" or "minutes" based on the value.
sTag Displays "second" or "seconds" based on the value.
uptime.days The total number of days the stream has been live.
uptime.hours The total number of hours within the current day the stream has been live.
uptime.mins The total number of minutes within the current hour the stream has been live.
uptime.sec The total number of seconds within the current minute the stream has been live.
uptime.totaldays The total number of days as a continuous value.
uptime.totalhours The total hours as a continuous value.
uptime.totalmins The total minutes as a continuous value.
uptime.totalsecs The total seconds as a continuous value.

Formatting Options

You can format the uptime message using these options:

Format Description
basicFull Outputs as: X days, X hours, X minutes, X seconds.
basicShort Outputs as: Xd, Xh, Xm, Xs.
formFull Similar to basicFull, but hides sections with a value of 0.
formShort Similar to basicShort, but hides sections with a value of 0.

By using these arguments and formats, you can craft the perfect message to display your stream uptime.

Logging Uptime

Uptime logging is triggered when OBS detects that you’ve started streaming. Make sure OBS is correctly configured to point to your uptime setup.

Adjusting Uptime

You can use the !setUptime command to adjust your uptime manually.

For example:

Import Code

The action import for Streamer.bot.

    
U0JBRR+LCAAAAAAABADtO9lu48i17wHyD4yBfrpD3+JODpAHSW3Jkm1NW7LWeB6qikWKFheFi2U5GCDfcj/tfsk9RVILKcnj9qQzPcFttG2Jp+rsdTaS//jznwThImApvvhR+Af/Al9DHDD4ejFMY4aD0RehHTNGPCb87z//RxitUg/AP5RrcZYuopivfmBx7LH4M47TZAd+ZnHiRSGHS5foEu0ANkto7AGuAlhgFVpREODQFpwoFjZRFgsFC4fUokEWNmi5L8x8fwsLvNALsmC8o8iBHPZLvuLCxhUhcY4jgSt/K64IW1AO9mzOlkUNmcmWI9pUl0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5QXf3730Qp4lP3Q0/15wjiLOwGAbNxyvzNm6W1QqlNqMWf0ZYYNCeGKmIG9Z+lK1hjpmRY+PiR7XcoUf3D3ccoPmzXF0VGBcU2PZ59DSOJsvhEzEdnWIUCPvDSlNn8ztgxszvwGWG8Dz1yXy9fypdYKkv25jiqJLwwL5FOlFhBkW9QVd8FciD3l+zoaXhIky57uXpZ+R710hZeQWl+Kipc+BHFZa6toPfcMIp5b9mgNMrCEy1muaQbpiwOsX9iwYq/gZOkLb4/f0HjiHq5ghvpjVUUJ2zIwsRLveeTQrh+RLDf2o4YaqJkOfbTsF0N2cSJR2vlJbQs5QBi52ana+1v7pyHWC/uwBtiDIV2cnGGgPehIrPuvidK7m/ivdBYH7/O8f8O/JUODF6xDTjJO/y4FpHXjCQRXbJ0yOLnmlPugS3fgy6oCuSGi/fhvnzHbv+6n1S0HNBKrKIYnJp3gHlwvZQv9YLR4zf2cqgKJUeKYdGf//TL/wEoSdCZnzgAAA==    

DISCLAIMER

By downloading this product you agree to not redistribute AND/OR sell it for any profit whatsoever. Feel free to completely edit this product and change it for your needs. We do not offer support on any modifications.

We're happy to offer these items for free because we believe they can be helpful to you. Since they're not full products, we can only provide limited support, but if you'd like to show your appreciation and support our work, feel free to leave a tip. Your generosity helps us continue creating and offering more useful resources! 😊

Leave a Tip! ☕
Last updated: 12/21/2024 18:30:34 (UTC)