RandomOpExec

Discussion in 'Plugin Requests' started by Resoluciones, Nov 19, 2020 at 5:01 PM.

  1. Offline

    Resoluciones

    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.

    upload_2020-11-19_22-0-52.png
     
  2. Offline

    Liquided

    Alrighty, I have started on your plugin. It shouldn't take more than 1 day! I will let you know when Im finished :)
     
    Resoluciones likes this.

Share This Page