[BOUNTY] Played-time ban
- WineAllWine
- In-Game Admin Trainer
- Joined: Thu Jun 27, 2019 8:17 pm
- Byond Username: Wineallwine
- Location: LANDAN
[BOUNTY] Played-time ban
I want to be able to place a ban that will automatically expire after a certain amount of hours played. The main thing I'd want to use this for is antag bans - I want to ensure a player plays, say 30 hours as crew before they can do antag again. I can imagine similar useful things for assistant, sec or head bans.
It must be life hours, not observed.
The bounty is 15GBP, doubled if you instead choose to donate it to a charity
Vekter has also kindly offered another £10
[Edit by Timberpoes ft. Misdoubtful and Kieth4]
We are also happy to add antag token(s) to this bounty.
It must be life hours, not observed.
The bounty is 15GBP, doubled if you instead choose to donate it to a charity
Vekter has also kindly offered another £10
[Edit by Timberpoes ft. Misdoubtful and Kieth4]
We are also happy to add antag token(s) to this bounty.
Last edited by WineAllWine on Thu Aug 17, 2023 4:36 pm, edited 1 time in total.
- TheSmallBlue
- Joined: Thu Oct 31, 2019 3:55 pm
- Byond Username: SmallBlue
Re: [BOUNTY] Played-time ban
this isnt a thing already??
- Timberpoes
- In-Game Game Master
- Joined: Wed Feb 12, 2020 4:54 pm
- Byond Username: Timberpoes
Re: [BOUNTY] Played-time ban
This could be very useful. I'll ask the other headmins if they're willing to chip in an antag token for this as well.
/tg/station Codebase Maintainer
/tg/station Game Master/Discord Jannie: Feed me back in my thread.
/tg/station Admin Trainer: Service guarantees citizenship. Would you like to know more?
Feb 2022-Sep 2022 Host Vote Headmin
Mar 2023-Sep 2023 Admin Vote Headmin
/tg/station Game Master/Discord Jannie: Feed me back in my thread.
/tg/station Admin Trainer: Service guarantees citizenship. Would you like to know more?
Feb 2022-Sep 2022 Host Vote Headmin
Mar 2023-Sep 2023 Admin Vote Headmin
- Timberpoes
- In-Game Game Master
- Joined: Wed Feb 12, 2020 4:54 pm
- Byond Username: Timberpoes
Re: [BOUNTY] Played-time ban
Misdoubtful also expressed an interest in additionally supporting this via antag token(s), so I've incorporated that into the OP.
/tg/station Codebase Maintainer
/tg/station Game Master/Discord Jannie: Feed me back in my thread.
/tg/station Admin Trainer: Service guarantees citizenship. Would you like to know more?
Feb 2022-Sep 2022 Host Vote Headmin
Mar 2023-Sep 2023 Admin Vote Headmin
/tg/station Game Master/Discord Jannie: Feed me back in my thread.
/tg/station Admin Trainer: Service guarantees citizenship. Would you like to know more?
Feb 2022-Sep 2022 Host Vote Headmin
Mar 2023-Sep 2023 Admin Vote Headmin
- Timberpoes
- In-Game Game Master
- Joined: Wed Feb 12, 2020 4:54 pm
- Byond Username: Timberpoes
Re: [BOUNTY] Played-time ban
And also Kieth4, so full headmin backing on this one. Good bounty.
/tg/station Codebase Maintainer
/tg/station Game Master/Discord Jannie: Feed me back in my thread.
/tg/station Admin Trainer: Service guarantees citizenship. Would you like to know more?
Feb 2022-Sep 2022 Host Vote Headmin
Mar 2023-Sep 2023 Admin Vote Headmin
/tg/station Game Master/Discord Jannie: Feed me back in my thread.
/tg/station Admin Trainer: Service guarantees citizenship. Would you like to know more?
Feb 2022-Sep 2022 Host Vote Headmin
Mar 2023-Sep 2023 Admin Vote Headmin
- Itseasytosee2me
- Joined: Sun Feb 21, 2021 1:14 am
- Byond Username: Rectification
- Location: Space Station 13
Re: [BOUNTY] Played-time ban
How the heck am I supposed to donate my github good boy points to charity.
I hope the starving kids in south sudan appreciate being able to make TWO feature prs and maybe a balance change.
I hope the starving kids in south sudan appreciate being able to make TWO feature prs and maybe a balance change.
- Sincerely itseasytosee
See you later
See you later
-
- Joined: Fri Mar 03, 2023 12:58 am
- Byond Username: Lokuthewise
Re: [BOUNTY] Played-time ban
Time to learn how to code on byonds broken system. I need those anteg tokuns
- Mothblocks
- Code Maintainer
- Joined: Fri Jul 27, 2018 9:33 am
- Byond Username: Jaredfogle
Re: [BOUNTY] Played-time ban
the harder part is setting up the database
Head Coder of /tg/station, hi!Shaps-cloud wrote: ↑Mon Dec 07, 2020 7:59 am May eventually become one of the illusive maintainer-headmins if they choose to pursue that path, having a coder in the senior admin leadership has usually been positive for both sides in the past.
Head Admin of /tg/station Feb 2022.
Mothblocks everywhere, >>> Say nice things about me <<<
- Nabski
- Joined: Thu Oct 20, 2016 5:42 pm
- Byond Username: Nabski
- Github Username: Nabski89
- Location: TN
Re: [BOUNTY] Played-time ban
You've already got tracked playtime for roles. Couldn't it just compare what that is to a value set when the ban is placed?
That seems better than setting up a new database.
That seems better than setting up a new database.
- TheFinalPotato
- Code Maintainer
- Joined: Sun Oct 13, 2019 7:58 am
- Byond Username: LemonInTheDark
Re: [BOUNTY] Played-time ban
It's impossible to test code like this without a db running locally, which is a pain because the default "testing" template in the codebase is aggressively outdated
- Vekter
- In-Game Admin
- Joined: Thu Apr 17, 2014 10:25 pm
- Byond Username: Vekter
- Location: Fucking around with the engine.
Re: [BOUNTY] Played-time ban
No, bans can only be placed based on real-time duration.
AliasTakuto wrote: ↑Thu Jan 04, 2024 1:11 pm As for the ear replacing stuff, you can ask Anne but I don't think this is what I was banned for. If I was all I can say is "Sorry for being hilarious"...
Omega_DarkPotato wrote:This sucks, dude.
Spoiler:
- Pandarsenic
- Joined: Fri Apr 18, 2014 11:56 pm
- Byond Username: Pandarsenic
- Location: AI Upload
Re: [BOUNTY] Played-time ban
Ban with autocalc of living connected hours? Hell yeah let's go.
(2:53:35 AM) scaredofshadows: how about head of robutts
I once wrote a guide to fixing telecomms woohoo
I once wrote a guide to fixing telecomms woohoo
- Mothblocks
- Code Maintainer
- Joined: Fri Jul 27, 2018 9:33 am
- Byond Username: Jaredfogle
Re: [BOUNTY] Played-time ban
You will soon have no excuseTheFinalPotato wrote: ↑Sat Apr 29, 2023 9:43 am It's impossible to test code like this without a db running locally, which is a pain because the default "testing" template in the codebase is aggressively outdated
Head Coder of /tg/station, hi!Shaps-cloud wrote: ↑Mon Dec 07, 2020 7:59 am May eventually become one of the illusive maintainer-headmins if they choose to pursue that path, having a coder in the senior admin leadership has usually been positive for both sides in the past.
Head Admin of /tg/station Feb 2022.
Mothblocks everywhere, >>> Say nice things about me <<<
- Vekter
- In-Game Admin
- Joined: Thu Apr 17, 2014 10:25 pm
- Byond Username: Vekter
- Location: Fucking around with the engine.
Re: [BOUNTY] Played-time ban
I'm willing to add £10 to this bounty.
AliasTakuto wrote: ↑Thu Jan 04, 2024 1:11 pm As for the ear replacing stuff, you can ask Anne but I don't think this is what I was banned for. If I was all I can say is "Sorry for being hilarious"...
Omega_DarkPotato wrote:This sucks, dude.
Spoiler:
- TypicalRig
- Joined: Sat May 01, 2021 8:18 pm
- Byond Username: TypicalRig
Re: [BOUNTY] Played-time ban
Living connected hours isn't enough. We already have players that will SSD but stay connected and have SS13 semi-afk in the background with maybe their sounds on so they can check the game. There's no point in having this kind of ban if it can be easily bypassed. Let's maybe extend the code to check for actual ingame input every so and so minutes?
- Imitates-The-Lizards
- Joined: Mon Oct 11, 2021 2:28 am
- Byond Username: Typhnox
Re: [BOUNTY] Played-time ban
This is true but living hours played is still definitely a huge improvement over just "amount of time", and at least if they do this sort of thing, they will leave logs (or lack of logs, rather) that can be scrutinized if need be.TypicalRig wrote: ↑Sat Aug 19, 2023 10:39 pm Living connected hours isn't enough. We already have players that will SSD but stay connected and have SS13 semi-afk in the background with maybe their sounds on so they can check the game. There's no point in having this kind of ban if it can be easily bypassed. Let's maybe extend the code to check for actual ingame input every so and so minutes?
I don't think we need to aim for absolute perfection when just the played time ban would be a huge improvement for a lot of situations.
- oranges
- Code Maintainer
- Joined: Tue Apr 15, 2014 9:16 pm
- Byond Username: Optimumtact
- Github Username: optimumtact
- Location: #CHATSHITGETBANGED
Re: [BOUNTY] Played-time ban
this is literally already how it works.TypicalRig wrote: ↑Sat Aug 19, 2023 10:39 pm Living connected hours isn't enough. We already have players that will SSD but stay connected and have SS13 semi-afk in the background with maybe their sounds on so they can check the game. There's no point in having this kind of ban if it can be easily bypassed. Let's maybe extend the code to check for actual ingame input every so and so minutes?
if you go afk you're set as afk and time stops accruing.
Who is online
Users browsing this forum: No registered users