MyCommands- Příkaz nefunguje

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
Uživatelský avatar
Nyqi
Příspěvky: 551
Registrován: 23 bře 2012, 09:34
Reputation: 0

MyCommands- Příkaz nefunguje

#1 Příspěvekod Nyqi » 26 črc 2012, 19:29

Zdravím
Vytvořil jsem si v MyCommand příkaz /vytvorit
Takto:

Kód: Vybrat vše

'20':
  command: /vytvorit
  type: runcommand
  runcmd:
  - /res select vert
  - /res create $arg1


A vložil nakonec tohoto:
Spoiler: zobrazit

Kód: Vybrat vše

# MyCommand v3.2 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
# - Additional type accept if you use Spoutplugin = spout-text .
# - 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,$arg5,$multiargs) Example - runcmd : /time $arg1
# - For Delayed command add $delay$ before the command in runcmd Example : - $delay$/list
# - Set delay time with delaytimer: 5 (5 = seconds)
# - http://dev.bukkit.org/server-mods/mycommand/pages/configuration-and-example/
options:
  commandsnumber: 20
'1':
  command: /mycmd-sampletext
  type: text
  text:
  - $red Hello $darkgreen$player!
  runcmd:
  - /sample
  delaytimer: 5
'2':
  command: /mycmd-dice
  type: text
  text:
  - $red You got $darkgreen$rnd6 !
  runcmd:
  - /sample
  delaytimer: 5
'3':
  command: /mycmd-runcommand
  type: runcommand
  text:
  - $red Text of command $black3
  runcmd:
  - /list
  delaytimer: 5
'4':
  command: /mycmd-args
  type: runcommand
  text:
  - $red Text of command $black4
  runcmd:
  - /time $arg1 $arg2
  delaytimer: 5
'5':
  command: /mycmd-runcmdtimer
  type: runcommand
  text:
  - $red Text of command $black5
  runcmd:
  - $delay$/say 3..
  - $delay$/say 2..
  - $delay$/say 1..
  delaytimer: 1
'6':
  command: /mycmd-broadcast
  type: broadcast-text
  text:
  - $blue MyCommand Broadcast Test
  runcmd:
  - /sample
  delaytimer: 5
'7':
  command: /mycmd-spoutsample
  type: spout-text
  text:
  - $green -Spout Text-
  - $black Line 2
  runcmd:
  - /sample
  delaytimer: 5
'8':
  command: /mycmd-runconsole
  type: runconsole
  text:
  - $red Text of command $black8
  runcmd:
  - /say This /say it's performed by console.
  delaytimer: 5
'9':
  command: /mycmd-addtimer
  type: text
  text:
  - $gold Put your command over /mycmd-addtimer
  - '$gold And change type : from text to addtimer'
  runcmd:
  - /sample
  delaytimer: 5
'10':
  command: /mycmd-addpermission
  type: text
  text:
  - $gold Put your command over /mycmd-addpermission
  - '$gold And change type : from text to addpermission'
  runcmd:
  - /sample
  delaytimer: 5
'11':
  command: /mycmd-textargs
  type: text
  text:
  - 'Player Name : $player'
  - 'World : $world'
  - 'Health : $health Food : $food'
  - 'Exp : $exp Level : $level'
  - 'Gamemode : $gamemode'
  - 'LastDamage : $lastdamage'
  runcmd:
  - /sample
  delaytimer: 5
'12':
  command: /mycmd-online
  type: text
  text:
  - $red There are $online players online.
  runcmd:
  - /sample
  delaytimer: 5
'13':
  command: /smazatchat
  type: broadcast-text
  text:
  - ''
  - ''
  - ''
  - ''
  - ''
  - ''
  - ''
  - ''
  - ''
  - '$red Chat vymazan !'
  runcmd:
  - /sample
  delaytimer: 5
'14':
  command: /mycmd-shortcut
  type: runcommand
  text:
  - $red Text of command $black14
  runcmd:
  - /say $multiargs
  delaytimer: 5
'15':
  command: /mycmdsample15
  type: text
  text:
  - $red Text of command $black15
  runcmd:
  - /sample
  delaytimer: 5
'16':
  command: /mycmdsample16
  type: text
  text:
  - $red Text of command $black16
  runcmd:
  - /sample
  delaytimer: 5
'17':
  command: /mycmdsample17
  type: text
  text:
  - $red Text of command $black17
  runcmd:
  - /sample
  delaytimer: 5
'18':
  command: /mycmdsample18
  type: text
  text:
  - $red Text of command $black18
  runcmd:
  - /sample
  delaytimer: 5
'19':
  command: /mycmdsample19
  type: text
  text:
  - $red Text of command $black19
  runcmd:
  - /sample
  delaytimer: 5
'20':
  command: /vytvorit
  type: runcommand
  runcmd:
  - /res select vert
  - /res create $arg1

Ale příkaz /vytvorit mi pořád nechce jít :(
Obrázek

Qentus
Příspěvky: 91
Registrován: 08 črc 2012, 16:00
Reputation: 0

Re: MyCommands- Příkaz nefunguje

#2 Příspěvekod Qentus » 26 črc 2012, 22:23

V jakém tvaru command píšeš a jaká je odpověď serveru?
Pokud vám má rada pomohla, odměňte mě prosím karmou. Díky

Uživatelský avatar
Nyqi
Příspěvky: 551
Registrován: 23 bře 2012, 09:34
Reputation: 0

Re: MyCommands- Příkaz nefunguje

#3 Příspěvekod Nyqi » 27 črc 2012, 09:18

Píšu: /vytvorit
A napíše to že tento příkaz neexistuje
Obrázek

Uživatelský avatar
LavorekCZ
Příspěvky: 1805
Registrován: 20 lis 2011, 13:58
Reputation: 0
Kontaktovat uživatele:

Re: MyCommands- Příkaz nefunguje

#4 Příspěvekod LavorekCZ » 27 črc 2012, 10:08

A jiné, tebou vytvořené příkazy, fungují ? server.log prosím ..
Pomohl ti někdo? Pak určitě bude rád, když mu zvedneš karmu!
not sure

Uživatelský avatar
Nyqi
Příspěvky: 551
Registrován: 23 bře 2012, 09:34
Reputation: 0

Re: MyCommands- Příkaz nefunguje

#5 Příspěvekod Nyqi » 27 črc 2012, 12:37

V logu nic není ale jestli ho potřebuješ je tady (Mám tam pár chyb, ale řekl bych že to není zas tak podstatné a není na to vůbec čas :|):
Server.log zapínání- RAW
Server.log vypínání- RAW
Jiné příkazy ? Zkoušel jsem vytvořit příkaz /create a taky nešel ale ty, které jsem upravil z těch defaultních to už tam byly tak ty jdou.
Obrázek

Qentus
Příspěvky: 91
Registrován: 08 črc 2012, 16:00
Reputation: 0

Re: MyCommands- Příkaz nefunguje

#6 Příspěvekod Qentus » 27 črc 2012, 12:51

Tento plugin jsem nikdy nezkoušel, ale nemůže to být tím, že příkaz vytvorit očekává alespoň 1 argument?
Třeba /vytvorit trololo
Pokud vám má rada pomohla, odměňte mě prosím karmou. Díky

Uživatelský avatar
Nyqi
Příspěvky: 551
Registrován: 23 bře 2012, 09:34
Reputation: 0

Re: MyCommands- Příkaz nefunguje

#7 Příspěvekod Nyqi » 27 črc 2012, 13:21

Taky jsem si to myslel, ale není to tím
Obrázek


Zpět na „Minecraft, Tekkit“

Kdo je online

Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 43 hostů