This is a simple spigot plugin to display the time a player spend on your server. It uses the buildin stats system that minecraft includes so it will work right away and will not start at 0!
Download the latest dev build here.
USE AT YOUR OWN RISK!
Commands
/onlinetime: Displays your online time
/onlinetime <player>: Displays the online time of <player>. <player> needs to be online!
/onlinetimerewards: Displays the online time rewards you have gained
/onlinetimerewards <player>: Displays the online time rewards <player> has gained. <player> needs to be online!
Permissions
/onlinetime: onlinetime.self
/onlinetime < player>: onlinetime.other
/onlinetimerewards: onlinetimerewards.self
/onlinetimerewards <player>: onlinetimerewards.other
Aliases
You can use the following alises: /playtime, /onlinetime, /timeplayed
You can easily add your own alises by editing the plugin.yml in the plugins jar file. You can just open it in WinRAR or something similar.
Rewards
You can define rewards players should get for playing x amount of time on your server.
Just add a new section to the rewards list. It should look like that:
Time:
1D = 1 Day
1H = 1 Hour
1M = 1 Minute
1S = 1 Second
1D2H3M4S = 1 Day + 2 Hours + 3 Minutes + 4 Seconds.
Usefull Links:
CI: http://bender.minidigger.me:9090/job/OnlineTime/
GitHub: https://github.com/MiniDigger/OnlineTime
Download the latest dev build here.
USE AT YOUR OWN RISK!
Commands
/onlinetime: Displays your online time
/onlinetime <player>: Displays the online time of <player>. <player> needs to be online!
/onlinetimerewards: Displays the online time rewards you have gained
/onlinetimerewards <player>: Displays the online time rewards <player> has gained. <player> needs to be online!
Permissions
/onlinetime: onlinetime.self
/onlinetime < player>: onlinetime.other
/onlinetimerewards: onlinetimerewards.self
/onlinetimerewards <player>: onlinetimerewards.other
Aliases
You can use the following alises: /playtime, /onlinetime, /timeplayed
You can easily add your own alises by editing the plugin.yml in the plugins jar file. You can just open it in WinRAR or something similar.
Rewards
You can define rewards players should get for playing x amount of time on your server.
Just add a new section to the rewards list. It should look like that:
Code (Text):
rewards:
test-reward: // the name
message: "Wow, you have managed to play 1 hour on this server. Take this as a gift!" // the message the player should get when getting that reward
time: "1H" // the time he needs to have played, for info below
commands: // the commands that get executed %p% gets replaced with the players name.
- "say reward given"
- "give %p% DIAMOND_AXE"
test-reward: // the name
message: "Wow, you have managed to play 1 hour on this server. Take this as a gift!" // the message the player should get when getting that reward
time: "1H" // the time he needs to have played, for info below
commands: // the commands that get executed %p% gets replaced with the players name.
- "say reward given"
- "give %p% DIAMOND_AXE"
1D = 1 Day
1H = 1 Hour
1M = 1 Minute
1S = 1 Second
1D2H3M4S = 1 Day + 2 Hours + 3 Minutes + 4 Seconds.
Usefull Links:
CI: http://bender.minidigger.me:9090/job/OnlineTime/
GitHub: https://github.com/MiniDigger/OnlineTime
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8, 1.9
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
OnlineTime is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 21,625 times (via Spigot). Download it and open it directly in the game.