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] MyCommand - błąd


Rekomendowane odpowiedzi

Opublikowano

Witam mam problem

 

nie wiem co zrobiłem zle w tym pliku ale ciagle wywala mi bład...

 

ciagle poprawiam cos usuwam i dalej to samo...

# MyCommand  Commands Config File
# commandsnumber (default 20) it's number of command you want make
# Don't forget the '/' on runcmd line , example command: /myhelp
# type accept = text , runcommand , broadcast-text , runcommand-text , runcommand-broadcast-text , perm-broadcast-text , addpermission , addtimer , runconsole , runcommand-perm-broadcast-text , runcommand-random , runasoperator , iconmenu , scoreboard
# Additional type accept if you use Spoutplugin = spout-text , spout-notification.\n" +
# runcommand type example -> If command: /l and runcmd: /list,when you type /l mycommand execute /list
# runcmd support custom argument in game.($arg1,$arg2,$arg3,$arg4,$arg1,$multiargs) Example - runcmd : /time $arg1
# For Delayed command add $delay$ before the command in runcmd Example : - $delay$/list
# Set delay time with delaytimer: 1 (1 = seconds)
# Use the dot . for decimal cost Example = cost : 1.1
# You can use a custom permission node by placing "permission-node:" field in a command,you also 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.
# http://dev.bukkit.org/server-mods/mycommand/pages/configuration-and-example
options:
  commandsnumber: 12
'1':
  command: /regulamin
  type: text
  text:
  - '&f==========[&2PLAY-MC.PL&f]=========='
  - '$delay$&f1.Zakaz spamowania.'
  - '$delay$&f2.Zakaz reklamowania.'
  - '$delay$&f3.Zakaz przeklinania.'
  - '$delay$&f4.Zakaz korzystania z bugow.'
  - '$delay$&f1.Zakaz uzywania wspomagaczy.'
  - '$delay$&f6.Nie prosimy administracji o przedmioty i rangi administracyjne.'
  - '$delay$&f==========[&2PLAY-MC.PL&f]=========='
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 1
'2':
  command: /komendy
  type: text
  text:
  - '&f==========[&2PLAY-MC.PL&f]=========='
  - '$delay$&f/regulamin - &6Zasady panujace na serwerze.'
  - '$delay$&f/vip - &6Informacje o randze VIP.'
  - '$delay$&f/supervip - &6Informacje o randze SuperVIP.'
  - '$delay$&f/warp - &6Lista warpow dostepnych na serwerze.'
  - '$delay$&f/drop - &6Drop ustawiony na serwerze.'
  - '$delay$&f/sklep - &6Teleportacja do sklepu.'
  - '$delay$&f/czas - &6Aktualny czas.'
  - '$delay$&f/kasa - &6Stan Twojego konta.'
  - '$delay$&f==========[&2PLAY-MC.PL&f]=========='
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 1
'3':
  command: /vip
  type: text
  text:
  - '&f==========[&2PLAY-MC.PL&f]=========='
  - '$delay$&f/itemyvip - &6diamentowe uzbrojenie prot &a2&6, &a4&6 zlote jablka i diamentowe narzedzia z enchantem &a2&6 co 1 dzien.'
  - '$delay$&fMozliwosc posiadania 2 home.'
  - '$delay$&fSlot na serwerze'
  - '$delay$&fMozliwosc uzywania komendy /fly'
  - '$delay$&fMozliwosc teleportacji do miejsca zgonu.'
  - '$delay$&fPrefiks &a[VIP]&f na serwerze.'
  - '$delay$&fRange kupisz kontaktujac sie z Adminem.'
  - '$delay$&a Koszt SMS: 12.30zl z Vat oraz Koszt PayPal: 6zl - 1 miesiac'
  - '$delay$&f==========[&2PLAY-MC.PL&f]=========='
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 1
'4':
  command: /supervip
  type: text
  text:
  - '$delay$&f==========[&2PLAY-MC.PL&f]=========='
  - '$delay$&f/itemysupervip - &6diamentowe uzbrojenie prot &a3&6, &a8&6 zlote jablka, &a4&6 ulepszonych zlotych jablek i diamentowe narzedzia z enchantem &a3&6 co 1 dzien.'
  - '$delay$&fMozliwosc uzywania komendy /fly'  
  - '$delay$&fteleportacja do graczy za pomoca komendy /tpa nick (gracz musi wyrazic zgodze zebys sie do niego przeteleportowac za pomoca komendy /tpaccept'   
  - '$delay$&fMozliwosc posiadania 4 home.'
  - '$delay$&fMozliwosc teleportacji do miejsca zgonu.'
  - '$delay$&fSlot na serwerze'  
  - '$delay$&fPrefiks &b[SuperVIP]&f na serwerze.'
  - '$delay$&fRange kupisz kontaktujac sie z Adminem.'
  - '$delay$&a Koszt SMS: 20.91zl z Vat oraz Koszt PayPal: 10zl - 1 miesiac'    
  - '$delay$&f==========[&2PLAY-MC.PL&f]=========='
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 1
'5':
  command: /czas
  type: runcommand
  text:
  - '$red Text of command $black3'
  runcmd:
  - '/time'
  cost: 0
  delaytimer: 1
'6':
  command: /odlicz
  type: runcommand
  text:
  - '$red Text of command $black1'
  runcmd:
  - '$delay$/say &63...'
  - '$delay$/say &22...'
  - '$delay$/say &c1...'
  - '$delay$/say &bStart!'
  cost: 0
  delaytimer: 1
'7':
  command: /itemyvip
  type: runcommand
  text:
  - '$red Text of command $black3'
  runcmd:
  - '/kit vip'
  cost: 0
  delaytimer: 1
'8':
  command: /itemysupervip
  type: runcommand
  text:
  - '$red Text of command $black3'
  runcmd:
  - '/kit svip'
  cost: 0
  delaytimer: 1
'9':
  command: /survival
  type: runcommand
  text:
  - '$red Text of command $black3'
  runcmd:
  - '/warp survival'
  cost: 0
  delaytimer: 1
'10':
  command: /sklep
  type: runcommand
  text:
  - '$red Text of command $black3'
  runcmd:
  - '/warp sklep'
  cost: 0
  delaytimer: 1
'11':
  command: /kasa
  type: runcommand
  text:
  - '$red Text of command $black3'
  runcmd:
  - '/money'
  cost: 0
  delaytimer: 1
'12':
  command: /drop
  type: text
  text:
  - '$delay$&f==========[&2PLAY-MC.PL&f]=========='
  - '$delay$&9PRZEDMIOTY WYPADAJACE Z KAMIENIA:'
  - '$delay$&bDiament - 0.5%'
  - '$delay$&bSzmaragd - 0.5%'
  - '$delay$&bZloto - 1.5%'
  - '$delay$&bZelazo - 3%'
  - '$delay$&f==========[&2PLAY-MC.PL&f]=========='
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 1
 
Opublikowano

Błędu szybko nie znajdziesz najlepiej usuwaj komendy dopóki będzie bezbłędnie i potem dodawaj po jednej dzięki czemu dojdziesz co i jak.

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...