Sueta
KN

KnockIt Plugin | SKRIPT

2018-01-01

Knockout | KnockIt | Knockback-FFA

·Plugin

KnockIT Plugin with many Features!

Features:
- Stick
- Shop
- Kits
- Much soon!

Plugin Made by Indomini1

On First Join:
    set join Message to "&a» &7&l%player% &7hat das Spiel betreten!"
    heal player
    teleport player to {knock.spawn}
    set slot 0 of player's Inventory to Stick named "&c&lKnockBack Stick"
    set slot 8 of player`s Inventory to Chest named "&a&lKits (free)"
    if player has permission "knock.vip":
    set slot 7 of Player's Inventory to Ender_chest named "&d&lKits &(VIP)"

#JoinTheGame   
On Join:
    set join Message to "&a» &7&l%player% &7hat das Spiel betreten!"
    heal player
    teleport player to {knock.spawn}
    set slot 0 of player's Inventory to Stick named "&c&lKnockBack Stick"
    set slot 8 of player`s Inventory to Chest named "&a&lKits (free)"
    if player has permission "knock.vip":
    set slot 7 of Player's Inventory to Ender_chest named "&d&lKits &(VIP)"
#LeaveTheGame
on quit:
    set quit message to "&c« &7&l%player% &7hat das Spiel verlassen!"
    clear player's inventory
#CancelDrop
on drop:
    cancel event

#NoHunger
on hunger meter change:
    If {Game} is not set:
        cancel event

#NoRain
on weather change:
    cancel event

#NoDamage
on damage:
    heal viktim
    
#CommandSetSpawn
command /setspawn:
    permission: lobby.admin
    permission message: &cHey! Du hast dafür keine Rechte.
    trigger:
        set {spawn.lobby} to location of player
        send "&aDu hast den Spawn gesetzt"

#CommandSpawn
command /spawn:
    trigger:
        send "&aDu wirst zum Spawn teleportiert"
        teleport player to {spawn.lobby}
    
#CommandAngel
command /angel:
    trigger:
        send "&7| &b&lTopiaKnock &8» &aDu hast erfolgreich das Kit &cAngler &aausgewählt!"
        set slot 1 of player's Inventory to fishing rod named "&b&lAngel"
          
#CommandSchwert
command /schwert:
    trigger:
        send "&7| &b&lTopiaKnock &8» &aDu hast erfolgreich das Kit &cNahKampf &aausgewählt!"
        set slot 1 of player's Inventory to iron sword named "&c&lNah-Kampf"
        
#CommandEnder
command /ender:
    trigger:
        send "&7| &b&lTopiaKnock &8» &aDu hast erfolgreich das &bVIP &aKit &dEnderMan &aausgewählt!"
        set slot 1 of player's Inventory to Ender_pearl named "&dVersuch dein Glück!"
        
#GamesMenu
command /menu:
    trigger:
        wait 2 tick
        play "CLICK" to player at volume 10
        open chest with 5 rows named "&bKITS" to player
        wait 7 ticks
        play "NOTE_PLING" to player at volume 10
        format slot 1 of player with stick named "&aAngel" to close then run [execute player command "/angel"]
        format slot 3 of player with iron sword named "&cNah-Kampf" to close then run [execute player command "/schwert"]
        format slot 18 of player with barrier named "&cVP-ONLY" to close
        format slot 34 of player with ender_pearl named "&dEnderMan Kit" to close then run [send "&cDu bist kein &6Premium &cNutzer!"]
        format slot 36 of player with sand_stone named "&eBuilder Kit" to close then run [send "&cDu bist kein &6Premium &cNutzer!"]
        
#VIPMenu
command /vipmenu:
    trigger:
        wait 2 tick
        play "CLICK" to player at volume 10
        open chest with 5 rows named "&bKITS" to player
        wait 7 ticks
        play "NOTE_PLING" to player at volume 10
        format slot 1 of player with stick named "&aAngel" to close then run [execute player command "/angel"]
        format slot 3 of player with iron sword named "&cNah-Kampf" to close then run [execute player command "/schwert"]
        format slot 18 of player with barrier named "&cVP-ONLY" to close
        format slot 34 of player with ender_pearl named "&dEnderMan Kit" to close then run [execute player command "/ender"]
        format slot 36 of player with sand_stone named "&eBuilder Kit" to close then run [send "&aDieses Kit &cfolgt &anoch!"]
        
#KnockIT
on right click with chest:
        execute player command "/menu"
on right click with ender_chest:
        execute player command "/vipmenu"

Hope you have Fun!

WARNING:
YOU HAVE TO EXTRACT THE KnockIt.ra package in your Plugin Folder!

Similar projects

Plugin →