[INACTIVE][MECH] GodMode v1.3.2 - A mortality toggle plugin [670]

Discussion in 'Inactive/Unsupported Plugins' started by 8e8, Jan 18, 2011.

  1. Offline

    8e8

    GodMode - A mortality toggle plugin
    v1.3.1 [670]
    Updated: 4/11/2011 6:03am EST

    Download [JAR | config.yml] - Donate
    Previous: v1.3.1 [490], v1.3 [440], v1.2 [232]

    GodMode is a plugin which toggles mortality. It was my first java project, and is now going to be discontinued. Immunity (WIP), GodMode's predecessor, will have the features of GodMode and many more.
    Configuration (open)

    plugin/GodMode/config.yml
    Code:
    # Log commands to server.log?
    logCommands: false
    
    # Remove GodMode when player quits?
    removeOnExit: false
    
    # Enable GodMode globally?
    globalGods: false
    Commands (open)

    Aliases can be set by opening GodMode.jar as if it were a zip file and modifying the plugin.yml. Examples below.
    Code:
      godmode/self:
        description: Toggle GodMode on self
        aliases:
          - godmode/s
          - god/s
          - godmode
          - god
        usage: |
               /<command>
      godmode/player:
        description: Toggle GodMode on a player
        aliases:
          - god/player
          - godmode/p
          - god/p
        usage: |
               /<command> <playerName>
               Example: /<command> 8e8 - Toggle GodMode on 8e8
      godmode/all:
        description: Toggle GodMode on all
        aliases:
          - god/all
          - godmode/a
          - god/a
        usage: |
               /<command>
      godmode/reconfig:
        description: Reconfigure GodMode
        aliases:
          - god/reconfig
          - godmode/r
          - god/r
        usage: |
               /<command>
    
    Permissions (open)

    Permissions plugin
    plugins/Permissions/config.yml
    Code:
    permissions:
        - 'godmode.toggle.self'
        - 'godmode.toggle.player'
        - 'godmode.toggle.all'
        - 'godmode.reconfig'
    # For global permissions
        - 'godmode.*'
    
    Changelog (open)

    v1.3.2
    v1.3.1
    v1.3
    v1.2
    v1.1.4
    v1.1.3
    v1.1.2
    v1.1.1
    v1.1

    [​IMG]
     
  2. Offline

    8e8

    useLogger: true will send those commands to the console so you can view them from there, or your server.log.

    MultiPort: http://forums.bukkit.org/threads/multiport-the-monoport-remake.3478/
    Working on it as I type this.
     
  3. Offline

    King of Koopas

    Any chance of updating this to work with Craftbukkit build 305? As of now it freezes my game
     
  4. Offline

    8e8

    Aye. I'll have to get around to it at some time. Working on a new plugin. Put updating on hold for now.
     
  5. Offline

    Ante0

    It freezes client on #306. But, it does work. Only downside is you have to forceclose and relogin
     
  6. Offline

    8e8

    @Ante0 @King of Koopas

    I just tested it out on #306 and it's still working fine. There doesn't appear to be any changes to bukkit's code to cause any error. Your problem seems to be with a plugin.

    I'm going to guess you're both using Essentials.
     
  7. Offline

    Clontarf[X]

    Can definitely confirm the client lockup is caused by clashing with Essentials. But of course the Essentials author won't address it :(
     
  8. Why won't we? You only just told us :p
     
  9. Offline

    Clontarf[X]

    I thought someone else would have said something by now :p My apologies!
     
  10. Offline

    CoZmicShReddeR

    Are you guys using WorldGuard? I just noticed they both use /god and I removed godmode plugin and I stopped crashing...
     
  11. I have all the permissions but the plugin say that i have no acsess to that command.
    Can you help me?
     
  12. Offline

    King of Koopas

    I was playing around with it so yes it would seem that way. I'm going to take it there's no way around it?
     
  13. Offline

    8e8

    Take it up with the author of the plugin, as it's their duty to make sure their plugin isn't colliding with others.

    @Raphnika
    Make sure you are using the latest version of the plugin with the necessary Craftbukkit build. It should still be working with later versions. Also, make sure Essentials isn't causing the problem.
     
  14. Okay /god works fine now but if a player use it his game chrashes.
     
  15. Offline

    8e8

    It's because you're using Essentials with /god
    Remove the plugin or disable that command.
     
  16. ahh okay thank you
     
  17. Offline

    AnjoCaido

    Can you make it work with essentials? It is very useful... and I don't want to create another plugin to do the same thing. With nothing to add.
     
  18. Offline

    King of Koopas

    This is officially broken as of the 1.3 update. I don't want to get everything turned around for essentials, so can you try and update?
     
  19. Offline

    Madmonkey

    I have this error

     
  20. Offline

    jmcneely

    It stopped working for me when Minecraft beta 1.3 was released.
     
  21. Offline

    parker_digg

    use worldguard
     
  22. Offline

    8e8

    I have been too busy to even look at java for awhile now, but once enough time has freed up for me to work on this I'll update it for the new constructor. If anyone else would like to do it you're free to. It isn't at all difficult.

    I have some changes planned for the next release, but I won't be able to get around to it for awhile.
     
  23. Offline

    Black_Jack

    2011-02-25 12:56:39 [SEVERE] Could not load plugins/GodMode.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:85)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:55)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:187)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:174)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:120)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:227)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:77)
    ... 8 more
    Caused by: java.lang.NoSuchFieldError: ENTITY_DAMAGEDBY_BLOCK
    at com.eighty8.bukkit.godmode.GodMode.registerEvents(GodMode.java:62)
    at com.eighty8.bukkit.godmode.GodMode.<init>(GodMode.java:42)
    ... 13 more
     
  24. Offline

    EpicKris

    Severe problem with GodMode in server log.

    server.log
    Code:
    2011-02-25 13:49:43 [WARNING] Using the stupidly long constructor com.eighty8.bukkit.godmode.GodMode(PluginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recommended. Go nag the plugin author of GodMode to remove it! (Nothing is broken, we just like to keep code clean.)
    2011-02-25 13:49:43 [INFO] Hint! It's probably someone called '8e8'
    2011-02-25 13:49:43 [WARNING] Plugin 'GodMode' (ver 1.2) is registering events before it is enabled. It may be misbehaving and the author needs to fix this.
    2011-02-25 13:49:43 [SEVERE] Could not load plugins/GodMode.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:85)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:58)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:187)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:174)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:120)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:227)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:77)
        ... 8 more
    Caused by: java.lang.NoSuchFieldError: ENTITY_DAMAGEDBY_BLOCK
        at com.eighty8.bukkit.godmode.GodMode.registerEvents(GodMode.java:62)
        at com.eighty8.bukkit.godmode.GodMode.<init>(GodMode.java:42)
        ... 13 more
     
  25. Offline

    jmcneely

    Ok im using worldguard now, works good but the /god command that I wanted is given to all admins which I don't like. This god plugin was cooler cause I had to use the server console to enter the command making admins not able to use it. Not only that but with this god plugin I only had to enter the command once every time I start the server, worldguard I have to enter it every time I enter the server.

    All in all, worldguard has more commands but the god command I am looking for is less superior then what this plugin has to offer.
     
  26. Offline

    8e8

    I'm working on updating this since I found some time poke around in bukkit. I just noticed they changed entitydamage events and broke the plugin (even though they already broke it with the TSLPC).

    Planned features:
    • Enabling/disabling of damage sources for more control over what can and cannot damage you (Next release)
    • Enabling/disabling the clearing of immunities from quitting players
    • Enabling/disabling the persistent immunities [saving across restarts](TBD)
    • Global god mode (Next release)
    • Timed god mode (Next release)
    • Consumables which grant timed(or full) immunity to certain damage sources (TBD)
     
  27. Offline

    Incendia

    Looking forward to an update compatible with 440 :3
     
  28. 07:37:45 [ALLVARLIG] Could not load plugins\GodMode.jar.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:80)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:129)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoSuchMethodException: com.eighty8.bukkit.godmode.GodMode.<
    init>()
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.getConstructor(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:75)
    ... 8 more
    --- merged: Mar 1, 2011 6:39 AM ---
    help please
     
  29. Offline

    8e8

    GodMode has been updated for #440

    I regret to inform those who enjoy this plugin that it will be discontinued. The good news is that all features will be carried into a new plugin of the name Immunity. The features in my last post will be forked over to the new plugin, along with many more.
     
  30. Offline

    oliverw92

    Will Immunity stop mob kickback like the worldguard /god does?
     
  31. Offline

    8e8

    Immunity will work the same way this, or any other plugin works in disabling damage. It cancels the damage event to prevent damage from being sent to the client, and consequently the kickback.
     

Share This Page