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.
@Vikestart
Hello Vikestart, I will make those options for you in the next release of the plugin, check back either later today or tomorrow.
Thanks
Could you add the option to remove the owner from the WorldGuard region instead of removing the entire region? I'd like to keep the region because it's in a city.
:O Glad I found this!! :) Thank you
@ChengZi368
@Zarosch
I will add Residence to the list of plugins to support, Lockette is in the list, just haven't made it yet. I will look into QuckShop and SimpleRegionMarket and if there is a way for me to hook them i will add it to the list.
With my new work schedule I have more time to work on my plugins, I am trying to add 1 to 2 items from the list each week so it shouldn't be long.
Thanks
Hi, can you add support for SimpleRegionMarket?
- Zarosch
Will you add Residence and lockette supports??
E:also QuickShop plz
I know people have requested ChestShop, and I have though long and hard on this and would like the input of the people that have requested the ChestShop plugin be supported.
ChestShop does not use a database to store where the shops are, basically when a user clicks a sign it checks to see if it is a shop or not. There is an API and there is 2 ways i can do this.
1. I can make it when a user clicks the sign if the owner of the chest shop is banned the sign will break and the shop will be deleted, i can also probably make it delete the chest, or at least make these options that you can choose.
2. I can store in my own database each chest shop and who the owner is, when the user is banned i can just look at my database and then remove the shop. The only downside to this is it will only work with chest shops that are created after this has been added into my plugin. So old chest shops will have to be removed manually.
So please let me know what you think is better, or maybe if there is an idea i didn't think of.
@add5tar
I plan on doing the Essentials stuff next, should be easy to add that. My plans will be to remove homes and inventory. Vault should already be removing the money.
I took a look at QuickShop, i will have to install it on my test server and play with it, but as long as there are commands to remove shops and look up the owner of the shop i should be able to hook it. Without an API just means more trial and error, but i will add it to the list.
@fireball1725
Working great still! Keep up the great work :)
Another suggestion, could you add QuickShop support too? I can't find any API docs but I'll do some testing today and see if there are any public methods you could work with.
Also, are you currently working on the Essentials stuff? I'd love to have it also delete homes :)
A friend pointed out that the WorldGuard regions will delete the region if the user is added as an owner, even if there are other users added as owner.
I will fix this bug soon, so just a heads up to people if you download the latest build for the WorldGuard support.
Plugin Update:
I finished up some minor changes with plotme and uploaded a new plugin here yesterday that has support for greif prevention, still waiting for it to be approved.
I also started on WorldGuard regions last night, The code is finished, but untested, I will test it tonight.
@fireball1725
Just tried it and it works perfectly! Thanks once again for the ultra fast response and great plugin :)
@add5tar
lol, thanks. Got bored so i took a look at it tonight.
Build 11 will fix the problem with PlotMe, I forgot to check to see if the world was a plotme world or not.
http://teamcity.craftminecraft.net/guestAuth/repository/download/bt2/21:id/BanSync-1.0-b11.jar
There is one problem that I will fix in the next build, PlotMe isn't reloading its config after i delete the plot, so it shows the plot as still owned by the player until the server or the plugin is reloaded.
I also added the auto remove on ban, it will be in the configuration file, by default it is set to true.
Yay it works now :D
Thanks, FireBall
@fireball1725
Thanks, you rock!! :)
Keep up the fantastic work!
@add5tar
Thank you for the error report, I will work on fixing that tomorrow. Im glad that the GP feature works.
I will also add in the configuration file an option to disable the auto delete on ban.
Thanks, FireBall
@fireball1725
Sorry, ignore my comment about LWC, that part is still working fine. Not sure what I did wrong the first time but it's working perfectly now.
The PlotMe error is still happening though, even tried different players.
@fireball1725
I tried the new GP feature and it worked perfectly! Thanks!!
However, the LWC + PlotMe don't seem to be working. To be honest, I haven't used it for a while so I don't know when it stopped working. The LWC part doesn't give errors and in fact it looks fine, but all the player's chests are still locked (!?).
And the PlotMe component seems to fail:
http://pastebin.com/x2WvpHE4
Also, would you be able to add an option to disable the "auto clear on ban" feature? I would prefer to manually run the "removeuser" for those times where someone gets a little overzealous with the ban hammer (yes, I know staff shouldn't do that but we are all human).
Thanks again! :)
@add5tar
I also should also mention that I updated it for CraftBukkit 1.4.7-R1.0 as well.
@fireball1725
Wow! Thanks for the mega fast update! I'll test it out today and let you know :)
@InvisiCraftOfficial
Hello InvisiCraftOfficial,
I have plans to support deleting the files in the world folders. It will be added in a future release of the plugin. Thank you for your input.
FireBall