AntiShare
AntiShare
DISCONTINUED
This plugin is no longer maintained. Support is no longer provided and updates will not be issued. If you would like to take over the project, please contact me.
Thanks to Team Haven (HAVENmc.com) for the logo!
What it does
The original idea came from here from the server legendaryisland.com. It blocks certain actions if a player (by default) is in creative mode. AntiShare also supports many other features like regions, inventory switching, and more.
Features Supported
- Multiple World Support - A configuration for each world
- GameMode Regions - Want your PvP arena to be survival? Use GameMode Regions!
- GameMode Inventories - An inventory for creative, one for survival, and even one for adventure
- GameMode Blocks - Don't let survival players break blocks placed by creative players!
- And much, much more - Take a look at the configuration! There are options for nearly every creative restriction option (including changing player levels and economy balances on Game Mode change)
For advanced help, please see this page.
Source?
Check out AntiShare's GitHub repository for the source!
Download
Make a backup before you update!!
- BukkitDev: Click Here
Bugs
Think you have a bug? Report it here.
DO NOT REPORT BUGS BELOW. POST THEM ON THE ABOVE PROVIDED LINK
Bugs reported below WILL be ignored
Information regarding the next update
The next update of AntiShare will be a major change. Changes currently include the following. Check back often as this list will be adjusted:
- Complete reworking of inner functionality. This will help with the insane amount of resources AntiShare uses
- New permissions and commands.
- New configuration (with auto-convert)
- Smaller footprint on the hard drive (with auto-convert)
- More compatibility with other plugins
- Removal of fully integrated survival support. This means that although supported by the plugin, it is strongly recommended to use an alternate plugin to deal with protecting your servers from survival mode players. AntiShare is going to be designed with creative players being the bad guys and only prevent survival players from using creative stuff.
- Removal of fully independent regions. As this can be done with WorldGuard, AntiShare will no longer support it
- Continued limited support of World Splits
- Addition of a grouping system to assist with servers that may have donor ranks
- Modified support of inventories. This has yet to be fully designed, but the inventory system within AntiShare is going to be adjusted to permit more configuration as well as compatibility.
- Added support for potential future platforms. (note: this description is about to get nerdy) AntiShare is going to be following a common API abstraction to allow for more platforms to be supported by the same file. Although there are no active plans to support anything more than Bukkit, the potential for more platforms is being considered while rewriting the plugin. Although this system will increase the file size of the plugin, I do not foresee it affecting performance in a negative way.
- Complete rewrite of AntiShare. Yup, that's right. I'm going to be re-writing the plugin from scratch to clean up the code and give me more control over it. It's been quite a while since I've last updated the code, and it's becoming hard to fix issues with, both are sure signs that a rewrite is needed.
I would like to thank the current, and future, users of AntiShare - I hope it is serving you well. I hope you all understand the need for the rewrite and will continue to use AntiShare on your server(s).
If you have suggestions, comments, or questions, please contact me through any of the various way presented.

-
View User Profile
-
Send Message
Posted Dec 17, 2012@turt2live
Here you go mate http://pastebin.com/PCc7UGG0
-
View User Profile
-
Send Message
Posted Dec 16, 2012@ravand
Send me your config.yml please.
-
View User Profile
-
Send Message
Posted Dec 16, 2012@turt2live
I assume it is everytime the plugin reloads. So to say after a restart. Because i have been spying on the members chats and they were like "Place this here and wait 1 day then u can mine it". My server restarts are every 12hours so they assume its after 1 day.
EDIT: Very bad news :/ . Even a /as reload makes creative blocks possible to mine.
-
View User Profile
-
Send Message
Posted Dec 16, 2012@ravand
Can it be timed? Or is it "whenever"?
-
View User Profile
-
Send Message
Posted Dec 16, 2012Remember the bug i told you about where people could simply mine their creative blocks after 1 day or a restart? You said it would be because of the blockdata having a big size. But guess what... its still not fixed people can still mine them after some time.
-
View User Profile
-
Send Message
Posted Dec 15, 2012@turt2live
Yeah I can understand that bugs like this are very hard to pin down. I can't really test the stuff you want on a production server, and a test server may yield different results; so not much I can do. But thank you for your time.
-
View User Profile
-
Send Message
Posted Dec 15, 2012@YoFuzzy3
gamemode-inventories turns off inventories basically. But considering it's a bug affecting a small group of people (not everyone that logs into your server), the following would be better:
Stuff that is included in "circumstances":
Or does it truly happen at random? If so, how often (approx.)? Is it a timed break (happens every X seconds), or a counting break (happens every X players)?
Sorry for asking so much, bugs like this are hard to track down. It's easier to recreate the scenario on my test server and work from there.
-
View User Profile
-
Send Message
Posted Dec 15, 2012@turt2live
I already disabled world-transfers in the config. The bug happens very rarely. What exactly does the gamemode-inventories setting alter?
-
View User Profile
-
Send Message
Posted Dec 14, 2012@Nikecow
If you don't mind trying the latest ones, it would be helpful :)
@YoFuzzy3
Make sure you disabled world-transfers in AntiShare. Depending on the continuation of the bug, you may have to disable gamemode-inventories too. If it still happens beyond that, then I can look into it.
-
View User Profile
-
Send Message
Posted Dec 13, 2012@turt2live
All it says on startup is: http://pastebin.com/knvaE8c0
-
View User Profile
-
Send Message
Posted Dec 13, 2012@turt2live
v4.4.0 for CB 1.4.2-R0.2 doesn't lag at all but the dev builds, atleast the last few, make it go 80-100% cpu.
-
View User Profile
-
Send Message
Posted Dec 13, 2012@Nikecow
So... it doesn't cause lag with the latest release? Or does your server still get tortured?
@YoFuzzy3
There's directions to follow on startup. AntiShare should have spit out a nice large message saying what to do because you have Multiverse.
As for the potion effects, it's supposed to remove them, I likely just put the code in the wrong spot. Will be fixed for the next release.
-
View User Profile
-
Send Message
Posted Dec 12, 2012Some of my players' inventories are getting wiped when they travel across worlds through a portal and get their inventory switched, using Multiverse.
Also when you switch between creative and survival mode you keep your potion effects, a bug I'd say.
-
View User Profile
-
Send Message
Posted Dec 12, 2012Sorry to bother you again but I've found something else quite problematic :(
Lately I've been getting extremely high cpu usage. In about 50-99% range,even with no players in it will go up as far as 40% cpu. The thing is, when I disable anti share it's instantly gone. I've rebooted about 10 times with and without AS and I'm 90% sure it's AS.
http://prntscr.com/m079p With AS
http://prntscr.com/m0fjp Comparison
CB 1.4.5-R0.2 Latest AS Xeon 1245v2
Let me know if I can help with anything to solve this, as this is a really important plugin for my server :)
Edit: AS 4.4.0 doesn't seem to have this problem.
-
View User Profile
-
Send Message
Posted Dec 12, 2012@Nikecow
Alright. I'll see what I can do
-
View User Profile
-
Send Message
Posted Dec 12, 2012@turt2live
The conversion still happens even when i put it to false:
cleanup: use: false method: archive after: 120
-
View User Profile
-
Send Message
Posted Dec 12, 2012@Nikecow
Look for 'cleanup' under 'settings'.
-
View User Profile
-
Send Message
Posted Dec 12, 2012@turt2live
Alright sounds fair, I've looked in the config though but I couldn't find the option any where. Can you tell me what it is named ? Thanks.
-
View User Profile
-
Send Message
Posted Dec 12, 2012@rasnyderiii
Fixed in development versions.
@Nikecow
I'll look into it. However there is not much I can do.
Considering your server should have already converted inventories you should be able to turn that function off in the config.yml. Once conversion is done once, there is no logical need to do it again.
-
View User Profile
-
Send Message
Posted Dec 11, 2012My anti share hangs a LONG time on start up: http://prntscr.com/lwz4o
After the "inventories created" part it hangs another 15 seconds with the latest build totalling it to about a minute for AS alone.