PlayTime icon

PlayTime -----

Allows users to view a players playtime.



[​IMG]
Allow Players to View their playing time.

Description:
Playtime is a simple plugin that i made to allow players to view their time played or another player's time played on the server. You can also check offline player's time played and you can also view top 10 playtime of the server. playtime is fully customizable and can be done from the configuration file.

Player Data:
To reset the player data delete the stats folder inside of the main world folder.

Commands/Permissions:
- /playtime - shows your time played on the server - Permission: playtime.check
- /playtime <player> - shows another player's time played on the server - Permission: playtime.checkothers
- /playtime top - shows the top 10 playtimes on the server - Permission: playtime.checktop
- /playtime uptime - shows the server online time - Permission: playtime.uptime
- /playtime reload- reloads the config after editing the file - Permission: playtime.reload

playtime:
aliases: [timeplayed, pt]


Images:
Untitled-1.jpg
Configuration:
# Playtime By F64_Rx - Need Help? PM me on Spigot or post in the discussion.
#
# =================
# | CONFIGURATION |
# =================
#
# available placeholders
# %playtime_player% - returns the player name
# %offlineplayer% - returns the offline player name
# %offlinetime% - shows offline time of a player
# %offlinetimesjoined% - shows the amount of joins a player has had
# %playtime_time% - shows time played
# %playtime_timesjoined% - shows the amount of times the player has joined the server
# %playtime_serveruptime% - shows the uptime of the server
# %playtime_session% - shows the players current session time
# %playtime_position% - shows the players current position
# %playtime_top_#_name% - shows the name of the top 10
# %playtime_top_#_time% - shows the time of the top 10
# You can also use any other placeholder that PlaceholderAPI supports :)

time:
second:
enabled: true
prefix: s
minute:
enabled: true
prefix: m
hour:
enabled: true
prefix: h
day:
enabled: true
prefix: d
week:
enabled: true
prefix: w
messages:
no_permission:
- '&8[&bPlayTime&8] &cYou don''t have permission.'
doesnt_exist:
- '&8[&bPlayTime&8] &cPlayer %offlineplayer% has not joined before!'
player:
- '&b%playtime_player%''s Stats are:'
- '&bPlayTime: &7%playtime_time%'
- '&bTimes Joined: &7%playtime_timesjoined%'
- '&bCurrent Session: &7%playtime_session%'
offline_players:
- '&b%offlineplayer%''s Stats are:'
- '&bPlayTime: &7%offlinetime%'
- '&bTimes Joined: &7%offlinetimesjoined%'
other_players:
- '&b%playtime_player%''s Stats are:'
- '&bPlayTime: &7%playtime_time%'
- '&bTimes Joined: &7%playtime_timesjoined%'
- '&bCurrent Session: &7%playtime_session%'
playtimetop:
header:
- '&bTop &e10 &bplayers playtime:'
- ''
message:
- '&a%position%. &b%player%: &e%playtime%'
footer:
- ''
server_uptime:
- '&8[&bPlayTime&8] &bServer''s total uptime is %playtime_serveruptime%'
reload_config:
- '&8[&bPlayTime&8] &bYou have successfully reloaded the config.'
placeholder:
top:
name: none
time: '-'

PlaceholderAPI Placeholders:
%playtime_player% - the player name
%playtime_time% - shows time played​
%playtime_time_seconds% - shows time played in seconds
%playtime_time_minutes% - shows time played in minutes
%playtime_time_hours% - shows time played in hours
%playtime_time_days% - shows time played in days
%playtime_time_weeks% - shows time played in weeks
%playtime_timesjoined% - shows times joined
%playtime_serveruptime% - shows the uptime of the server
%playtime_position% - shows the players current position
%playtime_top_#_name% - shows the name of the top 10
%playtime_top_#_time% - shows the time of the top 10
Links:
Needed:
PlaceholderAPI
If you want to use placeholders in holograhpic display you need
HolographicDisplay
ProtocolLib
HolographicExtension
If you find any problems please let me know in the discussion page and not in the review section thanks.
Resource Information
Author:
----------
Total Downloads: 170,778
First Release: Jul 8, 2016
Last Update: Jan 16, 2023
Category: ---------------
All-Time Rating:
131 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings