Plugin category: Mechanics Minecraft version: Paper version git-Paper-262 (MC: 1.16.4) (Implementing API version 1.16.4-R0.1-SNAPSHOT) Suggested name: RandomOpExec What I want: I would like a command that picks up a random player, give to him all operator permissions and execute any command (after that it will disable all OP permissions to this player, of course). The plugin should allow this command to be executed by console or by other plugins, i.e.: /RandomOpExec say hola # plugin will pick an online player and will give him all operator permissions to make him execute the command say (in this case) and it will disable permissions after the command execution. /RandomOpExec give Peter apple # plugin will pick an online player and will give him all operator permissions to make him execute the command give Peter apple (in this case) and it will disable permissions after the command execution. etc etc etc with all possible commands in server that needs op permissions... etc Ideas for config: just a configuration to put a configurable message i.e.: "The random picked OP was the player Resoluciones (i.e. the player that was chosen randomly) and he executed a command with special permissions!" Ideas for permissions: Not needed When I'd like it by: Whenever it is possible.
Alrighty, I have started on your plugin. It shouldn't take more than 1 day! I will let you know when Im finished
Out of curiosity, what is the reason for this plugin? Why would you ever need to op someone whos not part of the staff team? Just have the console execute commands targetted at random players.
@Benlewis9000 In some plugins, there are some commands that must be executed only by operator (as they are supposed to be executed by operator). With this command, we can make any player execute these types of commands (from console or from another plugin) Let me know if this is clear enough; my English is not so good! Thanks!