GithubHelp home page GithubHelp logo

yxc0915 / playeripadmin Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 0.0 58 KB

这是一个Minecraft插件,它提供了详细的玩家IP和地理位置信息查询功能。当玩家加入服务器时,插件会显示他们的地理位置(国家+省份+地级市),并且允许管理员通过`/getip`命令查询玩家的IP地址和地理位置信息。

License: MIT License

Java 100.00%

playeripadmin's People

Contributors

yxc0915 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

playeripadmin's Issues

当玩家使用IPv6登录时查询有问题

在服务器中使用IPv6登录和使用指令可以获取IP但无法获取地理位置
而我发现在你的
String apiUrl = "https://www.ip.cn/api/index?ip=" + ip + "&type=1";
中发现这个链接把我的ipv6返回为内网IP,而我的IPv6为公网IP
以下为在url api访问的结果:
image
以下为其他网址返回的IP:
image
访问主机的IP:
image
这是在游戏中的截图:
image
以上是在控制台输出的截图:
image

希望得到解决
注:
服务器版本为1.20.1
服务端为paper
已确定服务器网络无问题

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.