LuckPerms

LuckPerms

41.4k Downloads

Web Editor Session doesn't appear in the Console

FoxMcloud5655 opened this issue ยท 6 comments

commented

I am not 100% sure if this is a LuckPerms problem or a McMyAdmin problem, but when I attempt to get an editor session from console (ex. /lp editor), the line that contains the link never shows up.

I believe it is because data that is provided as a clickable link to the player is not supported by the console, therefore it doesn't show. On my own plugins, I've had to check whether or not the current caller is a console or not, and display using the default method if it is, otherwise display the fancy clickable link.

commented

Understood. Thank you for your time.

commented

Platform? lp editor works fine here, but I don't use a control panel; Control panels are kinda known for mangling stuff like URLs shown in the console; I know Spigot lets you send clickable text to the console, just the clickable stuff will be stripped as it's converted to a legacy string automatically

commented

It must be a problem with McMyAdmin then, as the line containing said text never appears. It's not too hard to convert it within the plugin before sending it into the console, so if you'd like to be just that much more compatible, I think I could propose a change and send in a pull request (after testing it, of course).

commented

Whoops. Forgot to mention that it's the Sponge version that I'm using on the server. And yes, it is up-to-date. Also, thank you very much for replying very quickly. I love LuckPerms over every other permission plugin I've used.

commented

Ah okay, in which case the conversion will be handled by Sponge / the Minecraft server.