AfkRecord icon

AfkRecord -----

Record the active, afk and total time of all players! PlaceholderApi support!




English Description:
Ahoy!

- IFH general.statistic.Statistic is now consumed.
- If the active or AFK time is saved in MySQL, these times are transferred to the IFH Statistic Interface, if available.
- If the Statistic Interface has been installed after AfkR and there is no entry from the player in his active or AFK time,
AfkR will add both of these times in full once. And only add the sum of the times afterwards.
- Clarification: If /afk time specifies a different time than the Statistic Plugin (difference in minutes), this is because AfkR also displays the times saved in RAM.

Avan
Deutsche Beschreibung:
Ahoi!

- IFH general.statistic.Statistic wird nun konsumiert.
- Wenn die Aktive- oder Afkzeit in die Mysql gespeichert wird, wird, sofern vorhanden, diese Zeiten ans IFH Statistic Interface übertragen.
- Wenn dass Statistic Interface nach AfkR installiert worden ist und noch kein Eintrag vom Spieler in seiner Aktiven- oder Afkzeit vorhanden ist,
so wird AfkR einmalig diese beiden Zeiten vollständig nachtragen. Und im nachhinein nur die Additionen der Zeiten hinzutragen.
- Klarstellung: Wenn /afk time eine andere Zeit als das Statistic Plugin angibt(Differenz in Minuten), liegt das daran, dass AfkR auch die im RAM gespeicherten
Zeiten mit anzeigt.

Avan
----------, Mar 9, 2025

English Description:
Ahoy!

- Velocity AfkCheck, when using proxy commands (except /afk) an Afkcheck is now also performed fix.

Avan
Deutsche Beschreibung:
Ahoi!

- Velocity AfkCheck, wenn man Proxy Befehle nutzt (außer /afk) wird nun auch ein Afkcheck vollzogen fix.

Avan
----------, Mar 2, 2025

English Description:
Ahoy!

- Spigot 1.21.4 support
- Api must be at least 1.21.3 or higher.
- Velocity 3.4.0 support

Avan
Deutsche Beschreibung:
Ahoi!

- Spigot 1.21.4 support
- Api muss mindestens 1.21.3 oder höher sein.
- Velocity 3.4.0 support

Avan
----------, Dec 22, 2024

Ahoy!

- Velocity RootAdministration Softdepend

Avan
----------, Oct 8, 2024

English Description:
Ahoy!

- Spigot 1.21.1 Support
- Mysql changes => ALTER TABLE `afkrecordplayerdata` ADD `afkreason` TEXT NULL AFTER `vacationtime`;
- Proxy BackgroundTask, which periodically checks whether players who are still afk are not already offline.
- A new optional argument has been added to the commands /afkr top [onlinetime/afktime/alltime] [page number].
/afkr top [onlinetime/afktime/alltime] [page number] [last x days], this now shows all players in top lists in relation to the last x days.
Command, when executed with this new argument, gets new BypassPermission. (Possibility that it still contains bugs, please report if something comes up).
- Command added: /afk add <player name> <alltime|afktime|onlinetime> <dd:HH:mm:ss time format> | Adds/subtracts time to the player's time account.
- Command /afk, now allows to attach a message in the form of /afk [message] to describe why you are afk.
This should make it possible for other plugins to read and display this information via IFH.
- Files version raised to 2.

Avan
Deutsche Beschreibung:
Ahoi!

- Spigot 1.21.1 Support
- Mysql Änderungen => ALTER TABLE `afkrecordplayerdata` ADD `afkreason` TEXT NULL AFTER `vacationtime`;
- Proxy BackgroundTask, welcher Periodisch checkt, ob Spieler die noch afk sind nicht schon offline sind.
- Den Befehlen /afkr top [onlinetime/afktime/alltime] [Seitenzahl], wurde ein neues optionales Argument hinzugefügt.
/afkr top [onlinetime/afktime/alltime] [Seitenzahl] [letzte x Tage], dieses zeigt nun alle Spieler in Toplisten an, in Bezug auf die letzten x Tage an.
Befehl, wenn ausgeführt mit diesem neuen Argument, erhält neue BypassPermission. (Möglichkeit das noch es Bugs enthält. Bitte melden, wenn etwas aufkommt!)
- Befehl hinzugefügt: /afk add <Spielername> <alltime|afktime|onlinetime> <dd:HH:mm:ss Zeitformat> | Addiert/Subtrahiert Zeit auf das Zeitkonto des Spielers.
- Befehl /afk, erlaubt nun eine Nachricht in Form von /afk [Nachricht], anzuhängen um zu beschreiben, warum man Afk ist.
Langzeit sollte somit ermöglich werden, dass andere Plugins über IFH diese Info auslesen können und darstellen können.
- Dateien Version auf 2 angehoben.

Avan
----------, Sep 20, 2024

Ahoy

- YamlHandler and create and load file fix

Avan
----------, Aug 1, 2024

English Description:
Ahoy!

- Java 21 Dependency
- InterfaceHub now Depend!
- Afkteleport fix
- Afkteleport Excluded Words added to the Config.
- AfkKicker Excluded Words added in the Config.
- Command /afkr convert, removed
- Standardized package names
- Velocity support added

Avan
Deutsche Beschreibung:
Ahoi!

- Java 21 Dependency
- InterfaceHub nun Depend!
- Afkteleport fix
- Afkteleport Excluded Words in der Config hinzugefügt.
- AfkKicker Excluded Words in der Config hinzugefügt.
- Befehl /afkr convert, entfernt
- Packages Namen standartisiert
- Velocity Support hinzugefügt

Avan
----------, Jul 27, 2024

English Description:
Ahoy!

- Spigot 1.20.4 support
- PlayerTimes interface registered on Bungeecord. (It was actually forgotten for a long time)

Avan
Deutsche Beschreibung:
Ahoi!

- Spigot 1.20.4 support
- PlayerTimes Interface auf Bungeecord registriert. (Es wurde tatsächlich ne lange Zeit vergessen)


Avan
----------, Jan 4, 2024

English Description:
Ahoy!

- Async behavior built into a variety of things.
- Added PlaceHolderApi values:
- raw_user_total_alltime >> Outputs the total time in milliseconds as a long value
- raw_user_total_activitytime >> Outputs the online time in milliseconds as a long value
- raw_user_total_afktime >> Outputs the afk time in milliseconds as a long value

Avan
Deutsche Beschreibung:
Ahoi!

- Async Verhalten in einer vielzahl von Dingen eingebaut.
- PlaceHolderApi Werte hinzugefügt:
- raw_user_total_alltime >> Gibt als Long wert die Gesamtzeit in Millisekunden raus
- raw_user_total_activitytime >> Gibt als Long wert die Onlinezeit in Millisekunden raus
- raw_user_total_afktime >> Gibt als Long wert die Afkzeit in Millisekunden raus


Avan
----------, Nov 21, 2023

Ahoy!

- AfkTeleport added.
- Works the same as the Afkkicker, but this one lets you execute commands.
- NPE Fix
- Spigot 1.20.1 support

Avan
----------, Jul 9, 2023

English Description:
Ahoy!

- Logic error fix
- /afkr time, now also shows the times which are still in RAM.

Avan
Deutsche Beschreibung:
Ahoi!

- Logikfehler fix
- /afkr time, zeigt nun auch die Zeiten, welche noch im RAM sind, auch an.

Avan
----------, Feb 20, 2023

English Description:
Ahoy!

- Placeholder %afkrecord_....% renamed to %afkr_...%.
- PlacerholderApi Language fix

Avan
Deutsche Beschreibung:
Ahoi!

- Placeholder %afkrecord_....% in %afkr_...% umbenannt
- PlacerholderApi Language fix

Avan
----------, Feb 17, 2023

English Description:
Ahoy!

- Mathematical discrepancy between total time and active + afk time fixed!
- /afkr counttimeperm became /afkr permcounttime
- /afkr getafk fix. Players who are not online should not be shown now.
- Different tabs are set up for players.
- /afkr vacation, a normal number can now be specified in addition to the player name, and time format.
This number is used as a day number to determine how many days you are on vacation. If the number is 0, you will be taken out of vacation.
- 3 NullPointerException saveRam fix

Avan
Deutsche Beschreibung:
Ahoi!

- Mathematische Diskrepanz zwischend der Gesamtzeit und der Aktiven + Afkzeit gefixt!
- /afkr counttimeperm wurde zu /afkr permcounttime
- /afkr getafk fix. Spieler welche nicht online sind, sollten nun nicht mehr angezeigt werden.
- Verschiedene Tabs sind für die Spieler eingerichtet.
- /afkr vacation, kann nun neben dem Spielername, und dem Zeitformat, nun auch eine normale Zahl angegeben werden.
Diese Zahl wird als Tageszahl genutzt um zu determinieren wieviele Tage man im Urlaub ist. Wenn die Zahl 0 ist, wird man aus dem Urlaub geholt.
- 3 NullPointerException saveRam fix

Avan
----------, Feb 14, 2023

English description:
Ahoy!

- MC 1.19.2 support
- IFH Administration support > https://www.spigotmc.org/resources/rootadministration.104833/
- MysqlSetup updated
- /afkr getafk, Lastactivity save fix
- Correct Afktracking
- /afkr getafk fix
- /afkr getafk years and days left out.
- Correctly tracked in mysql on activity change now.

Avan
Deutsche Beschreibung:
Ahoi!

- MC 1.19.2 support
- IFH Administration support > https://www.spigotmc.org/resources/rootadministration.104833/
- MysqlSetup aktualisiert
- /afkr getafk, Lastactivity save fix
- Korrekte Afktracking
- /afkr getafk fix
- /afkr getafk jahre und tage rausgelassen.
- Bei Aktivitätsänderung wird nun richtig in mysql getrackt.

Avan
----------, Aug 26, 2022

Ahoy!

- Important Fix for a logic error!

Avan
----------, Jul 30, 2022

English description:
Ahoy!

If IFH is used, please install IFH 1-3-0 as well!
- IFH connection tidied up.
- Internally tidied up and structured to improve performance.
- More events (now 23 in total) can be queried. Events now have an activation boolean and a cooldown per config.
- IFH PlayerChangeToAfkEvent & PlayerChangeToNotAfkEvent added.

Avan
Deutsche Beschreibung:
Ahoi!

Falls IFH genutzt wird, bitte IFH 1-3-0 mitinstallieren!
- IFH Anbindung aufgeräumt.
- intern aufgeräumt um struckturiert zur Performance verbesserung
- Mehre Events (insgesamt nun 23) können abgefragt werden. Events haben nun einen Aktivierungsboolean und einen Cooldown per Config.
- IFH PlayerChangeToAfkEvent & PlayerChangeToNotAfkEvent eingebaut.

Avan
----------, Jul 23, 2022

General Description:
Ahoy! Quick and short

- +Java 17 & Mc 1.19 support
- +ChatEvent Afk fix
- +/afk counttimeperm fix
- +/afk counttime fix

Avan
----------, Jul 3, 2022

English Description:
Ahoy!

- Plugin has been cleaned up and improved internally. Saving resources about 2 to 4 times on average!
- Wiki added! => Link
- CommandTree and YamlManager added.
- Supported PlaceholderApi. All placeholders in the wiki.
- Added /afkr counttimeperm, and /afkr vacation. Description in wiki :D
- Supported InterfaceHub as first plugin! But NO use, because IFH is not released yet xD.
- New Mysql columns. To edit these queries enter in the "Sql" tab:
ALTER TABLE `YourPlaywterDataTable` ADD `lasttimecheck` BIGINT NOT NULL DEFAULT '0' AFTER `lastactivity`,
ADD `isonline` TINYINT(1) NOT NULL DEFAULT '0' AFTER `lasttimecheck`, ADD `vacationtime` BIGINT NOT NULL DEFAULT '0' AFTER `isonline`;
ALTER TABLE `YourDateTable` ADD `timestamp_unix` BIGINT NOT NULL DEFAULT '0' AFTER `date`;
- All you have to do is insert your table names and you're done. To be on the safe side, make a backup.
- IF you have old data, there is an extra conversion command! But attention! Best to do this as the only player on the server and only after the end, release the server for players again!
- Supported Metrics

Avan
Deutsche Beschreibung:
Ahoi!

- Plugin wurde intern aufgeräumt und verbessert. Durchschnittlich etwa 2 bis 4 mal Resourcen sparend!
- Wiki hinzugefügt! => Link
- CommandTree und YamlManager hinzugefügt.
- Supported PlaceholderApi. Alle Placeholder im Wiki.
- /afkr counttimeperm, sowie /afkr vacation hinzugefügt. Beschreibung im Wiki :D
- Unterstützt InterfaceHub als erstes Plugin! Jedoch NOCH unütz, da IFH noch nicht veröffentlich ist xD.
- Neue Mysql Spalten. Zum bearbeiten diese Querys in dem "Sql"-Reiter eingeben:
ALTER TABLE `YourPlaywterDataTable` ADD `lasttimecheck` BIGINT NOT NULL DEFAULT '0' AFTER `lastactivity`,
ADD `isonline` TINYINT(1) NOT NULL DEFAULT '0' AFTER `lasttimecheck`, ADD `vacationtime` BIGINT NOT NULL DEFAULT '0' AFTER `isonline`;
ALTER TABLE `YourDateTable` ADD `timestamp_unix` BIGINT NOT NULL DEFAULT '0' AFTER `datum`;
- Ihr müsst nur eure Tablenamen einfügen und fertig. Zur Sicherheit, ein Backup ziehen.
- FALLS ihr alte daten habt, gibt es extra ein Konvertierungsbefehl! Aber Achtung! Am besten diesen als einzigster Spieler auf dem Server durchführen und erst nach dem Ende, den Server wieder für Spieler freigeben!
- Supportet Metrics

Avan
----------, Apr 7, 2021

English Description:
Ahoy!

- IMPORTANT! In both Mysql tables the numbers of times have been changed to BIGINT! See appendix!
- 2 new booleans for bungee and scc have been added to config.yml
- General errors improved.
- When a name change occurs, it is now retried and updated.
- Api methods implemented.
- /afkr getafk is now BungeeCord ready!

Avan
Deutsche Beschreibung:
Ahoi!

- WICHTIG! In beiden Mysql Tabellen wurden die Zahlen der Zeiten zu BIGINT geändernt! Siehe Anhang!
- In der config.yml sind 2 neue booleans für Bungee und Scc eingebaut worden
- Generelle Fehler verbessert.
- Es wird nun bei einer Namesänderung, diese regestriert und es wird nun geupdatet.
- Api-Methoden eingebaut.
- /afkr getafk ist nun BungeeCord fähig!

Avan

Image:
build6mysqlI.JPG
One of the TWO tables must look like this. The important thing is the BIGINT! If it doesn't say BIGINT, click on edit and look at the second picture, what you have to enter there.
=====================================================
So muss einer der ZWEI Tabellen aussehen. Das wichtige ist der BIGINT! Wenn dort nicht BIGINT steht, klickt auf bearbeiten und schaut auf das zweite Bild, was ihr dort eintragen müsst.
build6mysqlII.JPG
----------, Jun 6, 2020

English Description:
Ahoy!

- Missing security question has been added.
- at / afkr time [player] hover messages are now created via language.yml.
- / afkr top <> is now created for the first page (page = 0), only the click message for the next page if the top list has more than 1 page at the same time.
- Please create a new language.yml!

Avan
Deutsche Beschreibung:
Ahoi!

- Fehlende Sicherheitsabfrage wurde hinzugefügt.
- bei /afkr time [player] werden nun Hover Nachrichten per language.yml erstellt.
- /afkr top <> wird nun bei der ersten Seite (Seite = 0), nur die Clicknachricht für die nächste seite erstellt, wenn die Topliste auch gleichzeitig mehr als 1 Seite hat.
- Bitte neue language.yml erstellen lassen!

Avan
----------, Feb 7, 2020

English Description:
Ahoy!

- /afkr time player, display error has been fixed
- You can now de-afk when entering commands. (Attention! This only applies to spigot commands!)
- /afkr top <..>, you can now click on the previous page to go to the next page.
- /afkr convertolddata, was taken down due to poor functionality
- language.yml is updated please consider!

Avan

Deutsche Beschreibung:
Ahoi!

- /afkr time player, Anzeigefehler wurde behoben
- Man nun auch de-afk wenn man Befehle eingibt. (Achtung! Das gilt nur für Spigot Befehle!)
- /afkr top <..>, man kann nun auch zur nächsten Seite auch die vorherige Seite anklicken.
- /afkr convertolddata, wurde wegen schlechter Funktionalität runtergenommen
- language.yml ist geupdatet bitte bedenken!

Avan
----------, Feb 7, 2020

English Description:
Ahoy!

- Fatal server dump was triggered due to a logic number error. Is fixed.
- / afkr convertolddata, at the end a new argument gets a true or false. This indicates whether the old data should also be deleted.
- / afkr counttime, small syntax and boolean errors fixed
- / afkr getafk, added. Shows all players on the Spigot server, which are Afk and when. Clickable name, which executes the command / afkr time <player>.
- Permissions have been added to plugin.yml (for everyone who uses ultraperms ;))
- A new language.yml is required because new messages have been added

Avan
Deutsche Beschreibung:
Ahoi!

- Fatal Server Dump wurde wegen einem Logikzahlenfehler ausgelöst. Ist gefixt.
- /afkr convertolddata, bekommt am Ende ein neues Argument ein true oder false. Damit wird angegeben, ob die alten Daten auch zusätzlich gelöscht werden sollen.
- /afkr counttime, kleine Syntax und boolean Fehler behoben
- /afkr getafk, hinzugefügt. Zeigt alle Spieler des Spigot Servers an, welche Afk sind und seid wann. Dazu klickbarer Name, welche den Befehl /afkr time <Spieler> ausführt.
- Permissions wurden der plugin.yml hinzugefügt (Für alle die Ultraperms nutzen ;) )
- Es braucht eine neue language.yml, da neue Nachricht hinzugefügt wurden

Avan
----------, Jan 31, 2020

Resource Information
Author:
----------
Total Downloads: 1,118
First Release: Jan 25, 2020
Last Update: Mar 9, 2025
Category: ---------------
All-Time Rating:
4 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings