BungeeOnlineTime - by R3fleXi0n
Description:
This plugin saves the amount of time a player has played on your network into a SQL database.
With a simple command you can check a players online time.
Features:
- All messages are configurable
- Supports both SQLite and MySQL
- Supports PlaceholderAPI
- Possiblity to disable online time saving for certain servers
- Possibility to only save online times for certain players
Commands:
/onlinetime
Displays your own online time
/onlinetime get <player>
Displays another player's online time
/onlinetime top [page]
Displays the top online times ranking
/onlinetime reset <player>
Resets a players online time
/onlinetime resetall
Resets the online time of every player
Permissions:
- onlinetime.save
(*)
- onlinetime.own
- onlinetime.others
- onlinetime.top
- onlinetime.reset
- onlinetime.resetall
(*) without this permission, a player's online time won't be saved!
Installation:
Plugin:
1. Copy the
BungeeOnlineTime.jar to the BungeeCord plugin folder.
2. Restart the proxy.
3. Set up the
BungeeOnlineTime/settings.yml file.
4. Add the necessary
permissions to your BungeeCord config file.
5. Restart the proxy.
6. Done.
PlaceholderAPI:
1. Copy the
BungeeOnlineTimeExpansion.jar to the PlaceholderAPI expansions folder.
2. Set "Plugin.usePlaceholderApi" to true in the
BungeeOnlineTime/settings.yml file.
3. Set up the placeholders: Use
%onlinetime_days% to get the online time in days,
%onlinetime_hours% to get it in hours and
%onlinetime_minutes% for minutes.
4. Restart the proxy and server.
5. Done.
--------------------------------------------------------
If you have found a bug or see error messages in the log, feel free to message me!