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.
@tomori_peti
Thank you for your input on adding support for Residence. I will look into this plugin and see what i can do.
FireBall
@add5tar
Also, thanks for the feedback on the plugin. I got tired of telling all the staff on my server to delete everything the user created, so i decided to make this plugin since i couldn't find anything out there to do it. I'm just glad that other users find it useful as well.
FireBall
@add5tar
Well, i decided to play with it a little bit tonight, I have a untested build that hooked into Grief Prevention with no errors and when i ran the command to delete a user also didn't give any errors. I dont have the time to test it fully tonight, but i will give the link out. If anyone who is using Grief Prevention wants to test it that would be great. Let me know if it works and ill update it on here.
I will try to test it tomorrow or tuesday, just have to set it up on my test server.
Beta Build: http://teamcity.craftminecraft.net/guestAuth/repository/download/bt2/16:id/BanSync-1.0-b6.jar
Thanks, FireBall
@fireball1725
Thanks! Great plugin btw, I really appreciate it :)
@add5tar
Hey,
Work has kept me busy over the last month, but I have the time now to continue updating my plugin. I will be adding support for Grief Prevention next, i have taken a look at the API and it should be easy enough for me to add.
Thanks, FireBall
Hello,
Would you be able to add support for Grief Prevention? It would be really helpful for us.
The API docs are here (although a bit light on details): http://dev.bukkit.org/server-mods/grief-prevention/pages/public-api-documentation/
Thanks :)
Please make it so deletes the data in: the /world folder the /world_nether folder the /world_the_end folder and The essentials user info folder
Thanks!
Pls add Residence support too.
@RiotShielder
If you get permbanned, you can't come back anyway, unless the mods have the bad habits of permabanning randomly "for fun"...
That said, it may not be that complicated to keep a log file of what was done, and undo it. However, I believe it would kill the point of this plugin. Why we created this plugin originally was to keep the server tidy, remove those essentials user.yml file for banned users, etc... If we keep a log file, then all we achieved was moving the dirty things somewhere else...
That would make it nasty to get banned.. Maybe have a feature to revert some of it's effects? I.E. if the player was innocent re-apply the LWC locks?
@zachbora
The reason it is that way is that it was originally an internal plugin for our server, and we didn't really expect to reach out to anyone. Will fix it.
@Bobbosells32
Will look at the code and see if it's possible (it shouldn't be too hard, I hope).
Maybe add a way to make it work with PEX to make it so when a player is banned it reverts them back to the default rank defined in the config.
Hi fireball,
You should put in your project relationships optional dependencies to the various plugins.
Enabled the Ticket tab at the top, for now it takes you to my GitHub page to submit tickets. Please use this for errors and suggestions.
Thanks
@Tombikos
Thank you for the suggestion, I will add it into the list of things to support. I will have support for this with essentials, but i will also support it if you are not using essentials.
Thanks, Tyler
@NordicBlue
Adding a rollback action would not be hard, however that could cause some serious lag depending on how long the user has been a member, and how long your logs are kept.
Let me give this some thought to how it could be done, what about a rollback of the last hour, or something that could be configured in the configuration?
Thanks, Tyler
Great idea! Please add inventory wipe.
Please add support for a LogBlock rollback action.
@titen96
Precious Stones i can hook into without any issues from what i read on their site, A future update will have precious stone support
Can you add precious stones support?