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.
I'm getting this new error. Please help
[SEVERE] Could not pass event PlayerInteractEntityEvent to AntiShare v5.4.3 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463) at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:1115) at net.minecraft.server.v1_6_R2.Packet7UseEntity.handle(SourceFile:36) at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:230) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:116) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:125) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:592) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:239) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:481) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:413) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.IllegalArgumentException: Null arguments are not allowed at com.turt2live.antishare.util.Messages.notifyParties(Messages.java:144) at com.turt2live.antishare.ASListener.onEntityInteract(ASListener.java:1051) at sun.reflect.GeneratedMethodAccessor281.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 15 more
Hey, any idea as to why it takes so long for antishare to enable when starting the server?
@Icee2199
Post it on GitHub
Using Bukkit Beta Build 1 v 1.6.2 with Latest version of Anti Share. I get this error when starting up the server:
@LudnicaKiller
I'm getting this error all the time. Please help:
[SEVERE] Could not pass event PlayerInteractEntityEvent to AntiShare v5.4.3 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463) at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:1115) at net.minecraft.server.v1_6_R2.Packet7UseEntity.handle(SourceFile:36) at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:230) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:116) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:125) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:592) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:239) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:481) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:413) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.IllegalArgumentException: Null arguments are not allowed at com.turt2live.antishare.util.Messages.notifyParties(Messages.java:144) at com.turt2live.antishare.ASListener.onEntityInteract(ASListener.java:1051) at sun.reflect.GeneratedMethodAccessor286.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 15 more
@xXNahNahXx
Either don't track the blocks applicable or use bypass permissions
Hey, so there are some things that are built in survival and need to be broken or improved in creative. Any way to do that without giving bypass? Thanks
@therennon
Sounds like your server either has some sort of lag or there is an error you are not showing me. Post a ticket on GitHub please (link provided above)
@turt2live
Hello,
I uninstalled the plugin, unfortunately.
Inventories of "Creative Mode" are transferred to "Survival Mode". It always happens. But many times. (3 out of 10)
What I can do?
thanks
@therennon
Yes, AntiShare can do this.
It has the possibility to "bypass" to individual blocks?
For example, something like:
AntiShare.allow.block_place.41 AntiShare.allow.block_place.57
I need it for some ranges of my server.
have?
PEX
AntiShare is compatible with the current development build of PEX. The issue that caused PEX to not work with AntiShare is described here.
The author of PEX has claimed that a release for PEX is likely the end of the week
@airwulf1
That means a block was moved (by piston for example) but either changed type or did not move at all.
I am not sure what causes "unspecified action" in Log Block.
@turt2live
I saw this: [AntiShare] Failed to update block after 1000 milliseconds
Can that cause the "Unspecified action" in LB ? I have an SSD maybe that makes a difference.
@airwulf1
I have... it has only been 2 days and I have other things I need to do as well. Due to my job I'm not really able to do work on AntiShare on weekdays.
I'll look more in depth at it this weekend.
Turt2live I replied to issue 85, have you seen this already ? It's a very important bug so I hope you can fix it. Thanks.
@lecsooo
Your server is in offline mode. Servers in offline mode do not get support.
@turt2live sorry :D http://pastebin.com/raw.php?i=zBN8C1US i change survival-breaking-creative: deny true. but they still can break blocks placed by creative player. everything works except this. Is it possible that anticheat,or other plugin blocks it? I home you understand me now..:D
@lecsooo
I have no idea what you are asking, and please use pastebin to display your config.yml.
And please open a ticket on github.