PlayerTime (Offline Player / MySQL / BungeeCord / Placeholde
1.0.7-RELEASEChecking a player's play time has never been easier. 1.13 Supported!
PlayerTime is a simple little plugin I created that allows you to check how long a player has been on the server for. I know this may seem like "every other player time plugin" but I have yet to see one that will work with offline players, simply because you can't. That's why I decided to do my own take on this. I wanted to make that a possibility.

- Supports Offline Players
- Supports MySQL
- Supports BungeeCord (via connecting to same MySQL DB on all servers)
- PlaceholderAPI
- Top 10 GUI
The way this plugin works is very simple. Once a player logs in, the plugin will see that and watch for when that player logs in. When the player logs out, the time online will be saved to a file so that you can still check that player even when they are offline.

# PlayerTime ${project.version}
# Do not change this
config-version: 2
plugin-prefix: "[&dPlayer&eTime&f]"
# Supports YML or MySQL
database:
type: YML
# Uncomment when using MySQL
# host: "localhost"
# port: 3306
# username: "root"
# password: "password"
# database: "playertime"
# pool-size: 10
format: "&a{name} has been playing for {days} days, {hours} hours, {minutes} minutes, {seconds} seconds"
# This will either be gui or text, if it's neither, this won't work.
leaderboard-type: "gui"
# The "time-format" option also applies to the text based version of the leaderboard.
gui:
title: "Top Ten PlayerTimes"
time-format: "{days} days, {hours} hours, {minutes} minutes, {seconds} seconds"
item:
name: "{player}'s time"
material: "PAPER"
lore:
- "Ranked #{slot}"
- "Time Played: {format}"
text-top:
title: "&7------------------------"
footer: "&7------------------------"
content: "&7{place}, &a{name} &f{time}"
messages:
incorrect-usage: "Too many arguments. Use /ptcheck or /ptcheck <name>"
never-played-before: "Data for this player was not found. Never played?"
no-playtime-data: "There was no saved playtime data for this player"
config-reload: "PlayerTime config has been reloaded!"
PlaceholderAPI Placeholders:
%playertime_time%
%playertime_time_seconds%
%playertime_time_minutes%
%playertime_time_hours%

- /ptcheck
- /pttop
- /ptreload
- playertime.check (check yourself)
- playertime.others (check others)
- playertime.top (opens the GUI)
- playertime.reload (reloads the config)
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta






