Gamemode command control

Discussion in 'Plugin Requests' started by maks244, May 1, 2020.

  1. Offline

    maks244

    Plugin category: Permissions

    Minecraft version: 1.8.8

    Suggested name: GMCommandControl

    What I want: I'd like a plugin that can disable certain commands when a player is in survival, creative or spectator mode.

    I want this because in my KitPvP arena when you die, you go into spectator mode for 5 seconds. In that period of time, you can access command such as /lobby and I obviously don't want that to happen while they're in spectator mode.

    Ideas for commands:
    • /gmcc add <gamemode> <command> -- Adds a command to the list of disabled commands while the player is in the specified <gamemode>
    • /gmcc remove <gamemode> <command> -- Removes a command from the list of disabled commands while the player is in the specified <gamemode>
    • (Optional) /gmcc reload -- reloads the config
    Ideas for permissions:
    • gmcc.bypass -- Bypasses the blocking of the command
    • gmcc.add -- Grants the permission to use the /gmcc add command
    • gmcc.remove -- Grants the permission to use the /gmcc remove command
    • (Optional) gmcc.reload -- Grants the permission to use the /gmcc reload command
    Ideas for messages:
    • &cThat command is disabled in <gamemode> mode

    When I'd like it by: Whenever it's done.
     
    Last edited: May 1, 2020
  2. Offline

    maks244

Share This Page