Alerting Plugin [FORMATTED]

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

  1. Offline

    turt2live Retired Staff

    alerts.get is the permission to get the messages (like [Alerts] X broke Y)

    Wait... there is a bug.

    I check the wrong player when doing permissions.

    Sadly, I can't fix it now (at work, on my phone), but I will fix it once I can (~8 hours)

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

    ThePoopfish

    Ok, I'll test it again tomorrow. Just so you know though, the actual alerts looks good and work with every block and are very easily configurable for what to watch.
    But the watched commands, is it just the specific commands that are detailed in the config that are watched?
     
  3. Offline

    turt2live Retired Staff

  4. Offline

    ThePoopfish

    Works much better now, but can you make it so the plugin listens for all commands instead of just ones specified in the config?

    and maybe later on let users customize the alert messages to whatever they like?
     
  5. Offline

    turt2live Retired Staff

    You would then get all the commands people enter as mistakes or to simply spam you, such as /ajdhauishd.

    Per-user messages is possible, but unlikely as it would require more files and result in more space being taken up on your server.

    I'll work on both, but the timespan is not a priority for me just yet.
     
  6. Offline

    ThePoopfish

    At the moment, the plugin I use for getting commands alerts, sends alerts for all commands used isn't really that spammy, it would be nice however to not have them listened for in some worlds. (getting all command alerts also helps with troubleshooting people new to using commands) maybe add an option to whitelist or blacklist?

    I didn't mean per-user messages, I mean the actual alerts themselves are configurable in the config so I can change the colors and wording of the alerts. (globally)
     
  7. Offline

    turt2live Retired Staff

    You can set per-world configuration, I outlined the setup at the top of the config.yml

    That makes more sense, I'll get to work on that :)
     
  8. Offline

    ThePoopfish

    Maybe make the commands work off of either a blacklist or whitelist?
     
  9. Offline

    turt2live Retired Staff

  10. Offline

    ThePoopfish

    is there any way to make commands use the *

    so it would be /region*

    so as long as it starts with /region the rest of the command wouldn't matter and would still send alerts. (just an idea)
     
  11. Offline

    turt2live Retired Staff

    I'll work on that too :)
     
  12. Offline

    ThePoopfish

    You're awesome! that way if people want all commands they can just do /*
     
  13. Offline

    Omnitv

    Id like that alot I can run alfa tests of nessary on my server, just to ease off the pressure
     
  14. Offline

    turt2live Retired Staff

  15. Offline

    ThePoopfish


    Works like a charm, anyway to add which world the alerts are coming from?
    Can you also add support for display names?
    And can you add a way to change the alert prefix?
     
  16. Offline

    turt2live Retired Staff

    Reuploaded.

    Add {WORLD} to the message where you want the world name :)
     
  17. Offline

    ThePoopfish

    Is it normal to get super happy every time you add a new feature in less than a few minutes!
     
  18. Offline

    turt2live Retired Staff

    I'm on break right now, So I have free time to code :)
     
  19. Offline

    ThePoopfish

    any chance on adding display name support?

    Also can you make the current way the alerts are handled a sort of debug mode. (alerts being sent to the players that have alerts.get permission, even for their own actions.)

    And make a new way so that by default if a player has "alerts.get" they will not receive alerts from themselves?

    That way I, as OP, can receive alerts from lower groups without having to add exceptions. (which makes that group not send alerts, and making spying on some lower groups impossible)

    also Could you use world "aliases" in mutliverse for the {world}?

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

    turt2live Retired Staff

    I'll get to work on all that :)

    Updated.

    Forgot MultiVerse world aliases, one sec

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

    Omnitv

  22. Offline

    turt2live Retired Staff

    Re-updated, this time with MultiVerse world alias and player display names

    {DNAME} = Display Name
    {MVWORLD} = MultiVerse Alias (or world name if MV is not found)
     
  23. Offline

    ThePoopfish

    You are a great dev!Just a few more things.
    • add ability to change the [alerts] prefix, or get rid of altogether
    • alerts.get doesn't send alerts of a person's actions to themselves. (or make that a debug mode?)
    after all this are you going to submit this to BukkitDev?
     
  24. Offline

    turt2live Retired Staff

    Prefix I can do, alerts.get requires debug mode (Although I think I screwed that up...).

    I may submit it to BukkitDev, don't know yet.

    Updated.

    You can now set the prefix in the config under messages -> prefix.

    Don't want the prefix? Set it to 'none'.

    Here's the debug logic:

    if debug is on:
    • Ignore the exempt permission
    • Tell players with the get permission what happened, including the sender of the alert
    if debug is off:
    • Take notice of the exempt permission
    • Tell players who have the get permission, except the sender

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

    ThePoopfish


    Sweet, this plugin is ready for release!
     
  26. Offline

    turt2live Retired Staff

    Awesome :D

    I'll keep it up to date with the latest Bukkit Beta/RB builds. If you want anything added, PM me :)
     
  27. Offline

    ThePoopfish

    Ok, thanks a lot for making this.
     
  28. Offline

    muggerfugger

    thanks turt2live. will check it out.
    could you create your own plguin dev page for this or something? will be easier to follow along, get info and updates.

    thanks again :D
     
  29. Offline

    turt2live Retired Staff

    I'll consider it, but I may not in the end (it's kinda a small plugin)
     
  30. Offline

    ThePoopfish

    There is really no other plugin like it though.
     

Share This Page