Information:
This plugin was requested by a client, but unfortunately he gave it up and it was already ready, so I'm putting it on sale.
It is a plugin in which counts the time that the player is online and when reaching the time of the configuration of a prize (command) to the player.
Configuration:
Code:
mysql:
enable: false
username: 'username'
host: 127.0.0.1
password: 'password'
database: 'database'
leaderBoard:
size: 2
title: "&aTOP 2 timePlayed:"
position: " &f{pos}&7. &f{player} &7- &a{time}"
Messages:
playerNotFound: "&cThe player does not exist in our database."
helpMessage:
- ' &aAutoPromote - Commands:'
- ''
- ' &7/ap help'
- ' &7/ap stats <name>'
- ' &7/ap reload'
- ' &7/ap settime <player> <time>'
- ' &7/ap reset <player-name>'
- ' &7/ap leaderboard
- ''
yourStatus:
- '&aYour Stats:'
- ' '
- ' &7TimePlayed: &f{time}'
- ' &7Next Rank: &f{next_rank}'
- ' &7Next upgrade: &f{next_time}'
- ' '
otherStatus:
- '&a{player} Stats:'
- ' '
- ' &7TimePlayed: &f{time}'
- ' &7Next Rank: &f{next_rank}'
- ' &7Next upgrade: &f{next_time}'
- ' '
Ranks:
default:
timePlayed: 00d/00h/0m/0s
commandsCompleted: []
Member:
timePlayed: 00d/00h/5m/0s
commandsCompleted:
- 'give {player} diamond 10'
MVP:
timePlayed: 00d/1h/5m/0s
commandsCompleted:
- 'give {player} diamond 40'
VIP:
timePlayed: 1d/5h/5m/30s
commandsCompleted:
- 'give {player} diamond 64'
Price:
Jar: 7$
Source: 20$
