Advertisement
Guest User

MyCommands

a guest
Jul 18th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 12.83 KB | None | 0 0
  1. gamemode:
  2.   command: /gm
  3.   type: ALIAS
  4.   alias: /gamemode
  5.   type: TEXT
  6.   text:
  7.   - '&6&lSky&c&lPvP &8┃ &cVerwende&8: &7/gm 0/1/2/3'
  8.   permission-required: true
  9. simple_dice:
  10.   command: /mycmd-dice
  11.   type: TEXT
  12.   text:
  13.   - '&0[&6Dice&0] &eYou got &6$rnd6 !'
  14.   permission-required: true
  15.   permission-node: mycommand.cmd.dice
  16.   permission-error: "&a$player! , &2You can't use this command!"
  17. tab_completer:
  18.   command: /greets
  19.   type: RUN_COMMAND
  20.   runcmd:
  21.   - '$broadcasttext$&0[&e$player&0]&r $multiargs'
  22.   required_args: 1
  23.   register: true
  24.   tab_completer:
  25.   - Hi
  26.   - Hello!
  27.   - Well Met!
  28. shortcut:
  29.   command: /l
  30.   type: RUN_COMMAND
  31.   runcmd:
  32.   - '/list'
  33.   cost: 0
  34. Hilfe:
  35.   command: /Hilfe
  36.   type: TEXT
  37.   text:
  38.   - "&7× &8&m----------&7 × &6Hilfe &7× &8&m----------&7 ×"
  39.   - "&7"
  40.   - "&8» &c/Regeln &7Zeig die Regeln an!"
  41.   - "&7"
  42.   - "&7"
  43.   - "&7"
  44.   - "&7"
  45.   - "&7"
  46.   permission-required: false
  47. mycmd_colors:
  48.   command: /mycmd-colors
  49.   type: TEXT
  50.   text:
  51.   - "&11 &22 &33 &44 &55 &66 &77 &88 &99 &00 &aa &bb &cc &dd &ee &ff"
  52.   - "&nn&r &mm&r &ll&r &oo&r $random_color :D"
  53.   permission-required: false
  54. shortcut_with_arguments:
  55.   command: /t
  56.   type: RUN_COMMAND
  57.   runcmd:
  58.   - '/time $arg1 $arg2'
  59.   cost: 0
  60.   error-message: '&cType &e/t set day'
  61.   require_all_arguments: true
  62. delay_example:
  63.   command: /mycmd-countdown
  64.   type: RUN_COMMAND
  65.   runcmd:
  66.   - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color3..'
  67.   - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color2..'
  68.   - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color1..'
  69.   - '$delay$$broadcasttext$&0[&eCountdown&0] &eGO!!'
  70.   cost: 0
  71.   delaytimer: 1
  72.   delaytimer_format: SECONDS
  73. broadcast:
  74.   command: /bc
  75.   type: BROADCAST_TEXT
  76.   text:
  77.   - '&6&lSky&c&lPvP &8┃ &a$multiargs'
  78.   required_args: 0
  79. run_by_console:
  80.   command: /mycmd-runconsole
  81.   type: RUN_CONSOLE
  82.   runcmd:
  83.   - /say This message is getting performed by the console.
  84.   cost: 0
  85. warmups_cooldowns_info:
  86.   command: /warmupsandcooldowns
  87.   type: TEXT
  88.   text:
  89.   - 'Put your command over /warmupsandcooldowns'
  90.   - 'And change type : from text to WARMUP for Warmups and COOLDOWN for Cooldowns'
  91.   - 'adjust the warmup and cooldowns time with delaytimer'
  92.   delaytimer: 5
  93. add_permission:
  94.   command: /command-to-override
  95.   type: ADD_PERMISSION
  96.   text:
  97.   - '$6Add an extra permission to another existing command'
  98.   permission-node: permission.name
  99.   cost: 0
  100. some_placeholders:
  101.   command: /mycmd-playerinfo
  102.   type: TEXT
  103.   text:
  104.   - '&2Player name : &a$player'
  105.   - '&2World : &a$world'
  106.   - '&2Health : &a$health &2Food : &a$food'
  107.   - '&2Exp : &a$exp &2Level : &a$level'
  108.   - '&2Gamemode : &a$gamemode'
  109.   - '&2LastDamage : &a$lastdamage'
  110. mycmd_list_command:
  111.   command: /mycmd-online
  112.   type: TEXT
  113.   text:
  114.   - '&2There are &a$online &2players online.'
  115.   - '&a $ponline'
  116. clear_chat:
  117.   command: /cc
  118.   type: BROADCAST_TEXT
  119.   text:
  120.   - '%Repeat%100% '
  121.   - '&6&lSky&c&lPvP &8┃ &7Der &cChat &7wurde von &c$player &7geleert&8!'
  122. shortcut_with_multiargs:
  123.   command: /mycmd-shortcut
  124.   type: RUN_COMMAND
  125.   runcmd:
  126.   - '/say $multiargs'
  127. random_example:
  128.   command: /rockpaperscissors
  129.   type: RUN_COMMAND_RANDOM
  130.   runcmd:
  131.   - '/me Rock!'
  132.   - '/me Paper!'
  133.   - '/me Scissors!'
  134. iconmenu_page1:
  135.   command: /iconmenu
  136.   type: ICON_MENU
  137.   text:
  138.   - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
  139.   - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
  140.   iconmenu_title: '&cMyCommand &4ItemMenu'
  141.   iconmenu_size: 27
  142.   iconmenu_commands:
  143.   - 0:GOLDEN_APPLE:0:/help:&2Help:&aOpen the help menu
  144.   - 1:COMPASS;DAMAGE_ALL;1:0:/mycmd:Menu:MyCommand menu
  145.   - 9:EMERALD:0:/list:Player List:&bShow online players
  146.   - 10:LEGACY_WATCH:0:/time set 0:Day:Turn day
  147.   - 11:PLAYER_HEAD%$player:0:/command:Title:Description
  148.   - 26:LEGACY_WOOL:11:%openiconmenu%/iconmenu2:Next Page:&cChange IconMenu Page;&a--------->
  149.   cost: 0
  150.   delaytimer: 5
  151. iconmenu_page2:
  152.   command: /iconmenu2
  153.   type: ICON_MENU
  154.   iconmenu_title: 'Page 2'
  155.   iconmenu_size: 9
  156.   iconmenu_commands:
  157.   - '0:LEGACY_GOLDEN_APPLE:0:Do something:Hello!:=)'
  158.   - '8:LEGACY_WOOL:13:%openiconmenu%/iconmenu:Return Back:&cChange IconMenu Page;&a<---------'
  159.   cost: 0
  160.   delaytimer: 5
  161. help_page_0:
  162.   command: /mycmd-help
  163.   type: TEXT
  164.   text:
  165.   - '&a ---- &6MyCommand Help &eMain Page &a----'
  166.   - '&e This is the Main page of the help '
  167.   - '&e Type &6/mycmd-help 2 &efor see the second page'
  168. help_page_1:
  169.   command: /mycmd-help 2
  170.   type: TEXT
  171.   text:
  172.   - '&a ---- &6MyCommand Help &ePage two &a----'
  173.   - '&e And this is the page two of the help'
  174. itemcost_example:
  175.   command: /itemcostexample
  176.   type: TEXT
  177.   text:
  178.   - '$random_colorYou have spent 5 Cobblestone for see this message.'
  179.   itemcost: 'COBBLESTONE:5'
  180. scoreboard_example:
  181.   command: /sbexample
  182.   type: SCOREBOARD
  183.   text:
  184.   - The Scoreboard will get removed after DelayTimer(sec). If 0 don't remove
  185.  - Use $marquee$ as a prefix of the scoreboard name for scroll the text.
  186.  - Use scoreboard_refresh_ticks, for determinate how frequent the plugin have to update the scoreboard.
  187.  scoreboard_name: "$marquee$&1M&2y&3C&4o&5m&6m&7a&8n&9d &aS&bc&co&dr&ee&fb&0o&1a&2r&3d &nExample&r "
  188.  scoreboard_text:
  189.  - "4;&c&lCoordinates:"
  190.  - "3;&6X:&e $locX &6Y:&e $locY &6Z:&e $locZ "
  191.  - "2;&c&lPlayer Info:"
  192.  - "1;&6Health: &e$health"
  193.  - "0;&6Food: &e$food"
  194.  scoreboard_refresh_ticks: 5
  195.  delaytimer: 10
  196. bungeecord_example:
  197.  command: /bungeetest
  198.  type: BUNGEE_TP
  199.  server_name: hub
  200. allowed_worlds_example:
  201.  command: /onlynether
  202.  type: TEXT
  203.  text:
  204.  - "&cYea,The Nether!"
  205.  allowed_worlds:
  206.  - world_nether
  207. per_world_commands:
  208.  command: /perworldcommand
  209.  type: RUN_COMMAND
  210.  runcmd:
  211.  - "$world=%world%/me This command will be performed only if you are in the world"
  212.  - "$world=%world_nether%/me And this only if you are in the nether"
  213.  permission-required: false
  214. executefor_example:
  215.  command: /executeforall
  216.  type: RUN_CONSOLE
  217.  executefor: ONLINE_PLAYERS
  218.  runcmd:
  219.  - "/tp $player 0 64 0"
  220.  permission-required: false
  221. ouch:
  222.  command: /ouch
  223.  type: RUN_COMMAND
  224.  runcmd:
  225.  - '%PlayerOptions%damage: 1'
  226.  - '$text$&c<3'
  227.  permission-required: false
  228. heal_me:
  229.  command: /mycmd-heal
  230.  type: RUN_COMMAND
  231.  runcmd:
  232.  - '%PlayerOptions%setHealth: 20'
  233.  - '%PlayerOptions%setFoodLevel: 20'
  234.  - '%PlayerOptions%sendMessage: &aHealed!'
  235.  permission-required: false
  236. world_guard_example:
  237.  command: /checkregion
  238.  type: TEXT
  239.  text:
  240.  - 'You are in $wgregionname region!'
  241.  allowed_wg_region:
  242.  - 'region_name_here'
  243. custom_cmd_cooldown:
  244.  command: /cooldown-example
  245.  type: TEXT
  246.  text:
  247.  - '&aBla bla bla, type the command again for see the cooldown effect.'
  248.  cooldown: 5
  249. custom_cmd_warmup:
  250.  command: /warmup-example
  251.  type: TEXT
  252.  text:
  253.  - '&aYou have waited 5 second for see this command performed'
  254.  warmup: 5
  255. call_url:
  256.  command: /call-url
  257.  type: CALL_URL
  258.  url: 'http://localhost/yourscript.php?variable=$arg1&player=$player'
  259.   get_output : true
  260.   show_output_ingame : true
  261.   save_output_as : httpResponse
  262. script_example_420:
  263.   command: /example420
  264.   type: RUN_COMMAND
  265.   runcmd:
  266.   - $Script$%if%$arg1==password
  267.   - $text$&eRight!
  268.   - $Script$%if%$arg1==420
  269.   - $text$&aBLAZE IT
  270.   - $Script$%else%
  271.   - $text$Password not correct
  272. bar_text:
  273.   command: /bar_example
  274.   type: BAR_API_TEXT
  275.   text:
  276.   - '&aHello $random_color$player'
  277.   bar_seconds: 5
  278.   bar_percentage: 8
  279.   bar_style: SEGMENTED_20
  280.   bar_flag: DARKEN_SKY
  281.   bar_color: PINK
  282. rawmessage_example:
  283.   command: /raw-example
  284.   type: RAW_TEXT
  285.   text:
  286.   - '&aHello &b$player! &aHover your mouse over me!; &dMAGIC'
  287.   - '&0[&d*&0]&e Click me; &eClick Here for suggest the command &d/mycmd;/mycmd'
  288.   - '$RUN_COMMAND$&0[&e*&0]&c Set the time to day; &eClick for Execute;/time set day'
  289.   - '$OPEN_URL$&0[&e*&0]$random_color Open Google.com; &eClick for open;http://www.google.com'
  290. lottery_example:
  291.   command: /lottery_example
  292.   type: RUN_COMMAND
  293.   runcmd:
  294.   - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  295.   - '$text$&6Welcome to &eMyCommand &6Lottery!'
  296.   - '$delay$'
  297.   - '$text$&b+------------------------------------'
  298.   - '$text$&b| &2Prize of today :'
  299.   - '$text$&b| &aCOBBLESTONE, BREAD, APPLE, GOLD_INGOT or DIAMOND! '
  300.   - '$text$&b+------------------------------------'
  301.   - '$text$&ePlease wait for the results!'
  302.   - '$delay$$delay$$delay$'
  303.   - '$delay$$text$&0[$random_colorLottery&0] &65...'
  304.   - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  305.   - '$delay$$text$&0[$random_colorLottery&0] &64...'
  306.   - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  307.   - '$delay$$text$&0[$random_colorLottery&0] &63...'
  308.   - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  309.   - '$delay$$text$&0[$random_colorLottery&0] &62...'
  310.   - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  311.   - '$delay$$text$&0[$random_colorLottery&0] &61...'
  312.   - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  313.   - '$delay$'
  314.   - '%PlayerOptions%playSound: ENTITY_EXPERIENCE_ORB_PICKUP:1.0F:1'
  315.   - '$Script$%PlayerData%lotteryprize=$GetRandomStringFromList%COBBLESTONE;DIAMOND;LEGACY_GOLD_INGOT;BREAD;APPLE%'
  316.   - '$Script$%PlayerData%amount_lotteryprize=$randomnumber%3%'
  317.   - '$delay$'
  318.   - '$text$&b+------------------------------------'
  319.   - '$text$&b| &6Congratulation! You won : &e $PlayerData%amount_lotteryprize% $PlayerData%lotteryprize%! '
  320.   - '$text$&b+------------------------------------'
  321.   - '%PlayerOptions%addItem: $PlayerData%lotteryprize%:$PlayerData%amount_lotteryprize%'
  322.   delaytimer: 1
  323. dailybonus:
  324.   command: /dailybonus
  325.   type: RUN_COMMAND
  326.   runcmd:
  327.   - "$Script$%if%$todaydate!=$PlayerData%DailyBonus%"
  328.   - "$text$&0[&6Daily&eBonus&0]&b Hello $player! Here, your daily reward!"
  329.   - "$text$&0[&6Daily&eBonus&0]&b Received &a1 DIAMOND!"
  330.   - "%PlayerOptions%addItem: DIAMOND:1"
  331.   - "$Script$%PlayerData%DailyBonus=$todaydate"
  332.   - "$text$&0[&6Daily&eBonus&0]&b Come back tomorrow!"
  333.   - "$Script$%else%"
  334.   - "$text$&0[&6Daily&eBonus&0]&b That's enough for today! Come back tomorrow!"
  335.   permission-required: false
  336. broadcast_message_with_perm:
  337.   command: /brmsgwithperm
  338.   type: BROADCAST_TEXT
  339.   text:
  340.   - "Only the player with the correct permission can see this message"
  341.   broadcast_message_permission_node: permission.for.see.this.message
  342. dynamiciconmenu:
  343.   command: /dynamiciconmenu
  344.   type: ICON_MENU
  345.   iconmenu_size: 36
  346.   iconmenu_mode: DYNAMIC
  347.   permission-required: false
  348.   iconmenu_commands:
  349.   - "0:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  350.   - "1:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  351.   - "2:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  352.   - "3:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  353.   - "4:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  354.   - "5:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  355.   - "6:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  356.   - "7:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  357.   - "8:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  358.   - "9:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  359.   - "11:CLOCK:0:%stayopen%:&aServer time - $random_color$time:&bToday Date - &6 $todaydate"
  360.   - "13:BEACON:0:/mycmd:&6MyCommand:&eLaunch MyCommand"
  361.   - "15:ENDER_PEARL<next>ENDER_EYE<next>AIR:0:%stayopen%:???<next>!!!<next>AIR: "
  362.   - "17:YELLOW_WOOL<next>LIME_WOOL:4:/command_example: : "
  363.   - "18:LIME_WOOL<next>YELLOW_WOOL:5:/command_example: : "
  364.   - "19:BOOK<next>2,BOOK<next>3,BOOK:0:%stayopen%:$random_colorPage 1<next>$random_colorPage 2<next>$random_colorPage 3:1<next>2<next>3"
  365.   - "22:1,IRON_CHESTPLATE<next>GOLDEN_CHESTPLATE;PROTECTION_ENVIRONMENTAL;1<next>DIAMOND_CHESTPLATE;PROTECTION_EXPLOSIONS;3:0:/command_example::Description;Line 2..."
  366.   - "25:BARRIER:0:%close%:Close this menu:&cClick here;&cto close"
  367.   - "26:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  368.   - "27:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  369.   - "28:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  370.   - "29:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  371.   - "30:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  372.   - "31:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  373.   - "32:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  374.   - "33:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  375.   - "34:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  376.   - "35:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  377.   delaytimer: 2
  378. holographic_example:
  379.   command: /holoexample
  380.   type: HOLOGRAPHIC_TEXT
  381.   text:
  382.   - "&eHello $player, how are you?"
  383.   - "$random_coloryeah, i'm fineeeee thanks!"
  384.   - "&dCurrent time &5$time"
  385.   delaytimer: 3
  386. merchant_example:
  387.   command: /mymerchant
  388.   type: MERCHANT
  389.   merchant_title: '&3Hello &b$player'
  390.   merchant_items:
  391.   - STONE_SWORD:1:0:DAMAGE_ALL;1;FIRE_ASPECT;1:&3Old Sword:&bA very old sword<cost>GOLD_INGOT:20<max_uses>2
  392.   - STONE_SWORD:1<cost>EMERALD:5<max_uses>4
  393.   - IRON_BLOCK:1<cost>EMERALD:1<cost>GOLD_INGOT:1
  394.   - GOLD_BLOCK:1<cost>IRON_INGOT:10
  395.   - EMERALD_BLOCK:1<cost>GOLD_INGOT:50
  396.   - DIAMOND_BLOCK:1<cost>GOLD_INGOT:50<cost>EMERALD:50
  397.   - LEVER:1
  398.   - COBBLESTONE:1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement