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

    Gandalf

    Did you read the configuration file? This is working exactly like it is supposed to.
     
  2. Offline

    Exolas

    But admins dont gettin notyfied. Players can break glass and admins dont get ANY message
    BUT the users can see if a admin use tnt n stuff.

    weird, i didnt changed any but its fixed for some reason :confused: except players can see if admin breaks

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

    austin101

    I'm getting the same problem, I know I have it set up correctly because its the same as i had it in my 1.3 server
     
  4. Offline

    Gandalf

    No portion of that code has been changed whatsoever, I don't know what to tell you. Apparently it fixes itself, try again.
     
  5. Offline

    Revenger

    Yes that would be nice.

    I turned restriction off as it was affecting it globally so using worldguard for multiworld restrictions now but multiworld notifications would be great.

    Also mby the ability to have a per world configuration file which is most systems now have.

    So you have in the griefalert folder World1.yml world2.yml etc with settings for each world.
     
  6. Offline

    Color42

    Works fine at my end cb617 mysql GAR0.6
     
    Gandalf likes this.
  7. Offline

    Exolas

    Ok it didnt fixed. The griefalertr.view (or idk exactly) enabled that admins can see it again. But the ppl can still see if a admin break something. except with super pick axe. i guess u changed something of 0.5 to 0.6 wich f* it up. please take a look.
     
  8. Offline

    Gandalf

    You have to enable moderator exempt and give yourself the flag.

    Updated to .7 as promised, requested features are being rolled out gradually. Thanks for all the feedback guys.

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

    Color42

    When entering command /gastick i get splashed with command informaton "/gastick example: /gastick - gives you a stick" not sure its working like it should might be a conflict with logblock.(does it really need to splash the info)
    2nd note seams to work as it should how ever doesnt give a stick already have 53 in inv slot other then that no issues to report CB617 MySQL GaR 0.7
     
  10. Offline

    Kano

    Hello,

    I have a Problem with my Server, i used Griefalert first of all at Hmod, after that i changed to Bukkit and installed this Plugin. It is nice work but i wont work at my Server, it dont want to log and i dont have any idea why. Here is my Code:

    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(exploding):
            id: '46'
            name: 'TNT'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'c'
            block-color: 'c'
        TNT(place):
            id: '46'
            name: 'TNT'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'c'
            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'
    
        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'
    
        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'
    
        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'
    Thanks for the help! :O
     
  11. Offline

    Color42

    Get any errors on load? What CB build do you have and are you on permissions or groupmanager, and side note you config is 0.3 while plugin is at 0.7.
     
  12. Offline

    Gandalf

    Your issue is the # sign before the first entry. Remove it and it will work. Make sure to update to .7 .

    It should work I just did extending testing.

    Are you typing just /gastick, and nothing else?

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

    Color42

    Im sure it doesnt spawn a stick do even If i do the command with a empty slot at hand, how ever the check feature works fine when clicking on a block.
     
  14. Offline

    Revenger

    Our players also have the ability to see what admins are breaking.

    As one player mentioned about my glass breakage.

    Nothing has been changed in the config file.

    admins have
    - griefalertr.use

    Mods have
    - griefalertr.view

    Members and guests don't have any griefalert permissions

    My config file:

    Code:
        tnt:
            id: '46'
            name: 'TNT'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'true'
            user-color: 'b'
            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: '9'
            block-color: '7'
        obsidian:
            id: '49'
            name: 'Obsidian'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'b'
            block-color: 'c'
        glass:
            id: '20'
            name: 'Glass'
            action: 'onBreak'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'true'
            user-color: 'b'
            block-color: 'c'
        diamond:
            id: '57'
            name: 'Diamond'
            action: 'onPlace'
            restricted: 'false'
            user-message: 'true'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'b'
            block-color: 'c'
     
  15. Offline

    Kano

    I removed # but there is a Error comming up about "BLOCK_PLACE"
    Code:
    [SEVERE] Could not pass event BLOCK_PLACE to GriefAlert Reborn
    java.lang.NullPointerException
        at gandalf.GriefAlertR.GriefAlertRBlockListener.doWork(GriefAlertRBlockListener.java:77)
        at gandalf.GriefAlertR.GriefAlertRBlockListener.onBlockPlace(GriefAlertRBlockListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$22.execute(JavaPluginLoader.java:297)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
        at net.minecraft.server.ItemBlock.a(ItemBlock.java:75)
        at net.minecraft.server.ItemStack.a(ItemStack.java:56)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:217)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:447)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    My Config:
    Code:
    ##########################################################
    #                   GriefAlertR Config                   #
    #                                                        #
    #                   Name: Gandalf                        #
    #                   Version: .5                          #
    #                                                        #
    #                                                        #
    #            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.
    
    #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: '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'
    
        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'
    
        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'
    
        Gold Block (Break):
            id: '41'
            name: 'Gold Block'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    
        Diamond Block (Break):
            id: '57'
            name: 'Diamond Block'
            action: 'onBreak'
            restricted: 'false'
            restricted: 'false'
            user-message: 'false'
            mod-message: 'true'
            mod-exemption: 'false'
            user-color: 'e'
            block-color: 'c'
    I host at Multiplay my Server.
     
  16. Offline

    Ancetras

    How can I do if I want to see a message in chat when a player use an item that cannot be use?

    For example, tnt cannot be placed, but i want to see who tried to place it.
     
  17. Offline

    Exolas

    Ok there is still something wrong, i stilldont see message if ppl break blocks. did you changed the format of blacklist?

    mod excemption = wont triger on OPs and admins ?

    else i dont get why it dont work since 0.6

    it worked perfect till 0.5.

    im sorry if im makin much trouble.
     
  18. Offline

    Gandalf

    You have double restricted fields all over your configuration. Just have one instead and it will work.

    Post your configuration file please.

    This will be the default behavior just make sure to have moderator message on.

    Set mod-exemption to true, and that should solve your problems. Make sure to set the ignore flag on all those who you want to be exempt.

    I just tried it again.....it should definitely work, I asked one of my buddies to test it on his Bukkit server and it worked as well.

    Can you please take screenshots?

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

    kyxoan

    same thing as everyone else for me. Mods have the - 'griefalertr.view' permission. I have everything as admin. I place a tnt and the whole server sees it. Anyone else places a block and no one sees it. I give members - 'griefalertr.view' to try to do it again, nothing happens. I gave members the other permissions nothing happens.
    So I'm assuming its a plugin conflict with worldguard or something.
     
    Gandalf likes this.
  20. Offline

    Sargeo

    When I start my server, it shows this error. This isn't the first time.
    Code:
    18:31:17 [INFO] Attempting Creation of the GriefAlertr Log File
    18:31:17 [INFO] Could Not Create The Log File for GriefAlertR
    18:31:17 [SEVERE] java.io.FileNotFoundException: plugins\GriefAlertR\config.txt
    (The system cannot find the path specified)
    18:31:17 [SEVERE]       at java.io.FileInputStream.open(Native Method)
    18:31:17 [SEVERE]       at java.io.FileInputStream.<init>(Unknown Source)
    18:31:17 [SEVERE]       at java.util.Scanner.<init>(Unknown Source)
    18:31:17 [SEVERE]       at gandalf.GriefAlertR.ItemManager.readFromFile(ItemMana
    ger.java:172)
    18:31:17 [SEVERE]       at gandalf.GriefAlertR.ItemManager.setUp(ItemManager.jav
    a:43)
    18:31:17 [SEVERE]       at gandalf.GriefAlertR.GriefAlertR.onEnable(GriefAlertR.
    java:50)
    18:31:17 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:127)
    18:31:17 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:578)
    18:31:17 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:216)
    18:31:17 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:115)
    18:31:17 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:93)
    18:31:17 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:215)
    18:31:17 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:202)
    18:31:17 [SEVERE]       at net.minecraft.server.MinecraftServer.d(MinecraftServe
    r.java:142)
    18:31:17 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:257)
    18:31:17 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:375)
    18:31:17 [INFO] GriefAlert Reborn version 0.7 by Gandalf is enabled!
    Craftbukkit build: 670
    Griefalert reborn version: 0.7
     
  21. Offline

    Revenger

    Um mod exemption on glass 'onBreak' is true in what you quoted and only diamond at the bottom isn't.

    The issue was that glass breakage on a admin notified a standard user which that group has no griefalert permissions etc in the permissions plugin.

    Which according to your permissions is - griefalertr.view and we have only set that for moderators or higher.

    We never had this on RB 566.

    And we do have the - griefalertr.use ignore flag on exemptions for higher than moderator.

    The issue is that now a player without the - griefalertr.view permission saw a break messages from admins me breaking glass when nothing has been changed from a working setup in RB 566.

    You can jump on any of our servers for those with this issue and see for yourself if you want. I will be testing this more to see as it was only 1 message that a player saw.
     
  22. Offline

    Gandalf

    You are missing the configuration file in the correct folder.

    Sorry I misunderstood, I understand this now. Does this only happen with the glass or other things as well?

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

    Revenger

    I'm going to test it more and see what it happens with.

    There's a few posts on the page back about it.

    As I'll be out for the next few hours and am tired already after not sleeping much I'll be testing over the next day.

    But I will get back to you.
     
    Gandalf likes this.
  24. Offline

    Sargeo

    @Gandalf
    The GriefAlert Reborn folder goes into the plugins folder correct? The error still shows up.
    And for some reason, I think the folder is supposed to be named GriefAlertR. When I start the server, it changes the name to GriefAlert Reborn.
     
  25. Offline

    Gandalf

    I fixed it the information you and others provided helped. It was a finicky little bug, thank you.

    Just use the folders provided, a GriefAlertR folder with a config.txt, and a logs folder inside of it.

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

    Sargeo

    @Gandalf yes that is exactly what I did. The folder is named "GriefAlertR" when I put it into my plugins folder. When I start the server, the folder name changes to "GriefAlert Reborn" I think that is the problem. The plugin is looking for "GriefAlertR", instead of "GriefAlert Reborn. I don't know why the name of the folder automatically changes after starting the server.
     
  27. Offline

    Gandalf

    That would indeed be the problem, this has never really occurred for me. What do you use GroupManager or Permissions?
     
  28. Offline

    Sargeo

  29. Offline

    Gandalf

    See if this fixes it for you, <Edit by Moderator: Redacted mediafire url>

    Make sure the folder is actually called GriefAlertR
     
    Last edited by a moderator: Dec 15, 2016
  30. Offline

    Sargeo

    Gandalf likes this.

Share This Page