Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Problem] Nie działaja komendy MyCommand


Rekomendowane odpowiedzi

Opublikowano

R

 

E

 

K

 

L

 

A

 

M

 

A

 

 

 

 

Witam,

Mam problem ponieważ nie działają mi komendy MyCommand mp. /pomoc ;/ Probowalem wszystkiego kazdy poradnik i nic ;(

 

Mój Konfig:

 

#-----------------------------------------------------------------------------------------------------------#
#                              MyCommand Commands config file (last update v5.1.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 you command number on first line                                                      #
#        Now put your command name on "command:" line. Don't forget the '/' before you command.                #
#        So,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 , RUNCOMMAND_PERM_BROADCAST_TEXT , SPOUT_TEXT        #
#       RUN_COMMAND_RANDOM , RUN_ASOPERATOR , ICON_MENU , SCOREBOARD , BUNGEE_TP , SPOUT_NOTIFICATION        #
#        BAR_API_TEXT , BAR_API_BROADCAST_TEXT                                                                 #
#                                                                                                            #
#    Now,if you command it's "TEXT" type,you can put multiple line of text below text list                    #
#    Same thing,if your command it's "RUNCOMMAND" type,but put you commands below runcmd list.                #
#    For Delayed command add $delay$ before the command in runcmd Example : - $delay$/list                    #
#    Set delay time with delaytimer: 5 (5 = seconds) | Use the dot . for decimal cost Example = cost : 5.5     #
#    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 "registered: true" below the command.                                     #
#   With registered command you can use the "tab_completer: - Hi - Hello!"                                     #
#-----------------------------------------------------------------------------------------------------------#
options:
  commandsnumber: 9
'gamemode_alias':
 command: /gm
 type: ALIAS
 alias: /gamemode
 permission-required: true
 'login_alsia"
 command: /l
 type: ALIAS
 alias: /login
 permissions_required: true
 "command_name":
 command: /command
 type: "TEXT"
 text:
 - "My Text"
 '1':
 command: /pomoc
 type: text
 text:  
 - '/ekipa - Nasza Ekipa'
 - '/vip - Informacje o vipie'
 - '/svip - Informacje o Svipie'
 - '/mvip - Informacje o Mvipie'
 - '/zasady - Zasady obowiazujace na serwerze'
 cost: 0
 delaytimer: 5
'2':
 command: /ekipa
 type: TEXT
 text:
 - 'Wlasciciel: ZeTaFoN'
 - 'HeadAdmin: BRAK'
 - 'Admin: maciej001, TheDarkEvil99, TheHacker'
 - 'Moderator: jakubb, CzarekXD'
 - 'KidMod: BRAK'
 - 'Pomocnik: Lesniak'
   runcmd:
 - '/sample'
 cost: 0
 delaytimer: 5
'3':
 command: /vip
 type: TEXT
  text:
 - 'Kosztuje: 4.92zl Brutto'
 - 'Jest na: Miesiac'
 - 'Posiada: fly, tpahere'
   runcmd:
 - '/sample'
 cost: 0
 delaytimer: 5
'4':
 command: /svip
 type: TEXT
 text:
 - 'Kosztuje: 6.15zl Brutto'
 - 'Jest na: Miesiac'
 - 'Posiada: gm, fly, tpahere'
   runcmd:
 - '/sample'
 cost: 0
 delaytimer: 5
'5':
 command: /mvip
 type: TEXT
 text:
 - 'Kosztuje: 7.38zl Brutto'
 - 'Jest na: Miesiac'
 - 'Posiada: gm, fly, tpahere, tp, tphere, afk'
   runcmd:
 - '/sample'
 cost: 0
 delaytimer: 5
'6':
 command: /zasady
 type: TEXT
 text:
 - '[1] Nie Cheatuj'
 - '[2] Admin ma zawsze racje!'
 - '[3] Kazde Oszustwo jest surowo karane!'
 - '[4] Nie klam Adminowi'
 - '[5] Nie pros adma o ity'
 - '[6] Nie pros Adma o op'
 - '[7] Przeklinamy po 20.00'
 - '[8] Widzisz Cheatera? Pisz na /helpop!'
 - '[9] Nie Reklamuj Obcyh Serwerow!'
 - '[10] Adminow to tez obowiazuje!'
   runcmd:
 - '/sample'
 cost: 0
 delaytimer: 5

 

 

# Wyświetla sie w konsoli takie coś:

 

[19:02:28] [server thread/INFO]: = An error occurred on language.yml file
[19:02:28] [server thread/INFO]: = Config : Ok
[19:02:28] [server thread/INFO]: = Custom commands loaded : 0
[19:02:28] [server thread/INFO]: = Version: 5.1.1
[19:02:28] [server thread/INFO]: = Author : MRI a.k.a Ivanpro
[19:02:28] [server thread/INFO]: = Status : Active
[19:02:28] [server thread/INFO]: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

 

 

# Konfig language.yml:

 

#-----------------------------------------------------------------------------------------------------------#
#                              MyCommand Language config file (last update v5.1.1)                            #
#                                    Use & as color code ,and %s for variables                                #
#                          BukkitDev Help page : http://dev.bukkit.org/server-mods/mycommand/                    #
#-----------------------------------------------------------------------------------------------------------#
LANGUAGE:
  PREFIX: "&0[&6MyCommand&0]&r "
  ECONOMY_COST: "&6This command cost &e%s&6$. New balance �e%s&6$"
  ECONOMY_NO_MONEY: "&6You need &e%s&6$ for run this command."
  DEBUG_EXECUTE: "Execute: "
  COMMAND_ARGS_LINE1: "No args...Please use :"
  COMMAND_ARGS_LINE2: "-> Output command(s) :"
  ITEM_NOSET: "&dThere are no command(s) on this item"
  NO_PERMISSIONS: "&cOps, check your permissions."
  SIGN_REMOVED: "Sign removed!."
  SIGN_EMPTY: "All lines are empty."
  BLOCK_REMOVED: "Block removed!."
  SPOUT_NOCLIENT: "You need a Spoutcraft client for use this command"
  BLOCK_DELAY: "&cYou must wait %s sec for re-use this"
  WARMUP1: "&6The command will be performed in &e%s &6seconds"
  WARMUP2: "&aYou have bypassed the warmup"
  WARMUP3: "&cThis command it's already called. Wait &4%s&c seconds"
  COOLDOWN1: "&cWait %s seconds before you can use this command again"
  COOLDOWN2: "&cYou have bypassed the cooldown on this command"

yi8xSL.png

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...