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

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

  1. Offline

    turt2live

    [​IMG]

    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.


    [​IMG]
     
  2. Offline

    Blue95o8

    This plugin is absolutely amazing. Thank you for making it. But I have a small request. Can you make it so that it will deny the user from placing ore's. Like I found that even though they weren't able to place diamond blocks they can still place tons of diamond ore blocks everywhere. Thanks! Other than that this plugin is so great!
     
  3. Offline

    turt2live

    Let me know if you would like anything added in 3.1.0 :)

    I will definiatly add that to 3.1.0, thanks for the suggestion!

    Edit: Managed to fail at reading (sorry!). To answer your other question (the gamemode switch), currently: no. Because of the amount of plugins that use /gm, /gamemode, etc, I don't know if it would be a good idea for me to add, I will however see about adding it.

    Glad you like it :D

    My fail, will be fixed in 3.1.0, I promise

    This is already possible, just add the item id of Diamond Block (or whichever) to the "block_place" portion under "events" in the config.yml.

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

    Pixiio

    Please release it soon! ;D
     
    turt2live likes this.
  5. Offline

    General_Nono

    Hey, I only want to say:
    That's one of the awesome Plugins ever! I need it really, and I finaly wait on Release 3.10 !
    I LIKE! :D
     
  6. Offline

    godhex

    Yeh me too great plugin.
    There are so many cheaters rrrrrrr, i have 5 anti xiters in my server, but they keep coming, BOT´s autofishing, creativemod, speed, etc, e combat almost them all, and with this one they now can enter godmod but cant do anything only fly :( what plugins do you have to fight tthis cheaters.
     
  7. Offline

    Stephen92

    ty very much :))
     
  8. Offline

    turt2live

    I'm coding as much as I can, there is a lot of testing to do though.

    Anything you think that could be added, let me know :)

    You should check out NoCheat and similar plugins, they offer features like blocking people from using particular mods and such.

    You are very welcome :D
     
    Stephen92 likes this.
  9. Offline

    godhex

    i have in my server, Orebfuscator, nocheat, knohax, antishare :)
     
  10. Offline

    Blue95o8

    Oh. Wow. Thank you. I can't believe I missed over that :)
     
  11. Offline

    turt2live

    It's alright :)

    Enjoy the plugin :D Let me know if you need any help/are looking for features

    Just a small update to answer a bunch of questions I've been getting:

    AntiShare 3.1.0 has NOT been released (yet), it will be soon (likely this weekend) as there is a bunch of stuff I'm packing into AntiShare, but I want to keep the plugin small, fast, and effective. Some updates include GameMode Regions, Survival block tracking, and an in-game configuration helper (so you don't have to read all the of the config.yml wondering how to make it work).

    If you would like to try the DEVELOPER version of AntiShare, the link is just a bit further down. I do warn you though: 3.1.0 may (and likely will) have major/minor bugs in it, if you get one of these bugs please submit a bug report here. Now that you are aware that 3.1.0 may not function as expected, you can download if you like from the Jenkins.

    As for 3.0.0, if you are getting a bug (error, incorrect function, etc), please read the list below of Known bugs in 3.0.0.

    • "Inventory change took longer than 5 seconds" - This only occurs on any 1.2.3 build of CraftBukkit
    • "Could not pass event EntityDamageByEntity to AntiShare" - This happens on nearly all CraftBukkit builds
    If you get any of the above bugs, please DO NOT send it as a report, it's already known. If you get something different however, please send it in and I'll see if it's still broken in 3.1.0 (the developer version).
    If you have any questions, let me know :D

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

    turt2live

    I apologize for the delays in 3.1.0.

    I can assure that it is being worked on (heavily) and is currently going through optimization and minor edits.

    To help with the debug process, you can download the developer version although I do warn that there may be plugin-breaking bugs, so backup if you plan to use it live.

    Thank you for your patience, I promise to have it out before (or when) the CB RB is out for MC 1.2.3 :D
     
  13. Offline

    nicquehen

    Take your time :)

    I can do some test the region functionnality (but i don't know if it possible to do that now in the dev version) if you want.
     
  14. Offline

    turt2live

    If you would like to do some testing on AntiShare to help me out, go ahead :)

    I strongly suggest the latest dev version of both CraftBukkit and AntiShare though.
     
  15. Offline

    christley

    ive tried most of the dev builds for several days now. both for 1.2.3 and 1.2.4.
    it does what its supposed to. blocks the items i want it to. but it spams the console with atleast 20 lines of code 2 times every second. so its practicly impossible to see what's going on in there.
    and due to the chatlog being spammed so much, i cant provide what it does. since it made the server log over 100mb large and its impossible to open that file without notepad crashing.

    just a heads up, nothing against this plugin.
    and yes. its not just one release. tried atleast 10 of them.
     
  16. Offline

    turt2live

    May I ask what builds those are? As well, if possible, upload the server log to a large file upload service and send me the link if you like
     
  17. Can you please add an option to disable AntiShare's control of '/gm'. I much prefer Essential's handling of it, (especially the ability to give essentials.gamemode but NOT essentials.gamemode.others) but I really need the update of this plugin, as the current version I have in 1.2.4 has a major issue. When someone in gm1 places a block and someone in gm0 tries to destroy that block, they get the drop and the block is unchanged, so they can get unlimited drops from the block. Thanks for reading.
     
  18. Offline

    turt2live

    I'll add the option, thanks for the idea.

    As for the bug: This may be a problem with CraftBukkit, I've been working on some alternate code to get around it.

    Edit: Because of Bukkit, I can't actually disable the command cleanly, but I will make it mirror essential's command use as well as permissions (by adding the .other permission)
     
  19. Offline

    christley

    antishare: #168,170,171,174,178,180,187,190,192
    bukkit: #2077,2092,2093,2095,2100,2105,2109

    which are those versions ive tried.

    server log: http://speedy.sh/z86mZ/server.log
     
  20. Offline

    turt2live

    Thank you, I'll defiantly take a look at why this is happening (It's something to do with the region handler..)

    EDIT:
    Looks like it has been fixed, if the problem occurs with a newer dev build of AntiShare, please let me know.
     
  21. Offline

    christley

    idk if its the same problem, but it spams some message now. something about an overflow.

    im using #204 antishare and bukkit #2117 this time
    http://speedy.sh/RM5wj/server.log
     
  22. Offline

    turt2live

    Yea, I built in an error-limiter, essentially it stops a bunch of spam from hitting the console by only showing a single message. It only activates if the same error occurs more than once in a 1 second timespan

    Edit:
    I've tried to replicate the error (as it is still a player move problem) with every situation I can think of. Try stopping the server, rename the AntiShare plugin folder to something else, then start the server. AntiShare will regenerate all the files it needs to operate. Once the server is started, try to recreate the problem, if it does not happen, go to the old AntiShare folder and double check the configurations as there may be a spelling mistake in a value causing AntiShare to have a fit.
     
  23. Offline

    christley

    ill try that once i start my server again. but however i noticed that it takes "forever" to disable antishare when you stop the server.
    every plugin disables in a split second. but it takes about 10 seconds for it to go onto the next one. idk if that's a bug. but i thought i should let you know. same build as i mentioned in last post
     
  24. Offline

    turt2live

    That is likely to happen, and it is considered minor on my to do list at the moment.

    The only reason why it does this is because AntiShare touches as little files as possible to reduce the load on the CPU (because AntiShare has to deal with just about every event Bukkit has to offer). How it does this is it uses the RAM (which is faster for it to load off of) and saves everything there until AntiShare is disabled, at which point it saves everything back to the disk.

    The easiest way to avoid this is to do a periodic save every so often (AntiShare has this option in the configuration) so it's not all saved on disable.

    While writing up documentation I realized a potential issue (which I have confirmed as of now) the AntiShare may have encountered.

    Likely your server does not have Vault and/or WorldEdit, neither of these are 100% required although they do unlock the full potential of AntiShare, but at the moment they murder functionality of the plugin through improper checks to see if they exist.

    I will defiantly be fixing this once I'm finished writing up the documentation I started (so sometime soon in relation to the time of this post).

    Edit:
    Build #207 (Jenkins) no longer causes insane amounts of spam if WorldEdit is missing (Vault never caused issues in testing, so I am at the moment considering AntiShare stable if Vault and/or WorldEdit are missing).

    If build 207 doesn't fix your issue, please review your config.yml for AntiShare, if it looks OK let me know over PM so I can help you out without spamming the forums.

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

    turt2live

    AntiShare v3.1.0

    Changes:
    • Conflict detection for other plugins AntiShare doesn't get along with
    • Configuration Helper
    • GameMode Regions
    • /gm command
    • Inventory Mirror command
    • Periodic save option
    • Update check, usage statistics, and a better API
    • Built-in debugger
    • 'Hazards'
    • Survival block tracking
    • Negation in the blocked-actions lists as well as the tracked-blocks lists
    • Words and ID's can be used in the configuration (eg: stone)
    • AntiShare-exclusive logging with analyzer
    • Events for notifications and bugs (for AntiShare developers)
    • Better permissions (makes more sense)
    • CraftBukkit for Minecraft 1.2.4 Support
    Documentation is coming soon! I have a lot to write so the page is a bit outdated.

    Download AntiShare v3.1.0 for CraftBukkit 1.2.4-R1.0

    Update: The post has been updated to reflect the new changes

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

    Ezprezo

    I appreciate your work on this. Thank you.
     
  27. Offline

    turt2live

    Version 3.1.1
    • Fixed the startup error
    You can download 3.1.1 by clicking here. (Link not working? Try here)
     
  28. Offline

    FITZY3698

    You should also add the option to enable and disable PvP
     
  29. Offline

    turt2live

    There is, you can even disable hitting mobs.

    Check out the config.yml for a detailed explanation and let me know if you need further help. :)

    AntiShare - v3.1.2

    This is not a required update, it just fixes a minor bug regarding chat.

    Download Here. (This download comes from my Jenkins, so check the filename before restarting your server)

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

    FITZY3698

    I have just tried this and people even in survival were getting blocked from everything. any suggestions?
     
  31. Offline

    turt2live

    Are you using any permissions plugin? If not, I suggest you get one.

    The issue is likely caused because of a 3.0.0 -> 3.1.0 permissions bridge where the configuration setting "only if creative" was transformed to a permission. This means that your players may have the permission "AntiShare.onlyIfCreative.global" and the configuration setting of "only if creative" to false, meaning that everyone is blocked. You will need to assign "AntiShare.onlyIfCreative" to true/false for permission groups/players or change the configuration setting to fix this.

    If that doesn't work, please pastebin me your configuration of AntiShare and I'll see what I can do (as this bug didn't turn up in testing). CENSOR YOUR SQL SETTINGS BEFORE SENDING THE CONFIGURATION (even if they are the defaults). I don't want to know what they are, and I'm pretty sure you don't want the community to know either.

    AntiShare - v3.1.3

    • Fixed SQL not working
    • Fixed commands not being blocked correctly.
    You can download 3.1.3 here (not working? Click here)

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

Share This Page