Advertisement
JediLuke_HD

Untitled

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