RangeBans
RangeBans - Ban IP Ranges;
Version: v1.03
This plugin was mainly made for offline-mode servers, where you cant really deal with dynamic IPs users.
Features:
- Ban IP Ranges, hostnames
- Except nicknames from these bans or use them as whitelist
- Support for 'wildcards' (ex. 192.168.*.*, 90.120.128-192.*)
- Permissions
Download RangeBans for 1.2.x!
Source and progress
Installation, Configuration:
All you need is just to simply grab .jar file into /plugins folder.
Additionally, u can set some values via config file (generated automatically):
- broadcast-kicks: (true/false) Broadcast a message to operators player with banned IP range tries to join the server
- broadcast-passes: (true/false) Broadcast a message to operators when player passes range ban due to an nickname exception
- ban-msg: Message to show to banned player, supports colorizing
- use-hostnames-as-whitelist: (true/false) Should plugin use hostname bans as whitelist?
Bans and exceptions are stored in .txt files.
Commands, screenshots:
How to check somebody's IP range?
https://apps.db.ripe.net/search/query.html
For example, for inetnum: 192.168.128.0 - 192.168.192.255,
correct command would be: /rb ban 192.168.128-192.*
or simply /rb ban 192.168.128.0 - 192.168.192.255
Permissions:
- rb.* - full access
- rb.reload - reload the plugin
- rb.ban - ban and unban both IP Ranges and hostnames
- rb.exception - add/remove exceptions
- rb.check - check somebody's IP
- rb.list - list bans/exceptions
- rb.broadcast - receives message when a player is found on bans/exceptions list
Version 1.03
- Hostname bans are now optional - no more freezes on playerjoin
Version 1.02
- Performance tweaks
Version 1.01
- Fixes critical bug with wrong IP parsing
Version 1.0
- Permissions!
- Feature to ban hostnames (ex. countries, providers - easier)
- Added config option to use hostname bans as whitelist (ex. only whitelisted countries can join)
- Updated to 1.1-R3, still compatible backwards
- General code tweaks
Please update.
Is this plugin still on update? because its important to me know. Please message me if the update comes up. Thanks!
no update anymore ?
1 week later.. :-(
Hello, How long is the connection to the server to remove your plug - the entrance to the game speeds up.
RangeBans for 1.2.3-R0.1!
Could you develop a command that:
- 1) Grabs the users's id "/rb ip [name]"
- 2) Then ban's that ip with rb range "/rb range [ip]"
Instead of having to type both in. Just make it one quick command?
@hqSparx Awesome! :D Also, can you add a feature that will log all the players' IPs. Basically, if you can add most of the features from a plugin called EasyBan (which looks like it's not getting updated soon), this would be the best ban plugin yet :3 Sorry for bothering you, but thanks for making this plugin!
@badda2k
will update it tomorrow :f check out bukkit forums if you need it now, somebody posted recompiled version
Dang, there goes this epic plugin :/
Will this get updated? :3
Awesome plugin, but just a recommendation:
There has to be a quick cmd, imagine like if someone is griefing, it shloud be a fast cmd to ban him, like /rb ban nick And automatically to ban his IPs
@badda2k
@SynMonger
These features are now up :)
Where's the permissions nodes? My mods need to be able to use this.
How do you ban a provider? If I get an answer, then I will use this plugin :)
If possible could you add the feature to ban both the ip and nick in one command. So instead of having to do, /rb ip Joe, /rb ban 127.0.0.*, /ban joe Just to ban Joe, have the command /rb ban do all that.
There are times when I have to pass out bans in bulk, and it would make it really convenient.
Interesting, i find this to be very useful :)