Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # *********************************************************************************
- # ON FIRST JOIN EVENT
- # *********************************************************************************
- Options:
- pf: &8&l| &aGreenEnder &8&l|
- # *********************************************************************************
- # ON FIRST JOIN EVENT
- # *********************************************************************************
- On first join:
- set {antalkills.%player%} to 0
- set {antaldøde.%player%} to 0
- set {killstreak.%player%} to 0
- set {nuværendekills.%player%} to 0
- set {nuværendedøde.%player%} to 0
- set {nuværendekillstreak.%player%} to 0
- # *********************************************************************************
- # COMMAND TIL MENUEN
- # *********************************************************************************
- command /spillerinfo [<offlineplayer>]:
- trigger:
- if arg 1 is not set:
- message "{@pf} &7Du har ikke indtastet en spillers navn: &7/spillerinfo &a<player>"
- if arg 1 is set:
- wait 2 tick
- open chest with 3 rows named "&6SPILLER >> &a%arg 1%" to player
- wait 2 tick
- format slot 0 of player with light green glass pane named "" with lore "" to be unstealable
- format slot 1 of player with light green glass pane named "" with lore "" to be unstealable
- format slot 2 of player with light green glass pane named "" with lore "" to be unstealable
- format slot 3 of player with light green glass pane named "" with lore "" to be unstealable
- format slot 4 of player with light green glass pane named "" with lore "" to be unstealable
- format slot 5 of player with light green glass pane named "" with lore "" to be unstealable
- format slot 6 of player with light green glass pane named "" with lore "" to be unstealable
- format slot 7 of player with light green glass pane named "" with lore "" to be unstealable
- format slot 8 of player with light green glass pane named "" with lore "" to be unstealable
- format slot 18 of player with light green glass pane named "" with lore "" to be unstealable
- format slot 19 of player with light green glass pane named "" with lore "" to be unstealable
- format slot 20 of player with light green glass pane named "" with lore "" to be unstealable
- format slot 21 of player with light green glass pane named "" with lore "" to be unstealable
- format slot 22 of player with light green glass pane named "" with lore "" to be unstealable
- format slot 23 of player with light green glass pane named "" with lore "" to be unstealable
- format slot 24 of player with light green glass pane named "" with lore "" to be unstealable
- format slot 25 of player with light green glass pane named "" with lore "" to be unstealable
- format slot 13 of player with player's skull named "&6SPILLER >> &a%arg 1%" with lore "&7Kills: &a%{antalkills.%player%}%||&7Døde: &a%{antaldøde.%player%}%||&7Killstreak: &a%{killstreak.%player%}%||&7Nuværende kills: &a%{nuværendekills.%player%}%||&7Nuværende døde: &a%{nuværendedøde.%player%}%||&7Nuværende killstreak: &a%{nuværendekillstreak.%player%}%" to be unstealable
- # *********************************************************************************
- # ON DEATH EVENT
- # *********************************************************************************
- On death:
- victim is a player
- add 1 to {antaldøde.%player%}
- add 1 to {nuværendedøde.%player%}
- attacker is a player
- add 1 to {antalkills.%player%}
- add 1 to {nuværendekills.%player%}
- add 1 to {nuværendekillstreak.%player%}
- message "{@pf} &7Du har nu en killstreak på &a%{nuværendekillstreak.%player%}%" to attacker
- set {nuværendekillstreak.%victim%} to 0
- if {nuværendekillstreak.%attacker%} is greater than {killstreak.%attacker%}:
- set {killstreak.%attacker%} to {nuværendekillstreak.%attacker%}
- message "{@pf} &7Din nye bedste killstreak er &a%{killstreak.%attacker%}%" to attacker
- # *********************************************************************************
- # ON QUIT EVENT
- # *********************************************************************************
- On quit:
- set {nuværendekills.%player%} to 0
- set {nuværendekillstreak.%player%} to 0
- set {nuværendedøde.%player%} to 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement