Jump to content
  • 0

Jail time for offline player


Leprechaun

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   0
  • Joined:  11/09/15
  • Last Seen:  

Hi all! Can some one help me please with jailtime. When i jailed player for 1 hour, player warped to jail and player will log off. After 2 or 3 hours player will log on, but they still on jail and his jail time is still one hour.

Can someone help me please with change some source to make jailtime passed even when the player is not in the game. Maybe needs to change some scripts, but i dont know.

Please help!

Edited by Leprechaun
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  545
  • Reputation:   220
  • Joined:  03/01/13
  • Last Seen:  

No sense in creating an SRC edit for it if you don't need to -

 

@ban <+/- time> <player name>
@unban <player name>

Bans or unbans a player account for a limited time.
Time elements: y/a, m, d/j, h, mn, s

Example:
@ban +2d Char2
-> bans Char2's account for 2 days.

Ban them for an hour and they have all the fun of being logged out until the timer expires. If someone is going to break rules or be such a pain that you want to jail them, why give them the benefit of having a choice to stay logged in and chat with friend or be logged out with no access? Just ban them and wait out the hour.

Regards,
~Azura Skyy

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   0
  • Joined:  11/09/15
  • Last Seen:  

Its good idea, but @ban this is not the way out of the problem. I need to do when a player goes out of game, his jailtime will pass ...

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

@ban is for banning account of a player
@jail is to make player on jail
" if you would like to do that too manny player's in your server will be not scared of your punishment if they just want to log out then the time jail will pass". im not recommended to do that most of all if your server is alive"

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

perhaps consider using the charban command?

doc/atcommands.txt#L1295-L1304

Edited by Emistry
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...