[CHAT] pmChat v1.7.3_5 - Simple Messaging using mChat [1337]

Discussion in 'Inactive/Unsupported Plugins' started by MiracleM4n, Aug 2, 2011.

  1. Offline

    MiracleM4n

    pmChat - Simple messaging for use with mChat
    Version: v1.7.3_5 (Versioning = MC Version 1.7 Release 3 Fix 5) (August 16/11)

    Provides a personal message command (/pmchat pm {playername} message = pmchat.pm)
    Provides replying to said messages using a command (/pmchat reply message = pmchat.reply)
    Provides starting a private Convo with said player using a command (/pmchat invite *Player* = pmchat.invite)
    Provides accepting a private Convo using a command (/pmchat accept)
    Provides denying a private Convo using a command (/pmchat deny)
    Provides leaving a private Convo using a command (/pmchat leave)

    Features:
    • Supports superperms/Permissions 2/3/GroupManager.
    • Config is auto-created and auto-updated.
    • Can use Spout
    • Spout Features:
      • All PM's sent using Achievement window *Configurable*
    Download pmChat

    SourceCode
    Config Explanation (open)

    Code:
    mchat-spout-PMBox: 'false'
    
    Explanation:
    • mchat-spout-PMBox is used for:
      • Enabling(true) or Disabling(false) PM's to be sent using only the Achievement window if player has SpoutCraft_SP installed.




    Other Stuff:
    [​IMG] Please donate to help support me :D
    Changelog:
    Version 1.7.3_5 (August 16/11)
    • Fixed PM failz.
    Changelog: (open)

    Version 1.7.3_4 (August 15/11)
    • Updated to new mChat API.
    • Added Convo style PM's.
    • Command restructuring.
    Version 1.7.3_3 (August 11/11)
    • Updated to new mChat API.
    Version 1.7.3_2 (August 05/11)
    • Added full support for all major permissions plugins.
    Version 1.7.3_1 (August 03/11)
    • To show no work has been done....
    Version 1.7.3 (August 02/11)
    • Initial Release
     
    AS1LV3RN1NJA and dunst0 like this.
  2. Offline

    codename_B

    These would be beautiful if you had the option of using bInfo too :)
     
  3. Offline

    MiracleM4n

    codename_B: PM me, I am having severe difficulties getting services to work :S
     
  4. Offline

    codename_B

    PM me your source code - I'll add it for you :)
     
  5. Offline

    MiracleM4n

    once i get off work will do
     
  6. Offline

    codename_B

    One thing - bInfo provides support for color formatted prefix/suffix - do you want the color formatting stripped out?
     
  7. Offline

    MiracleM4n

    Its up to you I can change the getPrefix to be formatted and remove the getFormatted...
     
  8. Offline

    BSEUNHIR

    I have a suggestion for this plugin! :)
    Currently, a /reply is not counted as a /pm and thus can not be answered with a /reply. I'd like this to be changed!
    So /reply can be answered with /reply
    If this is intended, I apologize.

    Thanks for the plugin, everything else works smoothly :3
    Although I disabled the spout-PM-feature as long messages became REALLY hard to read. :)
     
  9. Offline

    Plague

    Sorry for the delay in submission approvals, I've been away for a while.
     
    dark_hunter likes this.
  10. Offline

    swift_fox24

    Feature request:

    To be able to type one command to start a private conversation, that way you don't have to type a command every time you want to send a message.
     
  11. Offline

    Kane

    Id like this redone to something like /tell /msg /m and /reply /r

    @MiracleM4n

    Thanks :)
     
  12. Offline

    dunst0

    Kane likes this.
  13. Offline

    MasterMeNL

    this doesn't seem to work with the newest mchat or something.
    I get the following error:
    I run RB1000 with mchat 1.7.10_1 (will update to 1.7.10_2 soon)
    Code:
    2011-08-11 18:36:49 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'pm' in plugin pmChat v1.7.3_2
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        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:85)
        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)
    Caused by: java.lang.NoSuchFieldError: API
        at net.D3GN.MiracleM4n.pmChat.commandSender.onCommand(commandSender.java:40)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
     
  14. Offline

    MiracleM4n

    MasterMeNL: I will fix this now.

    *Updated*

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

    swift_fox24

    Please make this plugin have an option at least of starting a full on private conversation, so that you only have to type one command, then you just keep on typing as usual, and every message goes to the other. This would make it so much more convenient than having to type /r <message> It's not a huge difference, but one that I feel would be an improvement.

    It could even be a different command altogether, so those who want to stick with what you have now, use the current commands.
     
  16. Offline

    MiracleM4n

    swift_fox24: mChannel will be a more rounded plugin for channel like talking.
     
  17. Cant get that spout part to work :-(. Latest RB Spout on server, latest RB Spout in client, true in config, but still no PMs trough achievement window :-(.
     
  18. Offline

    MiracleM4n

    @Boos I will take a look into this.
     
  19. Offline

    swift_fox24

    What if two people just want to have a private conversation? Would there have to be a full on channel for just those two to join?
     
  20. Offline

    MiracleM4n

    @swift_fox24 I will add the ability for 2 people to have a persoonal conversation tonight after i get off work. (approx 10pm EST)

    EDIT: Would you like a /pmchat invite [player] than a /pmchat accept? than to leave either has to do a /pmchat leave and the convo is over? (If so than I will have to change the original command to /pmchat pm [player])
     
  21. Thanks for fixing that mChatEssentials bug so quickly.

    I did some pmChat testing and encountered some problems.

    "/pm pm myusername testmessage" (trying to PM myself) gives me this console error:
    Code:
    2011-08-15 23:27:57 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'pm' in plugin pmChat v1.7.3_4
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:352)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
        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:89)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
        at net.D3GN.MiracleM4n.mChat.mChatAPI.getRawInfo(mChatAPI.java:99)
        at net.D3GN.MiracleM4n.mChat.mChatAPI.getRawPrefix(mChatAPI.java:113)
        at net.D3GN.MiracleM4n.mChat.mChatAPI.ParseChatMessage(mChatAPI.java:24)
        at net.D3GN.MiracleM4n.mChat.mChatAPI.ParsePlayerName(mChatAPI.java:75)
        at net.D3GN.MiracleM4n.pmChat.commandSender.onCommand(commandSender.java:109)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    
    "/pm leave", without EVER having been invited to a Convo since plugin load (the problem goes away if I have been invited at any point since last plugin load/reload, even when I relog the client) gives me the exact same console error as above.

    "/pm reply test" and "/pm reply myusername" unexpectedly give me the /pm help screen.

    "/pm reply test test", "/pm reply myusername test", and "/pm reply test myusername" give me the expected "no one has PM'ed you" message.

    Inviting myself to a Convo, accepting or denying the invite, chatting in the Convo, and leaving the Convo all work properly for me.

    I dunno if actual PMs/replies/Convos with other people work for me because I am the only one on this test server.

    This is my server log at startup (I have updated to CraftBukkit build 1060/mChat 1.7.10_4/mChatEssentials 1.7.2_3/pmChat 1.7.3_4):
    Code:
    2011-08-15 23:27:24 [INFO] Starting minecraft server version Beta 1.7.3
    2011-08-15 23:27:24 [INFO] Loading properties
    2011-08-15 23:27:24 [INFO] Starting Minecraft server on *:25565
    2011-08-15 23:27:24 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-980-g4ed23b1-b1060jnks (MC: 1.7.3)
    2011-08-15 23:27:24 [INFO] [SuperpermBridge] Superperm/Permissions bridge initialized
    2011-08-15 23:27:25 [INFO] Preparing level "world"
    2011-08-15 23:27:25 [INFO] Preparing start region for level 0 (Seed: 2359354853839225022)
    2011-08-15 23:27:26 [INFO] Preparing start region for level 1 (Seed: 2359354853839225022)
    2011-08-15 23:27:26 [INFO] Preparing spawn area: 48%
    2011-08-15 23:27:26 [INFO] PermissionsBukkit v1.1 is now enabled
    2011-08-15 23:27:26 [INFO] [SuperpermBridge] Superperm/Permissions bridge enabled
    2011-08-15 23:27:26 [INFO] [PermissionsAttributeProvider] Enabled!
    2011-08-15 23:27:26 [INFO] [HELP] 0 extra help entries loaded
    2011-08-15 23:27:26 [INFO] [HELP] Permissions enabled using: Permissions v2.7.7
    2011-08-15 23:27:26 [INFO] [HELP] 0.3.2 enabled
    2011-08-15 23:27:26 [INFO] AutoHelp version 0.2 is enabled!
    2011-08-15 23:27:26 [INFO] WorldEdit 4.6 enabled.
    2011-08-15 23:27:26 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-08-15 23:27:27 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-08-15 23:27:27 [INFO] WorldGuard: (world) Single session is enforced.
    2011-08-15 23:27:27 [INFO] WorldGuard: (world) TNT ignition is PERMITTED.
    2011-08-15 23:27:27 [INFO] WorldGuard: (world) Lighters are PERMITTED.
    2011-08-15 23:27:27 [INFO] WorldGuard: (world) Lava fire is blocked.
    2011-08-15 23:27:27 [INFO] WorldGuard: (world) Fire spread is UNRESTRICTED.
    2011-08-15 23:27:27 [INFO] WorldGuard: Loaded configuration for world 'world"
    2011-08-15 23:27:27 [INFO] WorldGuard: (world_nether) Single session is enforced.
    2011-08-15 23:27:27 [INFO] WorldGuard: (world_nether) TNT ignition is PERMITTED.
    2011-08-15 23:27:27 [INFO] WorldGuard: (world_nether) Lighters are PERMITTED.
    2011-08-15 23:27:27 [INFO] WorldGuard: (world_nether) Lava fire is blocked.
    2011-08-15 23:27:27 [INFO] WorldGuard: (world_nether) Fire spread is UNRESTRICTED.
    2011-08-15 23:27:27 [INFO] WorldGuard: Loaded configuration for world 'world_nether"
    2011-08-15 23:27:27 [INFO] WorldGuard: 0 regions loaded for 'world'
    2011-08-15 23:27:27 [INFO] WorldGuard: Unable to register missing event type SNOW_FORM
    2011-08-15 23:27:27 [INFO] WorldGuard 5.2.2 enabled.
    2011-08-15 23:27:27 [INFO] CommandBook 1.5.2-customized enabled.
    2011-08-15 23:27:27 [INFO] CommandBook: 0 banned name(s) loaded.
    2011-08-15 23:27:27 [INFO] CommandBook: 2 kit(s) loaded.
    2011-08-15 23:27:27 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-08-15 23:27:27 [INFO] [mcMMO] Permissions version 2.7.7 found, using Permissions.
    2011-08-15 23:27:27 [INFO] Loading Config File...
    2011-08-15 23:27:28 [INFO] [mcMMO] Permissions version 2.7.7 found, using Permissions.
    2011-08-15 23:27:29 [INFO] mcMMO version 1.0.50 is enabled!
    2011-08-15 23:27:29 [INFO] [Runecraft] Rune blacklist with 0 runes loaded.
    2011-08-15 23:27:29 [INFO] [Runecraft] Loaded:
    2011-08-15 23:27:29 [INFO] [Runecraft]  - 0 waypoints, 0 teleporters
    2011-08-15 23:27:29 [INFO] [Runecraft]  - 0 position runes
    2011-08-15 23:27:29 [INFO] [Runecraft]  - 0 rune pads
    2011-08-15 23:27:29 [INFO] [Runecraft] World 'world_nether': id 1.
    2011-08-15 23:27:29 [INFO] [Runecraft] World 'world': id 0.
    2011-08-15 23:27:29 [INFO] [Runecraft] Runecraft 2.8 initialized.
    2011-08-15 23:27:29 [INFO] Runecraft plugin version 0.4 is enabled!
    2011-08-15 23:27:29 [INFO] [MagicCarpet] MagicCarpet version 1.5.6 is enabled!
    2011-08-15 23:27:29 [INFO] [MagicCarpet] Take yourself wonder by wonder, using /magiccarpet or /mc. 
    2011-08-15 23:27:29 [INFO] [MagicCarpet] Using Permissions.
    2011-08-15 23:27:29 [INFO] [HeroicDeath] 1.8.4.160 enabled.
    2011-08-15 23:27:29 [INFO] [BananaChunk] version 4.6 is enabled!
    2011-08-15 23:27:29 [INFO] [mChat] Permissions not found, Checking for GroupManager.
    2011-08-15 23:27:29 [INFO] [mChat] version 1.7.10_4 is enabled!
    2011-08-15 23:27:29 [INFO] [mChatEssentials] Spout not found not using.
    2011-08-15 23:27:29 [INFO] [mChatEssentials] mChat 1.7.10_4 found now using.
    2011-08-15 23:27:29 [INFO] [mChatEssentials] version 1.7.2_3 is enabled!
    2011-08-15 23:27:29 [INFO] [pmChat] Spout not found not using.
    2011-08-15 23:27:29 [INFO] [pmChat] mChat 1.7.10_4 found now using.
    2011-08-15 23:27:29 [INFO] [pmChat] version 1.7.3_4 is enabled!
    2011-08-15 23:27:29 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-08-15 23:27:29 [INFO] Done (0.373s)! For help, type "help" or "?"
    2011-08-15 23:27:29 [INFO] [PermissionsAttributeProvider] Bridged: Runecraft
    
     
  22. Offline

    MiracleM4n

  23. I couldn't get aliases working properly in bucket.yml, so I wrote a couple CommandHelper aliases:
    Code:
    pmchat:/msg     [$user] [$] = if($user, if($, /pmchat pm $user $, die(concat(color(dark_red),'[pmChat] Message ',color(yellow),$user,color(dark_red),' what?'))), die(concat(color(dark_red),'[pmChat] Message who?')))
    pmchat:/message [$user] [$] = if($user, if($, /pmchat pm $user $, die(concat(color(dark_red),'[pmChat] Message ',color(yellow),$user,color(dark_red),' what?'))), die(concat(color(dark_red),'[pmChat] Message who?')))
    pmchat:/whisper [$user] [$] = if($user, if($, /pmchat pm $user $, die(concat(color(dark_red),'[pmChat] Whisper ',color(yellow),$user,color(dark_red),' what?'))), die(concat(color(dark_red),'[pmChat] Whipser to who?')))
    pmchat:/pm      [$user] [$] = if($user, if($, /pmchat pm $user $, die(concat(color(dark_red),'[pmChat] PM ',     color(yellow),$user,color(dark_red),' what?'))), die(concat(color(dark_red),'[pmChat] PM who?')))
    pmchat:/tell    [$user] [$] = if($user, if($, /pmchat pm $user $, die(concat(color(dark_red),'[pmChat] Tell ',   color(yellow),$user,color(dark_red),' what?'))), die(concat(color(dark_red),'[pmChat] Tell who?')))
    
    pmchat:/reply [$] = if($, /pmchat reply $, die(concat(color(dark_red),'[pmChat] Reply what?')))
    pmchat:/r     [$] = if($, /pmchat reply $, die(concat(color(dark_red),'[pmChat] Reply what?')))
    
     
  24. Offline

    BSEUNHIR

    One can't see his own messages in a PM convo, is this intended? Because for me this is very irritating^^
     
  25. Offline

    MiracleM4n

    Could everyone please tell me what they would like to see implemented in pmChat. I have been really busy IRL with lots of family related issues. I would like to know what is absolutely needed and what is wanted before I can/will make an official release. I will try to implement anything everyone says please try to respond by tomorrow (Sept 7) or early on the 8th as I have the 8th off and will be doing a lot of programming to catch up and hopefully fix/implement everything that people would like as I dont know how much time later this week/month I will have. Also post on any of my other plugin thread if you would like something added or implemented on there.


    EDIT: If at all possible (Would make my life 100x easier) if you could post the issues/features on the repsective project on my GitHub ( http://github.com/MiracleM4n ) Thanks in advance.
     
  26. Offline

    rskelhorn

    I installed this using spout but it does not show what I write to people only what they write to me..?
     
  27. Does this work with the latest mChat and 1.8?
    Also, any chance you could add this to Bukkit Dev? It makes things easier when they are all in 1 place.
     
  28. Offline

    Zombiemold

    Having the same issue as rskelhorn, I can't see what I send to others, only what they send to me. They have confirmed the same thing.
     
  29. Offline

    MiracleM4n

  30. Offline

    oilers

    Download no working
     

Share This Page