Sueta

OpPassword

2.1

Op with password !

·Plugin

oppassword.png

OpPassword is a plugin that modify command /op and /deop, with new features.


Features:

- Op a player or yourself with a configurable password.
- Deop a player or yourself with a configurable password.
- Get the list of all op players, online or not
- Unop all players except you
- Know if your password is good or not.
- Set a limit of op.

config2.png

####################################################### 
#                                                     # 
#                                                     # 
#                                                     # 
#                OpPassword config.                   # 
#                                                     # 
#                   Version  2.0                        # 
#                                                     # 
#      The plugin has been entirely review            # 
#               in the update  2.0  .                    # 
#                                                     # 
#                                                     # 
####################################################### 

#Do not forget to change the password before using it on your server. 


#This is the password used  for   /  op,  /  deop  /  changepassword,  /  unopall 
#DO NOT USE A SIMPLE PASSWORD. 
#You can see the security of your password with  /  securitypass 


password  :  Minecraft 


#The maximum amount of operator. 
#If someone  try  to op him or someone  this  wouldn  't work. 
#You can the number of operators with /listop 

maxop: 5 


#Cancel the message if the password is said. 
#Set it to true if you want to cancel the message 
#Set it to false if not. 

cancel: true 



#General messages: 

#Message send to the player when he doesn'  t have permission 
#Placeholder none. 

 nopermission   :   "&cYou do not have permission to perform this command."  

#Message send to the player when there too many operator. 
#Placeholder  :   %  MAXOP  %  

toomanyop  :   "&cToo many operators ! (Maximum: %MAXOP%)"  

#Message send to the player  if  he say the password and  "cancel"  is  true  . 
#Placeholder none. 

 cancelmsg   :   "&aYou said the password ! Message cancelled !"  


#Message send to the player on command  /  listop. 
#Placeholder  :   %  NUMBEROP  %  ,  %  MAXOP  %  

listopmsg  :   "&6List of players opped %NUMBEROP%/%MAXOP%:"  


#Message send to the player when  this  isn  't the good password 
#Placeholder: none. 

wrongpass: "&cIncorrect password !" 




#Command /OP. 



#Example of this command: /op Minecraft or /op Minecraft Notch 
#Placeholder: none. 

oparguments: "&cCorrect usage: /op <Password> [<Player>]" 


#Message send to the player when this is the good password 
#Placeholder: none. 

goodpasswordop: "&aGood password! You are now op !" 


#Message send when you try to op console 
#Placeholder: none 

consolecannotbeop: "&cYou can'  t op console  !   " 


#Message send to the player when he already op 
#Placeholder: none 

alreadyop: "   &  cYou are already op  !   " 


#Message send to the player when target already op 
#Placeholder: none 

targetalreadyop: "   &  cTarget is already op  !   " 


#Message send to the player who got op when this is the good password 
#Placeholder: %PLAYER% 

oppedyou: "   &  a  %  PLAYER  %  opped you  !   " 


#Message send to the player when he op another person 
#Placeholder: %PLAYER% 

targetop: "   &  aYou opped  %  PLAYER  %!   " 




#Command /DEOP 



#Example of this command /deop Minecraft or /deop Minecraft Notch 
#Placeholder none. 

deoparguments: "   &  cCorrect usage  :   /  deop  <  Password  >   [   <  Player  >   ]   " 


#Message send to the player when this is the good password 
#Placeholder: none. 

goodpassworddeop: "   &  aGood password  !  You are now deop  !   " 


#Message send to the player who got deop when this is the good password 
#placeholder: %PLAYER% 

deoppedyou: "   &  c  %  PLAYER  %  deopped you  !   " 


#Message send to the player when he already deop 
#Placeholder: none 

alreadydeop: "   &  cYou are already deop  !   " 


#Message send to the player when target already deop 
#Placeholder: none 

targetalreadydeop: "   &  cTarget is already deop  !   " 

#Message send to the player when he deop another person 
#Placeholder: %PLAYER% 

targetdeop: "   &  aYou deopped  %  PLAYER  %!   " 

#Message send when you try to deop console 
#Placeholder: none 

consolecannotbedeop: "   &  cYou can  't deop console !" 



#Command /UNOPALL 
#(this command deop all players except you.) 



#Example of this command /unopall 
#Placeholder none. 

unopall: "&aAll players are now unop except you !" 

#Message send to the players who got deop. 
#Placeholder: %PLAYER% 

unopallmsg: "&aYou are now deop."

commands2.png

[] = Optionnal

/op <Password> [<Player>]

/deop <Password> [<Player>]

/listop

/unopall

/securitypass

permissions2.png

/op (no permissions)
/deop (no permissions)
/listop (op)
/securitypass (op)
/unopall (op)

updates2.png
September 19 2017
1.1

- Added placeholder %password%

September 21 2017
1.2

- Added placeholder %player%
- The placerholder %player% can be only used on "targetop"
- Command is now /op <Password> [<player>] THE PLAYER IS NOT NECESSARY !!!
- Added 2 line in config.yml targetop and notonline

September 23 2017
1.3

- Added command /deop <password> [<Player>]
- Added 4 lines in config.yml

September 24 2017
1.4

- Added line "cancel" and "fail" in config.yml
- If "cancel" is true, if a player say the password in chat the message get cancelled

January 06 2019
1.5

- Minecraft:deop and minecraft op doesn't work anymore.
- Added command /changepassword
- Added a secret Password for /changepassword

January 18 2019
1.6

- Added command /unopall, this command unop all players except you.

January 31 2019
2.0

- /op has been modified
- /deop has been modified
- /listop has been added
- /securitypass has been added
- Deleted /changepassword
- Deleted security pass
- Some placeholder has been deleted and added
- You got a message when there a new update
- Modified config.yml
- You can now set a op limit

August 04 2019
2.1

- Fixed bugs.
- Uppercases and lowercases is used in password

Explications

(for exemple if your password is "MINECRAFT" and you type "MINEcRAFT" that wouldn't work.)


screenshots.png


( /securitypass with the default password)
2019-01-31_20.33.56.png


/listop example.
2019-01-31_20.34.31.png

KNOWERRORS.png


If you're getting an error everytime you're joining your server, verify plugin version, if you're running under 1.13.2 download this version: https://www.spigotmc.org/resources/oppassword.47356/download?version=287499

and if you're running 1.14 and higher download this version: https://www.spigotmc.org/resources/oppassword.47356/download?version=287497

Similar projects

Plugin →