The person that can help me will get 10$ paypal c; (Kindness)
Dear Reader,
I really want help with 2 of my installed plugins;
The first one is the plugin BetterChatName.
The problem with the plugin BetterChatName is;
I just don't know how to fix it .. I hope someone can help me out with it.Code:[Error] Failed to initialize plugin betterchatname File: betterchatname.lua Line: 42 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.GrantGroupPermission (System.String groupname, System.String perm, Oxide.Core.Plugins.Plugin owner) [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
The second plugin I have problems with is the plugin GodMode.
I get the following error:
The person that can help me will get 10$ paypal c; (Kindness)Code:[Error] Failed to call hook 'God' on plugin 'Godmode' (NullReferenceException: Object reference not set to an instance of an object) 2:36 AM [Debug] at Oxide.Core.Libraries.Permission.GetUserData (System.String userid) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Permission.UserHasPermission (System.String userid, System.String perm) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Godmode.IsAllowed (.BasePlayer player, System.String perm) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Godmode.God (.BasePlayer player, System.String cmd, System.String[] args) [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
Regards.
Solved Permissions not working, errors (json files invalid)
Discussion in 'Rust Discussion' started by ILLuSi0nQ, May 24, 2015.
-
Did you by chance did you delete oxide.groups?
Can you also upload you oxide logs, thanks. -
Full Oxide log
http://pastebin.com/riLzaZ5E -
-
Wulf Community Admin
-
-
oxide.users: http://pastebin.com/3K0z1i2C
oxide.groups: http://pastebin.com/RARDRi8G
@Wulf, I am not renaming plugins, I just use the original name ex. GodMode.cs -
Wulf Community Admin
[DOUBLEPOST=1432435957][/DOUBLEPOST]
[DOUBLEPOST=1432436049][/DOUBLEPOST] -
My username on steam is ILLuSi0nQ
[DOUBLEPOST=1432436363][/DOUBLEPOST]Now I am getting a new error:
Code:[Error] Failed to call hook 'OnPlayerChat' on plugin 'Better Chatname' File: betterchatname.lua Line: 70 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 Oxide.Core.Libraries.Permission+<GroupsHavePermission>c__AnonStorey0.<>m__0 (System.String group) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.Any[String] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Permission.GroupsHavePermission (System.Collections.Generic.HashSet`1 groups, System.String perm) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Permission.UserHasPermission (System.String userid, 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
-
You group file is invalid it should be:
Code:{ "admin": { "Title": "admin", "Rank": 0, "Perms": ["canusegodmode"], "ParentGroup": null }, "moderator": { "Title": "moderator", "Rank": 1, "Perms": [], "ParentGroup": null }, "player": { "Title": "player", "Rank": 2, "Perms": [], "ParentGroup": null } }
-
[DOUBLEPOST=1432436841][/DOUBLEPOST]You are epic, this actually worked!
I have the [Owner] prefix now!
But the problem now is that I don't have the permissions to use the command: '/god' -
or grant it to yourself. oxide.grant user yourname canusegodmode