Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #------------------------------------------------------#
- # Nie zezwalam na: #
- #- Zarabianie na skrypcie #
- #- Przerabianie/modyfikowanie #
- #- Wykorzystywanie kodu skryptu w swoich skryptach #
- #- Udostepnianiu skryptu innym bez zgody autora #
- #- Usuwanie tresci zawierajacych iformacje autora #
- #- Podszywanie sie pod autora #
- # Zezwalam na: #
- # - Modyfikowanie wiadomosci skryptu na wlasne #
- # potrzeby #
- #------------------------------------------------------#
- Options:
- sk: CobbleManager
- komenda: cobblem
- permission: &4Nie masz uprawnien by uzywac tej komendy!
- tag: &6&lCobble &7>
- alias: cm
- stone: stone
- set: air
- Variables:
- {cobble.%player%.status} = true
- {cobble.%player%.wykopany} = 0
- {cobble.%player%.lvl} = 0
- command /{@komenda} [<text>]:
- aliases: {@alias}
- trigger:
- if arg 1 is not set:
- send "&8===============&2CobbleManager&8===============" to player
- send "&a&l1 &7>&9 /cobblem wylacz -&6 Wylacza Drop Cobbla." to player
- send "&a&l2 &7>&9 /cobblem wlacz -&6 Wlacza Drop Cobbla." to player
- send "&a&l3 &7>&9 /cmsprawdz [GRACZ] -&6 Pokazuje Czy Gracz Ma ON/OFF Drop Cobbla." to player
- send "&a&l4 &7>&9 /cmlvl [GRACZ] -&6 Pokazuje Poziom Gracza I Ile Wykopal Stone'a." to player
- send "&a&l5 &7>&9 /cobblem autor -&6 Pokazuje Autora Skryptu." to player
- if arg 1 is "pomoc" or "help":
- send "&8===============&2CobbleManager&8===============" to player
- send "&a&l1 &7>&9 /cobblem wylacz -&6 Wylacza Drop Cobbla." to player
- send "&a&l2 &7>&9 /cobblem wlacz -&6 Wlacza Drop Cobbla." to player
- send "&a&l3 &7>&9 /cmsprawdz [GRACZ] -&6 Pokazuje Czy Gracz Ma ON/OFF Drop Cobbla." to player
- send "&a&l4 &7>&9 /cmlvl [GRACZ] -&6 Pokazuje Poziom Gracza I Ile Wykopal Stone'a." to player
- send "&a&l4 &7>&9 /cobblem autor -&6 Pokazuje Autora Skryptu." to player
- if arg 1 is "wylacz" or "off":
- if player has permission "cm.uzywanie":
- set {cobble.%player%.status} to false
- send "{@tag} &cWylaczyles Drop Cobbla" to player
- else:
- send "{@tag} {@permission}" to player
- if arg 1 is "wlacz" or "on":
- if player has permission "cm.uzywanie":
- set {cobble.%player%.status} to true
- send "{@tag} &aWlaczyles Drop Cobbla" to player
- else:
- send "{@tag} {@permission}" to player
- if arg 1 is "autor":
- send "&8===============&2CobbleManager&8===============" to player
- send "&a&lAutor &7>&6 Autorem Skryptu Jest &5xBaq &6(&5skillerek&6)." to player
- if arg 1 is "reload" or "przeladuj":
- if player has permission "cm.reload":
- execute console command "/sk reload {@sk}"
- send "{@tag} &aPrzeladowano..."
- stop
- else:
- send "{@tag} {@permission}" to player
- command /cmsprawdz <text>:
- usage: &cPoprawne Uzycie Komendy To &a/cmsprawdz [GRACZ]
- trigger:
- if {cobble.%argument 1%.status} is false:
- send "{@tag} &a%player% &cMa Wylaczony Drop Cobbla" to player
- if {cobble.%argument 1%.status} is true:
- send "{@tag} &a%player% &cMa Wlaczony Drop Cobbla" to player
- command /cmlvl [<player>]:
- usage: &cPoprawne Uzycie Komendy To &a/cmlvl [GRACZ]
- trigger:
- send "{@tag} &cGracz &a%argument 1% &c Ma &a %{cobble.%argument 1%.lvl}% &cLvL." to player
- send "{@tag} &cGracz &a%argument 1% &cWykopal &a %{cobble.%argument 1%.wykopany}% &cStone'a." to player
- on break of stone:
- if {cobble.%player%.status} is false:
- cancel event
- block is {@stone}
- set block to {@set}
- stop
- if {cobble.%player%.status} is true:
- stop
- on break of stone:
- add 1 to {cobble.%player%.wykopany}
- if {cobble.%player%.wykopany} is 300:
- set {cobble.%player%.lvl} to 1
- send "{@tag} &cGratulacje! Awansowales Na &a1 &cPoziom."
- if {cobble.%player%.wykopany} is 600:
- set {cobble.%player%.lvl} to 2
- send "{@tag} &cGratulacje! Awansowales Na &a2 &cPoziom."
- if {cobble.%player%.wykopany} is 900:
- set {cobble.%player%.lvl} to 3
- send "{@tag} &cGratulacje! Awansowales Na &a3 &cPoziom."
- if {cobble.%player%.wykopany} is 1200:
- set {cobble.%player%.lvl} to 4
- send "{@tag} &cGratulacje! Awansowales Na &a4 &cPoziom."
- if {cobble.%player%.wykopany} is 1500:
- set {cobble.%player%.lvl} to 5
- send "{@tag} &cGratulacje! Awansowales Na &a5 &cPoziom."
- if {cobble.%player%.wykopany} is 1800:
- set {cobble.%player%.lvl} to 6
- send "{@tag} &cGratulacje! Awansowales Na &a6 &cPoziom."
- on join:
- set {cobble.%player%.status} to true
- stop
- on chat:
- set player's display name to "&3%{cobble.%player%.lvl}% &8> &7%player%"
- if {cobble.%player%.lvl} is 0:
- set player's display name to "&7%player%"
- on Skript start:
- send "&7|-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|" to the console
- send "&7| &5CobbleManager &7|" to the console
- send "&7|-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|" to the console
Advertisement
Add Comment
Please, Sign In to add comment