Commit Graph

130 Commits (master)

Author SHA1 Message Date
shivajiva101 365990264e
adds active ban caching
minimise server impact in prejoin event for banned players by caching active bans on server start
2017-12-04 22:38:05 +00:00
shivajiva101 0f2855883d
add missing ip check on prejoin event 2017-12-03 21:38:44 +00:00
shivajiva101 3d6d03f04c
add ban_dbx command 2017-12-02 17:51:07 +00:00
shivajiva101 c2e500d3ed
add dump db to xban2 file format
Allows server owners to try the mod without losing any data generated whilst using it
2017-12-02 16:57:15 +00:00
shivajiva101 75cfac38af
modify prejoin for new single ban record return 2017-12-02 00:59:11 +00:00
shivajiva101 d829e2bc0a
fix crash from previous commit 2017-11-30 02:13:06 +00:00
shivajiva101 e3945a52d8
assert warnings if record creation fails
Restructure ban/unban commands to validate the ban/unban events.
Add quick ban check function to improve response.
Fix display records when using an ip address.
2017-11-29 14:57:30 +00:00
shivajiva101 213fc4ec41
fix incorrect query
search records by id when creating a table of accounts to kick on ban
2017-11-25 19:37:07 +00:00
shivajiva101 3effc6eccf fix crash in expiry mechanism 2017-10-21 20:17:55 +01:00
shivajiva101 84009e6f73 Update init.lua
better solution for prev commit
2017-10-10 19:37:59 +01:00
shivajiva101 5bc91b6fab Update init.lua 2017-10-10 18:14:27 +01:00
shivajiva101 311971a862 Update init.lua
pass false as a string in unban query
2017-10-10 17:50:44 +01:00
shivajiva101 4e91fa5e47 tempban time format
change to accept lower-case for everything except month which still requires M
2017-10-10 16:56:37 +01:00
shivajiva101 3c9e71b9a4 fixup tabs 2017-10-10 14:28:32 +01:00
shivajiva 4f269adb49 switch to hard tabs 2017-10-10 14:17:04 +01:00
shivajiva101 8406f734a9 Update init.lua
fix expiry check in pre-join event by testing for zero
set global sqlite3 to nil instead of empty table
2017-10-09 09:06:39 +01:00
shivajiva101 4d689812b9 Update init.lua
prevent other mods from using the global sqlite3 library
2017-10-07 20:19:36 +01:00
shivajiva101 b3f13058f4 add db:exec wrapper 2017-10-02 20:57:55 +01:00
Ezhh 83acd774ca Update readme (#1)
* Update readme

* Update readme
2017-09-30 01:37:26 +01:00
shivajiva101 a43d70d15a Update init.lua
fix /ban_wl command
add ts where instead of using os.time() in format
2017-09-29 17:31:14 +01:00
shivajiva101 7a0b24af29 Update README.md 2017-09-28 14:23:25 +01:00
shivajiva101 f10ee5bdf6 fix examples not displaying correctly 2017-09-28 14:14:28 +01:00
shivajiva101 90c7c72a3f Create LICENSE 2017-09-28 13:34:01 +01:00
shivajiva101 51cce419d4 Update README.md 2017-09-28 13:23:20 +01:00
shivajiva101 8ebc26b991 Create schema.md 2017-09-28 12:58:51 +01:00
shivajiva101 ae4a12172e Update README.md 2017-09-28 12:56:33 +01:00
shivajiva101 95811eb644 Update README.md 2017-09-28 12:55:40 +01:00
shivajiva101 edae42f944 init.lua
initial commit
2017-09-28 12:51:01 +01:00
shivajiva101 ba4f40bbaf Create mod.conf 2017-09-28 12:48:02 +01:00
shivajiva101 206c4d0caf Create README.md 2017-09-28 12:47:12 +01:00