#Action-Bar "This Command does not exist" - Message
1 messages ยท Page 1 of 1 (latest)
?
?
try researching
you can use skript
what kind of a question is this too... dont expect a quick response because theres thoughsands of plugins , i recommend trying to create it yourself using skript or i guess you could also use a datapack
.
genuinally
why the fuck do you think i made this if i havent done research
i genuinally need to know
Just have some patience, especially with a thread. No reason to bump it so quickly, it's still near the top
if people know they'll respond, if not... they shouldn't...
and everybody should be a little nicer to each other ๐
have you looked into this plugin? https://www.spigotmc.org/resources/actionbarmessager-1-8-1-20.99939/
@atomic ruin
looks like it might work, but i don't see documentation
says Support Spigot/Paper Chat Component detect.
Yeah I already tried that
ah
It didn't work for me
what if you used conditionalevents
skript has a discord though just fyi, if you want to go that route
yep, gl
actually looks pretty easy with conditionalevents
but i've never used it
https://ajneb97.gitbook.io/conditionalevents/event-types/plugin-events#protocollib-receive-message
example:
type: protocollib_receive_message
conditions:
- "%normal_message% contains This command does not exist." #checks if it is the correct message
actions:
default:
- "cancel_event: true" #cancel message to player
- "actionbar: %normal_message%;100" #display the message on actionbar for 5 seconds
@atomic ruin
Huh, that works?
not tested
but it should
make sure you have protocollib
i just used the wiki, it's really well documented
no this is conditionalevents
a plugin
that's the wiki sent
Is this corecT?
yes
Oh okay
Like its right apart from the LP bit
Use codeblocks for formatting code or configuration files:
```<language name>
<your code here>
```
For example:
```yaml
test:
- โhiโ
- โthereโ
```
Produces:
test:
- โhiโ
- โthereโ```
Also, how do I make it so that it fades out
Ok thx
i don't think you can
Huh...
It definitely doesn't
try the title command
here
so title:
- "console_command: title %player% actionbar {\"text\":\"%normal_message%\"}"
use that instead of the actionbar action
there was an error
xD
Where is the %normal_message%
Works, but how would I edit the Json Message to show maybe "This command is non-existent"
Like two different things
From in chat & action-bar
oh, just write you're own message
Oh ok let me try
let me get a generator
with the %?
no no
that returns the json format of the message the player received
Didn't work with that... so far
yeah, needs to be json format
Thanks ๐
So I replace that with my #e0000This command is non-existent."
yeah, and fix the color
I mean... are you high XD
alright
idk the whatever
error
hmm
- "console_command: title %player% actionbar {"text":"This command is non-existent/","color":"#e00000"}"
- 'console_command: title %player% actionbar {"text":"This command is non-existent.","color":"#e00000"}'
Thank you for your time helping me
no problem
I mean... I Guess we will see eachother soon... I have a lot of issues to be solved ๐