Skip to content
David Shen edited this page Sep 2, 2016 · 4 revisions

Need to ban or reward a player, but forgot his/her full name? This command is here to help.

Command

lookup is the base command that gets registered, it is associated with the permission node gssentials.admin.lookup. Optional arguments are -b (beginning), -m (middle), and -e (end), corresponding to the location of the known part of the name. There is also a -ip argument to lookup by ip. If run without arguments, it will output a player's info if that exact player is found. If not, it will default with the -m argument.

Configuration

When you first install BungeeEssentials the command will be enabled, though if you wish you can disable it by removing lookup from the enable section of the config file.

Key Default
lookup.header &6Found {{ SIZE }} player(s):
lookup.body &f - {{ PLAYER }}{{ HOVER: Click to view player info }}{{ CLICK: /lookup {{ PLAYER }} }}
lookup.player.header &6=====&l{{ PLAYER }}&6=====
lookup.player.format &6{{ TYPE }}: &f{{ INFO }}{{ HOVER: Click to copy }}{{ CLICK: SUG: {{ INFO }} }}

When adjusting the message format you may include any global variables as well as those listed below.

Variable Replacement
{{ SIZE }} The number of matching players found
{{ PLAYER }} The name of a matching player
{{ TYPE }} The type of info (e.g. uuid, ip, etc)
{{ INFO }} The info as denoted by the above

Clone this wiki locally