Help! How can a player join another person's guild?

Started by viecha on

Topic category: Help with modding (Java Edition)

Last seen on 20:01, 9. Feb 2024
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help! How can a player join another person's guild?

Hello,

I have a mod that lets you create guilds and stuff, but i dont know how to make another player join your guild, im using a 'guildcreated' player persistant variable to check if he has created a guild, but if its player persistant, then i dont know how others will be able to join. If you need, i can show the procedures and other things. Please help!!  

Last seen on 03:15, 26. Apr 2024
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you would need to make a…
Sun, 02/18/2024 - 01:26

you would need to make a variable, and get the guild members username, then make it so the other players variable is set to the same guild members. however, im not entirely sure how to get the guild members username and giving that info to the other player..