1. Broken... After some time - can't use commands...
    Code:
    [Oxide] 7:54 PM [Error] Failed to call hook 'cmdMute' on plugin 'Chatmute v1.1.3'
    File: Chatmute.lua Line: 171 attempt to index field 'connection' (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.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
     
  2. Try to update to the last version: 1.1.5
    Your version is: 1.1.3
     
  3. Ok, thanks.
    [DOUBLEPOST=1444238999][/DOUBLEPOST]Needs a server restart?


    Code:
    [Oxide] 8:29 PM [Error] Failed to call hook 'cmdMute' on plugin 'Chatmute v1.1.5'
    File: Chatmute.lua Line: 171 attempt to index field 'connection' (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.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  4. Try to delete config and data files and reload plugin. (create backups of your old files)
     
  5. @Domestos 5 hours after restart and...


    Code:
    [Oxide] 3:03 PM [Error] Failed to call hook 'cmdMute' on plugin 'Chatmute v1.1.5'
    File: Chatmute.lua Line: 171 attempt to index field 'connection' (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.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  6. Im not completely up to date in terms of Rust's code but I assume that players arent removed from activePlayerList immediately after they disconnect, or someone dicsonnected right when the plugin checked and the server was too slow to remove it in time, so the baseplayer object is still listed in it but no connection is found.
    I might be wrong, its just an assumption.

    You can try this:
    replace line 171 with
    Code:
            local currIP = ""
            if currPlayer.net.connection ~= nil then
                currIP = currPlayer.net.connection.ipaddress
            end
     
  7. Thanks! Will try
     
  8. Someone give me an example of how to do a time based mute? All we get is "Invalid time format"
     
  9. Hi there,

    with the latest rust and oxide i get the following:

    Code:
    [10/13/2015 12:01:39 AM] [Oxide] 12:01 AM [Error] Failed to call hook 'ccmdMute' on plugin 'chatmute v1.1.5'
    File: chatmute.lua Line: 171 attempt to index field 'connection' (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.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  10. Domestos updated Chatmute with a new update entry:

    1.1.6

     
  11. Code:
    [Oxide] 9:52 PM [Error] Failed to call hook 'OnRunCommand' on plugin 'chatmute v1.1.6' File: chatmute.lua Line: 669 argument number 2 is invalid:   at NLua.Method.LuaMethodWrapper.Call (LuaState luaState) [0x00000] in <filename unknown>:0 
     
  12. anyone have a plugin that can do the same as this or fix this? i really need a chat mute function on my server
     
  13. Is this plugin working? Is there any specific permissions i need to add for all players to be able to mute / unmute?
     
  14. what is error?
    fix plz
     

    Attached Files:

  15. and how can I give any player the right to issue the violator "Chatmute"?
     
  16. > grant group admin chat.mute
    Permission 'chat.mute' doesn't exist
    > grant group admin chat.globalmute
    Permission 'chat.globalmute' doesn't exist
    > grant group admin chat.notglobalmuted
    Permission 'chat.notglobalmuted' doesn't exist
    [DOUBLEPOST=1449358048,1449267723][/DOUBLEPOST]Any news ?
     
  17. here is working fine, you changed something files? in settings, plugin or data folders?
     
  18. mmmmm nope
     
  19. Does the plugin's commands work?
     
  20. I've found solution:
    permission names are incorrect in overview page. Should be:
    grant group moderator canmute
    grant group moderator canglobalmute
    grant group moderator notglobalmuted