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 Jan 3, 2013as far as I can tell - I could be wrong - but after looking into config - it seemed to force mysql on me.
Sorry my friend - something has changed with the config - old version works fine - new version - nuttin but spam ;)
-
View User Profile
-
Send Message
Posted Jan 3, 2013@rasnyderiii
First error is related to second error.
Second error says that it can't create a file, which would be your server's fault (from what I can tell, windows/you operating system is being a bum).
Because it can't create the file, AntiShare fails out and can't load permissions, hence the first permission
-
View User Profile
-
Send Message
Posted Jan 3, 20135.1.0 http://pastebin.com/cVmuGGYz - normal server after updating
http://pastebin.com/MvYr81Wd - startup on dev server - generating new folder
-
View User Profile
-
Send Message
Posted Jan 2, 2013AntiShare - 5.1.0
Note: Permissions check order updated to accommodate deny permissions. See this page for the new setup. If you don't use the new deny permissions, you will not be affected.
Download from BukkitDev (mirror)
-
View User Profile
-
Send Message
Posted Jan 2, 2013@rasnyderiii
I'll make it so you can also block "skull:skeleton" and stuff, deal?Nevermind. Bukkit doesn't have anything for this (even data values fail to work...)
-
View User Profile
-
Send Message
Posted Jan 2, 2013@turt2live
Thank you sir, that sounds perfect! For the darn wither skulls..
-
View User Profile
-
Send Message
Posted Jan 2, 2013@rasnyderiii
Not currently. I'll look into adding better permissions support.
Off the top of my head, how does this sound? (I likely won't add multiple list support to the config, it would cause confusion, but I might consider yet another 'advanced' configuration file)
AntiShare.allow.<event>.<item> and AntiShare.deny.<event>.<item>?
-
View User Profile
-
Send Message
Posted Jan 2, 2013any possibility of a "block-place-donator:" or is there already a way to have 2 seperate block lists?
-
View User Profile
-
Send Message
Posted Jan 2, 2013@rasnyderiii
"skull" or "mobskull".
If you want to block a specific player's head, use "skull:<playername>", eg: skull:turt2live
-
View User Profile
-
Send Message
Posted Jan 2, 2013397:1 "wither skeleton skull" - what blocks this in block place.
-
View User Profile
-
Send Message
Posted Jan 2, 2013Hey I added you on skype and donated some money. I hope we can solve this, because this is a great plugin :)
-
View User Profile
-
Send Message
Posted Jan 1, 2013@Speedrookie
Give the permission "AntiShare.affect.survival"
-
View User Profile
-
Send Message
Posted Jan 1, 2013can i also make people in survival not able to share? and can someone tell me how if possible? thanks!
-
View User Profile
-
Send Message
Posted Jan 1, 2013@Nikecow
My Skype name is "turt2live", feel free to add me.
I'll have to take a look at what I changed from 4.4.0 to find any potential causes for increased server use (although in my testing nothing changed O_o)
-
View User Profile
-
Send Message
Posted Jan 1, 2013@turt2live
The cpu usage stays between 90%-100% forever. Now we run on a pretty powerful dedicated server with a Xeon processor which shouldn't lag of course.
Even when the server is empty it will still start at 90% cpu. Perhaps the saved blocks are corrupted in the yml file ? Because something is obviously wrong when enabling AS at that part.
I have to revert back to 4.4.0 again because it performs just great except for the 'forgotten blocks'. Maybe you can add me on skype or something and we can chat there when you need my help for testing.
-
View User Profile
-
Send Message
Posted Jan 1, 2013@Nikecow
AntiShare in order to load (and disable) fast uses as much of the server as it needs. It should only skyrocket your CPU use for the duration of the server shutdown/startup. Is this the case?
The startup time however is a bit weird. My test server (this "computer") can handle 200,000 creative, 200,000 survival, and 200,000 adventure blocks and it still takes 30 seconds to load. I'll do some more testing though.
SQL would be slower, as it would have to do a lot more interaction with the SQL server. However I may move the system to a cached system more like inventories: It only loads what it needs (so it would only load the chunks that have breaks/places in them. After a certain time of no interaction, it would save and remove the block information from memory). I'll test this system out too.
No... it's not normal. I'll take a look at this too.
-
View User Profile
-
Send Message
Posted Jan 1, 2013I just tried the last dev build. It took about 2 minutes before "loaded creative blocks: 13000" popped up. Many read time outs later it started (with 100% cpu). Next startup took about 1 min as you can see below. (which is pretty acceptable imo)
http://prntscr.com/nsylv
The only problem now is the cpu usage. I believe Jdcvanderwal has the same problem. I will give you a nolagg report soon but I think it just can't handle caching so many blocks all at once. Maybe a solution would be moving to SQL database instead of YML ?
Edit: is it normal that there are exactly as many survival as creative blocks saved ?
-
View User Profile
-
Send Message
Posted Dec 31, 2012@jdcvanderwal
Weird.... I don't have any code that just does things. AntiShare is written to react to stuff, not to poke around.
What kind of lag? Or just in general the server slows down?
Are you able to provide me with a NoLagg Examine file (5-10 minutes would be nice)?
-
View User Profile
-
Send Message
Posted Dec 31, 2012@turt2live
I am using build #88 and the creative drops are fixed even after a complete shutdown and restart and no more crashes on restart and reload
-
View User Profile
-
Send Message
Posted Dec 31, 2012@turt2live
everything works good but some times my server laggs even if noone is on it since a have installed the last build