Godmode

Moved

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

4.76667/5, 60 likes
  1. nope i dont use it in console i have binded a key to it but it has never affected players started since last update of rust i guess its rust then
     
  2. I downloaded the plugin:

    Godmode for Rust | Oxide

    I installed it in the folder and it worked normally until yesterday ..
    But today I started the server and the following appears:

    Code:
    Failed to initialize plugin 'Godmode v3.2.1' (NullReferenceException: Object reference not set to an instance of an object)
    PRINT: Imgur: The most awesome images on the Internet

    CAN YOU HELP ME?
     
  3. Wulf

    Wulf Community Admin

    Check your oxide/logs for the full error please.
     

  4. Oxide/log

    Code:
    11:14 [Error] Failed to initialize plugin 'Godmode v3.2.1' (NullReferenceException: Object reference not set to an instance of an object)
    11:14 [Stacktrace]   at Oxide.Plugins.Godmode.LoadSavedData () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Godmode.Init () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Godmode.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod 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.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
    11:14 [Info] Unloaded plugin Godmode v3.2.1 by Wulf/lukespragg
    OK!! SOLVED
     
    Last edited by a moderator: Feb 6, 2017
  5. Anyone else having issues where the server just doesn't think this plugin exists?

    It just says 'Unknown command: god' and 'Permission godmode.allowed doesn't exist' etc..
     
  6. Wulf

    Wulf Community Admin

    The only way that would happen is if the plugin isn't physically in the right location or is erroring. Check your oxide/logs.
     
  7. I am having a problem with this plugin. I am set as owner. In console I have done oxide.load godmode, I have entered oxide.grant user Harpo CanUseGodmode, I then get the response that this permission does not exist. When I type /god ingame I get the message "Sorry you can't use !god! right now". Any ideas and Thanks in advance.
     
  8. Wulf

    Wulf Community Admin

    That is not the actual permission, see the Overview please.
     
  9. Sorted and once again my sincere thanks
     
  10. @Wulf I was fooling around with this mod, and I stumbled across a potential fix for the "I can't run" bug. In Init check if there are any gods, and subscribe OnRunPlayerMetabolism if there are:
    Code:
    ...
                LoadSavedData();
                Unsubscribe(nameof(OnRunPlayerMetabolism));
                if(gods.Count > 0)
                    Subscribe(nameof(OnRunPlayerMetabolism));
    ...
    This worked for me at least...
     
  11. Wulf

    Wulf Community Admin

    I was working on some updates for the plugin, so I'll plug that in, thanks. :)
     
  12. is it possible to set a silent auto off for Godmode? So I can have my admins only be in godmode for say 3-5 mins.
     
  13. Wulf

    Wulf Community Admin

    Sure, added to the TODO list.
     
  14. Godmode - Object reference not set to an instance of an object.
    getting this error after update.
     
  15. Wulf

    Wulf Community Admin

    Please provide the full error from your oxide/logs.
     
  16. Code:
    13:27 [Info] Loaded plugin Godmode v3.2.1 by Wulf/lukespragg
    13:27 [Error] Failed to initialize plugin 'Godmode v3.2.1' (NullReferenceException: Object reference not set to an instance of an object)
    13:27 [Stacktrace]   at Oxide.Plugins.Godmode.LoadSavedData () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Godmode.Init () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Godmode.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod 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.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
    13:27 [Info] Unloaded plugin Godmode v3.2.1 by Wulf/lukespragg
     
  17. Hi all,

    I would like to test this plugin on my local server with some customization, and i wanna know if it's possible to modify some values in the .cs file in order to not being invincible, but to lose less life when i'm hurt (for example losing 5hp instead of 20hp with a pistol ammo) ? (excuse me for my english mistakes :/).
     
  18. Wulf

    Wulf Community Admin

    Your data file for the plugin appears to be corrupt. You'd need to unload the plugin, delete it from oxide/data, and then load the plugin again.

    Just set CanBeHurt to true in the oxide/config file then reload the plugin.
     
  19. Thanks a lot. But it seems i'm losing same amount of life than 'vanilla' configuration, except for bleeding. Maybe i'm wrong ?
     
  20. Wulf

    Wulf Community Admin

    Ah, you want just less... that isn't possible with it right now, but I could probably add an option.