Stránka 1 z 2

MyCommands

Napsal: 06 pro 2012, 21:14
od fantomas2
93.91.250.108:37116

Ahoj mám na serveri plugin mycommand ale nefunguje mi to keď mapíšem /vip nastavil som si to v configu ménom commands
Spoiler: zobrazit

Kód: Vybrat vše

# MyCommand v3.6 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
# - 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)
# - Use the dot . for decimal cost Example = cost : 5.5
# - 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
  cost: 0
  delaytimer: 5
'2':
  command: /mycmd-dice
  type: text
  text:
  - $red You got $darkgreen$rnd6 !
  runcmd:
  - /sample
  cost: 0
  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
'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.
  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: /mycmdsample16
  type: text
  text:
  - $red Text of command $black16
  runcmd:
  - /sample
  cost: 0
  delaytimer: 5
'17':
  command: /mycmdsample17
  type: text
  text:
  - $red Text of command $black17
  runcmd:
  - /sample
  cost: 0
  delaytimer: 5
'18':
  command: /mycmdsample18
  type: text
  text:
  - $red Text of command $black18
  runcmd:
  - /sample
  cost: 0
  delaytimer: 5
'19':
  command: /mycmdsample19
  type: text
  text:
  - $red Text of command $black19
  runcmd:
  - /sample
  cost: 0
  delaytimer: 5
'20':
  command: /mycmdsample20
  type: text
  text: test
  - $red Text of command $black20
  runcmd:
  - /vip
  cost: 0
  delaytimer: 5

Re: MyCommands

Napsal: 06 pro 2012, 21:17
od nejento
Nic jako /vip tam není.

Re: MyCommands

Napsal: 06 pro 2012, 21:22
od fantomas2
úplne dole ale ja to ani neviem nastaviť len som skúšal a kvoli tomu mi to dalo automatiky zálohu :( nevieš mi to nastaviť ked napíšem /vip tak to napíše text ?

Re: MyCommands

Napsal: 06 pro 2012, 21:27
od nejento
To bys musel ale nastavit jinak. Takhle jak to máš nastavený, tak akorát příkaz /mycmdsample20 vykoná příkaz /vip

Kód: Vybrat vše

'20':
  command: /vip
  type: runcommand
  text:
  - 'ZDE SI DOPLŇ TEXT'
  runcmd:
  - /ZDE_DOPLŇ_PŘÍKAZ
  cost: 0
  delaytimer: 5

Re: MyCommands

Napsal: 06 pro 2012, 21:30
od fantomas2
A keby som chcel príkaz 21 tak ako ? len to tam ase doplním alebo sa to robí cez príkaz ?
//EDIT a keď chcem používať farby tak ako & toto alebo toto $ ???

Re: MyCommands

Napsal: 06 pro 2012, 21:37
od fantomas2
A ešte by som chcel napr. moje VIP majú právo na /time day a chcel som aby to bolo /den tak by sa v Tom mycommands nastavilo že keď niekto napíše /den tak sa dá den ako to spravím ?,

Re: MyCommands

Napsal: 06 pro 2012, 21:47
od fantomas2
Dík za ignoraci tochto príspevku
Servery o velikosti 5 až 100+ slotů (max 250)
MySQL databáze a komunikační server v ceně
Vysoce výkonné hardwarové servery připojené k páteřní lince
Pravidelné zálohy databáze a herního serveru
Kvalitní technická podpora (Fórum, SMS, ICQ, Tickety, E-mail)
Podpora Craft Bukkit pluginů

Re: MyCommands

Napsal: 06 pro 2012, 21:52
od zdenda204
1) všichni to řeši odzadu. Tudíš si akorát prodlužuješ čekání
2) To už jsem někde četl....Nepsal jsi to i v jiném topicu ?

Re: MyCommands

Napsal: 06 pro 2012, 21:53
od fantomas2
Nie okopíroval som to z topicu niekto to písal :D :D a nevieš či na tie príkazy treba aj permissions ??

Re: MyCommands

Napsal: 06 pro 2012, 21:57
od zdenda204
MyCommand nepoužívám....Projdi si jeho stránky....
Ale myslím že bude potřeba jak pro ten speciální příkaz v MyCommands tak ten permission pro příkaz který to vyvolá