The main permission is: "playerprofile.*"
is used to give access to certain commands such as giving more information in /profile help or to be able to use /profile reload.
plugin placeholders:
- in this plugin you can use %viewer% or %owner% to refer to the viewer and the owner of the profile.
PlaceholderAPI placeholders:
- %playerprofile_viewer% - The player who is looking at the profile.
- %playerprofile_owner% - The owner of the profile the player is looking at.
- %playerprofile_status% - The status you have.
- %playerprofile_is_public% - Verify the player has a public profile
Actions:
at the moment we only have 2 actions which are commands.
- 'player: help' - executes a command through the player who opened the profile.
- 'console: help' - executes a command through the console.
- 'owner_message: custom message' - send a message to the profile owner natively without commands.
- 'viewer_message: custom message' - send a message to the profile viewer natively without commands.
- 'close_inventory' - closes the profile viewer's inventory.
Commands:
- /profile <nick> - Opens a player's profile.
- /profile help - It shows you the plugin help.
- /profile reload - Reload the plugin configuration.
- /profile <offline|player> <player> - Open a player's profile to another player.
Config.yml:
Code (YAML):
offline-players
: true
#If you want the profiles to support offline players leave this enabled.
Types of slots available:
- Cosmetics: HAT, BACKPACK, OFF_HAND, BALLOON, SPRAY
- Armors: HELMET, CHEST_PLATE, LEGGINGS, BOOTS
- Status Player: STATUS
- Free Inv: SAVED_ITEM, DRAG_AND_DROP
Menu Example:
Code (YAML):
title
: '
%owner%´s Profile'
default
: true
permission
: 'playerprofile.menus.menu'
rows
: 4
layout
:
#This is important, remember that they must have these quotes otherwise it could give slots errors.
- 'GGGGGGOHh'
- 'G Bc'
- 'G Cl'
- 'GGGGGGSgb'
icons:
G:
display
: '&f'
amount
: 1
material
: BLACK_STAINED_GLASS
lore
:
[
]
unbreakable
: false
glow
: false
hide-attributes
: true
custom-model-data
: -1
actions:
- 'player
: help'
- 'console
: help'
H
:
#Hat Cosmetic
display
: '&f'
lore
:
[
]
unbreakable
: false
glow
: false
hide-attributes
: true
custom-model-data
: 0
type
: HAT
B
:
#BackPack/Bag Cosmetic
display
: '&f'
lore
:
[
]
unbreakable
: false
glow
: false
hide-attributes
: true
custom-model-data
: 0
type
: BACKPACK
C
:
#Off_Hand/Cane Cosmetic
display
: '&f'
lore
:
[
]
unbreakable
: false
glow
: false
hide-attributes
: true
custom-model-data
: 0
type
: OFF_HAND
g
:
#Balloon Cosmetic
display
: '&f'
lore
:
[
]
unbreakable
: false
glow
: false
hide-attributes
: true
custom-model-data
: 0
type
: BALLOON
S
:
#Spray Cosmetic
display
: '&f'
lore
:
[
]
unbreakable
: false
glow
: false
hide-attributes
: true
custom-model-data
: 0
type
: SPRAY
h
:
#helmet Equipment
display
: '&f'
lore
:
[
]
unbreakable
: false
glow
: false
hide-attributes
: true
custom-model-data
: 0
type
: HELMET
c
:
#chestplate Equipment
display
: '&f'
lore
:
[
]
unbreakable
: false
glow
: false
hide-attributes
: true
custom-model-data
: 0
type
: CHEST_PLATE
l
:
#leggings Equipment
display
: '&f'
lore
:
[
]
unbreakable
: false
glow
: false
hide-attributes
: true
custom-model-data
: 0
type
: LEGGINGS
b
:
#boots Equipment
display
: '&f'
lore
:
[
]
unbreakable
: false
glow
: false
hide-attributes
: true
custom-model-data
: 0
type
: BOOTS
O
:
#Online/Offline Status
online:
display
: '&aOnline'
material
: GREEN_WOOL
lore
:
[
]
unbreakable
: false
glow
: true
hide-attributes
: true
custom-model-data
: 0
offline:
display
: '&cOffline'
material
: RED_WOOL
lore
:
[
]
unbreakable
: false
glow
: false
hide-attributes
: true
custom-model-data
: 0
type
: STATUS