MyCommands
Napsal: 24 kvě 2013, 17:45
od fantomas2
93.91.250.108:37116
Ahoj vytvoril sem si pár príkazu v MyCommand no jenže nejdou, vše mám správne dával sem i reset i /pm reload mycommand...
pri zadaní príkazu to napíše že príkaz neexzistuje
tu je config: commands
Ahoj vytvoril sem si pár príkazu v MyCommand no jenže nejdou, vše mám správne dával sem i reset i /pm reload mycommand...
pri zadaní príkazu to napíše že príkaz neexzistuje
tu je config: commands
Spoiler: zobrazit
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 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
# 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: 20
'1':
command: /ironvip
type: text
text:
- '&a---------------------'
- '&eKupa &8Iron&eVIP'
- '&aSMS pro cesku republiku'
- '&aFAKAHEDA D27642 $player IRON na cislo 9033350'
- '&8Iron&eVIP &astoji 50 kc a je na 2 mesice'
- '&a---------------------'
- '&eKupa &8Iron&eVIP'
- '&aSMS pre slovensku republiku'
- '&aFAKAHEDA D27642 2 $player IRON na cislo 8866'
- '&8Iron&eVIP &astoji 2 eura a je na 2 mesiace'
- '&a---------------------'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'2':
command: /goldvip
type: text
text:
- '&a--------------------'
- '&eKupa &eGold&6VIP'
- '&aSMS pre cesku republiku'
- '&aFAKAHEDA D27642 $player GOLD na cislo 9033379'
- '&eGold&6VIP &astoji 79 kc a je na 2 mesiace'
- '&a--------------------'
- '&eKupa &eGold&6VIP'
- '&aSMS pre cesku republiku'
- '&aFAKAHEDA D27642 3.2 $player GOLD na číslo 8866'
- '&eGold&6VIP &astoji 3.20 eura a je na 2 mesiace'
- '&a--------------------'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'3':
command: /diavip
type: text
text:
- '&a--------------------'
- '&eKupa &bDia&eVIP'
- '&aSMS pre cesku repubiku'
- '&aFAKAHEDA D27642 149 $player DIA na cislo 90333'
- '&bDia&eVIP &astoji 149 kc a je na 2 mesice'
- '&a--------------------'
- '&eKupa &bDia&eVIP'
- '&aSMS pre slovensku republiku'
- '&aFAKAHEDA D27642 6 $player DIA na číslo 8866'
- '&bDia&eVIP &astoji 6 eura a je na 2 mesiace'
- '&a--------------------'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'4':
command: /ironvyhody
type: text
text:
- '&4[&8Iron&eVIP &avyhody&4]'
- '&a/kit vip - vip vybava'
- '&a/fly - letaci mod'
- '&a/heal - uleceni'
- '&a/feed - najedeni'
- '&a/me - oznameni co prave delate'
- '&a/hat - date block na hlavu'
- '&aVIP slot, pripojite se kdyz je plno'
- '&aJina barva v tabu'
- '&aPred jmenem &8Iron&eVIP'
- '&aNevidite automaticke spravy ktere otravuji!'
- '&aMate prednost pred resenim problemu'
- '&aNad hlavou mate jinu barvu nicku'
- '&aMuzete delat resky vo velikosti 60 x 60'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'5':
command: /goldvyhody
type: text
text:
- '&4[&eGold&6VIP &avyhody]'
- '&a/kit vip - vip vybava'
- '&a/heal - uleceni'
- '&a/hat - date block na hlavu'
- '&a/fix all - opraveni itemu'
- '&a/nick - zmena vaseho nicku'
- '&a/craft - otevreni craftingtablu'
- '&a/msg muzete psat i farebne'
- '&a/me - oznamite co prave delate'
- '&a/time day - date den'
- '&a/time night - date noc'
- '&a/sun sun - vypnete dest'
- '&akdyz zemrete nestratite XP'
- '&a/feed - nasnidate se'
- '&a/afk - oznamite ze nejste pritomen'
- '&aPripojite se ikdyz je server plnej'
- '&aMate prednost pred resenim problemu'
- '&aPred jmenem &eGold&6VIP'
- '&aNevidite automaticke spravy ktere otravuji'
- '&aV tabu mate jinu barvu nicku'
- '&aNad hlavou mate jinu barvu nicku'
- '&aMuzete delat resky vo velikosti 70x70 + 6 residenci'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'6':
command: /diavyhody
type: text
text:
- '&4[&bDia&eVIP &avyhody]'
- '&a/heal - uleceni'
- '&a/feed - nasnidani'
- '&a/jump - skocite tam kde se kukate'
- '&a/fix all - opraveni itemu'
- '&a/time day /time night - ovladani dna a noci'
- '&a/sun sun - vypnete dest'
- '&a/hat - date si block na hlavu'
- '&a/nick - zmenite si svuj nick'
- '&a/msg muzte psat i barevne'
- '&a/me - oznamite co prave delate'
- '&a/craft - otevrete si svuj craftingtable'
- '&akdyz zemrete nestratite sve XP'
- '&aMate prednost pred resenim problemu'
- '&aMate jinu barvu v tabu'
- '&aMate jinu barvu nad hlavou'
- '&a/kit vip - vip vybava'
- '&aVIP slot - pripojite se ikdyz je plno'
- '&a/afk - oznamite ze nejste pritomen'
- '&aMuzete delat resky vo velikosti 80x80 + 8 residenci'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'7':
command: /informace
type: text
text:
- 'test'
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: /mycmd-help 2
type: text
text:
- '$brightgreen ---- MyCommand Help Page Two ---'
- '$gold Test Help 2'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'17':
command: /mycmd-help 1
type: text
text:
- '$brightgreen ---- MyCommand Help Page One ---'
- '$gold Test Help 1'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'18':
command: /mycmd-help
type: text
text:
- '$brightgreen ---- MyCommand Help Main Page---'
- '$gold Test Help '
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'19':
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
'20':
command: /mycmdsample20
type: text
text:
- '$red Text of command $black20'
runcmd:
- '/sample'
cost: 0
delaytimer: 5