Commit Graph

57 Commits (master)

Author SHA1 Message Date
Gabriel Pérez-Cerezo 7fd89ae14c made moderators afk by default 2021-12-25 10:49:33 +01:00
Gabriel Pérez-Cerezo dc0083230b add mechanism for moderators to announce they are afk. 2021-04-25 22:14:52 +02:00
Gabriel Pérez-Cerezo 5c494aa7fa Announce new players to moderators 2021-04-25 16:58:17 +02:00
Gabriel Pérez-Cerezo 8d28358c67 require ban priv 2021-03-09 21:53:50 +01:00
Gabriel Pérez-Cerezo 7202b53739 Add setting to disallow new accounts while no moderators are online 2020-11-11 00:01:41 +01:00
Gabriel Pérez-Cerezo 2f1e86fcf2 Add /xr short command and command to set server password
Server password can be set to declare a state of emergency while under
attack from trolls coming from wildly different IPs.
2020-04-24 12:53:45 +02:00
Gabriel Pérez-Cerezo 32f021562e Revert "Revert "Update to 5.0 auth.""
This reverts commit ddf3efedf2.
2019-12-20 13:56:38 +01:00
Gabriel Pérez-Cerezo 0725c6f589 Add removal of old unineresting records. 2019-12-20 13:54:21 +01:00
Gabriel Pérez-Cerezo ddf3efedf2 Revert "Update to 5.0 auth."
This reverts commit 3b70045365.
2019-06-29 09:51:21 +02:00
Gabriel Pérez-Cerezo 555f4089d1 Do not display name of current player in alt account list 2019-06-29 08:24:48 +02:00
Gabriel Pérez-Cerezo 9456ffb8db Merge https://github.com/minetest-mods/xban2, Cleanup function
Modify cleanup function to remove only uninteresting entries, not only
not banned users. This makes the function more suitable to an xban mod
where ban is not the only type of entry available.
2019-06-29 02:22:11 +02:00
Gabriel Pérez-Cerezo c6c91787e0 Various small improvements
* Removal of old ip addresses (default: 1 Week old)
* No display of IPv6 addresses in /xban_record
* New /xkick command
* Alt accounts always get shown when running /xban_record
* /xban_record now requires kick priv, not ban.
2019-06-29 01:59:45 +02: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
Diego Martínez 3b70045365 Update to 5.0 auth. 2019-02-12 16:53:03 -03:00
Gabriel Pérez-Cerezo 589d489fb9 Fix expiry date 2018-12-23 10:46:00 +01:00
Gabriel Pérez-Cerezo db85680c66 Merge branch 'master' of bananach.space:xban2 2018-12-23 10:44:47 +01:00
Gabriel Pérez-Cerezo 22b2214a54 fixed undefined value 2018-12-23 10:42:23 +01:00
root 5b42a8d018 Merge https://git.bananach.space/xban2 2018-09-27 23:57:13 +02:00
Gabriel Pérez-Cerezo d42923c85f Added alt-accounts to /xban_record
/xban_record now returns a list of other names used by the player.
2018-09-26 11:29:55 +02:00
root 80b62f7495 Merge https://git.bananach.space/xban2 2018-09-24 01:46:36 +02:00
Gabriel Pérez-Cerezo 563e0a7bca Fix wrong time listing in /xban_record, use the same format as gui 2018-09-23 16:49:33 +02:00
Gabriel Pérez-Cerezo bbc0fb55c6 Added option to add notes to criminal record, map ip to time
The option to map IP address to time will make it easier to delete
personal information after a certain time, since the IP records can be
expired after a certain time if the player has commited no large
infractions. Also, this would prevent players with dynamic IP
addresses from being accidentally banned because of a previous owner.
2018-09-23 16:09:44 +02:00
Gabriel Pérez-Cerezo 3c0d10714b Merge https://github.com/minetest-mods/xban2 2018-09-23 15:49:41 +02:00
root 027897390b Merge branch 'master' of https://github.com/minetest-mods/xban2 2018-09-14 16:59:07 +02:00
SaKeL 3270942a0f Replace deprecated minetest.setting_* functions (#16) 2018-07-22 13:20:35 +02:00
Gabriel Pérez-Cerezo f1adf89411
added feature to set properties 2018-02-19 16:26:44 +01:00
Gabriel Pérez-Cerezo 86f6923b72
Added reason to unban, documented API changes 2018-02-16 14:24:27 +01:00
Gabriel Pérez-Cerezo db0f91aa0a
Added support for non-ban criminal records 2018-02-15 20:46:43 +01: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