houshmand-2005 / V2IpLimit

Limiting the number of active users with IP
MIT License
126 stars 39 forks source link

Own Script #56

Closed YRS200 closed 5 months ago

YRS200 commented 5 months ago

Is it possible to assign this system to my own script or it is working with only marzban?

houshmand-2005 commented 5 months ago

What do you mean by your own script? Share the address please V2IpLimit is written for Marzban, but the algorithm is the same for all panels and scripts that use xray.

YRS200 commented 5 months ago

Since, I am not using any webpanel it is different here is the link where you can have a look: https://github.com/YRS200/ws

houshmand-2005 commented 5 months ago

You need to get logs directly from xray then feed them into my script. Currently script receives logs via WebSocket from Marzban. So you need to change some parts to read logs from a file or another source