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 Apr 29, 2012when server is starting:http://pastebin.com/yQnvgwFz but when reloading no error.
-
View User Profile
-
Send Message
Posted Apr 29, 2012@matedgo
CB & AS versions? Other plugins? Pastebin of the server.log?
-
View User Profile
-
Send Message
Posted Apr 29, 2012When server is started, antishare does nothing, it says only it's loaded, but it's not preventing creative, when i do /reload server, antishare start working how it should.
-
View User Profile
-
Send Message
Posted Apr 29, 2012@loserman778
Multiverse and AntiShare don't generally get along, hence the options to stop AntiShare from doing things :P
-
View User Profile
-
Send Message
Posted Apr 29, 2012@turt2live
Well, now that i think of it it might be Multiverse-core. Probably not your fault. Thanks for the help and speedy reply
-
View User Profile
-
Send Message
Posted Apr 29, 2012@matedgo
What is the problem?
-
View User Profile
-
Send Message
Posted Apr 29, 2012hm, do only i have this problem so i need type /reload so antishare can work ?;), how to fix this, no error on start server.
-
View User Profile
-
Send Message
Posted Apr 29, 2012@Hayden06
Good point, I'll see what I can do.
-
View User Profile
-
Send Message
Posted Apr 29, 2012Hey, pretty much everything is working great, but I have one request. I don't want to prevent Survival Mode players from breaking Creative Mode blocks, but at the same time I don't want them to pick up the drops from Creative Mode Blocks.. If we are tracking creative blocks anyways, can we just say No Drops from Creative Blocks?
It would be too easy for a Creative Mode Troll to surround a survival mode player or structure in blocks that the Survival Guy can't destroy.
-
View User Profile
-
Send Message
Posted Apr 28, 2012still wont
-
View User Profile
-
Send Message
Posted Apr 28, 2012@loserman778
O_o
I don't know how that is possible... What other plugins are you running?
-
View User Profile
-
Send Message
Posted Apr 28, 2012@turt2live
When they log back in their in survival
-
View User Profile
-
Send Message
Posted Apr 28, 2012@loserman778
If they log back in as creative, it makes sense.
-
View User Profile
-
Send Message
Posted Apr 28, 2012Hmm @turt2live
Alright that fixes that problem. Now i have another problem. When players in creative mode log out, their survival inventories and their creative inventories swap. So if someone puts 64 diamond blocks in their inventory in creative, then log out, they get to keep those 64 diamond blocks. Any idea why?
-
View User Profile
-
Send Message
Posted Apr 28, 2012@DrHolbr
Is there any more information you can provide me?
@evilMonkey69
Did you potentially give the permission "AntiShare.no_swap"?
-
View User Profile
-
Send Message
Posted Apr 28, 2012I can't seem to get this to give me separate inventories for creative and survival. I have "gamemode-inventories: true", but they share the same inventory.. Am I doing something wrong, or maybe I'm misinterpreting what it does?
-
View User Profile
-
Send Message
Posted Apr 28, 20122012-04-28 14:34:59 [INFO] [AntiShare] Enabling AntiShare v3.2.2
2012-04-28 14:34:59 [INFO] [AntiShare] Regions Loaded: 0
2012-04-28 14:34:59 [SEVERE] Error occurred while enabling AntiShare v3.2.2 (Is it up to date?) java.lang.NullPointerException at org.bukkit.Location.getBlock(Location.java:82) at com.turt2live.antishare.storage.BlockManager.load(Unknown Source) at com.turt2live.antishare.storage.BlockManager.<init>(Unknown Source) at com.turt2live.antishare.AntiShare.onEnable(Unknown Source) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:371) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:358) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Here is a pastebin of my config.
-
View User Profile
-
Send Message
Posted Apr 28, 2012@loserman778
Update to 3.2.2, see if that helps
-
View User Profile
-
Send Message
Posted Apr 28, 2012Hey, when my players log out. Often they lose their inventory and im not quite sure why. Any ideas? Here's my config http://pastebin.com/K6WqyGkH
-
View User Profile
-
Send Message
Posted Apr 28, 2012@Amazing_kid
Have you enabled the /gm command in the config?