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 8, 2013@thoosequa
Version?
-
View User Profile
-
Send Message
Posted Jan 8, 2013Broke stuff when doing /as rl
http://pastebin.com/LqQMUkUW
-
View User Profile
-
Send Message
Posted Jan 6, 2013SQL Support and Regions
In 5.2.0 (the next release) SQL support will be limited due to it being phased out of AntiShare (it's causing many more headaches than it should). The limiting features thus far are just regions.
If you store your regions in SQL (meaning you use SQL support), you should convert that to YAML before upgrading to 5.2.0 when it is released. In order to do this you have 2 options: By hand or Private Message me with a SQL dump (send me a message if you are unsure on how to do this)
Inventories (the last remaining item) will be phased out of AntiShare in 5.3.0 (the release after this one).
However with SQL support disappearing, I will be working on a flat file system that is not only small, but safer than SQL.
-
View User Profile
-
Send Message
Posted Jan 6, 2013@YoFuzzy3
If you use any sort of block tracking or regions in AntiShare, your map could get corrupted.
The major bugs (that I've fixed in development builds, but I'm still testing those) are that the block manager can corrupt chunks on your server and it does not save the blocks correctly. In regards to regions, regions can crash a server at random due to old code being not functional anymore (I've rewritten regions at this time).
-
View User Profile
-
Send Message
Posted Jan 6, 2013@turt2live
You said in your post that all version 5.1.0 and up are broken. Now you're saying 5.0.2 is as well. What am I expecting to happen to my server if it is broken? So far I haven't noticed any issues, all I use this plugin for is to switch inventories between survival/creative worlds, and it does a great job at that.
-
View User Profile
-
Send Message
Posted Jan 6, 2013@Exloki
Build 110 on Jenkins... the same one linked in the long post on page 2.
If that doesn't work, then turn on all of the debugging functions in the config.yml (there are 3) and send me a shutdown log.
-
View User Profile
-
Send Message
Posted Jan 6, 2013Any stable versions that stop the disabling-Antishare-crashes-my-server thing?
-
View User Profile
-
Send Message
Posted Jan 6, 2013@mssmaks
Then your permissions setup is wrong. AntiShare's permissions work 100%
-
View User Profile
-
Send Message
Posted Jan 6, 2013@turt2live
Permissions are not working. Ordinary players can not use the right mouse button. - AntiShare.allow.right_click.* and - AntiShare.allow.*
-
View User Profile
-
Send Message
Posted Jan 5, 2013@YoFuzzy3
Because it is broken...
@matedgo
Probably a bug
-
View User Profile
-
Send Message
Posted Jan 5, 2013i have one problem, whenever i link inventories between nether and survival world, antishare wont work anymore ??? why is that. i need delete whole antishare folder to get it work again.
-
View User Profile
-
Send Message
Posted Jan 5, 2013@turt2live
Good thing I'm still on 5.0.2 x_x.
But why remove 5.0.2 from downloads if it's not broken?
-
View User Profile
-
Send Message
Posted Jan 5, 2013@mssmaks
So use the new deny permissions for it.
-
View User Profile
-
Send Message
Posted Jan 5, 2013@turt2live
Something fixed, thanks. But do not lock off the right mouse button on 389 id, in survival mode.
-
View User Profile
-
Send Message
Posted Jan 5, 2013@mssmaks
Read the long post with the title "AntiShare 5.1.0+" please...
-
View User Profile
-
Send Message
Posted Jan 5, 2013@turt2live
No errors in the console. But the plugin does not work as it should. Not turn off blocking teams in survival mode. Not blocking off the right mouse button in the survival mode. Id 389 block disappears from inventory in survival mode, when you click. After some time, blocking off all the blocks in creative mode. But it is at version 5.1.2. Today I will test the new version.
-
View User Profile
-
Send Message
Posted Jan 4, 2013@turt2live
Thanks for the long explanation :) I'm sure you will figure it out. Good luck!
-
View User Profile
-
Send Message
Posted Jan 4, 2013AntiShare 5.1.0+
Short version: All builds of AntiShare 5.1.0 and up are broken
Long version:
Alright, because of all the bugs in AntiShare 5.1.0 and up, I will have to create a lot of fixes (and do a lot of testing). So a not-broken release will be out sometime shortly (I hope).
TEMPORARY fix for bugs introduced in 5.1.3
To start off with, I hope you have backups. Backups will be INCREDIBLY helpful in this case.
This will fix any further corruption due to the block manager. (Technical explanation below).
Bugs still in the build linked above
Technical Explanation of bugs in 5.1.0+
The block manager was given a makeover during these releases and a few miss-named variables caused MAJOR corruption in the block database. How the block manager is supposed to work is save entities and blocks in different locations in a specific format. However the block manager code was copied and pasted for saving entities (paintings and item frames) from the block code and somehow I forgot to rename the save file for entities (my fault...).
Another bug that is forcing me to do this is that blocks were not saving in the format correctly. The format in in the YAML is supposed to be X;Y;Z;world: <gamemode> but instead it was saving as Y;Y;Z;world: <gamemode>. Because of this, the saved blocks are not recoverable.
I do greatly apologize for the issues over the past few days, I promise it will be fixed promptly.
All versions of AntiShare 5.0.0 and up are removed from BukkitDev
-
View User Profile
-
Send Message
Posted Jan 4, 2013@MMMokc
Your block database is corrupted. Send me a zip of your AntiShare folder (over PM) and I can try to fix it.
-
View User Profile
-
Send Message
Posted Jan 4, 2013Helllo! I get a weird error on startup :S
2013-01-04 22:52:02 [SEVERE] Error occurred while enabling AntiShare v5.1.3 (Is it up to date?)[0m java.lang.ArrayIndexOutOfBoundsException: 3[0m at com.turt2live.antishare.storage.BlockManager.load(BlockManager.java:296)[0m at com.turt2live.antishare.storage.BlockManager.load(BlockManager.java:371)[0m at com.turt2live.antishare.storage.BlockManager.<init>(BlockManager.java:93)[0m at com.turt2live.antishare.AntiShare.onEnable(AntiShare.java:231)[0m at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)[0m at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)[0m at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)[0m at org.bukkit.craftbukkit.v1_4_6.CraftServer.loadPlugin(CraftServer.java:278)[0m at org.bukkit.craftbukkit.v1_4_6.CraftServer.enablePlugins(CraftServer.java:260)[0m at net.minecraft.server.v1_4_6.MinecraftServer.j(MinecraftServer.java:321)[0m at net.minecraft.server.v1_4_6.MinecraftServer.e(MinecraftServer.java:300)[0m at net.minecraft.server.v1_4_6.MinecraftServer.a(MinecraftServer.java:259)[0m at net.minecraft.server.v1_4_6.DedicatedServer.init(DedicatedServer.java:149)[0m at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:399)[0m at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)[0m
Should i send you some other details or is that enough for you to understand the error?
I'd be REALLY happy if you'd help me....