MCLV
6bc9b99323
Wildcard (subnet) ban support for IPv4 & IPv6 with trailing * notation ( #28 )
...
This enables banning entire subnets or address groups, with documentation and usage examples updated in the README. No changes to command structure or database, all bans work with standard xban commands.
2025-10-28 20:53:29 +01:00
luk3yx
c850d11a3c
Use JSON in xban.db ( #26 )
...
This should prevent bans database from resetting with a "function has more than 65536 constants" error. Older databases should still be loaded correctly.
Also makes use of minetest.safe_file_write to avoid data corruption.
2023-09-07 17:38:26 +02:00
sfan5
37cdbf014e
Fix list of names in log message upon (un-)banning
2019-11-05 16:49:50 +01:00
Thomas Rudin
e937f5ff67
Add /xban_cleanup command to purge unbanned entries ( #20 )
...
Add documentation for /xban_cleanup
2019-06-06 18:54:46 +02:00
SaKeL
3270942a0f
Replace deprecated minetest.setting_* functions ( #16 )
2018-07-22 13:20:35 +02: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
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 Martínez
2903f6ae5a
Fix spurious warnings on database save.
2015-11-01 14:04:33 -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 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
8695476beb
First commit.
2014-05-19 23:23:43 -03:00