I recently wanted to create a plugin that would run a traceroute from the server to a player. I have some struggles with java cause my server hosting doesn't allow me to have access to other file than the minecraft part, so i can't setup correctly the libraries i need.
I thought about creating a Rest API that would be on a VPS where i have all permissions, but i'm not sure we can run a traceroute from another IP than the local one, and i need to run it from the minecraft server to the player.
The traceroute that i currently use is this one: https://gist.github.com/djangofan/1d0e3de52ac5375d3f52249c5293d588
The problem is that it uses Jpcap, which is a native library and therefore it requires to set it up via different system properties etc which i'm not allowed with my server hosting.
How would you do ?