Get to know more about the player in front by clicking them Dependency: PlaceHolderAPI. Needed for applying placeholders. Dependency: WorldGuard. Needed if trying to add the WG custom flag. Dependency: MPUtils. Needed for the menus to work.
You can check this and other plugins of my own in my own server I am currently bulding, MPskyblock.ddns.net I will probably be there too, it is not open 24/7 yet but it is opened from time to time, for more information join my discord server, talk to you there!
Fully customizable GUI
PlaceholdersAPI support! (dependency!)
User-friendly config file
Ability to translate every message
Get info about the player like balance, health, hunger, xp, and name
Get items in any slot of the clicked player's iinventory
Get armor, item in main hand and even item in off hand
Run commands for each item (or not) by clicking on them (run them as OP, console, or just the player who clicked)
Get the skull of the clicked player
Ability to toggle self and others player information
Avoid opening a GUI when clicking NPCs (option in config)
Ability to sneak(or not) while clicking to open a players info
Play a sound when opening a menu
Custom worldGuard flag to enable/disable opening player information per region
Commands: -/plinfo help - Shows a list of commands
-/plinfo version - Shows the version of the plugin
-/plinfo reload -Reloads config.yml and players.ym
-/plinfo toggle (self/others) - Toggles access to player informations (self: people cannot see your information (except admins and OPs). others: nothing will happen when clicking a player)
-/plinfo disabledworlds (add/remove) (world) - Adds or removes a world to/from the list of disabled worlds
-/plinfo open (player) - Opens the info menu of the specified player
Permissions: -playerinfo.version -Allows a player to check the plugin´s current version
-playerinfo.reload -Allows a player to reload config.yml and players.yml
-playerinfo.toggle.self -Allows a player to toggle on and off his own information (to not let people see it)
-playerinfo.toggle.others -Allows a player to not open the information GUI when clicking a playe
-playerinfo.toggle.bypass -Allows a player to bypass self toggled players (default for OPs
-playerinfo.disabledworlds -Allows a player to add or remove a world to/from the list of disabled worlds (default for OPs)
-playerinfo.opencommand -Allows a player to open another players info menu by command (default for OPs)
-playerinfo.description.set -Allows a player to set their own description for other players to see when they open their info menu
Code (YAML):
# PlayerInfo v1.5.0 By lelesape (lelesape#3612) # # invslots: (Special items) # - helmet (Clicked player's helmet) # - chestplate (Clicked player's chestplate) # - leggings (Clicked player's leggings) # - boots (Clicked player's boots) # - skull (Clicked player's skull) # - close (Item to close the GUI) # - slotnumber (Get an item in the clicked player's inventory. e.g: 9) # HANDS: # 1.9+: # - mainhand (Clicked player's item in main hand) # - offhand (Clicked player's item in off hand) # 1.8-: # - hand (Clicked player's item in hand) # - description (Clicked player's description) # # lore: replaced by PlaceHolderAPI + %clicker% for clickers name[/LEFT] # RGB colors use: &#RRGGBB (1.16.1+) # NEW: Items can now have flags and damage. [LEFT]config: # config version, this is something internal, do not touch this config version: 1.5.0
# Chat Prefix prefix: '&aPlayerInfo &e&l>>'
# Will the player clicking need to be sneaking? sneaking: true
# Allow opening NPCs infos? NPC: false
# Allows players to open their own info by doing /open (player)? open self info: true
# Adds a custom flag to worldguard so you can enable/disable player info depending on the region # ofc NEEDS WORLDGUARD if true custom flag: true
# Play a sound when opening a players info sound:
enabled: true
# IMPORTANT: check your sound name is valid for your version sound name: BLOCK_NOTE_BLOCK_PLING
# Some messages messages:
unknown command: '&cUnknown Command, try &e/
%command% help' no permission: '&cYou do not have enough permissions to do that'
toggle use: '&cUse
: /
%command% toggle (self/others)'#New disabled worlds use: '&cUse
: /
%command% disabledwordls (add/remove) (world_name)' world already disabled: '&cThat world is already disabled'
world now disabled: '&fWorld
%world% is now &cdisabled' world is not disabled: '&cThat world is not disabled'
world now enabled: '&fWorld
%world% is now &aenabled' disabled in region: # Opener and toOpen refers to the player, either the one opening the player info # or the player that the info belongs to opener: '&cOpening player info is disabled in your region'
toOpen: "&cOpening player info is disabled in %player%' region" self:
enabled: '&aEnabled &fself player information'
disabled: '&cDisabled &fself player information'
others:
enabled: '&aEnabled &fplayer information for other players'
disabled: '&cDisabled &fplayer information for other players'
player disabled: '&cThis player does not have self player information enabled.'
world disabled: '&cThat player is in a world in wich PlayerInformation is disabled.'
not online: '&cThat player is not online or does not exist.'
others disabled: "&cYou have other players' information disabled." cannot open self: '&cYou cannot open your own information.'
# Worlds that the plugin wont work on disabled worlds: - this_world
- that_world
# Inventory settings inventory: # Title for the inventory title: '&c&lPlayer info'
# Total size for this inventory (multiples of 9) size: 54
# Settings for the slots not specified empty slots:
item: 'BLACK_STAINED_GLASS_PANE'
name: '&7*'
lore: - ''
# 0 is the first slot # size -1 is the last slot slots:
'8':
item: invslot
invslot: skull
name: '&9Info'
lore:
- '&6Player: &f%player_name%' - '&6Health: &c%player_health%&f/&c%player_max_health%' - '&6Hunger: &c%player_food_level%' - '&6Experience: &f%player_exp%(&6
%player_exp_to_level% &flevels)' - '&6Balance: &f%vault_eco_balance%' '11':
item: invslot
invslot: helmet
ifEmpty:
item: WHITE_STAINED_GLASS_PANE
name: '&cNo helmet'
lore: - '&fEmpty!'
'19':
item: invslot
invslot: offhand
ifEmpty:
item: WHITE_STAINED_GLASS_PANE
name: '&cNo item in off hand'
lore: - '&fEmpty!'
'20':
item: invslot
invslot: chestplate
ifEmpty:
item: WHITE_STAINED_GLASS_PANE
name: '&cNo chestplate'
lore: - '&fEmpty!'
'21':
item: invslot
invslot: mainhand
ifEmpty:
item: WHITE_STAINED_GLASS_PANE
name: '&cNo item in main hand'
lore: - '&fEmpty!'
'23':
item: PAPER
name: '&aDonate'
lore: - '&fGive &a100 &fcoins'
- '&fto &a
%player_name%' commands: - player::pay
%player_name% 100 '24':
item: EMERALD
name: '&2Trade'
lore: - '&fTrade items and money'
- '&fwith &a
%player_name%' commands: - player::trade
%player_name% '29':
item: invslot
invslot: leggings
ifEmpty:
item: WHITE_STAINED_GLASS_PANE
name: '&cNo pants'
lore: - '&fEmpty!'
'32':
item: CHEST
name: '&fCheck inv'
lore: - '&fChecks &a
%player_name%&f´s' - '&ffull inventory'
commands: - op::invsee
%player_name% '33':
item: GOLDEN_SWORD
name: '&cKill'
lore: - '&fInstakill &a
%player_name%' commands: - op::kill
%player_name% '38':
item: invslot
invslot: boots
ifEmpty:
item: WHITE_STAINED_GLASS_PANE
name: '&cNo boots'
lore: - '&fEmpty!'
'53':
item: invslot
invslot: close
name: '&cClose'
lore: - '&fClick to close this GUI'