Jump to content

Making some skripts for ur server


Kevinas

Recommended Posts

2 hours ago, Kevinas said:

READ THIS:

I'm not making complicated or long skripts like gen skripts and so on

Ask for something shorter to make it easier for me

And the most important one enjoy life.

Please  make me a lockdown skript when you do /lockdown it turns on whitelist and kicks all players that arent op and broadcasts "&b&lDeltaSmp &r&c&lHas Gone Into Lockdown

Link to comment
Share on other sites

22 minutes ago, nolando09 said:

Please  make me a lockdown skript when you do /lockdown it turns on whitelist and kicks all players that arent op and broadcasts "&b&lDeltaSmp &r&c&lHas Gone Into Lockdown

command /lockdown:
    permission: op
    trigger:
        send "&b&lDeltaSmp &r&c&lHas Gone Into Lockdown" to all players
        loop all players:
            if player is not a op:
                kick the player
                make console execute command "/whitelist on"

Edited by Kevinas
Link to comment
Share on other sites

27 minutes ago, nolando09 said:

Please  make me a lockdown skript when you do /lockdown it turns on whitelist and kicks all players that arent op and broadcasts "&b&lDeltaSmp &r&c&lHas Gone Into Lockdown

making another one if it doesnt work

command /lockdown:
    permission: op
    trigger:
        broadcast "&b&lDeltaSmp &r&c&lHas Gone Into Lockdown"    
        make console execute command "/kickall"
        set {lockdown} to true


variables:
    {lockdown} = false

on join:
    if {lockdown} = true:
        if player is not op:
            kick the player due to "&b&lDeltaSmp %newline% &r&c&lHas Gone Into Lockdown!"

command /removelockdown:
    permission: op
    trigger:
        set {lockdown} to false
        broadcast "&b&lDeltaSmp &r&c&lis open again!"    
    

 

Link to comment
Share on other sites

7 hours ago, Kevinas said:

making another one if it doesnt work

command /lockdown:
    permission: op
    trigger:
        broadcast "&b&lDeltaSmp &r&c&lHas Gone Into Lockdown"    
        make console execute command "/kickall"
        set {lockdown} to true


variables:
    {lockdown} = false

on join:
    if {lockdown} = true:
        if player is not op:
            kick the player due to "&b&lDeltaSmp %newline% &r&c&lHas Gone Into Lockdown!"

command /removelockdown:
    permission: op
    trigger:
        set {lockdown} to false
        broadcast "&b&lDeltaSmp &r&c&lis open again!"    
    

 

Just use everything in a command and use arguments 🤦‍♀️

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...