[FEATURE]: Player Jail or Timeout
Scope
Web, In-Game Menu, Developer API
Feature Description
I would like to have the ability to jail online/offline players via the web/ingame-panel, for a specific reason and time. An adminjail should stop all movements, stop the player from using any other scripts (if possible), teleport the player (a: to another dimension, b: to any place under the map).
Use Case
- Player has violated a rule, but it is too much to ban him (Ban is often not the right punishment).
Proposed Solution
We could just include the functionality in txAdmin.
Additional Info
If this is in the scope of this project, I would love to contribute this feature.
TxAdmin primarily functions as a player management interface, not a roleplay (RP) intervention tool.
I get what you're saying, but I think you might be looking at this the wrong way. I'm not asking for a roleplay feature. This is supposed to be a tool for admins, plain and simple.
Think of it as a step between a simple "warn" and a full-on "ban." Sometimes a player messes up, but not badly enough to get banned. A kick is useless because they can just come right back. A temp-ban just means they go play somewhere else for a while.
This "jail" idea is a real punishment. It forces the player to actually stop and wait, right there in the game. It's an admin freezing a player because they broke a rule—not a cop arresting them for an in-game crime. That's why I suggested things like teleporting them under the map or to another dimension; it's a technical action, not roleplay.
Basically, it gives admins a better option for managing their server and dealing with rule-breakers. It's not about adding to RP, it's about giving admins more control.
Besides, there's no real disadvantage to having this feature in txAdmin.
Actually, I see what you mean.
What you looking for is some kind of "timeout" action.
Server owners often use the kick as a timeout (which I never really liked) and I'm considering alternatives on how to implement that.
I see your suggestion as more sophisticated, but I'm worried that admins will still prefer to just kick the player instead.
If you don't mind, I'll rename and reopen this issue, for future feedback.
Adding some caveats from a discord convo:
- Which bucket to pick? Whatever number we pick someone somewhere will be using it for some reason, so would likely need to check all buckets for an empty one and then send some event so other resources know that that bucket is busy.
- Just keeping the player locked in is already hard… so many random resources interactions that would make the user do weird stuff (other than just teleporting, which we could counter)
- People would want the jail to also disable other resources like phone, job, etc. Which is something that we can’t really do ourselves, so would need to push for other resources to listen to some event and disable themselves
- Player could just reconnect, in which case we would need to save some state and send the player back to jail.
- Do we count overall time or just time spent inside the jail?
- Is this feature easy to understand? Would admins just keep doing kicks as punishment instead of sending to jail?
- Would we need some kind of in game UI to let the admins see who is in jail and to be able to release them?
- If this jail is going to be physical where the ped can still move around (instead of some black screen with a counter), do we let admins teleport to the player so they could talk to each other? (For verbal beatdown or reeducation)
- If so, do we use some kind of MLO? How can we do it?
- Would jailed players be in the same jail (bucket), or do we separate them?
- Don't forget it all needs to work in RedM as well.
- Have a config option for which bucket range to use, if not specified then use a default one set by txAdmin.
- Checking their coordinates, freeze state every X amount of time might be the only thing you can do 🤔
- Time spent inside timeout (coordinate checking), if players somehow escape Michael Scofield style
- Its an excellent option that is better than a kick or ban HOWEVER, server owners already have their own punishment systems in place so even the idea of switching systems they may not like.
- Config option for coordinates, if not specified then use a default one set by txAdmin (some default GTA interior or remote island off the side of the map)
- definitely separate buckets if possible as the whole point is to timeout a player.
I'm not sure if this was meant to be answered or not lol but giving feedback anyways 🤷♂️
This also does seem like ALOT of effort for a timeout system and following question 6, This timeout system needs to be significantly better then what server owners are currently using for "adminjails" otherwise It wont be utilised. (Putting a player on timeout via the txAdmin web panel already will make it better than traditional "adminjail" resources).