anth64
a2ea0c4174
fix: Instance internal -> public
2026-06-28 14:58:56 +02:00
anth64
21fe2695b5
docs: document referencing CommandHook via env variable
2026-06-28 13:46:52 +02:00
anth64
ba5256476c
docs: rewrite README for the TextCommandCallingArgs API
2026-06-25 20:21:31 +02:00
anth64
f261848734
chore: bump version to 2.0.0
2026-06-25 20:19:15 +02:00
anth64
c43872565c
docs: fix CommandRegistration doc comment referencing removed CommandData
2026-06-25 20:17:12 +02:00
anth64
ecc796031a
chore: strip default scaffold content from en.json
2026-06-25 20:14:40 +02:00
anth64
d93e56c1d3
refactor(commandhook)!: pass TextCommandCallingArgs directly, remove CommandData wrapper.
2026-06-25 20:10:13 +02:00
anth64
de74d71f0f
docs: restructure README into Usage and For mod development sections
2026-06-21 18:40:36 +02:00
anth64
2a7cdb4fad
"docs: add README"
2026-06-21 12:39:34 +02:00
anth64
0b030bb2a8
chore(modinfo): bump to 1.0.0
2026-06-21 12:32:19 +02:00
anth64
f8a60102d3
docs(ChatCommandApiPatch): add XML doc comments and internal notes to Prefix
2026-06-21 12:22:58 +02:00
anth64
398c9d01c1
docs(CommandHookModSystem): add XML doc comments to Register/Unregister and internal comments to Rebuild, FireBefore, FireAfter, CommandListEquals
2026-06-21 12:18:19 +02:00
anth64
46dea83699
docs(ICommandHookListener): add XML doc comments to ModId, Commands, Registration
2026-06-21 12:18:19 +02:00
anth64
912a78a689
docs(CommandRegistration): add XML doc comments to Before/After fields and constructor
2026-06-21 12:18:19 +02:00
anth64
beedb8db5b
docs(CommandDelegate): add XML doc comments to CommandBeforeDelegate and CommandAfterDelegate
2026-06-21 12:18:19 +02:00
anth64
47f123ba9a
docs(CommandData): add XML doc comments to public surface
2026-06-21 12:18:19 +02:00
anth64
cbdcacd6c2
fix: rebuild on change
2026-06-17 22:49:13 +02:00
anth64
a69e81a3cb
refactor: remove wildcard listener support
2026-06-17 20:50:37 +02:00
anth64
775c02794e
fix: isolate listener exceptions in Before/After dispatch
2026-06-17 20:39:43 +02:00
anth64
d0dcd599cf
fix(commandhookmodsystem): short-circuit Before dispatch on cancel
...
FireBefore continued invoking every registered listener even after one had set Cancel, running callbacks against a command that was already dead. Break out of the loop as soon as Cancel is set.
2026-06-17 19:13:14 +02:00
anth64
a130042206
perf(commanddata): take commandName directly instead of re-parsing FullCommand
...
Constructor previously rebuilt CommandName from FullCommand via substring + Split, allocating on every command invocation despite the caller already holding a clean commandName. Pass it through directly.
2026-06-17 19:13:14 +02:00
anth64
cd583a0e95
refactor: tighten access modifiers on CommandHookModSystem
2026-06-11 21:56:07 +02:00
anth64
e26ad1d541
refactor: rework registration system with listener interface and rebuild pattern
2026-06-11 21:48:10 +02:00
anth64
6d4f964e74
feat: add ICommandHookListener interface
2026-06-11 20:18:56 +02:00
anth64
5188b44a81
chore: change file mode for build script
2026-06-11 18:58:15 +02:00
anth64
806d86e91c
feat: variadic register/unregister with shared rebuild helpers
2026-06-04 22:20:58 +02:00
anth64
937abba03d
feat: add Register with frozen dictionary rebuild
2026-06-04 22:13:38 +02:00
anth64
2c6be63c33
feat: replace PlayerChat hook with Harmony patch on command dispatch
2026-06-04 22:10:40 +02:00
anth64
ecf9925645
refactor: split hook delegate into before and after with result
2026-06-04 22:04:19 +02:00
anth64
7cdd8d27c0
refactor: collapse hooks into nested frozen dictionary
2026-06-04 21:35:57 +02:00
anth64
63f5d6e8b6
refactor: replace dictionaries with flat ModEntry/HookEntry structs
2026-06-04 21:11:37 +02:00
anth64
841644741b
remove mod name from log message, it is redundant...
2026-06-03 19:06:45 +02:00
anth64
1aaea585be
refactor: collapse WildcardModRegistration into CommandRegistration
2026-06-03 19:02:22 +02:00
anth64
1fb1d41824
refactor: use WildcardModRegistration and ModRegistration in dispatch
2026-06-03 18:54:25 +02:00
anth64
96306b4903
feat: add WildcardModRegistration and ModRegistration structs
2026-06-03 18:50:58 +02:00
anth64
1514c50d4e
feat: implement PlayerChat hook and dispatch logic
2026-06-03 07:45:45 +02:00
anth64
4cbfdb8be3
refactor: remove underscore prefix from private fields
2026-06-02 23:28:40 +02:00
anth64
93fe059754
feat: add registration dictionary and Register method
2026-06-02 23:24:55 +02:00
anth64
d586878325
feat: add CommandRegistration struct
2026-06-02 23:22:40 +02:00
anth64
b60b0b98b7
feat: add CommandHookDelegate
2026-06-02 23:19:02 +02:00
anth64
7e47f8d409
refactor: add CommandName parsing and pack flags into bitmask
2026-06-02 23:09:03 +02:00
anth64
ce851148f0
refactor: rewrite CommandData as struct
2026-06-02 22:54:34 +02:00
anth64
d3c7bc87cb
chore: bump game dependency to 1.22.3, version to 0.1.0
2026-06-02 22:54:00 +02:00
anth64
d0746404cd
build: upgrade target framework to net10
2026-06-02 22:53:55 +02:00
anth64
1a59643c02
Added CommandData class to keep track of who sent the command and what the whole command was.
2025-12-02 22:35:41 +01:00
anth64
37bda94134
Enforce server-side loading.
2025-12-02 22:01:06 +01:00
anth64
b3e201a7e9
add mpl 2.0 license
2025-12-02 21:43:46 +01:00
anth64
d1e9f6ab23
Initial commit.
2025-12-02 21:21:13 +01:00