BetterChat

Moved

Total Downloads: 26,200 - First Release: Apr 21, 2015 - Last Update: Jan 12, 2018

4.9898/5, 98 likes
  1. Wulf

    Wulf Community Admin

    You're not using it right then, else there's another reference that wasn't changed.
     
  2. Here's the line:
    Code:
    public void ChatSay(string message, string userid = "0") => ConsoleSystem.Broadcast("chat.add", userid, message, 1.0);
     
  3. Wulf

    Wulf Community Admin

    Code:
    public void ChatSay(string message, string userid = "0") => rust.BroadcastChat(null, message, userid);
     
  4. What version are you using? I'd make a converter which converts your groups into the new format.
     
  5. That fixed it Wulf, thanks a lot man, only weird thing was like it was :[Pro] Ankawi:
    lol
    [DOUBLEPOST=1468532320][/DOUBLEPOST]
    I'm using 3.4.1
     
  6. 01:14 [Warning] Missing plugin name prefix 'playerrankings.' for permission 'betterchat.player' (by plugin 'PlayerRankings')
    01:14 [Warning] Missing plugin name prefix 'playerrankings.' for permission 'betterchat.pro' (by plugin 'PlayerRankings')
    01:14 [Warning] Missing plugin name prefix 'playerrankings.' for permission 'betterchat.regular' (by plugin 'PlayerRankings')

    how do i fix this? i also noted the [Warning] Missing plugin name prefix in other plugins, running oxide and all updated plugins
     
  7. Hey !

    Using latest version : 4.1.13, we randomly have this error :
    Code:
    [Oxide] 10:58 [Error] Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 10:58 [Debug]   at Oxide.Plugins.BetterChat+Player.Find (IPlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChat+Player.FindOrCreate (IPlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChat+<OnUserInit>c__AnonStorey0.<>m__0 () [0x00000] in <filename unknown>:0
      at Oxide.Core.OxideMod.OnFrame (Single delta) [0x00000] in <filename unknown>:0 
    And every time a player try to talk, we have this error and the standard display :
    Code:
    [Oxide] 11:00 [Error] Failed to call hook 'OnUserChat' on plugin 'BetterChat v4.1.13' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 11:00 [Debug]   at Oxide.Plugins.BetterChat+Player.Find (IPlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChat+Player.FindOrCreate (IPlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChat.OnUserChat (IPlayer player, System.String message) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChat.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  8. Checkout the plugin PlayerRankings overview.
     
  9. 4.1.13 is not the latest. Also what game are you on?
     
  10. We get this in Rust and Hurtworld, Rust seems to be still working fine in Hurtworld tho the group colors aint working.
    Code:
    [Oxide] 14:15 [Error] Failed to call hook 'OnUserChat' on plugin 'BetterChat v4.1.14' (FormatException: Input string was not in a correct format.)
    (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
    [Oxide] 14:15 [Debug]   at System.String.ParseFormatSpecifier (System.String str, System.Int32& ptr, System.Int32& n, System.Int32& width, System.Boolean& left_align, System.String& format) [0x00000] in <filename unknown>:0
      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[] args) [0x00000] in <filename unknown>:0
      at Oxide.Game.Hurtworld.Libraries.Covalence.HurtworldLivePlayer.Message (System.String message, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Game.Hurtworld.Libraries.Covalence.HurtworldLivePlayer.Reply (System.String message, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Game.Hurtworld.Libraries.Covalence.HurtworldPlayer.Reply (System.String message, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChat.OnUserChat (IPlayer player, System.String message) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChat.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    
     
  11. What Im looking for is a way to post a players level infront of there name.
    Example: [15] [Clan Name] Razor14150

    But I want this to be automated where when the player levels up it removes the old level and adds them to the new one. I dont want any permissions added to any of the levels... just sort of a way for players to show off levels in the server.

    I use Better Chat if that would help with a head start of what Im sort of looking for?
     
  12. when I add a player into a group with a tag it has always a player tag before the name even if thats an admin how can I remove that?
     
  13. may need you to hold my hand threw this one, what do i need to do to make it work?
     
  14. The PlayerRankings plugin is not compatible with the latest BetterChat versions. Checkout the overview for the plugin, set it up, and all should be good.
     
  15. Looks like an issue in oxide @Wulf
    [DOUBLEPOST=1468619598][/DOUBLEPOST]
    Type /chat group set default hideifnothighestpiority true
     
  16. Wulf

    Wulf Community Admin

    I'd need to see what you are using, but the error is with string.Format. Nothing has changed with the hook or Covalence though.
     
  17. How can I get betterchat to save the correct tag. Ex: I place my admins in the admin group of betterchat then do server.save and server.writecfg. When the person leaves and returns they are placed in default group
     
  18. Wulf

    Wulf Community Admin

    That's from Oxide, not this plugin. All players are always in the default Oxide permissions group right now. Also, the server.save and server.writecfg are unrelated to this plugin and Oxide, they are only used by Rust for its owner/moderator system.
     
  19. So what do I do for a fix? Cause I remove them from default and once they leave they loose the admin tag
     
  20. Wulf

    Wulf Community Admin

    The prefixes are handled by BetterChat, which you can get in the groups.json to hide based on priority and such. There's a few tutorials on how to do that in this thread, and there might be one under the FAQ.