WIKI: https://aglerr.gitbook.io/wiki/
Full information on what changes are on the wiki!
Player Profiles is a plugin to shows players profile in a very modern way, you can shows player armor, main hand/off hand, or maybe the whole players inventory if you want and also you can create a custom GUIs as many as you want.
PlaceholderAPI, CombatLogX support
Create a Custom GUI.
Custom Head Support (base64, textures, player)
Shows specific slots of player's inventory.
CustomModelData support.
Unlimited Items
Lightweight
Highly Customizable
....
Commands:
/playerprofiles - shows help message.
/playerprofiles help - shows help message.
/playerprofiles toggle - lock/unlock your profile.
/playerprofiles reload - reload the configuration.
/playerprofiles creategui <name> - create a custom gui.
/playerprofiles deletegui <name> - delete a custom gui.
/playerprofiles opengui <name> - open a custom gui.
/playerprofiles listgui - shows a list of loaded custom gui.
/profile - open your own profile.
Permissions:
playerprofiles.admin
playerprofiles.toggle
playerprofiles.profiles
playerprofiles.profiles.others
playerprofiles.viewinteract
playerprofiles.bypass.world
playerprofiles.bypass.combat
playerprofiles.bypass.blocked
playerprofiles.bypass.cooldown
Complete explanation about commands & permissions are on the
wiki .
Upload the plugin jar to your server.
Install PlaceholderAPI plugin to your server.
Restart the server.
Done!
Plugin Configs:
Spoiler: config.yml
Code (YAML):
# PlayerProfiles by aglerr
#
# Material List: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
# Sounds List: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
#
# Need support? Join my discord server https://discord.gg/D5x2fYzVv7
# Wiki: https://aglerr.gitbook.io/wiki/
# Thanks for using my plugin!
options :
disable-npc
: true
#Disable player from viewing NPC profile.
disable-in-combat
: false
#Required CombatLogX to run!
shift-click
: true
#With this options, player required to shift click to open others profiles.
interact-permission
: false
#Should we use permission when someone try to open profile with shift click?
update-gui-on-click
: false
#Basically every click will update the GUI, such as updating player armor and placeholder.
cooldown :
enabled
: true
duration
: 3
#in seconds
#Aliases for /playerprofiles command.
aliases
: - playerp
- pprofiles
disabledWorlds
: - pvpworld
- testworld
- casesensitive
# This option will check player1 and player2 distance
# if player1 opened player2 profile and have > xx distance
# the profile will be closed.
distance-check :
enabled
: true
# The distance is square root, make sure to get
# the calculator for it. For example:
# 108 distance would be 10 blocks in minecraft.
distance
: 30
close-on-quit
: true
message-too-far
: - '
%prefix% &e%player% &cis too far from you!'
message-on-quit
: - '
%prefix% &e%player% &cis leaving the server!'
gui :
fill-inventory :
enabled
: true
item :
material
: BLACK_STAINED_GLASS_PANE
amount
: 1
name
: '&f'
title
:
"%player_name%'s profiles"
size
: 54
items :
helmet :
enabled
: true
material
: RED_STAINED_GLASS_PANE
slot
: 10
glowing
: false
hide_attributes
: true
CustomModelData
: 0
#Only for 1.14+
name
:
"&6Helmet"
lore
: -
"&cEmpty!"
chestplate :
enabled
: true
material
: RED_STAINED_GLASS_PANE
slot
: 19
glowing
: false
hide_attributes
: true
CustomModelData
: 0
#Only for 1.14+
name
:
"&6Chestplate"
lore
: -
"&cEmpty!"
leggings :
enabled
: true
material
: RED_STAINED_GLASS_PANE
slot
: 28
glowing
: false
hide_attributes
: true
CustomModelData
: 0
#Only for 1.14+
name
:
"&6Leggings"
lore
: -
"&cEmpty!"
boots :
enabled
: true
material
: RED_STAINED_GLASS_PANE
slot
: 37
glowing
: false
hide_attributes
: true
CustomModelData
: 0
#Only for 1.14+
name
:
"&6Boots"
lore
: -
"&cEmpty!"
main-hand :
enabled
: true
material
: RED_STAINED_GLASS_PANE
slot
: 20
glowing
: false
hide_attributes
: true
CustomModelData
: 0
name
:
"&6Main Hand"
lore
: -
"&cEmpty!"
off-hand
:
# Only for 1.9+ version. (Will return null)
enabled
: true
material
: RED_STAINED_GLASS_PANE
slot
: 29
glowing
: false
hide_attributes
: true
CustomModelData
: 0
name
:
"&6Off Hand"
lore
: -
"&cEmpty!"
sounds :
onOpen :
enabled
: true
sound
: BLOCK_LAVA_POP
volume
: 1
pitch
: 1
messages :
prefix
: '&6&l
[ !
] '
disabled-worlds
:
"%prefix% &cYou can't view players profiles on this world!"
in-combat
:
"%prefix% &cYou can't open players profiles while in combat!"
target-not-found
:
"%prefix% &cTarget is not online!"
help
: -
"&6Player Profiles &7- by aglerr"
-
"&6/playerprofiles help &7- brings up this messages."
-
"&6/playerprofiles reload &7- reload the configuration."
-
"&6/playerprofiles toggle &7- block/unblock someone from viewing your profile."
-
"&6/playerprofiles creategui <name> &7- create a new gui."
-
"&6/playerprofiles deletegui <name> &7- delete a specific gui."
-
"&6/playerprofiles opengui <name> &7- open a gui."
-
"&6/playerprofiles listgui &7- shows a list of loaded gui."
help-player
: -
"&6Player Profiles &7- by aglerr"
-
"&6/playerprofiles help &7- bring this help messages."
-
"&6/playerprofiles toggle &7- block/unblock someone from viewing your profile."
reload
:
"%prefix% &aYou have successfully reloaded the plugin."
open-message
:
"%prefix% &aYou have opened &e%player_name% &aprofiles!"
on-cooldown
:
"%prefix% &cYou need to wait &e%time% seconds &cremaining!"
profileLocked
:
"%prefix% &cThat player profile is blocked!"
lockProfile
: -
"&f"
-
"%prefix% &fYou have &c&lLOCKED &fyour profile!"
-
"%prefix% &7No one can see your profile now."
-
"&f"
unlockProfile
: -
"&f"
-
"%prefix% &fYou have &a&lUNLOCK &fyour profile!"
-
"%prefix% &7Everyone can see your profile now."
-
"&f"
createGUI
:
"%prefix% &aYou have successfully created a new GUI called &e%guiName%"
deleteGUI
:
"%prefix% &cYou have successfully deleted a GUI called &e%guiName%"
guiAlreadyExist
:
"%prefix% &cA GUI called &e%guiName% &cis already exists!"
guiNotFound
:
"%prefix% &cCould not find any GUI called &e%guiName%&c."
listFiles
:
"%prefix% &fLoaded GUIs: &a%files%"
noPermission
:
"%prefix% &cYou are lacking permission &f%permission%"
invalidUsage
:
"%prefix% &cInvalid usage: %usage%"
Spoiler: custom-items.yml
Code (YAML):
items :
closeMenu :
material
: BARRIER
amount
: 1
name
: '&cClose'
slot
: 49
glowing
: false
CustomModelData
: 0
hide_attributes
: false
usePermission
: false
permission
: '
none '
lore
:
[
]
left-click-commands
: - '
[ CLOSE
] '
right-click-commands
: - '
[ CLOSE
] '
characterInformation :
material
: head;
%player_name%
amount
: 1
name
: '&6&lCharacter Information'
slot
: 22
glowing
: false
CustomModelData
: 0
hide_attributes
: true
usePermission
: false
permission
: '
none '
lore
: - '&7Viewing
%player_name%''s information'
- '&6Name
:
&f%player_name%'
- '&6Balance
:
&a$%vault_eco_balance_formatted%'
- '&6Ping
:
&f%player_ping% ms'
- '&6Total Exp
:
&f%player_total_exp% xp'
- ''
- '&6&lPlayer Location:'
- '&6World
:
&f%player_world%'
- '&6X
:
&f%player_x%'
- '&6Y
:
&f%player_y%'
- '&6Z
:
&f%player_z%'
- ''
- '&aClick to bring this information to chat.'
left-click-commands
: - '
[ MESSAGE
] &f'
- '[MESSAGE] &6Name
:
&f%player_name%'
- '[MESSAGE] &6Balance
:
&a$%vault_eco_balance_formatted%'
- '[MESSAGE] &6Ping
:
&f%player_ping% ms'
- '[MESSAGE] &6Total Exp
:
&f%player_total_exp% xp'
- '
[ MESSAGE
] &f'
- '
[ MESSAGE
] &6&lPlayer Location:'
- '[MESSAGE] &6World
:
&f%player_world%'
- '[MESSAGE] &6X
:
&f%player_x%'
- '[MESSAGE] &6Y
:
&f%player_y%'
- '[MESSAGE] &6Z
:
&f%player_z%'
- '
[ MESSAGE
] &f'
- '
[ CLOSE
] '
right-click-commands
: - '
[ MESSAGE
] &f'
- '[MESSAGE] &6Name
:
&f%player_name%'
- '[MESSAGE] &6Balance
:
&a$%vault_eco_balance_formatted%'
- '[MESSAGE] &6Ping
:
&f%player_ping% ms'
- '[MESSAGE] &6Total Exp
:
&f%player_total_exp% xp'
- '
[ MESSAGE
] &f'
- '
[ MESSAGE
] &6&lPlayer Location:'
- '[MESSAGE] &6World
:
&f%player_world%'
- '[MESSAGE] &6X
:
&f%player_x%'
- '[MESSAGE] &6Y
:
&f%player_y%'
- '[MESSAGE] &6Z
:
&f%player_z%'
- '
[ MESSAGE
] &f'
- '
[ CLOSE
] '
tradePlayer :
material
: EMERALD
amount
: 1
name
: '&6Trade with &f
%player_name%'
slot
: 23
glowing
: false
CustomModelData
: 0
hide_attributes
: false
usePermission
: false
permission
: '
none '
lore
: - '&7Click to trade with
%player_name%'
left-click-commands
: - '
[ PLAYER
] trade
%player_name%'
- '
[ CLOSE
] '
right-click-commands
: - '
[ PLAYER
] trade
%player_name%'
- '
[ CLOSE
] '
openCustomGUI :
material
: DIAMOND
amount
: 1
name
: '&6Open &eexample &7menu'
slot
: 32
glowing
: false
CustomModelData
: 0
hide_attributes
: false
usePermission
: false
permission
: '
none '
lore
: - '&7Click to open example menu!'
left-click-commands
: - '
[ OPENGUIMENU
] example'
right-click-commands
: - '
[ OPENGUIMENU
] example'
punishPlayer :
material
: DIAMOND_AXE
amount
: 1
name
: '&6Punish &f
%player_name%'
slot
: 24
glowing
: true
CustomModelData
: 0
hide_attributes
: true
usePermission
: true
permission
: 'playerprofiles.punish'
lore
: - '&7Only players with &6playerprofiles.punish'
- '&7permission that can see this item.'
- ''
- '&aLeft click to kick
%player_name%'
- '&aRight click to ban
%player_name%'
left-click-commands
: - '
[ PLAYER
] kick
%player_name%'
- '
[ CLOSE
] '
right-click-commands
: - '
[ PLAYER
] ban
%player_name%'
- '
[ CLOSE
] '
rewardPlayer :
material
: CHEST
amount
: 1
name
: '&6Reward &f
%player_name%'
slot
: 33
glowing
: false
CustomModelData
: 0
hide_attributes
: true
usePermission
: true
permission
: 'playerprofiles.reward'
lore
: - '&7Only players with &6playerprofiles.reward'
- '&7permission that can see this item.'
- ''
- '&aLeft click to give
%player_name% $500'
- '&aRight click to give
%player_name% diamond'
left-click-commands
: - '
[ CONSOLE
] eco give
%player_name% 500'
- '
[ CLOSE
] '
right-click-commands
: - '
[ CONSOLE
] give
%player_name% diamond 1'
- '
[ CLOSE
] '
onlyOwnerItems :
material
: SIGN
amount
: 1
name
: '&6&lOnly Owner'
slot
: 53
glowing
: false
CustomModelData
: 0
ONLY_OWNER
: true
hide_attributes
: true
usePermission
: false
permission
: '
none '
lore
: - '&7Only profile owners can see this item'
- ''
- '&6IP
:
&f%player_ip%'
- '&6UUID
:
&f%player_uuid%'
- '&6OP
:
&f%player_is_op%'
- ''
- '&aClick to bring it to chat'
left-click-commands
: - '
[ MESSAGE
] &6&l
%player_name%''s info!'
- '[MESSAGE] &6IP
:
&f%player_ip%'
- '[MESSAGE] &6UUID
:
&f%player_uuid%'
- '[MESSAGE] &6OP
:
&f%player_is_op%'
- '
[ SOUND
] ENTITY_PLAYER_LEVELUP'
- '
[ CLOSE
] '
right-click-commands
: - '
[ MESSAGE
] &6&l
%player_name%''s info!'
- '[MESSAGE] &6IP
:
&f%player_ip%'
- '[MESSAGE] &6UUID
:
&f%player_uuid%'
- '[MESSAGE] &6OP
:
&f%player_is_op%'
- '
[ SOUND
] ENTITY_PLAYER_LEVELUP'
- '
[ CLOSE
] '
onlyVisitorItems :
material
: SIGN
amount
: 1
name
: '&6&lOnly Visitor'
slot
: 52
glowing
: false
CustomModelData
: 0
ONLY_VISITOR
: true
hide_attributes
: true
usePermission
: false
permission
: '
none '
lore
: - '&7Only profile visitors can see this item!'
- ''
- '&7example lore
... '
left-click-commands
: - '
[ MESSAGE
] &7You were viewing &e
%player_name% &7profiles!'
- '
[ CLOSE
] '
right-click-commands
: - '
[ MESSAGE
] &7You were viewing &e
%player_name% &7profiles!'
- '
[ CLOSE
] '
Add me on discord for support, my discord id is mdaffa