Invulnerable needs to be Invincible.
Usage:
/god
ez as fuck to code and add so here it is
Just put this in wserver>realm>commands>admincommands.cs at the bottomCode:class GodCommand : Command { public GodCommand() : base("god", permLevel: 1) { } protected override bool Process(Player player, RealmTime time, string args) { if (player.HasConditionEffect(ConditionEffects.Invulnerable)) { player.ApplyConditionEffect(new ConditionEffect() { Effect = ConditionEffectIndex.Invulnerable, DurationMS = 0, }); player.SendInfo("Godmode Deactivated"); return false; } else { player.ApplyConditionEffect(new ConditionEffect() { Effect = ConditionEffectIndex.Invulnerable, DurationMS = -1 }); player.SendInfo("Godmode Activated"); } return true; } }
Last edited by Kierze; 06-01-2015 at 03:06 AM.
Invulnerable needs to be Invincible.
i'm actually just a horny boy
./addeff 23 is better :3
News Force Head Editor from 09/14/2018 - 03/02/2020
Publicist from 11/23/2017 - 06/07/2019
Global Moderator since 09/24/2017
Minion+ from 04/16/2017 - 09/24/2017
Market Place Minion from 04/16/2017 - 09/24/2017
Minecraft Minion from 02/23/2017 - 09/24/2017
Realm of the Mad God Minion from 11/06/2016 - 09/24/2017
Middleman from 09/14/2016 - 09/24/2017
News Force Editor from 08/23/2016 - 09/14/2018
News Force (Section of the Week) from 03/21/2016 - 07/17/2017
News Force (User News) from 10/18/2015 - 09/14/2018
Donator since 03/16/2015
Realm of the Mad God Editor from 05/20/2014 - 07/08/2014
Member since 12/23/2012
Rep Power: 82