#Mod for Hoplite

167 messages · Page 1 of 1 (latest)

tight summit
#

Could someone make a small mod that has a toggle on or off keybind, where it shows your current display name? Would be for whenever someone types "/nick" or "/renick", and their display name changes, it would be an easier way to see what your nick was changed to faster. At the moment you have to open chat again, and hover over the message to see the nick, which is annoying if you're constantly re-rolling nicks to get a non obvious one.

#

fabric 1.21 btw

#

I've tried making this with github copilot but that is NOT working 😂

hexed meadow
hexed meadow
#

Ofc some of the features aren't needed

tight summit
#

nah that's not what I want, I want a mod that shows your nametag on your screen like how the scoreboard is shown, where you can edit where you want to put it on your screen, and it just says "Playername"

#

just simple

#

not anything crazy

hexed meadow
#

ah I see

#

I wish I could make it lol

#

Maybe some day I will learn to mod

hexed meadow
#
{display_name}```

For example
#

You can also offset it as well

#

If you are interested in using the mod, you can let me know where you would want it to be and I can try to make the .txt for that

tight summit
#

I want it to be it's own hud though

#

like

#

separate from coords

#

and togglesprint

#

and stuff like that

#

and toggleable via keybind

hexed meadow
hexed meadow
tight summit
#

o shit

hexed meadow
#

Custom HUD can be used for whatever you want

tight summit
#

okay bet I'ma try that

hexed meadow
#

It's a very well made mod

#

Tons of functions

tight summit
#

I already have a hud editor that I like for my coords, so I wouldn't want it to change that

#

so hopefully I can turn that part of that mod off

hexed meadow
#

It's not like other mods

tight summit
#

I'm good I can figure it out 😂

hexed meadow
#

There is also extensive documentation if you want to see what else it can do

#

There's one template it comes with that you can just remove

tight summit
#

tried it, doesn't work with nicknamed

#

nicknames

#

It just shows iVeggie

#

no matter what my nickname is

#

I want it to show what current nick it is

hexed meadow
#

Then the way Hoplite does nicknames would need to be figured out. Otherwise no mod can be made to do this

hexed meadow
tight summit
#

I mean can't the mod just check for what name it shows in tab?

#

or it could check for what name shows up if you hover over the most recent message

#

cuz it gives you a hoverable message when you get a new nickname that will show you what your new nickname is

hexed meadow
tight summit
#

it does

#

yes

hexed meadow
#

gotcha

tight summit
#

it also shows if you hover over the most recent nickname message in chat

#

when you hover over it, it shows what your new nickname it

#

could also possibly fetch that

tight summit
#

🙏

#

I sleep now

hexed meadow
tight summit
#

bump

burnt shadow
#

I think I have something somewhere I'm not sure if it hides all instances of your name but it does in the chat and tablist so I gotta check

#

Wait I may of read this wrong

#

I don't understand what is wanted here

hexed meadow
# burnt shadow I don't understand what is wanted here

He wants a HUD display of his Hoplite nickname that is able to be disabled via a keybind and also moved around his HUD so he can place it wherever. Because of the way Hoplite does nicks, it is required for the mod to read chat hovering to find the nick to display. As he said in the post, the two commands are /nick and /renick.

burnt shadow
#

So he wants to drag his nick around the hud and toggle it so it shows his mc user?

burnt shadow
#

Hmmmm

hexed meadow
#

I suggested Custom HUD but it didn't change with his nick because of how Hoplite does it

burnt shadow
#

Nicks reset when rejoining the server right?

hexed meadow
burnt shadow
#

Where does custom hud come to play here?

hexed meadow
burnt shadow
#

Ahhh

hexed meadow
#

But it did not recognize the nickname

burnt shadow
#

Ohhh

tight summit
# burnt shadow Ohhh

I want a mod that adds a hud that shows my current display name, so when I type “/nick” is updates in realtime to change to my new name, same with with I type “/renick”

burnt shadow
#

Hmmm

#

That should be doable

#

Since you are just mixing into the chat and check for a chat message 🤷🏾‍♂️

quaint imp
#

What name tag are we talking about, the one above your head or in the chat?

burnt shadow
#

It already nicks over your head?

quaint imp
#

idk xD

#

Are we talking about scorebords or some mod/plugin for nicking

tight summit
#

It changes your name in tab, and about your head

#

And in chat

quaint imp
#

If you have this /nice is that not the whole point to hide who u are?

tight summit
#

Noooo what I want is a client side hud that shows you what your new nickname is

#

Or what your current nickname is

#

Whenever you nick or renick, you have to open chat, and hover over the chat message to see what your nickname is, this mod would make it so you don’t have to do that, you can just keep “t + up arrow + enter” spamming to keep re-rolling nicknames until you find one you like

#

It would save a lot of time

quaint imp
#

ah

tight summit
#

Yeah

#

Would that be hard to do?

quaint imp
#

So to get this right, you want a mod that automatedly writes /renick in to the chat every time you do "t + up arrow + enter" and that would display the re rolling name on screen somehow?

#

Its not that hard, but i don't have any intrestest in doing it

tight summit
#

So just spamming /renick

#

And no that’s not what I want

#

I just want the display

#

I can type /renick myself

tight summit
burnt shadow
#

So a hud that shows your nick in the tablist, over your head an in chat

#

That I have a mod for but I need to tweak it so that it gets the chat message

#

Not sure if that's doable how I would do it

hexed meadow
# burnt shadow So a hud that shows your nick in the tablist, over your head an in chat

Things he wants:

  1. Read when /nick or /renick is sent in chat
  2. Read the hover output of the message that appears in chat after these commands are typed
  3. Display that hover output on the HUD
  4. Be able to move the location of this HUD element
  5. Be able to use a keybind to disable this HUD element so it doesn't show all the time

@tight summit Let me know if I'm missing anything or any clarification is needed

tight summit
#

but what Shadow said is correct

burnt shadow
#

Ah

#

Read the Hoover output would be the only thing I need to mod

tight summit
burnt shadow
#

/nick and /renick <name> ?

#

Otherwise we could make a command that sends that command in turn and still has the name

#

Might be easier

tight summit
#

no, it's just "/nick" and "/renick"

#

they both just choose a random nickname for you

#

and it shows what the random nickname that was chosen for you as a hoverable message

burnt shadow
#

Oh

#

I can see what I can do

tight summit
burnt shadow
#

Ahh ok

#

Or might just be a matter of getting the text displayed after a bit of text

tight summit
#

wdym

#

also, it changes your name in chat, tab, and over your head

#

so if you can fetch it from any of those and have it be easier then that works

burnt shadow
#

Ahh but the I need a mod to figure out the player name

#

Or what's rendered over the head

#

Since I don't think I have nick on hoplite it's gonna be a matter of trial and error

tight summit
#

Whichever way that shows the nickname correctly, and is easiest for you works for me

tight summit
#

Bump

#

@burnt shadow

burnt shadow
#

I am trialing and erroring

tight summit
#

Oh sick okay

burnt shadow
#

i am kind of stuck and have no idea what to do...

tepid aspen
#

Are you getting the hover text or trying to get from tab? Hover text would probably be easier.

burnt shadow
#

hover text

tight summit
#

pain

tight summit
next forge
#

@burnt shadow maybe listen for the player info update packet, check if the UUID from the packet matches with the client's and update the hud

#

same for update teams packet for the prefixes and suffixes

#

I could try too

tepid aspen
#

That sounds very complicated. Also, if the UUID matches, then shouldn't unmasking nicks be possible? Why not listen for the chat event, read the chat message, and just store it. It could be a bit of a pain to manage the state, but I don't think it'd be that bad.

marsh gorge
next forge
#

@tight summit could you test if it works

marsh gorge
next forge
#

okay yours is way better

marsh gorge
#

sorry to steal ur thunder lol

tight summit
#

And yeah I’ll try it for you

#

If you want me to lmao

#

Also I’m guessing the chat hover and nick thing is for a demonstration?

#

And it’s not going to send its own hover message for each nick?

#

Cuz the server already nicks you

#

And gives you the hover message

half sluice
#

maybe u can use my who am I mod that shows ur label when ur in 3d perspective (f5)

half sluice
tight summit
#

it's fine the mod Ownwn made works

hexed meadow
tight summit
#

yeah

#

😂

burnt shadow
#

Crazy

#

closing?

tight summit
#

Wdym closing