Inactive [ADMN] ShortGameMode v1.0.1 - Shortens the /gamemode command [1.2.5-R1.2]

Discussion in 'Inactive/Unsupported Plugins' started by Bisa, Feb 14, 2012.

  1. Offline

    Bisa

    ShortGameMode - Shortens the /gamemode command:
    Version: v1.0.1

    The plugin shortens the original /gamemode command allowing you to quickly toggle your own game mode, or others, by simply typing:
    Code:
    /gm    # toggle your game mode
    /gm <player>    # toggle <player> game mode
    
    The plugin recognizes players online without you having to specify their full name, for example, typing /gm b will toggle Bisa's game mode.

    The plugin will also allow you to set the game mode of any player, online or offline, by using the following code:
    Code:
    # <player> has to be the players full name.
    # <mode> can be 0/survival or 1/creative
    /gm set <player> <mode>
    
    Note that /gm can currently be substituted with /sgm and /shortgm should any of them be already used by another plugin.

    Permission nodes:
    • sgm.set.* (admin node, gives access to both other and self)
    • sgm.set.other
    • sgm.set.self
    For an aways up-to-date list of permissions, refer to the plugin.yml file.

    Features:
    • Shortens original command
    • Toggle game mode
    • Set game mode on offline players
    Please use GitHubif you have any issues with this plugin that requires my attention and describe the matter in as much detail as possible.

    Download the plugin here:
    Get the Source here:
    Changelog:

    Version 1.0.1
    • Added error message
    • Upped version for 1.2.5-R1.2
    Older history (open)

    Version 1.0.0
    • First release

    For the record:
    I'm well aware there are other plugins out there doing this, I just wanted to code one myself as well :)
     
  2. Offline

    Rexel

    thanks works good
     
  3. Offline

    Bisa

    ur welcome =)
     
  4. Offline

    md_5

    Approved
     
  5. Offline

    DeepDolphin

    Whenever I try to use it it just gives me a message back "/gm" and it doesnt make me change game mode. Did I do something wrong?
     
  6. Offline

    Bisa

    It seems you do not have the privileges needed to execute the command - are you sure you have set up permissions to be able to use the plugin?

    At the very least you can set yourself as op and type /gm, should work off the bat.
     
  7. Offline

    teetor

    There are atleast 6 other plugins that do the same thing
    And if you have Essentials ( Like most people do... ) you don't need this plugin
     
  8. Offline

    Bisa

    I know, as stated above I made this plugin because I wanted to try plugin creation - not because I think others are bad/not needed or something of the sorts.
     
  9. Offline

    teetor

    OK!
    Gratz On making this!
     
  10. Offline

    Bisa

    Thank you
     
  11. Offline

    teetor

    :D
     
  12. Offline

    grid21

    What are the permission nodes so I can give my moderators permission to use this.
     
  13. Offline

    Bisa

    The plugin relies on permission nodes descriped in the plugin.yml (https://github.com/Bisa/ShortGameMode/blob/master/plugin.yml) in short, they are:
    • sgm.set.* (admin node, gives access to both other and self)
    • sgm.set.other
    • sgm.set.self
    Hopefully self explanatory =)
     
  14. Offline

    grid21

    Yeah it is self explanatory! Thanks so much and I look forward to testing out the plugin later today! Have a good day man and keep up the good work! :)
     
  15. Offline

    grid21

    hey I've been meaning to send you a message but you plugin isn't working. I do /gm [Playler] 0 or 1 and it doesn't tell me if it changed there gamemode. How do I tell if it's work or not?
     
  16. Offline

    RyGuy147

    One problem: for some reason, this is recently only, it resets all creative players to survival when the log in, or when the server is /reloaded. It may not be this plugin, but I think it is.
     
  17. Offline

    Bisa

    This plugin only acts on commands when changing game modes, hence I would guess it's another plugin.
    (I've troubles myself while using for example worlds-plugin where one setting could force individual worlds to a specific game mode)
     
  18. Offline

    RyGuy147

    Hmmm... It could be WorldGuard, or MultiVerse Core...
     

Share This Page