Alerting Plugin [FORMATTED]

Discussion in 'Archived: Plugin Requests' started by ThePoopfish, Apr 18, 2012.

  1. Offline

    ThePoopfish

    Plugin category: Admin Tools, Anti-Grief, Chat Related

    Suggested name: Alerts

    A bit about me: I'm a server administrator, looking for easy ways to spot griefers on my server.

    What I want: Most griefers tend to do the same things when they get on a server, they try to place fire, lava, water, and TNT. They steal iron blocks, diamond blocks gold blocks etc.etc.. They try to /op themselves or /give themselves items. They also try to change their gamemode using /gamemode. I would like a plugin that watches for these events and sends messages to admins that they happen.
    The events that should be watched by this plugin are 'blocks placed', 'blocks broken', and 'commands used'. I would like the watched list of blocks to be completely customizable using blocks id's in the config to specify which blocks being placed or broken send out a message to the admins.With separate options for blocks broken and placed.
    The command logger would be nice but is not really required. What I need specifically is the ability to see commands being used by players in game which would be a big help. On my server we are currently using Alerter for this functionality but we have found that on top of not being updated since January the plugin is too bloated as it also does chest locking and region protection which we do not need.

    P.S.
    It would also be nice to specify different watched lists per world.
    Also the message should look like

    'playername' did/used 'event' in 'world'
    events would be
    'broke 'block name''
    'placed 'block name''
    'used 'command'' (command would show as /commandused)


    Code:
    world:
        blockplaced:46,51,52,90
        blocksbroken:7,46,54,56,71,95
        commandslogged: true/false
    survival:
        blockplaced:46,51,52,90
        blocksbroken:46,54,56,71,95
        commandslogged: true/false
    Ideas for commands:
    /alerts -> would tell the player what command actually is used for help
    /alerts help ->
    /alerts on/off -> turn alerts you receive on or off (sometimes they can get spammy, nice to be able to turn them off)
    /alerts reload -> reloads the config

    Ideas for permissions:
    - alerts.watched.block.place -> watch this player/groups block placement and send message to admin/mod
    - alerts.watched.block.break->watch this player/groups block breaking and send message to admin/mod
    - alerts.watched.commands-> watch this players/groups commands and send message to admin/mod
    - alerts.watched.* ->watch all and send all
    - alerts.admin->receives all alerts
    - alerts.mod-> receive all alerts except the from users who have alert.admin


    When I'd like it by: Yesterday, though obviously it'll take a while before anyone more than a few takes notice of this post, I'll keep bumping it.

    Similar plugin requests: none that I can find.
    (the most similar plugin is Alerter, but it is extremely bloated and no longer updated.)

    bump

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

    Whisk

    I could see if I could get something like this going.
     
  3. Offline

    ThePoopfish

    You would be my hero <3
     
  4. Offline

    IcyRelic

    if you cant i could for sure 100%
     
  5. Offline

    ThePoopfish

    So how do we get this made? I've never requested a plugin before, what is the process?
     
  6. Offline

    IcyRelic

    All you do it wait for him to do it and send u it if he cant do it i will take his spot in doing it
     
  7. Offline

    ThePoopfish

    Will you actually be making this?
     
  8. Offline

    dlcruz129

    You can use worldguard. It will log and notify when players place or break blocks, but about commands, I don't know of any that exist. Good luck finding one or good luck to whoever starts your project for you.
     
  9. Offline

    Tauryuu

    Hmm. Interesting. I'll try as well.
     
  10. Offline

    ThePoopfish

    True, but there are some people who don't us WG (for some reason) who may want just an easy lightweight notification system.

    Thanks, let me know if you have success!
     
  11. Offline

    ThePoopfish

    *pokes head in*

    is there anyone working on this?
     
  12. Offline

    ThePoopfish

  13. Offline

    ThePoopfish

  14. Offline

    Omnitv

    VoxelGuest this plugin disables tnt and other blocks like fire. but does not tell the admins this is a temporary solution if you have THAT many griefers until someone makes the plugin for you.
     
  15. Offline

    ThePoopfish

    We have minimal protection on our server since we would rather have someone be dumb and grief right away rather than have it go on for weeks unnoticed, we usually bait griefers on our server to have them grief sooner rather than later the alerts just let us know when they screw up :)
     
  16. Offline

    ThePoopfish

  17. Offline

    ThePoopfish

  18. Offline

    ThePoopfish

    Is anyone currently working on this?
     
  19. Offline

    turt2live

    Making this now, should be done in a few hours at most.
     
  20. Offline

    ThePoopfish

    Thanks a lot, are you going to make a Bukkitdev page for it? I can help with any Alpha/Beta testing if you need it.
     
  21. Offline

    turt2live

    Commands:
    /alerts on/off - Turns alerts on/off for your session
    /alerts reload - Reload config
    /alerts - Help menu

    Permissions:
    alerts.get - Get alerts (also permission to use /alerts on/off)
    alerts.reload - Permission to use /alerts reload
    alerts.exempt - Does not fire alerts (so admins don't hear about admins)

    Download:
    http://mc.turt2live.com/plugins/plugin.php?name=GriefAlert
     
  22. Offline

    ThePoopfish

    Code:
    182 recipes
    27 achievements
    13:36:03 [INFO] Starting minecraft server version 1.2.5
    13:36:03 [INFO] Loading properties
    13:36:03 [WARNING] server.properties does not exist
    13:36:03 [INFO] Generating new properties file
    13:36:04 [INFO] Starting Minecraft server on *:25565
    13:36:04 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.5-R1.0-b2149jnks (MC: 1.2.5) (Implementing API version 1.2.5-R1.0)
    13:36:04 [SEVERE] Could not load 'plugins\GriefAlert.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/turt2live/griefalert/GriefAlert : Unsupported major.minor version 51.0
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:150)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207)
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.UnsupportedClassVersionError: com/turt2live/griefalert/GriefAlert : Unsupported major.minor version 51.0
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClassCond(Unknown Source)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$000(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:139)
            ... 8 more
    >
    errors out on start up, using RB, and no other plugins
     
  23. Offline

    turt2live

    *sigh*

    I compiled it in 1.7, not 1.6.
    Give me a sec :)

    Fixed, same link.

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

    ThePoopfish

    Can't seem to get the alerts to send to in game admins, they are sending to the console though
     
  25. Offline

    turt2live

    Permission required: alerts.get
     
  26. Offline

    ThePoopfish

    I have it
     
  27. Offline

    turt2live

    All lowercase?
     
  28. Offline

    ThePoopfish

    Yes I am using PEX,
    Code:
      Admin:
        options:
          rank: '2'
        prefix: '&4Admin'
        inheritance:
        - Moderator
        worlds:
          world:
            permissions:
            - alerts.get
    I have my players placing TNT like madmen, alerts get sent to console but not to the admins
     
  29. Offline

    turt2live

    I'm guessing you used /reload?

    If so, stop your server and restart it
     
  30. Offline

    ThePoopfish

    Restarted a few times, still no alerts are being sent in game

    Ok I reset my test server, it seems to be working now, except that the permission logic doesn't seem to be right. If I give myself "alerts.get" everyone can see the blacklisted actions. I gave alerts.get to someone else and they can see the messages that are supposed to be sent to admins.

    So "alerts.get" -> activate alert watching, broadcast alerts to everyone.

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

Share This Page