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.
@jesseke55
Ok, i have set you up as maintainer on the project
I am interested to update this plugin to the newest version of minecraft :D
(maintain)
I no longer maintain this mod, if you are interested in taking this mod over, contact me, and I will turn it over to you.
Can you please make this work with 1.7.9?
If I want to unban someone player but he have nothing.
I have a suggestion.
This plugin will auto spawn a file to save some deleted data which you can unban and rollback your player data.
Also, I dont want my player will get item of the banned player because thats not fair for other player because he can suddenly become strong which I think the way of just delete their chest.
- Remove player data form AdminCMD.
- Remove player data form Factions
- Remove player data form HeroChat
- Remove player data form SimpleSpleef(statistics)
- Remove player data form AuthMe
- Remove player data form xAuth
- Remove player data form Ultimate SkyBlock
- Remove player data form mcMMO
- Add support Ultrabans
The temp bans remove everyting :/
@Asipdkroks
Thanks for the suggestion Asipdkroks. I will take that into consideration when adding support for Towny and Factions.
@ZolaII
Hello Zolall, Yes, there will be a 1.7 release. I have slowly been updating this to have an API and other features, just work has been keeping me busy. As far as i know, the 1.6.4 version should work with 1.7.
Perhaps since I see your adding Towny, allow also for factions, so if they run a faction it can be configured to auto-disband or set to officers(if any) in the faction automaticly get the leader and also if they're in a faction it just automaticly removes them from it.
Hi,
Will there be a release for CB 1.7.2?
Thanks, Zola II
think you can get lockette to be removed if owned by banned players? cause i thought i might as well let the other players in my server raid their house if they got banned
On a side note that I just thought of.
If you use essentials to handle your bans, the ban reason will be deleted by BanSync. The user will still be banned, because they are added to the banned-player.txt file. When the user joins they will see "The Ban Hammer Has Spoken" instead of the reason you typed in.
Hello All, http://dev.craftminecraft.net/plugins/bt2 I have released a beta build, Build #31. It is for Minecraft 1.6.4.
This beta fixes the essentials issue, it also just deletes the players yml file.
There are 2 bugs that I am still dealing with. WorldGuard hook crashes the plugin if you don't have worldguard installed. If you dont have worldguard, just disable it in the bansync config, and you wont have any issues.
The 2nd issue I am still dealing with is PlotMe. When the plot is deleted, it is really deleted, but players cant claim it again. If the server is restarted the plot can be claimed, but when I try to remove the plot, it crashes the plugin. I sent a message to the developer of Plotme asking for some help since his code is not open source.
I have submitted the file to Bukkit for approval, but if you want it now, get it from the link above.
Check for an Update within the next 24 hours on here once bukkit approves it, or on my CI sooner. Working on fixes now for the PlotMe, Essentials, and a few other bugs.
Sorry, wanted to get it sooner, but so many thing going on in my life at the moment.
Just checked myself and it only Clears the Plot but not Remove the User from it... so other users Cannot Claim It. can you add a option in config to RESET (Clear + Remove User) the plot? instead of just CLEARING it?
Also can you add a option to execute all the BanSync stuff AFTER the player is banned? as some people have multiple plots on my server and it delays like 30 sec (sometimes more) between the /ban command and the player actually getting banned...
Also can you fix the "Only-Players-Online-Are-Cleared" bug?
Essentials must have changed something, i will get a fix for this out as soon as I can. Sorry for lack of updates, been working on so many other projects :(
@add5tar
Same here, I updated to the Pre version of Essentials and now whenever I try to use /bansync removeuser [user], it just tells me "An internal error has occurred" and doesn't remove anything.
Please fix this
Great plugin! It's been incredibly valuable for us :)
Only problem is we recently upgraded to Essentials-Pre2.12.1.2 and now BanSync compatibility is broken: http://pastebin.com/nxWvjWrQ
Any chance you could make a dev fix for this before Essentials-2.12.1.2 is out? Thanks! :D
@wilsondc15
Ok, i will add that too the list.
As well as everything else, i have been planning out a re-write of this plugin to try to address a lot of the underlying problems as well as come up with an api that other plugin developers can use to automatically hook my plugin. Thank you all for your support with this plugin.