Commit Graph

634 Commits

Author SHA1 Message Date
RedDevel2
916735d7fc Update version tags 2024-02-24 18:22:24 +01:00
Alexander
c19b8fceb6 Improve time formatting in snitch logs
This switches the how timestamps are rendered in snitch logs from "2011-12-03T10:15:30" to "Tue, 3 Jun 2008 11:05:30 GMT". It retains the old format for chat outputs for compaction and mod-parsing reasons.
2024-02-22 16:03:54 +00:00
RedDevel2
0eceee6ab3 Merge pull request #275 from CivMC/jalist-lore-lag
Optimise snitch GUI
2024-02-22 13:35:41 +01:00
RedDevel2
8105c96a31 Merge pull request #241 from Protonull/fix-missing-snitch-events
Fixup LoggableBlockAction (fixes #213)
2024-02-22 00:58:39 +01:00
okx-code
3622363f3e You're lucky I'm in a good mood ori 2024-02-21 22:29:33 +00:00
okx-code
452a2313c9 Optimise snitch GUI
- Only render the snitches for the current page
- Also fix the plugin name (previously it was jukealert-paper, now it correctly shows as JukeAlert)
2024-02-21 22:22:57 +00:00
Alexander
6fb610fa1c Fixup LoggableBlockAction
Was only intending to update getGUIRepresentation() and then got a bit carried away.

- Renamed the internal fields and parameters to be more accurate.

- Updated any usage of internals to their getters instead.

- getGUIRepresentation() now has an extensive switch to convert block-only materials to their item variant. Was conflicted on whether to put this in CivModCore instead, but this is more or less only for JukeAlert's GUI, not for loot-tables or similar feature. This will also print a warning if any block->item matches are missing (good for future proofing).

- getGUIRepresentation() will also show the block's material in every GUI log, instead of just the logs that failed to display (which I don't think ever happened?).
2024-02-20 07:50:07 +00:00
MrJeremyFisher
58570ae48d Make /janame feedback a bit nicer 2024-02-18 17:30:46 -05:00
AngrySoundTech
afd9864282 Relocate JukeAlert 2024-02-18 14:27:03 -05:00
AngrySoundTech
3c6225b0d7 Bump version to 3.0.7 2023-10-27 12:10:13 -04:00
okx-code
c7cd3fe70f only fire event if snitch is active 2023-09-03 17:47:33 +01:00
wingzero54
228fb7adfc Update version 2023-07-16 09:40:23 -05:00
wingzero54
fda7cf40fb Merge pull request #41 from okx-code/fix-culling
Fix dormant snitches still being active & snitches not changing state over restarts
2023-07-16 09:40:03 -05:00
wingzero54
d4fedf64b8 Merge pull request #42 from okx-code/sql-queries
Reduce number of queries per snitch on startup by 2
2023-07-16 09:37:57 -05:00
okx-code
4831fae5cd update appenders directly 2023-07-07 00:55:29 +01:00
okx-code
7fc84b2f26 Update Snitch.java 2023-05-29 20:40:06 +01:00
AngrySoundTech
d12794f5d0 fix an oopsie 2023-04-28 12:17:26 -04:00
AngrySoundTech
e175393fae Update to civgradle2 2023-04-28 12:11:38 -04:00
okx-code
b15d822a64 Remove unused function 2023-04-27 01:31:19 +01:00
okx-code
16c0610a10 Reduce number of queries per snitch on startup by 2 2023-04-27 01:13:46 +01:00
okx-code
74c195fa0d Fix dormant snitches still being active & snitches not changing state over restarts
1. If a snitch changed from active to dormant or dormant to culled during a restart, it would not actually change state. This could result in a snitch remaining active indefinitely, but this would be rather rare.
2. Separately (and the original issue that prompted this fix), was that dormant snitches would still send notifications. This is because, on server startup, dormant snitches would be re-activated (if they were disabled previously) due to incorrect logic.
2023-04-26 20:36:41 +01:00
wingzero54
235d8c7c40 Update version 2022-10-10 19:21:56 -05:00
wingzero54
1ce1e2f15a Update version 2022-10-10 19:21:46 -05:00
MelnCat
6013473f3d Make music discs drop if the broken jukebox has one 2022-09-19 11:36:10 -07:00
wingzero54
c75d215a96 version 2022-08-17 10:44:51 -05:00
wingzero54
f4e2d7a489 version 2022-08-17 10:36:26 -05:00
wingzero54
fe62e1c9f3 Merge pull request #34 from awoo-civ/pr2
Add remote renaming via a new command; fix current /janame being unusable for snitches with spaces
2022-08-17 10:30:46 -05:00
awoo-civ
43460f550f Fix whitespace 2022-08-12 02:05:15 +00:00
awoo-civ
61c3bc61a1 Add remote naming via a new command /janameat 2022-08-11 19:58:06 +00:00
awoo-civ
bc9954f744 Revert support for remote naming via /janame 2022-08-11 19:57:09 +00:00
awoo
4683120321 Fix /jalist group filtering
• No longer NPEs on trying to filter groups
• No longer needs to be provided exactly 3 groups to work
• Now supports an arbitrary amount of groups instead of only 3
2022-08-11 15:05:22 +00:00
wingzero54
32d8bfe6bc Group Version 2022-08-10 09:50:41 -05:00
wingzero54
534653ad1e Version 2022-08-10 09:48:20 -05:00
wingzero54
31fc0bb024 Version 2022-08-10 09:23:07 -05:00
wingzero54
5687573188 Merge pull request #25 from Aleksey-Terzi/remote_snitch_rename
Cannot (re)name remote snitches
2022-08-10 09:09:08 -05:00
Aleksey Terzi
50d2ddb67a Issue #23: [Regression] /jainfo arguments don't work 2022-07-21 21:19:02 -06:00
Aleksey Terzi
fb85f31c26 Issue #22: Cannot (re)name remote snitches 2022-07-14 18:32:13 -06:00
wingzero54
25f19b0880 Increment plugin version 2022-07-13 21:32:49 -05:00
wingzero54
e2a5c476bd Increment plugin version 2022-07-13 21:26:02 -05:00
Aleksey Terzi
c3dadcee5f Show player name instead of id in snitch logs 2022-07-09 14:13:24 -06:00
Aleksey Terzi
43dc793458 Use one scheduled async task instead of multiple async tasks for saving log entries 2022-07-09 13:45:02 -06:00
Aleksey Terzi
e64fefbe09 Fix: open double chest or chest minecart is not logged 2022-06-29 20:15:52 -06:00
Aleksey Terzi
6668f6719b Fix: server restart returns back old name for renamed snitch 2022-06-21 21:31:57 -06:00
wingzero54
d7649a2d7f Merge pull request #12 from CivMC/1.18.2
1.18.2
2022-04-25 21:36:48 -05:00
wingzero54
7106d174c2 Add cuboid snitch range 2022-04-14 17:58:55 -05:00
Maxopoly
aa63ff945b Support different field dimensions 2022-03-14 17:54:38 +01:00
Cola
b1c395a28f 1.18.2 2022-03-07 21:39:22 +00:00
AngrySoundTech
f92ae27401 Merge pull request #9 from Diet-Cola/jainfo-backwards-fix
Stuff like this is retarded
2022-01-17 12:23:35 -05:00
AngrySoundTech
aca0b6735a Merge pull request #8 from Diet-Cola/remove-nearby-snitches
Remove unused config option
2022-01-17 12:22:58 -05:00
Cola
b464ecdd7c Handle /jainfo -1 2022-01-15 20:26:20 +00:00