BungeeOnlineTime icon

BungeeOnlineTime -----

A very simple plugin which logs a players online time.





BungeeOnlineTime should now be compatible with most PlaceholderAPI plugins!
----------, Feb 14, 2022


Hey guys,

Since the last update was 3 years ago and it seems like the plugin wasn't working anymore for a lot of people, I decided to do a little recoding.

Here's what changed:
- It's now possible to specify a page with the "top" command. For example /onlinetime top 2, shows rank 11-20.
- The "get" and "top" commands will execute much faster
- Improved the Placeholder API Expansion (may still be buggy though)
- Fixed a whole lot of bugs

What you need to do:
- Set up the new config file (named settings.yml). The old config (named config.yml) won't work anymore.

Old databases (from version 7.0) are compatible.

Download:
BungeeOnlineTime.jar (BungeeCord Plugin)
BungeeOnlineTimeExpansion.jar (PlaceholderAPI Expansion)

If you find any bugs or see error messages in the log, feel free to message me.
----------, Feb 13, 2022

Since many people seem to have problems with the last version, I did a little recoding. I had to change the way the onlinetime gets saved, so old onlinetime data will not be supported (a new database table will be created). Also it isn't possible anymore to specify a "since date" in the commands.
However the plugin will be much faster and bug free. If the old version worked for you, you can keep using it of course.
----------, Dec 30, 2018




I managed to add support for PlaceholderAPI, but note that most placeholder plugins won't work with BungeeOnlineTime (showing "error1") and unfortunately I can't do anything about it.
The placeholders are onlinetime_hours to get the onlinetime in hours and onlinetime_minutes to get it in minutes.
----------, Sep 12, 2018

You can finally disable the online time counting on certain servers (for example if you want to prevent players from farming afk time in the lobby). Just add the servername to the config under "disabledServers".
----------, Sep 11, 2018

Added SQLite support:
If you were using MySQL, you have to set 'mysql: true' in the config!

Added configurable command aliases:
You can add new aliases (like /playtime) in the config.

Added new permission onlinetime.save:
A player must now have the permission onlinetime.save if his onlinetime should be saved! This makes it possible for admins to only log their server team's online time.
----------, Sep 8, 2018

Onlinetime of players who are currently on the server, is now more accurate.

https://github.com/R3fleXi0n/BungeeOnlineTime/commit/79743c0bb7d36d397776665e58b19fcf04e426ce
----------, Dec 16, 2017

Okay, so today I decided to recode the plugin (again). Here are the changes:

A new table will be created, this update is not compatible with older versions of this plugin.
I recommend to generate a new config file, because I made some changes.


Commands:

/onlinetime > Displays your own onlinetime

/onlinetime get <player> [since] > Displays another player's onlinetime (optionally you can specify a date to display his onlinetime since that date)

/onlinetime top [since] > Displays the top 10 onlinetimes (optionally you can specify a date to display the best onlinetimes since that date)

/onlinetime reset <player> [before] > Resets a players onlinetime (optionally you can specify a date to reset his onlinetime before that date)

/onlinetime resetall [before] > Resets the onlinetime of all the players (optionally you can specify a date to reset the onlinetimes before that date)

Permissions:

- onlinetime.own
- onlinetime.others
- onlinetime.others.since
- onlinetime.top
- onlinetime.top.since
- onlinetime.reset
- onlinetime.reset.before
- onlinetime.resetall
- onlinetime.resetall.before

https://github.com/R3fleXi0n/BungeeOnlineTime/commit/b1d161398b95c81f893567ff3fc960c15be5dd8b
----------, Dec 9, 2017


Since some people had problems with mysql, I changed a few things: a new database will be created and data will be saved differently.
https://github.com/R3fleXi0n/BungeeOnlineTime/commit/873587dd251e71aad66c7ec3ed197dbf2a707427

I AM USING A NEW MYSQL TABLE, SO ALL ONLINETIMES WILL BE RESET.
IF YOU WANT TO IMPORT YOUR OLD DATA, YOU SHOULD ACHIEVE THAT BY EXECUTING THE FOLLOWING MYSQL UPDATE: "INSERT INTO bungeeonlinetime SELECT UUID, OnlineTime FROM onlineTime GROUP BY UUID;"
----------, Jun 29, 2017

Resource Information
Author:
----------
Total Downloads: 13,015
First Release: Jul 25, 2014
Last Update: Feb 21, 2022
Category: ---------------
All-Time Rating:
110 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings