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!
@bob7l
One of my admins said:
"Can you tell the developer that /icheck on IPbanned people results in an 'internal error' message? thx"
@bob7l
Your "Commands" image.... it shows the command /unban...
I edited the picture to show /iunban... the correct command...
@mrchasez
What...?
@bob7l
http://i1139.photobucket.com/albums/n546/mrchasez/xMbY7.png
Roughly changes /unban to /iunban
Fixed/added your request (Besides tempban)
http://dev.bukkit.org/server-mods/iban/files/11-iban-v1-5/
@Sylar6281
I feel for a plugin designed for performance, wont accept tempbans.
@bob7l
Yeeeaaah 1 second might cause an issue or 50 lol.
Something to possibly consider for the future since you're adding a refresh interval: tempbans :)
We are really excited about this system. It works perfectly and we've been looking for months for a SQL based ban system. Please let us know if you need a network to test on and we would be more than happy to oblige.
@Sylar6281
Ahh, someones using the mysql to their advantage. I guess I'll add an interval timer for people who want to "refresh" their databases. Of course the default would be "off", but it'll be fully configurable! I might add this later today or tomorrow, just please do not set the interval timer to 1 second lol.
@mrchasez
Oops xD
Is there a way to have the plugin periodically check the SQL DB every x number of seconds/minutes? I ask because I have this implemented on a seven server network, with all servers pointed to the one SQL DB.
This works very well, but the plugin only updates on reboot. Once I reboot and it pulls the updated ban list from the SQL DB it's synced with the other servers. Otherwise, I have to manually goto that server and type /iunban name.
Also, an exemption permission node would be cool too if that's a possibility, so that lower level admins wouldn't be able to ban/kick higher levels admins, etc.
Really nice work on this! Thank you very much!
@bob7l
I think the issue is that we was using /unban and not /iunban.
Your picture of commands shows /unban not /iunban. I always thought it was
strange it was the only command with no I. Just merge /iunban and /ipunban.
Having two different commands is useless, why would we want to unban a name
but not he IP or vice versa?
The issue seems to be fixed when using iunban which you seem to deny exists. Since you hide in permissions section xD
@mrchasez
Are you using mysql/sqlite? It's possible your mysql somehow failed to write the entries, and it was just removed from the map. Or.. It's possible you used /unban instead of /iunban. Orrrr, it's possible you ipbanned the player and your attempting to use /iunban on them. I will probably merge ipunban, and ipban together because IP banning seems essential and it's pointless to have it configurable to turn off lol..
Edit: Did many test, both mysql, and sqlite. No issues from here.
Edit: The LAST possible issue i could think of would be reboots maybe(/reload, not restart).. I don't use any statics for my database, just my Util so that is probably not the case..
@bob7l
Unfortunately we have another major issue that needs fixed asap.
Someone gets banned, it works. Someone gets unbanned. It works.
Then server restarts, they are banned again. We can't unban someone because
everytime we do the server restarts and they are banned again ;(
Edit: I just tried to recreate this on my developer server and couldn't. However it is happening on a few players.
I will move all plugins to my dev server and try again.
Edit #2: I tried everything and couldn't recreate this.
@mrchasez
Well now that i support MySQL, i want users to be sure their mysql is accepting the entries rather then discarded them, or if the entries weren't added to the hashmap correctly. It's more of a debug feature.
@bob7l
On reload or restart.
http://pastie.org/5483046
Is that really needed for it to display that?
@mrchasez
Fixed and reuploaded! http://dev.bukkit.org/server-mods/iban/files/10-iban-v1-4/
Hopefully that's the last of the bugs!
@bob7l
Yeah this is an issue. I am trying to use my own colors and stuff but everytime i /ireload the config resets. Can you please fix this so we can use it already ;_;
Edit: I reloaded using a third party plugin and the config didn't reset, yay. Hopefully it dont reset when server restarts.
@mrchasez
I've configured the config to set default values for now on. You'll probably notice "ban-format" is a bit messed up because of this, but it still works perfect! Please report any bugs, i tested this on my live server for about 6 hours (Both IP ban, and ban) without any problems at all.
@bob7l
Brilliant! Will test it out soon.
Do i have to reset my config again?
Recode done! Amazing performance, and mysql support! No more of those damn bugs!
http://dev.bukkit.org/server-mods/iban/files/9-iban-v1-4/