Atlas Time icon

Atlas Time -----

Time based command execution.



AtlasPlugins_Time_Smaller_Logo.png
Description
This Plugin allows you to execute commands via the server based on the Player's Play Time on the server.
You can do commands such as ` give {playerName} diamond 1`
or use it to rank people up when they have reached a specified playtime.

NOTE: you can add as many Time-Frames as you like just make sure you change the numbers in the config. (Example: Time-Frame-#)

How To Use
/atime help
Sends a list of all the usable commands in chat.


/atime reload
Reloads the config not much else to say about that lol.

/atime time
Displays your Total and Daily playtime stats.

/atime resetdaily

Resets everyone's daily timers.

/atime forcecheck
Forces a check for everyone's timers.

Showcase
Time Reached Message
upload_2024-7-25_18-24-5.png

Displaying Playtime Message
image.png

Daily Timers Reset Message
image (3).png

Force Check Timers Message
image (2).png

Fully Customizable
Code (Java):

#
#       /$$$$$$   /$$$$$$$$ /$$         /$$$$$$   /$$$$$$         /$$$$$$$$ /$$$$$$ /$$       /$$ /$$$$$$$$
#     /$$__  $$ |__  $$__ /| $$       /$$__  $$ /$$__  $$       |__  $$__ /|_  $$_ /| $$$     /$$$ | $$_____ /
#     | $$  \ $$   | $$   | $$       | $$  \ $$ | $$  \__ /         | $$     | $$   | $$$$   /$$$$ | $$
#     | $$$$$$$$   | $$   | $$       | $$$$$$$$ |  $$$$$$           | $$     | $$   | $$ $$ /$$ $$ | $$$$$
#     | $$__  $$   | $$   | $$       | $$__  $$ \____  $$         | $$     | $$   | $$  $$$ | $$ | $$__ /
#     | $$   | $$   | $$   | $$       | $$   | $$ /$$  \ $$         | $$     | $$   | $$\  $ | $$ | $$
#     | $$   | $$   | $$   | $$$$$$$$ | $$   | $$ |  $$$$$$ /         | $$     /$$$$$$ | $$ \ /   | $$ | $$$$$$$$
#     |__ /   |__ /   |__ /   |________ /|__ /   |__ / \______ /           |__ /   |______ /|__ /     |__ /|________ /
#
#     This plugin was made by _Ghillie
#
#    Plugin Version 1.0.1
#
#    Discord : https : //discord.gg/f9swPR7NnV
#

Command -Messages :
  ##########################################################
  #                                                        #
  #                   DEFAULT MESSAGES                     #
  #                                                        #
  ##########################################################
  Command -Messages -UnknownCommand :
    - "&c&m&l--------------&f&l [&x&F&F&3&C&3&C&lA&x&F&F&5&4&3&F&lT&x&F&E&6&C&4&2&lL&x&F&E&8&4&4&5&lA&x&F&D&9&C&4&8&lS &x&F&D&B&3&4&B&lT&x&F&C&C&B&4&E&lI&x&F&C&E&3&5&1&lM&x&F&B&F&B&5&4&lE&f&l] &c&m&l---------------"
    - ""
    - "&c● &7This command is not recognised."
    - ""
    - "&c&m&l-----------------------------------------"
  Command -Messages -NoPermissions :
    - "&c&m&l--------------&f&l [&x&F&F&3&C&3&C&lA&x&F&F&5&4&3&F&lT&x&F&E&6&C&4&2&lL&x&F&E&8&4&4&5&lA&x&F&D&9&C&4&8&lS &x&F&D&B&3&4&B&lT&x&F&C&C&B&4&E&lI&x&F&C&E&3&5&1&lM&x&F&B&F&B&5&4&lE&f&l] &c&m&l---------------"
    - ""
    - "&c● &7You do not have the correct &cPermissions &7or you are not &cOped&7."
    - ""
    - "&c&m&l-----------------------------------------"
  Command -Messages -NotAPlayer :
    - "&c&m&l--------------&f&l [&x&F&F&3&C&3&C&lA&x&F&F&5&4&3&F&lT&x&F&E&6&C&4&2&lL&x&F&E&8&4&4&5&lA&x&F&D&9&C&4&8&lS &x&F&D&B&3&4&B&lT&x&F&C&C&B&4&E&lI&x&F&C&E&3&5&1&lM&x&F&B&F&B&5&4&lE&f&l] &c&m&l---------------"
    - ""
    - "&c● &7This command can only be used by players."
    - ""
    - "&c&m&l-----------------------------------------"
  ##########################################################
  #                                                        #
  #                RELOAD CONFIG MESSAGES                  #
  #                                                        #
  ##########################################################
  Command -Messages -ReloadConfig -ConfigReloaded :
    - "&c&m&l--------------&f&l [&x&F&F&3&C&3&C&lA&x&F&F&5&4&3&F&lT&x&F&E&6&C&4&2&lL&x&F&E&8&4&4&5&lA&x&F&D&9&C&4&8&lS &x&F&D&B&3&4&B&lT&x&F&C&C&B&4&E&lI&x&F&C&E&3&5&1&lM&x&F&B&F&B&5&4&lE&f&l] &c&m&l---------------"
    - ""
    - "&c● &7You have &aReloaded &7the config."
    - ""
    - "&c&m&l-----------------------------------------"

#Sound Manager
#https : //hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html < list of all sounds in minecraft.
TimeSounds :
  # ------------------TIME COMPLETED SOUNDS ------------------#
  #If True the Time Completed sound will play.
  Time -Completed -Sound -Toggle : true
  #The sound that plays when the Time is completed.
  Time -Completed -Sound : BLOCK_BELL_USE
  #The volume the sound plays at when the Time is completed.
  Time -Completed -Volume : 1
  #The pitch the sound plays at when the Time is completed.
  Time -Completed -Pitch : 0.1

Time -Trackers :
  #if true then the TotalPlayTime frames will work and all commands /messages will be sent.
  TotalPlayTime -Tracker : true
  #if true then the DailyPlayTime frames will work and all commands /messages will be sent.
  DailyPlayTime -Tracker : true

Time -Checker :
  #The amount of time it will check each player if they have passed the time frames listed below.
  #for example : ( 5 = 5 minutes ) so every 5 minutes it will look through the database to see
  #if anyone 's playtime has surpassed the time frames.
  Time-Checker-Amount: 5
  # This is how the time format looks for all time-based messages
  Time-Formatter:
    - "&e%d &7years "
    - "&e%d &7months "
    - "&e%d &7weeks "
    - "&e%d &7days "
    - "&e%d &7hours "
    - "&e%d &7min "
    - "&e%d &7sec "

Time-Command:
  Time-Command-Message:
    - "&c&m&l--------------&f&l [&x&F&F&3&C&3&C&lA&x&F&F&5&4&3&F&lT&x&F&E&6&C&4&2&lL&x&F&E&8&4&4&5&lA&x&F&D&9&C&4&8&lS &x&F&D&B&3&4&B&lT&x&F&C&C&B&4&E&lI&x&F&C&E&3&5&1&lM&x&F&B&F&B&5&4&lE&f&l] &c&m&l---------------"
    - ""
    - "&c● &7Your Total Time: {playerTotalPlayTime}"
    - "&c● &7Your Daily Time: {playerDailyPlayTime}"
    - ""
    - "&c&m&l-----------------------------------------"

ForceTime-Command:
  ForceTime-Command-Message:
    - "&c&m&l--------------&f&l [&x&F&F&3&C&3&C&lA&x&F&F&5&4&3&F&lT&x&F&E&6&C&4&2&lL&x&F&E&8&4&4&5&lA&x&F&D&9&C&4&8&lS &x&F&D&B&3&4&B&lT&x&F&C&C&B&4&E&lI&x&F&C&E&3&5&1&lM&x&F&B&F&B&5&4&lE&f&l] &c&m&l---------------"
    - ""
    - "&c● &7You have forced a &eTime Tracker Check"
    - ""
    - "&c&m&l-----------------------------------------"

TimeDaily-Info:
  TimeDaily-Message-Toggle: true
  TimeDaily-Message:
    - "&c&m&l--------------&f&l [&x&F&F&3&C&3&C&lA&x&F&F&5&4&3&F&lT&x&F&E&6&C&4&2&lL&x&F&E&8&4&4&5&lA&x&F&D&9&C&4&8&lS &x&F&D&B&3&4&B&lT&x&F&C&C&B&4&E&lI&x&F&C&E&3&5&1&lM&x&F&B&F&B&5&4&lE&f&l] &c&m&l---------------"
    - ""
    - "&c● &7Today is a new day!"
    - ""
    - "&c&m&l-----------------------------------------"
Code (Java):

#
#       /$$$$$$   /$$$$$$$$ /$$         /$$$$$$   /$$$$$$         /$$$$$$$$ /$$$$$$ /$$       /$$ /$$$$$$$$
#     /$$__  $$ |__  $$__ /| $$       /$$__  $$ /$$__  $$       |__  $$__ /|_  $$_ /| $$$     /$$$ | $$_____ /
#     | $$  \ $$   | $$   | $$       | $$  \ $$ | $$  \__ /         | $$     | $$   | $$$$   /$$$$ | $$
#     | $$$$$$$$   | $$   | $$       | $$$$$$$$ |  $$$$$$           | $$     | $$   | $$ $$ /$$ $$ | $$$$$
#     | $$__  $$   | $$   | $$       | $$__  $$ \____  $$         | $$     | $$   | $$  $$$ | $$ | $$__ /
#     | $$   | $$   | $$   | $$       | $$   | $$ /$$  \ $$         | $$     | $$   | $$\  $ | $$ | $$
#     | $$   | $$   | $$   | $$$$$$$$ | $$   | $$ |  $$$$$$ /         | $$     /$$$$$$ | $$ \ /   | $$ | $$$$$$$$
#     |__ /   |__ /   |__ /   |________ /|__ /   |__ / \______ /           |__ /   |______ /|__ /     |__ /|________ /
#
#     This plugin was made by _Ghillie
#
#    Plugin Version 1.0.1
#
#    Discord : https : //discord.gg/f9swPR7NnV
#

#This is the time frames, for each player that passes a specified time frame the respective commands will run.
TotalPlayTime -Frames :
  TotalPlayTime -Frame - 1 :
    TotalPlayTime -Frame -Weeks : 0
    TotalPlayTime -Frame -Days : 0
    TotalPlayTime -Frame -Hours : 0
    TotalPlayTime -Frame -Minutes : 25
    TotalPlayTime -Frame -Seconds : 0
    #The Commands that will run once a player reaches the time frame.
    #NOTE : This will run as a server command, make sure to do {playerName } if you want to get the exact player.
    TotalPlayTime -Frame -Commands :
      - "say Congrats {playerName}! for completing the 25 Minute mark!"
      - "give {playerName} cookie 1"
    #If this is true then the Completed Message will send.
    TotalPlayTime -Frame -Completed -Message -Toggle : true
    #The message that will be sent when the Time frame is completed.
    TotalPlayTime -Frame -Completed -Message :
      - "&c&m&l--------------&f&l [&x&F&F&3&C&3&C&lA&x&F&F&5&4&3&F&lT&x&F&E&6&C&4&2&lL&x&F&E&8&4&4&5&lA&x&F&D&9&C&4&8&lS &x&F&D&B&3&4&B&lT&x&F&C&C&B&4&E&lI&x&F&C&E&3&5&1&lM&x&F&B&F&B&5&4&lE&f&l] &c&m&l---------------"
      -   ""
      -   "&c● &7Well done &e{playerName} &7on Completing the &e30 Second &7mark!"
      -   "&c● &7Your total playtime: {playerTotalPlayTime}"
      -   ""
      -   "&c&m&l-----------------------------------------"
  TotalPlayTime -Frame - 2 :
    TotalPlayTime -Frame -Weeks : 0
    TotalPlayTime -Frame -Days : 1
    TotalPlayTime -Frame -Hours : 0
    TotalPlayTime -Frame -Minutes : 0
    TotalPlayTime -Frame -Seconds : 0
    # The Commands that will run once a player reaches the time frame.
    # NOTE : This will run as a server command, make sure to do {playerName } if you want to get the exact player.
    TotalPlayTime -Frame -Commands :
      - "say Congrats {playerName}! for completing the 1 day mark!"
      - "give {playerName} diamond 1"
    #If this is true then the Completed Message will send.
    TotalPlayTime -Frame -Completed -Message -Toggle : true
    #The message that will be sent when the time frame is completed.
    TotalPlayTime -Frame -Completed -Message :
      - "&c&m&l--------------&f&l [&x&F&F&3&C&3&C&lA&x&F&F&5&4&3&F&lT&x&F&E&6&C&4&2&lL&x&F&E&8&4&4&5&lA&x&F&D&9&C&4&8&lS &x&F&D&B&3&4&B&lT&x&F&C&C&B&4&E&lI&x&F&C&E&3&5&1&lM&x&F&B&F&B&5&4&lE&f&l] &c&m&l---------------"
      -   ""
      -   "&c● &7Well done &e{playerName} &7on Completing the &e1 Day &7mark!"
      -   "&c● &7Your total playtime: {playerTotalPlayTime}"
      -   ""
      -   "&c&m&l-----------------------------------------"
 
Code (Java):

#
#       /$$$$$$   /$$$$$$$$ /$$         /$$$$$$   /$$$$$$         /$$$$$$$$ /$$$$$$ /$$       /$$ /$$$$$$$$
#     /$$__  $$ |__  $$__ /| $$       /$$__  $$ /$$__  $$       |__  $$__ /|_  $$_ /| $$$     /$$$ | $$_____ /
#     | $$  \ $$   | $$   | $$       | $$  \ $$ | $$  \__ /         | $$     | $$   | $$$$   /$$$$ | $$
#     | $$$$$$$$   | $$   | $$       | $$$$$$$$ |  $$$$$$           | $$     | $$   | $$ $$ /$$ $$ | $$$$$
#     | $$__  $$   | $$   | $$       | $$__  $$ \____  $$         | $$     | $$   | $$  $$$ | $$ | $$__ /
#     | $$   | $$   | $$   | $$       | $$   | $$ /$$  \ $$         | $$     | $$   | $$\  $ | $$ | $$
#     | $$   | $$   | $$   | $$$$$$$$ | $$   | $$ |  $$$$$$ /         | $$     /$$$$$$ | $$ \ /   | $$ | $$$$$$$$
#     |__ /   |__ /   |__ /   |________ /|__ /   |__ / \______ /           |__ /   |______ /|__ /     |__ /|________ /
#
#     This plugin was made by _Ghillie
#
#    Plugin Version 1.0.1
#
#    Discord : https : //discord.gg/f9swPR7NnV
#

#This is the time frames, for each player that passes a specified time frame the respective commands will run.
DailyPlayTime -Frames :
  DailyPlayTime -Frame - 1 :
    DailyPlayTime -Frame -Weeks : 0
    DailyPlayTime -Frame -Days : 0
    DailyPlayTime -Frame -Hours : 0
    DailyPlayTime -Frame -Minutes : 25
    DailyPlayTime -Frame -Seconds : 0
    #The Commands that will run once a player reaches the time frame.
    #NOTE : This will run as a server command, make sure to do {playerName } if you want to get the exact player.
    DailyPlayTime -Frame -Commands :
      - "say Congrats {playerName}! for completing the 30 second mark!"
      - "give {playerName} apple 1"
    #If this is true then the Completed Message will send.
    DailyPlayTime -Frame -Completed -Message -Toggle : true
    #The message that will be sent when the Time frame is completed.
    DailyPlayTime -Frame -Completed -Message :
      - "&c&m&l--------------&f&l [&x&F&F&3&C&3&C&lA&x&F&F&5&4&3&F&lT&x&F&E&6&C&4&2&lL&x&F&E&8&4&4&5&lA&x&F&D&9&C&4&8&lS &x&F&D&B&3&4&B&lT&x&F&C&C&B&4&E&lI&x&F&C&E&3&5&1&lM&x&F&B&F&B&5&4&lE&f&l] &c&m&l---------------"
      -   ""
      -   "&c● &7Well done &e{playerName} &7on Completing the &e25 Minute &7mark!"
      -   "&c● &7Your daily playtime: {playerDailyPlayTime}"
      -   ""
      -   "&c&m&l-----------------------------------------"
  DailyPlayTime -Frame - 2 :
    DailyPlayTime -Frame -Weeks : 0
    DailyPlayTime -Frame -Days : 0
    DailyPlayTime -Frame -Hours : 6
    DailyPlayTime -Frame -Minutes : 0
    DailyPlayTime -Frame -Seconds : 0
    # The Commands that will run once a player reaches the time frame.
    # NOTE : This will run as a server command, make sure to do {playerName } if you want to get the exact player.
    DailyPlayTime -Frame -Commands :
      - "say Congrats {playerName}! for completing the 1 day mark!"
      - "give {playerName} diamond 1"
    #If this is true then the Completed Message will send.
    DailyPlayTime -Frame -Completed -Message -Toggle : true
    #The message that will be sent when the time frame is completed.
    DailyPlayTime -Frame -Completed -Message :
      - "&c&m&l--------------&f&l [&x&F&F&3&C&3&C&lA&x&F&F&5&4&3&F&lT&x&F&E&6&C&4&2&lL&x&F&E&8&4&4&5&lA&x&F&D&9&C&4&8&lS &x&F&D&B&3&4&B&lT&x&F&C&C&B&4&E&lI&x&F&C&E&3&5&1&lM&x&F&B&F&B&5&4&lE&f&l] &c&m&l---------------"
      -   ""
      -   "&c● &7Well done &e{playerName} &7on Completing the &e6 Hour &7mark!"
      -   "&c● &7Your daily playtime: {playerDailyPlayTime}"
      -   ""
      -   "&c&m&l-----------------------------------------"
 


AtlasPlugins_Discord_Smaller_Logo.png


SUPPORT FOR:

This plugin has support for the following
PlaceholderAPI
BStats

Server Info
This plugin is primarily for SMP Servers however it can be placed on any server you like.

Reviews/Suggestions
Any reviews
are welcome thank you for checking out our plugin.
Any questions or suggestions please join our Discord server to let the community vote on changes.​
Resource Information
Author:
----------
Total Downloads: 80
First Release: Jul 25, 2024
Last Update: Aug 24, 2024
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings