A spigot plugin to log the current server timestamp to the console and to any user that has the logtimestamp.login
permission.
Why? Minecraft log files are fragile to analyze because they do not contain a full timestamp, and they do not indicate the timezone. This plugin should hopefully make the timestamps in your log more machine-readable.
The log looks like this:
[17:06:41] [pool-13-thread-1/INFO]: [LogTimestamp] Current server time: 2022-09-14T23:06:41.301479225Z 2022-09-14T17:06:41.301479225-06:00[America/Denver] MT
Licensed under AGPLv3
Copyright © 2022 lordpipe
By making a contribution to this project, I certify that:
-
(a) The contribution was created in whole or in part by me and I have the right to submit it under a suitable open source license; or
-
(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or
-
(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.
-
I understand and agree that this project and the contribution are public and that a record of the contribution is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.
-
(d) I understand that this project is currently licensed as AGPLv3+. At the discretion of the leadership of this project (lordpipe) alone, parts or whole of this project may be re-licensed at any time to any of the following list of licenses, and any contributions must be simultaneously compatible with ALL of these licenses:
- AGPLv3+
- GPLv3+
Additionally, I agree:
- To fulfill (d), I hereby grant the leadership of this project (lordpipe) a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license that is simultaneously compatible with the above licenses.
This applies to contributions through the pull request process, not simple forks.
Non-legalese: You get to use the project as AGPLv3, but you must contribute in a way that permits relicensing any components to GPLv3+.