WellOnline - Good util for online history (+MySQL)
1.0.4Plugin for checking the history of users online time. Good utility for admins
WellOnline - my first project in spigot.
I`m sorry for my English. Be understating please!
Features:
- Settings and Language files with all needed settings.
- MySQL (stored all data in MySQL. If you like that project please comment and i create non-mysql feature, but that will work only in 1 server).
- Reload commands. Setting all permissions.
- Disabling or enable logging (like if you do not want logging in hub but wanna check online in another servers).
- Data and Time format settings.
Plugin was created in Java 8 and use HOCON configs.
Commands:
- /check [player] [server] <limit> - send enters history of [player] at [server] in <limit> messages (if not used in command plugin get standard number what is in main.conf)
- /wellonline reload - Reload main.conf and language.conf.
Important: for disable\enable logging feature you need restart server. Reload doesn`t affect to that.
Files:
main.conf
######################################
## ##
## WellOnline ##
## Создатель (by) @MiMiMiEnot ##
## ##
######################################
mysql {
host = localhost
port = 3306
user = root
password = password
db = WellOnline
}
##Название сервера, что будет использоватся в логгировании в базе данных
##Name of server, what be setted into database.
server-name = duels
##Включнеие\выключение логгирования онлайна. Если выключить можно будет использовать команды для просмотра.
##Enable\Disable logging of online time. If disable you may to get info about online, but new was not be stored.
#!!!!!!!!! НЕ РАБОТАЕТ С /wellonline reload DOESN`T WORK WITH /wellonline reload !!!!!!!!!
logging = true
##Язык, ru - русский, en - английский.
#Можно использовать свой, но в language.conf нужно будет добавить в конце пути "_<ваш языковой код>"
##Language, ru = russian, en - english
#You may change to your, but in language.conf you need create new path with same name but "_<your language>" in end.
language = en
permission-for-check-command = "check.use"
permission-for-wellonline-command = "check.admin"
standart-history-height = 10
date-format = "yyyy-mm-dd hh:mm:ss"
language.conf
#ru
logging-disabled_ru = "&cЛогирование онлайна отключено."
error_ru = "&cПроизошла ошибка: &4{ERROR}"
not-a-number_ru = "&c{X} &fне число, ставлю по стандарту {Y}"
last-enters_ru = "&fПоследние &a{X} &fзаходов игрока &a{NICK} &fна сервере &a{SERVER}&f:"
line_ru = "&f&l-> &r&a{DATE} &c{TIME}"
## %02d по порядку значат переменную часов, минут, секунд. Их нельзя удалять \ разделять.
time-format_ru = "&a%02d &fчасов &a%02d &fминут &a%02d &fсекунд"
check-use_ru = "&fИспользуй: &a/check [ник] [сервер] <кол-во записей>"
no-perms_ru = "&cНет прав."
reload_ru = "&aПлагин перезагружен"
reload-use_ru = "&fИспользуй так: &a/wellonline reload"
#en
logging-disabled_en = "&cLogging feature is disabled."
error_en = "&cSome error: &4{ERROR}"
not-a-number_en = "&c{X} &fis not a nubmer, setting {Y} by standart"
last-enters_en = "&fLast &a{X} &fenters of player &a{NICK} &fat &a{SERVER}&f:"
line_en = "&f&l-> &r&a{DATE} &c{TIME}"
## %02d by observing a significant clock, minute, second. They cannot be deleted \ split.
time-format_en = "&a%02d &fhours &a%02d &fminutes &a%02d &fseconds"
check-use_en = "&fUse: &a/check [nickname] [server] <limit>"
no-perms_en = "&cNo perms."
reload_en = "&aPlugin is reloaded."
reload-use_en = "&fUse: &a/wellonline reload"
//Вы можете добавить свои окончания, например, "error_<ваше_слово>", но тогда нужно поставить "<ваше_слово>" в language в main.conf
//You may add your ending like "error_<your_world>" but you must set "<your_world>" into "language" path in main.conf
Permissions is flexible and you may configure that in main.conf
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