Commit Graph

24 Commits

Author SHA1 Message Date
metalgearsloth
9516ab5794 Fix bwoink sounds (#25441)
* Fix bwoink sounds

Didn't get a chance to test with 2 clients as I'm about to sleep but otherwise I'll check tomorrow.

* a

(cherry picked from commit 79c6385ca7d1b42263e154dc1dad4fe912ac0bbf)
2024-03-05 09:45:58 +01:00
dffdff2423
6757f63a90 Add option for admins to disable bwoink (#25008)
* Add option for admins to disable bwoink

In a vain attempt to get people to ahelp more, provide the possibility
for admins to not play the bwoink sound if they don't want to scare the
player.

* Add silent indicator to discord relay

* Use string interpolation

(cherry picked from commit a3c93b0bd7478c0f75daaa2f7d0bd8b88565b27e)
2024-03-05 09:43:40 +01:00
Pieter-Jan Briers
ccea85136b Random spontaneous cleanup PR (#25131)
* Use new Subs.CVar helper

Removes manual config OnValueChanged calls, removes need to remember to manually unsubscribe.

This both reduces boilerplate and fixes many issues where subscriptions weren't removed on entity system shutdown.

* Fix a bunch of warnings

* More warning fixes

* Use new DateTime serializer to get rid of ISerializationHooks in changelog code.

* Get rid of some more ISerializationHooks for enums

* And a little more

* Apply suggestions from code review

Co-authored-by: 0x6273 <0x40@keemail.me>

---------

Co-authored-by: 0x6273 <0x40@keemail.me>
(cherry picked from commit 68ce53ae17985876d6d112b764b2144964a9f42e)
2024-02-18 23:02:29 +01:00
Repo
f016a076c2 Fix aHelp relay to detect AFK Admins (#24482)
* Add AFK detection for aHelp relay and admin specific afk time.

* Correct query to new refactor

* Change AFK timeout to 10min or else Pancake closes my PR 😭

* It wasnt a bug it was a feature, way less aHelps that way.

* aHelp Colors arn't real!

* Update Content.Shared/CCVar/CCVars.cs

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
(cherry picked from commit 00841217062ba60d38320dfd2b93288548bb4201)
2024-02-08 12:22:51 +01:00
LordCarve
ad35a2fda3 Obsolete refactor - ConnectedClient to Channel (#24409)
(cherry picked from commit 05a2e6b3a21e5fb3198432d885bbe28506d85b9c)
2024-01-27 23:44:02 +01:00
LankLTE
dfe06b2725 fix ahelp relay times (#23001)
RoundDuration instead of CurTime

(cherry picked from commit d75d7d71879d8ef9251b5fab4b44489fb8b92cde)
2024-01-22 18:37:41 +01:00
LankLTE
d336e43278 add round time to the ahelp relay (#22937)
* Basic roundtime implementation

* Forgot to clamp the length checker

(cherry picked from commit e10a314ec2314a6a24a59956c9594b3ba65cbd34)
2024-01-22 18:36:54 +01:00
Simon
251ef693de CVar for custom name in client-side ahelp menu. (#22069)
* the grinch will ruin christmas

* comments here, comments there, comments should not be a thing :godo:

* Unsubscribe from CVar

* rename cvar to be clearer.

* Change switch to if statement.
2023-12-22 23:00:30 +01:00
Leon Friedrich
e66c0b5035 Un-revert IPlayerManager refactor (#21244) 2023-10-31 19:00:44 +01:00
DrSmugleaf
3f3ba6ac62 Move minds, roles, jobs and objectives to shared (#19679) 2023-08-30 21:46:11 -07:00
DrSmugleaf
15c0211fb2 Refactor minds to be entities with components, make roles components (#19591)
Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2023-08-28 16:53:24 -07:00
DrSmugleaf
4daabaae05 Fix invalid types for some discord webhook values (#19515) 2023-08-24 22:59:43 -07:00
DrSmugleaf
913c80db4a Add round end Discord pings, discord webhook API (#19468) 2023-08-24 16:50:07 -05:00
DrSmugleaf
35d7656784 Add ahelp typing indicator for admins (#19060)
* Add ahelp typing indicator for admins

* Lower typing updates throttle from 3 seconds to 1

* Add stopping typing when sending a message

* Lower typing indicator timeout from 15 to 10 seconds
2023-08-13 18:03:17 -05:00
metalgearsloth
90110183be Fix a bunch of logger warnings (#17691) 2023-06-27 23:56:52 +10:00
DrSmugleaf
c25d7ba7bd Fix not showing ahelp relay label to players (#15327) 2023-04-12 10:19:09 +10:00
DrSmugleaf
ed45440256 Always show ahelp relay message when the relay is enabled (#14931) 2023-03-28 14:27:21 -07:00
DrSmugleaf
427e586f80 Fix AHelp erroring when sending empty avatar and footer icon urls (#13416) 2023-01-10 17:33:38 +01:00
Visne
81eee73995 BwoinkSystem improvements (#11258)
* stuff

* style

* cleanup & fix

* Bold
2022-09-14 12:19:32 -05:00
Visne
e6f4f158d7 Display "lobby" if round ID is 0 for Discord AHelp embeds (#11197) 2022-09-11 20:52:27 -07:00
Visne
0a3cf8325f Add embeds to AHelp relay (#11184) 2022-09-11 08:43:38 -07:00
Visne
6fbac12ac3 Makes ahelp relay messages a little less disgusting to look at (#11149)
* Makes ahelp relay messages a little less disgusting to look at

* Improve title
2022-09-10 01:43:46 -05:00
20kdc
44945b6da6 Hopefully prevent interactions between admins without AHelp access and AHelps. (#11041) 2022-09-05 10:50:52 -05:00
Moony
130302a262 Adds twenty-one new smites, moves the explosion smite to the verb category. (#8456)
* Adds seven new smites, moves the explosion smite to the verb category.

* adds even more smites.

* Even more smites, some messages for specific smites.

* Adds even more smites.

* Removes some junk, adds a smite that angers the pointing arrows.

* get rid of dumb component.

* Remove mistake from verb menu presentation.

* How did that happen?

* whoops

* c

* e

* fuck

* Loading...

* removes the BoM go away

* adds the funny kill sign. Fixes ghost smite.

* Move systems around.

* Adjust organ vomit.

* Adds a smite that turns people into an instrument, and one that removes their gravity.

* oops

* typo

Co-authored-by: Veritius <veritiusgaming@gmail.com>
2022-05-27 00:41:18 -07:00