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 Nov 23, 2012@Scrandre
Not how I would have done it... but okay
-
View User Profile
-
Send Message
Posted Nov 23, 2012I've cure it by wiping database.
-
View User Profile
-
Send Message
Posted Nov 23, 2012@Scrandre
If I were to guess, SQLite is failing... somehow..
From the looks of it, the plugin is trying to access it but it's not working out somehow.
-
View User Profile
-
Send Message
Posted Nov 23, 2012Sorry, I've updated my last few posts with errors and reports.
And I'm using SQLite)
-
View User Profile
-
Send Message
Posted Nov 23, 2012@Scrandre
I don't support Spigot, and AntiShare just "stopping" with no errors implies one of three things:
-
View User Profile
-
Send Message
Posted Nov 23, 2012@turt2live 8Gb, and it will be increased to 16gb soon. It's never overload, I haven't seen outofmemory errors since moved to spigot.
Some of NoLagg examine: here and here.
-
View User Profile
-
Send Message
Posted Nov 23, 2012@Scrandre
Well, considering it's not CraftBukkit, I can technically blame Spigot.
How much RAM do you have?
-
View User Profile
-
Send Message
Posted Nov 23, 2012@turt2live When I'm (or not (after some kinds of exceptions spigot is trying to restart server (not reload))) trying to stop the server. Usually it's just stucks, and I don't know what error it is.
Just a minute ago: http:pastebin.com/9tM5pBvv
-
View User Profile
-
Send Message
Posted Nov 23, 2012@ravand
Likely split up the files into more manageable parts.
@Scrandre
I would guess the hanging is due to Metrics. I'll verify this with the creator.
At what point does it hang? (Last message outputted by AntiShare)
-
View User Profile
-
Send Message
Posted Nov 23, 2012@turt2live
AS: 4.4.1-SNAPSHOT - config
It was stop using SQL after the disk memory overload, so maybe it's not your problem)
Just passed the time before I notice that.
My blocks.yml is not very big, I think - just 663kb.
Also noticed that when AS is loading, it's show me that he loaded 0 of all stuff that he is loading.
And at the 90% of time AS don't stops. It just stucks on shutdown (last night it stucked on 1,5 hour) when worldguard is already off(
Server is continues to running, and players can do many of bad things) The last error: here.
-
View User Profile
-
Send Message
Posted Nov 23, 2012@turt2live
True that. So is this problem going to be fixed in the near future? What do u think any idea on how to fix it? The economy of my server pretty much got destroyed because of that haha :P
-
View User Profile
-
Send Message
Posted Nov 23, 2012@ravand
There is no speed increase or decrease to use SQL.
SQL has a higher chance of going offline, files do not.
-
View User Profile
-
Send Message
Posted Nov 23, 2012@turt2live
ooh dam :/ that is a problem. isnt it possible to use mysql for the blockdata?
-
View User Profile
-
Send Message
Posted Nov 23, 2012@ravand
File may be too big for the plugin to read it
-
View User Profile
-
Send Message
Posted Nov 23, 2012@turt2live
What seems to be the problem officer?
-
View User Profile
-
Send Message
Posted Nov 23, 2012@ravand
As I feared...
I'll see what I can do about it
-
View User Profile
-
Send Message
Posted Nov 23, 2012@turt2live
1,999KB ... well almost 2mb isnt that too big?
-
View User Profile
-
Send Message
Posted Nov 23, 2012@ravand
What's the size of the blocks.yml file?
-
View User Profile
-
Send Message
Posted Nov 23, 2012@turt2live
Yes correct i use those builds. I am using RemoteToolKit for automated restarts and yes it is indeed a complete stop and start
-
View User Profile
-
Send Message
Posted Nov 23, 2012@rasnyderiii
AntiShare will create the folder structure, but it shouldn't save the inventories to those folders.
@Scrandre
AntiShare version and CraftBukkit version please (as well as configuration, again: Censor your SQL settings).
Some parts of AntiShare simply don't use SQL at all, but I'm not sure if you are using those files to say it stops using SQL. What appears to make it look like it stops using SQL?
@ravand
Right... so I'll assume AntiShare 4.4.1-SNAPSHOT and CraftBukkit 1.4.5.-R0.3.
How do you do the restart? Is it just a timed "/reload" or does it actually stop and start the server?
@ravand
@Scrandre
Out of curiosity, can you two do the following for me?