Solved /mycommand error

Discussion in 'Plugin Help/Development/Requests' started by bambamssx, Nov 11, 2016.

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

    bambamssx

    I made some custom commands and there not loading, here is my config:



    Code:
    #-----------------------------------------------------------------------------------------------------------#
    #                              MyCommand Commands config file (last update v5.3.0)                            #
    #                                                                                                            #
    #  BukkitDev Help page : http://dev.bukkit.org/server-mods/mycommand/pages/configuration-and-example        #
    #                                                                                                            #
    #    How to make a command :    (See an example command below)                                                    #
    #        For first, put your command name on first line                                                      #
    #        Now put your command_line name after the "command:" line. Don't forget the '/' before your command.    #
    #        So, now select your command type from a predefined list putting it after "type" line                #
    #    COMMAND TYPE LIST :                                                                                        #
    #        TEXT , ALIAS , RUN_COMMAND , BROADCAST_TEXT , RUN_COMMAND_TEXT , RUN_COMMAND_BROADCAST_TEXT            #
    #        ADD_PERMISSION , WARMUP , COOLDOWN , RUN_CONSOLE , RUN_CONSOLE_RANDOM , SPOUT_TEXT                    #
    #       RUN_COMMAND_RANDOM , RUN_ASOPERATOR , ICON_MENU , SCOREBOARD , BUNGEE_TP , SPOUT_NOTIFICATION        #
    #        BAR_API_TEXT , BAR_API_BROADCAST_TEXT , CALL_URL, TITLE, BROADCAST_TITLE, ACTION_BAR                #
    #                                                                                                            #
    #    If your command is "TEXT" type, you can put multiple line of text below this parameter                    #
    #    You can do the same thing with the "RUNCOMMAND" type, but instead of text, puts commands in this list    #
    #    For delayed command(s) add $delay$ before the command in runcmd Example : - $delay$/list                #
    #    Set delay time with delaytimer: 5 (5 = seconds) |                                                         #
    #   If you are using the Vault plugin, you can put the "cost: 123.0" with this line.                         #
    #    You can customize your permission node by placing "permission-node:" field in a command                    #
    #    Also,you can change the permission error message with "permission-error:"                                #
    #   Custom error-message for invalid args ,put "error-message:" line in a command.                            #
    #   You can use itemcost : 'ID:AMOUNT' for set a cost with items.                                             #
    #   Register REAL commands putting "register: true" below the command.                                         #
    #   With register commands you can use the "tab_completer: - Hi - Hello!"                                    #
    #   For Scripts and more features, find more on the bukkitdev page                                            #
    #-----------------------------------------------------------------------------------------------------------#
    
    /?:
      command: /?
      type: TEXT
      text:
      - '&7All plugins are made custom by &8Dythentic&cPVP&7!'
    
      permission-required: false
      permission-node: mycommand.cmd.?
      permission-error: "&a$player! , &2You can't use this command!"
    
    /pl:
      command: /pl
      type: TEXT
      text:
      - '&7All plugins are made custom by &8Dythentic&cPVP&7!'
    
      permission-required: false
      permission-node: mycommand.cmd.pl
      permission-error: "&a$player! , &2You can't use this command!"
    
    /plugin:
      command: /plugin
      type: TEXT
      text:
      - '&7All plugins are made custom by &8Dythentic&cPVP&7!'
    
      permission-required: false
      permission-node: mycommand.cmd.plugin
      permission-error: "&a$player! , &2You can't use this command!"
    
    /plugins:
      command: /plugins
      type: TEXT
      text:
    '&7All plugins are made custom by &8Dythentic&cPVP&7!'
    
      permission-required: false
      permission-node: mycommand.cmd.plugins
      permission-error: "&a$player! , &2You can't use this command!"
     
  2. Offline

    timtower Administrator Administrator Moderator

    @bambamssx /plugins, last command, text return is wrong.
     
Thread Status:
Not open for further replies.

Share This Page