Rate Limit
Rate Limit
Prevent abuse by limiting request rate.
Source | Name | Status | Database |
---|---|---|---|
Source | rate_limit | stable | Yes |
Authors
Dependencies
No dependencies
Installation
CLI
opengb module add rate_limit
Scripts
Public
These scripts can be called publicly by your game.
No public scripts.
Internal
These scripts can only be called by other OpenGB modules.
Throttle
Limit the amount of times an request can be made by a given key.
Throttle Public
Limit the amount of times a public request can be made by a given key. This will rate limit based off the user’s IP address.
Errors
- Rate Limit Exceeded (
rate_limit_exceeded
)