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 Jun 3, 2012<<reply 737732="">>
Im in craftbukkit r3, and what happens is if someone is in creative, and then goes to lets say /warp pvparena, and changes their gamemode, what it does it duplicates their inventory from survival mode. Please fix this.
-
View User Profile
-
Send Message
Posted Jun 3, 2012@kustomcraft
Already implemented. See your config.yml
-
View User Profile
-
Send Message
Posted Jun 3, 2012To make this 100% could you make it players spawning items can not drop them because i have Elite users that have gamemode and can spawn items, and drop the spawned items? also with groups like VIP who have kits and i want to block them giving those spawned kit items out? maybe add a feature were it logs the command witch spawns the items and disallows the person giving the items to other players?, also with disallowing creative to dropping items maybe make it they can drop the item to put new item in thier hot bar, and noone can pick that item up just a suggestion, thanks.
-
View User Profile
-
Send Message
Posted May 31, 2012I'll look into the survival issue.
For everyone who has it, is it just PEX that causes it? Or do other permission plugins cause it too?
-
View User Profile
-
Send Message
Posted May 31, 2012I had the same problem. I solved it like this: created two groups of players in the PEX. First - Survial, the second - Creative. Survial gave the right AntiShare.allow. * But in general, as I understand, the plugin should automatically block the action for players of Creative, but for some reason, it blocks the action of ALL.
-
View User Profile
-
Send Message
Posted May 30, 2012@turt2live
And now having same problem as javoris767.
-
View User Profile
-
Send Message
Posted May 30, 2012@javoris767
O_o This is reported a lot.
Type 'as debug' into the console and send it to me please via PM.
@n0my
If you typed /reload, stop your server and start it again. If that doesn't work, do the same as I mentioned above please.
-
View User Profile
-
Send Message
Posted May 30, 2012@turt2live
I have tried pex and the node doesn't seem to work on that too.
-
View User Profile
-
Send Message
Posted May 30, 2012@turt2live
Some of my players aren't in creative, and they can't like open chests, kill mobs/player, drop items, etc.
-
View User Profile
-
Send Message
Posted May 30, 2012@javoris767
You'll have to expand on that.
-
View User Profile
-
Send Message
Posted May 30, 2012Why does it think everyone is in creative?
-
View User Profile
-
Send Message
Posted May 29, 2012@n0my
You are very welcome :) Glad I could help.
Let me know if anything else breaks ;)
-
View User Profile
-
Send Message
Posted May 29, 2012I was trying an AdminCMD command. I think AdminCMD saves game mode as well now when you say AntiShare doesn't change gamemode.
Thanks for the help and this plugin :)
-
View User Profile
-
Send Message
Posted May 29, 2012@n0my
It is likely not an AntiShare issue, try PEX (as you seem to be switching to it) and see if that helps.
-
View User Profile
-
Send Message
Posted May 29, 2012@turt2live
I have tried restart the server just now, and tried reloading both permissions and antishare. No luck.
Since I dont think there will be enough demand for custom world user permissions I think I might switch to PermissionsEx as I read just now it supports what im looking for :)
-
View User Profile
-
Send Message
Posted May 29, 2012@n0my
Restart the server (stop and start), see if that helps.
AntiShare doesn't change your Game Mode unless you are in a region and meet the regions requirements. So another plugin is interfering.
-
View User Profile
-
Send Message
Posted May 29, 2012@turt2live
I have checked and I'm sure the permission node is given correctly:
http://localhostr.com/files/GEEiw0S/asnocom.png
http://localhostr.com/files/jZQpuYj/nppb.png
AntiShare automatically changes game mode to survival when I connect, sometime I disconnect/restart my client while in creative mode at a height. When rejoin the server, I'm switched back to survival and hurt/die of fall damage.
-
View User Profile
-
Send Message
Posted May 29, 2012@n0my
AntiShare assumes you don't have a plugin that forces a particular Game Mode, as it's costly for it to save and do the check.
No, but there are per-world (and region!) configurations.
I may add the feature, depending on demand.
-
View User Profile
-
Send Message
Posted May 29, 2012I'll check it once again :)
Is it possible so the game mode is saved so when the player connects it will restore the last mode he/she was on?
I switched from LimitedCreative plugin and I really liked that feature. It would be awesome if this was a permission node :)
Last question, Is it possible to have custom user permissions for each world?
e.g. AntiShare.allow.block_place.<worldName>
This node will allow the player to place blocks in specified world only.
-
View User Profile
-
Send Message
Posted May 29, 2012@n0my
AntiShare.allow.* just gives AntiShare.allow.commands
So it's actually impossible for it to happen...