Commit Graph

31 Commits

Author SHA1 Message Date
Diego Martínez
3b70045365 Update to 5.0 auth. 2019-02-12 16:53:03 -03:00
SaKeL
3270942a0f Replace deprecated minetest.setting_* functions (#16) 2018-07-22 13:20:35 +02:00
Diego Martínez
6738109c15 Create README.md 2017-04-24 04:44:47 -03:00
Diego Martínez
89303b4a01 Add .luacheckrc and fix warnings. 2017-02-17 02:30:30 -03:00
Diego Martínez
97fb251ad9 Better diagnostics in case of DB load error. 2016-12-11 17:57:29 -03:00
Agaran
877e550787 Filter fields submission by privs. 2016-11-26 16:49:12 -03:00
Auke Kok
33e3fcd15b Create mod.conf 2016-11-18 19:01:20 -03:00
Diego Martínez
320abd34de GUI: Make /xban_gui only usable by players with ban priv. 2016-10-20 10:24:44 -03:00
Diego Martínez
49db5aa888 Add whitelisting. 2016-10-19 20:19:16 -03:00
Diego Martínez
63e3600352 Disallow banning already-banned players.
Fixes #9.
2016-10-10 03:58:53 -03:00
Diego Martinez
974b47f8f6 Make the GUI a little better. 2016-05-05 07:53:49 -03:00
Diego Martínez
2903f6ae5a Fix spurious warnings on database save. 2015-11-01 14:04:33 -03:00
Diego Martinez
5d91fb66ad Add bower.json. 2015-10-31 11:16:46 -03:00
Diego Martinez
932e67676b Fix temporary ban checker not being registered. 2015-10-26 20:09:04 -03:00
Diego Martinez
0314ced292 Add source of ban to get_record. 2015-10-26 19:51:46 -03:00
Diego Martínez
76187dbf21 Change chatcommands to return success flag and message. 2015-01-08 13:38:43 -03:00
Diego Martinez
678af46dd7 Don't store the IP of the player if get_player_ip fails. 2014-12-26 23:27:48 -03:00
Diego Martínez
dc874b5382 Remove leftover debugging statement. 2014-07-16 23:52:24 -03:00
Diego Martinez
8fa41861dd Store last time player logged in into DB. 2014-07-09 06:46:58 -03:00
Diego Martinez
7923c393e9 Add simple GUI to check records interactively. 2014-07-09 06:38:28 -03:00
Diego Martínez
19d92df3bc Fix /xban_record showing last banned time for all entries. 2014-06-27 17:52:59 -03:00
Diego Martinez
ed621c5ce0 Add v2 database importer. 2014-06-26 06:52:38 -03:00
Diego Martinez
75c1be2f8e Do not add name and IP to database in on_prejoinplayer. 2014-06-17 03:22:29 -03:00
Diego Martinez
e00b331554 Oops. 2014-05-23 08:52:15 -03:00
Diego Martinez
a79e7a6419 Save last position of banned users.
Requested by shadowzone and VanessaE.
2014-05-23 05:14:28 -03:00
Diego Martinez
ccab1f35c7 Add command to list players' ban record. 2014-05-23 04:53:11 -03:00
Diego Martinez
d47e87e390 Allow importing old databases.
Currently:
- Minetest (`ipban.txt')
- xban v1 (`players.iplist')
2014-05-21 07:07:37 -03:00
Diego Martinez
51097eee6b Fix crash trying to format nil as string.
Reported by CWz.
2014-05-20 12:56:07 -03:00
Diego Martinez
2b51822b3e Remove DB backup.
Haters gonna hate.
2014-05-20 00:10:55 -03:00
Diego Martinez
7409fd1be8 Changed DB format from 2 space indent to tabs.
Requested by ShadowNinja.
2014-05-19 23:40:11 -03:00
Diego Martinez
8695476beb First commit. 2014-05-19 23:23:43 -03:00