Question How do I make it so a player can only tempban for a certain amount of time?

Discussion in 'Bukkit Help' started by iLiveorLose, Sep 14, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    iLiveorLose

    Sorry if the title wasn't specific enough, it was hard to find the right words for it, but what I mean is that I would like to be able to make helpers on my server only be able to temp ban people for 5 minutes (I don't mean have the ability to tempban for 5 minutes, I mean ban a player for 5 minutes only).

    I am just wondering what the essentials permission for this is. Thanks in advance for the help, and sorry for the confusing way I worded this.
     
  2. Offline

    Tecno_Wizard

    @iLiveorLose this might require a custom plugin to override some of the behavior of essentials. It's not too difficult either.
     
  3. Offline

    HeartandSoul

    Make permissions on if statements.

    Example: /tempban <player> <time>

    Check the integer on time and put two perms: One for bans, one for longer ones. On first one, check if the int is less than or equal to 5. Opposite on second.
     
Thread Status:
Not open for further replies.

Share This Page