Tempban

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Z____

New Member
Mar 26, 2019
5
0
0
hello, i have been recently looking for ways to make a tempban skript, but they are all with timespans, which, i dont understand at all. can you please help?
 
hello, i have been recently looking for ways to make a tempban skript, but they are all with timespans, which, i dont understand at all. can you please help?
Use variables.
code_language.skript:
#code ...
        arg 3 is set:
            set {tempban.%arg 1%} to true
            kick arg 1 due to "&cBanned"
            broadcast "&c%arg 1% was banned"
            wait a week #the "a week" is a example
            set {tempban.%arg 1%} to false
In this way I made the TempBan of my server.
 
Use variables.
code_language.skript:
#code ...
        arg 3 is set:
            set {tempban.%arg 1%} to true
            kick arg 1 due to "&cBanned"
            broadcast "&c%arg 1% was banned"
            wait a week #the "a week" is a example
            set {tempban.%arg 1%} to false
In this way I made the TempBan of my server.
If you stop your server anywhere within that week the player will never be unbanned
 
Will you prefer with timespans or just use a normal easy /essentials:tempban skript just with different messages?
 
I am writing a custom tempban right now. Will you see it when it is done?
[doublepost=1554299764,1554212697][/doublepost]??
 
Status
Not open for further replies.