#For anyone who needs help with 'Received chat packet with missing or invalid signature'

1 messages · Page 1 of 1 (latest)

tight trellis
#

This bypasses the stupid minehut system, i can't understand what's going on with them but here ya go


options:
    effectToken: "!"


packet event play_client_chat:
    cancel event
    set {_t} to field 0 of event-packet
    if first character of {_t} = {@effectToken}:
        replace first {@effectToken} in {_t} with ""
        send "&c| &7Executing effect command: &f(&7&o%{_t}%&f)" to event-player
        parse effect {_t} from event-player

        stop
    broadcast "&c%event-player%: &f%colored {_t}%"

https://www.spigotmc.org/resources/skript-bypass.106908/

Requires:
-Skript
-Skript-Packet
-ProtocolLib

#

options:
    effectToken: "!"


packet event play_client_chat:
    cancel event
    set {_t} to field 0 of event-packet
    if first character of {_t} = {@effectToken}:
        replace first {@effectToken} in {_t} with ""
        send "&c| &7Executing effect command: &f(&7&o%{_t}%&f)" to event-player
        parse effect {_t} from event-player

        stop
    broadcast "&c%event-player%: &f%colored {_t}%"

    
#

allows you to use effect commands

#

e.g.

#

!give me sand

pseudo rivet
#

o

brisk goblet
#

Lol

tidal forge
#

ig everyone is op now

brisk goblet
#

Lmfao

brisk goblet
#

And add a permission

#

Lol

tight trellis
#

eh

#

fine

#

everyone being op is fun though

brisk goblet
tight trellis
#

that's a thing

#

jesus

brisk goblet
#

Lol

tight trellis
#

there we go

brisk goblet
#

@tight trellis
this replace all "!" in {_t} with "" should be replace all {@effectToken} in {_t} with ""

late raft
tight trellis
#

benoshi thanks for calling me out i completely missed it

tight trellis
late raft
brisk goblet
#

but you sure this even fixes the kick ?

#

because the chat message gets sent to the proxy first

tight trellis
#

yes it works

tight trellis
#

on my server

#

it stops the issue which seems to be fully packet related and not proxy related

brisk goblet
#

k

tight trellis
#

idk why it's happening, frankly don't rly care

#

but i've updated the resource now all good

mortal chasm
#

ily bro

tidal forge
#

if I did !broadcast "idk!"

#

it would broadcast idk instead of idk!

tight trellis
#

fair

brisk goblet
dusty fable
#

what if I want to send "hello!"

brisk goblet
#

i know i missed the all

#

i was just looking at "!" and i thought it should be {@effectToken}

#

but i wasnt looking at all

tight trellis
brisk goblet
#

?

tight trellis
#

😠 djjjjj

#

😦

dusty fable
brisk goblet
#

lol

brisk goblet
dusty fable
dreamy vale
#

Is there a way to implement this/something like this while keeping the prefixes/suffixes intact?

placid bridge
brisk goblet
#

?

tight trellis
tight trellis
placid bridge
#

I don't understand lmfao sorry

tight trellis
#

so ur question is why not just enable it in the config

#

therefore u didnt read the code or the thread title

placid bridge
#

Ah I see

#

my bad

tight trellis
#

dwai

drifting niche
tidal forge
drifting niche
#

k

#

im stupid

wheat tendon
tidal forge
#

which one is it

wheat tendon
tidal forge
#

you do not have skbee

wheat tendon
#

ah, guess that's why you dont get prerequisites from the first message of a channel

tidal forge
wheat tendon
#

Well, after getting skbee, the skript loads fine, but there is still another error that was there before

#

forget that^ seems like the protocollib I got is not meant for 1.19

#

have to use a dev build I guess

#

Well, it seems to have worked... except now my [owner] tag is gone and my name is red...

#

only in chat it seems

brisk goblet
#

you can customize it

#

and you probably want to add a permission to the skript commands thing

#

xd

wheat tendon
brisk goblet
#

?

#

just customize the broadcast

#

at the end

wheat tendon
#

Oh I see. How can I make it so it displays certain peoples ranks?

brisk goblet
#
options:
    effectToken: "!"

packet event play_client_chat:
    cancel event
    set {_t} to field 0 of event-packet
    if first character of {_t} = {@effectToken}:
        if event-player has permission "skript.effectcommands":
            replace first {@effectToken} in {_t} with ""
            send "&c| &7Executing effect command: &f(&7&o%{_t}%&f)" to event-player
            parse effect {_t} from event-player
            stop
    broadcast "%event-player's prefix%&7%event-player%%event-player's suffix%: &f%colored {_t}%"
#

probably

wheat tendon
brisk goblet
#

ah yeah skript has a different format to luckperms

wheat tendon
#

its the double hashtag in elbow brackets sort of thing right?

brisk goblet
#

if you set it in luckperms i dont think you need ##

#

maybe just one # ?

#

idk

#

but yeah <#RRGGBB> (might have alpha too i havent checked but i dont think you need it)

wheat tendon
#

Hm but now how do I set the color for each prefix? Since they all have a unique hex. Would I have to make a check for each of the prefixes I have, then send a different message for each one?

brisk goblet
#

just set it in luckperms im pretty sure it would just work

wheat tendon
#

Seems like such a process just to stop such a simple bug

tight trellis
#

but i do think that the fact we have to fix this issue is pretty stupid

drifting niche
#

Tbh i was off minehut for 6 months and what is this.You cant type or /ad? U have to be on 1.19.3 on the minecraft launcher without mods.So you cant use something you like like feather badlion or lunar.And getting the plugins is just a pain...I decided to download them manually bc of how weird it was.The chat is so dead i remember when you could actually start a conversation but nobody uses 1.19.3 java

tight trellis
#

the fact they’re enforcing the 1.19.3 change in the lobbies too is wild

#

taking moderation out of the hands of minehut.. i guess

brisk goblet
#

and personally new addons panel isnt confusing and it doesnt really make it harder

#

its the same as the old one really just redesigned and gets everything from spigot

#

but personally i prefer to download it myself i only really use the addons panel if im lazy

drifting niche
#

I got skbee and the bypass thingy still everythings same

late raft
#

unless its something for this but idk

tight trellis
#

@drifting niche did you look at the dependencies?

#

Requires:
-Skript
-Skript-Packet
-ProtocolLib

drifting niche
#

k

drifting niche
#

Got protocol and skript

tight trellis
#

yeah i'd really suggest looking at what's already there before asking for help especially when it's this simple

drifting niche
#

mb

tight trellis
#

dwai

drifting niche
#

Now hopefully it works

tight trellis
#

yea, lmk

drifting niche
#

uhhhh this supposed to happen with ranks in chat?

#

@tight trellis

tight trellis
#

is the latest message even with the script loaded?

drifting niche
#

uh

#

it was normal b4

#

i added it

tight trellis
#

and then it's red

#

right?

drifting niche
#

wdym

#

whats red

tight trellis
#

if that's the case it's fully functional then, up to you to change how you want the chat to look

tight trellis
drifting niche
#

ok

tight trellis
#

the name

brisk goblet
#

<#RRGGBBAA> (AA is optional i actually dont know if it has alpha or not)

drifting niche
hot kite
#

when i added ProtocolLib and Skript Packets, my chat got spammed with some of this

#

the workaround made me unable to send messages now, what the heck?

#

it's supposed to fix the error is it now?

#

not make it worse

brisk goblet
#

you need the latest dev build for protocollib on 1.19

hot kite
#

so everyone is op now or something with the effect commands?

brisk goblet
#

you can add a permission to it

brisk goblet
#

idk why the base script doesnt have it by default tbh

hot kite
#

so add a permission in the parse effect line?

brisk goblet
#

just take the code i linked in the reply

tight trellis
#

teaches players a bit of skript while they're at it

#

lmao

brisk goblet
#

Lol

lone tide
#

@azure tinsel

simple oriole
#

any fixes for 1.19?

brisk goblet
#

it works on 1.19

#

but for protocollib you need a dev build

#

!custom-pl

kind harnessBOT
#

minehut Custom Plugins

Minehut supports uploading custom plugins!

  1. Go to the File Manager section on the server's dashboard
  2. Click the plugins folder and then the Upload File button
  3. Select the plugins you want to upload and then press Upload
  4. Then restart the server and your custom plugins should now be working!
brisk goblet
tight trellis
#

@brisk goblet thx for carrying this tread baby

#

thread

#

💏

drifting niche
#

Hey

#

so i've had this for a while and i gotta say.

#

./mute doesnt work and any other skripts with chat are broken

#

also if u wanna do something with goldencrates or a plugin that requires you to type in chat to name it

#

it doesnt work

#

idk if i did something wrong

#

Also when i have both Skript-bypass and the skript that fixed the bug

#

It types like twice

#

So i just that part from the skript?

#

idk if thats the issue

tight trellis
#

@drifting niche this is why u scroll up and read the thread

#

i didnt add anything and left it up to players to modify

#

if u wanna add a mute command it’s simple, go ahead

#

u gotta code it tho

drifting niche
#

ohhh

#

k

drifting niche
#

Wouldnt that take like

#

A lot lot of time

tight trellis
#

it takes like 10m

#

it's a good incentive to learn skript too

#

or java

drifting niche
#

ok

#

problem is im stupid tho

carmine barn
brisk goblet
#

no one cares what its called

#

tbh

carmine barn
#

I do

#

It brings shame to the beloved skript- addon names

#

cough sneeze skript-teams

tight trellis
#

💀

#

@carmine barn claimed the name now

#

sucks for addon makers

carmine barn
#

that's gotta be toxic

lone tide
#

Got a question so this allows 1.19.3 on minehut?

tidal forge
tight trellis
jagged plover
#

is there a way to make the effect command part also show the errors if there are any?

tidal forge
#

no idea if it'll work

#

worth a try

#

@jagged plover

jagged plover
#

doesn't seem to be working, it always runs the if parse error is not set:, no matter if i do an error or not

packet event play_client_chat:
    cancel event
    set {_t} to field 0 of event-packet
    if first character of {_t} = "!":
        replace first "!" in {_t} with ""
        parse effect {_t} from event-player
        if parse error is not set:
            send "&7executing '%{_t}%&7'" to event-player
        else:
            send "&cError in: &7%{_t}%"
            send parse error
        stop```
tight trellis
#

good point

#

nvm too much work

brisk goblet
drifting niche
tight trellis
#

not sure man it happened to me first on 1.19.3

#

but i saw it was an issue even like 6 months ago

#

ever since the 💩 chat stuff

drifting niche
#

ye i ended up converting my server to 1.19.3 the bug dont happen but no plugins work

#

some do but not some that are needed for basics like tab etc...

tight trellis
#

@drifting niche update ur plugins

harsh mountain
#

@teal reef do we have this

#

@pseudo forge … do we have it

simple oriole
#

im getting this

brisk goblet
#

you need a dev build for 1.19.3

simple oriole
#

ohhh

#

duh sorry

drifting niche
umbral pine
#

i improved the script from death source so its the standard effect commands and it shows errors

    set {_t} to field 0 of event-packet
    if first character of {_t} != "!":
        cancel event
        broadcast "%player%: %{_t}%" # this you can change to whatever chat format you have```
#

It's also compact as you can see.

jagged plover
#

but then it might kick u when doing effect commands

#

btw guys make sure only opped players can do effect commands

brisk goblet
#

so you can get the chat format

#

and plugins/scripts can modify it

#

i would do that myself but icba

tight trellis
#

u get kicked

brisk goblet
#

why ?

tight trellis
#

if the packet gets through

#

idk man

#

also funny enough. i dont think minecraft registers that ur editing chat

#

not 100% sure about this

#

they just think no messages are being sent

#

cause the 1.19.3 stuff checks when on chat is stopped right?

brisk goblet
#

the server sends to delete a message

tight trellis
#

ok so minecraft registers when u cancel that packet?

#

my bad if yes

brisk goblet
#

i think it just deletes the last one associated with signature

#

could be wrong though

tight trellis
#

🤷‍♂️

#

idek anymore

#

funny thing is all these chat features uh

#

how the hell will they work with under 1.19.4 clients

#

or whatever's coming next

brisk goblet
tight trellis
#

nice

brisk goblet
#

1.19.3 and 1.19.4 may be compatible though be we have to wait and see

#

@tight trellis actually wait nvm i think the signature is different every message right ?

#

so you might just be able to delete any message you want as long as you have its signature

#

i think the server side gaslight uses this lol but anyway you cant get banned if someone used it on you probably i actually dont know i guess just stay away from sketchy servers

tranquil ore
#

hey gise

lone tide
#

i

tight trellis
#

j

jagged plover
#

k

lone tide
#

@azure tinsel

jagged plover
jagged plover
#

?