Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- anni: &f[&cAnnihilation&f]&a:&f
- pe: &cYou dont have permission contact admin
- buy: &5You are not buying this class
- command /anni [<text>] [<text>]:
- permission: anni.admin
- permission message: {@pe}
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- if arg 1 is "setspawn":
- if arg 2 is "red":
- set {anni.red.spawn} to location of player
- send "{@anni}&5 set You location to &cRed&5 spawn"
- if arg 2 is "blue":
- set {anni.blue.spawn} to location of player
- send "{@anni}&5 set You location to &9Blue&5 spawn"
- if arg 2 is not set:
- if arg 1 is "start":
- set {anni.start} to true
- broadcast "&5Phase 1"
- loop all players:
- if {team.red.%loop-player%} is true:
- teleport loop-player to {anni.red.spawn}
- if {anni.class.civ.%loop-player%} is true:
- give loop-player wooden sword
- give loop-player stone shovel
- give loop-player stone pickaxe
- give loop-player stone axe
- give loop-player brick named "Craft 'O Matic"
- stop
- if {anni.class.miner.%loop-player%} is true:
- give loop-player {class.miner}
- stop
- if {team.blue.%loop-player%} is true:
- teleport loop-player to {anni.blue.spawn}
- if {anni.class.civ.%loop-player%} is true:
- give loop-player wooden sword
- give loop-player stone shovel
- give loop-player stone pickaxe
- give loop-player stone axe
- give loop-player brick named "Craft 'O Matic"
- stop
- if {anni.class.miner.%loop-player%} is true:
- give loop-player {class.miner}
- stop
- if arg 1 is "stop":
- set {anni.start} to false
- broadcast "{@anni} &5運営によってANNIが終了しました"
- command /rename [<text>]:
- permission: anni.admin
- permission message: anni.admin
- trigger:
- if arg 1 is set:
- set the name of player's tool to "&r%colored arg-1%"
- command /soulbound:
- permission: anni.admin
- permission message: {@pe}
- trigger:
- set the lore of the player's held item to "&6SoulBound"
- command /pvp [<text>]:
- permission: anni.admin
- permission message: {@pe}
- trigger:
- if arg 1 is "enable":
- enable pvp
- stop
- if arg 1 is "disable":
- disable pvp
- stop
- command /status [<text>]:
- trigger:
- if arg 1 is not set:
- send "{@anni} &a%player% status" to player
- send "{@anni} &5Kill: %{kill.%player%}%" to player
- send "{@anni} &5Nexus Attack damage: %{nexus.damage.%player%}%" to player
- send "{@anni} &5Death: %{death.%player%}%" to player
- command /myxp:
- trigger:
- send "{@anni} &aXP: %{myxp.%player%}%" to player
- command /ping [<player>]:
- trigger:
- if arg 1 is not set:
- send "&aping %player's ping%"
- if arg 1 is set:
- send "&aping %player-arg's ping%"
- command /report [<player>] [<text>]:
- trigger:
- if arg 1 is not set:
- send "&cプレイヤーが選択されていません"
- if arg 2 is not set:
- send "&c理由が書かれていません"
- if arg 1 is set:
- if arg 2 is set:
- send "{@anni} Reportを出しました"
- loop all players:
- if loop-player has permission "anni.admin":
- send "{@anni} &c=====Report=====" to loop-player
- send "{@anni} Report by %player%" to loop-player
- send "{@anni} Player Reported %arg-1%" to loop-player
- send "{@anni} Reason %arg-2%" to loop-player
- command /adminset [<text>] [<offline player>]:
- permission: anni.admin
- permission message: {@pe}
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- if arg 1 is "admin":
- set {anni.admin.%arg-2%} to true
- set {anni.lobby.%arg-2%} to false
- set {team.red.%arg-2%} to false
- set {team.blue.%arg-2%} to false
- send "{@anni} %arg-2%さんをadminにしました"
- if arg 1 is "build":
- set {anni.build.%arg-2%} to true
- set {anni.lobby.%arg-2%} to false
- set {team.red.%arg-2%} to false
- set {team.blue.%arg-2%} to false
- send "{@anni} %arg-2%さんを&3BuildTeam&fにしました"
- command /game [<text>]:
- trigger:
- if arg 1 is set:
- if arg 1 is "leave":
- if {anni.start} is true:
- send "&5Game is already started"
- else:
- set {anni.join.%player%} to false
- send "&5You leave the game"
- command /ban [<offline player>]:
- permission: anni.admin
- permission message: {@pe}
- trigger:
- kick the player
- command /banticket [<offline player>] [<text>]:
- permission: anni.admin
- permission message: {@pe}
- trigger:
- send "{@anni} &5あなたは%player%によってbanされました ban appeal &fhttps://discord.gg/rxBv6Ur" to arg-1
- wait 1 second
- kick the arg-1
- broadcast "{@anni}&5 %player%さんが%arg-1%を処罰しました 理由%arg-2%"
- command /setlobby:
- permission: anni.admin
- permission message: {@pe}
- trigger:
- set {lobby} to location of player
- send "{@anni} set you location to lobby"
- command /dellobby:
- permission: anni.admin
- permission message: {@pe}
- trigger:
- delete {lobby}
- send "{@anni} deleted lobby"
- command /team [<text>] [<text>]:
- trigger:
- if arg 1 is not set:
- if arg 2 is not set:
- send "{@anni} &5/team join [team]"
- send "{@anni} &5/team leave"
- if arg 1 is set:
- if arg 1 is "join":
- if arg 2 is set:
- if arg 2 is "red":
- if {team.join.%player%} is true:
- send "&5You already team"
- else:
- send "&5You joined the &cRed&5 team"
- set {team.join.%player%} to true
- set {team.red.%player%} to true
- set {anni.lobby.%player%} to false
- set {anni.admin.%player%} to false
- set {anni.build.%player%} to false
- if arg 2 is set:
- if arg 2 is "blue":
- if {team.join.%player%} is true:
- send "&5You already team"
- else:
- send "&5You joined the &9Blue&5 team"
- set {team.join.%player%} to true
- set {team.blue.%player%} to true
- set {anni.lobby.%player%} to false
- set {anni.admin.%player%} to false
- set {anni.build.%player%} to false
- if arg 1 is set:
- if arg 1 is "leave":
- if arg 2 is not set:
- if {anni.start} is true:
- send "&5Game is already started"
- stop
- else:
- send "&5You leave the team"
- set {anni.lobby.%player%} to true
- set {team.join.%player%} to false
- set {team.red.%player%} to false
- set {team.blue.%player%} to false
- set {anni.admin.%player%} to false
- set {anni.build.%player%} to false
- command /class [<text>]:
- trigger:
- if arg 1 is "civ":
- set {anni.class.civ.%player%} to true
- set {anni.class.miner.%player%} to false
- set {anni.class.civ.%player%} to false
- set {anni.class.civ.%player%} to false
- set {anni.class.war.%player%} to false
- set {anni.class.archer.%player%} to false
- set {anni.class.enchanter.%player%} to false
- send "&5Civilian selected"
- if arg 1 is "miner":
- set {anni.class.miner.%player%} to true
- set {anni.class.civ.%player%} to false
- set {anni.class.war.%player%} to false
- set {anni.class.acrobat.%player%} to false
- set {anni.class.archer.%player%} to false
- set {anni.class.enchanter.%player%} to false
- send "&5Miner selected"
- if arg 1 is "acrobat":
- if {class.acrobat.%player%} is true:
- set {anni.class.acrobat.%player%} to true
- set {anni.class.miner.%player%} to false
- set {anni.class.civ.%player%} to false
- set {anni.class.war.%player%} to false
- set {anni.class.archer.%player%} to false
- set {anni.class.enchanter.%player%} to false
- send "&5Acrobat selected"
- else:
- send "{@buy}"
- if arg 1 is "warrior":
- set {anni.class.war.%player%} to true
- set {anni.class.acrobat.%player%} to false
- set {anni.class.miner.%player%} to false
- set {anni.class.civ.%player%} to false
- set {anni.class.archer.%player%} to false
- set {anni.class.enchanter.%player%} to false
- send "&5Warrior selected"
- if arg 1 is "archer":
- set {anni.class.archer.%player%} to true
- set {anni.class.war.%player%} to false
- set {anni.class.acrobat.%player%} to false
- set {anni.class.miner.%player%} to false
- set {anni.class.civ.%player%} to false
- set {anni.class.enchanter.%player%} to false
- send "&5Archer selected"
- if arg 1 is "enchanter":
- if {class.enchanter.%player%} is true:
- set {anni.class.enchanter.%player%} to true
- set {anni.class.archer.%player%} to false
- set {anni.class.war.%player%} to false
- set {anni.class.acrobat.%player%} to false
- set {anni.class.miner.%player%} to false
- set {anni.class.civ.%player%} to false
- send "&5Enchanter selected"
- else:
- send "{@buy}"
- command /adminclass [<text>]:
- permission: anni.admin
- permission message: {@pe}
- trigger:
- if arg 1 is set:
- if arg 1 is "acrobat":
- set {anni.class.acrobat.%player%} to true
- send "&5Acrobat selected"
- if arg 1 is set:
- if arg 1 is "enchanter":
- set {anni.class.enchanter.%player%} to true
- send "&5Enchanter selected"
- command /displaycore:
- trigger:
- loop all players:
- set name of sidebar of loop-player to "&6&lMap: None"
- set score "&9&lBlue" in sidebar of loop-player to {bluehp}
- set score "&c&lRed" in sidebar of loop-player to {redhp}
- on right click with nether star:
- cancel event
- name of held item contains "&aTeam selection"
- open chest with 1 row named "&aTeam selection" to player
- wait 1 tick
- format slot 0 of player with red wool named "&cRed Team" to close then run [execute player command "team join Red"]
- format slot 1 of player with blue wool named "&9Blue Team" to close then run [execute player command "team join Blue"]
- on right click with feather:
- cancel event
- name of held item contains "&eClass selection"
- open chest with 6 row named "&8Select A Class" to player
- wait 1 tick
- format slot 0 of player with crafting table named "&f&oCivilian" to close then run [execute player command "class civ"]
- format slot 1 of player with shiny stone pickaxe named "&f&oMiner" to close then run [execute player command "class miner"]
- format slot 2 of player with feather named "&f&oAcrobat" with lore "&5WildSkriptが来るまで使えません" to close then run [execute player command "class acrobat"]
- format slot 3 of player with stone sword named "&f&oWarrior" to close then run [execute player command "class warrior"]
- format slot 4 of player with shiny bow named "&f&oArcher" to close then run [execute player command "class archer"]
- format slot 5 of player with experience bottle named "&f&oEnchanter" to close then run [execute player command "class enchanter"]
- on right click with blaze powder:
- if {anni.class.war.%player%} is true:
- cancel event
- set {_cooldown} to difference between {war.%player%.lastused} and now
- if {_cooldown} is less than 60 seconds:
- message "&c%difference between 60 seconds and {_cooldown}% 後に使用可能"
- stop
- execute console command "effect %player% strength 10 0 true"
- set {war.%player%.lastused} to now
- else:
- send "&5You class is not Warrior"
- on mine of melon block:
- cancel event
- set block to air
- set {_temp} to random integer between 1 and 10
- if {_temp} is between 1 and 3:
- give 2 melon slice to player
- else if {_temp} is between 4 and 6:
- give 5 melon slice to player
- else if {_temp} is between 6 and 10:
- give 7 melon slice to player
- wait 300 tick
- set block to melon block
- on left click on sea lantern:
- cancel event
- if {anni.join.%player%} is true:
- send "{@anni} You are already join the game"
- else:
- set {anni.lobby.%player%} to true
- set {anni.join.%player%} to true
- broadcast "{@anni} %player% has joined the game"
- set slot 0 of player to feather named "&eClass selection"
- set slot 1 of player to nether star named "&aTeam selection"
- on right click with brick:
- if name of player's tool is "&eCraft 'O Matic":
- open crafting table inventory to player
- on hunger bar change:
- if {anni.start} is true:
- stop
- else:
- cancel event
- set the player's food level to 10
- on right click on end stone:
- player has permission "anni.admin"
- cancel event
- if player's held item is blue dye:
- set {bluecore} to location of event-block
- set {bluehp} to 75
- execute console command "scoreboard players set Blue Nexus %{bluehp}%"
- send "{@anni} BlueのNexusを設定しました"
- if player's held item is red dye:
- set {redcore} to location of event-block
- set {redhp} to 75
- execute console command "scoreboard players set Red Nexus %{redhp}%"
- send "{@anni} RedのNexusを設定しました"
- if player's held item is white dye:
- if location of event-block is {bluecore}:
- delete {bluecore}
- send "{@anni} BlueのNexusを削除しました"
- if location of event-block is {redcore}:
- delete {redcore}
- send "{@anni} RedのNexusを削除しました"
- on break:
- if location of event-block is {bluecore}:
- if {team.red.%player%} is true:
- if {anni.phase.5} is true:
- remove 2 from {bluehp}
- set {_temp} to random integer between 1 and 10
- execute console command "scoreboard players set Blue Nexus %{bluehp}%"
- execute console command "displaycore"
- if {_temp} is between 1 and 5:
- execute console command "playsound minecraft:block.anvil.place master %player% ~ ~ ~ 1 0.8 1"
- if {_temp} is between 6 and 10:
- execute console command "playsound minecraft:block.anvil.place master %player% ~ ~ ~ 1 0.6 1"
- if {bluehp} is smaller than 1:
- set block to bedrock
- execute console command "playsound minecraft:entity.lightning.impact master %player% ~ ~ ~ 100 1 1"
- else:
- remove 1 from {bluehp}
- set {_temp} to random integer between 1 and 10
- execute console command "scoreboard players set Blue Nexus %{bluehp}%"
- execute console command "displaycore"
- if {_temp} is between 1 and 5:
- execute console command "playsound minecraft:block.anvil.place master %player% ~ ~ ~ 1 0.8 1"
- if {_temp} is between 6 and 10:
- execute console command "playsound minecraft:block.anvil.place master %player% ~ ~ ~ 1 0.6 1"
- if {bluehp} is smaller than 1:
- set block to bedrock
- execute console command "playsound minecraft:entity.lightning.impact master %player% ~ ~ ~ 100 1 1"
- if location of event-block is {redcore}:
- if {team.blue.%player%} is true:
- if {anni.phase.5} is true:
- remove 2 from {redhp}
- set {_temp} to random integer between 1 and 10
- execute console command "scoreboard players set Red Nexus %{redhp}%"
- execute console command "displaycore"
- if {_temp} is between 1 and 5:
- execute console command "playsound minecraft:block.anvil.place master %player% ~ ~ ~ 1 0.8 1"
- if {_temp} is between 6 and 10:
- execute console command "playsound minecraft:block.anvil.place master %player% ~ ~ ~ 1 0.6 1"
- if {redhp} is smaller than 1:
- set block to bedrock
- execute console command "playsound minecraft:entity.lightning.impact master %player% ~ ~ ~ 100 1 1"
- else:
- remove 1 from {redhp}
- set {_temp} to random integer between 1 and 10
- execute console command "scoreboard players set Red Nexus %{redhp}%"
- execute console command "displaycore"
- if {_temp} is between 1 and 5:
- execute console command "playsound minecraft:block.anvil.place master %player% ~ ~ ~ 1 0.8 1"
- if {_temp} is between 6 and 10:
- execute console command "playsound minecraft:block.anvil.place master %player% ~ ~ ~ 1 0.6 1"
- if {redhp} is smaller than 1:
- set block to bedrock
- execute console command "playsound minecraft:entity.lightning.impact master %player% ~ ~ ~ 100 1 1"
- on break of end stone:
- if player's gamemode is not creative:
- cancel event
- loop all players:
- if {team.red.%loop-player%} is true:
- if {anni.phase.5} is true:
- add 2 to {myxp.%loop-player%}
- add 1 to {nexus.damage.%player%}
- send "&a+2 Annihitilation XP" to loop-player
- else:
- add 1 to {myxp.%loop-player%}
- add 1 to {nexus.damage.%player%}
- send "&a+1 Annihitilation XP" to loop-player
- if {team.blue.%loop-player%} is true:
- if {anni.phase.5} is true:
- add 2 to {myxp.%loop-player%}
- add 1 to {nexus.damage.%player%}
- send "&a+2 Annihitilation XP" to loop-player
- else:
- add 1 to {myxp.%loop-player%}
- add 1 to {nexus.damage.%player%}
- send "&a+1 Annihitilation XP" to loop-player
- on player drop:
- if lore of event-item contains "&6Soulbound":
- cancel event
- delete player's held item
- execute console command "playsound minecraft:entity.item.break master %player% ~ ~ ~ 1 1 1"
- on flight toggle:
- if {anni.class.acrobat.%player%} is true:
- if player's gamemode is not creative:
- set player's flight state to false
- set {_cooldown} to difference between {acrobat.%player%.lastused} and now
- if {_cooldown} is less than 10 seconds:
- stop
- push player upwards at speed 0.8
- push player forwards at speed 0.8
- execute console command "playsound minecraft:entity.wither.shoot master %player% ~ ~ ~ 1 1 1"
- set {acrobat.%player%.lastused} to now
- #on jump:
- # player's gamemode is not creative:
- # player has permission "{@DoubleJumpPerm}":
- # {DoubleJump%player's uuid%} is not set:
- # block below player is not air or water:
- # set player's flight state to true
- on death:
- victim is a player:
- if {anni.lobby.%victim%} is true:
- force victim to respawn
- teleport victim to {lobby}
- if {anni.red.respawn.%victim%} is true:
- teleport victim to {anni.red.spawn}
- if {anni.blue.respawn.%victim%} is true:
- teleport victim to {anni.blue.spawn}
- on death:
- victim is a player:
- damage cause is void:
- set the death message to ""
- on death of player:
- if damager is a player:
- if victim is a player:
- add 1 to {kill.%damager%}
- add 1 to {death.%victim%}
- add 3 to {myxp.%damager%}
- send "&a+3 Annihitilation XP" to damager
- on damage:
- victim is a player:
- if {anni.class.acrobat.%victim%} is true:
- damage cause is fall:
- cancel event
- on mine:
- if player's gamemode is creative:
- stop
- else:
- if {anni.start} is true:
- stop
- else:
- cancel event
- send "&5Game is not started"
- on portal:
- cancel event
- open chest with 6 row named "&8Select A Class" to player
- wait 1 tick
- format slot 0 of player with crafting table named "&f&oCivilian" to close then run [execute player command "class civ"]
- format slot 1 of player with shiny stone pickaxe named "&f&oMiner" to close then run [execute player command "class miner"]
- format slot 2 of player with feather named "&f&oAcrobat" with lore "&5WildSkriptが来るまで使えません" to close then run [execute player command "class acrobat"]
- format slot 3 of player with stone sword named "&f&oWarrior" to close then run [execute player command "class warrior"]
- format slot 4 of player with shiny bow named "&f&oArcher" to close then run [execute player command "class archer"]
- format slot 5 of player with experience bottle named "&f&oEnchanter" to close then run [execute player command "class enchanter"]
- if {team.red.%player%} is true:
- teleport player to {anni.red.spawn}
- if {team.blue.%player%} is true:
- teleport player to {anni.blue.spawn}
- on mine of cobble stone:
- if player's gamemode is creative:
- stop
- else:
- cancel event
- on mine of coal ore:
- cancel event
- set block to cobble stone
- set {_temp} to random integer between 1 and 10
- if {anni.class.miner.%player%} is true:
- if {_temp} is between 1 and 5:
- give 1 coal to player
- add 4 exp to player
- wait 7 second
- set block to coal ore
- if {_temp} is between 6 and 10:
- give 2 coal to player
- add 4 exp to player
- wait 7 second
- set block to coal ore
- if {anni.class.enchanter.%player%} is true:
- give 1 coal to player
- add 6 exp to player
- wait 7 second
- set block to coal ore
- else:
- give 1 coal to player
- add 4 exp to player
- wait 7 second
- set block to coal ore
- on mine of iron ore:
- cancel event
- set block to cobble stone
- set {_temp} to random integer between 1 and 10
- if {anni.class.miner.%player%} is true:
- if {_temp} is between 1 and 5:
- give 1 iron ore to player
- add 5 exp to player
- wait 8 second
- set block to iron ore
- if {_temp} is between 6 and 10:
- give 2 iron ore to player
- add 5 exp to player
- wait 8 second
- set block to iron ore
- if {anni.class.enchanter.%player%} is true:
- give 1 iron ore to player
- add 7 exp to player
- wait 8 second
- set block to iron ore
- else:
- give 1 iron ore to player
- add 5 exp to player
- wait 8 second
- set block to iron ore
- on mine of gold ore:
- cancel event
- set block to cobble stone
- set {_temp} to random integer between 1 and 10
- if {anni.class.miner.%player%} is true:
- if {_temp} is between 1 and 5:
- give 1 gold ore to player
- add 6 exp to player
- wait 11 second
- set block to gold ore
- if {_temp} is between 6 and 10:
- give 2 gold ore to player
- add 6 exp to player
- wait 11 second
- set block to gold ore
- if {anni.class.enchanter.%player%} is true:
- give 1 gold ore to player
- add 9 exp to player
- wait 11 second
- set block to gold ore
- else:
- give 1 gold ore to player
- add 6 exp to player
- wait 11 second
- set block to gold ore
- on mine of lapis ore:
- cancel event
- set block to cobble stone
- set {_temp} to random integer between 1 and 10
- if {_temp} is between 1 and 3:
- give 4 lapis lazuli to player
- add 7 exp to player
- wait 10 second
- set block to lapis ore
- if {_temp} is between 4 and 7:
- give 6 lapis lazuli to player
- add 7 exp to player
- wait 10 second
- set block to lapis ore
- if {_temp} is between 8 and 10:
- give 9 lapis lazuli to player
- add 7 exp to player
- wait 10 second
- set block to lapis ore
- if {anni.class.enchanter.%player%} is true:
- if {_temp} is between 1 and 3:
- give 4 lapis lazuli to player
- add 7 exp to player
- wait 10 second
- set block to lapis ore
- if {_temp} is between 4 and 7:
- give 6 lapis lazuli to player
- add 9 exp to player
- wait 10 second
- set block to lapis ore
- if {_temp} is between 8 and 10:
- give 9 lapis lazuli to player
- add 11 exp to player
- wait 10 second
- set block to lapis ore
- on mine of emerald ore:
- cancel event
- set block to cobble stone
- set {_temp} to random integer between 1 and 10
- if {anni.class.enchanter.%player%} is true:
- give 1 emerald to player
- add 13 exp to player
- wait 15 second
- set block to emerald ore
- else:
- give 1 emerald to player
- add 9 exp to player
- wait 15 second
- set block to emerald ore
- on first join:
- set the join message to ""
- set {anni.lobby.%player%} to true
- set {anni.class.civ.%player%} to true
- on join:
- set the join message to "&7[&a+&7] %player%"
- send "{@anni}&5 /game leave /で 試合から抜けることができます &cゲーム中は使用できません"
- send "{@anni}&5/report <player> <reason> /でレポートができます 適当に使うとBanします"
- send "{@anni}&5 シーランタンをクリックで参加できます"
- on quit:
- set the quit message to "&7[&c-&7] %player%"
- on chat:
- cancel event
- if {anni.admin.%player%} is true:
- broadcast "&f[&cAdmin&f] %player%: %message%"
- if {anni.build.%player%} is true:
- broadcast "&f[&3BuildTeam&f] %player%: %message%"
- if {anni.lobby.%player%} is true:
- cancel event
- broadcast "[&5Lobby&f] %player%: &f%message%"
- if {team.red.%player%} is true:
- cancel event
- broadcast "[&cRed&f] %player%: %message%"
- if {team.blue.%player%} is true:
- cancel event
- broadcast "[&9Blue&f] %player%: %message%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement