Advertisement
namekuzi

prefix

Dec 12th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.75 KB | None | 0 0
  1. on first join:
  2. trigger:
  3. execute console command "/setprefix %player% &7[&aPlayer&7]&c"
  4. message "&a前にいる初期アイテムのNPCとダイヤを交換しよう"
  5.  
  6. on damage:
  7.   victim has feather of Feather Falling
  8.   damage was caused by fall
  9.   cancel event
  10.  
  11. on sneak toggle:
  12.   if {fall.%player%} is not set:
  13.     set {fall.%player%} to 0
  14.   {fall.%player%} is 0
  15.   player has feather of Feather Falling
  16.   block below location of player is air
  17.   push player upwards at speed 0.5
  18.   push player horizontally forwards at speed 0.7
  19.   set {fall.%player%} to 1
  20.   while block below location of player is air:
  21.     wait 3 ticks
  22.   set {fall.%player%} to 0
  23.  
  24.  
  25. on damage:
  26.   chance of 10%:
  27.     execute attacker command "/playsound random.successful_hit @p ~0 ~0 ~0 1 0"
  28.     set damage to damage*2
  29.  
  30. on spawn:
  31.   entity is zombie
  32.   chance of 20%:
  33.     apply Strength to entity for 100 days
  34.     apply Resistance to entity for 100 days
  35.     equip entity with pumpkin
  36.     stop
  37.   chance of 10%:
  38.     apply Invisibility to entity for 100 days
  39.     apply Fire Resistance to entity for 100 days
  40.     ignite entity for 100 days
  41.     stop
  42.   chance of 3%:
  43.     spawn a giant at location of zombie
  44.     cancel event
  45.     stop
  46.  
  47. on death of a giant:
  48.   spawn 9 zombies at location of victim
  49.  
  50. on level change:
  51. add 1 to {level.%player%}
  52.  
  53. on rightclick with nether star:
  54. execute console command "/applyskill %player%"
  55.  
  56. command /applyskill <player>:
  57. trigger:
  58. open chest with 1 row named "<green>ステータス振り" to arg
  59. wait 1 tick
  60. format slot 0 of arg with iron sword named "<pink>攻撃力" to close then run "upskill 攻撃力 %arg%"
  61. format slot 1 of arg with iron chestplate named "<aqua>防御力" to close then run "upskill 防御力 %arg%"
  62. format slot 2 of arg with blaze rod named "<purple>魔力" to close then run "upskill 魔力 %arg%"
  63. format slot 3 of arg with book named "<yellow>知力" to close then run "upskill 知力 %arg%"
  64. format slot 4 of arg with emerald named "<lime>運" to close then run "upskill 運 %arg%"
  65. format slot 7 of arg with {level.%arg%} of nether star named "<pink>残りポイント" to run ""
  66. format slot 8 of arg with barrier named "<magenta>キャンセル" to close
  67.  
  68. command /upskill <string> <player>:
  69. trigger:
  70. {level.%arg 2%} > 0
  71. remove 1 from {level.%arg 2%}
  72. if arg 1 is "攻撃力":
  73. add 1 to {str.%arg 2%}
  74. if arg 1 is "防御力":
  75. add 1 to {def.%arg 2%}
  76. if arg 1 is "魔力":
  77. add 1 to {mag.%arg 2%}
  78. if arg 1 is "知力":
  79. add 1 to {int.%arg 2%}
  80. if arg 1 is "運":
  81. add 1 to {luk.%arg 2%}
  82. if {level.%arg 2%} > 1:
  83. wait 1 tick
  84. execute console command "applyskill %arg 2%"
  85.  
  86. command /showskill:
  87. trigger:
  88. message "<gray>%player%のスキル"
  89. message "<pink>攻撃力:%{str.%player%}%"
  90. message "<aqua>防御力:%{def.%player%}%"
  91. message "<purple>魔力:%{mag.%player%}%"
  92. message "<yellow>知力:%{int.%player%}%"
  93. message "<lime>運:%{luk.%player%}%"
  94.  
  95. command /report [<player>] [<text>]:
  96. trigger:
  97. if arg 1 is set:
  98. if arg 2 is set:
  99. loop all players:
  100. loop-player has permission "reports.see":
  101. send "&8[&c&lYou&f&ltube&8] &c%arg 1% &8has been reported by &a%player% &8for: &4%arg 2%" to loop-player
  102. send "&8[&c&lYou&f&ltube&8] &aThanks for reporting &c%arg 1%&a! Your report will be send to all Staff Members!"
  103. add 1 to {reports.%arg 1%}
  104. stop
  105. else:
  106. send "&8[&c&lYou&f&ltube&8] &8Please give a reason why you whant to report &c%arg 1%&8!"
  107. else:
  108. send "&8[&c&lYou&f&ltube&8] &8Please specify a player!"
  109.  
  110.  
  111. command /reports [<player>]:
  112. permission: reports.see
  113. permission message: &8[&c&lYou&f&ltube&8] &cYou don't have perms to use this command!
  114. trigger:
  115. if arg 1 is set:
  116. send "&8[&c&lYou&f&ltube&8] &8Reports of &a%arg 1%&8: &c%{reports.%arg 1%}%"
  117. if arg 1 is not set:
  118. send "&8[&c&lYou&f&ltube&8] &8Please specify a player!"
  119.  
  120. command /resetreports [<player>]:
  121. permission: reports.see
  122. permission message: &8[&c&lYou&f&ltube&8] &cYou don't have perms to use this command!
  123. trigger:
  124. if arg 1 is set:
  125. set {reports.%arg 1%} to 0
  126. send "&8[&c&lYou&f&ltube&8] &aReports of &b%arg 1% &ahas been reset! &8(&c0&8)"
  127. if arg 1 is not set:
  128. send "&8[&c&lYou&f&ltube&8] &8Please specify a player!"
  129.  
  130. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  131. # ____ _ _ _ #
  132. # | _ \ ___ _ _| |__ | | ___ | |_ _ _ __ ___ _ __ #
  133. # | | | |/ _ \| | | | '_ \| |/ _ \_ | | | | | '_ ` _ \| '_ \ #
  134. # | |_| | (_) | |_| | |_) | | __/ |_| | |_| | | | | | | |_) | #
  135. # |____/ \___/ \__,_|_.__/|_|\___|\___/ \__,_|_| |_| |_| .__/ #
  136. # |_| #
  137. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  138. # # # #
  139. # # DEVELOPER: SEFYY # #
  140. # # TWITTER: @5EFYY # #
  141. # # VERSION: 1.2 # #
  142. # # # #
  143. # # # # # # # # # # # # # # # #
  144.  
  145.  
  146.  
  147.  
  148.  
  149. options:
  150. Prefix: &8&l&bDoubleJump&8&l|
  151.  
  152. DoubleJumpPerm: DoubleJump.Can
  153.  
  154. DoubleJumpCmdPerm: DoubleJump.Cmd
  155.  
  156. PermMsg: &cYou don't have permission.
  157.  
  158. DoubleJumpSound: ENDERDRAGON_WINGS #List http://bit.ly/29m29Q7
  159.  
  160. DoubleJumpParticle: CLOUD #List http://bit.ly/2ghzq1s
  161.  
  162. DoubleJumpParticleLevel: 10
  163.  
  164.  
  165.  
  166.  
  167.  
  168. # # # # # # # # # # # # # # # # # # # # # # # #
  169. # ____ _ _____ _ _ _ #
  170. # | _ \ ___ _ __ | |_ | ____|__| (_) |_ #
  171. # | | | |/ _ \| '_ \| __| | _| / _` | | __| #
  172. # | |_| | (_) | | | | |_ | |__| (_| | | |_ #
  173. # |____/ \___/|_| |_|\__| |_____\__,_|_|\__| #
  174. # #
  175. # # # # # # # # # # # # # # # # # # # # # # # #
  176. DJversion: 1.2
  177. Developer: SEFYY
  178. on flight toggle:
  179. player's gamemode is not creative:
  180. cancel event
  181. wait a tick
  182. set player's flight state to false
  183. push player upwards at speed 0.8
  184. push player forwards at speed 0.8
  185. show {@DoubleJumpParticleLevel} "{@DoubleJumpParticle}" particles at location of player for player offset by 0.4, 0.5, 0.4
  186. loop 3 times:
  187. play "{@DoubleJumpSound}" to player at volume 0.99
  188. on jump:
  189. player's gamemode is not creative:
  190. player has permission "{@DoubleJumpPerm}":
  191. {DoubleJump%player's uuid%} is not set:
  192. block below player is not air or water:
  193. set player's flight state to true
  194. on damage:
  195. damage cause is fall:
  196. {DoubleJump%victim's uuid%} is not set:
  197. cancel event
  198. command /doublejump <text=help>:
  199. aliases: dj
  200. permission: {@DoubleJumpCmdPerm}
  201. permission message: {@PermMsg}
  202. trigger:
  203. if arg-1 is "help":
  204. send "&b&m | | "
  205. send "&3 /dj true &7- &3DoubleJump Enable"
  206. send "&3 /dj false &7- &3DoubleJump Disable"
  207. send "&3 /dj help &7- &3View DoubleJump Help"
  208. send "&b&m | | "
  209. stop
  210.  
  211. if arg-1 is "false":
  212. {DoubleJump%player's uuid%} is not set:
  213. set {DoubleJump%player's uuid%} to 1
  214. send "{@Prefix} &3DoubleJump is disabled"
  215. stop
  216. if arg-1 is "true":
  217. {DoubleJump%player's uuid%} is set:
  218. delete {DoubleJump%player's uuid%}
  219. send "{@Prefix} &3DoubleJump is enabled"
  220. stop
  221.  
  222. else:
  223. send "&b&m | | "
  224. send "&3 /dj true &7- &3DoubleJump Enable"
  225. send "&3 /dj false &7- &3DoubleJump Disable"
  226. send "&3 /dj help &7- &3View DoubleJump Help"
  227. send "&b&m | | "
  228.  
  229. #Hey guys! Someone asked me to make a Rank Skript. And here we are, this skript is going to just be for prefix, i whil make for this scirpt and serie bc it is much work! Permisisons etc are not in this skript!!
  230. # Link will be down i description!!
  231.  
  232. options:
  233. p: &8[&C&lYou&f&ltube&8] #The Prefix
  234.  
  235. command /rank [<text>] [<offline player>] [<text>]: #the command
  236. permission: rank.admin
  237. permission message: {@p} &cNo permissions!
  238. trigger:
  239. if arg 1 is not set:
  240. send "&c-----------------------------------------------------"
  241. send "&4/rank set <player> <rank> &8:: &7Set a player's rank"
  242. send "&4/rank list &8:: &7Shows yo the list of all groups"
  243. send "&4/rank reset <player> &8:: &7Resets the rank of a player to &7&lMember"
  244. send "&4/rank info &8:: &7Shows some info about this skript"
  245. send "&4/rank prefix <player> <prefix> &8:: &7Give someone a custom prefix"
  246. send "&c-----------------------------------------------------"
  247. if arg 1 is "set":
  248. if arg 2 is set:
  249. if arg 3 is "owner":
  250. set {rank.%arg 2%} to "&4&lOwner"
  251. broadcast "{@p} &6%arg 2% &eis our NEW &4&lOwner"
  252. if arg 3 is "co-owner":
  253. set {rank.%arg 2%} to "&9&lCo-Owner"
  254. broadcast "&6%arg 2%&e is our NEW &9&lCo-Owner"
  255. if arg 3 is "sr-admin":
  256. set {rank.%arg 2%} to "&c&lSr. Admin"
  257. broadcast "{@p} &6%Arg 2% &eis our NEW &c&lSr. Admin"
  258. if arg 3 is "admin":
  259. set {rank.%arg 2%} to "&c&lAdmin"
  260. broadcast "{@p} &6%arg 2% &eis a NEW &c&lAdmin"
  261. if arg 3 is "sr-mod":
  262. set {rank.%arg 2%} to "&a&lSr. Mod"
  263. broadcast "{@p} &6%arg 2% &eis our NEW &a&lSr. Mod"
  264. if arg 3 is "mod":
  265. set {rank.%arg 2%} to "&a&lMod"
  266. broadcast "{@p} &6%arg 2% &eis a NEW &a&lMod"
  267. if arg 3 is "helper":
  268. set {rank.%arg 2%} to "&2&lHelper"
  269. broadcast "{@p} &6%arg 2% &eis a NEW &2&lHelper"
  270. if arg 3 is "h-builder":
  271. set {rank.%arg 2%} to "&1&lH-Builder"
  272. broadcast "{@p} &6%arg 2% &eis our NEW &1&lHead-Builder"
  273. if arg 3 is "builder":
  274. set {rank.%arg 2%} to "&1&lBuilder"
  275. broadcast "{@p} &6%arg 2% &eis a NEW &1&lBuilder"
  276. if arg 3 is "member":
  277. set {rank.%arg 2%} to "&7&lMember"
  278. if arg 1 is "list":
  279. send "&c--------------------------------------------"
  280. send "&4&lOwner &7==> &fGroup Name: &8owner"
  281. send "&9&lCo-Owner &7==> &fGroup Name: &8co-owner"
  282. send "&c&lSr. Admin &7==> &fGrou Name: &8sr-admin"
  283. send "&c&lAdmin &7==> &fGroup Name: &8admin"
  284. send "&a&lSr. Mod &7==> &fGroup Name: &8sr-mod"
  285. send "&a&lMod &7==> &fGroup Name: &8mod"
  286. send "&2&lHelper &7==> &fGroup Name: &8helper"
  287. send "&1&lH-Builder &7==> &fGrop Name: &8h-builder"
  288. send "&1&lBuilder &7==> &fGroup name: &8builder"
  289. send "&7&lMember &7==> &fGroup Name: &8member"
  290. send "&c--------------------------------------------"
  291. if arg 1 is "info":
  292. send "&c--------------------------------------------"
  293. send "&4Skript made by &ccarloverhamme"
  294. send "&4Version &c1.0"
  295. send "&c--------------------------------------------"
  296. if arg 1 is "reset":
  297. if arg 2 is set:
  298. set {rank.%arg 2%} to "&7&lMember"
  299. send "{@p} &cThe rank of &4%arg 2% &chas been reset to &7&lMember"
  300. send "{@p} &cYour rank has been reset to &7&lMember &cby &4%player%" to arg 2
  301. else:
  302. send "{@p} &8Please specify a player!"
  303. if arg 1 is "prefix":
  304. if arg 2 is set:
  305. if arg 3 is set:
  306. set {rank.%arg 2%} to "%coloured arg 3%"
  307. send "{@p} &cPrefix of &4%arg 2% &chas been set to: %coloured arg-3%"
  308. send "{@p} &cYour prefix is now changed by &4%player%&c. Prefix is now %coloured arg-3%" to arg 2
  309. else:
  310. send "{@p} &8Please give avalid prefix!"
  311. else:
  312. send "{@p} &8Please specify a player!" #all in 1 command
  313.  
  314. on chat: # chat format
  315. cancel event
  316. broadcast "%{rank.%player%}% &7%player% &8>> &f%message%"
  317.  
  318. on first join: # and for first join
  319. set {rank.%player%} to "&7&lMember"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement