Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Req] API #112

Open
MAGNAT2645 opened this issue Jun 10, 2022 · 7 comments
Open

[Feature Req] API #112

MAGNAT2645 opened this issue Jun 10, 2022 · 7 comments

Comments

@MAGNAT2645
Copy link
Contributor

MAGNAT2645 commented Jun 10, 2022

StAC should have its own API (even if it's very basic) for other plugins to use. For example, there is rage_matrix_attack ability for FF2 which changes sv_cheats for all clients during slowmo and StAC can ban all these clients.

So it would be really useful if StAC had StAC_OnCheatDetected forward (just like in SMAC) and probably other forwards & natives to control through the code.

@sapphonie
Copy link
Owner

good idea, will implement

@leighmacdonald
Copy link

@sapphonie Any expected ETA on this?

@sapphonie
Copy link
Owner

@sapphonie Any expected ETA on this?

Depends, what do you need it for? Would like some more use cases so I can know what exactly to do, here, or if a solution already exists (e.g. toggling cvars, etc)

@sapphonie
Copy link
Owner

There's also the fact that StAC hasn't... really been designed with Funny Gamemodes:tm: in mind, so... errrr. I dunno. I don't know if I want to open the door to having to write a bunch of workarounds for silly plugins doing things to clients that StAC picks up as cheating, though I guess an API would let plugins themselves work around it...

@leighmacdonald
Copy link

Essentially i just want to be able to filter & log and/or act on events in my own external system without having to parse logs.

@sapphonie
Copy link
Owner

Essentially i just want to be able to filter & log and/or act on events in my own external system without having to parse logs.

Would firing off something based off StacLog work? Do you need the additional data e.g. StacLogNetData etc?

@sapphonie
Copy link
Owner

Essentially i just want to be able to filter & log and/or act on events in my own external system without having to parse logs.

Would firing off something based off StacLog work? Do you need the additional data e.g. StacLogNetData etc?

In the works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants