craftingyourself
Vorarbeiter
Hey ich habe eine frage wie kann ich bei mycommand das so machen wen ein z.b. /? macht das der gekickt wird also ich suche den command um sich selber zu nehmen und nicht jemand anderes wie $arg1??
# MyCommand v3.4.1 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
# - 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: 1
'1':
command: /?
type: runcommand
runcmd:
- /kick $player
cost: 0
delaytimer: 0
googel.de
# MyCommand v3.7 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: /neu $player
type: text
text:
- Du bist nun Member! Du hast ein Starterkit erhalten, mit /home start kommst du wieder hier her!
runcmd:
- /manuadd $player Member world
- /manuadd $player Member farmwelt
- /manuadd $player Member stadt
- /expand 100 down
- /expand 70 up
- /region define $player_1
- /region addowner $player
- /kit start $player
- /$player:sethome start
cost: 0
delaytimer: 1