Stránka 1 z 1

Problém s pluginem MyCommand

Napsal: 20 lis 2013, 00:03
od MachiavelliCZ
93.91.250.141:27626

Zdravím. Mám problém s pluginem MyCommand... Nefunguje mi nic, co tam nastavím...
Ani toto:
Spoiler: zobrazit

Kód: Vybrat vše

'1':
 command: /centrum
 type: runconsole
 runcmd:
 - /spawn

Když dám pak ve hře příkaz /centrum, napíše mi to chybu neznámý příkaz.
Reload pluginu jsem samozřejmě dal...

Re: Problém s pluginem MyCommand

Napsal: 20 lis 2013, 00:04
od newshift
MachiavelliCZ píše:93.91.250.141:27626

Zdravím. Mám problém s pluginem MyCommand... Nefunguje mi nic, co tam nastavím...
Ani toto:
Spoiler: zobrazit

Kód: Vybrat vše

'1':
 command: /centrum
 type: runconsole
 runcmd:
 - /spawn

Když dám pak ve hře příkaz /centrum, napíše mi to chybu neznámý příkaz.
Reload pluginu jsem samozřejmě dal...

Kód: Vybrat vše

'1':
  command: /centrum
  type: runcommand
  text:
  - '$red '
  runcmd:
  - '/spawn'
  cost: 0
  delaytimer: 5

Re: Problém s pluginem MyCommand

Napsal: 20 lis 2013, 00:07
od MachiavelliCZ
Bohužel ani toto mi nefunguje, stejný problém...

Re: Problém s pluginem MyCommand

Napsal: 20 lis 2013, 00:12
od newshift

Kód: Vybrat vše

# 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
# 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,$arg5,$multiargs) Example - runcmd : /time $arg1
# For Delayed co   mmand 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 use a custom permission node by placing "permission-node:" field in a command.
# Custom error-message for invalid args ,put "error-message:" line in a command.
# http://dev.bukkit.org/server-mods/mycommand/pages/configuration-and-example
options:
  commandsnumber: 100
'1':
  command: /centrum
  type: runcommand
  text:
  - '$red '
  runcmd:
  - '/spawn'
  cost: 0
  delaytimer: 5

Re: Problém s pluginem MyCommand

Napsal: 20 lis 2013, 00:18
od MachiavelliCZ
Vyreseno, nevim proc, ale bylo to buildem, hodil jsem tam starsi verzi MyCommand v4.0.0...

Re: Problém s pluginem MyCommand

Napsal: 20 lis 2013, 19:08
od marty_
jj kdysi sem se s tim taky potykal, tak sem se vratil k osvedcene :
MyCommand v3.5
a vse na 100% ok i na 1.6.4 R2.0