[Mod][WIP] Auto kick/ban for many login attempts [too_many_logins]
Hello MineTest community. I'm doing my first attempt at a server mod, which will be my first attempt at a MineTest mod in general.
== Begin off-topic ==
My experiences in Lua started with the ComputerCraft mod for MineCraft, and I seem to have done very well with it there, so carrying over the experience seems to have been working so far on this code I've made.
== End off-topic ==
If the topic's subject line is too brief for you, I'll try to help explain it a little more:
This mod is made for automatically kicking (banning when repeat offender) when an IP address either logs in with too many accounts (just a kick), or when they log in too many times (configurable) within a specific time span (overrides "too many accounts" check; kick or ban; time span is configurable).
I'm having some difficulty with figuring out parts that would actually work with servers (and I'm getting a little bored searching on the forums for answers that are not showing any results in my search terms).
This is what I currently need some help with:
This is what I might need help with later:
This is what I might (or should) want to do later:
Currently targeted/tested MineTest version:
0.4.8 stable (not tested since before posted)
Community tested MineTest versions and results:
(none)
Current version:
0.1 (without a license! See "Random notes" at the end of this post) Download
[spoiler=Old version information]too_many_logins.zip -> WIP-0.1 | Initial release, bad intro to MineTest[/spoiler]
Second one without the bulky license, or any license for the matter (help please!), logging
Help is apreciated, and if you helped (with constructive criticsm, pointing to things I overlooked, or something else significant) I might add you to the credits! (License changing is also included in the help that is needed)
Random notes:
At 2013/12/30 17:13 - Having an extremely difficult time with choosing a BSD-family or GPL-family license. Help appreciated.
At 2013/12/30 18:25 - I need some help with making sure I don't submit posts too soon without going through my active edit spree.[/aside]
== Begin off-topic ==
My experiences in Lua started with the ComputerCraft mod for MineCraft, and I seem to have done very well with it there, so carrying over the experience seems to have been working so far on this code I've made.
== End off-topic ==
If the topic's subject line is too brief for you, I'll try to help explain it a little more:
This mod is made for automatically kicking (banning when repeat offender) when an IP address either logs in with too many accounts (just a kick), or when they log in too many times (configurable) within a specific time span (overrides "too many accounts" check; kick or ban; time span is configurable).
I'm having some difficulty with figuring out parts that would actually work with servers (and I'm getting a little bored searching on the forums for answers that are not showing any results in my search terms).
This is what I currently need some help with:
- Testing and constructive criticism
This is what I might need help with later:
- Implementing chat commands for editing the variables while the server is running
Notes: probably extremely dangerous if implementation used incorrectly; may need "acceptable ranges" for input - Loading (and saving if chat commands are implemented) configuration from a file
This is what I might (or should) want to do later:
- Encaspulate parts of the code for slimmer, more readable code
- Determine a column number for hopefully making cleaner code
- Document the code better
- Change the license (I need help on this!)
Currently targeted/tested MineTest version:
0.4.8 stable (not tested since before posted)
Community tested MineTest versions and results:
(none)
Current version:
0.1 (without a license! See "Random notes" at the end of this post) Download
[spoiler=Old version information]too_many_logins.zip -> WIP-0.1 | Initial release, bad intro to MineTest[/spoiler]
Second one without the bulky license, or any license for the matter (help please!), logging
Help is apreciated, and if you helped (with constructive criticsm, pointing to things I overlooked, or something else significant) I might add you to the credits! (License changing is also included in the help that is needed)
Random notes:
At 2013/12/30 17:13 - Having an extremely difficult time with choosing a BSD-family or GPL-family license. Help appreciated.
At 2013/12/30 18:25 - I need some help with making sure I don't submit posts too soon without going through my active edit spree.[/aside]