Secure OP icon

Secure OP -----

Password protect your server's op command!




This is a pretty major update. Much of the code has been refactored to make it more readable. (Check out the source code on github). However, the big change is the implementation of SHA-256 password hashing. No longer is your OP password stored in plain text, actually, it will never be stored in plain text, because we wrote a custom 4J log filter preventing spigot from logging your password! This does mean that the only way to set your op password is through the /setOpPassword command, and before you set the password, your server will not have an OP password. So please, set the OP password. If you ever forget the password, just delete the password.txt file and the password will be reset to default (none).
----------, May 20, 2021

Fixed a bug that caused a Null pointer exception when a player with no perms issued the command without arguments.
----------, May 2, 2020

Thank you all for the suggestions! I have added support for /deop. It has the same password as /op, but different permissions. Make sure to update your config file, otherwise, messages may not work properly.
You can delete your config, or you can add the following line to your config.
Code (YAML):

DeopMsg
: '&bPlayer &5 %player% &bhas been deOPed by &5%sender%'
You may also have to change some messages to use %command% otherwise it will say "JavaSE tried to use /op" when the command used was actually /deop. See the default config on the main page.
----------, May 1, 2020

I haven't updated this plugin in a while, but I decided it was time. The plugin is now working in spigot 1.5. This includes the blocking the /minecraft :eek:p command for spigot 1.5. When block bukkit is set to true in the config, all :eek:p commands will be blocked.
----------, Apr 22, 2020


This is compiled with java 1.8, if you do not use java 1.8 on your server, please use an older build.

Change log:
Removed unsupported imports.
Added 1.11 compatibility
----------, Dec 16, 2016

Thank you guys for the support you have been giving me, I really appreciate it.
There is a new config option:
Code (Text):
#This command will run whenever someone uses the wrong password (Set to '' to disable)
BadCommand: ''
----------, Sep 5, 2016

(There is no need to update to this version)
----------, Aug 17, 2016

You should reset your config before updating!
/*Change log
* 1.10.2
* Added option to message admins when a player uses /op
* Added configurable messages
* */
Can someone test the admin messages for /op ? I am unable to test them at the moment.


@ Elijah7823 you asked for this!
----------, Jun 25, 2016

Sorry for being inactive for a while, I am hoping to get back into making more plugins.

If you were using an old version of this plugin, delete your config before updating!

Code (Text):
        /*Change log
         * Added option to op offline players
         * Fixed bug with the broadcast OP being set to false and messages still being broadcasted
         * 1.10.1
         * Added block bukkit option (/bukkit seems to have been removed in spigot 1.10, so this might not be of much help)
         *
         * */
----------, Jun 23, 2016

I made it so that now if you are using a custom ban plugin, and you have it set in the config to ban on bad password, it will ban the player using the custom ban system.
----------, Oct 31, 2015

This update fixed the warning message "ambiguous plugin name". Please tell me what you want to see in the next update!
----------, Oct 17, 2015

Resource Information
Author:
----------
Total Downloads: 10,366
First Release: Oct 4, 2015
Last Update: May 20, 2021
Category: ---------------
All-Time Rating:
14 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings