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: GitHub dev.bukkit.org Get the Source here: GitHub Changelog: Version 1.0.1 Added error message Upped version for 1.2.5-R1.2 Older history (Move your mouse to reveal the content) Older history (open) Older history (close) 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
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?
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.
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
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.
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 =)
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!
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?
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.
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)