get-ip

#4 - published 2 years ago

Get IP

This plugin will retrieve the IP of a player in-game.

This plugin uses code from player-info-library by cartman-2000.

Configuration:

Name: Description:
GetIPOnConnect Retrieves the IP of the player when they join.
DisplayIPToEveryone Broadcasts the IP of the player when they join and when a player does /gip {player} to the whole server.

Permissions:

Command: Permission:
/getip or /gip GetIP

Translation:

Identifier: Value: Description:
command_usage Usage of the command: /gip {player} Displays to the user the correct syntax of the command.
result IP of {0}: {1} Displays to the user the IP ({1}) of a player ({0})
connected {0} connected with IP: {1} Displays to the players the IP ({1}) of a player ({0}) that just connected.

 

Please report any bugs that you find and feel free to submit any suggestions.

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<RocketIPConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <GetIPOnConnect>true</GetIPOnConnect>
  <DisplayIPToEveryone>false</DisplayIPToEveryone>
</RocketIPConfiguration>

Default english translation


<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Translation Id="command_usage" Value="Usage of command: /gip {player}" />
  <Translation Id="result" Value="IP of {0}: {1}" />
  <Translation Id="connected" Value="{0} connected with IP: {1} from : {2} " />
</Translations>

Commands and permissions


/getip <User>

Permissions: getip

Gets the IP of a user.


Git changelog


f702e57cd3126cc 2017-04-01 12:41:21

Merge pull request #1 from Plugin4UGit/master

  • 1.0.0.0

e62630ba98bf446 2017-04-01 12:02:36

1.0.0.0

    a9cf9b2127175b8 2017-03-12 19:24:56

    Fix error with jenkins

      cfae108c78d5ff9 2017-03-12 19:20:48

      Fix non-findable release folder

        6921f6fa1bb0c78 2017-03-12 19:14:59

        v1.0

        • Uploaded code.

        Download

        Build #4
        By downloading this file, you agree to our license terms.

        Repository

        github.com

        License

        MIT

        Author

        persiafighter