Brandon Sturgeon
fe5aedc7c9
Simplify the purpose of PostCommandCalled ( #87 )
2022-09-14 16:46:17 -07:00
Brandon Sturgeon
e4272fe742
Add ULibPostCommandCalled ( #80 )
...
* Add hook for post command called
* Document the hide param
* Change tenses in defines
* Update versions
* Fix version numbers
2022-08-04 20:53:15 -07:00
Zach P
8f86a5a188
Merge Master branch updates into Experimental Branch ( #84 )
...
* Update CHANGELOG.md
* Fix Weapon SetClipErrors (#76 )
* fix: result isn't used in this context.
* fix: the docs say ply, we use ply.
* perf: we don't need to call that twice.
* fix: printname isn't a name, it's class. localise class.
* fix: fix weapon error if not given.
replace printname with class.
only call getweapon if we can't get it through give.
* fix: Make sure SetClip1 and SetClip2 actually exist before we call them.
* WTF (#63 )
* Update CHANGELOG.md
* Update ulib.build
* Update addon.txt
* Update defines.lua
Co-authored-by: Joshua Piper <32164094+JoshPiper@users.noreply.github.com>
Co-authored-by: Deyvan <51455765+Deyvan@users.noreply.github.com>
2022-08-04 20:27:34 -07:00
Joshua Piper
d325fc72d2
Migrate UCL user store from flat file to SQLite. ( #74 )
...
* feat: add db creation and user saving
* fix: change protected term (group) to usergroup
* fix: sqlstr only escapes single quotes
* feat: load the users.
* chore: thonk?
* fix: when adding a user, only save once.
* feat: make userInfo opt
* feat: function to delete a stored user.
* feat: save for the remainder of operations
* fix: only try loading from the db if we've not just created it.
* fix: switch to json for an odd sqlite saving error
* feat: properly migrate.
* fix: we should be using the same noMount setting for both read and existance?
* fix(comment): Minor fix for the comment.
* fix: make that local, since we're not calling it for testing now.
* fix: remove the old file write, no longer required.
* feat: add function to delete all stored db users.
* feat: allow db data to be checked on load.
2022-08-04 19:30:34 -07:00
Zach P
ba112668cc
Update CHANGELOG.md
2022-08-04 19:09:48 -07:00
Dmytro
4e3d543a8c
Fix exploit ( #72 )
...
* exploit fix
* Removed useless gsub
2022-08-03 17:18:07 -07:00
Brett Smith
0b162c3a7e
Fix typo in defines
2022-02-11 15:30:39 -05:00
Zach P
f169706575
Update ulib.build
...
Update build date
2022-02-10 17:04:59 -08:00
Zach P
de4ea56a84
Update defines.lua
...
Updated version number
2022-02-10 16:52:29 -08:00
Zach P
ac0b4c7af3
Merge pull request #65 from kekalainen/master
...
Implement CAMI.SteamIDUsergroupChanged hook
2022-02-10 16:50:29 -08:00
Zach P
f1fd786a3c
Merge pull request #75 from JoshPiper/feat/team_picker
...
Team Picker Target Keyword
2021-07-15 16:17:46 -07:00
Zach P
3e76606ec3
Update defines.lua
2021-07-15 16:12:24 -07:00
Zach P
b0c3dc1f11
Update player.lua
2021-07-15 16:10:52 -07:00
Joshua Piper
7c93c6e156
style: Fix code style.
2021-06-25 18:33:46 +01:00
Joshua Piper
810e80027c
fix: name is Name in TeamData
2021-06-25 18:32:13 +01:00
Joshua Piper
8e60e881fc
fix: Fix my inability to spell.
2021-06-25 18:31:19 +01:00
Joshua Piper
84840d3c55
feat: Add @<team> support to getUsers.
2021-06-25 17:58:23 +01:00
Joshua Piper
1d621219bd
docs: Rewrote enable_keywords description for getUsers.
...
Moves each keyword onto its own line, and adds the @<team> keyword.
2021-06-25 17:56:57 +01:00
Zach P
09c4e751a1
Update util.lua
...
Removed deprecated usermessage library calls and replaced them with the more efficient net library.
2021-06-12 16:04:19 -07:00
Zach P
9b4e0f4d4c
Update cl_util.lua
2021-06-12 16:03:30 -07:00
Zach P
050f1a9909
Update messages.lua
2021-06-12 16:03:05 -07:00
Zach P
c5633fe63b
Update defines.lua
2021-06-12 16:02:45 -07:00
Zach P
e08eec2cbc
Update plugin.lua
...
Changed the Initialize hook to a PlayerConnect hook for triggering the addon update checks to avoid the HTTP library failures.
2020-10-27 23:28:47 -07:00
Kekalainen
f42997203d
Implement CAMI.SteamIDUsergroupChanged hook
2020-07-29 20:03:20 +03:00
Brett Smith
e887b40861
Merge pull request #50 from djtb2924/patch-1
...
Fix mistake in comments and docs
2019-01-28 10:22:33 -06:00
Théo
9170c0a307
Fix mistake in comments and docs
...
Player:IsAdmin is for groups who inherit from "admin" group, not "superadmin"
2018-12-05 23:47:27 +01:00
SticklyMan
c44d23fd82
ULib doc revisions should only be added if the functionality significantly changed, or if the method parameters have been modifeid.
2018-05-12 11:12:09 -06:00
SticklyMan
c4366c6db8
Update changelog for recent pull request.
...
Also updates build for version update notification.
2018-05-12 11:09:35 -06:00
Brett Smith
fd9dde571e
Merge pull request #47 from lewez/master
...
#40 & #45
2018-05-12 07:53:55 -05:00
lewez
424bb9d3a0
#40
2018-04-28 18:27:21 +00:00
lewez
7bf9cd6801
#45
2018-04-28 18:27:01 +00:00
SticklyMan
58659ac275
Merge branch 'console-flood'
2018-02-15 23:00:28 -07:00
SticklyMan
b4b70129df
Update changelog
2018-02-15 22:55:36 -07:00
SticklyMan
34f146f9b6
Merge branch 'master' into console-flood
2018-02-11 02:40:34 -07:00
SticklyMan
6db4df49c0
Update changelog
2018-02-11 02:36:03 -07:00
SticklyMan
c89fc4223a
Directly call routedCommandCallback on hookRoute instead of routing through concommands.
2018-02-11 01:45:47 -07:00
SticklyMan
4926b5b9aa
Add ULib.HOOK_ACCESS_REGISTERED to let anyone (XGUI) know when new accesses are registered.
...
Decided to keep the hook "grouped" when multiple accesses are added at once, thus, this callback will have no parameters.
2018-02-04 17:30:02 -07:00
SticklyMan
eda6abdccd
ULib should be calling UCLChanged after registerAccess.
2018-02-04 17:26:09 -07:00
SticklyMan
26b0139044
Verify concommand is registered before attempting to execute it.
2018-02-04 04:32:30 -07:00
Nayruden
ba21d08242
Fixes #41
2017-10-09 09:41:40 -05:00
Nayruden
b0436e5900
Fixes #31
2017-09-19 17:31:48 -05:00
Nayruden
0b4cdd0acb
Finished porting bans to SQLite
2017-09-08 16:57:23 -05:00
Nayruden
794bc65466
Too much carried over, putting back
2017-09-05 17:34:07 -05:00
Nayruden
9df61b641e
Splitting out ban-related functionality into a new file
2017-09-05 17:24:43 -05:00
Nayruden
0313791b62
Fixes #36
2017-08-22 14:14:54 -05:00
Nayruden
06111c3b87
Back to development mode
2017-03-21 15:40:46 -05:00
Nayruden
c3b1d7be47
Release prep
2017-03-21 15:19:55 -05:00
Nayruden
e003c7bf9f
[FIX] Server errors when loading massive ban lists.
2017-03-21 15:16:17 -05:00
Nayruden
6a85b66b2a
Back to dev mode
2017-03-19 13:50:13 -05:00
Nayruden
a3f7257035
Release prep
2017-03-19 13:06:30 -05:00