FormatException at LangNot An Issue

/autoauth help does print the help text, but when using only /autoauth, an exception is printed in the console and no help text is output to chat.

Failed to call hook 'CmdAutoAuth' on plugin 'AutomaticAuthorization v1.3.0' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
  at System.Text.StringBuilder.AppendFormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x000ff] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.String.FormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x00023] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.String.Format (System.String format, System.Object[] args) [0x00020] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at Oxide.Plugins.AutomaticAuthorization.Lang (System.String key, System.String id, System.Object[] args) [0x0000e] in <89acde035eae42c2b7c23b64a7f608a9>:0 
  at Oxide.Plugins.AutomaticAuthorization.HandleStatusCommand (System.Text.StringBuilder stringBuilder, BasePlayer player, Oxide.Plugins.AutomaticAuthorization+StoredData+ShareData shareData, System.Collections.Generic.IEnumerable`1[T] availableTypes) [0x0005b] in <89acde035eae42c2b7c23b64a7f608a9>:0 
  at Oxide.Plugins.AutomaticAuthorization.CmdAutoAuth (BasePlayer player, System.String command, System.String[] args) [0x00094] in <89acde035eae42c2b7c23b64a7f608a9>:0 
  at Oxide.Plugins.AutomaticAuthorization.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00fc9] in <89acde035eae42c2b7c23b64a7f608a9>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0


Clearing the lang file resolves this - PSA

This is because you edited the language file incorrectly

You're right. Just needed to delete it and let the plugin recreate it when updating to the new version. Wanted to let others know in case they ran into the same 😄

Locked automatically