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

    Remove [God] in the option. Just as simple, less options.
     
  2. Danke
    Cheers. Uh, might be on our end but enabling godmode doesn't actually give you godmode either. Tried completely removing and re-adding and it still doesn't.
     
  3. Wulf

    Wulf Community Admin

    There's some bugs right now, I'll be putting out some fixes tonight once I can do some testing.
     
  4. Yeah, no worries we were just curious as to whether it was Rustoria causing the issues or the plugin.
     
  5. When I have done that, it will throw the error "[Error] Failed to call hook 'God' on plugin 'Godmode v3.0.6' (ArgumentException: oldValue is the empty string.)" when disabling god mode I assume because of the way it was coded to look for the prefix to remove it and not knowing what to do if nothing is there? Seems that it ends up with the rest of the code in the same parenthesis not working. Not sure if it actually breaks anything significant though.

    Temporarily I just put in an extra option to disable the prefix in the config, as that is about as far as my knowledge can take me.
     
    Last edited by a moderator: Apr 25, 2016
  6. Wulf

    Wulf Community Admin

    Put a space for now with empty quotes, don't remove the entire line or quotes. The added option isn't needed.
     
  7. I found a surprisingly easy fix in the code:

    Line 194:
    Code:
    if (canBeHurt && gods[player.userID] != null)
    to
    Code:
    if (!canBeHurt && gods[player.userID] != null)
    It fixes it for me, now I don't know if this is the proper fix or not, but, until one is available.. This works.
     
  8. Wulf

    Wulf Community Admin

    Looks like that's it! I'll apply that and test the other reports.
     
  9. Wulf

    Wulf Community Admin

    Wulf updated Godmode with a new update entry:

    3.0.7

     
  10. 3.0.7 works perfect. Thanks for the update.
     
  11. @Wulf Cheers dude, great stuff.
     
  12. works great
    thanks for all the hard work
     
  13. I die even with godmode enabled, Animals, Traps, Fall Damage, Guns and turrets....
     
  14. Try updating to the latest, everything seems fixed with 3.0.7
     
  15. I want know how to InfiniteRun??
    Does it like owner?
    How to use this??

    TKS for answer
     
  16. Wulf

    Wulf Community Admin

    It's enabled by default, it just keeps you from getting tired.
     
  17. @Wulf

    Joining the server with godmode enabled and prefix disabled the prefix is not there. However enabling godmode itself will give you the prefix.

    Line 248:
    Code:
                    if (!string.IsNullOrEmpty(prefixFormat) && !player.displayName.Contains(prefixFormat))
                        displayName.SetValue(player, $"{prefixFormat} {player.displayName}");
    Should be?:
    Code:
                if (prefixEnabled && !player.displayName.Contains(prefixFormat))
                    if (!string.IsNullOrEmpty(prefixFormat) && !player.displayName.Contains(prefixFormat))
                        displayName.SetValue(player, $"{prefixFormat} {player.displayName}");
                else
                        displayName.SetValue(player, player.displayName.Replace(prefixFormat, "").Trim());
    I love your use of the .Trim method to check for the prefix and remove it. A lot of plugins will leave a prefix there under certain circumstances during configuration and they are almost impossible to remove.
     
  18. Wulf

    Wulf Community Admin

    Good catch, missed that! I'll put it in the next version.
     
  19. I knew you would have just missed it ;)

    Keep doing what you're doing Wulf :)
     
  20. for some reason when we have more than one person in godmode the run mode stops the other person in godmode from running . when one person enables godmode the other person cant run any idea why .please help