Jump to content

Question

3 answers to this question

Recommended Posts

  • 1
Posted

I think the modifiers are:

  • s = seconds
  • n = minutes
  • mn = minutes
  • h = hours
  • d = days
  • j = days
  • m = months
  • y = years
  • a = years

This would ban them for 24 hours:

@ban 24h JaceyMarie

You can also combine those modifiers:

/*==========================================
* charban command (usage: charban <time> <player_name>)
* This command do a limited ban on a player
* Time is done as follows:
*   Adjustment value (-1, 1, +1, etc...)
*   Modified element:
*     a or y: year
*     m:  month
*     j or d: day
*     h:  hour
*     mn: minute
*     s:  second
* <example> @ban +1m-2mn1s-6y test_player
*           this example adds 1 month and 1 second, and substracts 2 minutes and 6 years at the same time.
*------------------------------------------*/

  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...