Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- # Niet Aankomen
- build: B349-1.17.X
- prefix: &c&lCBNL &8➤&r
- deaths: &7&l☠ &8➤&r
- joined: &2&l✔ &8➤&r
- quited: &4&l❌ &8➤&r
- chatFormatter: true
- chatformat: "&8| Gamer |&7 %name of player% &8» &7%message%"
- chatformat-admin: "&b| Admin |&7 %name of player% &8» &7%message%"
- chatformat-dev: "&c| Dev |&7 %name of player% &8» &7%message%"
- chatformat-twitchsub: "&5| Sub |&7 %name of player% &8» &7%message%"
- # Version
- # Voor ander script
- command /cbnl-version:
- trigger:
- send "{@prefix} &7Je gebruikt op dit moment versie: &3{@build}"
- stop
- # C Teams
- command /cteam [<offline player>] [<text>]:
- trigger:
- if executor is "Douwsky":
- if arg-1 is set:
- if arg-2 is "tsub":
- execute console command "team join twitchsub %arg-1%"
- send "{@prefix} &e%arg-1% &7is &2toegevoegd &7aan de &5TwitchSub &7groep. &a&oOK"
- send "{@prefix} &7Je bent &2toegevoegd &7aan de &5TwitchSub &7groep door &e%executor%&7." to arg-1
- set tablist name of arg-1 to "&5| Sub | &7%player%"
- set the display name of arg-1 to "&7%arg-1%"
- set {twitchsubt::%arg-1%} to true
- stop
- if arg-2 is "live":
- send "{@prefix} &e%arg-1% &7is &2toegevoegd &7aan de &6LIVE &7groep. &a&oOK"
- send "{@prefix} &7Je bent &2toegevoegd &7aan de &6LIVE &7groep door &e%executor%&7." to arg-1
- set tablist name of arg-1 to "&6| LIVE | &7%player%"
- set the display name of arg-1 to "&7%arg-1%"
- stop
- if arg-1 is set:
- if arg-2 is "rsub":
- execute console command "team leave %arg-1%"
- send "{@prefix} &e%arg-1% &7is &4verwijderd &7van de &5TwitchSub &7groep. &a&oOK"
- send "{@prefix} &7Je bent &4verwijderd &7van de &5TwitchSub &7groep door &e%executor%&7." to arg-1
- set tablist name of arg-1 to "&8| Gamer | &7%player%"
- set the display name of arg-1 to "&7%arg-1%"
- set {twitchsubt::%arg-1%} to false
- stop
- if arg-1 is set:
- if arg-2 is "rlive":
- send "{@prefix} &e%arg-1% &7is &4verwijderd &7van de &6Live &7groep. &a&oOK"
- send "{@prefix} &7Je bent &4verwijderd &7van de &6Live &7groep door &e%executor%&7." to arg-1
- set tablist name of arg-1 to "&8| Gamer | &7%player%"
- set the display name of arg-1 to "&7%arg-1%"
- stop
- if arg-1 is set:
- if arg 2 is not set:
- message "{@prefix} &7Team Argument niet gevonden of onjuist. &4&oFAIL"
- stop
- if arg 1 is not set:
- send "{@prefix} &7Speler & Team Argument niet gevonden of onjuist. &4&oFAIL"
- stop
- else:
- send "{@prefix} &cU kan dit commando niet uitvoeren &7(.nopermission .noOP)"
- stop
- if executor is "WolfTM":
- if arg-1 is set:
- if arg-2 is "tsub":
- execute console command "team join twitchsub %arg-1%"
- send "{@prefix} &e%arg-1% &7is &2toegevoegd &7aan de &5TwitchSub &7groep. &a&oOK"
- send "{@prefix} &7Je bent &2toegevoegd &7aan de &5TwitchSub &7groep door &e%executor%&7." to arg-1
- set tablist name of arg-1 to "&5| Sub | &7%player%"
- set the display name of arg-1 to "&7%arg-1%"
- set {twitchsubt::%arg-1%} to true
- stop
- if arg-2 is "live":
- send "{@prefix} &e%arg-1% &7is &2toegevoegd &7aan de &6LIVE &7groep. &a&oOK"
- send "{@prefix} &7Je bent &2toegevoegd &7aan de &6LIVE &7groep door &e%executor%&7." to arg-1
- set tablist name of arg-1 to "&6| LIVE | &7%player%"
- set the display name of arg-1 to "&7%arg-1%"
- stop
- if arg-1 is set:
- if arg-2 is "rsub":
- execute console command "team leave %arg-1%"
- send "{@prefix} &e%arg-1% &7is &4verwijderd &7van de &5TwitchSub &7groep. &a&oOK"
- send "{@prefix} &7Je bent &4verwijderd &7van de &5TwitchSub &7groep door &e%executor%&7." to arg-1
- set tablist name of arg-1 to "&8| Gamer | &7%player%"
- set the display name of arg-1 to "&7%arg-1%"
- set {twitchsubt::%arg-1%} to false
- stop
- if arg-1 is set:
- if arg-2 is "rlive":
- send "{@prefix} &e%arg-1% &7is &4verwijderd &7van de &6Live &7groep. &a&oOK"
- send "{@prefix} &7Je bent &4verwijderd &7van de &6Live &7groep door &e%executor%&7." to arg-1
- set tablist name of arg-1 to "&8| Gamer | &7%player%"
- set the display name of arg-1 to "&7%arg-1%"
- stop
- if arg-1 is set:
- if arg 2 is not set:
- message "{@prefix} &7Team Argument niet gevonden of onjuist. &4&oFAIL"
- stop
- if arg 1 is not set:
- send "{@prefix} &7Speler & Team Argument niet gevonden of onjuist. &4&oFAIL"
- stop
- else:
- send "{@prefix} &cU kan dit commando niet uitvoeren &7(.nopermission .noOP)"
- stop
- if executor is "Technoviking_":
- if arg-1 is set:
- if arg-2 is "tsub":
- execute console command "team join twitchsub %arg-1%"
- send "{@prefix} &e%arg-1% &7is &2toegevoegd &7aan de &5TwitchSub &7groep. &a&oOK"
- send "{@prefix} &7Je bent &2toegevoegd &7aan de &5TwitchSub &7groep door &e%executor%&7." to arg-1
- set tablist name of arg-1 to "&5| Sub | &7%player%"
- set the display name of arg-1 to "&7%arg-1%"
- set {twitchsubt::%arg-1%} to true
- stop
- if arg-2 is "live":
- send "{@prefix} &e%arg-1% &7is &2toegevoegd &7aan de &6LIVE &7groep. &a&oOK"
- send "{@prefix} &7Je bent &2toegevoegd &7aan de &6LIVE &7groep door &e%executor%&7." to arg-1
- set tablist name of arg-1 to "&6| LIVE | &7%player%"
- set the display name of arg-1 to "&7%arg-1%"
- stop
- if arg-1 is set:
- if arg-2 is "rsub":
- execute console command "team leave %arg-1%"
- send "{@prefix} &e%arg-1% &7is &4verwijderd &7van de &5TwitchSub &7groep. &a&oOK"
- send "{@prefix} &7Je bent &4verwijderd &7van de &5TwitchSub &7groep door &e%executor%&7." to arg-1
- set tablist name of arg-1 to "&8| Gamer | &7%player%"
- set the display name of arg-1 to "&7%arg-1%"
- set {twitchsubt::%arg-1%} to false
- stop
- if arg-1 is set:
- if arg-2 is "rlive":
- send "{@prefix} &e%arg-1% &7is &4verwijderd &7van de &6Live &7groep. &a&oOK"
- send "{@prefix} &7Je bent &4verwijderd &7van de &6Live &7groep door &e%executor%&7." to arg-1
- set tablist name of arg-1 to "&8| Gamer | &7%player%"
- set the display name of arg-1 to "&7%arg-1%"
- stop
- if arg-1 is set:
- if arg 2 is not set:
- message "{@prefix} &7Team Argument niet gevonden of onjuist. &4&oFAIL"
- stop
- if arg 1 is not set:
- send "{@prefix} &7Speler & Team Argument niet gevonden of onjuist. &4&oFAIL"
- stop
- else:
- send "{@prefix} &cU kan dit commando niet uitvoeren &7(.nopermission .noOP)"
- stop
- # Lister
- command /staff:
- trigger:
- send "{@prefix}"
- send "{@prefix} &e&lStaff"
- send "{@prefix}"
- send "{@prefix} &bAdmins&7:"
- send "{@prefix} &7&oDouwsky&7, &7&oTechnoviking_"
- send "{@prefix}"
- send "{@prefix} &cDeveloper&7:"
- send "{@prefix} &7&oWolfTM"
- send "{@prefix}"
- stop
- # Granted & Revoker OP
- command /perms [<player>] [<text>] [<text>]:
- trigger:
- if executor is "WolfTM":
- if arg-1 is set:
- if arg-2 is "grant":
- if arg-3 is "All":
- send "{@prefix} &7Granted permission &c&lALL &7to &e%arg-1%"
- execute console command "op %arg-1%"
- stop
- if arg-2 is "revoke":
- if arg-3 is "All":
- send "{@prefix} &7Revoked permission &c&lALL &7to &e%arg-1%"
- execute console command "deop %arg-1%"
- stop
- if arg-3 is not set:
- send "{@prefix} &7Granting Permission is not set!"
- stop
- if arg-2 is not set:
- send "{@prefix} &7Give or Revoke is not set!"
- stop
- if arg-1 is not set:
- send "{@prefix} &7Player & Granting Permission is not set!"
- send "{@prefix} &eUse: &7/perms [User] [Grant/Revoke] [Perm]"
- stop
- if executor is "Douwsky":
- if arg-1 is set:
- if arg-2 is "grant":
- if arg-3 is "All":
- send "{@prefix} &7Granted permission &c&lALL &7to &e%arg-1%"
- execute console command "op %arg-1%"
- stop
- if arg-2 is "revoke":
- if arg-3 is "All":
- send "{@prefix} &7Revoked permission &c&lALL &7to &e%arg-1%"
- execute console command "deop %arg-1%"
- stop
- if arg-3 is not set:
- send "{@prefix} &7Granting Permission is not set!"
- stop
- if arg-2 is not set:
- send "{@prefix} &7Give or Revoke is not set!"
- stop
- if arg-1 is not set:
- send "{@prefix} &7Player & Granting Permission is not set!"
- send "{@prefix} &eUse: &7/grant [User] [Grant/Revoke] [Perm]"
- stop
- else:
- send "{@prefix} &cU kan dit commando niet uitvoeren &7(.nopermission .noOP)"
- stop
- command /team-setup:
- trigger:
- if executor is "WolfTM":
- send "{@prefix} &7Setup &6Activated&7!"
- send "{@prefix} &7Setup &6Activated &7by %executor%!" to console
- execute console command "team add dev"
- wait 1 second
- execute console command "team modify dev color red"
- wait 1 second
- execute console command "team join dev WolfTM"
- wait 1 second
- execute console command "team add admin"
- wait 1 second
- execute console command "team modify admin color aqua"
- wait 1 second
- execute console command "team join admin Douwsky"
- wait 1 second
- execute console command "team join admin Technoviking_"
- wait 1 second
- execute console command "team add twitchsub"
- wait 1 second
- execute console command "team modify twitchsub color dark_purple"
- wait 1 second
- send "{@prefix} &7Setup &aDONE!"
- send "{@prefix} &7Setup &aDONE&7 by %executor%!" to console
- stop
- else:
- send "{@prefix} &cU kan dit commando niet uitvoeren &7(.nopermission .noOP)"
- stop
- # On Chat
- on chat:
- if player is "Douwsky":
- cancel event
- broadcast colored {@chatformat-admin}
- stop
- if player is "Technoviking_":
- cancel event
- broadcast colored {@chatformat-admin}
- stop
- if player is "WolfTM":
- cancel event
- broadcast colored {@chatformat-dev}
- stop
- if {twitchsubt::%player%} is true:
- cancel event
- broadcast colored {@chatformat-twitchsub}
- stop
- else:
- cancel event
- broadcast {@chatformat}
- stop
- # On Join Event
- on join:
- if player is "Douwsky":
- set tablist name of player to "&b| Admin | &7%player%"
- set the display name of player to "&7%player%"
- set join message to "{@joined} &bAdmin &7%player%"
- stop
- if {twitchsubt::%player%} is true:
- set tablist name of player to "&5| Sub | &7%player%"
- set the display name of player to "&7%player%"
- set join message to "{@joined} &5Sub &7%player%"
- stop
- if player is "Technoviking_":
- set tablist name of player to "&b| Admin | &7%player%"
- set the display name of player to "&7%player%"
- set join message to "{@joined} &bAdmin &7%player%"
- stop
- if player is "WolfTM":
- set tablist name of player to "&c| Dev | &7%player%"
- set the display name of player to "&7%player%"
- set join message to "{@joined} &cDev * &7%player%"
- stop
- else:
- set tablist name of player to "&8| Gamer | &7%player%"
- set join message to "{@joined} &7%player%"
- stop
- # On Quit Event
- on quit:
- if player is "Douwsky":
- set leave message to "{@quited} &bAdmin &7%player%"
- stop
- if {twitchsubt::%player%} is true:
- set leave message to "{@quited} &5Sub &7%player%"
- stop
- if player is "Technoviking_":
- set leave message to "{@quited} &bAdmin &7%player%"
- stop
- if player is "WolfTM":
- set leave message to "{@quited} &cDev * &7%player%"
- stop
- else:
- set leave message to "{@quited} &7%player%"
- stop
- # START On Death
- on death of player:
- # Attacker Player
- if attacker is a player:
- # Bow (Projectiles)
- if projectile is set:
- set the death message to "{@deaths} %victim% &7is neergeschoten door&r %attacker%"
- # Sword/Hand (No Projectiles)
- if projectile is not set:
- set the death message to "{@deaths} %victim% &7is vermoord door&r %attacker%"
- # Attacker not Player
- if attacker is not a player:
- if attacker is set:
- # Bow (Projectiles)
- if projectile is set:
- set the death message to "{@deaths} %victim% &7is neergeschoten door een &c%attacker%"
- # Sword/Hand (No Projectiles)
- if projectile is not set:
- # Killer Bunny
- if attacker is a killer rabbit:
- set the death message to "{@deaths} %victim% &7was target van hitman &cKiller Bunny"
- # Normal Guardian
- if attacker is a normal guardian:
- set the death message to "{@deaths} %victim% &7is vermoord door een &cguardian"
- # Default
- else:
- set the death message to "{@deaths} %victim% &7is vermoord door een &c%attacker%"
- # Potions & Magic
- if damage was caused by potion:
- set the death message to "{@deaths} %victim% &7is vergiftigd"
- # Drowning & Water
- if damage was caused by drowning:
- set the death message to "{@deaths} %victim% &7is verdronken"
- # Lava
- if damage was caused by lava:
- set the death message to "{@deaths} %victim% &7probeerde te zwemmen in lava"
- # Burning
- if damage was caused by burning:
- set the death message to "{@deaths} %victim% &7heeft zijn brandwonden niet overleeft"
- # Fire
- if damage was caused by fire:
- set the death message to "{@deaths} %victim% &7heeft de brand niet overleeft"
- # Void & World
- if damage was caused by void:
- set the death message to "{@deaths} %victim% &7viel van de wereld"
- # Fall Damage
- if damage was caused by fall:
- set the death message to "{@deaths} %victim% &7heeft de harde landing niet overleeft"
- # END On Death
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement