Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 846 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 846 Bytes

UFEN - Play Time

This plugin allows the easy displaying of a players play time on the current map. It uses Minecraft's built in statistics and doesn't depent on databases or such. It is ready to run out of the box.


Commands

  • /playtime [player]
    Displays a players play time in hours and minutes. The command can be disabled in the configuration.
    With a given player name, the play time for this player will be displayed.

Scoreboard Objective

This plugin creates a new objective called onlineTime (by default) and updates it every 10 seconds for each user. The value of this scoreboard is the play time in full (completed) hours, e.g. 0 for 59 minutes, but 1 for 110 minutes.

If the objective already exists, the plugin uses the configured one. Objective name and display name are configurable.