Inactive [SEC] GriefAlert Reborn 0.8 - Supports both Group Manager and Permissions [1317]

Discussion in 'Inactive/Unsupported Plugins' started by Gandalf, Feb 27, 2011.

  1. Offline

    axebyte

    yeah anything on those lines would be awesome.. this is the best solution i see to getting rid of those that have found away around lwc, and the protections from WG/WE.. or if my players just forgot what they had and think theif right away..

    I am very thankful that you go thru the trouble of recoding it for me. thanks again.
     
  2. Offline

    RupertPupkin

    First of all.. GREAT PLUGIN!

    I had it working great, it was logging TNT events and working fine so I expanded my list of blocks to track and now I'm getting an error when I start my server. Running latest recommended Bukkit, latest Group Manager and your latest GriefAlertR plugin for group manager. Everything was working fine until I added more stuff to the list so I'm certain that it is either a typo or I'm misusing it somehow.

    Here is the error I get when I boot my server:


    Code:
    12:42:10 [INFO] Starting minecraft server version Beta 1.3
    12:42:10 [INFO] Loading properties
    12:42:10 [INFO] Starting Minecraft server on *:25565
    12:42:10 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-497-gea319d1-b499jnks (MC: 1.3)
    12:42:10 [INFO] Preparing level "Pupkinland"
    12:42:10 [INFO] Preparing start region
    12:42:11 [INFO] Preparing spawn area: 48%
    12:42:13 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes!
    12:42:13 [INFO] GroupManager version 1.0(pre-alpha-3) is enabled!
    12:42:13 [INFO] AntiGrief - Using the Lowest priority level.
    12:42:13 [INFO] AntiGrief - Version 0.8.0.1 Enabled!
    12:42:13 [INFO] ÂșeLoaded Essentials build 2.0.249 maintained by Zenexer, ementalo, Aelux, and Brettflan
    12:42:13 [INFO] Loaded EssentialsBan build 2.0.249 by Zenexer, ementalo, Eris, and EggRoll
    12:42:13 [INFO] Loaded EssentialsChat build 2.0.249 by Zenexer, ementalo, Aelux, and Brettflan
    12:42:13 [INFO] Loaded EssentialsGod build 2.0.249 by Zenexer, ementalo, Eris, and EggRoll
    12:42:13 [INFO] Loaded EssentialsHelp build 2.0.249 by Zenexer, ementalo, Eris, and EggRoll
    12:42:13 [INFO] Loaded EssentialsHome build 2.0.249 by Zenexer, ementalo, Aelux, and Brettflan
    12:42:13 [INFO] Loaded EssentialsProtect build 2.0.249 maintained by Zenexer, ementalo, Aelux, and Brettflan
    12:42:15 [INFO] Loaded EssentialsSpawn build 2.0.249 maintained by Zenexer, ementalo, Aelux, and Brettflan
    12:42:15 [INFO] Loaded EssentialsTele build 2.0.249 by Zenexer, ementalo, Aelux, and Brettflan
    12:42:15 [INFO] Loaded EssentialsWarp build 2.0.249 by Zenexer, ementalo, Aelux, and Brettflan
    12:42:15 [INFO] Fake Permissions version 2.5 is enabled!
    12:42:15 [SEVERE] String index out of range: -1 loading GriefAlertR v0.3 (Is it up to date?)
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
            at java.lang.String.substring(Unknown Source)
            at gandalf.GriefAlertR.ItemManager.readFromFile(ItemManager.java:205)
            at gandalf.GriefAlertR.ItemManager.setUp(ItemManager.java:43)
            at gandalf.GriefAlertR.GriefAlertR.onEnable(GriefAlertR.java:45)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:414)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:188)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
            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)
    12:42:15 [INFO] [HeroicDeath] 1.4.4.140 enabled.
    12:42:15 [INFO] Done (0.479s)! For help, type "help" or "?"
    >
    And here is my config file:

    Code:
    ##########################################################
    #                   GriefAlertR Config                   #
    #                                                        #
    #                   Name: Gandalf                        #
    #                   Version: .3                          #
    #                                                        #
    #                                                        #
    #            Visit us at http://wdgaming.net             #
    #                                                        #
    ##########################################################
    
    #id - Decimal ID of item to check, can be found at http://www.minecraftwiki.net/wiki/Data_values
    #name - Name of the item to use
    #action - onUse(for items defined in my thread), onRightClick, onBreak, onPlace
    #restricted - Only players with the "griefalertr.use" permission will be able to use this block depending on which action you chose(all actions are supported).
    #user-message - Sets whether or not users are notified
    #mod-message - Sets whether or not groups with the "griefalertr.view" permission group will be notified by the plugin.
    #mod-exemption - Sets whether or not groups with the "griefalertr.exempt" permission will be exempted by the plugin.
    #user-color - Color that the player's name will appear in for messaging.
    #block-color - Color that the block's name will appear in for messaging.
    #Color information: f = white, e = yellow, d = pink, c = red, b = cyan, a = green, 9 = blue, 8 = gray, 7 = lightgray, 6 = orange
    #5 = dark purple, 4 = dark red, 3 = dark cyan, 2 = dark green, 1 = blue
    
    #ITEM LIST STARTS HERE, EXAMPLE IS PROVIDED BELOW, FORMAT IT EXACTLY AS SHOWN.
    #The indentation doesn't matter that is for your own organizational purposes.
    
    #Set true to enable logging to MySQL, or else just ignore all the SQL configurations.
    Log to MySQL: 'false'
    #Username for the SQL database
    SQLusername: ''
    #Password for the SQL database
    SQLpassword: ''
    #"localhost" is the server hostname or IP, "3306" is the port (default for MySQL) and "minecraft" is the name of the database.
    SQLdb: 'jdbc:mysql://localhost:3306/minecraft'
    
        tnt:
            id: '46'
            name: 'TNT'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        tnt(for exploding):
            id: '46'
            name: 'TNT'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        bedrock:
            id: '7'
            name: 'Bedrock'
            action: 'onPlace'
            restricted: 'true'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        water:
            id: '8'
            name: 'Water'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        stationary water:
            id: '9'
            name: 'Stationary water'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        lava:
            id: '10'
            name: 'Lava'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        stationary lava:
            id: '11'
            name: 'Stationary lava'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        fire:
            id: '51'
            name: 'Fire'
            action: 'onPlace'
            restricted: 'true'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        monster Spawner:
            id: '52'
            name: 'Monster Spawner'
            action: 'onPlace'
            restricted: 'true'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        portal:
            id: '90'
            name: 'Portal'
            action: 'onPlace'
            restricted: 'true'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Lighter:
            id: '259'
            name: 'Flint and Steel'
            action: 'onUse'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Water bucket:
            id: '326'
            name: 'Water bucket'
            action: 'onUse'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Lava bucket:
            id: '327'
            name: 'Lava bucket'
            action: 'onUse'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Cobblestone:
            id: '4'
            name: 'Cobblestone'
            action 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Glass:
            id: '20'
            name: 'Glass'
            action 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Chest (Open):
            id: '54'
            name: 'Chest'
            action: 'onRightClick'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'b'
            block-color: 'c'
    
        Chest (Break):
            id: '54'
            name: 'Chest'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'b'
            block-color: 'c'
    
        Minecart Tracks (break):
            id: '66'
            name: 'Minecart Tracks'
            action 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Minecart Tracks (place):
            id: '66'
            name: 'Minecart Tracks'
            action 'onPlace'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Wooden Door (Use):
            id: '324'
            name: 'Wooden door'
            action: 'onRightClick'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'b'
            block-color: 'c'
    
        Wooden Door (break):
            id: '324'
            name: 'Wooden door'
            action 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Iron Door (Use):
            id: '330'
            name: 'Iron door'
            action: 'onRightClick'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'b'
            block-color: 'c'
    
        Iron Door (break):
            id: '330'
            name: 'Iron door'
            action 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Ladder (break):
            id: '65'
            name: 'Ladder'
            action 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Furnace (break):
            id: '61'
            name: 'Furnace'
            action 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Crafting Table (break):
            id: '58'
            name: 'Crafting Table'
            action 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Obsidian (place):
            id: '49'
            name: 'Obsidian'
            action 'onPlace'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Obsidian (Break):
            id: '49'
            name: 'Obsidian'
            action 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Minecart (Break):
            id: '328'
            name: 'Minecart'
            action 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Storage Minecart (Break):
            id: '342'
            name: 'Storage Minecart'
            action 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Powered Minecart (Break):
            id: '343'
            name: 'Powered Minecart'
            action 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Bed (Break):
            id: '26'
            name: 'Bed'
            action 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Wall Sign (place):
            id: '68'
            name: 'Wall Sign'
            action 'onPlace'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Wall Sign (Break):
            id: '68'
            name: 'Wall Sign'
            action 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Sign Post (place):
            id: '63'
            name: 'Sign Post'
            action 'onPlace'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Sign Post (Break):
            id: '63'
            name: 'Sign Post'
            action 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
            
    Can anybody spot what I'm doing wrong? Is it siply a stupid typo in the config file or am I formatting a block watch statement incorrectly. My eyes are getting tired of looking at it for mistakes so I thought I'd ask for help.

    Also, GREAT PLUGIN!

    Thanks. [​IMG]
     
  3. Offline

    Abattoir

    The YAML Online Parser is your friend: http://yaml-online-parser.appspot.com/ ;)

    This should work now:

    Code:
        tnt:
            id: '46'
            name: 'TNT'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        tnt(for exploding):
            id: '46'
            name: 'TNT'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        bedrock:
            id: '7'
            name: 'Bedrock'
            action: 'onPlace'
            restricted: 'true'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        water:
            id: '8'
            name: 'Water'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        stationary water:
            id: '9'
            name: 'Stationary water'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        lava:
            id: '10'
            name: 'Lava'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        stationary lava:
            id: '11'
            name: 'Stationary lava'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        fire:
            id: '51'
            name: 'Fire'
            action: 'onPlace'
            restricted: 'true'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        monster Spawner:
            id: '52'
            name: 'Monster Spawner'
            action: 'onPlace'
            restricted: 'true'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        portal:
            id: '90'
            name: 'Portal'
            action: 'onPlace'
            restricted: 'true'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Lighter:
            id: '259'
            name: 'Flint and Steel'
            action: 'onUse'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Water bucket:
            id: '326'
            name: 'Water bucket'
            action: 'onUse'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Lava bucket:
            id: '327'
            name: 'Lava bucket'
            action: 'onUse'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Cobblestone:
            id: '4'
            name: 'Cobblestone'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Glass:
            id: '20'
            name: 'Glass'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Chest (Open):
            id: '54'
            name: 'Chest'
            action: 'onRightClick'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'b'
            block-color: 'c'
    
        Chest (Break):
            id: '54'
            name: 'Chest'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'b'
            block-color: 'c'
    
        Minecart Tracks (break):
            id: '66'
            name: 'Minecart Tracks'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Minecart Tracks (place):
            id: '66'
            name: 'Minecart Tracks'
            action: 'onPlace'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Wooden Door (Use):
            id: '324'
            name: 'Wooden door'
            action: 'onRightClick'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'b'
            block-color: 'c'
    
        Wooden Door (break):
            id: '324'
            name: 'Wooden door'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Iron Door (Use):
            id: '330'
            name: 'Iron door'
            action: 'onRightClick'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'b'
            block-color: 'c'
    
        Iron Door (break):
            id: '330'
            name: 'Iron door'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Ladder (break):
            id: '65'
            name: 'Ladder'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Furnace (break):
            id: '61'
            name: 'Furnace'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Crafting Table (break):
            id: '58'
            name: 'Crafting Table'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Obsidian (place):
            id: '49'
            name: 'Obsidian'
            action: 'onPlace'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Obsidian (Break):
            id: '49'
            name: 'Obsidian'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Minecart (Break):
            id: '328'
            name: 'Minecart'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Storage Minecart (Break):
            id: '342'
            name: 'Storage Minecart'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Powered Minecart (Break):
            id: '343'
            name: 'Powered Minecart'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Bed (Break):
            id: '26'
            name: 'Bed'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Wall Sign (place):
            id: '68'
            name: 'Wall Sign'
            action: 'onPlace'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Wall Sign (Break):
            id: '68'
            name: 'Wall Sign'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Sign Post (place):
            id: '63'
            name: 'Sign Post'
            action: 'onPlace'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Sign Post (Break):
            id: '63'
            name: 'Sign Post'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
     
    RupertPupkin likes this.
  4. Offline

    RupertPupkin

  5. Offline

    Gandalf

    That will still break your plugin, your problem lies here, at least it breaks at this point, you have two restricted....double check all your entries, a bunch are like this.... :) ! Feel free to ask any more questions, I am here to help you.

    Code:
        Cobblestone:
            id: '4'
            name: 'Cobblestone'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Glass:
            id: '20'
            name: 'Glass'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
     
    RupertPupkin likes this.
  6. Offline

    RupertPupkin

    AAAAAAAAAHHHHHHHHHHAAAAAAAAAAAAA!!!!!!

    I knew it was something stupid. I looked at this at least 10 times and my eyes never saw the double restricted.... oh copy/paste why must you mock me so?

    It pays to have other eyes proofread your work. Thank you very much!

    GREAT PLUGIN! :D
    --- merged: Mar 8, 2011 1:26 AM ---
    Yup that fixed it! Thanks again, i appreciate all of the personal attention you give to your users. Plug in developer of the month??? You got my vote.

    Code:
    20:23:09 [INFO] Starting minecraft server version Beta 1.3
    20:23:09 [INFO] Loading properties
    20:23:09 [INFO] Starting Minecraft server on *:25565
    20:23:09 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-497-gea319d1-b499jnks (MC: 1.3)
    20:23:09 [INFO] Preparing level "Pupkinland"
    20:23:09 [INFO] Preparing start region
    20:23:10 [INFO] Preparing spawn area: 48%
    20:23:14 [INFO] Preparing spawn area: 48%
    20:23:15 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes!
    20:23:15 [INFO] GroupManager version 1.0(pre-alpha-3) is enabled!
    20:23:15 [INFO] AntiGrief - Using the Lowest priority level.
    20:23:15 [INFO] AntiGrief - Version 0.8.0.1 Enabled!
    20:23:15 [INFO] ÂșeLoaded Essentials build 2.0.249 maintained by Zenexer, ementalo, Aelux, and Brettflan
    20:23:15 [INFO] Loaded EssentialsBan build 2.0.249 by Zenexer, ementalo, Eris, and EggRoll
    20:23:15 [INFO] Loaded EssentialsChat build 2.0.249 by Zenexer, ementalo, Aelux, and Brettflan
    20:23:15 [INFO] Loaded EssentialsGod build 2.0.249 by Zenexer, ementalo, Eris, and EggRoll
    20:23:15 [INFO] Loaded EssentialsHelp build 2.0.249 by Zenexer, ementalo, Eris, and EggRoll
    20:23:15 [INFO] Loaded EssentialsHome build 2.0.249 by Zenexer, ementalo, Aelux, and Brettflan
    20:23:15 [INFO] Loaded EssentialsProtect build 2.0.249 maintained by Zenexer, ementalo, Aelux, and Brettflan
    20:23:17 [INFO] Loaded EssentialsSpawn build 2.0.249 maintained by Zenexer, ementalo, Aelux, and Brettflan
    20:23:17 [INFO] Loaded EssentialsTele build 2.0.249 by Zenexer, ementalo, Aelux, and Brettflan
    20:23:17 [INFO] Loaded EssentialsWarp build 2.0.249 by Zenexer, ementalo, Aelux, and Brettflan
    20:23:17 [INFO] Fake Permissions version 2.5 is enabled!
    20:23:17 [INFO] [HeroicDeath] 1.4.4.140 enabled.
    20:23:17 [INFO] Done (0.853s)! For help, type "help" or "?"
    >
     
  7. Offline

    Gandalf

    No problem, I remember struggling myself, and being stone walled by the developers who viewed me as another technologically unsavy noob. I try to help absolutely everyone.
    [MERGETIME="1299624851"][/MERGETIME]
    Updated and fully fixed anti-spam feature, this is a strongly recommended update.

    Big thanks to axebyte for helping me discover the problem.
    [MERGETIME="1299636841"][/MERGETIME]
    Updated for latest Bukkit Build!
     
  8. Offline

    ProjectInfinity

    Using craftbukkit #493 with Permissions 2.5.4 (phoenix) and your Permissions edition of GriefAlertR the plugin refuses to log to my database.. Im not even sure it connects at all. No errors though.

    Fake user and password in the config of course.
    Code:
    #Set true to enable logging to MySQL, or else just ignore all the SQL configurations.
    Log to MySQL: 'true'
    #Username for the SQL database
    SQLusername: 'username'
    #Password for the SQL database
    SQLpassword: 'password'
    #"localhost" is the server hostname or IP, "3306" is the port (default for MySQL) and "minecraft" is the name of the database.
    SQLdb: 'jdbc:mysql://localhost:3306/bukkit'
    
    Does it HAVE to be the database "minecraft"?

    edit: Of course my connector "mysql-connector-java-bin.jar" is located in the root bukkit folder.
     
  9. Offline

    Gandalf

    No it doesn't....

    Did you create a database and import the install.sql? What table did it make?

    [MERGETIME="1299715674"][/MERGETIME]
     
  10. Offline

    ProjectInfinity

    Aye, I ran the SQL file you provided.
    [​IMG]

    edit:
    I tried the GroupManager version with the latest GroupManager plugin, but that did not work either. It's kind of odd, I do not get any MySQL information at all in my Console, not even an error.
     
  11. Offline

    Gandalf

    I will PM you to continue this discussion, I think I can help you better through chat. I will need to look at your database.
    [MERGETIME="1299720079"][/MERGETIME]
    Issue fixed, my apologies, all on me.
     
  12. Offline

    ProjectInfinity

    Confirmed working after fix.
     
    Gandalf likes this.
  13. Offline

    MarsGodofWar

    Plugin was working fine with 440, I updated to recomended build 531 and the newest griefalert and i get this error.
    2011-03-10 14:18:54 [SEVERE] String index out of range: -1 loading GriefAlertR v0.4 (Is it up to date?)
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1949)
    at gandalf.GriefAlertR.ItemManager.readFromFile(ItemManager.java:186)
    at gandalf.GriefAlertR.ItemManager.setUp(ItemManager.java:43)
    at gandalf.GriefAlertR.GriefAlertR.onEnable(GriefAlertR.java:44)
    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(SimplePluginManager.java:217)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
    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)

    Everything is up to date, so what am i doing wrong?
    [MERGETIME="1299790655"][/MERGETIME]
    NVM I dont read so well sometimes, lol
     
  14. Offline

    xtre

    How about on receive :)
     
  15. Offline

    Gandalf

    Can you clarify, you mean picking something up?
    [MERGETIME="1300030689"][/MERGETIME]
    Additional development of new features have been suspended until I deal with real life.
     
  16. Offline

    Arbitation

    Plugin works great. Just one problem:

    I have a group with permissions:

    griefalertr.ignore
    and
    griefalertr.use

    Groups with griefalertr.view are still getting messages from those groups placing restricted items.
     
  17. Offline

    Gandalf

    Did you turn moderator exempt to true?
     
  18. Offline

    ReRRemi

    Hello, I have some problems with this plugin.

    When the server start :


    Code:
    00:24:09 [GRAVE] String index out of range: -1 loading GriefAlertR v0.4 (Is it up to date?)
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
            at java.lang.String.substring(Unknown Source)
            at gandalf.GriefAlertR.ItemManager.readFromFile(ItemManager.java:205)
            at gandalf.GriefAlertR.ItemManager.setUp(ItemManager.java:43)
            at gandalf.GriefAlertR.GriefAlertR.onEnable(GriefAlertR.java:45)
            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(SimplePluginManager.java:217)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
            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)
    When I put a lava block :


    Code:
    00:25:17 [GRAVE] Could not pass event PLAYER_ITEM to GriefAlertR
    java.lang.NoClassDefFoundError: org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder
            at gandalf.GriefAlertR.GriefAlertRPlayerListener.doWork(GriefAlertRPlayerListener.java:55)
            at gandalf.GriefAlertR.GriefAlertRPlayerListener.onPlayerItem(GriefAlertRPlayerListener.java:37)
            at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:202)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
            at net.minecraft.server.ItemBucket.a(ItemBucket.java:133)
            at net.minecraft.server.ItemStack.a(ItemStack.java:64)
            at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:143)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:462)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    I have a GroupManager 1.0 alpha 3 and craftbukkit 512

    It's my config file (config.txt) :

    Code:
    ##########################################################
    #                   GriefAlertR Config                   #
    #                                                        #
    #                   Name: Gandalf                        #
    #                   Version: .3                          #
    #                                                        #
    #                                                        #
    #            Visit us at http://wdgaming.net             #
    #                                                        #
    ##########################################################
    
    #id - Decimal ID of item to check, can be found at http://www.minecraftwiki.net/wiki/Data_values
    #name - Name of the item to use
    #action - onUse(for items defined in my thread), onRightClick, onBreak, onPlace
    #restricted - Only players with the "griefalertr.use" permission will be able to use this block depending on which action you chose(all actions are supported).
    #user-message - Sets whether or not users are notified
    #mod-message - Sets whether or not groups with the "griefalertr.view" permission group will be notified by the plugin.
    #mod-exemption - Sets whether or not groups with the "griefalertr.exempt" permission will be exempted by the plugin.
    #user-color - Color that the player's name will appear in for messaging.
    #block-color - Color that the block's name will appear in for messaging.
    #Color information: f = white, e = yellow, d = pink, c = red, b = cyan, a = green, 9 = blue, 8 = gray, 7 = lightgray, 6 = orange
    #5 = dark purple, 4 = dark red, 3 = dark cyan, 2 = dark green, 1 = blue
    
    #ITEM LIST STARTS HERE, EXAMPLE IS PROVIDED BELOW, FORMAT IT EXACTLY AS SHOWN.
    #The indentation doesn't matter that is for your own organizational purposes.
    
    #Set true to enable logging to MySQL, or else just ignore all the SQL configurations.
    Log to MySQL: 'true'
    #Username for the SQL database
    SQLusername: 'YYY'
    #Password for the SQL database
    SQLpassword: 'XXX'
    #"localhost" is the server hostname or IP, "3306" is the port (default for MySQL) and "minecraft" is the name of the database.
    SQLdb: 'jdbc:mysql://localhost:3306/minecraft'
    
        tnt:
            id: '46'
            name: 'TNT'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        tnt(for exploding):
            id: '46'
            name: 'TNT'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        bedrock:
            id: '7'
            name: 'Bedrock'
            action: 'onPlace'
            restricted: 'true'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        water:
            id: '8'
            name: 'Water'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        stationary water:
            id: '9'
            name: 'Stationary water'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        lava:
            id: '10'
            name: 'Lava'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        stationary lava:
            id: '11'
            name: 'Stationary lava'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        fire:
            id: '51'
            name: 'Fire'
            action: 'onPlace'
            restricted: 'true'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        monster Spawner:
            id: '52'
            name: 'Monster Spawner'
            action: 'onPlace'
            restricted: 'true'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        portal:
            id: '90'
            name: 'Portal'
            action: 'onPlace'
            restricted: 'true'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Lighter:
            id: '259'
            name: 'Flint and Steel'
            action: 'onUse'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Water bucket:
            id: '326'
            name: 'Water bucket'
            action: 'onUse'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Lava bucket:
            id: '327'
            name: 'Lava bucket'
            action: 'onUse'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Cobblestone:
            id: '4'
            name: 'Cobblestone'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Glass:
            id: '20'
            name: 'Glass'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Chest (Open):
            id: '54'
            name: 'Chest'
            action: 'onRightClick'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'b'
            block-color: 'c'
    
        Chest (Break):
            id: '54'
            name: 'Chest'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'b'
            block-color: 'c'
    
        Minecart Tracks (break):
            id: '66'
            name: 'Minecart Tracks'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Minecart Tracks (place):
            id: '66'
            name: 'Minecart Tracks'
            action: 'onPlace'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Wooden Door (Use):
            id: '324'
            name: 'Wooden door'
            action: 'onRightClick'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'b'
            block-color: 'c'
    
        Wooden Door (break):
            id: '324'
            name: 'Wooden door'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Iron Door (Use):
            id: '330'
            name: 'Iron door'
            action: 'onRightClick'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'b'
            block-color: 'c'
    
        Iron Door (break):
            id: '330'
            name: 'Iron door'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Ladder (break):
            id: '65'
            name: 'Ladder'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Furnace (break):
            id: '61'
            name: 'Furnace'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Crafting Table (break):
            id: '58'
            name: 'Crafting Table'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Obsidian (place):
            id: '49'
            name: 'Obsidian'
            action: 'onPlace'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Obsidian (Break):
            id: '49'
            name: 'Obsidian'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Minecart (Break):
            id: '328'
            name: 'Minecart'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Storage Minecart (Break):
            id: '342'
            name: 'Storage Minecart'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Powered Minecart (Break):
            id: '343'
            name: 'Powered Minecart'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Bed (Break):
            id: '26'
            name: 'Bed'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Wall Sign (place):
            id: '68'
            name: 'Wall Sign'
            action: 'onPlace'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Wall Sign (Break):
            id: '68'
            name: 'Wall Sign'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Sign Post (place):
            id: '63'
            name: 'Sign Post'
            action: 'onPlace'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Sign Post (Break):
            id: '63'
            name: 'Sign Post'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    Thank you for any help.
     
  19. Offline

    Gandalf

    You have repeated restricted incorrectly twice on most of your entries in the configuration. Fix that and you will be fine.

    Let me know if there is anything more I need to do.

    To all my other users, I apologize for halting additional development but I have real life obligations currently. I will keep this updated for lastest Bukkit, Group Manager, and Permissions. I hope to resume development soon, within the month :). Let me know if I can help you in any way and keep posted.

     
  20. Offline

    ReRRemi

    Oh it works! Thank you very much for correcting this configuration :D. I not thought that mere repetition can break your plugin. But it's really a very good job. Thank you again for helping me!

    With your help, here is a configuration file that works:​
    Code:
    ##########################################################
    #                   GriefAlertR Config                   #
    #                                                        #
    #                   Name: Gandalf                        #
    #                   Version: .3                          #
    #                                                        #
    #                                                        #
    #            Visit us at http://wdgaming.net             #
    #                                                        #
    ##########################################################
    
    #id - Decimal ID of item to check, can be found at http://www.minecraftwiki.net/wiki/Data_values
    #name - Name of the item to use
    #action - onUse(for items defined in my thread), onRightClick, onBreak, onPlace
    #restricted - Only players with the "griefalertr.use" permission will be able to use this block depending on which action you chose(all actions are supported).
    #user-message - Sets whether or not users are notified
    #mod-message - Sets whether or not groups with the "griefalertr.view" permission group will be notified by the plugin.
    #mod-exemption - Sets whether or not groups with the "griefalertr.exempt" permission will be exempted by the plugin.
    #user-color - Color that the player's name will appear in for messaging.
    #block-color - Color that the block's name will appear in for messaging.
    #Color information: f = white, e = yellow, d = pink, c = red, b = cyan, a = green, 9 = blue, 8 = gray, 7 = lightgray, 6 = orange
    #5 = dark purple, 4 = dark red, 3 = dark cyan, 2 = dark green, 1 = blue
    
    #ITEM LIST STARTS HERE, EXAMPLE IS PROVIDED BELOW, FORMAT IT EXACTLY AS SHOWN.
    #The indentation doesn't matter that is for your own organizational purposes.
    
    #Set true to enable logging to MySQL, or else just ignore all the SQL configurations.
    Log to MySQL: 'false'
    #Username for the SQL database
    SQLusername: 'user'
    #Password for the SQL database
    SQLpassword: 'pass'
    #"localhost" is the server hostname or IP, "3306" is the port (default for MySQL) and "minecraft" is the name of the database.
    SQLdb: 'jdbc:mysql://localhost:3306/minecraft'
    
        tnt:
            id: '46'
            name: 'TNT'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        tnt(for exploding):
            id: '46'
            name: 'TNT'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        bedrock:
            id: '7'
            name: 'Bedrock'
            action: 'onPlace'
            restricted: 'true'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        water:
            id: '8'
            name: 'Water'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        stationary water:
            id: '9'
            name: 'Stationary water'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        lava:
            id: '10'
            name: 'Lava'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        stationary lava:
            id: '11'
            name: 'Stationary lava'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        fire:
            id: '51'
            name: 'Fire'
            action: 'onPlace'
            restricted: 'true'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        monster Spawner:
            id: '52'
            name: 'Monster Spawner'
            action: 'onPlace'
            restricted: 'true'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        portal:
            id: '90'
            name: 'Portal'
            action: 'onPlace'
            restricted: 'true'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Lighter:
            id: '259'
            name: 'Flint and Steel'
            action: 'onUse'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Water bucket:
            id: '326'
            name: 'Water bucket'
            action: 'onUse'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Lava bucket:
            id: '327'
            name: 'Lava bucket'
            action: 'onUse'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Cobblestone:
            id: '4'
            name: 'Cobblestone'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Glass:
            id: '20'
            name: 'Glass'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Chest (Open):
            id: '54'
            name: 'Chest'
            action: 'onRightClick'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'b'
            block-color: 'c'
    
        Chest (Break):
            id: '54'
            name: 'Chest'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'b'
            block-color: 'c'
    
        Minecart Tracks (break):
            id: '66'
            name: 'Minecart Tracks'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Minecart Tracks (place):
            id: '66'
            name: 'Minecart Tracks'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Wooden Door (Use):
            id: '324'
            name: 'Wooden door'
            action: 'onRightClick'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'b'
            block-color: 'c'
    
        Wooden Door (break):
            id: '324'
            name: 'Wooden door'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Iron Door (Use):
            id: '330'
            name: 'Iron door'
            action: 'onRightClick'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'b'
            block-color: 'c'
    
        Iron Door (break):
            id: '330'
            name: 'Iron door'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Ladder (break):
            id: '65'
            name: 'Ladder'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Furnace (break):
            id: '61'
            name: 'Furnace'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Crafting Table (break):
            id: '58'
            name: 'Crafting Table'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Obsidian (place):
            id: '49'
            name: 'Obsidian'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Obsidian (Break):
            id: '49'
            name: 'Obsidian'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Minecart (Break):
            id: '328'
            name: 'Minecart'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Storage Minecart (Break):
            id: '342'
            name: 'Storage Minecart'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Powered Minecart (Break):
            id: '343'
            name: 'Powered Minecart'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Bed (Break):
            id: '26'
            name: 'Bed'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Wall Sign (place):
            id: '68'
            name: 'Wall Sign'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Wall Sign (Break):
            id: '68'
            name: 'Wall Sign'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Sign Post (place):
            id: '63'
            name: 'Sign Post'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'false'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Sign Post (Break):
            id: '63'
            name: 'Sign Post'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    Good luck in your real life, hope everything works out for you :).
     
  21. Offline

    AnjoCaido

    Thanks for GM support. I'm just going to start using this plugin. Need something smarter, like this, for alerts than WG blacklist now that the server is big.
     
  22. Offline

    Gandalf

    No problem, it is my pleasure, I am honored, thank you for such a great permissions plugin in group manager.
     
  23. Offline

    Color42

    any chans we can get mutli world support in the logs? and maybe GA.ID1-2-3 etc that we maybe could tp to with a /gacheck or something? thx for a great plugin
     
  24. Offline

    Gandalf

    Yes there is a way, I will work on it when I resume development. Also please explain the other concept in greater detail. I have a long list of ideas to implement as soon as I have the time, and would like to add more such as this idea which sounds interesting.
     
  25. Offline

    Color42

    /gacheck
    Each grief would get a unique id in the logs so when you do /gacheck (id) it will tp you to the location of the grief.
    And it would also be nice if the logs can indicate on which world the grief was made.
    /galist
    Would display a list of griefs maybe 10-15 at a time
    /galist (playername)
    Displays list of griefs by specific player
    /garadius (1-5-10etc)
    Shows a list of griefs in a radius around you at your current location.

    Maybe even a feature like sort of BB has where you just can i hit a block and it will bring up information on who has griefed it would make administartion very easy without havning to dig in logs.
    Not sure how it works on the programing side but I belive if each grief is given a uniqe id this feature would be fairly simple to call upon(nuub guess lol)
     
    Gandalf likes this.
  26. Offline

    Revenger

    Your suggestions are really good we could really use something like that we have allot of stuff people do we use hey0 gcheck for.

    /gcheck is the most used feature on griefalert Hey0 it has 100 in the list and you do a /gcheck 90 and it takes you to that number.

    Even a /gcheck x y z works well and one of our admins uses that allot to build stuff.

    Also anyone breaking stuff is logged as below in hey0: Note the (0) that's its incident number you '/gcheck 0' to /gcheck with no number takes you the latest incident in this case its number 3.

    In these cases people were just building and modifying there own stuff.

    Code:
    2011-02-09 20:39:01 [INFO] Antigrief alarm : martinijosh right clicked a Chest (0)
    2011-02-09 20:39:01 [INFO] Antigrief incident coordinates : X=57 Y=118 Z=1367
    2011-02-09 20:39:01 [INFO] Antigrief alarm : Darkgamer3666 broke a Tracks (1)
    2011-02-09 20:39:04 [INFO] Antigrief incident coordinates : X=58 Y=118 Z=1367
    2011-02-09 20:39:04 [INFO] Antigrief alarm : Darkgamer3666 broke a Tracks (2)
    2011-02-09 20:39:05 [INFO] Antigrief incident coordinates : X=60 Y=118 Z=1367
    2011-02-09 20:39:05 [INFO] Antigrief alarm : Darkgamer3666 broke a Tracks (3)
    You can set some events to be hidden like right clicking chests which is handy for logging in-case you need it later but don't want to be spammed in game everyone someone clicks a chest.

    Also your plugin has a very weird behavior.

    It only tells you and a admin your logged once and that's it you get no more messages at all for that type for a while even if you change locations or whatever.

    It should tell you a mod and log every block action not just once in like 4-5 mins.

    Re-logging in still shows no more messages if its in that period.

    Current behavior they could place a obsidian block at home warp to spawn or somewhere and place 100 there then warp home again all within 5 mins.

    All you will see and would be logged is the single message for home.
     
    Gandalf likes this.
  27. Offline

    Imitation

    In hMod we used GriefAlert and LogBlock.. they fit well together. GA to be notified of and griefing and LB to find the culprit. You could do the same in Bukkit - is what we are doing. LB also has roll back features like BB.
     
  28. Offline

    Gandalf

    That would be fairly simple to implement, however the radius search feature would be relatively expensive resource wise to implement. Very good suggestion, this will go to the top.

    I addressed your other feedback in my above post.

    Thank you for your feedback, I agree that the anti-spam feature is somewhat lackluster as of now in a non-populated server(it works very well on servers with 10+ people). I can add additional parameters to make it work much better such as location as you suggested. Thank you.
     
  29. Offline

    Moo Master

    For people that use /gacheck, and TpPlus, you can tp to the player then do /tp back.

    Maybe for people that don't use TpPlus they could use /gaback to return to where they were before?
     
  30. Offline

    Revenger

    Thanks for reply.

    Imitation Is also on the server if your wondering as were the 2 console admins.


    The hidden is pretty much log to file but never show ingame we use for chests etc.

    As for every block action we are used to getting spammed on every break or even place of certain things and kinda like it this way (sure glass gets a bit annoying though) but handy for obsidian and especially diamond blocks etc as we are a with a server of over 250 people registered where we have had 30 very active builders at once playing.

    I was just really surprised in testing when I break glass and could warp anywhere break more glass and was only notified on the initial break especially logging was only for the initial block not every block.

    We have had a allot of glass break griefs and other stuff before where people have been working on there own thing then they warp somewhere do a bunch of stuff and warp home again.

    Its handy having a x y z on every block action notified as then we can see if they change location.
     

Share This Page