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

    NuclearW

    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:
    Code:
    ReplyCommands=reply,r
    MessageCommands=msg,tell,pm
    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.

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

    Nodes (open)

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



    Download WatchPM

    Changelog:
    • 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

    TheBeast808

    Ok, here is my error report for reloading:
    Code:
    [INFO] WatchPM 0.1 loaded.
    Then, later on when two people message each other:
    Code:
    [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to WatchPM
    java.lang.NullPointerException
        at sl.nuclearw.watchpm.watchpmPlayerListener.onPlayerCommandPreprocess(watchpmPlayerListener.java:65)
        at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:272)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:704)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    I hope this helps.
     
  3. Offline

    NuclearW

    Thank you for the bug report, however, WatchPM has been updated since v0.1. Please update and let me know if the same error happens again after you update.
     
  4. Offline

    TheBeast808

    Oh woops lol. I actually posted that because I was going through all the plugins on my server and checking if they were updated and saw that you were still waiting for a bug report. I'll report back soon after I get it updated.

    Ok, it turns out you fixed it after all :p Thanks and good job. I love this plugin.

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

    Lunar Delta

    Hehe. It's easy to be cynical when you've waited so long for the moment of revelation. We still have to wait for a plugin to properly implement the permission concepts though, and I am sure there will be multiple competing ones. ;)
     
  6. Offline

    Crosshairs

    I dont have to use Old Fashioned Console To stalk people Anymore now theres a plugin for it!
     
  7. Offline

    Snowy007

    permissions aren't really working.
    plugin works for me (Admin) with these permissions:

    Code:
            permissions:
                - '*'
    But does not work for my moderators with these permissions:
    Code:
            permissions:
                - 'commandbook.*'
                - 'permissions.reload'
                - 'worldedit.*'
                - 'worldguard.region.*'
                - 'worldguard.stack'
                - 'worldguard.heal'
                - 'worldguard.heal.other'
                - 'worldguard.reload'
                - 'worldguard.region.claim'
                - 'worldguard.region.bypass.*'
                - 'worldguard.notify'
                - 'backup.canbackup'
                - 'spyer.spy'
                - 'spyer.stopmobs.admin'
                - 'mcdocs.*'
                - 'bb.admin.info'
                - 'dynmap.hide.self'
                - 'dynmap.show.self'
                - 'IPNotify.self'
                - 'IPNotify.other'
                - 'IPNotify.warning'
                - 'watchpm.stalker'
    Also i am an OP and my moderators are not.
    CB 1000
    watchpm v0.3
    permissions 2.7.4
    MC 1.7.3

    I also have a request.
    Its nice to get every pm to see what people are up to but...
    i don't really have to receive the pm's i send myself or someone sends to me.
    I already know what i am sending or receiving so i don't really have to get another notification from watchpm..
    It only gives me double messages what can be a bit annoying sometimes.
     
  8. Offline

    NuclearW

    Could you look in the log to see what WatchPM says when it starts up? It should say it is using Permissions 2.7.4, but if it is saying it is using Bukkit permissions, that would explain it.
     
  9. Offline

    TheBeast808

    Strange... Messages are no longer showing up in the chat for me. It didn't happen on a reload, it happened randomly. It still logs to the console. I am an admin with the '*' permission, and I'm an OP. I can't find any error messages...
     
  10. Offline

    Sayshal

    Hey, can you make it possible for admins to see the private messages in chat (toggle-able) please!!!
     
  11. Offline

    Snowy007

    startup message seems to be just fine.
    Code:
    12:32:23 [INFO] [WatchPM] Permissions 2.7.4 found.
    12:32:23 [INFO] [WatchPM] version 0.3 loaded.
    no errors or anything
    still my moderators aren't getting anything.
     
  12. Offline

    NuclearW

    I'll do some testing, but in the meantime if you could perhaps try using PermissionsEx (and PermissionsCompat that comes with it) instead of Permissions 2 to see if that does you any better, I would appreciate it.
     
  13. Offline

    ShaDooM

    2011-07-19 21:06:16 [INFO] [WatchPM] Permissions 2.7.4 found.
    2011-07-19 21:06:16 [INFO] [WatchPM] version 0.3 loaded.

    It logs to file, doesnt show ingame

    I'm op + admin with *

    I'm using HeroChat, maybe thats the reason ?

    edit:

    @NuclearW

    any news on this? :( Would love to use it
     
  14. Offline

    NuclearW

    HeroChat might be the problem, I'll look into it.
     
  15. Offline

    ShaDooM

    Hmm, somehow the plugin was working for some minutes (i did not change anything at all)
    But then after some minutes (no reload happened) it just stopped working without any warning.
     
  16. Offline

    Snowy007

    eu... i was just about to try this. when it suddenly started working...
    and i did nothing since last time.. weird.
    though it did start all of a sudden. no reloads or restarts or anything. When a moderator logged in today it wasn't working and after a while he suddenly did receive the pm's.

    i don't know what happens if he logs back out and in or if i restart/reload the server. will test that if he gets back.

    EDIT:
    ok he logged back in and again he can't see the pm's.
    i shall wait another 30 minutes or something to see if he magically will receive them again...
     
  17. Offline

    NuclearW

    @ShaDooM @Snowy007

    Are you both very sure there are no errors in the log that could help me?
     
  18. Offline

    Snowy007

    looked through the entire log file of today and can't find any errors related to this plugin.
    also my moderator didn't stay online for long so couldn't see if his stalking abilities would come back after a while. :p
    i'll try to get a test server with permissionEX working soon.

    great... gues what...
    i made an EXACT copy of my server and put it on my laptop as a testserver.
    I logged in using my own admin account and a 'testuser' moderator account.
    and its working perfectly....
    i did not even change a single thing...

    now why won't it work on my other server.. they are identical....
    i'll try some things on my production server tomorrow. maybe its just my moderator doing something wrong.
    though i don't see what he could possibly be doing wrong with a commandless plugin.

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

    ShaDooM

    I believe it has something to do with players in a different group, or players with a special character like _ in their name and when they join the plugin seems to hang without any notification.

    I have a group which is called 1337 so in permissions it needs to be called '1337' or it would crash. Maybe this plugin has some similiar problem?

    oh an no, i also couldn't find any stacktrace or error message in the log
     
  20. Offline

    Snowy007

    ok this is just getting weird...
    started up my server today and logged in with both my admin account and then my testuser moderator account.
    i was getting the pm's i sent between them on my admin account but not the moderator account.
    then i started logging the accounts off and in and suddenly my admin wasn't getting anything either.
    i'm not sure but i think i may have seen some pattern or something. it looked like i was only able to receive the pm's of testuser when he logged in after i did. and testuser only after i logged in after him. but i could be mistaken.
    after a while when 2 other users logged in i couldn't receive any pm's anymore on both accounts. like the plugin completely disabled itself or something.
    again no errors or anything in the log. the pm's however do appear in the console.
     
  21. Offline

    columb

    Add suport for russian fonts,please [sheep]
    Font file:
    Code:
    # This file NEEDS to be in UTF-8 format!
     !"#$%&'()*+,-./
    0123456789:;<=>?
    @ABCDEFGHIJKLMNO
    PQRSTUVWXYZ[\]^_
    ¸abcdefghijklmno
    pqrstuvwxyz{|}~ё
    # Русская раскладка:
    ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏ
    ÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞß
    àáâãäåæçèéêëìíîï
    ðñòóôõö÷øùúûüýþÿ
    #Mac OS X
    АБВГДЕЖЗИЙКЛМНОП
    РСТУФХЦЧШЩЪЫЬЭЮЯ
    абвгдежзийклмноп
    рстуфхцчшщъыьэюя
     
  22. Offline

    NuclearW

    I apologize, but I do not know what is exactly entailed for supporting the Cyrillic alphabet in java.

    I will look into it, though.
     
  23. Offline

    NuclearW

    Confirmed working in 1060
     
  24. Offline

    Evotr1p197

    I cannot Find any .jar file in the .zip file :S

    Its a Great Plugin and i want to get it to Work! : )

    Evotr1p197
     
  25. Offline

    NuclearW

    You sure you are downloading the right thing?

    I have no zip's linked in my post.
     
  26. Offline

    Evotr1p197

    I clicked on the "Download WatchPM" Button :S

    Is that wrong? : /

    Thanks for your Awnser! ; )

    Evotr1p197
     
  27. Offline

    NuclearW

    That is the jar file that is linked there.
     
  28. Offline

    Evotr1p197

    Sorry but there is only a ZIP File with a MethaInf Folder an a few classes :S

    Is it Possible that you upload the .jar at Mediafire? : /

    I will realy apprenciate it! ; )

    Evotr1p197
     
  29. Offline

    NuclearW

    I think you are unzipping the jar file.

    Try uploading the file you are unzipping, that is the jar.
     
  30. Offline

    Snowy007

    I switched from permissions 2.7.4 to permissionsbukkit 1.1
    I think everything is working fine now...
    Anyway, have you considered adding my requests?
    The request was: "dont show pm's with yourself as the sender/receiver."
    As i already know what i send/receive i don't need to see it a second time from this plugin. It gets a bit confusing.
     
  31. Offline

    Sayshal

    Is this inactive?
     

Share This Page