Jump to content
  • 0

@ban Command


Peopleperson49

Question


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

Anybody know how to use the @ban 24 JaceyMarie command? Everytime I try to use it I get:

Invalid time for ban command.

@ban failed.

What format is the time spost to be in. I think I have tried them all.

Peopleperson49

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

@ban <username> <time>

@ban Mysterious 25d (days) 25y (years) 60m (months)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

Thanks for you help, I got it all figured out now!

Peopleperson49

Link to comment
Share on other sites

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.

×
×
  • Create New...