Godmode

Moved

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

4.76667/5, 60 likes
  1. Wulf

    Wulf Community Admin

    Did you type /god in the chat to enable it?
     
  2. yes it says
    > /god
    Command not found
     
  3. Wulf

    Wulf Community Admin

    If it says that, then the plugin isn't actually loaded. Check your oxide/logs for errors, and make sure your server, Oxide, and plugin are fully updated.
     
  4. all are updated as of today and it says it loaded though? there was no errors,and it said permission given...
     
  5. Code:
    [Oxide] 4:24 AM [Error] Failed to initialize plugin 'Godmode v2.0.0' (JsonReaderException: Error reading JArray from JsonReader. Current JsonReader item is not an array: Null. Path '', line 1, position 4.)
    [Oxide] 4:24 AM [Debug]   at Newtonsoft.Json.Linq.JArray.Load (Newtonsoft.Json.JsonReader reader) [0x00000] in <filename unknown>:0
      at Oxide.Core.Configuration.KeyValuesConverter.ReadJson (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue, Newtonsoft.Json.JsonSerializer serializer) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable (Newtonsoft.Json.JsonConverter converter, Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalC
    [Oxide] 4:24 AM [Info] Unloaded plugin Godmode v2.0.0 by Mughisi
     
    Last edited by a moderator: Aug 22, 2015
  6. Your config file or the data file is broken. Validate them with "jsonlint.com"
     
  7. Hey you can do so only authlevel 2 that can provide other player oxide.grant user "username" canusegodmode ??
     
  8. Wulf

    Wulf Community Admin

    That's already how it is.
     
  9. no few have an admin with authlevel one that has given other players good against
     
  10. Wulf

    Wulf Community Admin

    It works for any admin, authlevel 2 and 1 are essentially the same in Rust. I'd recommend not using auth levels for moderators, instead use plugins with permissions.
     
  11. oki so it is not possible to make such that it is only the server owner can give good against ?
     
  12. Wulf

    Wulf Community Admin

    Right now it uses Rust's IsAdmin check, which includes auth level 1 and 2, so not without a plugin.
     
  13. I have a problem that did not exist about a month ago in the game.

    it seems NPCs created by HumanNPC are considered Admins (not sure if this was always the case) but now all my "boss" NPCs that players use to be able to kill can no longer be killed when I use the /God command in game.

    if I turn off god typing /god, I as the admin will take damage and also my NPCs can be killed.
    what I want is what I had a month ago where I was able to setup NPCs as vulnerable or not and keep admins protected.
     
  14. I cannot enable this... Says I do not have permissions. When I try to enable the permission its says "Permission 'cangodmode' doesn't exist"

    What did I not do?

    I added my name in the config file....
     
  15. have you done the following:


    1. Add yourself to the users.cfg file in the cfg folder?
    • example: ownerid 76561198121336134 "Quicken"
    2. Restart your server
    3. Then in console or Rusty tool enter: oxide.grant user 76561198121336134 canusegodmode
    4. Then in game type /god and you should now have god mode - your name and comments will be green
     
  16. Why restart after the ownerid command ???
    Simply after the ownerid command type "server.writecfg"
     
  17. Thanks PaiN yes I keep forgetting about "server.writecfg".
     
  18. Wulf

    Wulf Community Admin

    If you see that, it generally means the plugin isn't loaded. Check your oxide/logs for errors.
     
  19. I do not see any users.cfg file on my server FTP...
    [DOUBLEPOST=1440960768][/DOUBLEPOST]I got it... Just run the ownerid"SteamID" "NickName" and the oxide.grant user "SteamID" canusegodmode from the console or Rusty and it works... Even works in Water!! Great Plugin! Thanks man
     
  20. Hi folks,

    I am the owner of my server, I did the ownerid thing, and it said I'm already an owner... I did the server.writecfg, and then tried the "oxide.grant user 76561197963525637 canusegodmode"

    This was the error I received. What can I do for this?

    Unable to load permission files! Permissions will not work until the error has been resolved.
    => Unexpected character encountered while parsing value: c. Path '76561197963525637.Perms', line 11, position 15.

    I tried while I was in game, and this was the error I received from console...
    Code:
    [Oxide] 7:15 PM [Error] Failed to call hook 'God' on plugin 'Godmode v2.0.0' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 7:15 PM [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
    24.72.14.203:63821/76561197963525637/
     
    Last edited by a moderator: Aug 31, 2015