Inactive [ADMN/CHAT] WatchPM v0.3 - Be a stalker and watch what users say in PMs [1060]

Discussion in 'Inactive/Unsupported Plugins' started by NuclearW, Jul 4, 2011.

  1. Offline


    WatchPM - Be a stalker and watch what users say in PMs
    Version: v0.3

    WatchPM watches commands and shows what messages are sent by players to OPs, or to players with the proper permission.

    On first run WatchPM will create a file named 'config' in the 'WatchPM' folder. The default contents are as follows:
    In this file you may add commands to be watched as comma separated values. Note, a valid MessageCommand must be used in the form of /<command> <target> <message...>
    A valid ReplyCommand must be used in the form of /<command> <message...>

    Any other commands added to this file that do not follow this form are untested, and considered unsupported.

    WatchPM supports and is tested with PermissionsEx. WatchPM also supports default Bukkit Permissions! And will support any permissions plugin that does the same. WatchPM also tentatively supports Permissions 2.7.4 and 3.1.x, but is not tested against these.

    WatchPM will record all pm's to the log file "pm.log" in the WatchPM folder. To disable logging, simply create a file with the name "no.log" in the WatchPM folder.

    • Lets admins watch user PMs
    • Supports PermissionsEx, Permission 2/3, Bukkit Permissions, and defaults to OP
    • Logs pm's to a log file

    Nodes (open)

    • watchpm.* - Implies watchpm.stalker
    • watchpm.stalker - Any user with this node will receive all PMs sent

    Download WatchPM

    • Version 0.3
      • Now supports Bukkit Permissions!
    • Version 0.2
      • Added Logging.
      • Version 0.2.1
        • Made the logger more wordy.
        • Added ability to disable logging.
      • Version 0.2.2
        • Fixed a null player exception.
        • Still need an error report about the reload bug
    • Version 0.1
      • First release.
      • Version 0.1.1
        • Bugfix release.
    WatchPM was suggested by @Ymoast
    kahlilnc, maetthew and Ymoast like this.
  2. Offline


    First :D Anyways looks nice. might try it.
  3. Offline


    This worked great all yesterday, but today I cant see anything and in the log it says "[SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to WatchPM"
  4. Offline


    Like it alot! :D
  5. Offline


    will it work with permisions 3.x ?
  6. Offline


    Unfortunately, I require the entire error to be able to understand what happened.

    Please check your server log for the entire error and post it here.
    Thank you.
    Not at the moment, as stated in the post this plugin is designed to work with PermissionsEx, I will wait for the bukkit permissions API before Permissions 3.x support will be available.
  7. Offline


    Works great until your /reload the server. Then for some reason it disables. I have to restart the acual server for it to start up again. Any reason for this? Thanks a butt load for making this!
  8. Offline


    Could you provide a more detailed error?

    I have been unable to reproduce this on my server no matter how many times I reload.
  9. Offline


    I redownloaded it. Now i am only able to see the PMs. I do have permissons and permissions plus. Im not sure if those will work with this. They are Ops for some reason aren't able to see them. Im not sure how the op system works.
  10. Offline


    NuclearW, I have the /reload glitch. There is no error or anything. It works perfectly after I start up the server, but as soon as I /reload the server, it no longer works.
  11. Offline


    looks very nice. Would really like to use this but i'm using permissions 2.7.4
    I'm also not planning on switching permission system becouse 1 of the 50+ plugins i have doesn't support permissions 2.7.4
    Could you please add support for permissions 2.7.4 and/or permissions 3.x ?

    If not... wel... i might be able to survive with the OP only system but the problem is that my moderators are not OP.
    So it would only work for myself and not my moderators.

    If you could support the permissions 2.7.4 / 3.x plugins you would make this plugin 10x more awesome then it already is!
  12. Offline


  13. Offline


    @Snowy007 @maetthew

    I'll look into it, but bukkit-integrated permissions seem to be coming soon; when that happens it will support any permissions plugin that supports bukkit permissions.
  14. Offline


    I also use permissions 2.x and would like to use this. Plugin looks helpful. Too bad permissions 3 makes you change so much or I would have updated.
  15. Offline

    Lunar Delta

    Bukkit integrated permissions have been "coming soon" for months now. In the meantime, it's ridiculous to only support PeX instead of, at the very least, regular permissions, which is used by far more people. I was all ready to install this plugin until I saw that it didn't support permissions.
  16. Offline


    As I am to understand it, current values of "coming soon" mean within the next few RB's.

    However, please realize that I as a developer choose PEX as the superior permissions plugin, and thus support it, please respect my decision to do that. That said, I said I would look into adding Permissions support, and I will when I have the time to do so, so please be patient with me.
  17. Great plugin, the console used to record the PMs and then mysteriously stopped. So I thank you for this :)
  18. Offline


    REQUEST: could you please add a feature to record all PMs in a file so you can review them later, and perhaps fix this /reload bug ....
  19. Offline


    i second this.
    Its not always easy to find all the pm's between all the normal messages, errors, backup messages, etc... etc...
    Good work so far!
  20. Offline


    I really want to see a log addition as well, in case a situation would arise where I need that kinda thing.
  21. Offline


    CB 953 WatchPM 0.1 (obviously :p)

    [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to WatchPM
    at sl.nuclearw.watchpm.watchpmPlayerListener.onPlayerCommandPreprocess(
    at org.bukkit.plugin.RegisteredListener.callEvent(
    at org.bukkit.plugin.SimplePluginManager.callEvent(
    at net.minecraft.server.NetServerHandler.handleCommand(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.Packet3Chat.a(
    at net.minecraft.server.NetworkManager.b(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(
  22. Offline


    Please support permissions 3.x, by not doing this, you alienate many potential users.
  23. Offline


    Thank you, this should be fixed now.

    Logging to fill will be in the next version.

    Permissions 3 support will come in time.
  24. Offline


    Thanks, any idea on how long until file logging? Should be a simple append to file on the string variable with a line break, no? One line in most languages ... don't know java.
  25. Offline


    Version 0.2:
    Added logging.

    @40540057 : I went the longer way and made my own log formatter, so a bit more than a few lines.
  26. Offline


    thanks a ton
    Thanks a ton ... this great plugin just became 100 times more useful!

    Any idea how to fix the randomness of it? Sometimes it picks up the messages, sometimes it doesn't. Still not working after reload.

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


    I'm still unable to reproduce the reload error, so I have no idea what might be causing it.

    Also, are you sure you have all your private message and reply message commands defined in the config file? I'm also not sure of any reason it would simply not pick up a message other than it is not configured for that command.
  28. Offline


    We only use /tell and /msg and they are in the default config. Will the plugin still catch the command if they don't use a full username. Our plugin will work if they just put enough to make the name unique, ie a message to Bluetoes1 could be
    /tell blue <msg>
    Would it pick that up? Would it say the correct username in the log or just 'blue'?

    I updated the plugin today and haven't been able to pick up one single PM, not even when I tested it myself.
  29. Offline


    I don't seem to have this problem at all.

    What other plugins do you have installed?

    That said, whilst poking around I did find a bug and removed it.

    Perhaps it was causing the /reload error everyone but me seems to have?

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


    Less than 10 days later and 1 CB later, Bukkit Permissions!

    That said, version 0.3 is out, and it does support PEX, Bukkit Permissions, and Permissions 2/3. Have fun.

Share This Page