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
Commands
/atime help
Requires Permission: atlastime.help
Sends a list of all the usable commands in chat.
/atime reload
Requires Permission: atlastime.reloadconfig
Reloads the config not much else to say about that lol.
/atime time
Requires Permission: atlastime.time
Displays your Total and Daily playtime stats.
/atime resetdaily
Requires Permission: atlastime. resetdaily
Resets everyone's daily timers.
/atime forcecheck
Requires Permission: atlastime.forcecheck
Forces a check for everyone's timers.
Showcase
Time Reached Message
Displaying Playtime Message
Daily Timers Reset Message
Force Check Timers Message
Fully Customizable
Settings Config
#
# /$$$$$$ /$$$$$$$$ /$$ /$$$$$$ /$$$$$$ /$$$$$$$$ /$$$$$$ /$$ /$$ /$$$$$$$$
# /$$__ $$|__ $$__/| $$ /$$__ $$ /$$__ $$ |__ $$__/|_ $$_/| $$$ /$$$| $$_____/
# | $$ \ $$ | $$ | $$ | $$ \ $$| $$ \__/ | $$ | $$ | $$$$ /$$$$| $$
# | $$$$$$$$ | $$ | $$ | $$$$$$$$| $$$$$$ | $$ | $$ | $$ $$/$$ $$| $$$$$
# | $$__ $$ | $$ | $$ | $$__ $$ \____ $$ | $$ | $$ | $$ $$$| $$| $$__/
# | $$ | $$ | $$ | $$ | $$ | $$ /$$ \ $$ | $$ | $$ | $$\ $ | $$| $$
# | $$ | $$ | $$ | $$$$$$$$| $$ | $$| $$$$$$/ | $$ /$$$$$$| $$ \/ | $$| $$$$$$$$
# |__/ |__/ |__/ |________/|__/ |__/ \______/ |__/ |______/|__/ |__/|________/
#
# 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-----------------------------------------"TotalPlayTime Config
#
# /$$$$$$ /$$$$$$$$ /$$ /$$$$$$ /$$$$$$ /$$$$$$$$ /$$$$$$ /$$ /$$ /$$$$$$$$
# /$$__ $$|__ $$__/| $$ /$$__ $$ /$$__ $$ |__ $$__/|_ $$_/| $$$ /$$$| $$_____/
# | $$ \ $$ | $$ | $$ | $$ \ $$| $$ \__/ | $$ | $$ | $$$$ /$$$$| $$
# | $$$$$$$$ | $$ | $$ | $$$$$$$$| $$$$$$ | $$ | $$ | $$ $$/$$ $$| $$$$$
# | $$__ $$ | $$ | $$ | $$__ $$ \____ $$ | $$ | $$ | $$ $$$| $$| $$__/
# | $$ | $$ | $$ | $$ | $$ | $$ /$$ \ $$ | $$ | $$ | $$\ $ | $$| $$
# | $$ | $$ | $$ | $$$$$$$$| $$ | $$| $$$$$$/ | $$ /$$$$$$| $$ \/ | $$| $$$$$$$$
# |__/ |__/ |__/ |________/|__/ |__/ \______/ |__/ |______/|__/ |__/|________/
#
# 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-----------------------------------------"Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
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.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta