[INACTIVE][SEC] AntiGrief v1.2.1 - Anti-Build+Anti-Grief Measures with Polygon Zone Protection [818]

Discussion in 'Inactive/Unsupported Plugins' started by crowebird, Feb 9, 2011.

  1. Offline

    crowebird

    AntiGrief v1.2.1 [Download]
    AntiGrief is a Prevention plugin with multiple aims:
    • Prevent potential griefers.
    • Control who can do what.
    • Give the server owner complete customization.
    • Define limitations based on in game created zones.
    What this means is you have complete control over who can do what on your server.
    • You can allow guests to visit your server without being able to do anything.
    • You can prevent certain actions from being used by anyone or certain groups.
      • This can be done by action, or even by item.
    • It is up to you as the server owner, you can customize every element.
    Features:
    • Prevent/allow any action.
      • Prevent/allow any action with specific item customization.
    • Prevent the use of TNT/Explosions/Fire/Lava/Water.
    • Prevent Mob Targeting (I.e. Prevent griefing via lured creepers).
    • Prevent players from damaging other players.
    • Prevent players from receiving damage in multiple ways.
    • Prevention of the usage of vehicles.
    • Prevent on a per-world basis.
    • Prevent via user defined polygon zones.
    Version 1.2.1:
    • Compiled with 818

    Version 1.3 [coming soon]:
    • Zones now have enter and exit messages
    • New zone commands to add enter and exit message and command to delete zones
    • Ability to prevent explosions in a zone
    • Ability to prevent creature (by type) from spawning in a zone
    • Fixes to zone creation and visualization (unable to break visualizing blocks)
    • Users can only modify the zones they created
    • Ability to modify the area of a zone
    • Can modify points while creating a zone
    • Ability to set default actions allowed inside a zone
    • Slight modification to the main configuration file (prevent_nodes is nodes.prevent again and allow_nodes is nodes.allow again) - this way nodes.prevent/allow follows the same logic as prevent/allow when preventing/allowing an item based on a certain action
    • The ability to disable an item completely outright or by group/user
    • Other fixes/enhancements
    Version 1.0.3:
    • Fixed a logic error dealing with preventing items (<node>.prevent)
    Version 1.0.2:
    • Many bug fixes.
    • Fixed zones - they now work properly and match main configuration format.
    • Changed some nodes around
    • Some changes to config format.
    • Prevent item use added back
    • Fix for door interactions
    If upgrading to 1.0.2+ it is recommended that you let AG re-create your configuration files. I know it is a pain, but the new changes/increase customization required some shuffling/creation of settings that need a new format (mostly re-naming).

    AG requires GroupManager or Permissions although GroupManager is recommended for use with AG!

    Links:
    Wiki
    Download
    Report Issues
    Changelog

    [​IMG]
     
    Hrdkr, xcession and brosef like this.
  2. Offline

    but2002

    I'm a little confused. What part of this would allow TNT to work?
    [MERGETIME="1300085213"][/MERGETIME]
    NVM I thought this plugin was the one killing my TNT. NVM.
     
  3. Offline

    crowebird

    Yea :) It will only disable TNT if you tell it to
     
  4. Offline

    ReRRemi

    The last build don't works for me :
    Groups who are 'build: false' can build ... :'(

    I use GM 1.0 alpha5 and craftbukkit 512.
    I have no error, just this in my server console :
    Code:
    >ag reload
    02:50:46 [ATTENTION] AntiGrief - Missing priority [plugins/AntiGrief/config.yml], using default.
    02:50:46 [ATTENTION] AntiGrief - Missing zones.enable [plugins/AntiGrief/config.yml], using default.
    02:50:46 [ATTENTION] AntiGrief - Missing zones.tool [plugins/AntiGrief/config.yml], using default.
    but i have this file in plugins/AntiGrief/config.yml :
    Code:
    message:
      access: 'You are not allowed to perform that action!'
      command: 'You are not allowed to use that command!'
      delay: 5
    priorityLevel: 'lowest'
    zones: false
    Thanks =)
     
  5. Offline

    crowebird

    @ReRRemi - hey, so I have not documented it very well :p
    But I made some changes:
    priorityLevel is now priority, so thats the first warning
    zones is now zones.enable
    and there is a new zones.tool which defines the item number of the zone tool,

    So changes to fix those warnings you are getting would be:
    Code:
    message:
      access: 'You are not allowed to perform that action!'
      command: 'You are not allowed to use that command!'
      delay: 5
    priority: 'lowest'
    zones.enable: false
    zones.tool: 1
    (since you arn't using my zones, the tool really does not matter, and you don't even need to add the line, but to clear up the warning you would need to add it with whatever number you chose).

    As for it not working right, something with newer craftbukkit must have broken something or maybe something in the latest GroupManager. I am working on an update, but have been way over my head in other things and have not had a lot of time. I hope to push out a new release soon! If possible you might have to downgrade CB or GroupManager to get it to work right with AntiGrief 0.8.1.1
    Sorry for any inconvenience!!
     
  6. Offline

    ReRRemi

    Thank very much to you for your help so fast!

    I always have these messages:
    Code:
    03:46:10 [ATTENTION] AntiGrief - Missing zones.enable [plugins/AntiGrief/config.yml], using default.
    
    03:46:10 [ATTENTION] AntiGrief - Missing zones.tool [plugins/AntiGrief/config.yml], using default.
    The message of property is gone. But no matter what are just the warnings =).

    I took the version of CB 493, but what version I must take for GM ?
     
  7. Offline

    crowebird

    @ReRRemi - so... long day, I actually told you the wrong values for the configuration :p
    It would be:
    Code:
    zones:
      enable: false
      tool: 1
    for zones - that will fix the warnings there :)

    As for GM try alpha 3 or lower. Otherwise if there are no errors, I am not entirely sure. Did it work before? If not maybe paste your config file and i'll see if anything is amiss.
     
  8. Offline

    crowebird

    Version 0.9 Release:
    • Complete restructure of AntiGrief!
    • Configuration file/path name changes for better structure and anticipation for future changes
    • Zone visualization
    • Zone commands
    • Updated GroupManager and Permission support
    Please see the first post and wiki for more information on the changes and commands!
     
  9. Offline

    adde

    is it there some plugin that protect blocks that an op place out on the ground and a normal player cant remove or build on it??
     
  10. Offline

    Gnyf

    can it works with # 531?
     
  11. Offline

    Phase

    It worked for me on 531, and the newest recommended build 556.
     
  12. Offline

    crowebird

    @adde - AG can sort of do this if you use its zone protection or use zone protection of other plugins that provide it. Having it auto protect as you build is an interesting idea, and I will implement a method like that in the future!

    == Edit: also, I did not get a chance to test with Permissions 2.5.2 in depth, would appreciate anyone who is using Permissions over GroupManager to give feedback, just so I know it is working as expected. Thanks!
     
  13. Offline

    mike23

    ok i installed everything and it works great, it wont allow anyone nbut me, the admin to build. OK but i want to allow a user say, (minime) to be able to build. so i add him to the users.yml and place him in group Resident which looks like this

    Resident:
    default: false
    permissions: []
    inheritance: []
    info:
    prefix: ''
    build: true
    suffix: ''

    and the users.yml looks like this

    users:
    ratedterror2:
    subgroups: []
    permissions: []
    group: Admin
    damen9090:
    subgroups: []
    permissions: []
    group: Admin
    minime:
    subgroups: []
    permissions: []
    group: Resident

    so can anyone tell me why minime cannot build? thanks

    aslo can i have residents set to allow build:true but have them not able to have tnt and lava in there inventory. pretty much i want no tnt or lava in the server. so i want to block id's: 327, 51, and 46.
     
  14. Offline

    crowebird

    @mike23 - yes to your inquiry, (don't know the exact numbers, but if those are the respective block numbers then it should work right).
    As for it not working right, is that how the yml file is formatted, or did it just get compressed because of the forum?
    Otherwise it should look like this:
    users:
    Code:
    users:
      ratedterror2:
        subgroups: []
        permissions: []
        group: Admin
      damen9090:
        subgroups: []
        permissions: []
        group: Admin
      minime:
        subgroups: []
        permissions: []
        group: Resident
    groups:
    Code:
    groups:
      Resident:
        default: false
        permissions: []
        inheritance: []
          info:
            prefix: ''
            build: true
            suffix: ''
     
  15. Offline

    mike23

    yes it was compressed form the forums. its in that format and its not working.
    im thinking this is the problem
    allow:
    item: []
    block: []
    interact: [64]
    nodes:
    buildtrue: DOES SOMETHING HAVE TO BE HERE? LIKE DO I HAVE TO ALLOW CERTAIN ACTIONS? ['block.ignite',]
    buildfalse: ['block.damage',
    'block.place',
    'block.interact',
    'block.ignite',
    'entity.creeper',
    'player.damage.cause',
    'player.item.use',
    'player.item.pickup',
    'vehicle.use',
    'vehicle.move']

    Also, to block the number blocks, where do i add them into , thank you
     
  16. Offline

    crowebird

    @mike23 - sorry for the late reply.
    So in the default config there, nodes.buildtrue are all the things you want disabled on users with build rights (build: true) and nodes.buildfalse are all the things you want disabled on users without build rights (build: false). - The buildtrue was added so you can disable a certain action even on users who can build.

    Something else must be up, as I don't understand why they can't build in this case, as everything else looks to be correct. Which permission system are you using? Maybe it is not reading your users config correctly because:
    info:
    prefix: ''
    suffix: ''
    on users is not defined?
     
  17. Offline

    Kevin Forte

    I am having the same issue as mike23; I am almost positive that all of my permissions and everything are configured correctly, but it is only allowing me (also the admin) to do anything.

    EDIT: Also, while I am seeing this You are not allowed to perform that action! message over and over, is it possible for you to make it so that message supports color codes? :p Just an idea.
     
  18. Offline

    OrtwinS

    Can someone please confirm if it works with cb556? the title still says 531, can this be updated if it does work? I know a lot of things changed in the 31-56 range...
     
  19. Offline

    sunkid

    Seems like I ran into a very weird situation where AG and a creeper are competing against each other perpetually. I just set up a protection zone for our spawn area and went AFK for a bit. When I came back, I must have attracted a creeper (despite default params for the zone and me changing the creator to 'notch'), who blew up. AG fixed the damage, but somehow, the little green guy left his immortal soul behind, which keeps blowing up.
     
  20. Offline

    crowebird

    @Kevin - It should already support color codes if you add them to the message part of the settings.yml :)

    @OrtwinS - it should work with 556, but I will be updating it today, and fixing any bugs I can find.

    @sunkid - Strange, I wonder if it is just a glitch with Minecraft or Bukkit. All I really do is cancel the event from taking place; must have hit a weird loop where AG cancels the creeper from targeting your character as it is blowing up, and gets in a process of blowing up, but having the blow being cancelled, and can't escape? lol...

    (Edit for those of you where things arn't working when it seems like they should be, are you using Permissions or GroupManager?)
     
  21. Offline

    Steve Cole

    Cant figure out how to add users, groups to zones. also why doesn't Antigrief say something when you type a command wrong or give you a help list when you just type /ag?
     
  22. Offline

    crowebird

    Regarding the commands, yea... I never got around to putting in error messages :X
    They will be added in the next fix.

    As far as adding users/groups, there is an error in the code right now that will prevent you from manually adding users and using /ag reload (which has been fixed for the next release).
    To do it in game: /ag zone <zonename> add user <username> OR /ag zone <zonename> add group <groupname>
    will add a group or a user. (I will work on aliases for these commands so they are not as tedious: i.e. /ag z:<zonename> add u:<username> g:<groupname> -- with a method like this you can also add more than one user at once)

    Maybe I will have a release out tonight, I am working on another fix for doors as well.
     
  23. Offline

    Steve Cole


    thanks for the help, but after i create a zone(just the zone, no extra settings or users or groups defined) when i stop my server and start it back up again it throws errors when starting the server and the zone files become empty except for "null". once i delete the zone files it no longer throws error when starting the server.

    Dump of console after stopping the server:
    Code:
    16:14:45 [INFO] Starting minecraft server version Beta 1.3
    16:14:45 [INFO] Loading properties
    16:14:45 [INFO] Starting Minecraft server on 192.168.1.101:2999
    16:14:45 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-544-
    g6c6c30a-b556jnks (MC: 1.3)
    16:14:45 [INFO] Preparing level "world"
    16:14:45 [INFO] Preparing start region
    16:14:46 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10
    minutes!
    16:14:46 [INFO] GroupManager version 1.0(alpha-5) is enabled!
    16:14:46 [INFO] AntiGrief - Using the Lowest priority level.
    16:14:46 [INFO] AntiGrief - Version 0.9 Enabled!
    16:14:46 [WARNING] [BBROTHER] Table bbdata uses the MySQL storage engine InnoDB.
    
    16:14:46 [INFO] [BBROTHER] For optimal performance, we suggest changing to MyISA
    M via the following SQL statement:
    16:14:46 [INFO] [BBROTHER]   ALTER TABLE bbdata ENGINE = MyISAM;
    16:14:46 [INFO] [BBROTHER] Please note that, on many tables, this could take a v
    ery long time.
    16:14:46 [INFO] [BBROTHER] BBData MySQL Driver r1 loaded!
    16:14:46 [INFO] [BBROTHER] Permissions enabled using: GroupManager v1.0(alpha-5)
    
    16:14:46 [WARNING] [BBROTHER] 'Help' isn't detected. No /help support
    16:14:46 [INFO] [BBROTHER] BigBrother 1.7.1 enabled
    16:14:46 [INFO] [BlastPick] BlastPick 1.0.0 enabled successfully.
    16:14:46 [INFO] CraftBukkitUpToDate version 2.1.3 is enabled!
    16:14:46 [INFO] Fake Permissions version 2.5.1 is enabled!
    16:14:46 [INFO] CButD: CraftBukkit is up to Date
    16:14:46 [INFO] Loaded Essentials build 2.0.298 maintained by Zenexer, ementalo,
     Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    16:14:46 [INFO] Loaded EssentialsSpawn build 2.0.298 maintained by Zenexer, emen
    talo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    16:14:46 [INFO] [HeroChat] Permissions 2.5.1 found.
    16:14:46 [INFO] [HeroChat] HeroChat version 4.7.4 enabled.
    16:14:46 [INFO] Minecart Mania Admin Controls version 1.04 is enabled!
    16:14:46 [INFO] Minecart Mania Autocart version 1.04 is enabled!
    16:14:46 [INFO] Minecart Mania Automations version 1.04 is enabled!
    16:14:46 [INFO] Minecart Mania Chest Control version 1.04b is enabled!
    16:14:46 [INFO] Minecart Mania Core version 1.04e is enabled!
    16:14:46 [INFO] Minecart Mania Pressure Plates version 1.0 is enabled!
    16:14:46 [INFO] Minecart Mania Sign Commands version 1.04b is enabled!
    16:14:46 [INFO] Minecart Mania Spawner version 1.04 is enabled!
    16:14:46 [INFO] Minecart Mania Station version 1.04a is enabled!
    16:14:46 [INFO] [Residence] Found Permissions Plugin!
    16:14:46 [INFO] [Residence] Enabled! Version 1.0.1 by bekvon
    16:14:46 [INFO] TimeShift version 1.5 is enabled!
    16:14:46 [INFO] [TimeShift] hooked into Permissions.
    16:14:46 [INFO] WorldEdit 4.2 enabled.
    16:14:46 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin
     for permissions.
    16:14:46 [INFO] Done (0.167s)! For help, type "help" or "?"
    16:14:49 [INFO] [BBROTHER] Starting Cleanser thread...
    16:14:49 [INFO] [BBROTHER] Cleaned out 0 records because of age in 0h00m00s.
    16:14:49 [INFO] [BBROTHER] Ending Cleanser thread...
    16:14:51 [INFO] 143 recipes
    16:14:51 [INFO] nagwits [/192.168.1.101:50246] logged in with entity id 13
    16:14:52 [INFO] [Minecart Mania] Loading Sensor Data.
    16:14:56 [INFO] CButD: Plugin-Update-Check started
    16:15:06 [INFO] No source for WorldEdit.jar ask the Author to give me one
    16:15:06 [INFO] CButD: Plugin-Update-Check finished
    16:15:11 [INFO] AntiGrief - Configuration file created [plugins\AntiGrief\world\
    zones\test.yml]!
    16:15:54 [INFO] nagwits lost connection: disconnect.quitting
    >stop
    16:15:58 [INFO] Stopping the server..
    16:15:58 [INFO] CONSOLE: Stopping the server..
    16:15:58 [INFO] Stopping server
    16:15:58 [INFO] AntiGrief - Disabled!
    16:15:58 [INFO] [BlastPick] BlastPick 1.0.0 disabled successfully.
    16:15:58 [INFO] Fake Permissions version 2.5.1 is disabled!
    16:15:58 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin
     for permissions.
    16:15:58 [INFO] GroupManager - INFO - Scheduled Data Saving is disabled!
    16:15:58 [INFO] GroupManager version 1.0(alpha-5) is disabled!
    16:15:58 [INFO] [HeroChat] HeroChat version 4.7.4 disabled.
    16:15:58 [INFO] [Minecart Mania] Saving Sensor Data.
    16:15:58 [INFO] [Residence] Disabled!
    16:15:58 [INFO] Saving chunks
    >Press any key to continue . . .

    Zone file contents after I create the zone in game and stop the server:
    Code:
    parent: null
    points: ['-184,72,-13',
      '-189,72,-13',
      '-189,72,-18',
      '-184,72,-18']
    creator: 'nagwits'
    Dump of console when starting the server back up:
    Code:
    16:11:30 [INFO] Starting minecraft server version Beta 1.3
    16:11:30 [INFO] Loading properties
    16:11:30 [INFO] Starting Minecraft server on 192.168.1.101:2999
    16:11:30 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-544-
    g6c6c30a-b556jnks (MC: 1.3)
    16:11:30 [INFO] Preparing level "world"
    16:11:30 [INFO] Preparing start region
    16:11:31 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10
    minutes!
    16:11:31 [INFO] GroupManager version 1.0(alpha-5) is enabled!
    16:11:31 [SEVERE] 1 loading AntiGrief v0.9 (Is it up to date?)
    java.lang.ArrayIndexOutOfBoundsException: 1
            at com.crowebird.bukkit.plugins.AntiGrief.ZoneProtection.AntiGriefZonePr
    otectionZone.<init>(AntiGriefZoneProtectionZone.java:110)
            at com.crowebird.bukkit.plugins.AntiGrief.ZoneProtection.AntiGriefZonePr
    otection.addZone(AntiGriefZoneProtection.java:146)
            at com.crowebird.bukkit.plugins.AntiGrief.ZoneProtection.AntiGriefZonePr
    otection.load(AntiGriefZoneProtection.java:166)
            at com.crowebird.bukkit.plugins.AntiGrief.AntiGrief.buildConfig(AntiGrie
    f.java:154)
            at com.crowebird.bukkit.plugins.BukkitPlugin.onEnable(BukkitPlugin.java:
    104)
            at com.crowebird.bukkit.plugins.AntiGrief.AntiGrief.onEnable(AntiGrief.j
    ava:126)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:451)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:217)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    16:11:31 [WARNING] [BBROTHER] Table bbdata uses the MySQL storage engine InnoDB.
    
    16:11:31 [INFO] [BBROTHER] For optimal performance, we suggest changing to MyISA
    M via the following SQL statement:
    16:11:31 [INFO] [BBROTHER]   ALTER TABLE bbdata ENGINE = MyISAM;
    16:11:31 [INFO] [BBROTHER] Please note that, on many tables, this could take a v
    ery long time.
    16:11:31 [INFO] [BBROTHER] BBData MySQL Driver r1 loaded!
    16:11:31 [INFO] [BBROTHER] Permissions enabled using: GroupManager v1.0(alpha-5)
    
    16:11:31 [WARNING] [BBROTHER] 'Help' isn't detected. No /help support
    16:11:31 [INFO] [BBROTHER] BigBrother 1.7.1 enabled
    16:11:31 [INFO] [BlastPick] BlastPick 1.0.0 enabled successfully.
    16:11:31 [INFO] CraftBukkitUpToDate version 2.1.3 is enabled!
    16:11:31 [INFO] Fake Permissions version 2.5.1 is enabled!
    16:11:31 [INFO] CButD: CraftBukkit is up to Date
    16:11:31 [INFO] Loaded Essentials build 2.0.298 maintained by Zenexer, ementalo,
     Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    16:11:31 [INFO] Loaded EssentialsSpawn build 2.0.298 maintained by Zenexer, emen
    talo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    16:11:31 [INFO] [HeroChat] Permissions 2.5.1 found.
    16:11:31 [INFO] [HeroChat] HeroChat version 4.7.4 enabled.
    16:11:31 [INFO] Minecart Mania Admin Controls version 1.04 is enabled!
    16:11:31 [INFO] Minecart Mania Autocart version 1.04 is enabled!
    16:11:31 [INFO] Minecart Mania Automations version 1.04 is enabled!
    16:11:31 [INFO] Minecart Mania Chest Control version 1.04b is enabled!
    16:11:31 [INFO] Minecart Mania Core version 1.04e is enabled!
    16:11:31 [INFO] Minecart Mania Pressure Plates version 1.0 is enabled!
    16:11:31 [INFO] Minecart Mania Sign Commands version 1.04b is enabled!
    16:11:31 [INFO] Minecart Mania Spawner version 1.04 is enabled!
    16:11:31 [INFO] Minecart Mania Station version 1.04a is enabled!
    16:11:31 [INFO] [Residence] Found Permissions Plugin!
    16:11:31 [INFO] [Residence] Enabled! Version 1.0.1 by bekvon
    16:11:31 [INFO] TimeShift version 1.5 is enabled!
    16:11:31 [INFO] [TimeShift] hooked into Permissions.
    16:11:31 [INFO] WorldEdit 4.2 enabled.
    16:11:31 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin
     for permissions.
    16:11:31 [INFO] Done (0.171s)! For help, type "help" or "?"
    16:11:34 [INFO] [BBROTHER] Starting Cleanser thread...
    16:11:34 [INFO] [BBROTHER] Cleaned out 0 records because of age in 0h00m00s.
    16:11:34 [INFO] [BBROTHER] Ending Cleanser thread...
    16:11:36 [INFO] [Minecart Mania] Loading Sensor Data.
    16:11:41 [INFO] CButD: Plugin-Update-Check started
    16:11:49 [INFO] No source for WorldEdit.jar ask the Author to give me one
    16:11:50 [INFO] CButD: Plugin-Update-Check finished
    >
    Content of zone file after the error:
    Code:
    null
    sorry for all the text.
     
  24. Offline

    crowebird

    Yea, this error was found a few days ago thanks to sunkid and has been fixed!
    It will be fixed in the next update. If you are impatient and know how to compile, the source is on my github with the fix. I will try to push an official version tonight.

    Changes coming:
    - Zone null pointer fix
    - Workaround fix for guests still being able to place doors due to bukkit not having a specific event (or at least one that I don't know of).
    - Re-working of commands so they are shorter and easier to use.
    - More code restructure/optimization
    - Latest Bukkit Recommended Build update.

    - [It also seems there is an issue with Permissions if using Permissions over GroupManager, but the users with the issue have not confirmed it for me and have not had the time to test it myself. I want to make sure that everything is in working order here as well, and if not I will have a fix for this too]
     
  25. Offline

    GameFAQsRolo

    CB #556
    AntiGrief 0.9
    GroupManager 1.0 a5

    I'm confused on how to go about setting something up that block an item from lower ranks, but allow it on the higher ranks. I have 3 ranks where the important changes happen and with default AG settings.
    Untrusted = Build False
    Normal = Build True, but I want to block TNT and placing lava with a bucket
    Trusted = I want to allow TNT and lava buckets

    I thought it would be adding something simple like this to the Normal rank and then the opposite to the Trusted rank, but it hasn't worked.
    Code:
    antigrief.prevent.place.tnt
    antigrief.prevent.player.item.use.lavabucket
    I've read over posts, but the configuration is still confusing to me and the configuration pages on github don't go past the basic configuration or give examples. I'm sorry if I come off as a newb, but even though it looks like a straightforward set up I'm finding that it actually isn't unless I'm missing something embarrassingly obvious.
     
  26. Offline

    crowebird

    @GameFAQsRolo - so I have not created node customization that far yet... which is one of the reasons why it might seem confusing :)

    I will see if I can get that level of customization in by tonights release.
     
  27. Offline

    Steve Cole

    Thanks, im not too impatient, just wanted to make sure it wasn't something I was doing wrong.
    This is a nice plugin and I like it more then EpicZones or WorldGuard so far but i have 2 suggestions, if you dont mind.
    1. add Help support in a future update, either better support for essentials or support for Help
    Code:
    [URL]http://forums.bukkit.org/threads/info-help-0-2-the-smart-help-menu-531.6536/[/URL]
    begin able to get a command list from /help instead of a wiki just makes things quicker and easier.
    2. add an enter and exit message to the zones.

    If it works I plan on using AntiGrief to protect stuff for me and admins (people who have had experiance with plugins or mods before) and the spawnpoint. Then using Residence so players can more easily make zones with entering and exiting messages.

    Thanks for all the hard work.
     
  28. Offline

    GameFAQsRolo

    Oh, ok. No rush ;)

    I just wanted to make sure I wasn't goofing something up. I've used the plugin for a couple weeks now, but just for the no build option. It wasn't until today that I wanted to try out some of the other features. I'll be looking forward to the update whenever you get around to it. Thanks.
     
  29. Offline

    ThomasJ

    Just a heads up since it appears a new RB is nearing.
    CB 561+ breaks AntiGrief
    Code:
    17:25:48 [SEVERE] BLOCK_DAMAGED loading AntiGrief v0.9 (Is it up to date?)
    java.lang.NoSuchFieldError: BLOCK_DAMAGED
            at com.crowebird.bukkit.plugins.AntiGrief.AntiGrief.registerEvents(AntiGrief.java:171)
            at com.crowebird.bukkit.plugins.BukkitPlugin.onEnable(BukkitPlugin.java:105)
            at com.crowebird.bukkit.plugins.AntiGrief.AntiGrief.onEnable(AntiGrief.java:126)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:453)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:203)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:190)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:130)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:245)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
     
  30. Offline

    Spartan190

    Solved: It was blocked in the GroupManager Config.

    I got a little problem with the plugin. I made it that I prevented "guests" from building, destroying etc, or doing anythinng else. But I have two other groups Admin and other ppl the other ppl can build an pick up but can't pickup Water, Laver,TNT... and place it anywhere. Any clues?

    my config files:


    Code:
    #groups.yml of GroupManager
    
    groups:
      Resident:
        default: false
        permissions:
        - antigrief.allow.player.item.pickup
        - antigrief.allow.player.item.use
        inheritance:
        - guest
        info:
          prefix: ''
          build: true
          suffix: ''
      Guest:
        default: true
        permissions: []
        inheritance: []
        info:
          prefix: ''
          build: false
          suffix: ''
      Admin:
        default: false
        permissions:
        - '*'
        inheritance:
        - resident
        info:
          prefix: ''
          build: true
          suffix: ''
    

    Code:
    #users.yml of GroupManager
    
    users:
      Spartan190:
        subgroups: []
        permissions: []
        group: Resident
    


    Code:
    #default.yml of AntiGrief
    
    allow:
      interact: []
      item: []
      block: []
    nodes:
      buildfalse: ['block.damage',
        'block.place',
        'block.interact',
        'block.ignite',
        'entity.creeper',
        'player.damage.cause',
        'player.item.use',
        'player.item.pickup',
        'vehicle.use',
        'vehicle.move']
      buildtrue: []
    Thanks in advance.

    Spartan190
     
  31. Offline

    crowebird

    Hey all, so I am about a week and a half behind on the update, but the latest RB broke a few things in AG and am now in the process of trying to fix those things and then test. I am also restructuring the configuration files -- you can see my proposed new method a page or two back if interested. (I am working on backwards compatibility, so the program will take care of the update for you).

    Sorry for the long wait times!!
     

Share This Page