Sure you know what it is but for solve my issue i do what i explain then it's solved i was think that can help some.
Godmode
Moved
Total Downloads: 30,057 - First Release: Oct 23, 2014 - Last Update: Oct 27, 2017
- 4.76667/5, 60 likes
-
Wulf Community Admin
-
yes thank i got it but it's was not in error at load file like a special charset , } and i don't think the site can correct a name function right?
In future i attempt to do it yes.
GN -
So I have users that have both godmode.noattacking and godmode.invulnerable but neither flag seems to be working...
I can see that they have the perm and there are no errors when reloading 4.1.0. Only changes I made were blaking out the name prefix in the config and setting both options to false. -
Wulf Community Admin
-
-
Wulf Community Admin
-
Thanks Wulf -
Wulf Community Admin
-
What I have works right now but when the god on / off command is run from the console I get:Code:Failed to call hook 'GodCommand' on plugin 'Godmode v4.1.0' (NullReferenceException: Object reference not set to an instance of an object)
This is what I modified:
Code:void GodCommand(IPlayer player, string command, string[] args) { if ((args.Length > 0 && !player.HasPermission(permAdmin)) || !player.HasPermission(permToggle)) { player.Reply(Lang("NotAllowed", player.Id, command)); return; } var target = args.Length > 0 ? players.FindPlayer(string.Join(" ", args.ToArray())) : player; if (args.Length == 1) { if (target == null || !target.IsConnected) { player.Reply(Lang("PlayerNotFound", player.Id, args[0].Sanitize())); return; } if (player.Id == "server_console" && player == target) { player.Reply("The server console cannot use godmode"); return; } } else if (args.Length == 2) { if (args[0].ToLower() == "on") { player.Reply("ON TEST"); EnableGodmode(player); } else if (args[0].ToLower() == "off") { player.Reply("OFF TEST"); DisableGodmode(player); } } else { ToggleGodmode(target, player); } }
-
A big bug. It is impossible to run in Godmode. Quickly update thanks
-
Wulf Community Admin
-
It tells me I dont have permission to use godmode or activate it even though all the other plugins work for me as admin
-
can't sprint with god mode on anymore, after the newest patch
-
Wulf Community Admin
-
but didn't have that before last patch either.
but works now after giving my self that permission -
Wulf Community Admin
-
I am not allowed to use the godmode command
?? -
so godmode works but everyone can still kill me why?
-
Wulf Community Admin