Jail [Unmaintained]

Discussion in 'Plugin Support' started by Reneb, Apr 15, 2015.

  1. Reneb submitted a new resource:

    Jail - Send players to jail

    Read more about this resource...
     
  2.  
  3. nm works good
     
    Last edited by a moderator: Aug 24, 2015
  4. /jail playername

    Throws this error

    [Error] Failed to call hook 'cmdChatJail' on plugin 'Jail v1.0.1' (InvalidCastException: Cannot cast from source type to destination type.)
     
  5. When i restart my server the plugin wont work before i re-load it. Try the same. oxide.reload Jail
     
  6. Yea noticed it throws that error when server restarts. Sometimes it works reloading it most of the time it doesnt.
    Have to re configure everything most of the time Its quite aggravating.


    @Reneb Is there gonna be a fix for this. Or have you givin up on legacy ?
     
  7. Reneb doesn't script for Legacy anymore sadly, but afaik there isn't any error with this plugin that wont make it work expect from the re-load part on server start.
     
  8. [Oxide] 1:51 PM [Error] Failed to call hook 'cmdChatJail' on plugin 'Jail v1.0.1' (InvalidCastException: Cannot cast from source type to destination type.)
    [Oxide] 1:51 PM [Debug] at Oxide.Plugins.Jail.FindCell (System.String userid) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.Jail.AddPlayerToJail (.NetUser player, Int32 expiretime) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.Jail.cmdChatJail (.NetUser player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.Jail.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0



    what is the problem ?
     
  9. Reneb is only error plugin