#Action-Bar "This Command does not exist" - Message

1 messages ยท Page 1 of 1 (latest)

atomic ruin
#

When you run a command that doesn't exist is there a plugin / skript or anything that displays it as an actionbar instead of the boring "in-chat" message...?

atomic ruin
#

?

atomic ruin
#

?

zealous hazel
#

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

atomic ruin
#

.

#

genuinally

#

why the fuck do you think i made this if i havent done research

#

i genuinally need to know

boreal current
#

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 ๐Ÿ˜Š

#

looks like it might work, but i don't see documentation

#

says Support Spigot/Paper Chat Component detect.

atomic ruin
#

Yeah I already tried that

boreal current
#

ah

atomic ruin
#

It didn't work for me

boreal current
#

what if you used conditionalevents

#

skript has a discord though just fyi, if you want to go that route

atomic ruin
#

Ok I will try that

#

Thanks

boreal current
#

yep, gl

#

actually looks pretty easy with conditionalevents

#

but i've never used it

#

@atomic ruin

atomic ruin
#

Huh, that works?

boreal current
#

not tested

#

but it should

#

make sure you have protocollib

#

i just used the wiki, it's really well documented

atomic ruin
#

Okay thanks

#

It cannot understand example:

#

It is in skript right?

boreal current
#

no this is conditionalevents

atomic ruin
#

Where?

#

What is that?

boreal current
#

a plugin

boreal current
#

that's the wiki sent

atomic ruin
#

Is this corecT?

boreal current
#

yes

atomic ruin
#

Oh okay

boreal current
#

i've never used skript, yeah

#

but ce seems pretty nice

atomic ruin
#

Alright

#

Does not work

boreal current
#

hmmm

#

well, they also have a discord...

#

did you download protocollib too?

atomic ruin
#

It says LP

#

It does work but says LP

boreal current
#

ooh

#

hmm

#

instead of what?

atomic ruin
#

Like its right apart from the LP bit

boreal current
#

it just ends at the period?

#

hmm

#

can you send your config

#

?codeblocks

sterile sentinelBOT
#
FAQ Answer:

Use codeblocks for formatting code or configuration files:
```<language name>
<your code here>
```

For example:
```yaml
test:

  • โ€œhiโ€
  • โ€œthereโ€
    ```

Produces:

test:
- โ€œhiโ€
- โ€œthereโ€```
atomic ruin
boreal current
#

or just send the file discord will show it

#

oh weird

atomic ruin
#

Also, how do I make it so that it fades out

boreal current
#

too long i think that's why

#

lol

atomic ruin
#

Because the actionbar

#

Like

#

just insatntly goes

boreal current
#

hmm, can action bar fade in and out?

#

just checking

atomic ruin
#

Ok thx

boreal current
#

i don't think you can

atomic ruin
#

Huh...

boreal current
#

oh wait

#

it fades out by default

#

hmm

atomic ruin
#

It definitely doesn't

boreal current
#

try the title command

atomic ruin
#

It is supposed to * I use skript ( it does )

#

K

boreal current
#

here

atomic ruin
#

so title:

boreal current
#

- "console_command: title %player% actionbar {\"text\":\"%normal_message%\"}"
use that instead of the actionbar action

atomic ruin
#

there was an error

boreal current
#

ah, yeah

#

edited @atomic ruin

atomic ruin
#

Alright let me try it thanks

#

Works but...

boreal current
#

ah hex

#

uh

atomic ruin
#

xD

boreal current
#

- "console_command: title %player% actionbar %json_message%"

#

try that

atomic ruin
#

Where is the %normal_message%

boreal current
#

it got replaced by json message

#

it's the raw format, should work

atomic ruin
#

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

boreal current
#

oh, just write you're own message

atomic ruin
#

Oh ok let me try

boreal current
#

let me get a generator

atomic ruin
#

with the %?

boreal current
#

no no

atomic ruin
boreal current
#

that returns the json format of the message the player received

atomic ruin
#

Didn't work with that... so far

boreal current
#

yeah, needs to be json format

atomic ruin
#

Ah

#

So

atomic ruin
boreal current
#

{"text":"This command is non-existent/","color":"#CA0707"}

#

lol my spelling

atomic ruin
#

So I replace that with my #e0000This command is non-existent."

boreal current
#

yeah, and fix the color

atomic ruin
boreal current
#

aand the .

#

in the name

#

description*

atomic ruin
#

alright

boreal current
#

idk the whatever

atomic ruin
#

error

boreal current
#

hmm

atomic ruin
#

- "console_command: title %player% actionbar {"text":"This command is non-existent/","color":"#e00000"}"

boreal current
#

ah yeah

#

gotta escape the " again

#

actually

#

easier

atomic ruin
#

AI Should do this for us ๐Ÿ‘

#

Ok

boreal current
#

- 'console_command: title %player% actionbar {"text":"This command is non-existent.","color":"#e00000"}'

atomic ruin
#

Damnit.

#

๐Ÿ‘‘ I guess this crown belongs to you

#

It works

boreal current
#

nice!

#

๐Ÿ˜Š

atomic ruin
#

Thank you for your time helping me

boreal current
#

no problem

atomic ruin
#

I mean... I Guess we will see eachother soon... I have a lot of issues to be solved ๐Ÿ˜‰