Player Profiles 玩家档案 自定义模型数据 无限制GUI 高度可定制 | |
---|---|
![]() |
用鼠标右键单击显示其他玩家的个人资料 |
作 者 | aglerr |
发布时间 | 2020年2月21日 |
支持核心 | Spigot | 原生版本 |
支持版本 | 1.8,1.9,1.10,1.11,1.12,1.13,1.14,1.15,1.16,1.17,1.18,1.19,1.20 |
插件详细介绍
Player Profiles 是一款现代化玩家资料展示插件,允许你展示玩家的装备、主副手物品,甚至整个背包。你可以创建自定义GUI,支持PlaceholderAPI和CombatLogX插件,并提供自定义头部、物品栏特定槽位显示和CustomModelData支持等功能。
/playerprofiles
- 显示帮助信息/playerprofiles help
- 显示帮助信息/playerprofiles toggle
- 锁定/解锁你的资料/playerprofiles reload
- 重载配置文件/playerprofiles creategui <name>
- 创建自定义 GUI/playerprofiles deletegui <name>
- 删除自定义 GUI/playerprofiles opengui <name>
- 打开自定义 GUI/playerprofiles listgui
- 显示已加载的自定义 GUI 列表/profile
- 打开你自己的资料playerprofiles.admin
playerprofiles.toggle
playerprofiles.profiles
playerprofiles.profiles.others
playerprofiles.viewinteract
playerprofiles.bypass.world
playerprofiles.bypass.combat
playerprofiles.bypass.blocked
playerprofiles.bypass.cooldown
命令和权限的完整说明请参考 WIKI。
<code># PlayerProfiles by aglerr<br />#<br /># Material List: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html<br /># Sounds List: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html<br />#<br /># Need support? Join my discord server https://discord.gg/D5x2fYzVv7<br /># Wiki: https://aglerr.gitbook.io/wiki/<br /># Thanks for using my plugin!<br /><br />options:<br /> disable-npc: true #Disable player from viewing NPC profile.<br /> disable-in-combat: false #Required CombatLogX to run!<br /> shift-click: true #With this options, player required to shift click to open others profiles.<br /> interact-permission: false #Should we use permission when someone try to open profile with shift click?<br /> update-gui-on-click: false #Basically every click will update the GUI, such as updating player armor and placeholder.<br /><br />cooldown:<br /> enabled: true<br /> duration: 3 #in seconds<br /><br />#Aliases for /playerprofiles command.<br />aliases:<br /> - playerp<br /> - pprofiles<br /><br />disabledWorlds:<br /> - pvpworld<br /> - testworld<br /> - casesensitive<br /><br /># This option will check player1 and player2 distance<br /># if player1 opened player2 profile and have > xx distance<br /># the profile will be closed.<br />distance-check:<br /> enabled: true<br /> # The distance is square root, make sure to get<br /> # the calculator for it. For example:<br /> # 108 distance would be 10 blocks in minecraft.<br /> # distance: 30<br /> distance: 30<br /> close-on-quit: true<br /> message-too-far:<br /> - '%prefix% &e%player% &cis too far from you!'<br /> message-on-quit:<br /> - '%prefix% &e%player% &cis leaving the server!'<br /><br />gui:<br /> fill-inventory:<br /> enabled: true<br /> item:<br /> material: BLACK_STAINED_GLASS_PANE<br /> amount: 1<br /> name: '&f'<br /> title: "%player_name%'s profiles"<br /> size: 54<br /> items:<br /> helmet:<br /> enabled: true<br /> material: RED_STAINED_GLASS_PANE<br /> slot: 10<br /> glowing: false<br /> hide_attributes: true<br /> CustomModelData: 0 #Only for 1.14+<br /> name: "&6Helmet"<br /> lore:<br /> - "&cEmpty!"<br /> chestplate:<br /> enabled: true<br /> material: RED_STAINED_GLASS_PANE<br /> slot: 19<br /> glowing: false<br /> hide_attributes: true<br /> CustomModelData: 0 #Only for 1.14+<br /> name: "&6Chestplate"<br /> lore:<br /> - "&cEmpty!"<br /> leggings:<br /> enabled: true<br /> material: RED_STAINED_GLASS_PANE<br /> slot: 28<br /> glowing: false<br /> hide_attributes: true<br /> CustomModelData: 0 #Only for 1.14+<br /> name: "&6Leggings"<br /> lore:<br /> - "&cEmpty!"<br /> boots:<br /> enabled: true<br /> material: RED_STAINED_GLASS_PANE<br /> slot: 37<br /> glowing: false<br /> hide_attributes: true<br /> CustomModelData: 0 #Only for 1.14+<br /> name: "&6Boots"<br /> lore:<br /> - "&cEmpty!"<br /> main-hand:<br /> enabled: true<br /> material: RED_STAINED_GLASS_PANE<br /> slot: 20<br /> glowing: false<br /> hide_attributes: true<br /> CustomModelData: 0<br /> name: "&6Main Hand"<br /> lore:<br /> - "&cEmpty!"<br /> off-hand: # Only for 1.9+ version. (Will return null)<br /> enabled: true<br /> material: RED_STAINED_GLASS_PANE<br /> slot: 29<br /> glowing: false<br /> hide_attributes: true<br /> CustomModelData: 0<br /> name: "&6Off Hand"<br /> lore:<br /> - "&cEmpty!"<br /><br />sounds:<br /> onOpen:<br /> enabled: true<br /> sound: BLOCK_LAVA_POP<br /> volume: 1<br /> pitch: 1<br /><br />messages:<br /> prefix: '&6&l[!]'<br /> disabled-worlds: "%prefix% &cYou can't view players profiles on this world!"<br /> in-combat: "%prefix% &cYou can't open players profiles while in combat!"<br /> target-not-found: "%prefix% &cTarget is not online!"<br /> help:<br /> - "&6Player Profiles &7- by aglerr"<br /> - "&6/playerprofiles help &7- brings up this messages."<br /> - "&6/playerprofiles reload &7- reload the configuration."<br /> - "&6/playerprofiles toggle &7- block/unblock someone from viewing your profile."<br /> - "&6/playerprofiles creategui <name> &7- create a new gui."<br /> - "&6/playerprofiles deletegui <name> &7- delete a specific gui."<br /> - "&6/playerprofiles opengui <name> &7- open a gui."<br /> - "&6/playerprofiles listgui &7- shows a list of loaded gui."<br /> help-player:<br /> - "&6Player Profiles &7- by aglerr"<br /> - "&6/playerprofiles help &7- bring this help messages."<br /> - "&6/playerprofiles toggle &7- block/unblock someone from viewing your profile."<br /> reload: "%prefix% &aYou have successfully reloaded the plugin."<br /> open-message: "%prefix% &aYou have opened &e%player_name% &aprofiles!"<br /> on-cooldown: "%prefix% &cYou need to wait &e%time% seconds &cremaining!"<br /> profileLocked: "%prefix% &cThat player profile is blocked!"<br /> lockProfile:<br /> - "&f"<br /> - "%prefix% &fYou have &c&lLOCKED &fyour profile!"<br /> - "%prefix% &7No one can see your profile now."<br /> - "&f"<br /> unlockProfile:<br /> - "&f"<br /> - "%prefix% &fYou have &a&lUNLOCK &fyour profile!"<br /> - "%prefix% &7Everyone can see your profile now."<br /> - "&f"<br /> createGUI: "%prefix% &aYou have successfully created a new GUI called &e%guiName%"<br /> deleteGUI: "%prefix% &cYou have successfully deleted a GUI called &e%guiName%"<br /> guiAlreadyExist: "%prefix% &cA GUI called &e%guiName% &cis already exists!"<br /> guiNotFound: "%prefix% &cCould not find any GUI called &e%guiName%&c."<br /> listFiles: "%prefix% &fLoaded GUIs: &a%files%"<br /> noPermission: "%prefix% &cYou are lacking permission &f%permission%"<br /> invalidUsage: "%prefix% &cInvalid usage: %usage%"</code>
<code>items:<br /> closeMenu:<br /> material: BARRIER<br /> amount: 1<br /> name: '&cClose'<br /> slot: 49<br /> glowing: false<br /> CustomModelData: 0<br /> hide_attributes: false<br /> usePermission: false<br /> permission: 'none'<br /> lore: []<br /> left-click-commands:<br /> - '[CLOSE]'<br /> right-click-commands:<br /> - '[CLOSE]'<br /> characterInformation:<br /> material: head;%player_name%<br /> amount: 1<br /> name: '&6&lCharacter Information'<br /> slot: 22<br /> glowing: false<br /> CustomModelData: 0<br /> hide_attributes: true<br /> usePermission: false<br /> permission: 'none'<br /> lore:<br /> - '&7Viewing %player_name%''s information'<br /> - '&6Name: &f%player_name%'<br /> - '&6Balance: &a$%vault_eco_balance_formatted%'<br /> - '&6Ping: &f%player_ping% ms'<br /> - '&6Total Exp: &f%player_total_exp% xp'<br /> - ''<br /> - '&6&lPlayer Location:'<br /> - '&6World: &f%player_world%'<br /> - '&6X: &f%player_x%'<br /> - '&6Y: &f%player_y%'<br /> - '&6Z: &f%player_z%'<br /> - ''<br /> - '&aClick to bring this information to chat.'<br /> left-click-commands:<br /> - '[MESSAGE] &f'<br /> - '[MESSAGE] &6Name: &f%player_name%'<br /> - '[MESSAGE] &6Balance: &a$%vault_eco_balance_formatted%'<br /> - '[MESSAGE] &6Ping: &f%player_ping% ms'<br /> - '[MESSAGE] &6Total Exp: &f%player_total_exp% xp'<br /> - '[MESSAGE] &f'<br /> - '[MESSAGE] &6&lPlayer Location:'<br /> - '[MESSAGE] &6World: &f%player_world%'<br /> - '[MESSAGE] &6X: &f%player_x%'<br /> - '[MESSAGE] &6Y: &f%player_y%'<br /> - '[MESSAGE] &6Z: &f%player_z%'<br /> - '[MESSAGE] &f'<br /> - '[CLOSE]'<br /> right-click-commands:<br /> - '[MESSAGE] &f'<br /> - '[MESSAGE] &6Name: &f%player_name%'<br /> - '[MESSAGE] &6Balance: &a$%vault_eco_balance_formatted%'<br /> - '[MESSAGE] &6Ping: &f%player_ping% ms'<br /> - '[MESSAGE] &6Total Exp: &f%player_total_exp% xp'<br /> - '[MESSAGE] &f'<br /> - '[MESSAGE] &6&lPlayer Location:'<br /> - '[MESSAGE] &6World: &f%player_world%'<br /> - '[MESSAGE] &6X: &f%player_x%'<br /> - '[MESSAGE] &6Y: &f%player_y%'<br /> - '[MESSAGE] &6Z: &f%player_z%'<br /> - '[MESSAGE] &f'<br /> - '[CLOSE]'<br /> tradePlayer:<br /> material: EMERALD<br /> amount: 1<br /> name: '&6Trade with &f%player_name%'<br /> slot: 23<br /> glowing: false<br /> CustomModelData: 0<br /> hide_attributes: false<br /> usePermission: false<br /> permission: 'none'<br /> lore:<br /> - '&7Click to trade with %player_name%'<br /> left-click-commands:<br /> - '[PLAYER] trade %player_name%'<br /> - '[CLOSE]'<br /> right-click-commands:<br /> - '[PLAYER] trade %player_name%'<br /> - '[CLOSE]'<br /> openCustomGUI:<br /> material: DIAMOND<br /> amount: 1<br /> name: '&6Open &eexample &7menu'<br /> slot: 32<br /> glowing: false<br /> CustomModelData: 0<br /> hide_attributes: false<br /> usePermission: false<br /> permission: 'none'<br /> lore:<br /> - '&7Click to open example menu!'<br /> left-click-commands:<br /> - '[OPENGUIMENU] example'<br /> right-click-commands:<br /> - '[OPENGUIMENU] example'<br /> punishPlayer:<br /> material: DIAMOND_AXE<br /> amount: 1<br /> name: '&6Punish &f%player_name%'<br /> slot: 24<br /> glowing: true<br /> CustomModelData: 0<br /> hide_attributes: true<br /> usePermission: true<br /> permission: 'playerprofiles.punish'<br /> lore:<br /> - '&7Only players with &6playerprofiles.punish'<br /> - '&7permission that can see this item.'<br /> - ''<br /> - '&aLeft click to kick %player_name%'<br /> - '&aRight click to ban %player_name%'<br /> left-click-commands:<br /> - '[PLAYER] kick %player_name%'<br /> - '[CLOSE]'<br /> right-click-commands:<br /> - '[PLAYER] ban %player_name%'<br /> - '[CLOSE]'<br /> rewardPlayer:<br /> material: CHEST<br /> amount: 1<br /> name: '&6Reward &f%player_name%'<br /> slot: 33<br /> glowing: false<br /> CustomModelData: 0<br /> hide_attributes: true<br /> usePermission: true<br /> permission: 'playerprofiles.reward'<br /> lore:<br /> - '&7Only players with &6playerprofiles.reward'<br /> - '&7permission that can see this item.'<br /> - ''<br /> - '&aLeft click to give %player_name% $500'<br /> - '&aRight click to give %player_name% diamond'<br /> left-click-commands:<br /> - '[CONSOLE] eco give %player_name% 500'<br /> - '[CLOSE]'<br /> right-click-commands:<br /> - '[CONSOLE] give %player_name% diamond 1'<br /> - '[CLOSE]'<br /> onlyOwnerItems:<br /> material: SIGN<br /> amount: 1<br /> name: '&6&lOnly Owner'<br /> slot: 53<br /> glowing: false<br /> CustomModelData: 0<br /> ONLY_OWNER: true<br /> hide_attributes: true<br /> usePermission: false<br /> permission: 'none'<br /> lore:<br /> - '&7Only profile owners can see this item'<br /> - ''<br /> - '&6IP: &f%player_ip%'<br /> - '&6UUID: &f%player_uuid%'<br /> - '&6OP: &f%player_is_op%'<br /> - ''<br /> - '&aClick to bring it to chat'<br /> left-click-commands:<br /> - '[MESSAGE] &6&l%player_name%''s info!'<br /> - '[MESSAGE] &6IP: &f%player_ip%'<br /> - '[MESSAGE] &6UUID: &f%player_uuid%'<br /> - '[MESSAGE] &6OP: &f%player_is_op%'<br /> - '[SOUND] ENTITY_PLAYER_LEVELUP'<br /> - '[CLOSE]'<br /> right-click-commands:<br /> - '[MESSAGE] &6&l%player_name%''s info!'<br /> - '[MESSAGE] &6IP: &f%player_ip%'<br /> - '[MESSAGE] &6UUID: &f%player_uuid%'<br /> - '[MESSAGE] &6OP: &f%player_is_op%'<br /> - '[SOUND] ENTITY_PLAYER_LEVELUP'<br /> - '[CLOSE]'<br /> onlyVisitorItems:<br /> material: SIGN<br /> amount: 1<br /> name: '&6&lOnly Visitor'<br /> slot: 52<br /> glowing: false<br /> CustomModelData: 0<br /> ONLY_VISITOR: true<br /> hide_attributes: true<br /> usePermission: false<br /> permission: 'none'<br /> lore:<br /> - '&7Only profile visitors can see this item!'<br /> - ''<br /> - '&7example lore...'<br /> left-click-commands:<br /> - '[MESSAGE] &7You were viewing &e%player_name% &7profiles!'<br /> - '[CLOSE]'<br /> right-click-commands:<br /> - '[MESSAGE] &7You were viewing &e%player_name% &7profiles!'<br /> - '[CLOSE]'</code>