My Command chyba

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
Uživatelský avatar
gamexcraft
Příspěvky: 171
Registrován: 23 led 2014, 20:32
Reputation: 0

My Command chyba

#1 Příspěvekod gamexcraft » 06 úno 2014, 22:15

93.91.250.131:27824

Čau, prosím mám problém z My Command totíž dělám /pomoc a když tam nějakej malej text napíš tak to funguje ale potom tam nepíš např /m <hráč> napíšete soukroumou zprávu danému hráči, a pak to nejde celej plugin nejde nvm co s tím je :/ prosím pomoc ;) Díky

luk4z1x
Příspěvky: 13
Registrován: 06 srp 2013, 19:49
Reputation: 0

Re: My Command chyba

#2 Příspěvekod luk4z1x » 06 úno 2014, 22:20

Čo takto hodiť sem config?

Uživatelský avatar
gamexcraft
Příspěvky: 171
Registrován: 23 led 2014, 20:32
Reputation: 0

Re: My Command chyba

#3 Příspěvekod gamexcraft » 06 úno 2014, 22:24

Tady
Spoiler: zobrazit
'1':
command: /pravidla
type: ALIAS
alias: /rules
'2':
command: /pomoc
type: text
text:
- '$blue/m $greenNapisete soukromou zprávu danému hraci'
runcmd:
- '/sample'
delaytimer: 5
'3':
command: /mycmd-runcommand
type: RUNCOMMAND
text:
- '$red Text of command $black3'
runcmd:
- '/list'
cost: 0
delaytimer: 5
'4':
command: /mycmd-args
type: RUNCOMMAND
text:
- '$red Text of command $black4'
runcmd:
- '/time $arg1 $arg2'
cost: 0
delaytimer: 5
error-message: 'Type /time day world'
'5':
command: /mycmd-runcmdtimer
type: RUNCOMMAND
text:
- '$red Text of command $black5'
runcmd:
- '$delay$/say 3..'
- '$delay$/say 2..'
- '$delay$/say 1..'
cost: 0
delaytimer: 1
'6':
command: /mycmd-broadcast
type: BROADCAST-TEXT
text:
- '$blue MyCommand Broadcast Test'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'7':
command: /mycmd-spoutsample
type: SPOUT-TEXT
text:
- '$darkgreen -Spout Text-'
- '$red MyCommand!'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'8':
command: /mycmd-runconsole
type: RUNCONSOLE
text:
- '$red Text of command $black8'
runcmd:
- /say This /say it's performed by console.
cost: 0
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'
cost: 0
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'
cost: 0
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'
cost: 0
delaytimer: 5
'12':
command: /mycmd-online
type: text
text:
- '$red There are $online players online.'
- '$gold $ponline'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'13':
command: /mycmd-clearchat
type: BROADCAST-TEXT
text:
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'14':
command: /mycmd-shortcut
type: RUNCOMMAND
text:
- '$red Text of command $black14'
runcmd:
- '/say $multiargs'
cost: 0
delaytimer: 5
'15':
command: /mycmd-random
type: RUNCOMMAND-RANDOM
text:
- '$red Text of command $black15'
runcmd:
- '/say 1 $multiargs'
- '/say 2 $multiargs'
- '/say 3 $multiargs'
cost: 0
delaytimer: 5
'16':
command: /iconmenu
type: ICONMENU
text:
- 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
iconmenu_title: '&cMyCommand &4ItemMenu'
iconmenu_size: 27
iconmenu_commands:
- '0:GOLDEN_APPLE:0:/help:&2Help:&aOpen the help menu'
- '1:COMPASS:0:/mycmd:Menu:MyCommand menu'
- '9:EMERALD:0:/list:Player List:&bShow online players'
- '10:WATCH:0:/time set 0:Day:Turn day'
- '26:WOOL:11:%openiconmenu%/iconmenu2:Next Page:&cChange IconMenu Page;&a--------->'
cost: 0
delaytimer: 5
'17':
command: /iconmenu2
type: ICONMENU
iconmenu_title: 'Page 2'
iconmenu_size: 9
iconmenu_commands:
- '0:GOLDEN_APPLE:0:Do something:Hello!:=)'
- '8:WOOL:13:%openiconmenu%/iconmenu:Return Back:&cChange IconMenu Page;&a<---------'
cost: 0
delaytimer: 5
'18':
command: /mycmd-help 1
type: TEXT
text:
- '$brightgreen ---- MyCommand Help Page One ---'
- '$gold Test Help 1'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'19':
command: /mycmd-help
type: TEXT
text:
- '$brightgreen ---- MyCommand Help Main Page---'
- '$gold Test Help '
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'20':
command: /scriptexample
type: TEXT
text:
- 'Example'
runcmd:
- '$Script$HasPermission==custompermission.test'
- '$Script$SetInteger=1'
- '$Script$Integer==1'
- '$Script$SetString=ciao'
- '$Script$String!=lol'
- '$Script$Integer>10'
- '/dosomething'
cost: 0
delaytimer: 5
'21':
command: /itemcostexample
type: TEXT
text:
- 'This command cost 5 cobblestone. 4=ID 5 = AMOUNT'
runcmd:
- '/sample'
cost: 0
itemcost: 'COBBLESTONE:5'
delaytimer: 5
'22':
command: /sbtest
type: SCOREBOARD
text:
- 'Remove scoreboard after DelayTimer(sec) - 0 = never'
scoreboard_name: '&bTest'
scoreboard_text:
- '$randomnumber%1000%:Lucky'
- '$exp:Exp'
- '$level:Level'
cost: 0
delaytimer: 5
'23':
command: /bungeetest
type: BUNGEE_TP
server_name: hub

luk4z1x
Příspěvky: 13
Registrován: 06 srp 2013, 19:49
Reputation: 0

Re: My Command chyba

#4 Příspěvekod luk4z1x » 06 úno 2014, 23:08

Niečo ti tam chýba.
Na začiatok daj toto:
Spoiler: zobrazit
options:
commandsnumber: <sem daj počet nastavených príkazov>

Uživatelský avatar
gamexcraft
Příspěvky: 171
Registrován: 23 led 2014, 20:32
Reputation: 0

Re: My Command chyba

#5 Příspěvekod gamexcraft » 06 úno 2014, 23:15

Takto?
Spoiler: zobrazit
options:
commandsnumber: 23
'1':
command: /pravidla
type: ALIAS
alias: /rules
'2':
command: /pomoc
type: text
text:
- '$blue/m $greenNapisete soukromou zprávu danému hraci'
runcmd:
- '/sample'
delaytimer: 5
'3':
command: /mycmd-runcommand
type: RUNCOMMAND
text:
- '$red Text of command $black3'
runcmd:
- '/list'
cost: 0
delaytimer: 5
'4':
command: /mycmd-args
type: RUNCOMMAND
text:
- '$red Text of command $black4'
runcmd:
- '/time $arg1 $arg2'
cost: 0
delaytimer: 5
error-message: 'Type /time day world'
'5':
command: /mycmd-runcmdtimer
type: RUNCOMMAND
text:
- '$red Text of command $black5'
runcmd:
- '$delay$/say 3..'
- '$delay$/say 2..'
- '$delay$/say 1..'
cost: 0
delaytimer: 1
'6':
command: /mycmd-broadcast
type: BROADCAST-TEXT
text:
- '$blue MyCommand Broadcast Test'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'7':
command: /mycmd-spoutsample
type: SPOUT-TEXT
text:
- '$darkgreen -Spout Text-'
- '$red MyCommand!'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'8':
command: /mycmd-runconsole
type: RUNCONSOLE
text:
- '$red Text of command $black8'
runcmd:
- /say This /say it's performed by console.
cost: 0
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'
cost: 0
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'
cost: 0
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'
cost: 0
delaytimer: 5
'12':
command: /mycmd-online
type: text
text:
- '$red There are $online players online.'
- '$gold $ponline'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'13':
command: /mycmd-clearchat
type: BROADCAST-TEXT
text:
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'14':
command: /mycmd-shortcut
type: RUNCOMMAND
text:
- '$red Text of command $black14'
runcmd:
- '/say $multiargs'
cost: 0
delaytimer: 5
'15':
command: /mycmd-random
type: RUNCOMMAND-RANDOM
text:
- '$red Text of command $black15'
runcmd:
- '/say 1 $multiargs'
- '/say 2 $multiargs'
- '/say 3 $multiargs'
cost: 0
delaytimer: 5
'16':
command: /iconmenu
type: ICONMENU
text:
- 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
iconmenu_title: '&cMyCommand &4ItemMenu'
iconmenu_size: 27
iconmenu_commands:
- '0:GOLDEN_APPLE:0:/help:&2Help:&aOpen the help menu'
- '1:COMPASS:0:/mycmd:Menu:MyCommand menu'
- '9:EMERALD:0:/list:Player List:&bShow online players'
- '10:WATCH:0:/time set 0:Day:Turn day'
- '26:WOOL:11:%openiconmenu%/iconmenu2:Next Page:&cChange IconMenu Page;&a--------->'
cost: 0
delaytimer: 5
'17':
command: /iconmenu2
type: ICONMENU
iconmenu_title: 'Page 2'
iconmenu_size: 9
iconmenu_commands:
- '0:GOLDEN_APPLE:0:Do something:Hello!:=)'
- '8:WOOL:13:%openiconmenu%/iconmenu:Return Back:&cChange IconMenu Page;&a<---------'
cost: 0
delaytimer: 5
'18':
command: /mycmd-help 1
type: TEXT
text:
- '$brightgreen ---- MyCommand Help Page One ---'
- '$gold Test Help 1'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'19':
command: /mycmd-help
type: TEXT
text:
- '$brightgreen ---- MyCommand Help Main Page---'
- '$gold Test Help '
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'20':
command: /scriptexample
type: TEXT
text:
- 'Example'
runcmd:
- '$Script$HasPermission==custompermission.test'
- '$Script$SetInteger=1'
- '$Script$Integer==1'
- '$Script$SetString=ciao'
- '$Script$String!=lol'
- '$Script$Integer>10'
- '/dosomething'
cost: 0
delaytimer: 5
'21':
command: /itemcostexample
type: TEXT
text:
- 'This command cost 5 cobblestone. 4=ID 5 = AMOUNT'
runcmd:
- '/sample'
cost: 0
itemcost: 'COBBLESTONE:5'
delaytimer: 5
'22':
command: /sbtest
type: SCOREBOARD
text:
- 'Remove scoreboard after DelayTimer(sec) - 0 = never'
scoreboard_name: '&bTest'
scoreboard_text:
- '$randomnumber%1000%:Lucky'
- '$exp:Exp'
- '$level:Level'
cost: 0
delaytimer: 5
'23':
command: /bungeetest
type: BUNGEE_TP
server_name: hub

luk4z1x
Příspěvky: 13
Registrován: 06 srp 2013, 19:49
Reputation: 0

Re: My Command chyba

#6 Příspěvekod luk4z1x » 06 úno 2014, 23:15

Hurá!
Pochopil si! ;)

Uživatelský avatar
gamexcraft
Příspěvky: 171
Registrován: 23 led 2014, 20:32
Reputation: 0

Re: My Command chyba

#7 Příspěvekod gamexcraft » 06 úno 2014, 23:16

Díky :-)

-- 07 úno 2014, 00:05 --

stejně to nejde :-/

vojtamaniak
Příspěvky: 3512
Věk: 26
Registrován: 18 úno 2012, 21:02
Reputation: 11

Re: My Command chyba

#8 Příspěvekod vojtamaniak » 07 úno 2014, 07:53

Proč tu sakra nikdo nepoužívá CODE tag?

Dej sem ten upravený config do CODE.

Uživatelský avatar
gamexcraft
Příspěvky: 171
Registrován: 23 led 2014, 20:32
Reputation: 0

Re: My Command chyba

#9 Příspěvekod gamexcraft » 07 úno 2014, 14:16

Tady:

Kód: Vybrat vše

options:
  commandsnumber: 23
'1':
  command: /pravidla
  type: ALIAS
  alias: /rules
'2':
  command: /pomoc
  type: TEXT
  text:
  - '$blue/tpa-teleportace na hrace'
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
  permission-node: customperm.custom
'3':
  command: /mycmd-runcommand
  type: RUNCOMMAND
  text:
  - '$red Text of command $black3'
  runcmd:
  - '/list'
  cost: 0
  delaytimer: 5
'4':
  command: /mycmd-args
  type: RUNCOMMAND
  text:
  - '$red Text of command $black4'
  runcmd:
  - '/time $arg1 $arg2'
  cost: 0
  delaytimer: 5
  error-message: 'Type /time day world'
'5':
  command: /mycmd-runcmdtimer
  type: RUNCOMMAND
  text:
  - '$red Text of command $black5'
  runcmd:
  - '$delay$/say 3..'
  - '$delay$/say 2..'
  - '$delay$/say 1..'
  cost: 0
  delaytimer: 1
'6':
  command: /mycmd-broadcast
  type: BROADCAST-TEXT
  text:
  - '$blue MyCommand Broadcast Test'
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
'7':
  command: /mycmd-spoutsample
  type: SPOUT-TEXT
  text:
  - '$darkgreen -Spout Text-'
  - '$red MyCommand!'
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
'8':
  command: /mycmd-runconsole
  type: RUNCONSOLE
  text:
  - '$red Text of command $black8'
  runcmd:
  - /say This /say it's performed by console.
  cost: 0
  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'
  cost: 0
  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'
  cost: 0
  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'
  cost: 0
  delaytimer: 5
'12':
  command: /mycmd-online
  type: text
  text:
  - '$red There are $online players online.'
  - '$gold $ponline'
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
'13':
  command: /mycmd-clearchat
  type: BROADCAST-TEXT
  text:
  - ''
  - ''
  - ''
  - ''
  - ''
  - ''
  - ''
  - ''
  - ''
  - ''
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
'14':
  command: /mycmd-shortcut
  type: RUNCOMMAND
  text:
  - '$red Text of command $black14'
  runcmd:
  - '/say $multiargs'
  cost: 0
  delaytimer: 5
'15':
  command: /mycmd-random
  type: RUNCOMMAND-RANDOM
  text:
  - '$red Text of command $black15'
  runcmd:
  - '/say 1 $multiargs'
  - '/say 2 $multiargs'
  - '/say 3 $multiargs'
  cost: 0
  delaytimer: 5
'16':
  command: /iconmenu
  type: ICONMENU
  text:
  - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
  iconmenu_title: '&cMyCommand &4ItemMenu'
  iconmenu_size: 27
  iconmenu_commands:
  - '0:GOLDEN_APPLE:0:/help:&2Help:&aOpen the help menu'
  - '1:COMPASS:0:/mycmd:Menu:MyCommand menu'
  - '9:EMERALD:0:/list:Player List:&bShow online players'
  - '10:WATCH:0:/time set 0:Day:Turn day'
  - '26:WOOL:11:%openiconmenu%/iconmenu2:Next Page:&cChange IconMenu Page;&a--------->'
  cost: 0
  delaytimer: 5
'17':
  command: /iconmenu2
  type: ICONMENU
  iconmenu_title: 'Page 2'
  iconmenu_size: 9
  iconmenu_commands:
  - '0:GOLDEN_APPLE:0:Do something:Hello!:=)'
  - '8:WOOL:13:%openiconmenu%/iconmenu:Return Back:&cChange IconMenu Page;&a<---------'
  cost: 0
  delaytimer: 5
'18':
  command: /mycmd-help 1
  type: TEXT
  text:
  - '$brightgreen ---- MyCommand Help Page One ---'
  - '$gold Test Help 1'
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
'19':
  command: /mycmd-help
  type: TEXT
  text:
  - '$brightgreen ---- MyCommand Help Main Page---'
  - '$gold Test Help '
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
'20':
  command: /scriptexample
  type: TEXT
  text:
  - 'Example'
  runcmd:
  - '$Script$HasPermission==custompermission.test'
  - '$Script$SetInteger=1'
  - '$Script$Integer==1'
  - '$Script$SetString=ciao'
  - '$Script$String!=lol'
  - '$Script$Integer>10'
  - '/dosomething'
  cost: 0
  delaytimer: 5
'21':
  command: /itemcostexample
  type: TEXT
  text:
  - 'This command cost 5 cobblestone. 4=ID 5 = AMOUNT'
  runcmd:
  - '/sample'
  cost: 0
  itemcost: 'COBBLESTONE:5'
  delaytimer: 5
'22':
  command: /sbtest
  type: SCOREBOARD
  text:
  - 'Remove scoreboard after DelayTimer(sec) - 0 = never'
  scoreboard_name: '&bTest'
  scoreboard_text:
  - '$randomnumber%1000%:Lucky'
  - '$exp:Exp'
  - '$level:Level'
  cost: 0
  delaytimer: 5
'23':
  command: /bungeetest
  type: BUNGEE_TP
  server_name: hub

Uživatelský avatar
Arcas
Příspěvky: 1406
Věk: 27
Registrován: 13 bře 2012, 19:15
Reputation: 0

Re: My Command chyba

#10 Příspěvekod Arcas » 07 úno 2014, 14:32

Zapomněl jsi na Spolier ale dobré.

Toto :

Kód: Vybrat vše

'2':
  command: /pomoc
  type: TEXT
  text:
  - '$blue/tpa-teleportace na hrace'
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
  permission-node: customperm.custom

Změň na :

Kód: Vybrat vše

'2':
  command: /pomoc
  type: TEXT
  text:
  - '$blue/tpa-teleportace na hrace'
  cost: 0
Čeština a jiné jazyky jsou Freeware, ale ne Opensource!!! To znamená, že s nimi můžete nakládat jak chcete, ale nesmíte je upravovat...

// no comment

Uranus-Portal.com
Obrázek


Zpět na „Minecraft, Tekkit“

Kdo je online

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