Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
- Name: VillageProtection
- Version: 1.0
- Skript: 2.0.2
- ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
- ╔════════════════════════════════════════
- ║ DeathHead by FejminTV ║
- ║ Zezwalam na: ║
- ║ - edytowanie komunikatow ║
- ║ Nie zezwalam na: ║
- ║ - Wykorzystywania kody do wlasnych skryptow ║
- ║ - Zarabianie na skrypcie ║
- ║ - Usuwanie informacji o autorze ║
- ╚════════════════════════════════════════
- variables:
- {npc.status} = 1
- options:
- tag: &8[&cVillageProtection&8]
- permission: &4Nie masz uprawnien by uzywac tej komendy!
- on damage of a villager:
- {npc.status} is 1:
- cancel event
- send "{@tag} &7Nie mozesz bic &cNPC "
- command /npc [<text>]:
- trigger:
- if player has permission "npc":
- if arg 1 is "on":
- set {npc.status} to 1
- send "{@tag} &7Zabijanie wiesniakow zostalo wylaczone"
- stop
- if arg 1 is "off":
- set {npc.status} to 0
- send "{@tag} &7Mozna bic Wiescniakow"
- stop
- else:
- send "{@tag} &c/npc <&fon/off&c>"
- stop
- else:
- send "{@tag} {@permission}"
- stop
Advertisement
Add Comment
Please, Sign In to add comment