Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # MyCommand v3.2 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)
- # - 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
- delaytimer: 5
- '2':
- command: /mycmd-dice
- type: text
- text:
- - $red You got $darkgreen$rnd6 !
- runcmd:
- - /sample
- delaytimer: 5
- '3':
- command: /mycmd-runcommand
- type: runcommand
- text:
- - $red Text of command $black3
- runcmd:
- - /list
- delaytimer: 5
- '4':
- command: /mycmd-args
- type: runcommand
- text:
- - $red Text of command $black4
- runcmd:
- - /time $arg1 $arg2
- delaytimer: 5
- '5':
- command: /mycmd-runcmdtimer
- type: runcommand
- text:
- - $red Text of command $black5
- runcmd:
- - $delay$/say 3..
- - $delay$/say 2..
- - $delay$/say 1..
- delaytimer: 1
- '6':
- command: /mycmd-broadcast
- type: broadcast-text
- text:
- - $blue MyCommand Broadcast Test
- runcmd:
- - /sample
- delaytimer: 5
- '7':
- command: /mycmd-spoutsample
- type: spout-text
- text:
- - $green -Spout Text-
- - $black Line 2
- runcmd:
- - /sample
- delaytimer: 5
- '8':
- command: /mycmd-runconsole
- type: runconsole
- text:
- - $red Text of command $black8
- runcmd:
- - /say This /say it's performed by console.
- 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
- 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
- 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
- delaytimer: 5
- '12':
- command: /mycmd-online
- type: text
- text:
- - $red There are $online players online.
- runcmd:
- - /sample
- delaytimer: 5
- '13':
- command: /ClearChat
- type: broadcast-text
- text:
- - '%Repeat%100% '
- - $blueThe chat has been cleared by a staff member for an unknown reason
- - $redThe chat has been cleared by a staff member for an unknown reason
- - $darkgreenThe chat has been cleared by a staff member for an unknown reason
- - $purpleThe chat has been cleared by a staff member for an unknown reason
- - $yellowThe chat has been cleared by a staff member for an unknown reason
- runcmd:
- - /sample
- delaytimer: 5
- '14':
- command: /fleave
- type: broadcast-text
- text:
- - $yellow$player left the game.
- runcmd:
- - /sample
- delaytimer: 5
- '15':
- command: /fjoin
- type: broadcast-text
- text:
- - $yellow$player joined the game.
- runcmd:
- - /sample
- delaytimer: 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement