I prefer to play on my Minecraft servers as a regular player but from time to time I need to be opped.
in chat type...
/opme
Entering /opme in chat Instantly toggles my operator status and my creative mode on or off. I can then fix or deal with any operator things I need to do, then I just enter /opme again and I am back as a normal player.
Only preauthorized player names may use /opme. The configuration file for this mod is a comma separated list of operator names. For security, the list of names cannot be added to or changed from in-game. You will need to add the names of yourself or other trusted operators to this list. It starts with an empty list.
When you do /opme the second time it returns you to the game mode you were in, such as survival or adventure. The only exception is that if you were previously in creative it does set you to the server default gamemode instead of going back to creative.
I recommend that just before you return to normal play mode, that you 1: dispose of items from creative mode that may be in your inventory or toolbar, then 2: that you move to a safe location where you won't fall or be attacked.
I have also found this useful for modding development and testing mods.
DOWNLOAD
Latest July 22, 2015
Choose for the version of Minecraft you are using:
Version 1.0.2 September 11, 2015
Changed the gamemode you return to if you were in creative mode before using this. The last version works perfectly but returns you to survival mode if you were in createve before using opme. This version returns you to the server default game mode if you were in crateve before using opme.
Version 1.0.1 July 22, 2015
Big fix: Fixed an error where player's display name was used instead of their actual in-game name.
INSTALLATION
Just drop this jar file into your mods folder with your other mods and restart your server as usual for any Forge mod. You do need to add operator names to the config file. This is only needed on the server side. The game clients do NOT need this to use it.
PERMISSIONS
This is under Creative Commons Attribution license. (free with credit where it is due) YES you may use this in modpacks You may also redistribute this.
NOTES Source code is included.
This is a Forge mod.
No Bukkit is needed.
As a fix for the creative/survival mode on returning to non op/player mode, why not tag the player with a score of their current mode when changing to admin creative, and restore to that mode on return, to cover the score not being set get it to use the server default mode.
As a fix for the creative/survival mode on returning to non op/player mode, why not tag the player with a score of their current mode when changing to admin creative, and restore to that mode on return, to cover the score not being set get it to use the server default mode.
Im confused as to what needs fixed? Please do explain. Examples often help me understand.
When you do /opme the second time it returns you to the game mode you were in, such as survival or adventure. The only exception is that if you were in creative it does set you to survival instead of going back to creative.
I am not actually sure what you are suggesting. I am interested. Please explain a little.
Are you saying you want it to return you to creative mode if you were in that before?
If so, I originally had it that way when testing this but, I found many times when using this that I was personally frustrated when I went out of op mode and was still in creative. When I deopped myself using /opme it seemed I always wanted to be back to normal survival mode. I could change this back so that it only returns you to what mode you were in.
An after thought related to what you had originally said regarding server default gamemode: I suppose upon exiting opme and having previously been in creative I could set it to the server default rather than survival. That would make sense.
You could disable /OpMe 's deop mode and add a /DeOpMe which could take an argument of which mode you want, server default by default
(Using the /Gamemode numbers as the argument.)
did that in a way. It does return to the world's default game mode if you were in creatie mode before going into opme. I will probably add it as a parameter later as well. good thought. thank you.
Changed the gamemode you return to if you were in creative mode before using this. The last version works perfectly but returns you to survival mode if you were in createve before using opme. This version returns you to the server default game mode if you were in crateve before using opme.
Version 1.0.1 July 22, 2015
Big fix: Fixed an error where player's display name was used instead of their actual in-game name.
Just drop this jar file into your mods folder with your other mods and restart your server as usual for any Forge mod. You do need to add operator names to the config file. This is only needed on the server side. The game clients do NOT need this to use it.
PERMISSIONS
This is under Creative Commons Attribution license. (free with credit where it is due) YES you may use this in modpacks You may also redistribute this.
NOTES
Source code is included.
This is a Forge mod.
No Bukkit is needed.
.
.
.
Shameless Plug: Check out my other mods: SpawnCommands Teleport, Entity LagFix Mod, Simple Usage Log
my published mods
OFFICIAL RELEASE of OpMe Mod version 1.0.1
Fixed where it referenced player display name as opposed to player name in game.
Still small and easy, but very handy, in my experience.
my published mods
As a fix for the creative/survival mode on returning to non op/player mode, why not tag the player with a score of their current mode when changing to admin creative, and restore to that mode on return, to cover the score not being set get it to use the server default mode.
Im confused as to what needs fixed? Please do explain. Examples often help me understand.
my published mods
Only a suggestion for that, nothing serious.
I am not actually sure what you are suggesting. I am interested. Please explain a little.
Are you saying you want it to return you to creative mode if you were in that before?
If so, I originally had it that way when testing this but, I found many times when using this that I was personally frustrated when I went out of op mode and was still in creative. When I deopped myself using /opme it seemed I always wanted to be back to normal survival mode. I could change this back so that it only returns you to what mode you were in.
An after thought related to what you had originally said regarding server default gamemode: I suppose upon exiting opme and having previously been in creative I could set it to the server default rather than survival. That would make sense.
my published mods
You could disable /OpMe 's deop mode and add a /DeOpMe which could take an argument of which mode you want, server default by default
(Using the /Gamemode numbers as the argument.)
OpMe for Minecraft 1.8.9 is officially relased. Link Here
my published mods
did that in a way. It does return to the world's default game mode if you were in creatie mode before going into opme. I will probably add it as a parameter later as well. good thought. thank you.
my published mods
Anyone have feature ideas?
One from curse forge was to also toggle the inventory-cheat mode along with creative mode in NEI (Not Enough Items) if it is present.
my published mods