Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on click:
- if player is holding 399 named "&aメニュー":
- open chest with 5 rows named "&0&lKit PvP Menu" to player
- format slot 19 of player with jukebox named "&c&lKit購入&選択" to close then run [message "&c準備中..."]
- format slot 22 of player with diamond sword named "&a戦闘" to close then run [execute player command "/joinpvp"]
- format slot 25 of player with anvil named "&eKit強化" to close then run [message "&c準備中..."]
- format slot 43 of player with 404 named "&e設定" to close then run [message "&c準備中..."]
- format slot 44 of player with compass named "&eサーバー間移動" to close then run [message "&c準備中..."]
- command /kitpvp [<text>]:
- permission: kitpvp.admin
- permission message: &cYOU DO NOT HAVE ANY PERMISSION
- trigger:
- if arg-1 is not set:
- message "&c使用法: /kitpvp <行動> <手法>"
- message "&6行動: setlobby(/spawnでの転送先), setdeath(死亡後の転送先)"
- if arg-1 is set:
- if arg-1 is "setlobby":
- set {kitpvp.lobby} to location of player
- message "&9》 &aロビーを設定しました。"
- if arg-1 is "setdeath":
- set {kitpvp.deathpoint} to location of player
- message "&9》 &a死亡後のスポーン地点を設定しました。"
- if arg-1 is not "setlobby" or "setdeath":
- message "&9》 &asetlobby あるいは setdeath が有効です。"
- command /joinpvp:
- trigger:
- message "&9》 &a転送されました。"
- teleport player to {kitpvp.deathpoint}
- command /spawn:
- trigger:
- message "&9》 &a転送されました。"
- teleport player to {kitpvp.lobby}
- on damage of player:
- if damage > victim's health:
- cancel event
- send victim title "&c&l死亡" with subtitle "&cBY %attacker%" for 5 seconds
- send attacker title "&c&l殺害" with subtitle "&cTO %victim%" for 5 seconds
- teleport victim to {kitpvp.deathpoint}
- heal victim
- if {buki.name.%attacker%} is "sakura":
- broadcast "&c》 &b%attacker% &d&o桜舞&6>> &4&l&m%victim%"
- if {buki.name.%attacker%} is "tora":
- broadcast "&c》 &b%attacker% &6&o虎魂&6>> &4&l&m%victim%"
- if {buki.name.%attacker%} is "huyu":
- broadcast "&c》 &b%attacker% &f&o冬を超えた&6&l&o神&6>> &4&l&m%victim%"
- if {buki.name.%attacker%} is not set:
- broadcast "&c》 &b%attacker% &6>> &4&l&m%victim%"
- command /kit [<text>]:
- trigger:
- if arg-1 is not set:
- message "&b/kit <キット>"
- if arg-1 is "Solidar":
- if {player.level.%player%} is more than 9:
- message "&aSolidarに設定しました。"
- clear player's inventory
- equip player with unbreakable iron helmet named "&aSolidar Helmet" with lore "&6Soul Item"
- equip player with unbreakable diamond chestplate named "&aSolidar Chestplate" with lore "&6Soul Item"
- equip player with unbreakable iron leggings named "&aSolidar Leggings" with lore "&6Soul Item"
- equip player with unbreakable iron boots named "&aSolidar Boots" with lore "&6Soul Item"
- give player unbreakable diamond sword named "&aSolidar Sword" with lore "&6Soul Item"
- else:
- message "&cLv.10 から使用できます。"
- if arg-1 is "Enderman":
- if {player.level.%player%} is more than 14:
- message "&aEndermanに設定しました。"
- clear player's inventory
- equip player with unbreakable chainmail helmet named "&aEnderman Helmet" with lore "&6Soul Item"
- equip player with unbreakable chainmail chestplate named "&aEnderman Chestplate" with lore "&6Soul Item"
- equip player with unbreakable chainmail leggings named "&aEnderman Leggings" with lore "&6Soul Item"
- equip player with unbreakable chainmail boots named "&aEnderman Boots" with lore "&6Soul Item"
- give player unbreakable stone sword named "&aEnderman Sword" with lore "&6Soul Item"
- give player 16 ender pearl named "&aEnder Pearl" with lore "&6Soul Item"
- else:
- message "&cLv.15 から使用できます。"
- if arg-1 is "Freeman":
- if {player.level.%player%} is more than 0:
- message "&aFreemanに設定しました。"
- clear player's inventory
- equip player with unbreakable iron helmet named "&aFreeman Helmet" with lore "&6Soul Item"
- equip player with unbreakable chainmail chestplate named "&aFreeman Chestplate" with lore "&6Soul Item"
- equip player with unbreakable iron leggings named "&aFreeman Leggings" with lore "&6Soul Item"
- equip player with unbreakable iron boots named "&aFreeman Boots" with lore "&6Soul Item"
- give player unbreakable iron sword named "&aFreeman Sword" with lore "&6Soul Item"
- give player 2 golden apple named "&a金林檎" with lore "&6Soul Item"
- else:
- message "&cLv.1 から使用できます。"
- if arg-1 is "Terrorist":
- if {player.level.%player%} is more than 0:
- message "&aTerroristに設定しました。"
- clear player's inventory
- equip player with unbreakable leather helmet named "&aTerrorist" with lore "&6Soul Item"
- equip player with unbreakable iron chestplate named "&aTerrorist Chestplate" with lore "&6Soul Item"
- equip player with unbreakable leather leggings named "&aTerrorist Leggings" with lore "&6Soul Item"
- equip player with unbreakable leather boots named "&aTerrorist Boots" with lore "&6Soul Item"
- if {buki.name.%player%} is "sakura":
- give player unbreakable diamond sword named "&d&o桜舞: Terrorist Sword" with lore "&6Soul Item"
- if {buki.name.%player%} is "tora":
- give player unbreakable diamond sword named "&6&o虎魂: Terrorist Sword" with lore "&6Soul Item"
- if {buki.name.%player%} is "huyu":
- give player unbreakable diamond sword named "&f&o冬を超えた&6&l&o神&f&o: Terrorist Sword" with lore "&6Soul Item"
- if {buki.name.%player%} is not set:
- give player unbreakable diamond sword named "&aTerrorist Sword" with lore "&6Soul Item"
- give player 2 golden apple named "&a金林檎" with lore "&6Soul Item"
- else:
- message "&cLv.1 から使用できます。"
- command /levelup:
- permission: kitpvp.admin
- permission message: &cYOU DO NOT HAVE ANY PERMISSION
- trigger:
- add 1 to {player.level.%player%}
- message "&a%{player.level.%player%}% になりました。"
- on join:
- teleport player to {kitpvp.lobby}
- if {kitpvp.firstjoin.%player%} is true:
- stop
- else:
- set {kitpvp.firstjoin.%player%} to true
- add 1 to {player.level.%player%}
- command /cname [<text>]:
- trigger:
- if arg-1 is not set:
- message "&c/cname <文章>"
- if arg-1 is set:
- if arg-1 is "sakura":
- if {player.level.%player%} is more than 4:
- message "&a変更しました。 : &d&o桜舞"
- set {buki.name.%player%} to arg-1
- else:
- message "&cLv.5 から使用できます。"
- if arg-1 is "tora":
- if {player.level.%player%} is more than 9:
- message "&a変更しました。 : &6&o虎魂"
- set {buki.name.%player%} to arg-1
- else:
- message "&cLv.10 から使用できます。"
- if arg-1 is "huyu":
- if {player.level.%player%} is more than 19:
- message "&a変更しました。 : &f&o冬を超えた&6&l&o神"
- set {buki.name.%player%} to arg-1
- else:
- message "&cLv.20 から使用できます。"
- on rightclick:
- if player is holding a bone:
- if {ridatu.%player%} is true:
- message "&aキャンセルしました。"
- set {ridatu.%player%} to false
- stop
- else:
- set {ridatu.%player%} to true
- if {ridatu.%player%} is true:
- message "&c3 秒間動かないでください。"
- wait 1 second
- if {ridatu.%player%} is true:
- message "&c2 秒間動かないでください。"
- wait 1 second
- if {ridatu.%player%} is true:
- message "&c1 秒間動かないでください。"
- wait 1 second
- if {ridatu.%player%} is true:
- teleport player to {kitpvp.lobby}
- clear player's inventory
- set {ridatu.%player%} to false
- stop
- on any movement:
- if {ridatu.%player%} is true:
- message "&c動いたためキャンセルされました。"
- set {ridatu.%player%} to false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement