Commit Graph

16 Commits

Author SHA1 Message Date
Linden
fb2225e373 chore: add copyright notices to each file
Some people accidentally, mistakenly, and without any malicious intent forget to attribute code from this resource to its source. This change will hopefully assist people, so that they do not make that mistake again.
2025-03-18 18:46:09 +11:00
Malox
6ffc5afd0f refactor(addCommand): send chat suggestions to correct source (#614) 2024-07-12 23:51:32 +10:00
mindiw01
7ecd7dc21f fix(addCommand): longString - empty message (#611) 2024-07-05 17:12:40 +10:00
BerkieBb
64615a671e feat(addCommand): longString (#597) 2024-07-01 11:42:21 +10:00
Linden
fd112ca03c fix(addCommand): catch errors in command handler
+ additional minor changes.
Use DoesPlayerExist native.
Mark addCommand cb as async.
2024-01-17 16:42:26 +11:00
Linden
b06ba2d024 chore: type fixes 2023-07-25 01:59:39 +10:00
Linden
389ed5263d fix(server/addCommand): nil command name on error 2023-04-01 11:25:57 +11:00
Linden
47b8a72527 refactor(server/addCommand): add suggestion on command creation
Delayed commands should trigger the suggestion.
2023-02-22 01:30:52 +11:00
Linden
b47ae9d4fa refactor(server/addCommand): use single command handler for aliases 2023-02-22 01:27:03 +11:00
Linden
4d15b38d02 feat(imports/addCommand)!: update syntax and support param help text
BREAKING CHANGE: First parameter now holds command name(s).
Second parameter is properties, containing (optional) values for help,
restricted, and params.

See #224 for more info.
2023-02-21 19:52:12 +11:00
Linden
d2799075ad fix: types and nil-checks 2022-11-21 21:39:05 +11:00
Linden
a2014502d5 refactor(addCommand): send raw input to callback
Resolves #101, just use a pattern or split the string.
2022-10-25 03:09:12 +11:00
Linden
863ac03ca3 refactor(imports): more type fixes 2022-09-14 16:12:43 +10:00
Linden
26538b8148 refactor(imports): assign modules directly to lib namespace
Mostly a change for improved intellisense with sumneko lua.
Includes some type fixes and deprecation notices.
2022-09-14 01:20:50 +10:00
Jag
3c82b654ff feat(addCommand): Allow multiple groups (#57) 2022-07-12 18:50:01 +10:00
Linden
aeccbece09 refactor: rename imports
BREAKING!
Since the folder name determines the import name (i.e. lib.callbacks), use better names and lowerCamelCase.
2022-02-28 16:30:58 +11:00