← Назад к ресурсам

LPC

A chat formatting plugin for LuckPerms.

Modrinth management social

Описание

[![Premium](https://i.imgur.com/6qcvIjt.png)](https://shr.pn/dCiS) The free version will continue receiving **compatibility & security updates**, but **all new features** will now be added to the **premium version!** Check out our other PREMIUM plugins here! [![](https://images2.imgbox.com/37/35/XbziEGZj_o.png)](https://shr.pn/fxiz) [![](https://images2.imgbox.com/2f/f1/i7MRHaV1_o.png)](https://shr.pn/07ez) [![](https://images2.imgbox.com/1d/0b/FW2IPgxu_o.png)](https://shr.pn/1Nt8) [![](https://images2.imgbox.com/68/fa/YkcA71BF_o.png)](https://shr.pn/bAeL) ![LPC Image](https://i.imgur.com/WJrtK1k.png) **Format your chat with ease.** # WHAT IS LPC I've always been fascinated by creating prefixes and suffixes in chat. However, when I was a kid I found it difficult to connect and configure all of those plugins you need to format a chat. That's why I've created LPC, formerly LuckPermsChat — a **free** and **simple** solution to handle your chat formatting, which connects to, in my opinion, the best permissions plugin: LuckPerms. # FEATURES - PlaceholderAPI support - Standard single line format - Per world/server format using LP context - Group formats - RGB color codes - Built-in placeholders # BUILT-IN PLACEHOLDERS ```text {world} = world name {prefix} = user's primary prefix {prefixes} = user's prefixes sorted by the highest priority {name} = player name {displayname} = player nickname {suffix} = user's primary suffix {suffixes} = user's suffixes sorted by the highest priority {username-color} = username color for a group or a player {message-color} = message color for a group or a player ``` # COMMANDS & PERMISSIONS - `/lpc reload` — reloads the configuration file - `lpc.reload` — allows user to use reload command - `lpc.colorcodes` — allows user to use color codes in messages - `lpc.rgbcodes` — allows user to use RGB color codes in messages # DEPENDENCIES - [LuckPerms](https://www.spigotmc.org/resources/luckperms.28140/) — permissions plugin - [PlaceholderAPI](https://www.spigotmc.org/resources/placeholderapi.6245/) — extra placeholders, optional # INSTALLATION 1. Stop your server. 2. Download and drag the plugin `.jar` file into your plugins folder. 3. Start your server to generate config files. 4. Edit `config.yml` to your liking. 5. Type `/lpc reload` to reload the plugin. # VIDEO SETUP GUIDE [Watch the video setup guide on YouTube](https://www.youtube.com/watch?v=99ZfZXmg7eY) # CONFIGURATION These are only examples. Of course, you can configure everything up to you! ## 1. Only prefix config.yml ```yaml chat-format: "{prefix}{name}&r: {message}" ``` ![Only prefix example 1](https://i.imgur.com/oZpQAyc.png) ![Only prefix example 2](https://i.imgur.com/b6JH8CS.png) ## 2. RGB color codes config.yml ```yaml chat-format: "{prefix}{name}&r: {message}" ``` ![RGB color codes example 1](https://i.imgur.com/fjLTklm.png) ![RGB color codes example 2](https://i.imgur.com/jLLILl9.png) ## 3. Context usage config.yml ```yaml chat-format: "{prefix}{name}&r: {message}" ``` ![Context usage example 1](https://i.imgur.com/pGXLSf4.png) ![Context usage example 2](https://i.imgur.com/HQhCzhZ.png) ## 4. Message color per group config.yml ```yaml chat-format: "{prefix}{name}&r: {message-color}{message}" ``` ![Message color per group example 1](https://i.imgur.com/SbtWXSA.png) ![Message color per group example 2](https://i.imgur.com/0favqFC.png) ## 5. Username color per player config.yml ```yaml chat-format: "{prefix}{username-color}{name}&r: {message}" ``` ![Username color per player example 1](https://i.imgur.com/PHHNwBK.png) ![Username color per player example 2](https://i.imgur.com/RhkNfWz.png) ## 6. PlaceholderAPI usage config.yml ```yaml chat-format: "%player_gamemode% {prefix}{name}&r: {message}" ``` ![PlaceholderAPI example 1](https://i.imgur.com/9fjqUYH.png) ![PlaceholderAPI example 2](https://i.imgur.com/8jqq2h7.png) ![PlaceholderAPI example 3](https://i.imgur.com/pjh3cIP.png) ## 7. Custom Unicode prefix using group formats config.yml ```yaml group-formats: # default: "[default] {name}&r: {message}" admin: "\uEffa &7{name}&r: {message}" ``` ![Custom Unicode prefix example](https://i.imgur.com/o3r0F5K.png) You'll need a custom resource pack to display a Unicode prefix. You can download my example [here](https://www.mediafire.com/file/5ldzud8hg5y85ot/resource_pack.zip/file). Furthermore, here's a [YouTube video](https://www.youtube.com/watch?v=-9bjbL1dYAE), which explains how custom fonts in Minecraft work. # FAQ ## 1. How to use DeluxeTags with LPC - You'll need [PlaceholderAPI](https://www.spigotmc.org/resources/placeholderapi.6245/) - Download DeluxeTags expansion: ```text /papi ecloud download DeluxeTags ``` - Reload PAPI to make changes: ```text /papi reload ``` - Add whatever placeholders you need to LPC's `config.yml` - You can find the placeholders [here](https://api.extendedclip.com/expansions/deluxetags/) - For a standard tag, use the `%deluxetags_tag%` placeholder - Remember to type `/lpc reload` to see changes **If you enjoy the plugin, please leave ★★★★★.** This plugin is not affiliated with LuckPerms. Please do not ask its author for help with this plugin.