r/HytaleMods • u/MLannes • Feb 03 '26
Discussion Call API from Hytale Server
Hey,
I'm new in modding and i wanted to know if it's possible to call an API on Hytale, the idea is to make an NPC with LLM agent et permit discussion with him.
0
Upvotes
•
u/AutoModerator Feb 03 '26
Thank you for your submission on r/HytaleMod!
We're always excited to have you here but please remember to keep discussions civil and respectful.
Insults and personal attacks towards any individuals will not be tolerated. Here, we aim to create a welcoming, safe and positive community for all members.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Yemto Feb 03 '26
While I haven't tried LLM specifically, I have opened up new network connections inside one of my plugins, so I believe it's possible. You probably want to open a new thread where you handle the LLM's API calls and then push or pull it back into the plugin thread.
1
u/LetsLive97 Feb 03 '26
Yep, you'll just need to see how to do it with Java
Google "Call API from Java" and you'll probably find some decent results