I'm looking for a mod or tool that I can use to limit how long a player be play on the server either per week or until it's reset. I will be hosting a private server for some friends for us to race to a goal and some people will only be able to play during the weekend. To give everyone a fair shot at winning, I'd like to implement a sort of time limit per player per week. For example, each player will be allotted 16 hours and once they have used that they will be kicked or prevented from playing until the timer is reset. I've looked around for something that does this but haven't found anything. Is there a way to do this other than the honour system?
Thanks in advance!
Limit players online time per week
-
- Manual Inserter
- Posts: 1
- Joined: Wed Dec 01, 2021 9:48 am
- Contact:
Re: Limit players online time per week
Factorio games in general are unaware of anything outside the game, including real-life time. Single player games can be modded with interactions like streamers do, but that would cause desyncs in multiplayer games.
The best I think you could do would be to have the server keep running when 0 players are logged in. That way it knows real life time, and can track and kick players as needed.
Alternatively, it tracks how many ticks each player is logge bin for, and you manually tell it when to reset the timers with a console command. Or reset the timers when everyone gets up to their 16 hours.
The best I think you could do would be to have the server keep running when 0 players are logged in. That way it knows real life time, and can track and kick players as needed.
Alternatively, it tracks how many ticks each player is logge bin for, and you manually tell it when to reset the timers with a console command. Or reset the timers when everyone gets up to their 16 hours.
My mods: Multiple Unit Train Control, RGB Pipes, Shipping Containers, Rocket Log, Smart Artillery Wagons.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.