MyCommand
-
- Příspěvky: 717
- Věk: 26
- Registrován: 31 kvě 2013, 20:00
- Reputation: 23
- Kontaktovat uživatele:
Re: MyCommand
pred to command musíš dať 2 medzery.
-
- Příspěvky: 143
- Registrován: 13 srp 2015, 07:28
- Reputation: 0
Re: MyCommand
Mám to takhle a furt to píše Ops,check your prmissions.
Kód: Vybrat vše
command: /kupvip
type: RUN_CONSOLE
runcmd:
- /pex user $player group add vip "" 604800
- /pex reload
- /broadcast &aHrac &e&l$player &asi &aprave &aaktivoval &6&lVIP &ana &atyden &aza &c&l20000 &adolaru.
- /broadcast &aPokud &asi &achceš &ataky &aaktivovat &6&lVIP &astači &anapsat /kupvip .
error-message: "&4Nemas &4tolik &4penez &4%s $ &4pro &4tento &4prikaz!"
cost: 20000
permission-required: false
-
- Příspěvky: 717
- Věk: 26
- Registrován: 31 kvě 2013, 20:00
- Reputation: 23
- Kontaktovat uživatele:
Re: MyCommand
pred permission-required: false daj tiež 2 medzery
-
- Příspěvky: 143
- Registrován: 13 srp 2015, 07:28
- Reputation: 0
Re: MyCommand
Mám je to všechno v jedné rovině ve stejném sloupci spiš se mi zda že je jiný příkaz na to RUN_CONSOLE.
-
- Příspěvky: 717
- Věk: 26
- Registrován: 31 kvě 2013, 20:00
- Reputation: 23
- Kontaktovat uživatele:
Re: MyCommand
ten RUN_CONSOLE je správny
-
- Příspěvky: 143
- Registrován: 13 srp 2015, 07:28
- Reputation: 0
Re: MyCommand
Tak kde je chyba
-
- Příspěvky: 717
- Věk: 26
- Registrován: 31 kvě 2013, 20:00
- Reputation: 23
- Kontaktovat uživatele:
Re: MyCommand
Máš ten príkaz pomenovaný ? Riadok pred riadkom s "command"
-
- Příspěvky: 143
- Registrován: 13 srp 2015, 07:28
- Reputation: 0
Re: MyCommand
Ne mam ten konfig takto .Popřípadě mi pošli vzor jak bych to měl mít.
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 , iconmenu , scoreboard
# 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,you also can change the permission error message with "permission-error:"
# Custom error-message for invalid args ,put "error-message:" line in a command.
# You can use itemcost : 'ID:AMOUNT' for set a cost with items.
# http://dev.bukkit.org/server-mods/mycommand/pages/configuration-and-example
options:
commandsnumber: 1
'1':
command: /kupvip
type: RUN_CONSOLE
runcmd:
- /pex user $player group add vip "" 604800
- /pex reload
- /broadcast &aHrac &e&l$player &asi &aprave &aaktivoval &6&lVIP &ana &atyden &aza &c&l20000 &adolaru.
- /broadcast &aPokud &asi &achceš &ataky &aaktivovat &6&lVIP &astači &anapsat /kupvip .
error-message: "&4Nemas &4tolik &4penez &4%s $ &4pro &4tento &4prikaz!"
cost: 20000
permission-required: false
-
- Příspěvky: 717
- Věk: 26
- Registrován: 31 kvě 2013, 20:00
- Reputation: 23
- Kontaktovat uživatele:
Re: MyCommand
no najprv prestaň používať 2 roky starú verziu pluginu (vidím to v configu)
-
- Příspěvky: 1
- Registrován: 27 črc 2016, 22:11
- Reputation: 0
Re: MyCommand
Děkuji za tento příspěvěk, moc mi to pomohlo i ohledně mého problému
Kdo je online
Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 32 hostů