[MECH] SimpleGod v1.3 - godmode for everyone [415-935]

Discussion in 'Inactive/Unsupported Plugins' started by Silence, Jan 17, 2011.

  1. Offline

    Silence

    SimpleGod - godmode for everyone
    Version: v1.3

    A very simple 'godmode' plugin. Makes Minecraft feel like before the health update.

    Features:
    • Super simple: no configuration, no commands!
    Download SimpleGod
    Source Code

    Changelog:
    Version 1.3
    • Removed TSLPC
    • Support for build #415
    Version 1.2
    • Fixed wrong namespaces.
    Version 1.1
    • Support for Bukkit #82 (also confirmed to work with #230)
    Installation / configuration:
    Copy SimpleGod.jar in your plugins folder and start your server. Thats all!
     
  2. Offline

    Kainzo

    command based so we can activate for just admins?
     
  3. Offline

    Silence

    No, not yet.
    I wrote it for myself to restore the old Minecraft "pre-health" behavior.
     
  4. Offline

    Plague

    How the hell di you do it???? Since you do not give out source code, I have to ask here...

    I am trying for two days now asking around this forum and nothing.
    I was catching ENTITY_DAMAGE* events but they do not work yet.

    I think you use something else, because if you would chatch those, there would not be the "hurt" sound and animation...

    Could you tell me the secret?
     
  5. Offline

    Silence

    Check out the new CraftBukkit / Bukkit builds, the health bug was fixed.

    I'm still planing to release my source on github, but wont be able to do it today, as its pretty late here.
    If you can't wait until tomorrow you can decompile my .jar, just remember, its GPL :)
     
  6. Offline

    Plague

    Decompiling is just too messy :) Ill wait till tomorrow

    Hey I just went though all the builds, but okay, the joke is on me then :D
    --- merged: Jan 17, 2011 11:15 PM ---
    Wow, now it does not deal any damage to players whatsoever even without your mod, just clean craftbukkit...
     
  7. Offline

    Starrk

    Silence, you're plugins are elite!

    I love the simplicity! Makes my life way more simple! Thank you so much!
     
  8. Offline

    Plague

    Hate to be a spammer, but I used the plugin and it worked. Removed it from plugins/ directory and I was still a God.

    Edit: Okay just for others to know. You have to be at full health for the plugin to make you god. And if you disable the plugin, you have to respawn to stop being a god (I use /kill).
     
  9. Offline

    NickBrahz

    Ok so what do i type/god or what you did not really say how to use it or anything
     
  10. Offline

    Starrk

    Damn, how come everyone is invincible?
     
  11. Offline

    ekeup

    get this error occasionally:

    Jan 18, 2011 3:18:13 AM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event ENTITY_DAMAGEDBY_ENTITY to SimpleGod
    java.lang.NullPointerException
    at com.bukkit.silence.simplegod.SGEntityListner.onEntityDamageByEntity(SGEntityListner.java:37)
    at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.java:221)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:199)
    at net.minecraft.server.Explosion.a(Explosion.java:143)
    at net.minecraft.server.World.a(SourceFile:1302)
    at net.minecraft.server.WorldServer.a(WorldServer.java:99)
    at net.minecraft.server.World.a(SourceFile:1296)
    at net.minecraft.server.EntityCreeper.a(EntityCreeper.java:79)
    at net.minecraft.server.EntityCreature.d(EntityCreature.java:38)
    at net.minecraft.server.EntityLiving.o(EntityLiving.java:566)
    at net.minecraft.server.EntityMobs.o(EntityMobs.java:36)
    at net.minecraft.server.EntityLiving.b_(EntityLiving.java:212)
    at net.minecraft.server.EntityMobs.b_(EntityMobs.java:40)
    at net.minecraft.server.EntityCreeper.b_(EntityCreeper.java:51)
    at net.minecraft.server.World.a(SourceFile:1116)
    at net.minecraft.server.WorldServer.a(WorldServer.java:41)
    at net.minecraft.server.World.f(SourceFile:1092)
    at net.minecraft.server.World.c(SourceFile:1071)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:260)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
     
  12. Offline

    Silence

    Hmm yes, they are some glitches - I'll adress all of them after work :)
     
  13. Offline

    tehseano

    I've added it and am on build 75, yet I don't get god mode. I'm actually prevented from health regen now when I do take damage.
     
  14. Offline

    Silence

    @tehseano: Thats odd, but I think I know how to fix this. Too bad I'm currently @work :(
     
  15. Offline

    UnderHero5

    I'm really looking forward to this getting updated! The demand for it on my server is overwhelming.
     
  16. Offline

    Eddiekins

    Congratulations, Mr. Silence. You've saved my life... No, literally...
    I too would like the ability to have this restricted to certain groups or users.
    P.S. if I promise to buy you a coffee, will you create a noclip plugin? ;)
     
  17. Offline

    Plague

    Well it does work on new craftbukkit (82), you just have to have full health, then get burned by lava and then it gets activated. Falling damage does not activate the god mode!

    Really looking forward to the source code, because even after some changes to damage events today they still do not work properly.

    Edit: the way to activate god
     
  18. Offline

    UnderHero5

    Hmm. I stuck it on our server, and it seems to work. You're right, you do have to die first, but I was able to activate it through fall damage.
     
  19. Offline

    phaed

    Well, instead of all that waiting you're doing you *could* just decompile it. Yes I know it has been mentioned and I know it is way over your head to even think about the subject. But I mean if you you did want to get your hands dirty with all this messy decompiling stuff, you could just download jdgui, navigate your mouse to File -> Open, and open up and view the source code of any jar file you want.
     
  20. Offline

    Plague

    Yeah but why read decompiled code when I can read the full one? You think I just sit in front of the forum and wait for Silence to release the code or what? :)
     
  21. Offline

    Silence

    I've updated the plugin, should work now.
    Will post the sources on github and update my page.

    Edit: I've just released the sourcecode
     
  22. Offline

    Plague

    Heh server me right. I was actually thinking about setting health to some high value to achieve invulnerability, but the docs said it takes 0..20 (20 being max health) so I let it slide :)
     
  23. Offline

    EvilSeph Retired Staff

  24. Offline

    Joshua Burt

    This is awesome; thank you!
     
  25. Offline

    Max Black

    Hm, isn't compatible with Zenexer's Essentials v137. Just tried it (Bukkit build
     
  26. Offline

    hash

    Not to nitpick, but your package naming scheme is... wrong. The standard for java designates that the domain of the developer goes first, and then specificity increases from there on in. com.bukkit.silence.simplegod has got the middle inverted from what it should be -- you're writing a plugin for bukkit, not a core component of it to be released with bukkit. It should be a quick find-and-replace fix to something more like com.silence.bukkit.simplegod (though preferably something different on the front too, unless you happen to own silence.com; there's no official recommendation from Sun on what to do if you're a developer without a domain name, unfortunately).

    (Er... from Oracle, now, I guess, not Sun. Anyway.)
     
  27. Offline

    Silence

    @Hash: Thanks, fixed with 1.2.
     
  28. Offline

    Andre_9796

    working for 432?
     
  29. Offline

    JoelNYC

    This plugin is now broken as of CB 450. Any chance of an update?
     
  30. Offline

    MonsieurApple

Share This Page