Sueta

GameTime

2.0.0

It shows you how much a player has been online

·Plugin

rthhrh.png

Welcome to GameTime! This is a plugin that shows for how long the players have been online and can reward them automaticlly! It shows the server's uptime as well! ergsrhsr.png
- /played - Shows for how long you have been online
- /played <player> - Shows for how long a player have been online
- /sutime - Shows for how long the server has been up
- /gtreload - Reloads the configuration!

Available placeholders (Version 1.0.2):
- %gametime_played_time% - Shows the played time of a player in the default format (same as /played)
- %gametime_sutime% - Shows the server's current uptime
- %gametime_times_joined% - Shows the amout of times a player has joined the server
- %gametime_player% - Shows the name of the player

  • Note: Having PlaceholderAPI installed is recommended , but not required .

rgrgag.png
All of the messages are fully configurable with color codes.
Minecraft 1.8.9  LabyMod 3.2.9.jpg Minecraft 1.8.9  LabyMod 3.2.9_2.jpg Minecraft 1.8.9  LabyMod 3.2.9_3.jpg Minecraft 1.8.9  LabyMod 3.2.9_4.jpg
grtg.png - gametime.user.check - Give this permission to the users if you want them to be able to see their own gametime and the gametime of the other players
- gametime.admin - Give this permission to the players you want to be able to see the server's uptime and reload the configuration thth.png

config.yml
# # 
 =============================================================================  # # 
# #  |                             CONFIGURATION                                    |  # # 
# #  =============================================================================  # # 
# All the plugin messages are fully configurable with color codes. 


# Placeholders to use  :  

    #  %  player  %   -  shows the player  's name 
    # %time% - time played 
    # %timesjoined% - shows the amount of times the player has ever joined the server 
    # %serveruptime% - shows the server'  s uptime 
    #  %  prefix  %   -  plugin prefix 
                    

prefix  :   '&7(&cGameTime&7)'  


time  :  

    #What will be displayed  for  days  :  
  day  :   ' days,'  
    #What will be displayed  for  hours  :  
  hour  :   ' hours,'  
    #What will be displayed  for  minutes  :  
  minute  :   ' minutes,'  
    #What will be displayed  for  seconds  :  
  second  :   ' seconds'  




messages  :  
  
  no_permission  :  
   -   '&cYou do not have permission.'  

  not_online  :  
   -   '&e%player% must be online to perfom this action.'  

  player  :  
   -   '&eTotal time played: &e%time%'  

  other_players  :  
   -   '&e(&oViewing %player%'   's Stats&e)'  
   -   '&eTotal time played: &e%time%'  

  uptime  :  
   -   '&eThe total uptime of the server is %serveruptime%'
rewards.yml
# #  =============================================================================  # # 
# #  |                             REWARDS                                          |  # # 
# #  =============================================================================  # # 
# All the plugin messages are fully configurable with color codes. 

# Placeholders to use  :  

    #  %  player  %   -  shows the player  's name 
    # %time% - time played 
    # %timesjoined% - shows the amount of times the player has ever joined the server 
    # %serveruptime% - shows the server'  s uptime 


Tier_I  :  
    #Set the time goal in seconds  (   default   :   36000  , equal to  10  hours  )  
    #Example  :   1  hour  =  3600s  |  10h  =  36000s  |  24h  =  86400s  |  10d  =   864000  
    time_goal  :   36000  
    #  True   =  It will broadcast to all online players when a player has hit a GameTime Goal 
    broadcast  -  all  :   true  
  
    # All can be multiple lines 
    messages  :  
        # Command 
        broadcast_to_all  :  
             -   'bc &c%player% &7has just hit the &c10 hours &7goal (&cTier &lI&7) and received a &creward&7!'  
        # Just a message  (  Commands are not supported  )  
        player_msg  :  
             -   '&7Congratulations &c%player%&7! You have just hit the &cTier &lI &7 goal (&c24 hours)&7 and received a &creward&7!'  
          
    # Commands to be executed  (  The reward  )  
    reward  :  
         -   "give %player% diamond 3"  
         -   "eco give %player% 2000"  
         -   "minecraft:xp 15L %player%"  
Tier_II  :  
    #Set the time goal in seconds  (   default   :   86400  , equal to  24  hours  )  
    #Example  :   1  hour  =  3600s  |  10h  =  36000s  |  24h  =  86400s  |  10d  =   864000  
    time_goal  :   86400  
    #  True   =  It will broadcast to all online players when a player has hit a GameTime Goal 
    broadcast  -  all  :   true  
  
    # All can be multiple lines 
    messages  :  
        # Command 
        broadcast_to_all  :  
             -   'bc &c%player% &7has just hit the &c24 hours &7goal (&cTier &lII&7) and received a &creward&7!'  
        # Just a message  (  Commands are not supported  )  
        player_msg  :  
             -   '&7Congratulations &c%player%&7! You have just hit the &cTier &lII &7 goal (&c24 hours)&7 and received a &creward&7!'  
          
    # Commands to be executed  (  The reward  )  
    reward  :  
         -   "give %player% diamond 5"  
         -   "eco give %player% 3500"  
         -   "minecraft:xp 20L %player%"  

Tier_III  :  
    #Set the time goal in seconds  (   default   :   604800  , equal to  7  days  )  
    #Example  :   1  hour  =  3600s  |  10h  =  36000s  |  24h  =  86400s  |  10d  =   864000  
    time_goal  :   604800  
    #  True   =  It will broadcast to all online players when a player has hit a GameTime Goal 
    broadcast  -  all  :   true  
  
    # All can be multiple lines 
    messages  :  
        # Command 
        broadcast_to_all  :  
             -   'bc &c%player% &7has just hit the &c7 days &7goal (&cTier &lIII&7) and received a &creward&7!'  
        # Just a message  (  Commands are not supported  )  
        player_msg  :  
             -   '&7Congratulations &c%player%&7! You have just hit the &cTier &lIII &7 goal (&c7 days)&7 and received a &creward&7!'  
          
    # Commands to be executed  (  The reward  )  
    reward  :  
         -   "give %player% diamond 10"  
         -   "eco give %player% 5000"  
         -   "minecraft:xp 25L %player%"  

Tier_IV  :  
    #Set the time goal in seconds  (   default   :   1209600  , equal to  14  days  )  
    #Example  :   1  hour  =  3600s  |  10h  =  36000s  |  24h  =  86400s  |  10d  =   864000  
    time_goal  :   1209600  
    #  True   =  It will broadcast to all online players when a player has hit a GameTime Goal 
    broadcast  -  all  :   true  
  
    # All can be multiple lines 
    messages  :  
        # Command 
        broadcast_to_all  :  
             -   'bc &c%player% &7has just hit the &c24 hours &7goal (&cTier &lIV&7) and received a &creward&7!'  
        # Just a message  (  Commands are not supported  )  
        player_msg  :  
             -   '&7Congratulations &c%player%&7! You have just hit the &cTier &lIV &7 goal (&c14 days)&7 and received a &creward&7!'  
          
    # Commands to be executed  (  The reward  )  
    reward  :  
         -   "give %player% diamond 15"  
         -   "eco give %player% 7000"  
         -   "minecraft:xp 30L %player%"  

Tiev_V  :  
    #Set the time goal in seconds  (   default   :   2678400  , equal to  31  days  )  
    #Example  :   1  hour  =  3600s  |  10h  =  36000s  |  24h  =  86400s  |  10d  =   864000  
    time_goal  :   2678400  
    #  True   =  It will broadcast to all online players when a player has hit a GameTime Goal 
    broadcast  -  all  :   true  
  
    # All can be multiple lines 
    messages  :  
        # Command 
        broadcast_to_all  :  
             -   'bc &c%player% &7has just hit the &c24 hours &7goal (&cTier &lV&7) and received a &creward&7!'  
        # Just a message  (  Commands are not supported  )  
        player_msg  :  
             -   '&7Congratulations &c%player%&7! You have just hit the &cTier &lV &7 goal (&c31 days)&7 and received a &creward&7!'  
          
    # Commands to be executed  (  The reward  )  
    reward  :  
         -   "give %player% diamond 30"  
         -   "eco give %player% 10000"  
         -   "minecraft:xp 50L %player%"

--------------------------------
- BungeCord Support
- MSQL Database (SOON!)
- Website Support (SOON!)
- Placeholdersapi Support ✔ (Added in 1.0.2)
- Scoreboard and Title support
- Leaderboard
- Difference between AFK time and normal time
- Permissions ✔ (Added in 1.0.1)
- Rewards ✔ ( Added in 2.0.0)

--------------------------------

P.S: Write your suggestions in the comment section :)

GOALS:
10x Downloads ✔
100x Downloads (Nice!) ✔
1000x Downloads (Hyped)
10,000 Downloads (WOAH)
---------------------------
$1 of donations
$10 of donations (Hyped)
$100 of donations (INSANE)
- If you want to send donations - PayPal Email: [email protected] (It would be awesome)

If your server is using this plugin, PM me to add it here :)

Servers
eu.doomland.net 
us.prestigecraft-bg.com 
151.80.20.234:25578

Similar projects

Plugin →