Player Info icon

Player Info -----

A light weight plugin that shows info about a player




New Features:
  • You can now edit a specific note by middle clicking (Pressing the scroll wheel) (Needs Permission: playerinfo.notes.edit)
  • If you want to cancel editing the notes/description you type 'cancel'

Bug Fixes:

  • Fixed the issues that the previous update caused
  • Fixed some issues that were happening on newer versions

Code Changes:
  • Added an HashMap that contains instances of Target Manager classes, and the player that it relates to

**Note: If there is ever an error in the plugin, please report it to the disord server
----------, Aug 17, 2022

YOU WILL NEED TO CHANGE/ADD STUFF TO CONFIG (CHECK THE BOTTOM)

New Features:

  • You can have hoverable chat messages (Shows info about the player when you hover over their message)
  • You can have multiple lines when setting the description of a player (Use '/n' to create a new line)
2022-08-14_16.17.47.png

Minor Changes:

  • Changed the message when there is a new version
Bug Fixes:
  • Some info of the player will update when a player opens the GUI
Code Changes (Not important really):
  • Added more packages/classes for organization
  • Created a Target Manager class
  • Optimized saving player data so it only does it when the server shuts down

CONFIG FILE:

Add the "prefix" part to the description and notes section

Code (Text):
Custom_GUI:
  Description: # // You can set a description of a player
    slot: 12
    displayname: "&1&lDescription"
    item: WOOL:3
    prefix: "&7" # // The text that will show before each line (Also used for coloring text)
    lore:
      - "{PERSONAL_DESCRIPTION}" # // Used '/n' in game when setting the description to create a new line
  Notes:
    slot: 14
    displayname: "&6&lNotes"
    item: PAPER
    prefix: "&6* " # // The text that will show before each note (Also used for coloring text)
    lore:
      - "&7-------------------"
      - "{NOTES}"
      - "&7-------------------"
Add this section to the config file

Code (Text):
# // When players chat you can click on their message and see info about them
Chat:
  enabled: true # // This might cause some issues with other plugins
  need-permission: true # // The custom message will only work for people with the permission: playerinfo.custom-message if true
  format: # // This will be what everyone sees when a player chats (It is the same idea as essentials chat format)
    admin: '{DISPLAYNAME}&f: {MESSAGE}' # // The format if the player has the permission: playerinfo.custom-message.admin
    default: '{DISPLAYNAME}&7: {MESSAGE}' # // The format if the player has the permission: playerinfo.custom-message.default
    # // More formats ca=n be added as well
    DEFAULT: '{DISPLAYNAME}&6: {MESSAGE}' # // The format if the player cannot use any of the other formats
  Hover_Text: # // The text that will show when you hover over a player's messsage (You can use any of the custom placeholders at the top of the config)
    - "&6First Joined&e: {FIRST_LOGIN}"
    - "&6Online for&7: {ONLINE_TIME}"
----------, Aug 14, 2022

New Features:
  • You can set a description about a player (To set the description the player needs the permission: playerinfo.description.edit)
  • You can add/remove notes about a player (Add notes Permission: playerinfo.notes.add | Remove Notes Permission: playerinfo.notes.delete)
  • If there is an update for the plugin when a player join it sends the player a message (The player needs the permission: playerinfo.update)
Bug Fixes:
  • Changed the way it detects if there is info on a player
----------, Jul 15, 2022

New Features:
  • Added a new info you can get about players {ONLINE_TIME} (It gets how long the player has been online for since their last login)
Bug Fixes:
  • Changed the way it detects if a player is offline or has no info about them
  • Added a link to where you can download a new update when available
  • Fixed getting info about offline player's
Code (Text):
# // {ONLINE_TIME}: Returns how long the player has been online for (Since they last logged on)

TimePlayed:
    slot: 16
    displayname: "&a&lTime Played"
    item: WATCH
    lore:
      - "&2{PLAYER} &7has played for &a{TIME_PLAYED}"
      - "&2{PLAYER} &7has been online for &a{ONLINE_TIME}"
----------, Jul 7, 2022

v1.4.0:

Added:
  • A permission for reloading the plugin (playerinfo.reload)

Fixed:
  • Running the command for offline players and for players that do not have any information
  • Some messages in the console
Changes:
  • Made it work with newer versions (Tested with 1.18.2)
  • The player's play time info updates when the command is run
Code Changes ( Not really important):
  • Made more classes and packages for organization
  • Fixed some code that made it difficult to read
  • Created an ItemCreator class (Made by me)
----------, Jun 21, 2022

v1.2.0:

Fixes:

  • Fixed an issue with the display name of offline players
  • There being an issue with the border
----------, Jan 8, 2022

v1.1.0:
Fixes:

- Fixed the border so it fills all the empty slots
- Fixed the config
- Will not allow you to open the GUI if a player has no info on them
- You can no longer move items in the GUI
Added:
- Added a reload command
- You can now customize the border in the config
- Added a { DISPLAYNAME} variable (Check config for what it does)
----------, Nov 14, 2021

v1.0.1:
Fixes:
- Fixed the update checker
- Fixed the play time info
----------, Oct 31, 2021

Resource Information
Author:
----------
Total Downloads: 685
First Release: Oct 31, 2021
Last Update: Aug 17, 2022
Category: ---------------
All-Time Rating:
0 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings