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

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

     
  1. Offline

    Silence

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.  
  3. Offline

    Kainzo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    command based so we can activate for just admins?
  4. Offline

    Silence

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No, not yet.
    I wrote it for myself to restore the old Minecraft "pre-health" behavior.
  5. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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?
  6. Offline

    Silence

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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 :)
  7. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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...
  8. Offline

    Starrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Silence, you're plugins are elite!

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

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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).
  10. Offline

    NickBrahz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ok so what do i type/god or what you did not really say how to use it or anything
  11. Offline

    Starrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Damn, how come everyone is invincible?
  12. Offline

    ekeup

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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)
  13. Offline

    Silence

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hmm yes, they are some glitches - I'll adress all of them after work :)
  14. Offline

    tehseano

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  15. Offline

    Silence

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @tehseano: Thats odd, but I think I know how to fix this. Too bad I'm currently @work :(
  16. Offline

    UnderHero5

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm really looking forward to this getting updated! The demand for it on my server is overwhelming.
  17. Offline

    Eddiekins

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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? ;)
  18. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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
  19. Offline

    UnderHero5

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  20. Offline

    phaed

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  21. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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? :)
  22. Offline

    Silence

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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
  23. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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 :)
  24. Offline

    EvilSeph Bukkit Team Member Administrator

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  25. Offline

    Joshua Burt

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This is awesome; thank you!
  26. Offline

    Max Black

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hm, isn't compatible with Zenexer's Essentials v137. Just tried it (Bukkit build
  27. Offline

    hash

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.)
  28. Offline

    Silence

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Hash: Thanks, fixed with 1.2.
  29. Offline

    Andre_9796

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    working for 432?
  30. Offline

    JoelNYC

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This plugin is now broken as of CB 450. Any chance of an update?
  31. Offline

    MonsieurApple

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

Share This Page