Inactive [GEN] Toggle Game Mode v0.3 - does what the name says [1317]

Discussion in 'Inactive/Unsupported Plugins' started by K900, Sep 17, 2011.

  1. Offline

    K900

    Oh. Yeah, that's an idea. Maybe in a separate plugin though, don't want to keep a database and stuff.
     
  2. Offline

    bjoen

    I would download it!

    Now i have a problem, the gamemodes does not change when people walk in to the worlds...
    This is my config

    spout:
    enabled: true
    key: Z
    worlds:
    NewFlat: c
    Survival: s
    Skyland: s
    Nether: s
    Flat: s
     
  3. Offline

    K900

    Use the freaking indents.
    Code:
    spout:
        enabled: true
        key: Z
    worlds:
        NewFlat: c
        Survival: s
        Skyland: s
        Nether: s
        Flat: s
     
  4. Offline

    Dec64

    Using groupManger and its only working for OP's. GM not supported?

    Never mind, didn't notice the permision nodes had changed.

    Loving the spout support btw.
     
  5. Offline

    tombik

    Hi, i'm running on MC 1.0.0 craftbukkit and i'm getting this err to console (plugin works):
    Code:
    2011-11-29 17:53:19 [SEVERE] Could not pass event PLAYER_PORTAL to TGM
    java.lang.NullPointerException
        at me.k900.plugins.tgm.Teleport.onPlayerTeleport(Teleport.java:16)
        at me.k900.plugins.tgm.Teleport.onPlayerPortal(Teleport.java:11)
        at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:323)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:340)
        at net.minecraft.server.EntityPlayer.e(EntityPlayer.java:332)
        at net.minecraft.server.BlockEnderPortal.a(SourceFile:55)
        at net.minecraft.server.Entity.move(Entity.java:609)
        at net.minecraft.server.EntityLiving.a(EntityLiving.java:748)
        at net.minecraft.server.EntityHuman.a(EntityHuman.java:1094)
        at net.minecraft.server.EntityLiving.d(EntityLiving.java:910)
        at net.minecraft.server.EntityHuman.d(EntityHuman.java:308)
        at net.minecraft.server.EntityLiving.w_(EntityLiving.java:294)
        at net.minecraft.server.EntityHuman.w_(EntityHuman.java:156)
        at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:221)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:306)
        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:92)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
     
  6. Offline

    K900

    It's a CraftBukkit bug because getFrom/getTo should not return null, at least it's not documented anywhere...
     
  7. Offline

    K900

    Just uploaded 0.3.4 to the OP. Test it and report how it works. May break stuff out there.
     
  8. Offline

    Cory_

    We're currently using Essentials and they current have /gm <player> so this mod isn't really needed unless someone is not using Essentials.

    Reason why I'm posting, I thought about asking Essentials too add a new feature to have "Limited Gamemode" and still might and here's why.

    Essentials is able to "allow" the "give" command and able to disable certain items from being spawned from users and could be used as a perk for building after donating for instance, but disabling items that are valuable is a must...the idea picture I have in my mind is when you do /gm <player> or /gamemode <player> 1 - You're given full access, whereas /lgm <player> would do the same thing when you push "I" and shows a list of items available to you and the items will not be spawnable of course, thus not destroying the market for "ChestShop" and such...

    If you could add something like this would be a nice little feature whereas I know Essentials has a lot of options and possibly not add it for awhile, but if they read this and to do so anyway more power to them. :)

    Regards,
    Cory
     
  9. Offline

    K900

    Sorry, but I can't do this the right way. I can, for example, prevent placing some blocks, but not remove them from the inventory which is the only correct user-friendly way of doing that. Maybe with Spout in the future.
     
  10. Offline

    Guy_de_Siguro

    How about changing the gammode on a region change in worldedit? would be reeeaaalllyyy COOL :D
     
  11. Offline

    K900

    Hm. Maybe yes, if I find how to load WorldGuard dynamically.
     
  12. Offline

    Guy_de_Siguro

    I had the same problem when I tried the same in a test model but in general it looked like the API is almost the same as the one for Bukkit. And a few more reasons I thought of are so you could have survival and creative places on your map as when you have free change one could build a house in creative or find a stronghold in creative etc. but then reap the benefits in survival, also would be cool if you had a creative city with a shop, so the shop would be survival mode xD.

    Oh and it's already pretty awesome btw...
     
  13. Offline

    K900

    I guess I'll try that, but can't say anything.
     
  14. Offline

    Guy_de_Siguro

    Awesome Thanks :DD
     
  15. Offline

    tombik

    Working with MC 1.0
     
  16. Offline

    jspikeball123

    hey, I just started a server with craftbukkit and I'm using multiworld, but I'd like to utilize your plugin in order to have different game modes in each world... but I'm unfamiliar with plugins that don't autogenerate configs. This might not be the right place to ask, but where would i place the created config.yml?
     
  17. Offline

    K900

    plugins/TGM/config.yml
     
    jspikeball123 likes this.
  18. Offline

    dabiggman

    This does not work with 1.2.3
     
  19. Offline

    UnluckyStorm

    Tried 4 different plugins that change the gamemode.
    3 of those didn't work when the nodes were passed onto regular users, aka, non-op players.
    This one did, and I thank you very much for it.

    Nice work, after testing many of them, I can certainly say that this is the best gamemode switching plugin.
     
  20. Offline

    K900

    Really? I do think it works for me. Will check if I fixed anything and forgot to push %)
     
  21. Offline

    dabiggman

    I was getting a lot of SEVERE errors with it, plugin wouldn't load at all.
     
  22. Offline

    brinaq

    yes lol I know that

    I play all those listed above,

    not Daggerfall or Arena though
     

Share This Page