Advertisement
Guest User

Untitled

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