[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

    Vlyn91

    Problem: Everyone on the server can use /god -.-

    They have no permission or anything like that for it! But they can use it. Gotta delete it :(
     
  3. Offline

    8e8

    There's something wrong then, but not with the plugin. I just tested myself with and without Permissions, it works as intended. If the player does not have permission (meaning they're not using the console, not an op, and they/their group does not have the permission node) then it will return false, always. It doesn't automatically allow commands if Permissions isn't installed.

    Make sure you're using the right Permissions plugin (Configuration for link), and the players are not OPs.
     
  4. Offline

    Vlyn91

    I'm using about 20 plugins with lots of permissions. And I'm pretty sure, that it doesn't work for your plugin.

    Sorry, but I use the newest version, it works with every other plugin, so I don't think the error is at my side. I'm using another god mode plugin now and it works like a charm.
     
  5. Offline

    8e8

    After taking another look at it I've found what the problem was. Thanks for reporting your error. This whole time I assumed the new Permissions plugin loaded the same way as the old one, and I'm not quite sure why it doesn't. Anyway, I'm updating this right... now.
     
  6. Offline

    MacG32

    Great plugin 8e8. [​IMG] I was wondering if there was any way to add a setting in the configuration for GodMode to start working automatically, just like issuing the command /god/all in game, every time the server is restarted?
     
  7. Offline

    8e8

    In the config file is a setting to turn it on globally. If you meant per player, that is a feature which will be present in Immunity (the new GodMode) once it's finished.
     
  8. Offline

    MacG32

    When I restart my server, GodMode isn't actively working for any player until I type /god/all in the chat or god/all in the console. It would be great if it worked for everyone at all times, even after a server restart, without having to issue any commands.
     
  9. Offline

    h0us3cat

    Can i make it so godmode is auto on in "world1" and auto off in "world2" ?
     
  10. Offline

    8e8

    No. It does not support multi-world in that way yet. It will not actually, but Immunity will.

    @MacG32
    As I said, if you enable it in the plugin.yml it will be on at all times, even after a restart. Using /god/all would toggle it, and a restart will revert to the setting in the plugin.yml. I'm sorry if this is not what you want, but the only updates I will be making to GodMode until Immunity is released are bug fixes.
     
  11. Offline

    MacG32

    Sounds good. Hope to see Immunity coming online soon. [​IMG]
     
  12. Offline

    MacG32

    Confirmed working with build #556. [​IMG]
     
  13. Offline

    n4Ghost

    on Build 617:
    Code:
    [SEVERE] ENTITY_DAMAGED loading GodMode v1.3.1 (Is it up to date?)
    java.lang.NoSuchFieldError: ENTITY_DAMAGED
            at com.eighty8.bukkit.godmode.GodMode.registerEvents(GodMode.java:40)
            at com.eighty8.bukkit.godmode.GodMode.onEnable(GodMode.java:34)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:514)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  14. Offline

    Kainzo

    Wonderful plugin :)
     
  15. Offline

    8e8

    My sarcasm senses are tingling!

    To those wondering: This plugin is discontinued. I will not be updating it to work with the latest versions. I'm sure someone has already fulfilled the gap this has left.

    I will, however, be working on a new and improved version of this plugin, as mentioned before, which will be outside of the original scope of this plugin. I haven't an eta, but I do plan on getting it done.
     
  16. Offline

    swedish2011

    CB617 ? pls
     
  17. Offline

    Kainzo

    Heroes needs work on /invulv (temp god for X seconds) get to work!
     
  18. update your plugin to the #600+ Bukkit version... please !!
     
  19. Offline

    swedish2011

    #CB617 pls :)
     
  20. Offline

    8e8

    Okay damn it! I thought you people would have found a new plugin by now. I'll update this one ONLY to work with the current RB, but after that no more updates for GodMode because it's being discontinued.
     
  21. Offline

    Gratlofatic

    Why thank you! Love you lots (complete homo!)
     
  22. Offline

    8e8

    Updated to work with the current RB. It also works with builds on/after the build which broke it. By far the easiest update. All I did was scroll down to the error, press backspace, and then compiled the jar file. I feel accomplished.
     
  23. Offline

    MineralMC

    Works fine with CB670, minus persistent godmode;

    2011-04-12 05:00:24 [SEVERE] Nag author: '8e8' of 'GodMode' about the following: onPlayerQuit has been replaced with a new signature, (PlayerQuitEvent)
     
  24. Offline

    8e8

    GodMode does not support persistence. It was a feature planned for Immunity. If you do not have removeOnExit set to true, then players with god enabled will maintain that so long as the server doesn't restart. Otherwise it clears their god status when they quit.

    The nagging is annoying I can assume. I forgot to look for deprecation during the update. It will work, at least until the next update, or whenever they push the event changes.

    I'm not at home right now, but when I am I'll remove the nag message.
     
  25. Offline

    Unscrewed

    My server log said I should nag here... hehe.

    I do not use Persistence or what so ever.
     
  26. Offline

    sauevaem

    Does it still work? Does this plugin checks from permissions while traveling between worlds (MultiVerse)? Currently using worldguard god my vips can godify themself in freebuild world and then go to rpg with godmode still on.
     
  27. Offline

    Plague

    CB 670 - inactive
     
  28. Offline

    Selryam

    It surprisingly still works; build 928 - not sure for multiple worlds.
     
  29. Offline

    insanj

    Please, if you're discontinuing permanently, leave the source in the JAR, so someone can pick it up (like me)!
     

Share This Page