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

    I don't see why that would happen, it's a unique check per player.
     
  2. I'm having the same issue running. Also I lose godmode each time I reconnect, and with CanHurtPlayers set to false in the config, I am still able to hurt players
     
  3. Wulf

    Wulf Community Admin

    Wulf updated Godmode with a new update entry:

    3.0.8

     
  4. Wow, sure are a lot of updates! Thanks for all the work you put into this plugin :)

    I noticed in recent updates that there is no notification (for the player) if the admin/player in god mode attempts to damage another player, such as "[God] ________ tried to hurt you!"

    Other than that, I cannot find anything to suggest or to report. <3 Thanks Wulf and Mughisi!
     
  5. Wulf

    Wulf Community Admin

    Do you have InformOnAttack set to false in the config?
     
  6. It's currently set to:
    "InformOnAttack": true,
    [DOUBLEPOST=1461874099][/DOUBLEPOST]Ah, I'm sorry for the mishap, I think it must be because of:
    "CanHurtPlayers": true,
    It was likely because of the bug that this was happening; I'm updating it now as we speak.

    Sorry man & thank you for your time!! It's always appreciated what you do for the Rust community. :)
     
  7. Eat

    Eat

    Where "NoDamage": true, and "CanBeHurt": false, (((((((((((((((((
     
  8. Alrighty, sorry for the spam - I just tested the new update with all the previous settings mentioned in the config: under "options" I have:
    "InformPlayersOnAttack": true,

    It still doesn't notify players upon an attempt of damage/harm to them if you are in godmode with
    "CanBeHurt": false,
    "CanBeLooted": false,
    "CanHurtPlayers": false,
    "CanLootPlayers": true,
    "InfiniteRun": true,
    "InformOnAttack": true,
     
  9. Wulf

    Wulf Community Admin

    Is it blocking the damage though? I'm not sure why it isn't informing them, but I'll test and see.

    I'm not sure what you are asking, but "NoDamage" isn't a valid setting.
     
  10. Error on latest version when player is in Godmode, doesn't affect anything but player cannot sprint.

    Code:
    08:29 [Error] Failed to call hook 'God' on plugin 'Godmode v3.0.8' (ArgumentException: oldValue is the empty string.)
    08:29 [Debug]   at System.String.Replace (System.String oldValue, System.String newValue) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Godmode.DisableGodmode (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Godmode.God (.BasePlayer player, System.String command, System.String[] args) [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 (System.Reflection.MethodInfo 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.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
     
  11. Eat

    Eat

    to being in GodMod could not cause damage
     
  12. Wulf

    Wulf Community Admin

    Put [God] back in the PrefixFormat option, and use the PrefixEnabled setting if you want to disable it or not.
     
  13. Thanks for that.
     
  14. Maybe commenting explanations in the config file might help prevent people from misconfiguring it when you next want to update it?
     
  15. Wulf

    Wulf Community Admin

    It'd prefer my config options to be short and simple, not long and prone to errors by removing even a space. ;)

    Normally I'd document it on the Overview page, just haven't done it for all of the plugins yet.
     
  16. Hello,
    getting this error:

    [Error] Failed to call hook 'God' on plugin 'Godmode v3.0.8' (NullReferenceException: Object reference not set to an instance of an object)
     
  17. Wulf

    Wulf Community Admin

    Please provide the full log portion, not just the first line.
     
  18. Thats the whole error message

    In JSONLint i got this error for Godmode.cs:

    Error: Parse error on line 1:
    using System; using
    -^
    Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'
     
    Last edited by a moderator: Apr 28, 2016
  19. Wulf

    Wulf Community Admin

    There should be more below it, either in your console or logs.
     
  20. Error from log (sry) :
    Code:
    [Debug]   at Oxide.Game.Rust.RustCore.FindPlayer (System.String nameOrIdOrIp) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.Libraries.Rust.FindPlayer (System.String nameOrIdOrIp) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Godmode.God (.BasePlayer player, System.String command, System.String[] args) [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 (System.Reflection.MethodInfo 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.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    Isnt my oxide older or something?
     
    Last edited by a moderator: Apr 28, 2016