PrivateMessages

Moved

Total Downloads: 1,220 - First Release: Aug 4, 2016 - Last Update: Mar 18, 2017

5/5, 4 likes
  1. PaiN submitted a new resource:

    Private Messages - This plugin allows you to send private messages to players.

    Read more about this resource...
     
  2. Error when people send PMS and console log is set to true
    Code:
    (00:57:41) | [Oxide] 00:57 [Debug] ExType: TargetInvocationException
    (00:57:41) | [Oxide] 00:57 [Error] Failed to call hook 'OnServerCommand' on plugin 'RustCore v1.0.0' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
    (00:57:41) | [Oxide] 00:57 [Debug]   at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (System.String format, System.Object arg0, System.Object arg1, System.Object arg2) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PrivateMessages.cmdPM (IPlayer player, System.String cmd, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    (00:58:07) | [Oxide] 00:58 [Debug] ExType: TargetInvocationException
    (00:58:07) | [Oxide] 00:58 [Error] Failed to call hook 'OnServerCommand' on plugin 'RustCore v1.0.0' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
    (00:58:07) | [Oxide] 00:58 [Debug]   at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (System.String format, System.Object arg0, System.Object arg1, System.Object arg2) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PrivateMessages.cmdPM (IPlayer player, System.String cmd, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [DOUBLEPOST=1470352248][/DOUBLEPOST]and also /r does not work :(
     
  3. How /r isn't working ? I mean when I tested it with someone it was working.... I will try to test it again.
     
  4. Yes its saying "You have no previous messages" or something like that - sorry im not at home at my PC so cannot tell whats saying it but we tested it and did not work, anyway the biggest problem is with the error in console and messages not showing in console - Thanx for reply tho! :)
    [DOUBLEPOST=1470396618][/DOUBLEPOST]Oh Sorry Pain forgot to mention (sorry I am dumb since this is Universal plugin) I am talking about RUST game :)
     
  5. Please Add command to ignor players to chat
    across PM
     
  6. PaiN updated Private Messages with a new update entry:

    0.2

     
  7. Hey @PaiN , I was wanting to know If you are interested in releasing Private Messages ownership to me? It seems more in the ballpark of what I am trying to do with a universal admin/pm plugin.

    I'll still keep you in the credits.
     
  8. Wulf

    Wulf Community Admin

    Is there an issue with it? Also, PM doesn't sound like it fits within an Admin plugin.
     
  9. There isn't really a issue with the plugin currently beside its using the old FindConnectedPlayer witch would probably make it not work.

    But since Private message is more of a Private Chat plugin. I wanted to make it so

    players can send messages privately between players(Already intended to do so.)

    But with an addition to have a private admin chat room for all admins to talk amongst themselves
     
  10. Wulf

    Wulf Community Admin

    Why not make it as a separate plugin then if it isn't really the same thing? What you'd be making is more of chat channels.
     
  11. Ok. I will make it a separate plugin.
     
  12. Will there be an update for this one? It seems the last oxide update may have broken this plugin. (I checked twice this time wulf lol)

    Code:
    [SERVER v1.0.23] Console: PrivateMessages.cs(82,38): error CS1061: Type `Oxide.Core.Libraries.Covalence.IPlayerManager' does not contain a definition for `FindConnectedPlayer' and no extension method `FindConnectedPlayer' of type `Oxide.Core.Libraries.Covalence.IPlayerManager' could be found. Are you missing an assembly reference?
    C:\Rustide\rust\Oxide.Core.dll (Location of the symbol related to previous error)
    PrivateMessages.cs(142,42): error CS1061: Type `Oxide.Core.Libraries.Covalence.IPlayerManager' does not contain a definition for `GetConnectedPlayer' and no extension method `GetConnectedPlayer' of type `Oxide.Core.Libraries.Covalence.IPlayerManager' could be found. Are you missing an assembly reference?
    C:\Rustide\rust\Oxide.Core.dll (Location of the symbol related to previous error)
    
     
  13. Once I come back home in a few hours I will update.
     
  14. Sweet! Much appreciated!
     
  15. PaiN updated Private Messages with a new update entry:

    0.3

     
  16. I loaded the most recent version and received the following error:

    Code:
    [SERVER v1.0.23] Console: PrivateMessages.cs(82,38): error CS1061: Type `Oxide.Core.Libraries.Covalence.IPlayerManager' does not contain a definition for `FindConnectedPlayer' and no extension method `FindConnectedPlayer' of type `Oxide.Core.Libraries.Covalence.IPlayerManager' could be found. Are you missing an assembly reference?
    C:\Rustide\rust\Oxide.Core.dll (Location of the symbol related to previous error)[SERVER v1.0.23] Got Message: Compile
    [SERVER v1.0.23] Console: PrivateMessages.cs(82,38): error CS1061: Type `Oxide.Core.Libraries.Covalence.IPlayerManager' does not contain a definition for `FindConnectedPlayer' and no extension method `FindConnectedPlayer' of type `Oxide.Core.Libraries.Covalence.IPlayerManager' could be found. Are you missing an assembly reference?
    C:\Rustide\rust\Oxide.Core.dll (Location of the symbol related to previous error)
     
  17. PaiN updated Private Messages with a new update entry:

    0.3.1

     
  18. Sweet! Thanks!
     
  19. I just getted this error when useing /pm
    Code:
    [Oxide] 23:48 [Error] Failed to run command 'pm' on plugin 'PrivateMessages v0.3.1' (NullReferenceException: Object reference not set to an instance of an object)
     
  20. @PaiN Could you mabye fix the error code that I've above this
    this is also the error that you need
    Code:
    [Oxide] 23:29 [Debug]   at Oxide.Plugins.PrivateMessages.cmdPM (IPlayer player, System.String cmd, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.
     
    Last edited by a moderator: Nov 2, 2016