Geo Restrict
SpigotMCModrinthLnxaGeoRestrict is a plugin that restricts players from joining a Minecraft server based on their ge
This plugin uses [
https://ipinfo.io/](https://ipinfo.io/).
IPinfo's free tier provides 50,000 requests per month, which should be sufficient since this plugin stores players' IP information to reduce requests.
<iframe width="560" height="315" src="
https://www.youtube-nocookie.com/embed/vyIfE65_eag" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<img src="
https://bstats.org/signatures/bukkit/LnxaGeoRestrict.svg" data-url="[
https://bstats.org/signatures/bukki...ts.org/signatures/bukkit/LnxaGeoRestrict.svg)">
### Configuration
<br> # API Key for IPInfo (Required) <br> api-key: "" <br> <br> # Global Settings <br> # When enabled, players using VPNs or proxies will be denied access <br> anti-vpn: true <br> # Logging verbosity level (0-3, with 3 being most verbose) <br> log-level: 2 <br> <br> # Filtering Options <br> # Modes: whitelist (only allow listed), blacklist (block listed) <br> <br> # Country Filtering <br> country-mode: blacklist <br> allowed-countries: <br> - LV <br> - US <br> - LT <br> - DE <br> - AT <br> blocked-countries: <br> - RU <br> - CN <br> - IR <br> <br> # IP Filtering <br> ip-mode: blacklist <br> ip-whitelist: <br> - 192.168.1.1 <br> - 10.0.0.1 <br> ip-blacklist: <br> - 8.8.8.8 <br> <br> # ISP Filtering <br> isp-mode: blacklist <br> isp-whitelist: <br> - 'Local ISP' <br> - 'Trusted Provider' <br> isp-blacklist: <br> - 'Known Proxy Provider' <br> - 'Suspicious Hosting' <br> <br> # City Filtering <br> city-mode: disabled <br> allowed-cities: <br> - 'New York' <br> - 'London' <br> blocked-cities: <br> - 'Moscow' <br> - 'Beijing' <br> <br> # Advanced IP Range Blocking <br> ip-range-blacklist: <br> - '192.168.0.0/16' <br> - '10.0.0.0/8' <br> <br> # Punishment Settings <br> # Define the action to take when a player is blocked <br> # Available actions: kick, ban, warn <br> # You can configure a different action for each type of restriction <br> actions: <br> country-block: kick <br> vpn-block: ban <br> isp-block: warn #Implement a warn feature (sending a message to the player) <br> ip-block: kick <br> city-block: kick <br> # Ban duration in minutes (0 for permanent ban) <br> punishment: <br> duration: 0 <br> <br> # Discord Webhook Settings <br> # Discord Webhook URLs - Supports multiple webhooks! <br> # Each entry should be on a new line, starting with '-' <br> discord-webhook-urls: <br> - "" <br> # Discord Notification Settings <br> discord-notifications: <br> player-join: false <br> player-punish: true <br> config-reload: true <br> error: true <br> # Embed Settings <br> discord-embed: <br> title: "LnxaGeoRestrict Notification" <br> color: "7506394" # Integer representation of the color <br> <br> # Custom Messages <br> messages: <br> blocked: '&c[LnxaGeoRestrict] Access denied based on location restrictions.' <br> vpn-detected: '&c[LnxaGeoRestrict] VPN/Proxy detected. Access denied.' <br> ip-blocked: '&c[LnxaGeoRestrict] Your IP address is not allowed.' <br> isp-blocked: '&c[LnxaGeoRestrict] Your ISP is not permitted to access this server.' <br> error: '&c[LnxaGeoRestrict] Error verifying your location. Please try again later.' <br> warn: '&e[LnxaGeoRestrict] You have been warned due to a geo-restriction. Please check your connection.' <br>
Commentaires 0
Aucun commentaire pour l'instant. Sois le premier à donner ton avis.