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

    Toggle Game Mode v0.3.4
    Version: v0.3.4

    Does what the name says :) Simple.

    Features:
    • Change gamemode per player
    • Change player gamemodes when they enter world
    Usage:

    Switch your game mode (survival <-> creative):
    Code:
    /tgm
    Switch other player's game mode (survival <-> creative):
    Code:
    /tgm <nickname>
    Switch your gamemode to creative:
    Code:
    /tgm c
    Switch your gamemode to survival:
    Code:
    /tgm s
    Switch other player's gamemode to creative:
    Code:
    /tgm <nickname> c
    Switch other player's gamemode to survival:
    Code:
    /tgm <nickname> s
    It's really simple.

    Permissions:
    Code:
    tgm.self
    Lets you change your game mode + use the hotkey.
    Code:
    tgm.others
    Lets you change other players' game mode.
    Code:
    tgm.*
    Full power!

    Note: be careful who you give permissions. Creative mode is the ultimate griefing tool.

    TODO:
    • Something someone suggests and I like :)
    Downloads and source on my GitHub
    v0.3.4 test build for new Bukkit

    Config file:
    Code:
    spout:
        enabled: true
    worlds:
        my-creative-world: "c"
        my-survival-world: "s"
        i-dont-really-care: "none"
        # etc.
    Upcoming features:
    Sometime if ever:
    • iConomy support
    • libperms
    Version 0.3.4 <test build available github>
    • Soft dependency on Spout + ability to disable it completely
    • Configurable hotkey
    • Cute notifications :)
    Changelog:
    Version 0.3
    • Spout hotkey (Z)
    • SuperPerms fixed + global tgm.* permission
    Version 0.2
    • SuperPerms!
    Version 0.1

    • Released!
     
    Brock Blocking Samson and tombik like this.
  2. Offline

    DKDunnings

    Simple but amazing idea. Congrats. :cool:
     
  3. Offline

    neersighted

    Nice job. Now we just need a stable 1.8 version of CraftBukkit. Thanks! Right now it is just an alias and some variables, mind if I fork it with spout? (Put it on GitHub and I could collaborate with you too!)
     
  4. Offline

    K900

    Also, for every newfag out there: tgm is the Toggle God Mode cheat code in almost every TES game (Morrowind, Oblivion, Skyrim etc.).
     
  5. Offline

    neersighted

    LOL Ninja'd me @K900 . I posted and you responded. I need to learn how to use the Spout API, want to work together on this?
     
  6. Offline

    K900

    I'd be adding Spout stuff (a notification and a hotkey) as soon as Spout itself works fine with 1.8.x. Also, someone go tell the Spout guys to merge my pull request :p

    PERFECTLY SYNCED POSTS FTW! %) Also, I don't mind you doing the Spout stuff. Just note it doesn't really work anyway ;)

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

    neersighted

    Lol. Sure. I was offering to collab if you did not know how to use the Spout API (I am learning it.), and I was looking for someone to partner with a a dev. Anyways, nice plugin.

    neerEDIT: Oh damn you ninja'd me when was posting #8. LOL
     
  8. Offline

    feildmaster

    I was going to do this, but I figured someone else should do it since I have so many plugins anyway. ;p

    Looking good K.
     
  9. Offline

    K900

    I wonder if the /m alias is epic enough to replace the spout hotkey for a while?
     
  10. Offline

    neersighted

    @K900 . It could be. Read my post, you seem like a guy who likes to do what I do (Simple, easy, but essential utility plugins), think we could work together (Maybe a lager collab plugin sometime?). PM me?
     
  11. Offline

    K900

    Then I'll just add it later.
     
  12. Offline

    neersighted

    LOL @K900 rapid avatar switch. Read about the collab? Please respond to it (PM).
     
  13. Offline

    K900

    Thanks for the avatar note, I got the wrong one %) About the collab - I'm really positive about it but I don't have any ideas to start with.
     
  14. Offline

    neersighted

    Hmm. PM me and we can email. I don't have a mic currently--no voice chats.
     
  15. Offline

    K900

    You can get me on Jabber: [email protected]
     
  16. I was going to do this, but I figured someone else should do it since its not in the game. Oh wait!

    /gamemode <player> 0 or 1... Oh wait... Yes it is.. Silly me!

    The only useful thing, is multiworlds.
     
    TopGear93 likes this.
  17. Offline

    K900

    Well I made this because /gamemode is too long and I usually type gamemoed or something like this instead. /tgm is 4 times shorter in the best case (/tgm vs. /gamemode K900 1) and 5 chars shorter in the worst (/tgm K900 s vs. /gamemode K900 1)

    I pushed permissions support to github.

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

    Dec64

    What is the permission nodes to allow users to do the command?
     
  19. Offline

    K900

    tgm.self to change for yourself, tgm.others to change others. Superperms ONLY.
     
  20. Offline

    Smex

    TODO:
    • Eat some pizza



    Best shit ever written in a Plugin-Thread. :p
     
  21. Offline

    K900

    Thanks. Also, I still didn't get to that pizza :p
     
  22. Lol!
     
  23. Offline

    feildmaster

    Troll. This is a good plugin. his command is just strange.

    I would have called it /mode if I bothered to make it when the prerelease came out.
     
  24. Offline

    K900

    I already explained the reason behind the command name - it is a reference to Morrowind. Also, tgm is quite simple to type, if you look at the keyboard.
     
  25. Offline

    feildmaster

    So is mode.
     
  26. A good plugin that does the same thing the standard game does?. All because you cant be bothered to type an extra 10 letters or whatever it is. This is not a good plugin. For a developers point of view. And a server admins. Unnecessary memory usage.
     
  27. Offline

    feildmaster

    I do not agree. There should have been a simple toggle command. Why should I be forced to type out my name?
    I'm pretty sure that's why there's plugins that make /tp <name>, /s <name> and /i <item>
     
  28. Offline

    K900

    Well, I don't really care. There are people who liked it already and I use it for myself. If you don't like it - don't use it.
    Yeah, guess I'll add /m and /mode aliases.
     
  29. 2 of those commands you have mentioned are part of a bigger plugin in essentials that has many other features. Not as a stand alone plugin. So your argument is pretty pointless.

    If people want to take up unnecessary memory use, which can be taken to improve the performance of their sever. Then that is up to them. And no I don't like it so I will not be using it.
     
  30. Offline

    K900

    Updated.

    If someone wants to merge my code/do the same in Essentials/General/CommandBook whatever else bigger plugin you like - you're welcome. That's why I released the code in the first place.
     

Share This Page