Godmode

Moved

Total Downloads: 30,059 - First Release: Oct 23, 2014 - Last Update: Oct 27, 2017

4.76667/5, 60 likes
  1. so
    To revoke the permission(remove the permission) from the player type
    Code:
    oxide.revoke user Danielp8400 canusegodmode
    To revoke the permission from the group that the player has type
    Code:
    oxide.revoke group groupname canusegodmode
    To revoke the group from the player type
    Code:
    oxide.usergroup remove playername group
     
  2. thanks for The help
     
  3. No problem.
     
  4. I cant seem to get any add on working is there a place to go and learn what I am doing wrong
     
  5. Wulf

    Wulf Community Admin

    What have you done so far? If you can provide the steps, we can tell you what you missed.
     
  6. I have put all the file in the folders
    upload_2015-8-9_23-1-11.png
    but it doesn't show up in the config folder I have also tried put it into this folder
    upload_2015-8-9_23-9-36.png
    but they don't work in that folder either not sure exactly what I'm doing wrong
     
  7. Wulf

    Wulf Community Admin

    What does your oxide/config folder look like currently, and what does the "version" console command show you?
     
  8. this console command upload_2015-8-10_1-1-19.png

    oxide config
    upload_2015-8-10_1-4-57.png
    [DOUBLEPOST=1439315182,1439183118][/DOUBLEPOST]ok things seem to be showing up now where do I put the canusegodmode to get it to work
     

    Attached Files:

  9. Wulf

    Wulf Community Admin

    Use "grant user yoursteamid canusegodmode" in your console while on the server as owner/moderator, or via RCON.
     
  10. ok is anyone having problems toggling god mode after the update? this is what im getting in rcon console
    [Oxide] 7:43 PM [Error] Failed to call hook 'God' on plugin 'Godmode v2.0.0' (NullReferenceException: Object reference not set to an instance of an object)
     
  11. Wulf

    Wulf Community Admin

    Please post the full log portion.
     
  12. Code:
    8:01 PM [Error] Failed to call hook 'God' on plugin 'Godmode v2.0.0' (NullReferenceException: Object reference not set to an instance of an object)
    8:01 PM [Debug]  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 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
     
  13. Wulf

    Wulf Community Admin

    Your oxide/data/oxide.groups.json is somehow corrupt, verify it using jsonlint.com.
     
  14. ok just deleted it gonna see if that fixes it
     
  15. I just installed this one, its not working???? i gave owner permissions.
     
  16. Wulf

    Wulf Community Admin

  17. Wulf

    Wulf Community Admin

    What is the exact command you used?
     
  18. oxide.grant user BeautyKilled canusegodmode
    [DOUBLEPOST=1439786248][/DOUBLEPOST]
    and it said

    " User 'BeautyKilled' granted permission: canusegodmode "

    but im the same. same damage. still die etc.