1. [CHAT] [Admin] [$$$] [Ebling] FuttBucker: no lol
    [Oxide] 2:00 AM [Warning] CallHook 'OnPlayerChat' on plugin 'chathandler v3.1.4' took: 2006ms
    TimeWarning: Net.sv.Cycle took 2.01 seconds (2007ms)
    [CHAT] Poison: someone is gonna take it when im offline

    [CHAT] Poison: in ur base

    [CHAT] [Admin] [$$$] [Ebling] FuttBucker: thats rust haha
    [Oxide] 2:00 AM [Warning] CallHook 'OnPlayerChat' on plugin 'chathandler v3.1.4' took: 1055ms
    TimeWarning: Net.sv.Cycle took 1.06 seconds (1057ms)

    keeps taking forever everytime an admin types
     
  2. I can't get the plugin working after the latest update?

    I've removed the config, removed the plugin and re-added it. But still no luck, any help?

    When I try to oxide.reload chathandler I get this error message.

    Code:
    [Oxide] 3:07 PM [Info] Unloaded plugin Chat Handler v3.1.4 by #Domestos
    [Oxide] 3:07 PM [Info] Loaded plugin Chat Handler v3.1.4 by #Domestos
    [Oxide] 3:07 PM [Error] Failed to initialize plugin 'chathandler v3.1.4'
    File: chathandler.lua Line: 292 Object reference not set to an instance of an object:
      at Oxide.Core.Libraries.Permission.GroupExists (System.String groupname) [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Permission.GroupHasPermission (System.String groupname, System.String perm) [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 
     
  3. Was working fine, but this happened.... Made EVERYONE SuperVIP and Owner

    Code:
    > Oxide.Reload chathandler
    [Oxide] 3:44 PM [Info] Unloaded plugin Chat Handler v3.1.4 by #Domestos
    [Oxide] 3:44 PM [Info] Loaded plugin Chat Handler v3.1.4 by #Domestos
    [Oxide] 3:44 PM [Error] Failed to initialize plugin 'chathandler v3.1.4'
    File: chathandler.lua Line: 292 attempt to index field '?' (a nil value):
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Plugins.LuaPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0
      at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0
    [CHAT] [SuperVIP] [Owner] [GLHF] Tobias the Great: hi
    CFG - Validated:
    Code:
    {
      "ChatGroups": {
        "Admin": {
          "NameColor": "#007419",
          "Permission": "admin",
          "Prefix": "[Admin]",
          "PrefixColor": "#007419",
          "PrefixPosition": "left",
          "PriorityRank": 5,
          "ShowPrefix": true,
          "TextColor": "#ffffff"
        },
        "Owner": {
          "NameColor": "#a300ff",
          "Permission": "owner",
          "Prefix": "[Owner]",
          "PrefixColor": "#a300ff",
          "PrefixPosition": "left",
          "PriorityRank": 6,
          "ShowPrefix": true,
          "TextColor": "#ffffff"
        },
        "Player": {
          "NameColor": "#5af",
          "Permission": "player",
          "Prefix": "[Player]",
          "PrefixColor": "#5af",
          "PrefixPosition": "left",
          "PriorityRank": 1,
          "ShowPrefix": false,
          "TextColor": "#ffffff"
        },
        "PlayerMod": {
          "NameColor": "#ff0000",
          "Permission": "playermod",
          "Prefix": "[Player-Mod]",
          "PrefixColor": "#ff0000",
          "PrefixPosition": "left",
          "PriorityRank": 4,
          "ShowPrefix": true,
          "TextColor": "#ffffff"
        },
        "SuperVIP": {
          "NameColor": "#ffdb00",
          "Permission": "supervip",
          "Prefix": "[SuperVIP]",
          "PrefixColor": "#ffdb00",
          "PrefixPosition": "left",
          "PriorityRank": 3,
          "ShowPrefix": true,
          "TextColor": "#ffffff"
        },
        "VIP": {
          "NameColor": "#00f936",
          "Permission": "vip",
          "Prefix": "[VIP]",
          "PrefixColor": "#00f936",
          "PrefixPosition": "left",
          "PriorityRank": 2,
          "ShowPrefix": true,
          "TextColor": "#ffffff"
        }
      },
      "Messages": {
        "Admin": {
          "AdminModeDisabled": "Admin mode disabled",
          "AdminModeEnabled": "You are now in admin mode",
          "NoPermission": "You dont have permission to use this command",
          "WordfilterAdded": "WordFilter added. {word} will now be replaced with {replacement}",
          "WordfilterError": "Error: {replacement} contains the word {word}",
          "WordfilterNotFound": "No filter for {word} found to remove",
          "WordfilterRemoved": "successfully removed {word} from the wordfilter"
        },
        "Helptext": {
          "ChatHistory": "Use /history or /h to view recent chat history",
          "Wordfilter": "Use /wordfilter list to see blacklisted words"
        },
        "Player": {
          "AdWarning": "Its not allowed to advertise other servers",
          "AutoMuted": "You got {punishTime} auto muted for spam",
          "BroadcastAutoMutes": "{name} got {punishTime} auto muted for spam",
          "NoChatHistory": "No chat history found",
          "SpamWarning": "If you keep spamming your punishment will raise",
          "WordfilterList": "Blacklisted words: {wordFilterList}"
        }
      },
      "Settings": {
        "AdminMode": {
          "ChatName": "[Server Admin]",
          "NameColor": "#ff8000",
          "TextColor": "#ff8000"
        },
        "AntiSpam": {
          "EnableAntiSpam": "true",
          "MaxLines": 4,
          "TimeFrame": 6
        },
        "ChatCommands": {
          "AdminMode": [
            "admin"
          ],
          "ChatHistory": [
            "history",
            "h"
          ],
          "Wordfilter": [
            "wordfilter"
          ]
        },
        "General": {
          "AllowedIPsToPost": [],
          "BlockServerAds": "true",
          "ChatHistoryMaxLines": 10,
          "EnableChatGroups": "true",
          "EnableChatHistory": "true",
          "MaxCharsPerLine": 80
        },
        "Logging": {
          "LogBlockedMessages": "true",
          "LogToConsole": "true",
          "LogToFile": "false"
        },
        "Permissions": {
          "AdminMode": "chathandler.adminmode",
          "EditWordFilter": "chathandler.wordfilter"
        },
        "Wordfilter": {
          "AllowPunish": "false",
          "EnableWordfilter": "false",
          "ReplaceFullWord": "true"
        }
      },
      "WordFilter": {
        "bitch": "sweety",
        "cunt": "****",
        "fucking hell": "lovely heaven",
        "nigger": [
          "mute",
          "mute reason"
        ],
        "son of a bitch": [
          "kick",
          "kick reason"
        ]
      }
    }
    [DOUBLEPOST=1441834199,1441809994][/DOUBLEPOST]So, now I use it, and it just resets the config to default after reload, no errors? Removed Owner and SuperVIP from everyone...
     
  4. You are the guy that uses Multiplay right ? You remember my reply.
     
  5. How would I give some one the VIP title?
     
  6. how do i add people to a group?
     
  7. Create your group/vip stuff within chathandler json file. In there you determine what you want your permission to be set as, mine is just vip for ease.
    After that you need to either add the permission to each person or a whole group via oxide permissions; Using Oxide's permission system | Oxide
     
  8. What's the easiest way to hide admin colours? I'm very confused as admin mode does nothing when activated. I'm still using the same name.

    Does this override clan tag?
     
  9. new players are showing up with default colors (all white) after todays update.
     
  10. Plugin is no longer assigning new players to the oxide group "players" - now assigning them to "default", which is causing names to appear in white in chat, and they dont have privs to use / commands like /dayvote. Manually executing oxide.usergroup add userid player in console fixes issue.
     
  11. oxide.grant group default player
    temp fix
     
  12. I have the latest version of Oxide that fixes the "Default Player" group issues, but some players are still showing up white, does this plugin need updated? Is anyone still having this issue after the latest Oxide update?
     
  13. Wulf

    Wulf Community Admin

    Those players aren't in a group with the title color setup. You'd need to add them to the correct group, else do what's mentioned in the update notes.
     
  14. Okay, I see that now. I updated to the latest oxide. Can I just delete the default group from the oxide.group.json and replace all instances of "Default" with "Player" in oxide.users.json and just turn my server on, will that put everything back to normal?
     
  15. Wulf

    Wulf Community Admin

    Yup, that'd work.
     
  16. hi i was wondering how i would go about hiding a VIP tag for those who don't want to be noticed
     
  17. Setup two different groups. One for normal vip and one for hidden vip, in the hidden vip group set the "ShowPrefix" option to false, then assign your users to the two groups depending on their prefix preference.
     
  18. Wrong thread
     
    Last edited by a moderator: Oct 7, 2015
  19. I have this error when someone post a message
    Code:
    [Oxide] 11:47 AM [Error] Failed to call hook 'OnPlayerChat' on plugin 'chathandler v3.1.4'
    File: chathandler.lua Line: 394 argument number 2 is invalid:
      at NLua.Method.LuaMethodWrapper.Call (LuaState luaState) [0x00000] in <filename unknown>:0
     
  20. I can no longer view the clans.
    There is a trick to make them visible ?