Rice Plugins Rice Plugins
🏡 Home
  • Paid Plugins

    • PlayerGuild
    • RandomShop
    • PlayerAuction
    • CompanionsPlus
    • AfDianPay
    • PlayerTop
  • Partial Paid

    • PlayerTitle
    • PlayerTask
    • PlayerWarp
  • Open Source (Paid)

    • PlayerMenu
    • PlayerChat
    • ip2region
    • PlayerReturn
    • OfflinePapi
  • Free Plugins

    • PlayerIntensify
    • PlayerCurrency
    • DeepSeek
    • MonsterPlus
    • RiceMotd
    • RiceNotice
    • PlayerRace
    • PlayerRewards
    • PlayerFatigue
    • LoginExpansion
    • PlayerSignIn
    • OauthLogin
    • Fair-DanTiao
    • McMmoView
    • ResidenceEnhance
discord (opens new window)
  • 中文 (opens new window)
  • English (opens new window)
🏡 Home
  • Paid Plugins

    • PlayerGuild
    • RandomShop
    • PlayerAuction
    • CompanionsPlus
    • AfDianPay
    • PlayerTop
  • Partial Paid

    • PlayerTitle
    • PlayerTask
    • PlayerWarp
  • Open Source (Paid)

    • PlayerMenu
    • PlayerChat
    • ip2region
    • PlayerReturn
    • OfflinePapi
  • Free Plugins

    • PlayerIntensify
    • PlayerCurrency
    • DeepSeek
    • MonsterPlus
    • RiceMotd
    • RiceNotice
    • PlayerRace
    • PlayerRewards
    • PlayerFatigue
    • LoginExpansion
    • PlayerSignIn
    • OauthLogin
    • Fair-DanTiao
    • McMmoView
    • ResidenceEnhance
discord (opens new window)
  • 中文 (opens new window)
  • English (opens new window)
  • Basic

    • Introduction
    • Commands and Permissions
    • Variable Support
    • Usage Guide
      • FAQ
      • Purchase Notes
      • Changelog
    • Developer

      • API
    • ip2region
    • Basic
    handy
    2023-04-11
    目录

    Usage Guide

    # Data Sources

    The plugin currently supports five default methods for obtaining IP geolocation
    If you have your own ideas or channels, feel free to let me know

    1. Offline local data source mode (supports IPv4/IPv6 with 99% data accuracy)
    2. ipPlus360 (opens new window) online API mode (supports IPv4/IPv6, paid)
    3. ipApi (opens new window) online API mode (supports IPv4/IPv6, free but with minute request limits)
    4. whois (opens new window) online API mode (supports IPv4/IPv6, free)
    5. voreApi (opens new window) online API mode (supports IPv4/IPv6, free)

    # Pros and Cons Analysis

    Type Cost Data Accuracy Internet Required Network Support Highest Support Level Official Website
    offline Free 99% No IPv4 and IPv6 City Level Official Website (opens new window)
    ipPlus360 Paid 99.999% Yes IPv4 and IPv6 District Level Official Website (opens new window)
    ipApi Free 99.9% Yes IPv4 and IPv6 City Level Official Website (opens new window)
    whois(1.3.0+) Free 99.9% Yes IPv4 and IPv6 District Level Official Website (opens new window)
    voreApi(1.3.0+) Free 99.9% Yes IPv4 and IPv6 District Level Official Website (opens new window)

    # Special Notes

    For offline type starting from plugin version 2.0.0+, data is no longer built-in and needs to be downloaded manually and placed in the plugins/ip2region directory.

    123 Drive: Click to Access (opens new window)
    GitHub: Click to Access (opens new window)

    For ipPlus360, we recommend purchasing the city-level version if you plan to buy it:
    IPv4 (opens new window) IPv6 (opens new window)

    If district-level data is needed:
    Please add the following configuration to config.yml according to the official API documentation, modify for other levels as needed.

    ipPlus360Ipv4Url: "https://api.ipplus360.com/ip/geo/v1/district/"
    ipPlus360Ipv6Url: "https://api.ipplus360.com/ip/geo/v1/ipv6/district/"
    

    # Testing Instructions

    For offline and ipApi modes, add the following to config.yml, then reload the plugin and test with players logging in again.

    testIp: Test IP
    

    For ipPlus360 mode, add the following to config.yml, then reload the plugin and test with players logging in again (only one can be added at a time; if both are added, IPv4 will be used by default).

    testIp4: Test IP
    testIp6: Test IP
    
    Variable Support
    FAQ

    ← Variable Support FAQ→

    Theme by Vdoing | Copyright © 2020-2025 Rice Plugins - All Rights Reserved
    • 跟随系统
    • 浅色模式
    • 深色模式
    • 阅读模式