A chat formatting plugin for LuckPerms.
wikmor / lpc Goto Github PK
View Code? Open in Web Editor NEWA chat formatting plugin for LuckPerms.
Home Page: https://www.spigotmc.org/resources/lpc.68965
License: The Unlicense
A chat formatting plugin for LuckPerms.
Home Page: https://www.spigotmc.org/resources/lpc.68965
License: The Unlicense
This Config not working in my config.yml.
group-formats:[/B][/B][/B][/B][/B][/B][/B][/B][/B]
[B][B][B][B][B][B][B][B][B]# default: "[default] {name}&r: {message}"[/B][/B][/B][/B][/B][/B][/B][/B][/B]
[B][B][B][B][B][B][B][B][B] admin: "\uEffa &7{name}&r: {message}"
Have errors in the console:
20:04:22] [Server thread/ERROR]: Cannot load plugins/LPC/config.yml
org.bukkit.configuration.InvalidConfigurationException: mapping values are not allowed here
in 'string', line 25, column 37:
[B][B][B][B][B][B][B][B][B]# default: "[default] {name}&r: {message} ...
^
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:59) ~[patched_1.17.1.jar:git-Paper-325]
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160) ~[patched_1.17.1.jar:git-Paper-325]
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:128) ~[patched_1.17.1.jar:git-Paper-325]
at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:188) ~[patched_1.17.1.jar:git-Paper-325]
at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:158) ~[patched_1.17.1.jar:git-Paper-325]
at me.oncode9.lpc.LPCPlugin.onCommand(LPCPlugin.java:40) ~[LPC.jar:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.17.1.jar:git-Paper-325]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.17.1.jar:git-Paper-325]
at org.bukkit.craftbukkit.v1_17_R1.CraftServer.dispatchCommand(CraftServer.java:852) ~[patched_1.17.1.jar:git-Paper-325]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleCommand(ServerGamePacketListenerImpl.java:2257) ~[app:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerGamePacketListenerImpl.java:2068) ~[app:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerGamePacketListenerImpl.java:2049) ~[app:?]
at net.minecraft.network.protocol.game.ServerboundChatPacket.handle(ServerboundChatPacket.java:46) ~[app:?]
at net.minecraft.network.protocol.game.ServerboundChatPacket.handle(ServerboundChatPacket.java:6) ~[app:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:56) ~[app:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[patched_1.17.1.jar:git-Paper-325]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:149) ~[app:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[app:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1418) ~[patched_1.17.1.jar:git-Paper-325]
at net.minecraft.server.MinecraftServer.shouldRun(MinecraftServer.java:192) ~[patched_1.17.1.jar:git-Paper-325]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:122) ~[app:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1396) ~[patched_1.17.1.jar:git-Paper-325]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1389) ~[patched_1.17.1.jar:git-Paper-325]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:132) ~[app:?]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1367) ~[patched_1.17.1.jar:git-Paper-325]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1278) ~[patched_1.17.1.jar:git-Paper-325]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-325]
at java.lang.Thread.run(Thread.java:831) ~[?:?]
Caused by: org.yaml.snakeyaml.scanner.ScannerException: mapping values are not allowed here
in 'string', line 25, column 37:
[B][B][B][B][B][B][B][B][B]# default: "[default] {name}&r: {message} ...
^
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:890) ~[patched_1.17.1.jar:git-Paper-325]
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:379) ~[patched_1.17.1.jar:git-Paper-325]
at org.yaml.snakeyaml.scanner.ScannerImpl.peekToken(ScannerImpl.java:271) ~[patched_1.17.1.jar:git-Paper-325]
at org.yaml.snakeyaml.parser.ParserImpl$ParseDocumentEnd.produce(ParserImpl.java:286) ~[patched_1.17.1.jar:git-Paper-325]
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:165) ~[patched_1.17.1.jar:git-Paper-325]
at org.yaml.snakeyaml.comments.CommentEventsCollector$1.peek(CommentEventsCollector.java:59) ~[patched_1.17.1.jar:git-Paper-325]
at org.yaml.snakeyaml.comments.CommentEventsCollector$1.peek(CommentEventsCollector.java:45) ~[patched_1.17.1.jar:git-Paper-325]
at org.yaml.snakeyaml.comments.CommentEventsCollector.collectEvents(CommentEventsCollector.java:140) ~[patched_1.17.1.jar:git-Paper-325]
at org.yaml.snakeyaml.comments.CommentEventsCollector.collectEvents(CommentEventsCollector.java:119) ~[patched_1.17.1.jar:git-Paper-325]
at org.yaml.snakeyaml.composer.Composer.composeScalarNode(Composer.java:221) ~[patched_1.17.1.jar:git-Paper-325]
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:191) ~[patched_1.17.1.jar:git-Paper-325]
at org.yaml.snakeyaml.composer.Composer.getNode(Composer.java:115) ~[patched_1.17.1.jar:git-Paper-325]
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:146) ~[patched_1.17.1.jar:git-Paper-325]
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:151) ~[patched_1.17.1.jar:git-Paper-325]
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:490) ~[patched_1.17.1.jar:git-Paper-325]
at org.yaml.snakeyaml.Yaml.load(Yaml.java:416) ~[patched_1.17.1.jar:git-Paper-325]
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:57) ~[patched_1.17.1.jar:git-Paper-325]
... 27 more
When i use color for the message. Like &4{message} and the message color is white
Hello!
I've been using this plugin for over a year now and it's spectacular!
But I have a question to see if you can answer me.
There is an option in EssentialsX that allows you to change the player's nickname within the server, but since LPC is on, it doesn't change the player's nickname.
Would there be a way to see the nicknames assigned by EssentialX in the chat?
"TIP: EssentialsX Commands /nick Jimmy"
Thanks!
Minecraft version: 1.17.1 - Paper - For some reason when i add a gradient it doesn't combine it together but it only puts it as one color for some reason. i hope there is a fix because i have been going into plugins and trying to figure out how 2 fix it. It only does this in chat but it combines it in tablist. Mh6#0001
(https://cdn.discordapp.com/attachments/779009025907753020/1000605365316096000/unknown.png)
Heyy,, I have a problem where group formats wont work.. Im using LP as groupmanager. Cant get the placeholder "%luckperms_in_group% group" to work.. I am sure it is just that im using it wrong... Can you help me? Please show with config.yml
This is my try: https://gyazo.com/7413168512c51737d872848252e04595
I have Downloaded LuckPerms in PAPI
Even if it works great on paper, it doesn't use it's possibilities, so maybe you could make another plugin, with the same functionality, which uses minimessages, and maybe other paper api
like there already are people who would like to see hover texts in their prefixes, and other
since your plugin tends to be extremely small and lightweight, i don't think it's worth to make that plugin support both
is there any chance to make LPC support Factionsuuid relation placeholder?
like: %rel_factionsuuid_relation_color%
Bc it only work at plugins that supports PlaceholderAPI relational placeholders. so it wont work on LPC since it does not support this placeholder, it will only show %rel_factionsuuid_relation_color% in chat.
It would be cool to add minimessage to the plugin, it's very powerful.
Works like a group chat format, but with Player name/UUIDs
You guys should add support for bungeecord servers using LPB
Is there any method i can get realtime to chat ? like some placeholder for time ?
I plugin is not working with deluxe tags
Yet still it appears, the permission is false and people still can type with colors
There is no readme file. Preferably this would include a small explanation of the program, as well as documentation on how to build the program(or at least what build system is in use).
The code has no comments whatsoever, this is a low priority since the code isn't too long.
The build system configuration file seems to have machine-specific paths/options
C:\Users\Wiktor\Desktop\1.16.4
It also appears to be at least partially optimised to build on Windows machines, despite the fact that over 85% of Bukkit/Spigot servers reporting to bStats run GNU/Linux while only about 11% run windows.
Need to know if I'm allowed to redistribute this for some open-source & free server templates I'm making.
The placeholder '{message}' is not being overwritten by colors on latest version.
{message-color}, &c, and hex colors do not effect this issue at all.
Yea, not working.
using 1.18.1
I had to revert back to the previous version and it works just fine
upgrading server version from 1.19 to 1.19.2 placeholders get broken and this is what happens in console and in game this is what happens.
It may have something to do with the chat reporting
Plugins that are used with LPC and all are at latest version:
Server version: git-Paper-166 (MC: 1.19.2) (Implementing API version 1.19.2-R0.1-SNAPSHOT)
In game:
https://i.imgur.com/0aUdg3U.png
on console:
https://i.imgur.com/KAq77Qf.png
Add the ability to enable and disable the global chat (G) and local chat (L) This will be extremely useful in comparison with other plugins that do not know how to work with the prefix
Hello i updatet the versions in your LPC to the newest versions.
Luckperms 5.3
Placeholderapi 2.11.1
maybe you should update that to in your pom file same for the spigot api to 1.18.1
Sometimes, LPC doesn't allow other plugins to modify chat, for example, in Towny, when you're talking in a different channel, there isn't a town tag
I using custom font from texture pack an chat is laging how can i fix this
Hello I have tried the EmojiPedia and PixelEmojis custom packs it doesn't work basically the plugin doesnt support custom packs yet, I have install it with my Oraxen plugin, can you please update it that support the latest version and this plugin/resources I have mention?
Greetings, we are recently experiencing a chat delay of two seconds, I tried to remove LPC temporarly and then the Chat worked normal again. Would be awesome if we could get help with this.
Hey, I set the permissions for my default rank to not having color codes and RGB so they can't abuse it.
I did it and it still works for the default rank.
The permissions I gave them:
lpc.colorcodes - false
lpc.rgbcodes - false
Im using airplane 1.17.1 mc server
Hex Color Not good work always looking purple
Config Settings:
mimar: ":mimar: &r&6{name} &8▸&r &f{message}"
and
mimar: ":mimar: &rAB8CA{name} &8▸&r &f{message}"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.