Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- if {akceptuje.%player%} is true:
- set {akceptuje.%player%} to false
- if {akceptuje.%player%} is false:
- send "&aAkceptuj regulamin, masz na to 40 sekund"
- wait 40 second
- kick player due to "&cBrak akceptacji regulaminu ze strony gracza!"
- variables:
- {akceptuje.%player%} = false
- command /akceptuje:
- description: akceptuje regulamin
- permission: regulamin.SC
- aliases: tak
- trigger:
- if {akceptuje.%player%} is false:
- send "&aAkceptowales regulamin!"
- wait 2 second
- send "&9Sprawdzam Nick: &6%name of player%"
- wait 1 second
- send "&9Akceptuje IP: &6%ip of player%"
- wait 1 second
- send "&bZapraszamy do gry!"
- set {akceptuje.%player%} to true
- command /wychodze:
- description: wychodzi bez akceptacji
- permission: regulamin.SC
- aliases: nie
- trigger:
- if {wychodze.%player%} is true:
- kick player due to "&cBrak akceptacji regulaminu ze strony gracza!"
- on walking on stone, grass, cobblestone, wood, wool, sandstone, sand or gravel:
- if {akceptuje.%player%} is false:
- cancel event
- send "&cMusisz akceptowac regulamin !"
- stop
- if {akceptuje.%player%} is true:
- stop
Advertisement
Add Comment
Please, Sign In to add comment