[MECH] GodMode v0.3.0 - A simple Permissions-optional godmode [740]

Discussion in 'Inactive/Unsupported Plugins' started by Alex Nolan, Feb 26, 2011.

  1. Offline

    Alex Nolan

    GodMode 0.3.0

    Download 0.3.0 [740] (5/7/11) | Static jar
    Older: 0.2.3 [602-617] (4/2/11), 0.2.0 [531] (3/12/11), 0.1.8 [499] (3/6/11), 0.1.6 [478] (2/28/11), 0.1 [418] (2/26/11)

    Souce Code (once I figure out how to use github and netbeans :D)
    (please give me tips on my coding)

    This is my first bukkit plugin, and certainly not my last :D. I made this because, of the two most recent godmode plugins I could find, the one utilizing Permissions was out of date and the other I couldn't get to work.​

    1. Permissions optional, use it if you want to, don't if you don't.
    2. Access from console.
    3. Light weight and quick.
    4. Compatible with multiple worlds.
    5. More coming soon.... (Please suggest some too)

    #toggle godmode on self
    #toggle godmode on other player
    /god otherPlayer
    /godmode otherPlayer
    #from console god mode
    god otherPlayer
    godmode otherPlayer
    #if player is on fire, put it out automatically. (i'm not sure if this works, the player may never catch on fire due to how the cancel even works. Can anyone test this?)
    /god -noFire
    /godmode -noFire
    #other player
    /god otherPlayer -noFire
    /godmode otherPlayer -noFire
    god otherPlayer -noFire
    godmode otherPlayer -noFire
    Settings (If you don't like permissions)
    #use the Permissions plugin? if false it will use the data below
    usePermissions: false
    #values to use if the world isn't defined later
            - 'noFire'
            - 'godSelf'
            - 'godOther'
            - 'noFire'
                - 'god'
                - 'godSelf'
                - 'noFire'
    #god as soon as they login
    - 'godmode.default.god'
    #can use the /god command
    - 'godmode.command.godSelf'
    #can use the /god otherPlayer command
    - 'godmode.command.godOther'
    #is default -noFire toggle
    - 'godmode.default.noFire'
    #can use -noFire toggle
    - 'godmode.command.noFire'

    • 0.3.0
      • Finally updated for [740] :D
      • Many bugs eliminated
    • 0.2.3
      • Updated for [602-617]
    • 0.2.0
      • Implemented a settings file!
      • Minor bug fixes
    • 0.1.8
      • Updated to [499]
      • Updated for Permissions v2.5.1 (Currently it seems like v2.5.2 only uses the default world's permissions and doesn't change on world change)
      • Reloads permission cache on world change
      • Alerts the user if they are in godmode on login
    • 0.1.6
      • Updated to [478]
      • Changed permission names
      • Added /god otherPlayer functionality
      • Added /god otherPlayer access from the terminal
      • More messages back to user
    • 0.1
      • Initial Build
    Nextrix likes this.
  2. Offline

    Alex Nolan

  3. Offline


    Hey, I want to use this plug-in. However when I activate it I still take water damage and can get set on fire, I thought this plug-in prevented these mechanics from working, does it?
  4. Offline

    Alex Nolan

    You shouldn't be taking any damage with godmode enabled. Would you mind posting your config? Also does it say godmode enabled when you first login?
  5. Offline


    There are some plugins out there that might get around your godmode by using player.setHealth() which I don't believe causes any sort of damage event. You can test this with Gastronomic if you need a plugin that damages the player in this way.
  6. Offline


    When I refered to water damage earlier I meant that my air is depleted underwater, however when that does happen I take no actual damage but am I right in thinking that this plug-in prevents you from losing air underwater or not? As far as being set on fire is concerned that does still happen but again I take no actual damage from it and again thought that this is what 'noFire' mode did or does it just mean you don't take fire damage?

    Anyways, I'm am running essentials which has a built in god mode, this might be conflicting with your plug-in. Also I am using essentials built in permissions function, anyways here is my config:

    #use the Permissions plugin? if false it will use the data below
    usePermissions: false
    #values to use if the world isn't defined later
            - 'god'
            - 'noFire'
            - 'godSelf'
            - 'noFire'
    With this config it does say both 'god' mode and 'noFire' mode are enabled when I log in. If you can help me with this or if I have mistaken your plug-in entirely please help/let me know, thanks.
  7. Offline


    -Can you help me with this?
  8. Offline


    I get an insufficient permisssions error, even though I am op, and have permission to - '*'

    I'm using version 0.3.0, running build 803
  9. Me too, maybe it's the update messing around with everything

    oh nevermind I worked it out, locutus have you gone into the gonfig file and set it up how it says?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 10, 2016
  10. Offline


    Hey how do i set permission for just myself i cant use it :|
  11. First off, this plugin is great! Is it possible that you could make the welcome message optional through the config file? My server has its own motd and the welcome message from this plugin clashes with it (style and word wise). If you could, then this plugin would be absolutely perfect. To be absolutely clear, I would appreciate it if this plugin doesn't display anything when a user logs in.
  12. Getting this error on #860 when i teleport to another world (with different settings). It carries over the invincibility to the other world.
    Show Spoiler
    2011-06-16 01:33:37 [SEVERE] Could not pass event PLAYER_TELEPORT to GodMode
    at com.msm595.GodMode.GMPermissionsHandler.is(GMPermissionsHandler.java:85)
    at com.msm595.GodMode.GMPermissionsHandler.defaultGod(GMPermissionsHandler.java:95)
    at com.msm595.GodMode.GMPlayerHandler.join(GMPlayerHandler.java:43)
    at com.msm595.GodMode.GMPlayerHandler.teleport(GMPlayerHandler.java:34)
    at com.msm595.GodMode.GMPlayerListener.onPlayerTeleport(GMPlayerListener.java:29)
    at org.bukkit.plugin.java.JavaPluginLoader$8.execute(JavaPluginLoader.java:292)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:365)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:334)
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
  13. Offline


    Can you make an option in the config to have the overview on or off?
  14. Offline


    It'd be nice if the /god commands can be made op-only when not using the Permissions plugin.
  15. A /heal would be nice.
  16. Offline


    There's a coding error in the config file, you have the Comment tag (the # sign) With commas around it, this is causing it to produce ill effects. Removing the commas and moving the tag to the left side fixes this, but i would suggest fixing this very small issue. With it fixed, the plug-in works great. I like this mainly due to it EXTREMELY lightweight-ness of the plugin.
  17. Offline


    for some reason when i tried this plugin i could not place signs?
  18. Offline


    I'm OP, and Highest permissions rank with * permissions, and owner of server. I type "/god" ingame and it says i dont have permission. I put the node inside of permissions for admins, and later on, i went in through chat commands and added the node to my user. Still, cant change in game.
  19. Offline


    im op of the server and it says i dont have permission to use god mode
  20. Offline


    is this only for OPs? if not, then make it please. and if it isn't updated to 1.0.0, then update it!

Share This Page