Facebook
From Buff Partdridge, 4 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 204
  1. every second in "world":
  2.         loop all players:
  3.                 wipe loop-player's sidebar
  4.                 set name of sidebar of loop-player to "&a&lYEET &7| &a&l%loop-player%"
  5.                 set score "&c&m---------------" in sidebar of loop-player to 14
  6.                 set score "&7" in sidebar of loop-player to 13
  7.                 set score "  &7Kills: &8» &a%{kills.%loop-player%}%" in sidebar of loop-player to 12
  8.                 set score "  &7Deaths &8» &a%{deaths.%loop-player%}%" in sidebar of loop-player to 11
  9.                 set score "  &7Playtime &8» &a%{playtime.%loop-player%}%" in sidebar of loop-player to 10
  10.                 set score "&f" in sidebar of loop-player to 9
  11.                 set score "&7&oyeetblue.minehut.gg" in sidebar of loop-player to 8
  12.                 set score "&c&m---------------" in sidebar of loop-player to 7
  13.                
  14. every 1 second in "world":
  15.         loop all players:
  16.                 if {kills.%loop-player%} is 0:
  17.                         set {kills.%loop-player%} to 1
  18.                 if {deaths.%loop-player%} is 0:
  19.                         set {deaths.%loop-player%} to 1
  20.                        
  21.                        
  22.                
  23. on death:
  24.         attacker is player
  25.         victim is player
  26.         add 1 to {kills.%attacker%}
  27.         add 1 to {deaths.%victim%}
  28.         send "&7You have killed &c%victim%" to attacker
  29.         send "&c%attacker% &7has killed you!" to victim
  30.         broadcast "&c%attacker% &7has killed &c%victim%"
  31.        
  32. every 1 second in "world":
  33.         loop all players:
  34.                 add 1 to {playtime.%loop-player%}
  35.                
  36. command /stats:
  37.         trigger:
  38.                 loop all players:
  39.                         send "&7Server: &aYeetBlue"
  40.                         send "&7Gamemode: &aSurvival"
  41.                         send "&7Kills: &a%{kills.%loop-player%}%"
  42.                         send "&7Deaths: &a%{deaths.%loop-player%}%"
  43.                         send "&7Playtime: &a%{playtime.%loop-player%}%"
  44.                         stop
  45.                        
  46. command /sethome <text>:
  47.         trigger:
  48.                 if arg 1 is set:
  49.                         set {home.%arg-1%} to position of player
  50.                         send "&7You have set your home &8(%arg-1%)"
  51.                 if arg 1 is not set:
  52.                         send "&7Correct usage: &c/sethome <homename>"
  53.  
  54. command /home <text>:
  55.         trigger:
  56.                 if arg 1 is set:
  57.                         teleport player to {home.%arg-1%}
  58.                         send "&7You have teleported to your home! &8(%arg-1%)" 
  59.                 if arg 1 is not set:
  60.                         send "&7Correct usage: &c/home <homename>"
  61.  
  62. command /delhome <text>:       
  63.         trigger:
  64.                 if arg 1 is set:
  65.                         delete {home.%arg-1%}
  66.                         send "&7You have deleted your home! &8(%arg-1%)"
  67.                 if arg 1 is not set:
  68.                         send "&7Correct usage: &c/delhome <homename>"
  69.  
  70.                        
  71. command /gmc:
  72.         trigger:
  73.                 send "&7You have switched gamemode from &aSurvival &7to &aCreative&7!"
  74.                 set player's gamemode to creative
  75.                 stop
  76.                
  77. command /gms:
  78.         trigger:
  79.                 send "&7You have switched gamemode from &aCreative &7to &aSurvival&7!"
  80.                 set player's gamemode to survival
  81.                 stop
  82.                
  83.                
  84. command /tphere [<player>]:
  85.         trigger:
  86.                 teleport arg-1 to player
  87.                 send "&7You have teleported &a%arg-1% &7to &a%player%&7!"
  88.                 send "&a%player% &7has teleported &ayou &7to them!" to arg-1
  89.                 stop
  90.                
  91. command /tpall [<player>]:
  92.         trigger:
  93.                 loop all players:
  94.                         teleport loop-player to arg-1
  95.                         broadcast "&a%player% &7has teleported everyone to &a%arg-1%&7!"
  96.                         stop
  97.  
  98. command /msg [<player>] [<text>]:
  99.         trigger:
  100.                 if arg-1 is not set:
  101.                         if arg-2 is not set:
  102.                         send "&7You have not written any message to this player!"
  103.                 if arg-1 is set:
  104.                         if arg-2 is set:
  105.                                 send "&7You have sent &a%arg-2% &7to &a%arg-1%&7!"
  106.                                 send "&7From &a%player%&7: &a%arg-2%" to arg-1
  107.        
  108.