Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /przywileje:
- cooldown: 20 ticks
- cooldown message: &8» &7Nie spamuj tak!
- description: przywileje
- trigger:
- open virtual hopper named " Przywileje" to player
- format gui slot 0 of player with black stained glass pane named "ramka"
- if {kupiony.pisanie::%player%} is false:
- format gui slot 1 of player with paper named "&8» &6&lPRZYWILEJ: &7pisanie na chat!" with lore "" and "&7Dzieki temu przywilejowi bedziesz mogl" and "&7pisac na chat!" and "" and "&c&lNIE POSIADASZ TEGO PRZYWILEJA" and "" and "&8» &7Koszt: &63000$" to run player command "wykupczat %player%" with permission "essentials.spawn"
- else:
- format gui slot 1 of player with paper named "&8» &6&lPRZYWILEJ: &7pisanie na chat!" with lore "" and "&7Dzieki temu przywilejowi bedziesz mogl" and "&7pisac na chat!" and "" and "&a&lPOSIADASZ TEN PRZYWILEJ" and "" and "&8» &7Koszt: &63000$" to run player command "wykupczat %player%" with permission "essentials.spawn"
- format gui slot 2 of player with clock named "&8» &6&lPRZYWILEJ: &7brak cooldownu na chatcie" with lore "" and "&7Dzieku temu przywilejowi bedziesz pisal" and "&7bez ograniczen czasowych " and "" and "&c&lNIE POSIADASZ TEGO PRZYWILEJU" and "&8» &7Koszt: &65000$" to run player command "wykupcool" with permission "essentials.spawn"
- command /wykupczat [<player>]:
- trigger:
- if {kupiony.pisanie::%player-arg%} is false:
- if {balances::%player-arg%} > 3000:
- remove 3000 from {balances::%player-arg%}
- set {start.pisanie::%player-arg%} to true
- set {kupiony.pisanie::%player-arg%} to true
- send "&8» &7Od teraz mozesz pisac na chat!"
- close player's inventory
- else if {balances::%player-arg%} < 3000:
- send "&8» &cMasz za malo pieniedzy."
- close player's inventory
- else if {kupiony.pisanie::%player-arg%} is true:
- send "&8» &7Kupiles juz ten przedmiot!"
- close player's inventory
Advertisement
Add Comment
Please, Sign In to add comment