How do I get the server ID from within my custom server route?
I have a server route,
/server/{id}/players, and I need to get the {id} part of the server so I can get the IP and port. I also need it so I can send API requests so I can run commands likes kick, ban, and op.Solution:Jump to solution
SOLUTION
Getting Server ID
```tsx
import { ServerContext } from "@/state/server";...
1 Reply
Solution
SOLUTION
Getting Server ID
Sending Server Commands