Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /sanka:
- trigger:
- if {team.%player%} is 0:
- if {redp} is less than {grep}:
- set {team.%player%} to 1
- add 1 to {redp}
- send "&c━━━━━━━━━━━━━━━━━━━━━" to player
- send "&c⬛ &7You are the Red team &c⬛" to player
- send "&c━━━━━━━━━━━━━━━━━━━━━" to player
- execute console command "/replaceitem entity %player% slot.armor.chest minecraft:leather_chestplate 1 0 {Unbreakable:1b,ench:[{id:10s,lvl:1s}],HideFlags:7,display:{color:16711680}}"
- if {wm} is 1:
- teleport player to {rspawn1}
- if {wm} is 2:
- teleport player to {rspawn2}
- if {wm} is 3:
- teleport player to {rspawn3}
- if {wm} is 4:
- teleport player to {rspawn4}
- if {wm} is 5:
- teleport player to {rspawn5}
- if {wm} is 6:
- teleport player to {rspawn6}
- if {wm} is 7:
- teleport player to {rspawn7}
- else if {grep} is less than {redp}:
- set {team.%player%} to 2
- add 1 to {grep}
- send "&a━━━━━━━━━━━━━━━━━━━━━━━" to player
- send "&a⬛ &7You are the Green team &a⬛" to player
- send "&a━━━━━━━━━━━━━━━━━━━━━━━" to player
- execute console command "/replaceitem entity %player% slot.armor.chest minecraft:leather_chestplate 1 0 {Unbreakable:1b,ench:[{id:10s,lvl:1s}],HideFlags:7,display:{color:8453888}}"
- if {wm} is 1:
- teleport player to {gspawn1}
- if {wm} is 2:
- teleport player to {gspawn2}
- if {wm} is 3:
- teleport player to {gspawn3}
- if {wm} is 4:
- teleport player to {gspawn4}
- if {wm} is 5:
- teleport player to {rspawn5}
- if {wm} is 6:
- teleport player to {rspawn6}
- if {wm} is 7:
- teleport player to {rspawn7}
- else:
- set {teamn} to random integer between 1 and 10
- if {teamn} is between 1 and 5:
- set {team.%player%} to 1
- add 1 to {redp}
- execute console command "/replaceitem entity %player% slot.armor.chest minecraft:leather_chestplate 1 0 {Unbreakable:1b,ench:[{id:10s,lvl:1s}],HideFlags:7,display:{color:16711680}}"
- send "&c━━━━━━━━━━━━━━━━━━━━━" to player
- send "&c⬛ &7You are the Red team &c⬛" to player
- send "&c━━━━━━━━━━━━━━━━━━━━━" to player
- if {wm} is 1:
- teleport player to {rspawn1}
- if {wm} is 2:
- teleport player to {rspawn2}
- if {wm} is 3:
- teleport player to {rspawn3}
- if {wm} is 4:
- teleport player to {rspawn4}
- if {wm} is 5:
- teleport player to {rspawn5}
- if {wm} is 6:
- teleport player to {rspawn6}
- if {wm} is 7:
- teleport player to {rspawn7}
- if {teamn} is between 6 and 10:
- set {team.%player%} to 2
- add 1 to {grep}
- execute console command "/replaceitem entity %player% slot.armor.chest minecraft:leather_chestplate 1 0 {Unbreakable:1b,ench:[{id:10s,lvl:1s}],HideFlags:7,display:{color:8453888}}"
- send "&a━━━━━━━━━━━━━━━━━━━━━━━" to player
- send "&a⬛ &7You are the Green team &a⬛" to player
- send "&a━━━━━━━━━━━━━━━━━━━━━━━" to player
- if {wm} is 1:
- teleport player to {gspawn1}
- if {wm} is 2:
- teleport player to {gspawn2}
- if {wm} is 3:
- teleport player to {gspawn3}
- if {wm} is 4:
- teleport player to {gspawn4}
- if {wm} is 5:
- teleport player to {rspawn5}
- if {wm} is 6:
- teleport player to {rspawn6}
- if {wm} is 7:
- teleport player to {rspawn7}
- command /warmap:
- permission:admin
- trigger:
- set {wmn} to random integer between 1 and 60
- if {wmn} is between 1 and 10:
- set {wm} to 1
- if {wmn} is between 11 and 20:
- set {wm} to 2
- if {wmn} is between 21 and 30:
- set {wm} to 3
- if {wmn} is between 31 and 40:
- set {wm} to 4
- if {wmn} is between 41 and 50:
- set {wm} to 5
- if {wmn} is between 51 and 60:
- set {wm} to 6
- command /wms <number>:
- permission:admin
- trigger:
- set {wm} to arg-1
- command /rwss1:
- permission:admin
- trigger:
- set {rspawn1} to location of player
- command /gwss1:
- permission:admin
- trigger:
- set {gspawn1} to location of player
- command /rwss2:
- permission:admin
- trigger:
- set {rspawn2} to location of player
- command /gwss2:
- permission:admin
- trigger:
- set {gspawn2} to location of player
- command /rwss3:
- permission:admin
- trigger:
- set {rspawn3} to location of player
- command /gwss3:
- permission:admin
- trigger:
- set {gspawn3} to location of player
- command /rwss4:
- permission:admin
- trigger:
- set {rspawn4} to location of player
- command /gwss4:
- permission:admin
- trigger:
- set {gspawn4} to location of player
- command /rwss5:
- permission:admin
- trigger:
- set {rspawn5} to location of player
- command /gwss5:
- permission:admin
- trigger:
- set {gspawn5} to location of player
- command /rwss6:
- permission:admin
- trigger:
- set {rspawn6} to location of player
- command /gwss6:
- permission:admin
- trigger:
- set {gspawn6} to location of player
- command /rwss7:
- permission:admin
- trigger:
- set {rspawn7} to location of player
- command /gwss7:
- permission:admin
- trigger:
- set {gspawn7} to location of player
- command /wcsr:
- permission:admin
- trigger:
- set {wcs} to 0
- command /ptr:
- permission:admin
- trigger:
- set {team.%player%} to 0
- command /wcs:
- permission:admin
- trigger:
- if {wcs} is 0:
- set {wcs} to 1
- set {wsc} to 0
- set {gteamsc} to 0
- set {rteamsc} to 0
- set {redp} to 0
- set {grep} to 0
- command /lset:
- permission:admin
- trigger:
- set {lobby} to location of player
- command /wst:
- permission:admin
- trigger:
- if {wcs} is 1:
- set {wcs} to 0
- set {wsc} to 0
- set {gteamsc} to 0
- set {rteamsc} to 0
- set {redp} to 0
- set {grep} to 0
- command /gmoney <player> <number>:
- permission:admin
- trigger:
- add arg-2 to {money.%arg-1%}
- command /smoney <player> <number>:
- permission:admin
- trigger:
- set {money.%arg-1%} to arg-2
- command /tmoney <player> <number>:
- permission:admin
- trigger:
- subtract arg-2 from {money.%arg-1%}
- command /gtmoney <number>:
- trigger:
- if arg-1 is less than 0:
- stop
- if arg-1 is less than {money.%player%}:
- subtract arg-1 from {money.%player%}
- give arg-1 of diamond named "&8&l1 Money" to player
- else:
- send "金が足りません!!" to player
- command /tgmoney <number>:
- trigger:
- loop all items in player's inventory:
- if name of loop-item contains "&8&l1 Money":
- if loop-item is equal to diamond:
- if number of diamond in the player's inventory is less than arg-1:
- stop
- remove arg-1 of loop-item from player
- add arg-1 to {money.%player%}
- command /money:
- trigger:
- send "&e⛃&7Money you have &8%{money.%player%}%&7 Money" to player
- command /gemoney:
- trigger:
- if 1 is less than {money.%player%}:
- give player diamond named "&8&l1 Money"
- subtract 1 from {money.%player%}
- else:
- send "金が足りません!!" to player
- command /ges <number>:
- trigger:
- if arg-1 is less than 0:
- stop
- if arg-1*50 is less than {money.%player%}:
- give arg-1 of blue dye named "&fEnchantStone" to player
- subtract arg-1*50 from {money.%player%}
- else:
- send "金が足りません!!" to player
- command /gpb <number>:
- trigger:
- if arg-1 is less than 0:
- stop
- if arg-1*50 is less than {money.%player%}:
- give arg-1 of iron ingot named "&fPartsBOX" to player
- subtract arg-1*50 from {money.%player%}
- else:
- send "金が足りません!!" to player
- command /ggp <number>:
- trigger:
- if arg-1 is less than 0:
- stop
- if arg-1*50 is less than {money.%player%}:
- give arg-1 of gold ingot named "&fGunParts" to player
- subtract arg-1*50 from {money.%player%}
- else:
- send "金が足りません!!" to player
- command /lup <player> <number>:
- permission:admin
- trigger:
- add arg-2 to {lev.%arg-1%}
- on first join:
- set {team.%player%} to 0
- set {money.%player%} to 50
- set {lev.%player%} to 1
- set {levexp.%player%} to 0
- every 1 seconds:
- if {wcs} is 1:
- if {wsc} is 300:
- set {wcs} to 0
- set {rla} to 0
- set {gla} to 0
- if {gteamsc} is less than {rteamsc}:
- loop all players:
- send loop-player title "&c&lRed Team &6&lWIN!" for 5 seconds
- if {team.%loop-player%} is 1:
- teleport loop-player to {lobby}
- set {team.%loop-player%} to 0
- add 100+{pksc.%loop-player%}*5 to {money.%loop-player%}
- send "&8------------------------" to loop-player
- send "&a&l⬛ &7&l%{gteamsc}% ━ %{rteamsc}% &c&l⬛" to loop-player
- send "&fYou Team:&cRed" to loop-player
- send "&fK/D:%{pksc.%loop-player%}%K/%{pdsc.%loop-player%}%D" to loop-player
- send "&8------------------------" to loop-player
- set {pksc.%loop-player%} to 0
- set {pdsc.%loop-player%} to 0
- if {team.%loop-player%} is 2:
- teleport loop-player to {lobby}
- set {team.%loop-player%} to 0
- add 100+{pksc.%loop-player%}*5 to {money.%loop-player%}
- send "&8------------------------" to loop-player
- send "&a&l⬛ &7&l%{gteamsc}% ━ %{rteamsc}% &c&l⬛" to loop-player
- send "&fYou Team:&aGreen" to loop-player
- send "&f/KD:%{pksc.%loop-player%}%K/%{pdsc.%loop-player%}%D" to loop-player
- send "&8------------------------" to loop-player
- set {pksc.%loop-player%} to 0
- set {pdsc.%loop-player%} to 0
- command "/wcs"
- else if {rteamsc} is less than {gteamsc}:
- loop all players:
- send loop-player title "&a&lGreen Team &6&lWIN!" for 5 seconds
- if {team.%loop-player%} is 1:
- teleport loop-player to {lobby}
- set {team.%loop-player%} to 0
- add 100+{pksc.%loop-player%}*5 to {money.%loop-player%}
- send "&8------------------------" to loop-player
- send "&a&l⬛ &7&l%{gteamsc}% ━ %{rteamsc}% &c&l⬛" to loop-player
- send "&fYou Team:&cRed" to loop-player
- send "&fK/D:%{pksc.%loop-player%}%K/%{pdsc.%loop-player%}%D" to loop-player
- send "&8------------------------" to loop-player
- set {pksc.%loop-player%} to 0
- set {pdsc.%loop-player%} to 0
- if {team.%loop-player%} is 2:
- teleport loop-player to {lobby}
- set {team.%loop-player%} to 0
- add 100+{pksc.%loop-player%}*5 to {money.%loop-player%}
- send "&8------------------------" to loop-player
- send "&a&l⬛ &7&l%{gteamsc}% ━ %{rteamsc}% &c&l⬛" to loop-player
- send "&fYou Team:&aGreen" to loop-player
- send "&f/KD:%{pksc.%loop-player%}%K/%{pdsc.%loop-player%}%D" to loop-player
- send "&8------------------------" to loop-player
- set {pksc.%loop-player%} to 0
- set {pdsc.%loop-player%} to 0
- command "/wcs"
- else:
- loop all players:
- send loop-player title "&6&lBoth Teams &f&lDraw" for 5 seconds
- if {team.%loop-player%} is 1:
- teleport loop-player to {lobby}
- set {team.%loop-player%} to 0
- add 100+{pksc.%loop-player%}*5 to {money.%loop-player%}
- send "&8------------------------" to loop-player
- send "&a&l⬛ &7&l%{gteamsc}% ━ %{rteamsc}% &c&l⬛" to loop-player
- send "&fYou Team:&cRed" to loop-player
- send "&fK/D:%{pksc.%loop-player%}%K/%{pdsc.%loop-player%}%D" to loop-player
- send "&8------------------------" to loop-player
- set {pksc.%loop-player%} to 0
- set {pdsc.%loop-player%} to 0
- if {team.%loop-player%} is 2:
- teleport loop-player to {lobby}
- set {team.%loop-player%} to 0
- add 100+{pksc.%loop-player%}*5 to {money.%loop-player%}
- send "&8------------------------" to loop-player
- send "&a&l⬛ &7&l%{gteamsc}% ━ %{rteamsc}% &c&l⬛" to loop-player
- send "&fYou Team:&aGreen" to loop-player
- send "&f/KD:%{pksc.%loop-player%}%K/%{pdsc.%loop-player%}%D" to loop-player
- send "&8------------------------" to loop-player
- set {pksc.%loop-player%} to 0
- set {pdsc.%loop-player%} to 0
- command "/wcs"
- command "/warmap"
- add 1 to {wsc}
- loop all players:
- send action bar from "&a&l⬛ &7&l%{gteamsc}% ━ %{rteamsc}% &c&l⬛ &6&l残り時間 %(300-{wsc})%" to loop-players
- loop all players:
- set {levexpl.%loop-player%} to {lev.%loop-player%}*10*1.5
- if {levexp.%loop-player%} is {levexpl.%loop-player%}:
- add 1 to {lev.%loop-player%}
- if {team.%loop-player%} is 0:
- set {levexp.%loop-player%} to 0
- if {team.%loop-player%} is 1:
- set {levexp.%loop-player%} to 0
- if {team.%loop-player%} is 2:
- set {levexp.%loop-player%} to 0
- if {levexpl.%loop-player%} is less than {levexp.%loop-player%}:
- add 1 to {lev.%loop-player%}
- if {team.%loop-player%} is 0:
- set {levexp.%loop-player%} to 0
- if {team.%loop-player%} is 1:
- set {levexp.%loop-player%} to 0
- if {team.%loop-player%} is 2:
- set {levexp.%loop-player%} to 0
- if {team.%loop-player%} is 0:
- set the loop-player's tablist name to "[Lv%{lev.%loop-player%}%]%name of loop-player%"
- set the loop-player's display name to "[Lv%{lev.%loop-player%}%]%name of loop-player%"
- if {team.%loop-player%} is 1:
- set the loop-player's tablist name to "[Lv%{lev.%loop-player%}%]<red>%name of loop-player%"
- set the loop-player's display name to "[Lv%{lev.%loop-player%}%]%name of loop-player%"
- if {team.%loop-player%} is 2:
- set the loop-player's display name to "[Lv%{lev.%loop-player%}%]%name of loop-player%"
- set the loop-player's tablist name to "[Lv%{lev.%loop-player%}%]<green>%name of loop-player%"
- on damage:
- attacker is a player
- victim is a player
- if {team.%attacker%} is 1:
- if {team.%victim%} is 1:
- cancel the event
- if {team.%attacker%} is 2:
- if {team.%victim%} is 2:
- cancel the event
- on crackshot damage:
- shooter is a player
- event-entity is a player
- if {team.%shooter%} is 1:
- if {team.%event-entity%} is 1:
- cancel the event
- if {team.%shooter%} is 2:
- if {team.%event-entity%} is 2:
- cancel the event
- on death of player:
- if {team.%victim%} is 1:
- add 1 to {gteamsc}
- add 1 to {pksc.%attacker%}
- add 1 to {pdsc.%victim%}
- if {team.%victim%} is 2:
- add 1 to {rteamsc}
- add 1 to {pksc.%attacker%}
- add 1 to {pdsc.%victim%}
- add 1 to {levexp.%attacker%}
- on respawn:
- if {team.%player%} is 1:
- if {wm} is 1:
- teleport player to {rspawn1}
- if {wm} is 2:
- teleport player to {rspawn2}
- if {wm} is 3:
- teleport player to {rspawn3}
- if {wm} is 4:
- teleport player to {rspawn4}
- if {team.%player%} is 2:
- if {wm} is 1:
- teleport player to {gspawn1}
- if {wm} is 2:
- teleport player to {gspawn2}
- if {wm} is 3:
- teleport player to {gspawn3}
- if {wm} is 4:
- teleport player to {gspawn4}
- on log out:
- set {team.%player%} to 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement