Better Chat

Customize chat colors, formatting, prefix and more

Total Downloads: 21,793 - First Release: Apr 21, 2015 - Last Update: Oct 2, 2017

4.98936/5, 94 likes
  1. LaserHydra

    LaserHydra Plugin Developer

    LaserHydra submitted a new resource:

    Name Colors - Change the name colors as you want, depending on authlevel

    Read more about this resource...
     
    Zivourâ„¢ likes this.
  2. KnightHawk

    KnightHawk Wood Hoarder

    any idea what would cause this error with it?

    [4/21/2015 4:56:57 PM] [Oxide] 4:56 PM [Error] Failed to call hook 'OnPlayerChat' on plugin 'Custom Name Colors'
    File: namecolors.lua Line: 24 argument number 2 is invalid:

    I get that error and it won't change the colors
     
  3. LaserHydra

    LaserHydra Plugin Developer

    do you maybe have other plugins which are related to what you write? So it uses the same hook? It can be interrupted by that. I would not know why you should get the error any other way...
     
  4. KnightHawk

    KnightHawk Wood Hoarder

  5. LaserHydra

    LaserHydra Plugin Developer

    Maybe Unique Name, try disabling that one using
    oxide.unload UniqueName
    in the console
     
  6. KnightHawk

    KnightHawk Wood Hoarder

    Nope. That wasn't it. I've unload all plugins and still getting that error. Latest server build and latest Oxide
     
  7. SeBL4RD 2

    SeBL4RD 2 Shack Builder

    Your plugin don't take hexa colors???
    --- Double Post Merged, Apr 22, 2015 ---
    Working, but can't change color in config file.
    Must change it in plugin itself
     
  8. AlexALX_[rus-ua]

    AlexALX_[rus-ua] Plugin Developer

    This plugin also like chathandler have "exploit" so everyone can use <color=bla>blablabla</color> or even size tags and it don't filter that.
     
    Togoshige likes this.
  9. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    That's not an "exploit" or even a bug, that's default Unity message styling. http://docs.oxidemod.org/#styling-messages

    If you want to block it, you'd need to make a plugin that filters them from the chat.
     
  10. AlexALX_[rus-ua]

    AlexALX_[rus-ua] Plugin Developer

    Yes i know, but by default rust chat function "filter" that so users can't actually use this for themself. But when you modify chat message - plugin should do this itself, or people who know this using for "i'm admin on this server" or so.
     
  11. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Ah true, then he'd likely need to strip HTML codes from chat. I didn't realize that Rust chat didn't support that, at least not anymore.
     
    LaserHydra likes this.
  12. LaserHydra

    LaserHydra Plugin Developer

    Im going to take a look at the config again.
    //
    Should be fixed with the new update.
     
    Last edited: Apr 22, 2015
  13. LaserHydra

    LaserHydra Plugin Developer

  14. LaserHydra

    LaserHydra Plugin Developer

    LaserHydra updated Name Colors with a new update entry:

    updater support

    Read the rest of this update entry...
    --- Double Post Merged, Apr 22, 2015 ---
    Maybe its fixed with the new update. Try that please.
     
  15. albator4242

    albator4242 Shack Builder

    nice plugin
     
    LaserHydra likes this.
  16. LaserHydra

    LaserHydra Plugin Developer

    Thanks
     
  17. Axy

    Axy Wood Hoarder

    i like the plugin, it's very simple
    however itconflicts with other tools that handles chat (such as chathandler) anc causes doublepost of chat messages.
     
  18. LaserHydra

    LaserHydra Plugin Developer

    Yeah thats because the hook is conflicting with it. Both plugins use the OnPlayerChat hook and gibe out the written text manually as I know. So its there 2 times. You propably have to decide, or we need a possibility to fix that.
    Maybe you need to turn something in Chathandler off.
     
    Critikill and Axy like this.
  19. PaiN

    PaiN Plugin Developer

    Wulf said in his old post :)
    "Plugins should really be moving away from auth levels and instead use Oxide's permission system ideally."
     
    LaserHydra and Axy like this.
  20. LaserHydra

    LaserHydra Plugin Developer

    I may add a it to Confog so you can choose between authlevel and oxide groups