Comments (6)
I understand. To be clear, the reason I decided to use external messages for joining/quitting is for attempting a workaround that allows me to send notifications to other servers through Bungee. Actually using hopecommander with a bungeebroadcast plugin for those messages. Though this bug doesn't actually prevent that as long as I don't use the suffix placeholders, so just thought I'd mention it. Thanks.
from announcerplus.
As much as I would like to fix this, it's very much an edge case and fixing it simply would break other things which are more commonly done. There are of course much more complicated solutions to the one I'm thinking of that could be attempted, but that's more than I'm willing to do for an edge case involving legacy codes like this atm.
from announcerplus.
An option to "not convert" is probably a no-go for a variety of reasons (it doesn't align with the vision for the plugin, and also technical reasons).
The conversion from legacy should be lossless however. Do you have an example of a failed conversion that "doesn't work at all in Minecraft"? The conversion seems to work fine in my testing.
from announcerplus.
Join commands as they appear in the given join/quit file:
The user's suffix in LuckPerms:
What should appear when this placeholder is parsed in-game:
Now that I think about it, this may be more of a bug than anything as I'm not sure when you'd want it to convert a placeholder's contents like that. Perhaps it's simply converting the Minecraft codes into the new format but not processing them when it's done from a placeholder.
from announcerplus.
I think the best solution is for you to use the built-in join-messages
/join-broadcasts
config options instead of using a second plugin to broadcast messages through a command. Either that or use the /ap broadcast
command. Both of these solutions require changing the text in the AP config files from legacy to MiniMessage, any legacy placeholders will be upgraded automatically.
Although there is an unintended side-effect happening there from parsing placeholders in commands, it's not something you would encounter with a more sane/standard/supported setup of using the in-built config options or commands instead of executing another plugin's command, and so it's probably not going to be fixed. Placeholder parsing in commands is needed for %player_name%
placeholders for example, and we can't know which placeholders are needed for the command and which are meant to be parsed by the command we are executing. Given we can't remove placeholder parsing for commands as is, we also can't remove format conversion as this would break executing /ap broadcast
with placeholders from config commands, which is higher priority to work than third party plugin commands.
from announcerplus.
I've opened a tracking issue for a potential long-term solution #113.
from announcerplus.
Related Issues (20)
- [Bug Report] Title flicker when both is send (including Actionbar)
- AnnouncerPlus is not registered with the PlaceholderAPI HOT 2
- Remove PlaceholderAPI processing from commands
- [Feature Request] "CustomText" features with support for placeholders, formatting codes, hover text, click actions, multiple pages, etc. HOT 3
- [Bug Report] Clickable message is actually not clickable in MOTD HOT 3
- [Bug Report] Color codes do not work in Minecraft 1.12.2 HOT 1
- how to wrap lines in hover messages
- [Feature Request] permission for advertisement and others
- [Bug Report] AnnouncerPlus not respecting Luckperms Weight HOT 1
- [Bug Report] join-sounds section HOT 1
- [Bug Report] Boss bar /actionbar/toast/title/sound does not work on folia HOT 1
- [Bug Report] When i want send toast message with Fire icon, i receive this error HOT 1
- [Feature Request] Support 1.20.2 HOT 1
- [Bug Report] Incredible lag when announcement is sent HOT 1
- [Bug Report] Toast messages arent working on 1.20.4
- Dependency Dashboard
- [Feature Request] Please add an instruction to stop playback HOT 2
- Action Required: Fix Renovate Configuration
- [Feature Request] Add the ability to schedule a repeat announcement with a configurable interval.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from announcerplus.