MyCommand Commands.yml

MyCommand Commands.yml


# 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: 9
'1':
  command: /Welcome
  type: text
  text:
  - '&5 Hello &a$player!'
  - '&6 Welcome to &bSplit&6Craft &6Server!'
  - '&4&lF&rred&6Rc.'
'2':
  command: /coal
  type: text
  text:
  - '&5Donate &0Coal &5Pulsa:&6Rp35000 &5Rekening:&6Rp25000'
  - '&2- &a/hat'
  - '&2- &a/me'
  - '&2- &a/nick'
  - '&2- &a/tp'
  - '&2- &a/heal'
  - '&aJoin Full Server'
  - '&4$ &f&a75000'
  - '&a/kits coal
'3':
  command: /coal
  type: addpermission
  permission-node: fredrc.coal
  permission-error: '&4You dont Have Permission! &6- &4&lF&rred&6Rc'
'4':
  command: /iron
  type: text
  text:
  - '&5Donate &7Iron &5Pulsa:&6Rp65000 &5Rekening:&6Rp50000'
  - '&2- &a/hat'
  - '&2- &a/me'
  - '&2- &a/nick'
  - '&2- &a/tp'
  - '&2- &a/tphere'
  - '&2- &a/tptoggle'
  - '&2- &a/heal'
  - '&2- &a/co i'
  - '&2- &a/d player <Player>'
  - '&2- &a/fly'
  - '&aJoin Full Server'
  - '&4$ &f&a150000'
  - '&a/kits iron'
'5':
  command: /iron
  type: addpermission
  permission-node: fredrc.iron
  permission-error: '&4You dont Have Permission! &6- &4&lF&rred&6Rc'
'6':
  command: /donate
  type: iconmenu
  text: //
  iconmenu_title: '&cMyCommand &4ItemMenu'
  iconmenu_size: 9
  iconmenu_commands:
  - '0:263:0:/coal:&8Coal:&6Donate Coal&4!'
  - '1:265:0:/iron:&7Iron:&6Donate Iron&4!'
  - '2:263:0:Belum Ada:Belum Ada:&6Donate&4!'
  - '3:263:0:Belum Ada:Belum Ada:&6Donate&4!'
  - '4:263:0:Belum Ada:Belum Ada:&6Donate&4!'
'7':
  command: /donate
  type: addpermission
  permission-node: fredrc.donate
  permission-error: '&4You dont Have Permission! &6- &4&lF&rred&6Rc'
'8':
  command: /donatecoal
  type: runcommand
  runcmd:
  - /manuadd $arg1 coal
  - /broadcast &6Terima Kasih Kepada $arg1 Karena Telah Donate &8Coal&4!
'9':
  command: /donatecoal
  type: addpermission
  permission-node: fredrc.donatecoal
  permission-error: '&4You dont Have Permission! &6- &4&lF&rred&6Rc'

No comments:

Post a Comment