About BanSync
After you ban a user, what then? Now you have to go around and remove the locks the user has made, their stores, their economy, etc. That is where BanSync comes into play, When a user is kicked from the server, it will check to see if they are banned, and then if they are, it will automatically take care of the rest for you.
Latest Version
Latest Recommended Build:
1.0-b31 (Bukkit 1.6.4)
Supported Ban Plugins
- Vanilla Ban System
- Essentials
- Any other plugin that supports the Vanilla Ban System
- Let me know if this works with any other plugins
Supported Plugins
-
LWC
- Removes Locks that the player made
-
PlotMe
- Removes Plots that the player made
- Removes player from plots where user has been added too
-
Vault
- Drains the players bank account to $0.00
- Deletes the account if supported by your economy
-
Grief Prevention
- Removes protections that the player made
-
WorldGuard
- Removes regions that are owned by the player
- Make sure to disable WorldGuard in config if not using this plugin, or BanSync will not load
-
Essentials
- Removes the players configuration file from essentials
Configuration
Each plugin hook can be turned on / off in the configuration as well as the automatic removal on ban.
Default Configration:
AutoDeletePlayerOnBan: true
EnableLWC: true
EnablePlotMe: true
EnableVault: true
EnableGriefPrevention: true
EnableWorldGuard: true
Commands
-
/bansync removeuser {username}
Permissions
-
bansync.removeuser
- Allows the user to run /bansync removeuser, Defaults to op
Future Plans
- Add configuration file with configuration options
-
Add support for other Plugins
- Lockette
- Towny
- Chest Shop
- Citizens / Citizens 2 / NPCs
- CitiTrader
- Please suggest more plugins that you would like support added too...
- Timeout before sync happens
Source Code
Latest source code can be found on our GitHub page at:
https://github.com/CraftMinecraft/BanSync
Development Versions
Latest unpublished plugins can be found on our development website at:
http://dev.craftminecraft.net/plugins/bt2
License Information
Copyright (C) 2013 CraftMinecraft
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@fireball1725
Please add Deadbolt support :) I love this plugin!
@GingerGeek
Well, the short story is it dosn't support really any Banning plugins. It looks to see when a user is kicked if it was for being banned. This has been driving me crazy and I have been playing with the code to come up with something better.
The new features I have started to work on are: 1. BungeeCord Support - If running more than one server on a bungee network, bansync will communicate with other servers running bansync to clear out the user on all the servers. 2. Timer to clear - To make bansync more automated, i am looking at hooking into ban plugins, such as the Ban Manager, if a user is banned and not unbanned in a set amount of time then bansync will automatically run. (Time and other options will be in configuration) 3. Some type of import utility to read a text file on the server.
I'm still working on adding support for more plugins. Some plugins have been easier than others.
Does this plugin support Ban Manager?
@mrmag518
Hello mrmag518, in reply to your question, no there isnt any specific reason i use Boolean instead of boolean. Your right, i will use the normal boolean in my next release. Just something I wasnt really thinking about.
Thank for pointing it out.
FireBall
Is there a reason for using the Boolean Object instead of the normal primitive boolean?
Using the primitive type will reduce memory expenses, unless you need to use the Boolean object for more methods.
I will look into the APIs for the suggested plugins and make a post later next week with what i found out. I should be able to do some type of import as well, i will look into this as well. Also look out for a 1.6.1 update, i have updated to support 1.6.1
Could you add AdminCmd support? removes AdminCmd homes and remove player data Add where it would work with it's ban mechanics.
Hey, it's possible an option to execute the plugin with an banlist ? Like an import of a banlist into the plugin with "/bansync import banlist.txt" ? I think it's a good idea to dev :p
this is awesome!!! Could you add it so that they could remove essentials userdata?
Add a "Ban/Unban" time, so inactive players get Banned and also Unbanned simply to clear his Logs.
I would like to request it to sync up with LogBlock to rollback the changes a player has made. This would be a nice feature to clean up servers and revert the changes that a banned player has done.
Add to "Future Plans" - Factions (remove from current faction / remove him from his own faction and make one of the mods admin)
So, sorry no update this week, Work has been keeping me busy, more so than normal. Anyway, hopefully next week i wont be as busy.
Thanks, FireBall
what is status regarding serubans support?
@NotYourMother
Right now it cannot, temp bans are full bans, just the plugin that issued it will automatically unban the user when the time is up. I'm trying to hook into essentials and other banning software to know if it is a temp ban or a perm ban.
I recommend that you set AutoDeletePlayerOnBan: false in the conf file and manually remove users that have been banned by using the command /bansync removeuser {username}
Can it discriminate between temp bans (you want the player to come back after they repent their cheating ways!) and perm bans that are for serious griefers and other trolls? Sometimes kids just need to learn their lesson, sometimes they are malicious, and it would be good if there was a way to keep the temp ban player items, so they have a second chance.
HomeSpawnPlus please :D
Shopkeepers would be nice too, if that's at all possible
Does this work with ==== McBans ====?
I suggest you PreciousStones. And can you put a delay? For example a user should be banned for one week to delete their stuff.
@Vikestart
Vikestart, i have a dev build that adds an option to leave the worldguard plot if they are the last owner. I have some more work to do on it before I release it on here, but if you want the dev version you can downlod it from here Build 27
Make sure to delete the old configuration, starting with this build i changed the configuration file around.
Thanks