Jump to content

Tempban skript


__Tri__

Recommended Posts

command /tempban [<offlineplayer>] [<text>] [<text>]:
    aliases: /tban
    permission: server.tempban
    permission message: {@prefix} &8» &cYou dont have the permission to do that!
    trigger:
        if arg-1 is not set:
            send "{@prefix} &8» &e/tempban <player> <time> <reason>"
            stop
        if arg-2 is not set:
            send "{@prefix} &8» &e/tempban <player> <time> <reason>"
            stop
        if arg-1 is set:
            if arg-2 is set:
                if arg-3 is set:
                broadcast "{@prefix} &e%player% &7has tempbanned &e%arg-1%"
                broadcast "&eReason: &6%arg-3%"
                broadcast "&eTime: &6%arg-2%"
                make console execute "/essentials:tempban %arg-1% %arg-2% %arg-3%  "
                add 1 to {tempban.%arg-1%}

Link to comment
Share on other sites

  • 2 months later...

Post locked due to Necropost

Locked


-------------------------------------------------------------
[VIP] - 2018/2019

[JR.MOD] - 28th April 2019
[SR.MOD] - 21st June 2019

[LEGEND] - 28th July 2020 (Resigned)

-------------------------------------------------------------

Discord - Criticyl#0002

IGN - Criticyl

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...