Solved remove command /gamemode 3 or /gamemode spectator

Discussion in 'Bukkit Help' started by FrostBird347, Jan 21, 2018.

Thread Status:
Not open for further replies.
  1. Offline

    FrostBird347

    I saw this thread: https://bukkit.org/threads/how-to-remove-command-plugins.48975/ but it does not seem to work.
    It says in the logs:
    Code:
    [07:15:27 WARN]: Could not register alias gamemode 3 because it contains illegal characters
    Here is the command file:
    Code:
    # This is the commands configuration file for Bukkit.
    # For documentation on how to make use of this file, check out the Bukkit Wiki at
    # http://wiki.bukkit.org/Commands.yml
    #
    # If you need help on this file, feel free to join us on irc or leave a message
    # on the forums asking for advice.
    #
    # IRC: #spigot @ irc.spi.gt
    #    (If this means nothing to you, just go to http://www.spigotmc.org/pages/irc/ )
    # Forums: http://www.spigotmc.org/
    # Bug tracker: http://www.spigotmc.org/go/bugs
    
    command-block-overrides:
    - '*'
    unrestricted-advancements: false
    aliases:
      icanhasbukkit:
      - version $1-
      gamemode:
      - []
    


    Fixed the problem, I just removed the command gamemode and there will be command blocks at spawn instead

    new command file:
    Code:
    # This is the commands configuration file for Bukkit.
    
    # For documentation on how to make use of this file, check out the Bukkit Wiki at
    # http://wiki.bukkit.org/Commands.yml
    #
    # If you need help on this file, feel free to join us on irc or leave a message
    # on the forums asking for advice.
    #
    # IRC: #spigot @ irc.spi.gt
    #    (If this means nothing to you, just go to http://www.spigotmc.org/pages/irc/ )
    # Forums: http://www.spigotmc.org/
    # Bug tracker: http://www.spigotmc.org/go/bugs
    
    command-block-overrides:
    - '*'
    unrestricted-advancements: false
    aliases:
      icanhasbukkit:
      - version $1-
      gamemode:
      - []
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 21, 2018
Thread Status:
Not open for further replies.

Share This Page