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

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

  1. Offline

    turt2live Retired Staff

    [​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

    Sayshal

    I'm looking at the differences. What you did differently, why it was logical/illogical before etc. :p
     
  3. Offline

    turt2live Retired Staff

    Version 3.2.1

    • Fixed an SQL conflict
    • Fixed the right click and use lists not working 100%
    Download: Here (not working? Try here)
     
  4. Offline

    bianchini27

    How can i resolve these errors??

    2012-04-26 02:23:53 [INFO] [AntiShare] Enabling AntiShare v3.2.1
    2012-04-26 02:23:53 [SEVERE] Error occurred while enabling AntiShare v3.2.1 (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:215)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:256)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:238)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:371)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:358)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.ClassNotFoundException: com.sk89q.worldedit.bukkit.selections.Selection
    at java.net.URLClassLoader$1.run(Unknown Source)
    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)
    ... 11 more
     
  5. Offline

    turt2live Retired Staff

    Temporary fix: Install World Edit
     
  6. Offline

    EnigmA-X

    I just updated from 3.1.3 with Bukkit 1.2.5-R1

    • I was not using WorldEdit, so got the error as shown above. I solved this by installing WorldEdit.
    • My configuration files were simply overwritten and completely reset. I think that's not very nice, as it also includes database settings and all kinds of other customizations (I would expect at least a backup)
    • database conversion is not automatic, actually even worse: it's creating errors during startup
    Code:
    2012-04-26 16:55:51 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown table 'AntiShare_Inventories'
    2012-04-26 16:55:51 [SEVERE]    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2012-04-26 16:55:51 [SEVERE]    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    2012-04-26 16:55:51 [SEVERE]    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    2012-04-26 16:55:51 [SEVERE]    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.Util.getInstance(Util.java:382)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2325)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)
    2012-04-26 16:55:51 [SEVERE]    at com.turt2live.antishare.storage.SQL.updateQuery(Unknown Source)
    2012-04-26 16:55:51 [SEVERE]    at com.turt2live.antishare.storage.SQL.deleteQuery(Unknown Source)
    2012-04-26 16:55:51 [SEVERE]    at com.turt2live.antishare.convert.Convert.convert313to320b(Unknown Source)
    2012-04-26 16:55:51 [SEVERE]    at com.turt2live.antishare.AntiShare.onEnable(Unknown Source)
    2012-04-26 16:55:51 [SEVERE]    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
    2012-04-26 16:55:51 [SEVERE]    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
    2012-04-26 16:55:51 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    2012-04-26 16:55:51 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
    2012-04-26 16:55:51 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
    2012-04-26 16:55:51 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:543)
    2012-04-26 16:55:51 [SEVERE]    at org.bukkit.Bukkit.reload(Bukkit.java:182)
    2012-04-26 16:55:51 [SEVERE]    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
    2012-04-26 16:55:51 [SEVERE]    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
    2012-04-26 16:55:51 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473)
    2012-04-26 16:55:51 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:469)
    2012-04-26 16:55:51 [SEVERE]    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:596)
    2012-04-26 16:55:51 [SEVERE]    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:565)
    2012-04-26 16:55:51 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
    2012-04-26 16:55:51 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    
    Code:
    2012-04-26 16:55:51 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown table 'AntiShare_MiscInventories'
    2012-04-26 16:55:51 [SEVERE]    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2012-04-26 16:55:51 [SEVERE]    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    2012-04-26 16:55:51 [SEVERE]    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    2012-04-26 16:55:51 [SEVERE]    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.Util.getInstance(Util.java:382)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2325)
    2012-04-26 16:55:51 [SEVERE]    at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)
    2012-04-26 16:55:51 [SEVERE]    at com.turt2live.antishare.storage.SQL.updateQuery(Unknown Source)
    2012-04-26 16:55:51 [SEVERE]    at com.turt2live.antishare.storage.SQL.deleteQuery(Unknown Source)
    2012-04-26 16:55:51 [SEVERE]    at com.turt2live.antishare.convert.Convert.convert313to320b(Unknown Source)
    2012-04-26 16:55:51 [SEVERE]    at com.turt2live.antishare.AntiShare.onEnable(Unknown Source)
    2012-04-26 16:55:51 [SEVERE]    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
    2012-04-26 16:55:51 [SEVERE]    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
    2012-04-26 16:55:51 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    2012-04-26 16:55:51 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
    2012-04-26 16:55:51 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
    2012-04-26 16:55:51 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:543)
    2012-04-26 16:55:51 [SEVERE]    at org.bukkit.Bukkit.reload(Bukkit.java:182)
    2012-04-26 16:55:51 [SEVERE]    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
    2012-04-26 16:55:51 [SEVERE]    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
    2012-04-26 16:55:51 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473)
    2012-04-26 16:55:51 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:469)
    2012-04-26 16:55:51 [SEVERE]    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:596)
    2012-04-26 16:55:51 [SEVERE]    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:565)
    2012-04-26 16:55:51 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
    2012-04-26 16:55:51 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    
    I guess the database issue has to do with the fact that AntiShare might only upgrade the database at the first run after upgrade (?)

    How can I trigger the database "upgrade" manually? Is there a command to do so? I have a lot of inventory data in there which I don't want to lose.
     
  7. Offline

    turt2live Retired Staff

    When I next can, I'll take a look.

    The backup function is a good idea, and I never thought of it, so it will be implemented.

    As for the errors, it shouldn't even happen because (I think) it does checks before touching tables.

    Thanks for the report, if you absolutely need the information in the SQL database and you have some SQL knowledge, I can walk you through the new format
     
  8. Offline

    EnigmA-X

    Hmmm, the errors seem strange to me. I made a backup of my previous database, before dropping all the tables and start Bukkit again to see if AntiShare creates the new tables. It did and it works now, except I'm missing the old inventories.

    What's really strange is that my backup contains both old and new tables (AntiShare* and AS_*). It looks to me that the newer version uses the AS_* tables.

    When I pasted the errors, I was already using the new version of AntiShare, but it appears to complain about the *old* tables. I also have data in the new tables from that backup. So it appears the data was migrated from the old to the new tables, but somehow it was still looking for the old tables.

    Update:
    After starting with a new (clean) database, all inventories were empty. I managed to insert the old data into the new table. After that I have set the auto_increment to the proper value. This worked ok.
     
  9. Offline

    turt2live Retired Staff

    AntiShare uses a "stepped" converter.

    Every startup it looks for specific things to convert, such as inventories, rather than depending on 1 key to do so.

    The new version does use the AS_* tables (for quicker converting) and (if I remember correctly) AntiShare will try to convert the AntiShare* tables and drop them when done (as it doesn't want to rescan them).

    I have access to my code now, so I'll take a look and see why 1) It loves to spit out errors and 2) it's not converting how I imagined. (I wanted it to convert everything seamlessly without major issues, but coding a converter at 3am was clearly a bad idea as I overlooked a fail safes and a backup feature).
     
  10. Offline

    EnigmA-X

    I ran into a new problem: my users cannot use the /gm command anymore as they could with the previous version.

    my permissions settings (PermissionsEx)
    Code:
      member:
        permissions:
        - modifyworld.*
        - AntiShare.allow.break
        - AntiShare.allow.buckets
        - AntiShare.allow.interact
        - AntiShare.allow.place
        - AntiShare.allow.commands
        - AntiShare.gamemode
        - AntiShare.notify
    
    config.yml
    Code:
    enabled-features:
      gamemode-regions: true
      world-split: true
      sql: true
      no-experience-for-creative: true
      gamemode-command: true
      no-drops-when-block-break:
        inventories: true
        attached-blocks: true
    
    As admin, with * permissions, I can change mode. As member, I get:

    Code:
    [AntiShare] You cannot use that command
    I couldn't trace any other permission node to set anywhere... What's going wrong here?

    Another bug.

    When changing
    Code:
      right-click: true
    to

    Code:
      right-click: false
    I get:

    Code:
    19:56:57 [WARNING] [AntiShare] Configuration Problem: '' is not valid!
    19:56:57 [WARNING] [AntiShare] Configuration Problem: '' is not valid!
    19:56:57 [WARNING] [AntiShare] Configuration Problem: '' is not valid!
    The right-click setting is still default:
    Code:
      right-click: storage minecart, powered minecart, chest, furnace, dispenser, jukebox
    It's reproducable, time after time. The warning is not very descriptive, it would be nice to have a line-number of the config file where the error occurs...

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

    turt2live Retired Staff

    Try giving the permissions "AntiShare.gamemode.others", it may be a weird bug. (Sorry >.<)

    As for the enable/disable lists, I'll work on it. Thanks :)
     
  12. Offline

    EnigmA-X

    Another reproducible bug:

    In case in config.yml:
    Code:
    blocked-actions:
     
      commands: false
    
    ... *all* commands appear to be blocked (opposite of what I would expect). These commands include the basic bukkit commands like /list (for listing online players). If I type /list, I get:

    Code:
    [AntiShare] You cannot use that command
    When I change it back to 'commands: true' in config.yml I can use /list again.

    Since I've changed the expectedly blocked commands parameter in config.yml to:

    Code:
    blocked-lists:
     
      commands: /somecommand
    ... I can also succesfully use the /gm command as expected.

    Update:
    After using the workaround you suggested (AntiShare.gamemode.others) I finally found out what seems to be happening!

    When I enabled the AntiShare.gamemode.others I almost dropped one of my fellows into the lava. Why? Because you changed the /gm command.

    In the previous version a player could use /gm to change the gamemode for himself. Once I enabled the .others permission and typing /gm, it picked the first player in the server as a target. However, I could do /gm <myself> to change my personal gamemode.

    After disabling the .others permission, I tried again. The command /gm reproduced the "You are not allowed to do that.", but using /gm <myself> worked.

    I guess you should (at least) update your documentation on this change for a little bit. Still I think it's better to get back to the old behavior, as dropping your fellows into death while they're (well... were) flying is not very nice and doesn't make one very popular...
     
  13. Offline

    turt2live Retired Staff

    There, thus far I've managed to fix everything you've mentioned. :)

    Any other bugs you've noticed that I should fix before releasing 3.2.2?
     
  14. Offline

    EnigmA-X

    Yep, found another two.

    Picking up items is not allowed. But when I break something which I'm not allowed to pick up, I keep getting repeatedly warnings that I cannot pick it up. I cannot find any setting to switch it off...

    Also, when I do a /as reload some player get funky inventory switches (current selected tool replaced by an empty bucket for example, but different for each player).

    And another one:

    When I go from world to The Nether, my inventory is emptied. When I change gamemodes for several times and than go back to world, also all my inventory is empty (creative AND survival).
     
  15. Offline

    turt2live Retired Staff

    All messages can be stopped by going into messages.yml and setting the value to "no message". This will silence that message.

    The /as reload is because to fix an inventory bug I had to use a "temporary" system for regions. This means that when you walk into a region your inventory is "temporary". On reload, AntiShare forces all players out of temporary then once it's re-enabled it pokes all players to check their regions and change inventories accordingly. So for the 5 seconds (max) AntiShare is reloading players have no inventory tracking and have their original inventory back.

    I can't replicate the world transfer issue, could it be your world manager plugin? (Also, double check that you have the world transfers setting in the config.yml to match what you please)

    Version 3.2.2

    • Fixed right-click and use (again)
    • Fixed an issue with not having WorldEdit
    • Forced a backup of the config.yml before converting
    • Fixed command blocking and /gm
    • Fixed leaving regions not working correctly
    • Fixed a (weird) problem with players quitting
    Download: Here (not working? Try here)

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

    Yodah

    Hello, Turt2live

    Im getting this issue very time i reload my server everybody's inventory switches to what they had like 40 mins ago, or it does this by its self very 30 mins, any clue what could be causing this? Also im using mysql for storage, could the problem be, that i switched from your previous Antishare plugin (the one with the really complicated configs) to this very easy to understand version? Love your plugin btw best thing to happen, since fire was discovered.
     
  17. Offline

    turt2live Retired Staff

    Weird....

    If I can ask you a few questions...
    1) Does it switch back after a few seconds
    2) Are the people affected in regions
    3) Are you using an inventory management plugin
    4) Have you tried 3.2.2
     
  18. Offline

    Yodah

    1. No, it clears completely.
    2. No it does not switch back, it remains, and after so often it happens again. So it resets the items on peoples's inventory, but not whats in their chest. This does not effect me (Operator) or the Admins I exempt from Antishare, but it does effect the Moderators (they are not exempt from Antishare.)
    3. I'm not using a inventory management plugin
    4. Yes im using the 3.2.2, the new one. But this bug was also on the 3.2.0

    Also I uploaded a log file
     

    Attached Files:

    • log.txt
      File size:
      34.6 KB
      Views:
      0
  19. Offline

    Yodah

    log file

    in case u cant see the uploaded file, this is what the log looks like

    2012-04-26 16:03:34 [WARNING] [AntiShare] Creative block at location (-21, 53, 25, skyland) is not GRASS (found DIRT)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Creative block at location (-26, 53, 17, skyland) is not GRASS (found DIRT)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Creative block at location (974, 117, 1647, skyIsland) is not COBBLESTONE (found AIR)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Creative block at location (947, 84, 1672, skyIsland) is not COBBLESTONE (found AIR)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Creative block at location (962, 119, 1647, skyIsland) is not WOO (found AIR)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Creative block at location (-414, 94, 20049, skyIsland) is not GLOWSTONE (found AIR)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Creative block at location (-412, 94, 20046, skyIsland) is not GLOWSTONE (found AIR)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Creative block at location (-26, 51, 26, skyland) is not GRASS (found DIRT)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Creative block at location (974, 102, 1646, skyIsland) is not BOOKSHELF (found COBBLESTONE)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Creative block at location (-24, 53, 17, skyland) is not GRASS (found DIRT)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Creative block at location (-22, 53, 19, skyland) is not GRASS (found DIRT)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Creative block at location (-23, 52, 25, skyland) is not GRASS (found DIRT)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Creative block at location (-22, 52, 26, skyland) is not GRASS (found DIRT)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Creative block at location (-1945, 100, 5, skyIsland) is not WOOD (found AIR)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Creative block at location (-417, 92, 20037, skyIsland) is not SMOOTH_BRICK (found AIR)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Creative block at location (-29, 52, 26, skyland) is not GRASS (found DIRT)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Survival block at location (-1494, 101, 1493, skyIsland) is not LEAVES (found AIR)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Survival block at location (-1493, 99, 1494, skyIsland) is not LEAVES (found AIR)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Survival block at location (-1493, 100, 1494, skyIsland) is not LEAVES (found AIR)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Survival block at location (-1492, 98, 1490, skyIsland) is not COBBLESTONE (found AIR)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Survival block at location (-1493, 98, 1490, skyIsland) is not COBBLESTONE (found AIR)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Survival block at location (-1009, 103, 7, skyIsland) is not OBSIDIAN (found AIR)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Survival block at location (-1492, 100, 1490, skyIsland) is not COBBLESTONE (found AIR)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Survival block at location (-1493, 99, 1495, skyIsland) is not LEAVES (found AIR)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Survival block at location (-1491, 99, 1508, skyIsland) is not SAPLING (found AIR)

    2012-04-26 16:03:34 [WARNING] [AntiShare] Survival block at location (-1494, 98, 1500, skyIsland) is not SIGN_POST (found WALL_SIGN)

    2012-04-26 16:03:34 [INFO] [AntiShare] Reloading AntiShare...

    2012-04-26 16:03:34 [INFO] [AntiShare] Regions Loaded: 0

    2012-04-26 16:03:34 [SEVERE] [Metrics] http://metrics.griefcraft.com/report/OpenInv

    2012-04-26 16:03:34 [INFO] [AntiShare] Inventories loaded: 121

    2012-04-26 16:03:34 [INFO] [AntiShare] Reloaded
     

    Attached Files:

    • log.txt
      File size:
      34.6 KB
      Views:
      2
  20. Offline

    turt2live Retired Staff

    Inventory issue is weird, I'll run some tests.

    As for the log: That only happens when someone manages to remove/change blocks without AntiShare being notified. The grass -> dirt is an interesting one and I'll create an exception for changes like it, but the others could really only be changed if they were removed during a reload or the file was manually edited. I'll see if I can create some sort of work around.
     
  21. Offline

    stabwounfz

    is there any way to revert the user back to survival when leaving a creative area? let's say i want to have a 16x16 area inside my survival map just for creative. is it possible? maybe it's there but i can't find it?

    i also get this warning "You are in a region and therefore cannot change game modes"
     
  22. Offline

    turt2live Retired Staff

    Create a create region around the area you want to be creative. Here are the steps:
    1. Using WorldEdit, make the selection of where you want the region to be
    2. Type /as region creative <region name> where <region name> is a region name
    3. You're done!

    The warning you are getting, when does it happen?
     
  23. Offline

    stabwounfz

    well i already have the creative region done which works, as soon as i enter the region, it changes my gm to creative. i was just wondering if there was a way to switch people back to survival as soon as they leave the creative area. i get the warning as soon as i leave the creative area which is inside my main main town.
     
  24. Offline

    turt2live Retired Staff

    This was fixed in 3.2.2.

    There is a minor bug where if the server restarts then the players in regions will not change back and get the message.
     
  25. Offline

    stabwounfz

    oh i see. i definitely downloaded 3.2.1, i'll try the most recent file and report back
     
  26. Offline

    turt2live Retired Staff

    Alright :)
     
  27. Offline

    Yodah

    any solutions for this? this warning gets my log file really huge in just a short amount of time. is there something in the config i need to fix? maybe to shut off the warnings?

    >
    00:40:55 [WARNING] [AntiShare] Survival block at location (2499, 100, 984, skyIsland) is not DIRT (found GRASS)
    >
    00:40:55 [WARNING] [AntiShare] Survival block at location (2502, 100, 986, skyIsland) is not DIRT (found GRASS)
    >
    00:40:55 [WARNING] [AntiShare] Survival block at location (2501, 100, 985, skyIsland) is not DIRT (found GRASS)
    >
    00:40:55 [WARNING] [AntiShare] Survival block at location (2500, 100, 984, skyIsland) is not DIRT (found GRASS)
    >
    00:40:55 [WARNING] [AntiShare] Survival block at location (-114, 37, 80, skyland) is not CROPS (found AIR)
    >
    00:40:55 [WARNING] [AntiShare] Survival block at location (2501, 100, 1021, skyIsland) is not DIRT (found GRASS)
    >
    00:40:55 [WARNING] [AntiShare] Survival block at location (2502, 100, 1022, skyIsland) is not DIRT (found GRASS)
    >
    00:40:55 [WARNING] [AntiShare] Survival block at location (2503, 100, 1023, skyIsland) is not DIRT (found GRASS)
    >
    00:40:55 [WARNING] [AntiShare] Survival block at location (-114, 37, 79, skyland) is not CROPS (found AIR)
    >
    00:40:55 [WARNING] [AntiShare] Survival block at location (2441, 102, 995, skyIsland) is not WOOD (found AIR)
    >
    00:40:55 [INFO] [AntiShare] Reloading AntiShare...
    >
    00:40:55 [INFO] [AntiShare] Regions Loaded: 0
    >
    00:40:57 [INFO] [AntiShare] Inventories loaded: 5
    >
    00:40:57 [INFO] [AntiShare] Reloaded
     
  28. Offline

    turt2live Retired Staff

    There is nothing that can be done about those messages other than avoid block changes.

    You could disable block tracking as that would help.
     
  29. Offline

    stabwounfz

    it worked. now i have an issue with people using /spawn or /back and keeping the creative gm :(
     
  30. Offline

    turt2live Retired Staff

    What do you mean?
     
  31. Offline

    stabwounfz

    i blocked the commands with worldguard and now it's working fine. thanks for the great plugin

    when they use teleport command it doesn't revert them back to survival.

    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