IBan
IBan is a simple, but highly efficient banning plugin. Unlike some ban plugins, IBans uses a Sqlite database to log/write faster without any annoying ticks per second drops. This plugin was mainly developed because i got tried of not being able to view someones ban information with a simple command.
- Permission support
- Simple GUI
- SQlite support
- MySQL support
- Import
- Export
- Lightweight
- Console freindly
- Config file
new: /iexport <ban/ipban>(exports bans into bukkit format)
new: /iimport <Essentials/Bukkit/BukkitIP> (imports bans)
new: /itempban <amount> <timetype> <reason> (Temp bans)
TimeTypes: s(second), m(minute), h(hour), d(day), mon(month)
- iban.ban: Permission to use /iban
- iban.unban: Permission to use /iunban
- iban.check: Permission to use /icheck
- iban.ipban: Permission to use /ipban
- iban.ipunban: Permission to use /ipunban
- iban.ipcheck: Permission to use /ipcheck
- iban.ipremove: Permission to use /ipremove
- iban.kick: Permission to use /ikick
- iban.help: Permission to use /ihelp
- iban.reload: Permission to use /ireload
- iban.admin: Permission to use all commands
- iban.export: Permission to export bans
- iban.temp: Permission to use tempbans
- iban.import: Permission to importbans
Nothing?
- when a player is banned twice in a single session it writes an error -fix coming soon!
PLEASE NOTE: This plugin is currently being fully rewritten!
@mrchasez
Well i guess it's sort of spammy, but there is no way around it if you want to create new lines. It's not really that bad, your server probably logs 50 lines per 10 seconds from player commands/msg's alone haha.
Anyways, I've added essentials support and worked out all the bugs i should of worked out a long time ago. Thanks for helping me test this plugin, I should of taken more time on it rather then rushing. I will completely rewrite this plugin next week, for now use this "stable" build :P
@bob7l
I can't unban myself from my dev server! However strangely enough i found something out. The entire ban message is pasted to the console http://pastie.org/5470071 that seems kind of spammy
@bob7l
We just need it fixed and working, default setup don't work well enough for us.
@EpicMan21
The plugins performance wouldn't change at all if i did. All data entries are loaded directly to a local hashmap (Multimap soon)
Just add MySQL support to ToDo
@mrchasez
Yup, looks like i gotta dump more time into this plugin. I'll probably convert over to maps and work on some more efficient code because my current code is just a complete mess haha..
Edit: I'm going to use a cool little multimap method i setup for my region protection plugin :P (New version might be up some time this week)
@bob7l
Apparently, this plugin don't ban people at all most the time. They can instantly just re-login. Unbanning is also a big pain which don't really work. /unban /ipremove can't unban myself on my temp server. Even used /pardon.
Unfortunately i have to stop using it until these bugs are fixed, and will have to use Essentials basic banning.
@bob7l
Yeah that would be good.
@mrchasez
That happens when 2 of the same keys objects are loaded at ounce (Example: ban the same player twice in a single server session) try to reload the server. I will be making a fix for this annoying error soon, very sorry for the error .
(I might also add IP banning through essentials API so you can ban offline players :) I don't log IP's on join because this plugin is meant to be resource friendly :D
@bob7l
Ok a real problem, IPbans don't work.
I went on my dev server ipbanned myself and could relogin instantly.
Errors
http://pastie.org/5451442
@bob7l
I understand, you have already done a lot.
But merging ipcheck and icheck would be good.
Usernames being banned with IPban would also be good.
@mrchasez
Ohh i see what you mean, I decided not to add that when a player is first banned. Might not be able to add a fix for awhile, been busy with hawkeye.
@bob7l
The config is fine, everything is working the ingame ban message is fine.
But when a player is banned all they see is the reason. No orange squigly lines.
Do you have an answer to anything else ;_;?
@mrchasez
You reset the config right? Also, if any of the strings are not withing the ' ', the plugin will most likely print an error and reset the YAML file.
@bob7l
You are my hero. Ban plugins are like ex-wifes of our server. Its so hard to find the right one and if we do find a decent one it stops getting developed or support is horrible.
I don't want to brigade you, but my staff have given me some more things to talk to you about. Could you automatically ban a username when an IP is banned? This is because if we ban someones IP and they use a proxy they can just keep logging in until we ban the name too. Making this automatic would be amazingly more simpler for us.
The last thing we have is instead having two commands (/icheck and /ipcheck)
Can you please make that one command? "Doxy is banned" "Doxy is NOT IPbanned".
Just again for the easyness of it, when we go though so many bans and appeals a day it makes our lifes easier. Thanks!
I have noticed now that the cool ban-format isnt working. When i test ban it just says the default reason and none of the ban format setup.
@mrchasez
Ok finished all your request i believe: http://dev.bukkit.org/server-mods/iban/files/7-iban-v1-3/
The config may be a bit difficult, i should of used stringlist instead of just basic strings.
Edit: Make SURE you reset the config file
@bob7l
Make sure you have {bannedby} aswell.
So "Mrchasez banned bob7l for reason: Not developing fast enough!"
Yes an export command is highly needed if not able to use the official files.
@mrchasez
Sadely i cannot add the ban directly to the official ban files due to essentials overridding the ban messages. I will most likely make an deport command, so you can easily import all your bans to a local log file and paste it within your bans file. I actually don't even need a sqlite due to my current loading method (Load everything to sqlite to my hashmap)
Broadcasting is a defiant yes
And for your old custom ban request. I'll make a string list with things like {playername} you have been banned because {reason}.
So the format would look like banmsg: - banned {reason}! - ban appeal - bla bla bla
We'll see how it turns out! I might be able to do some work tonight.
@bob7l
I sort of have another issue. Can you possibly (Please!) remove the database and ban directly to the official ban files? Would really make our life easier, and if this ever breaks or we switch plugins all the bans go "poof".
Feature request 3: Make ban messages global! My community love seeing ban messages and watch spammers get banned, now they don't even notice it. At least make it configurable in the config. These are things we need a lot, if you can add the stuff i have mentioned this plugin would be perfect.