Jump to content

[1.8]How do i make special effects unique to player usernames


Sir_Titas

Recommended Posts

iChun uses UUID's

https://github.com/iChun/iChunUtil/blob/79db170e6e18462f72ccd2a2dfbbdec00de5ae54/src/main/resources/assets/ichunutil/mod/patrons.json

 

Check if a player is online with any UUID's stored in a list, if they are, add the potion effect.

 

Edit: I believe what he does is check when the client launches the game if the player logged in is a patron, if so it sets a variable to true. When they join a server it sends a packet to the server saying "This UUID is a patron" storing it in a list, so it knows who to give the effects to.

Link to comment
Share on other sites

I don't know what you mean by that. Do you mean that the player constantly has those particles and potion effects?

yes

iChun uses UUID's

https://github.com/iChun/iChunUtil/blob/79db170e6e18462f72ccd2a2dfbbdec00de5ae54/src/main/resources/assets/ichunutil/mod/patrons.json

 

Check if a player is online with any UUID's stored in a list, if they are, add the potion effect.

 

Edit: I believe what he does is check when the client launches the game if the player logged in is a patron, if so it sets a variable to true. When they join a server it sends a packet to the server saying "This UUID is a patron" storing it in a list, so it knows who to give the effects to.

thanks

 

all i need to do now is find out how to code it

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.