[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


    Oh, that's great! Was afraid this would be broken. XD
  3. Offline


    I need help because i just installed it but when i switch from creative to survival my inventory doesn't change. But im not sure if its because i own the server.
  4. Offline


    If you are OP, then you bypass nearly all of AntiShare
  5. Offline


    OK thanks so much
  6. Offline


    Does this seperate Survival and Creative XP levels as well?

    Because someone could throw a bunch of Bottles O' Enchanting and enchant something in survival.
  7. Offline


    AntiShare 3.8.0:
    • You can block the "Bottle o' Enchanting" (experience bottle)

    AntiShare's Next Release:
    • Per-GameMode levels
  8. Offline


    Cool, looking forward to that.
  9. Offline


    AntiShare 4.0.0

    Get it now from BukkitDev (mirror)

    Change Log
    • Added /as check [gamemode]
    • Added per-Game Mode levels
    • Added ability to block specific crafting recipes
    • Added conflict detection and warning
    • Added 'linked inventories'
    • Added ability to block right clicking of mobs (like villagers)
    • Fixed the checking of redstone on blocks for creative breaking
    • Fixed infinite region configurations
    • Fixed ability to break "protected blcoks" (from LWc, ChestShop, and Lockette)
    • Fixed potions being throwable <s>and edible</s>
    • Fixed non-standard world inventories not saving
    • Fixed sand/gravel/cacti glitches
    • Updated overall sanity
    • Updated mob blocking to allow specific mobs
    • 1.3.1-R1.0 Support
      • Block tracking supports (uselessly) Adventure blocks
      • GameMode Inventories supports Adventure Mode
      • WorldSplits are not able to be creative, survival, or adventure (default to creative & survival)
      • Regions support Adventure Mode
      • Fines/Rewards support Adventure mode
      • Internal handling of new blocks, like the Ender Chest
      • Support for "Survival Inventory" tab in Creative
    • Known Bug: Typing 'all, -wool:1' (for example) does not work
    • Known Bug: [Not AntiShare] Interact events are not fired for AIR
    • Known Bug: [Not AntiShare] Food (like meat and potions) can be eaten
    • Planned: Per-Game Mode Ender Chest

    AntiShare 4.0.0 Re-upload

    Uploaded the wrong version the first time.

    Don't be alarmed if you do a version check on AntiShare and see 4.1.0-DEV, this is because I re-uploaded a development version (yes, it works just the same. All I added was a better error reporting system to the plugin).

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


    Is it possible to make it so that the creative players can't pvp? Some of them like to abuse it on my server..
  11. Offline


    By default, yes
  12. Offline


    Hey great plugin. I really enjoy it. You might want to add 379 by default, because that is a Brewing stand, they can still open that and get stuff out etc. Anywayrs is it already possible to add Enderchest to the list or not?

    The newest version for 1.3.1 isn't working for me? People keep the stuff when changing gamemode, can open chest etc. And when I use a command it gives the Help page from Antishare. When i try it again, with the default stuff it does it again. Im now going to try it without any changes in config.

    Ok so I tried to do it again, just AntiShare without the Antishare map, so it creates one and i get this error when starting everytime:

    2012-08-09 12:17:55 [INFO] Starting minecraft server version 1.3.1
    2012-08-09 12:17:55 [INFO] Loading properties
    2012-08-09 12:17:55 [INFO] Default game type: SURVIVAL
    2012-08-09 12:17:55 [INFO] Generating keypair
    2012-08-09 12:17:55 [INFO] Starting Minecraft server on *:25565
    2012-08-09 12:17:55 [INFO] This server is running CraftBukkit version git-Bukkit-1.3.1-R1.0-2-g8cb9639-b2323jnks (MC: 1.3.1) (Implementing API version 1.3.1-R1.1-SNAPSHOT)
    2012-08-09 12:17:56 [INFO] ----- Bukkit Auto Updater -----
    2012-08-09 12:17:56 [INFO] It appears that you're running a Development Build, when you've specified in bukkit.yml that you prefer to run Recommended Builds.
    2012-08-09 12:17:56 [INFO] If you would like to be kept informed about new Development Build releases, it is recommended that you change 'preferred-channel' in your bukkit.yml to 'dev'.
    2012-08-09 12:17:56 [INFO] With that set, you will be told whenever a new version is available for download, so that you can always keep up to date and secure with the latest fixes.
    2012-08-09 12:17:56 [INFO] If you would like to disable this warning, simply set 'suggest-channels' to false in bukkit.yml.
    2012-08-09 12:17:56 [INFO] ----- ------------------- -----
    2012-08-09 12:17:56 [INFO] [GroupManager] Loading GroupManager v2.0 (Dev2.9.384) (Phoenix)
    2012-08-09 12:17:56 [INFO] [iZone] Loading iZone v7.6.1
    2012-08-09 12:17:56 [INFO] [Permissions] Loading Permissions v3.1.6
    2012-08-09 12:17:56 [INFO] [AntiShare] Loading AntiShare v4.1.0-DEV
    2012-08-09 12:17:56 [INFO] [NoCheat] Loading NoCheat v3.5.0
    2012-08-09 12:17:56 [INFO] [LWC] Loading LWC v4.2.1 (b731-git-128ef2a9) (August 04, 2012)
    2012-08-09 12:17:56 [INFO] [mcMMO] Loading mcMMO v1.3.10-b1025
    2012-08-09 12:17:56 [INFO] [MobArena] Loading MobArena v0.94.4.52
    2012-08-09 12:17:56 [INFO] [Essentials] Loading Essentials vDev2.9.384
    2012-08-09 12:17:56 [INFO] [EssentialsProtect] Loading EssentialsProtect vDev2.9.384
    2012-08-09 12:17:56 [INFO] MLog clients using java 1.4+ standard logging.
    2012-08-09 12:17:56 [INFO] [EssentialsSpawn] Loading EssentialsSpawn vDev2.9.384
    2012-08-09 12:17:56 [INFO] [EssentialsChat] Loading EssentialsChat vDev2.9.384
    2012-08-09 12:17:56 [INFO] [Factions] Loading Factions v1.6.9_pre
    2012-08-09 12:17:56 [INFO] [LWC] Enabling LWC v4.2.1 (b731-git-128ef2a9) (August 04, 2012)
    2012-08-09 12:17:56 [INFO] [LWC] Loaded 209 locale strings (0 overrides)
    2012-08-09 12:17:56 [INFO] [LWC] Permissions API: §4SuperPermsPermissions
    2012-08-09 12:17:56 [INFO] [LWC] Currency API: §4EssentialsCurrency
    2012-08-09 12:17:56 [INFO] [LWC] Connecting to SQLite
    2012-08-09 12:17:56 [INFO] [LWC] Performing any necessary database updates
    2012-08-09 12:17:56 [INFO] [LWC] Using database: Native
    2012-08-09 12:17:56 [INFO] [LWC] Precached 132 protections
    2012-08-09 12:17:56 [INFO] [LWC] Enabled plugin support for MobArena
    2012-08-09 12:17:56 [INFO] [mcMMO] Enabling mcMMO v1.3.10-b1025
    2012-08-09 12:17:56 [INFO] [mcMMO] Loading mcMMO config.yml File...
    2012-08-09 12:17:56 [INFO] [mcMMO] Loading mcMMO treasures.yml File...
    2012-08-09 12:17:56 [INFO] [mcMMO] Loading mcMMO repair.vanilla.yml File...
    2012-08-09 12:17:56 [INFO] mcMMO version 1.3.10-b1025 is enabled!
    2012-08-09 12:17:57 [INFO] Preparing level "world"
    2012-08-09 12:17:57 [INFO] Preparing start region for level 0 (Seed: -7205442017029324016)
    2012-08-09 12:17:58 [INFO] Preparing start region for level 1 (Seed: 741314624770434383)
    2012-08-09 12:17:58 [INFO] Preparing spawn area: 3%
    2012-08-09 12:17:59 [INFO] [GroupManager] Enabling GroupManager v2.0 (Dev2.9.384) (Phoenix)
    2012-08-09 12:17:59 [INFO] GroupManager - INFO - World Found: world
    2012-08-09 12:17:59 [INFO] GroupManager - INFO - Superperms support enabled.
    2012-08-09 12:17:59 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes!
    2012-08-09 12:17:59 [INFO] GroupManager - INFO - Backups will be retained for 24 hours!
    2012-08-09 12:17:59 [INFO] GroupManager version 2.0 (Dev2.9.384) (Phoenix) is enabled!
    2012-08-09 12:17:59 [INFO] [iZone] Enabling iZone v7.6.1
    2012-08-09 12:17:59 [INFO] [iZone v7.6.1] world.pvp = true
    2012-08-09 12:17:59 [INFO] [iZone v7.6.1] world_nether.pvp = true
    2012-08-09 12:17:59 [INFO] [iZone v7.6.1] Loaded 11 zones
    2012-08-09 12:17:59 [INFO] [Permissions] Enabling Permissions v3.1.6
    2012-08-09 12:17:59 [INFO] Fake Permissions version 3.1.6 is enabled!
    2012-08-09 12:17:59 [INFO] [AntiShare] Enabling AntiShare v4.1.0-DEV
    2012-08-09 12:17:59 [INFO] [AntiShare] Signs Loaded: 0
    2012-08-09 12:17:59 [INFO] [AntiShare] Fines Loaded: 0
    2012-08-09 12:17:59 [INFO] [AntiShare] Rewards Loaded: 0
    2012-08-09 12:17:59 [INFO] [AntiShare] Inventories Loaded: 0
    2012-08-09 12:17:59 [INFO] [AntiShare] Linked Inventories: 0
    2012-08-09 12:17:59 [SEVERE] Error occurred while enabling AntiShare v4.1.0-DEV (Is it up to date?)
    java.lang.NoClassDefFoundError: com/sk89q/worldedit/bukkit/selections/Selection
        at com.turt2live.antishare.AntiShare.onEnable(Unknown Source)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:365)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:265)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247)
        at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225)
        at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:376)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.ClassNotFoundException: com.sk89q.worldedit.bukkit.selections.Selection
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 12 more
    2012-08-09 12:17:59 [INFO] [NoCheat] Enabling NoCheat v3.5.0
    2012-08-09 12:17:59 [INFO] [NoCheat] version [3.5.0] is enabled.
    2012-08-09 12:17:59 [INFO] [MobArena] Enabling MobArena v0.94.4.52
    2012-08-09 12:18:00 [WARNING] [MobArena] Vault was not found. Economy rewards will not work!
    2012-08-09 12:18:00 [INFO] [MobArena] v0.94.4.52 enabled.
    2012-08-09 12:18:00 [INFO] [Essentials] Enabling Essentials vDev2.9.384
    2012-08-09 12:18:00 [INFO] Using locale en
    2012-08-09 12:18:00 [INFO] Using locale en
    2012-08-09 12:18:00 [INFO] Essentials: Using GroupManager based permissions.
    2012-08-09 12:18:00 [INFO] [EssentialsProtect] Enabling EssentialsProtect vDev2.9.384
    2012-08-09 12:18:00 [INFO] Initializing c3p0- [built 21-May-2007 15:04:56; debug? true; trace: 10]
    2012-08-09 12:18:01 [INFO] [EssentialsSpawn] Enabling EssentialsSpawn vDev2.9.384
    2012-08-09 12:18:01 [INFO] [EssentialsChat] Enabling EssentialsChat vDev2.9.384
    2012-08-09 12:18:01 [INFO] [Factions] Enabling Factions v1.6.9_pre
    2012-08-09 12:18:01 [INFO] [Factions v1.6.9_pre] === ENABLE START ===
    2012-08-09 12:18:01 [INFO] [Factions v1.6.9_pre] Loading board from disk
    2012-08-09 12:18:01 [INFO] [Factions v1.6.9_pre] Found and will integrate chat with EssentialsChat vDev2.9.384
    2012-08-09 12:18:01 [INFO] [Factions v1.6.9_pre] Economy integration is disabled, and the plugin "Vault" is not installed.
    2012-08-09 12:18:01 [INFO] [Factions v1.6.9_pre] Successfully hooked into LWC! Integration is currently disabled, though ("lwcIntegration").
    2012-08-09 12:18:01 [INFO] [Factions v1.6.9_pre] === ENABLE DONE (Took 714ms) ===
    2012-08-09 12:18:01 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2012-08-09 12:18:02 [INFO] Done (5.052s)! For help, type "help" or "?"
    2012-08-09 12:18:02 [INFO] GroupManager - INFO - Bukkit Permissions Updated!
    2012-08-09 12:18:05 [INFO] [mcMMO] Loading mcMMO spout.yml File...
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 23, 2016
  13. Offline


    Known bug in the released version, AntiShare requires WorldEdit (or you can download a recent development build).

    I don't add everything by default because I want people to edit the config, not just drag the plugin in and be done with it.
  14. Offline


    Would it be possible to seperate Ender Chests?
  15. Offline


    Planned feature when it's possible
  16. Offline


    Ok that explains alot lol. First I had worldedit on it, but then i deleted it.
  17. Offline


    I have an issue. I cant trade with villagers even in survival mode and i have the permission node '*'. Please Help
  18. Offline


    Known bug.

    Also giving yourself '*' may produce unexpected results.
  19. Offline


    Umm How can i fix this issue?
  20. Offline


    Download a dev build or wait.

    Use the dev build at your own risk
  21. Offline


  22. Offline


    Can You Help me with making antishare enabled on my *offline mode server* please. I love the plugin from reading the description.
  23. Offline


    I don't support offline servers. Buy the game legitimately or suffer the warnings.

    AntiShare 4.1.0

    • Added error reporting option
    • Added reconnect to SQL
    • Fixed potions (again)
    • Fixed ender pearls not being blockable
    • Fixed villagers (and other mobs) not being usable in Survival/Adventure
    • Fixed a rare startup error
    • Fixed "lit furnace" exploit
    • Fixed certain blocks being "droppable" under certain conditons, these blocks are
      • String/Tripwire
      • Repeaters (Diodes)
      • Rails (Powered, Detector, and Normal)
      • Flowers (Red and Yellow)
      • Mushrooms (Brown and Red)
      • Pressure Plates (Stone and Wood)
      • Seeds (on farmland/field)
      • Doors (Iron and Wood)
      • Saplings (Oak, Spruce, Birch, and Jungle)
      • Tripwire Hooks
      • Paintings (limited support - creative blocks only)
    • Fixed sugar cane gathering exploit (like with cacti)
    • Fixed falling sand/gravel exploit (This does not cover the 'new' falling block api)
    • Bug Fix: Food (like meat and potions) can be eaten
    • Planned: Per-Game Mode Ender Chest (code implemented, not used)
    Download here (mirror)

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


    So you didnt fix Villagers?
  25. Offline


  26. Offline


    Ohh Ok sorry didnt see that
  27. First I like to thank you for this plug in, it is just want I needed as I have a survival/Factions server with a freebuild world for donators. But I am slightly confused.. I have just one world (using Multiverse) for freebuild. It puts players into Creative the moment they join it. But they are pulling items out. What I just have to set the permissions for the Donator ranks for AS to effect just them and certain staff or something different. using PEX by the way. If ya need a copy of my perms just say so I'll send you a pasties link. Once again awesome plug in!
  28. Offline


    Permissions setup and the contents of 'as debug' please :)

    AntiShare 4.2.0

    • Added internal API for timings
    • Added per-GameMode Ender Chest support
    • Added more to Metrics to help determine what can be skimmed in 4.3.0
    • Bug Fix: Food (like meat and potions) can be eaten
    Download here (mirror)

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


    Type 'as debug' into the console

Share This Page