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 Aug 6, 2012@rasnyderiii
The next version allows you to block entities by name.
I haven't tested villagers though, but for certain in the next release they will be blockable
-
View User Profile
-
Send Message
Posted Aug 6, 2012Hey Turt -
The new Villagers trading - right clicking on them - could this be blocked in creative mode so you cant get an enchanted pickaxe with them?
-
View User Profile
-
Send Message
Posted Aug 5, 2012@turt2live
Tried your latest github build - still does not block thrown potions.
But it does fix the startup config errors.
my config: http://pastebin.com/YDf6rDca
-
View User Profile
-
Send Message
Posted Aug 4, 2012@rasnyderiii
Try a newer build?
Eye of Ender is impossible to block
You can use IDs, but for things like signs, you would need to add all 3 types... so I made easy words (like thrown potions) to combat that.
-
View User Profile
-
Send Message
Posted Aug 4, 2012http://pastebin.com/CVaKhbtF
"thrown potion" / "potions" / "potion" / "373" / "pots" does not block it for me in the use list.
WARNING [AntiShare] Configuration Problem: 'potions' is not valid! (See 'blocked-actions.use-items' in your config.yml)
WARNING [AntiShare] Configuration Problem: 'thrown potion' is not valid! (See 'blocked-actions.use-items' in your config.yml)
WARNING [AntiShare] Configuration Problem: 'potions' is not valid! (See 'blocked-actions.use-items' in your config.yml)
WARNING [AntiShare] Configuration Problem: 'thrown potion' is not valid! (See 'blocked-actions.use-items' in your config.yml)
WARNING [AntiShare] Configuration Problem: 'potions' is not valid! (See 'blocked-actions.use-items' in your config.yml)
WARNING [AntiShare] Configuration Problem: 'thrown potion' is not valid! (See 'blocked-actions.use-items' in your config.yml)
I also still cannot block "eye of ender"
v3.8.0-DEV
I would also like to add that using the ID - just feels more correct to me then some random word... since ID is always exact.
-
View User Profile
-
Send Message
Posted Aug 4, 2012@rasnyderiii
All should. If not, add "thrown potion" and "potions" to the "use" list.
-
View User Profile
-
Send Message
Posted Aug 4, 2012Hey Turt - any 1.3 dev builds block potions again?
-
View User Profile
-
Send Message
Posted Aug 4, 2012@ad35226
Yup :P
Edit: Second error counts as unexpected... or you have 7000 AntiShare jars ?
-
View User Profile
-
Send Message
Posted Aug 4, 2012@turt2live
Haha yeah, Like this one: http://pastie.org/4389816 which I assume is related to 1.2.5 not having an adventure mode. Otherwise everything i working fine at this point :D
EDIT: Holy crap wtf http://pastie.org/4389878
-
View User Profile
-
Send Message
Posted Aug 3, 2012@ad35226
There may be unexpected errors on 1.2.5 servers with the dev build of AntiShare, be warned.
Thank you :)
-
View User Profile
-
Send Message
Posted Aug 3, 2012@turt2live
Works perfectly!!! Thanks so much :D
Sadly I had to go back to 1.2.5 for now however the plugin works on there too as well as 1.3 :D
I will let you know again of any bugs me/my players find
-
View User Profile
-
Send Message
Posted Aug 3, 2012@ad35226
Hmmm... I'll see what's going on then.Fixed in 475, give it a shot?
-
View User Profile
-
Send Message
Posted Aug 3, 2012My linked-inventories.yml:
http://pastie.org/4386174
I then did /as reload
And got an alt account with no permissions and had the chat say : [AntiShare] Your inventory has been changed to survival_nether
And items are seperate too.
-
View User Profile
-
Send Message
Posted Aug 3, 2012@ad35226
I've coded support for mirroring (I think), if you want to try it out, use this build:
http://www.jenkins.turt2live.com:8080/job/AntiShare/474/
Run it, then open "linked-inventories.yml" and read the header. Let me know if it works/fits your needs?
After you edit the file, just type "/as rl" to tell AntiShare to load the changes
-
View User Profile
-
Send Message
Posted Aug 3, 2012@turt2live
Ah I just realized my mistake, with no-experience-for-creative: true I noticed that my players could do /gm in my Creative world ^_^ And with multiverse handling gamemodes they won't need that command anyways
Also, the inventory bug has been resolved as i also tested it on my 1.3 testing server and it does not happen anymore :D I will let you know if any more findings.
-
View User Profile
-
Send Message
Posted Aug 3, 2012@ad35226
There's 3 ways you can deal with the experience issue:
1) Disable the use of dispensers
2) Set 'no-experience-for-creative' to true in the config
3) Set 'change-level-on-gamemode-change' to true in the config (next version only)
mirroring is not supported, it may be in the future, but currently it is not
-
View User Profile
-
Send Message
Posted Aug 3, 2012Thanks! I'll try it out when I can on my testing 1.3 server.
While I do that, can you somehow add separate XP per world ,because my players are using enchanting bottles to get XP in my creative world ( I disabled the actual usage of them, however they put them in dispensers and use those to get XP).
Also how would I go about mirroring inventories, such as survival inventory will be the same as survival_nether , so players can get items in and out from both worlds. I can't seem to find an option for this.
I will also try my best to donate to you as I am really pleased with your fast response to bugfixes, and overally maintaining of your plugins! Thanks so much!
-
View User Profile
-
Send Message
Posted Aug 2, 2012@ad35226
Confirmed bug, I'll see what I can doFixed in latest development builds
-
View User Profile
-
Send Message
Posted Aug 2, 2012@ad35226
I'll look into it, thanks :)
-
View User Profile
-
Send Message
Posted Aug 2, 2012@turt2live
I'm assuming it is enabled as when someone transfers to another world it says:
[AntiShare] Your inventory has been changed to worldname
However I find no option in the config.yml for per-world inventories only
handled-actions: world-transfers: true gamemode-inventories: true