[ADMIN] AntiShare v5.4.3 - Creative mode protection [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by turt2live, Jan 25, 2012.

  1. Offline



    Thanks to Team Haven (HAVENmc.com) for the logo!

    Welcome to AntiShare, the plugin that stops creative mode players from sharing with survival mode players. Let's dive right in. If you want a more detailed description (and possibly more 'technical' sounding) visit the BukkitDev for AntiShare.

    AntiShare allows a large variety of customization when it comes to what you can stop creative players from doing. Everything from block placing and breaking to commands are able to be managed to make sure those creative players don't spread diamonds about your population.

    What else can it do you ask? Well, it can also make people in certain regions be a in a specific Game Mode and have a specific inventory to go along with it.

    Game Mode Inventories
    These separate a player's inventory into 2 parts: creative and survival. Once someone changes a Game Mode they no longer have the same inventory as AntiShare ensures that people cannot simply go into creative mode, stack up on diamonds, and go back to survival as if nothing happened.

    Block Tracking
    Block tracking is used to stop creative mode players from placing say diamond blocks and getting survival mode players to break them (or changing modes themselves). How this is tackled is anytime a creative mode player places a block it is logged and when a survival player tries to break it, they can't!

    GameMode Regions
    This is a way for you to have a region automatically change someone's inventory as well as force them to a specific gamemode. Perfect for server events where you want people to build (for example) a bunch of houses, but don't want them the be able to have creative mode or bring in their own items.

    Inventory Mirror
    On command you can view someone's inventory (no matter who) as they change it and edit it to your liking. This means that if you suspect turt2live (Hmm...) of cheating in diamonds, simply mirror their inventory, edit it to your liking, and watch as they do it again.

    Download and Other Stuff

    Everything you should need is at the BukkitDev page for AntiShare.

  2. Offline


    How can I find which blocks are creative and which aren't?
  3. Offline


    Now that I think about it, there is no "tool" to do that, but there are ways.

    1. You could deop and change gamemodes and beat each block you want to test (Not ideal...)
    2. Force AntiShare to save (/as rl) and go the the plugin folder of AntiShare (/plugins/AntiShare) and open "metadata.yml". The file is split up by location (with world) and "keys". Look for locations with "ASCreative" below it.
    I'll be sure to have some sort of tool in the next version :)
  4. Offline


    Everytime I reload/restart my server it crashes because AntiShare tries to save everything. Why is this?
  5. Offline


    Because at one point there was a major CPU bug, it would lag the server CONSTANTLY. To fix it I had to load everything into memory then go from there, but when it came time for the server to shutdown it has to put all the data back so the next time you start it, you still have AntiShare functioning.

    I'm trying to work on an alternative, but that is difficult considering what AntiShare does, and how it works.

    If you have an actual stack trace (error), please PM/reply (pastebin please) it to me.
  6. Offline


    Hey I having some troubles with the regions. Im on 1.2.5 so I dont know if thats wahts causing it or not but when I create a region it says its created but when I walk through it it doesnt do anything. I did /as listregions and its there in the list but then I try and remove it with /as rmregion and it says that no region exists... Any help would be appreciated.
  7. Offline


    How did you create the region?
  8. Offline


    world edit
  9. Offline


    I meant what command did you type
  10. Offline


    /as region creative test
  11. Offline


    The console should have errors if the region wasn't actually created, if there are any, please pastebin them.

    If there aren't however, something must have happened between creating the region and walking through it whether it be a server crash, server reload, and/or another player removing it. If nothing happened, please PM/reply here with your plugin list so I can find any conflicts, hopefully it's a conflict if it still happens.
  12. Offline


    No errors in console and nobody touched the region or no server crashes/reloads

    Chat Manager
    World Edit

    I did see this in the console

    21:34:43 [SEVERE] [AntiShare] [3.1.3] [CONFLICT] Other Conflict: VoxelSniper
    21:34:43 [SEVERE] [AntiShare] [3.1.3] [CONFLICT] AntiShare won't do anything, but there may be problems because of the conflict

    Could this be it?
  13. Offline


    Possibly, I'll look into it more. Thanks for the report, sadly I have no information on how to fix it :(
  14. Offline


    Ok Thanks in the mean time I'll look around for similar plugins

    Ok so I uninstalled VoxelSniper and Im still having the same errors. My gut feeling is that it has something to do with registering the region with bukkit. Because it says the region exists and it does because I have the file but I am unable to delete it unless I do it Manualy. Possible 1.2.5 incompatibility?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 23, 2016
  15. Offline


    Regions have nothing to do with Bukkit, it's all WorldEdit and AntiShare.

    Unless Bukkit REALLY broke locations (which would be nearly impossible), Bukkit has no play in this.
  16. Offline


    Hmmm well I can't think of any reasons any of my other plugins would effect it. None of them have to do with gamemodes/gamemode changing/region selection
  17. Offline


    It's a very weird bug...

    AntiShare 3.1.3 has been out for a full week and nothing came up in testing, my email, Bukkit Dev, or even here until you mentioned it.

    I'll try to debug it as much as possible, but I have no idea if it will produce a result.
  18. Offline


    Well good luck and thanks anyways. This one encompasses almost everything I need. Would be awesome if I was able to use it. If you would like i could try and make a video of the exact situation and send you the link.
  19. Offline


    If you want, you can try a dev build.

    New features are not documented (well), and it has no known bugs (for the latest build only).

  20. Offline


  21. Offline


    Ok then....

    *sighs* Sorry, I'll get to work on fixing that as well
  22. Offline


    lol thats ok I just hope there is a solution you have a good plugin here.
  23. Offline


    Thank you :)

    (And there is always a solution, finding it is the hard part)
  24. Offline


    They can give themselves diamonds anything that's worth tons of $$$ they can say /sell and they can get all the money.
  25. Offline


    Are you reporting a bug? Demonstrating what AntiShare can prevent? Or...?
  26. Does AntiShare change a players inventory when they switch worlds?
  27. Offline


    If you have no other world inventory plugin, yes
  28. Can you make it so it defaults to share inventories between world, world_nether, world_the_end?
    If not, what do I need to change to make it do so?

    Also - Every since installing AntiShare (Latest build), some users have been complaining of inventory lose, be it the entire inventory or just some items. It happens when they log off and back on. Don't have access to errors form console log, however, sorry.
  29. Offline


    I have two things that need to be fixed. #1People can put down ores and somebody else can come along and destroy them. #2 When somebody has a jukebox down they can put disks in it and take it out. Can you make it so we can set what people can spawn and not spawn? Like every single Item? I want people to be able to access building materials not like Netherwarts and stuff... Also a time limit between they can do /gm so if they are about to be killed by another player they dont just do /gm and they are invulnerable to death.

    I ended up removing the plugin I found an EXTREME Bug. Say you have a stack of wool you keep spamming q and dropping the Items on the ground then you quickly log out of server log back in and the items you dropped on the ground are still there and guess what they are also in your inventory it duplicates items :eek:

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 23, 2016
  30. Offline


    I"m having quire a few issues with duplicating items and inventories being deleted.

    I believe this has something to do with the fact every time Anti Share says Saving virtual files to disk/SQL, my server stops processing commands at that point (te console stops responding to server commands, and if anti share is savign while the server is running, all players get disconnected and the game crashes).

    I'm not sure what the version is, but I think it is a pre-release version. I am using it with 1.2.5-R1.0. Functionally, however, it IS stopping players from cheating in creative mode in all of the ways it is supposed to.
    _R0bert_ likes this.
  31. Offline


    Hi, i have tested the plugin at my own private server and it works fine, but when i upload it on my real server with the same things people can't do anything! please help!

    (I didn't make any area...)


Share This Page