MacTime v1.1.2

You can only manage time if you track it right. Online time tracking plugin.
  • mactimelogo3.png
  • mactime_gui_example_png.png
  • mactime_placeholders_example_png.png
  • mactime_webhook_example.png
  • mactimelogo3.png
  • mactime_gui_example_png.png
  • mactime_placeholders_example_png.png
  • mactime_webhook_example.png
MacTime
This plugin allows tracking of the online time for players.

Features
  • Only online time tracking plugin that is updated to the latest minecraft version
  • Almost every message is configurable via messages.yml
  • GUI which showcases various ontime data for players (Updates in real time at an interval which can be configured) (v1.21+)
  • 0% thread usage on a single instance with over 600 players on it while tracking more than 50 players
  • MySQL support
  • Folia support
  • Administrator friendly commands, permission nodes, and error messages to pinpoint issues
  • Discord Webhook support
  • All commands (besides /mactime gui) can be executed by console
  • Hex support for configurable messages
  • PlaceholderAPI Support
  • AFK time tracking (with EssentialsX)

Commands

Admin Commands
  • /mactime export <all:player> [username]
    • If discord webhooks are enabled, this allows you to export all ontime data for either a specific player
      or all players being tracked.
  • /mactime gui [groupname:online:offline:other]This command is reserved for servers running Minecraft versions 1.21.0 and up
    • Opens a GUI with all players showcasing their ontime data. If you have luckperms on your server, you can sort players in the gui by group weights.
    • You are also able to set the real time update interval for the GUI (If you would not like this, set gui.updateinterval to 0 in config.yml)
    • If you would like to view players' ontimes that are in a specific group, you can specify all included groups under gui.whitelisted-groups and run /mactime gui [groupname]
    • You are also able to specify viewing online players or offline players data by running /mactime gui [online:offline]
    • If a player was previously in a group specified under gui.whitelisted-groups but now isn't, you can view their data by running /mactime gui [other]
      (If you would like their data wiped on their next join if they no longer have the mactime.track permission node, you can enable other.remove-if-no-perm in config.yml)
  • /mactime help
    • Displays the MacTime help menu
  • /mactime reload [config:messages]
    • Reloads either the config.yml file or messages.yml file. If no choice is specified, both will be reloaded.
  • /mactime reset <player:group> <groupname:username>
    • Resets ontime data for either a player or a group (if luckperms is on your server).
      If you would like the user data to be permanently removed from your server after running this command, you can set reset.delete-data-on-reset to true in the config.yml.
  • /ontime <username>
    • View ontime data for a specific player

Player Commands
  • /ontime
    • Displays ontime data based on the player's permissions.
  • /ontime help
    • Displays the ontime help menu

Permissions
PermissionDescription
mactime.*Grants all permissions.
ontime.trackAllows the plugin to track the player's on-time.
mactime.adminProvides access to /mactime command.
mactime.command.*Provides access to all /mactime commands and their subcommands.
mactime.command.helpGrants access to /mactime help.
mactime.command.reloadGrants access to /mactime reload command.
mactime.command.exportGrants access to /mactime export command If webhooks are enabled.
mactime.command.resetGrants access to /mactime reset command.
mactime.command.guiGrants access to the /mactime gui command.
ontime.helpGrants access to the /ontime help command.
ontime.ownAllows use of /ontime command.
ontime.own.*Provides access to see all on-time statistics.
ontime.own.afkProvides access to see AFK time via /ontime.
ontime.own.dailyProvides access to see daily time via /ontime.
ontime.own.weeklyProvides access to see weekly time via /ontime.
ontime.own.monthlyProvides access to see monthly time via /ontime.
ontime.own.yearlyProvides access to see yearly time via /ontime.
ontime.own.alltimeProvides access to see all-time via /ontime.
ontime.othersAllows usage of /ontime <username> to view other player's on-times.
ontime.others.*Provides access to see all on-time statistics for other players.
ontime.others.afkProvides access to see AFK time via /ontime for other players.
ontime.others.dailyProvides access to see daily time via /ontime for other players.
ontime.others.weeklyProvides access to see weekly time via /ontime for other players.
ontime.others.monthlyProvides access to see monthly time via /ontime for other players.
ontime.others.yearlyProvides access to see yearly time via /ontime for other players.
ontime.others.alltimeProvides access to see all-time via /ontime for other players.

Placeholders
PermissionDescription
%mactime_current%Displays the current ontime of the user looking at the placeholder.
%mactime_dailyDisplays the daily ontime of the user looking at the placeholder.
%mactime_weeklyDisplays the weekly ontime of the user looking at the placeholder.
%mactime_monthlyDisplays the monthly ontime of the user looking at the placeholder.
%mactime_yearlyDisplays the yearly ontime of the user looking at the placeholder.
%mactime_alltimeDisplays the alltime ontime of the user looking at the placeholder.
%mactime_afktimeDisplays the afktime of the user looking at the placeholder.
%mactime_lastonlineThis will always return Player is currently online!

For other players, you can add their username to the end of the placeholder.
For example,
  • %mactime_daily_notch%
    • This will return the daily ontime for "Notch".
    • If the player specified has no data, then the placeholder will display Player has no data.
    • For %mactime_lastonline_notch, this will return how long it has been since the player logged off of the server.

If you would like the raw value in seconds, you can add _raw to the end of any time related placeholder.
For example,
  • %mactime_daily_raw%
    • If I had 5 minutes of daily ontime, this would return 300
Hooks
MacTime hooks into 3 optional plugins for added features
  • Luckperms
    • Mactime hooks into luckperms to enable group sorting by weights and adding the player's prefix inside the GUI
  • EssentialsX
    • For enabling the tracking of time spent afk
  • PlaceholderAPI
    • For placeholders.

Showcase
image-2024-03-19-133807686.png

mactime-ontime-command-example.png

mactime-discord-webhook-example.png

image-2024-03-19-133639484.png

Support & Contact
  • To report bugs, suggest a feature, or anything else, contact me via discord -> ajmac
bStats
mactime.svg
Support the creator
Name a fair price:
EULA: Standard EULA
$
This resource is free, but consider supporting the creator if you believe it's worth paying for. This option will remain here even if you've paid before.
New: Now supporting cryptocurrency payments!
397 Views
0 Purchases
15 Downloads
Feb 23, 2025 Published
Apr 20, 2025 Updated
Not yet rated
3.1 MB File size
Languages
  1. English
Includes DRM
No
Source access
Closed source without obfuscation
Type
  1. Staff
Supported software
  1. Bukkit
  2. Spigot
  3. Paper
Supported versions
  1. 1.20
  2. 1.21
Creator
Owner
Struggling to cover the costs of your server? Set up your own webstore with Tebex in under 30 seconds.
Recommended for you
#1 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 116 ratings
3,061 purchases
The ultimate chat formatting and filtering plugin. Can replace 200+ plugins. Customizable & fast.
5.00 star(s) 120 ratings
2,467 purchases
All-in-one dungeon creator. Create unlimited, timed dungeon experiences with your own builds
4.50 star(s) 63 ratings
2,289 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
5.00 star(s) 59 ratings
2,188 purchases
Protect your server from crash/dupe/packets exploits with the ultimate Spigot security fix plugin.
5.00 star(s) 24 ratings
1,681 purchases
397 Views
0 Purchases
15 Downloads
Feb 23, 2025 Published
Apr 20, 2025 Updated
Not yet rated
3.1 MB File size
Languages
  1. English
Includes DRM
No
Source access
Closed source without obfuscation
Type
  1. Staff
Supported software
  1. Bukkit
  2. Spigot
  3. Paper
Supported versions
  1. 1.20
  2. 1.21
Creator
Owner
Struggling to cover the costs of your server? Set up your own webstore with Tebex in under 30 seconds.
Recommended for you
#1 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 116 ratings
3,061 purchases
The ultimate chat formatting and filtering plugin. Can replace 200+ plugins. Customizable & fast.
5.00 star(s) 120 ratings
2,467 purchases
All-in-one dungeon creator. Create unlimited, timed dungeon experiences with your own builds
4.50 star(s) 63 ratings
2,289 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
5.00 star(s) 59 ratings
2,188 purchases
Protect your server from crash/dupe/packets exploits with the ultimate Spigot security fix plugin.
5.00 star(s) 24 ratings
1,681 purchases
Top