#server-plugins-read-only
1 messages Β· Page 76 of 1
Does anyone know why a dark loading screen pops up when interacting with custom ui?
thank oracle for that one
real yeah
me vale
does their website still look like toothpaste wrap?
Nope. I realised the command I was making already existed in the game so I stopped
fair
with intellij now its easy to setup
Is anyone aware of a method to implement custom asset types that also appear in the asset editor? I tried two different methods, one being the way the server implements them, and another with an attempt at using earlyplugins (which I failed miserably).
anyone can help me with a fix bug
Hey, i got simple claims and when i do /sc admin-chunk to claim the spawn i cant click anything, anyone knows why?
I can do /sc admin-claim that works fine but i want to claim alot so clicking is needed... anyone has a solution?
which one was it
Just asking like that, does someone know how to attach a custom component to an Item, or a Block in Hytale?
/notify
hey all. Is there a way to automate authentication with a dedicated server i host locally? Restarting over and over is such a pain when i have to authenticate every single time
switch to encrypted auth type
For me setting the auth persistence to Encrypted worked.
anyone know how I can get the ghost item that is in the cursor slot?
auth persistence Encrypted
I could be mistaken, but I think that expires every time the server jar is updated.
this worked! thank you!!
Yea, could be. But still the solution for not having to reauthenticate every time the server restarts. I can live with reauthenticating once every update tbh :D
Im new to modding so can someone please tell me how to mod hytale.
/auth persistence Encrypted
learn coding !!
Is it possible to modify existing items to add new interactions ?
they "modernized" it lol
i Know but what software
tbh, id say start with mc as hytale is so early with modding that many things will probably change
Intellij, Kotlin.
there might be soem tutorials already if you really want to learn
ty
hi someone know about forgotten statue crash game? in servers:
Exception while ticking entity interactions! Removing! ComponentType is invalid! (InteractionSystems, TickInteractionManagerSystem)
Try IntelliJ. Also there are already people who did tutorial on hytale modding. To be honest starting with coding on an not yet very well documented base will be hard, good luck :)
Anyone know how to raise the teleport limit?
for some basics, just use the build in asset editor in hytale. No real coding there, but you get a good understanding of the game and how it works
ty all
Anyone know how to get information on how much an item heals?
I seem to not be able find in in an ItemStack
Or any information about item stats really
Hi, someone can tell me how can i add a ui menu on a vehicle ? i try to make a furnace minecart but i don't know put a ui on it to refuel it
How do you handle adding new worlds? Whenever I drag a world into the worlds folder while the server is running, it doesnt show in /world list
i think it was /world load <folder>
What if I wanna load the world from a plugin? Do you know how to do it?
can i change custom ui during runtime in code? for example add a button
Has anyone got InteractivelyPickupItemEvent entity event system to work? I seem to not be able to prevent players from picking up items.
Did anyone get their refund request reviewed yet? Its been a couple of days and havent yet got a reponse. And yes I do meet the requirements
Is there a forum most people are using for server plugins?
Universe.get().loadWorld(name)
Well we just implemented it but we can catch that the player cant pickup item, but it actually still drops it on the ground
Im doing that but its not loading properly:
return Universe.get().loadWorld(worldName).join();
[2026/01/16 22:14:55 INFO] [CommandManager] Zoo executed command: skywars
[2026/01/16 22:14:55 INFO] [SOUT] WORLD NAME: sw-5fbb6e5c
[2026/01/16 22:14:55 INFO] [World|sw-5fbb6e5c] Loading world 'sw-5fbb6e5c' with generator type: 'HytaleWorldGenProvider{name='Default', path='null'}' and chunk storage: 'DefaultChunkStorageProvider{DEFAULT=IndexedStorageChunkStorageProvider{}}'...
[2026/01/16 22:14:55 INFO] [World|sw-5fbb6e5c] Added world 'sw-5fbb6e5c' - Seed: 1768577948589, GameTime: 0001-01-04T21:03:28.805234815Z
[2026/01/16 22:14:55 INFO] [Universe|P] Removing world exceptionally: sw-5fbb6e5c
[2026/01/16 22:14:55 INFO] [World|sw-5fbb6e5c] Removing individual world: sw-5fbb6e5c
LOL
Care to show me a snippet? I think I may be looking for the wrong EventSystem, I want to prevent the player from picking up items from the ground π
Why are you returning the load world?
Like for finding plugins/mods? CurseForge
Thanks
Anybody else crash if they try to access there armor and weapon bench?
I wanna return the world and then in another method teleport the player to it.
` private World createWorld() {
String worldName = "sw-" + UUID,randomUUID(),toString(),replace("-", ""),substring(0, 8);
try {
Path worldsDir = Paths,get(System,getProperty("user,dir")),resolve("universe"),resolve("worlds");
Path emptyDir = worldsDir,resolve(worldName);
Path template = worldsDir,resolve("skywars-template");
FileUtil,copyDirectory(template, emptyDir);
// Load the world after copying
System,out,println("WORLD NAME: " + worldName);
return Universe,get(),loadWorld(worldName),join();
} catch (IOException e) {
throw new RuntimeException(e);
} catch (Exception e) {
throw new RuntimeException("Failed to load world", e);
}
}`
(dots replaced with comma)
Cloudflare
if (archetypeChunk.getComponent(index, VulnerableComponent.class) == null) {
commandBuffer.addComponent(archetypeChunk.getReferenceTo(index), new VulnerableComponent());
}
```is that a good code ? or how can i kow if an entity have this component ?
Anyone got this weird result where gravity just gives up when trying to add velocity to a player multiple times in quick succession?
The interaction code:
public class ThingInteraction extends SimpleInteraction {
public static final BuilderCodec<ThingInteraction> CODEC = BuilderCodec.builder(ThingInteraction.class, ThingInteraction::new).build();
@Override
public void handle(@NonNullDecl Ref<EntityStore> ref, boolean firstRun, float time, @NonNullDecl InteractionType type, @NonNullDecl InteractionContext ctx) {
PlayerRef pRef = ref.getStore().getComponent(ref, PlayerRef.getComponentType());
if (pRef == null) return;
pRef.getPacketHandler().writeNoCache(
new ChangeVelocity(0, 10, 0, ChangeVelocityType.Add, new VelocityConfig())
);
pRef.sendMessage(Message.raw("Added Speed"));
}
}
Try not returning it.
Universe,get(),loadWorld(worldName);
return;```
Have you tried loading the skywars-template? Does that work? Maybe it's the world.
I get this exception when a player walks into a chunk, any ideas why or how to fix?
[Hytale] Exception in thread Thread[#127,WorldThread - default,5,InnocuousForkJoinWorkerThreadGroup]
Hi has anyone figured out a way to rename items without creating a custom item?
currently hytale doesnt support SRV records
maybe cloudflare tunnels? the regular cloudflare proxy in dns records probably won't work
How can i use the Inventory::getCombinedEverything and add armor and other stuff back, for some reason backpack doesn't work etc...
help ?
I tried this and still doesnt work:
private World createWorld() {
String worldName = "sw-" + UUID,randomUUID(),toString(),replace("-", ""),substring(0, 8);
try {
Path worldsDir = Paths,get(System,getProperty("user,dir")),resolve("universe"),resolve("worlds");
Path emptyDir = worldsDir,resolve(worldName);
Path template = worldsDir,resolve("skywars-template");
FileUtil,copyDirectory(template, emptyDir);
// Load the world after copying
System,out,println("WORLD NAME: " + worldName);
Universe,get(),loadWorld(worldName),join();
return Universe,get(),getWorld(worldName);
} catch (IOException e) {
throw new RuntimeException(e);
} catch (Exception e) {
throw new RuntimeException("Failed to load world", e);
}
}
EDIT: It does load in the world list
Try loading the template first on your server with /world load skywars-template. Then run your code again.
Hi, does anyone know how to make a scoreboard like in hynetic net?
@green yoke how much for 1.1.2? file isnt in download options or files
where can i find servers?
It says World with the name skywars-template already exists. And the world generated shows up in my /world list
But it does not teleport me there and says this in the CLI:
[2026/01/16 22:29:53 INFO] [CommandManager] Zoo executed command: world list [2026/01/16 22:29:56 INFO] [CommandManager] Zoo executed command: skywars [2026/01/16 22:29:56 INFO] [SOUT] WORLD NAME: sw-2d90cd7b [2026/01/16 22:29:56 INFO] [World|sw-2d90cd7b] Loading world 'sw-2d90cd7b' with generator type: 'HytaleWorldGenProvider{name='Default', path='null'}' and chunk storage: 'DefaultChunkStorageProvider{DEFAULT=IndexedStorageChunkStorageProvider{}}'... [2026/01/16 22:29:56 INFO] [World|sw-2d90cd7b] Added world 'sw-2d90cd7b' - Seed: 1768577948589, GameTime: 0001-01-04T21:03:28.805234815Z [2026/01/16 22:29:56 INFO] [Universe|P] Removing world exceptionally: sw-2d90cd7b [2026/01/16 22:29:56 INFO] [World|sw-2d90cd7b] Removing individual world: sw-2d90cd7b
What is the keepinventory command?
i heard its in settings
In world settings, before loading the world. You can edit anytime
once we get big game updates will our servers get wiped or do we just update them?
I want to set it as a command without adjusting the world settings. At the very least, I don't want items to fall and stay on the ground. What is the command?
Client updates are forced, afai saw, therefore if update is a breaking one we prob have to wipe it since players can't use older versions
you could mod in a command but i dont see a point
someone make a Protection Stones pls xd
I want to set it as a command without adjusting the world settings. At the very least, I don't want items to fall and stay on the ground. What is the command? please help guys
wait im confused by this lol, if me and my friends all are on the latest version of the game can we play on the server or no because the server is on the old version sorrry i dont understand
I need help, how to add permission in game, i had -/fly mod but if there are not op they can't fly-. I have to add this "simplefly.*" to everyone but i don t know how to do, i have to do it manually for each players ?
Timely reminder that if you're struggling with UI modding, use HyUI. Much easier. Big release soon with parsing for xaml-style UI, and conversion from/to UI file format. Check my bio for the curseforge link!
There was a mod, which was putting your inventory inside a chest when you die. Kinda like gravestone mods from MC
anyone got any idea what the process looks like for storing arbitrary data on an asset/item
has hot reload been investigated and solved?
Well, you have to update the server. If newer update breaks the game world, world needs to be gone. You can't switch to older version of the game to keep playing (for now at least)
Guys any1 knows base class in hytale to create custom blocks with custom logic (wanna do sorta electric generator)
Anyone who can give me link of hytale api plugin to see files and all like Docs Bukkit?
its the server jar
ahh i see so it shouldnt be a issue unless the update is unstable and causes issues got it thx
oh i know but i need better the web
how do I create my own custom UI in a workbench?
is there a mod example?
is more easy to see
Is there any server?
if yes what is the IP of it
is the game also written in java, or is java only used for mods? Wikipedia says it's written in C++ but i like to take wikipedia with a grain of salt
go to Project Structure and add the HytaleServer.jar there
with that JetBrains will auto import and navigate for you
Does anyone know why this isnt teleporting the player? I checked and confirmed the world name and spawn vector is valid
World world = Universe.get().getWorld(arena.getWorldName());
player.updatePosition(world, new Transform(arena.getLobbySpawnPoint().x, arena.getLobbySpawnPoint().y, arena.getLobbySpawnPoint().z), player.getHeadRotation());```
How do I find out the latest version of the com.hypixel.hytale dependency?
you don't,
you just use your installed hytale for it
π
I do this:
public static void teleportToWorld(PlayerRef playerRef, World targetWorld, Transform spawnPoint) {
Ref<EntityStore> ref = playerRef.getReference();
Store<EntityStore> store = ref.getStore();
World currentWorld = store.getExternalData().getWorld();
currentWorld.execute(() -> {
store.addComponent(ref, Teleport.getComponentType(), new Teleport(targetWorld, spawnPoint));
});
}
Thanks a lot!
Hi, does anyone know how to setup shadowJar to use third-party dependencies?
the hell are these "modding group" adverts?
Does anyone already have a test API for script creation?
clout chasers
Authors:
Is it possible to make custom player animations ?
yep
already maded a Emote wheel like fortnite
Just put it under mods folder after installing the server
Nice! Do you have a link ?
waiting for the 3d artists to get me the files, and then ill upload!
Seems good !
cheers!
Are they any doc (even non official) for plugins that impact the gameplay ? Or are we still playing around to figure out stuff?
But its not loading
anyone else have their NPC just randomly fly up into the air? XD
helllo I'm trying to create a worldguard plugin for Hytale
hello guys, how u detect that an enemy is dead ? or the player killed an enemy event ?
I have my mods in the folder but its not loading when i starting the server
it just automatically shows up when you start a server
Just as .jar file
are you looking for something to like mask/hide your IP? if you just need a reverse proxy or something you can use Caddy, its simpler. but tbh I just added an A record for my domain that points to the IP of the server
i think this was meant for someone else, just released it was another profile asking for help
ipv6 moment
hello? where I can get official and updated hytale java docs for modding?
I dont have an answer top of my head have to debug the thing, since underlying code is the same it should behave the same if JRE is not doing something finicky.
java(.)lang(.)NullPointerException: Cannot invoke "com(.)hypixel(.)hytale(.)component(.)Ref(.)isValid()" because "targetRef" is null```
Could anyone help me figure out this, it isnt plugin related its from my single player world logs and it just completely crashes after a min or so, and it doesnt want to load the map, doesnt let me break blocks, and basically is like massive lag even when my ping is 0
I know but its not loading what can i do
I am looking to get all information about all item, how can i do ?
They Don't Exsist yet
Not official ones at least
yeah I am a developer my self. writing docs sucks π
search in curseforge a mod "Patch Null Ref"
Does anymore has docs for the Hytale Message API?
Like Translation, Predefined Message, Placeholder etc.
damn i need a mod to fix this?
anyone tried using kotlin yet? Do you just attach the stdlib to the file or is there some way to load it at runtime like in spigot/paper (minecraft)
is the pre-release fixing it yet or no?
i don't know
Littel info: I use the mods from curseforge
ill look through the patch notes
hi
Doesn't change anything
gl
ANY1 KNOW HOW CREATE A ENTITY WITH JAVA PLUGIN?
SAME WAY HYTALE DOES IT
HOW?
LOOK AT HOW HYTALE DOES IT
is there a specific thing that causes the issue or? if you know
Any good tutorial/aticle for getting started in mod dev for hytale (mostly understanding the hytale logic not java programming)
OKS THANK YOU
As far as I've discovered, when a player generates a chunk with the Frork fortress, this is what happens.
why? I have no idea.
Someone created plugin at curse with kotlin libraries
Search for hytale-docs pages dev, they have NPC AI section, havent read it myself, but might help, if you dont wanna look in to the game files
damn, ya i literally just found the fortress and was excited to explore it but then i realized i couldnt mine and my game broke lol
yeah just saw that, nice that modding is so popular already that stuff like that is available only a few days after release
hytale have docs? idk
Its fan made
ya i didnt see anything in the patch notes about it so im assuming its not gonna be fixed this patch, but at least that mod works :D
ooo oks
Hi I just join to my world and I have constant fog chunks arent loading and map isnt working. Anyone knows why ?
My friend can't connect to me because the game tells him "host is offline or behind a strict firewall" what should I do in this case?
check the logs of your world file
Does anymore has docs or infos for the Hytale Message API?
Like Translation, Predefined Message, Placeholder etc.
Disable your firewall while playing as the message says.
Mine did the same, changed to my 2nd network with different router.
ohh thanks for answer
I saw there were a couple of "Power/Energy/Electric" provider libs already for machine based mods.
has the community settled on a common one yet?
Or enable the Hytale default port on the firewall for more security
i know maybe its the wrong channel but i have a problem one of my friends world is kompletly white he cant do anything i hlst a dedicated server but my other friend has no problems does anyone know a fix ?
Thanks for the help, but we finally solved it with an Aternos server
Sometimes u need to hate "Failed to apply customUI HUD commands"
Hi, how may I get / set the health and stamina of the player? 
hytl (.) dev just got a huge upgrade.
You can now search all base game assets (items, blocks, entities, or all files) with recipies,, item metadata, where to find stuff and more.
Hope this help some of you.
working on a scoreboard plugin π imgur[dot]com/a/0dWfBL8
Seems working gl
Yo thats sick:)
is just full of Failed to load chunk!
tcp and udp?
I send the release V1 waiting to get approve
in the router and the firewall ?
Mine took 5 hours fyi
thanks π
Cool:) Are you good with uis? Would it easy to make ui where u can send rows of text with command? For example chat history ui which updates when meaaage is sent to chat?
The uis are super complex, i can handle the coding side but its been a pain trying to learn uis:D
hey guys, is it possible to play with my friend on the same server already?
able
Someone posted their online ui builder earlier, was looking good
yooooooo where?
Does anymore has docs for the Hytale Message API?
Like Translation, Predefined Message, Placeholder etc.
hi, where do i change a dedicated server view distance config? is it in the config.json?
I want to start making plugins. I have years of coding experience in different languages. What is the best way to start making plugins?
Im ur api let me write u
hey guys! :)
is there anyway to use html instead of .ui files?
hytale,ellie,au
Is it possible to have a complete 1:1 copy of a world folder but only with a different folder name?
If not what files should be unique?
Bro wanna do css lmao
thx!
I release 3 mods and all took 5 hours yeh
for sure
When I try to use a command as non-op I get the message that I do not have the permission. Does anybody know what I have to change? Where can I grant permissions to default user?
Hello guys, how can u detect if all enemies are dead in a specific area ?
have you actually had that work for you or are you just reposting something you saw?
@stark tulip Legend
Ok lads. @clear bobcat and @marsh quiver , @lusty niche and @warped coyote asked about an autopause for Hypixel. I think I was able to craft one involving a systemd timer, and 2 systemd services
UDP is tricky so, there is no way to "track connections" since it is not connection oriented, and some stuff like tcpdump and conntrack or /proc/net/udp are not avilable to the user. I had to fiddle around with counting UDP packets at /proc/net/nsmp and count UDP packets globally... but it worked
Tysm!
what did you have to do to get it to work cause mine is set to encrypted but i still have to re auth every time
I think I'll post that to a pastebin since it will be imense here
what event triggers when a player respawns or just joins the game? i want to clear their inventory and add items when they die or join the server.
YOu would like /chathistory who log all the message sent in the server?
hahahaa
How do I activate mods on my server? I put the ymmersive melodies mod into the server mod folder, startet the server, checked /plugins manage, but whenever I click on ymmersive melodies it just gives the error message:
"The wrong numer of required argument was specified. Expected: 1, actual: 2"
"Usage: plugin load <pluginName> [--boot]"
"Use "/plugins load --help" to learn more!"
I tried doing the plugins load thingy, but it always repeats the error message. Any idea?
I just want any ui where u can send rows of text and when i add string to list the ui updates, and it has scrollbar basicly:)
explain me more well in PM if you want I will work on it!
i'm not sure to understand
To send message with translation and color and placeholder u do like sendmessage(Message translation("path tolang file value") color(Color red) param("player", player username) looks somethibg like that:D
does anyone know how to make an optional codec ;-;
Added
Is it possible to have a complete 1:1 copy of a world folder but only with a different folder name?
If not what files should be unique?
No. Place it in the mod directory, use /plugin list and it should be in the list
Did you figure this out? Also shouldn't we be using instances for this? Where you are making an instance of the skywars-template?
Are there good args to optimize server performance?
How do I add an item into an Inventory class? I want to give players pre defined items when they join the server
Its not in the list, but it appears when I do /plugins manage
Hi :>, how may I get / set the health and stamina of the player? 
weird. Was it a jar file or a directory with stuff?
why in BreakBlock and DamageBlock events I can't get the player??? π
Has anyone else experienced the same problem ? I log into my server, and after 10 minutes the game kicks me out and I can't log back in for another 20 minutes π
does anybody know how to create a new prefab and then ship it with your plugin? So when ppl install the plugin on curseforge the prefab is added to their folder and accessible from the plugin runtime?
find the player refrence
Yeah and then?
Just a jar file that I droppped into the mods folder
I haven't fully figured it out. I found out that if I put the skywars-template world outside of the worlds folder and copy from there it works once. But then if I copy it again it doesn't. I assume because some world files need to be unique.
What do you mean by instances?
Hey guys, how to solve the Failed to connect to server thing ?? and if it somehow logged me in i only get 10min of playing before getting kicked out
pleaaaaaaassssssss Helpppppppppp
Anyone here using nitrado-plugin-webserver?
I get some weird issue for my permissions.json saveSync() funciton
why in BreakBlock and DamageBlock events I can't get the player??? π
My plugin compiles and shows up in hytale, but the registered chat command doesnt exist? It seems like the mod isnt loaded at all. Is there some console or other way to debug this problem?
[NPC|P] Reloading invalid role Pig! anyone else have this issue?
guys how do I ship a new prefab with a plugin?
Hytale has a whole "instances" feature, where you can make instances of worlds. I think this is what they will be using for minigames like skywars. Run /instances to see it. You can create a custom instance in a pack. Trying to figure out a similar thing but for a gun pvp game. But I think instances are the way to go, not worlds.
Hey if I add a mod to my server would I need to install it or is it just a plugin
How can I change the player's camera position?
Then it may have been created improperly. In my case I can just place the jar file and it works.
If you can, maybe try to add a /example command to the jar file and see if you can access it
Okay thanks did you find out how to make an instance of a template world?
alguem br
why in BreakBlock and DamageBlock events I can't get the player??? π any way how to detect when a Player clicks a block??
[NPC|P] Reloading invalid role Pig! anyone else have this issue?
Doesnt show up in /plugin list
You mean open the jar in a text editor? I use notepad++, and the file only shows me gibberish.
ALGUEM BR
AddPlayerToWorldEvent, to respawn i'm trying find too
guys has anybody made their own prefab from scratch yet?
Theres some value you can use. I think it was executeBlockDamage
@fleet kelp use IntelliJ and you can inspect Hytale java classes. it's free
No it's a jar file lol. Try to decompile it
You have the do something like archtypeChunk.getComponent(i, Player.getComponentType())
I cam do it with Intellij
Can you elaborate?
@tribal bronze what it that sorcery??? don't understand. it's my fisrt hytale mod
Also seems to fail /plugin load dev.gas:MinecartBuff
??? What do you mean??
What classe do you use for PlayerDeathEvent ? Damage.class ,KillFeedEvent.class or Damage.class ?
I've experience in minecraft modding with lots of plugins
I forgot which value it wasπ but look at the player there's some value like stats or damage or whatever
Hytale uses ECS so for Java modders it feels really weird
Anybody here using Bazel?
Thanks, and where do i have to put the lang file?
And is there a fallback like when there is only an en translation for something
Hey, it's possible to custom the original UI like Inventory ? (not create, modificate !) thanks π
Yes, but only on the client side ):
@full cradle I know ECS but hytale docs is lacking
Oh yeah absu-fuckin-lotly. I am struggling with finding how to do basic operations
go in assets.zip !
That's what I thought... so on the server, players don't have the modifications
Et non maxence ^^' les ui client sont ... dans le client haha
so this doesnt work for respawning?
@full cradle they did not write docs so AI can't steal theyr work. smart move
Yeah. Also, the devs don't really reccomend doing client side modding, so you won't have much help
Actually someone already made an MCP tool last time I checked. They just decompiled the jar filesπ
pas que !
hey guys, im trying to update my dedicated server. I used the CLI and downloaded the latest version. Then I replaced the server with the updated HytaleServer.jar and Assets.zip. I cannot connect to my server, i am gettign timed out.
[2026/01/16 23:23:08 INFO] [QUICTransport] Connection closed: QuicheQuicConnectionStats[recv=1067, sent=4926, lost=3615, retrans=4438, sentBytes=5663604, recvBytes=166942, lostBytes=4338000, streamRetransBytes=5200751, pathsCount=1]
I took the old HytaleServer.jar and Assets.zip and i was able to join it again.
It's sad that we can't modify the basic UIs...
i tried and dont worked
probably for the best. You can't really do that while keeping the game secure
Non pas que, mais toutes les "basic" comme HealthBar, le chat, l'inventaire ect, sont cotΓ© client
@tribal bronze where i get archtypeChunk???
dang
lol
if I find a solution i'll let u know
It's okay that the client logic can't be modified, but the UIs are only .ui files...
From the class of your event system
Now that you say it like this, it might come in a future updateπ
there is not such method when i capture DamageBlockEvent
I hope ! I hope... π
thanks β€οΈ
Just retry a few times. Do the encrypted setting just after logging in.
recrΓ©er ton UI par dessus alors
Some events are bugged and don't work. It happend to me with PlayerMouseButtonEvent
there is no bug, just simply checking the java definition o.O
Yep déjà tester, le soucis c'est que toute la logique de l'ui n'est plus prise en compte.. donc tu doit complètement modifier la logique coté java
does Hytale have a transfer packet like Minecraft?
PlayerMouseButtonEvent isnt bugged it only works when the client sends mousemotion packets which is only enabled in specific server camera setups. the name is misleading but it works as intended
@agile wharf i think i got it
How did you fix it?
Wait waht? So how do I capture mouse left click???
@agile wharf can u try it? RESPAWN LISTENER
public class RespawnItemSystem extends RefChangeSystem<EntityStore, DeathComponent> {
@Override
public ComponentType<EntityStore, DeathComponent> componentType() {
return DeathComponent.getComponentType();
}
@Override
public Query<EntityStore> getQuery() {
return Query.any();
}
@Override
public void onComponentAdded(Ref<EntityStore> ref, DeathComponent component, Store<EntityStore> store, com.hypixel.hytale.component.CommandBuffer<EntityStore> commandBuffer) {
}
@Override
public void onComponentSet(Ref<EntityStore> ref, DeathComponent oldComponent, DeathComponent newComponent, Store<EntityStore> store, com.hypixel.hytale.component.CommandBuffer<EntityStore> commandBuffer) {
}
@Override
public void onComponentRemoved(Ref<EntityStore> ref, DeathComponent component, Store<EntityStore> store, com.hypixel.hytale.component.CommandBuffer<EntityStore> commandBuffer) {
// Player is alive again here
Player player = store.getComponent(ref, Player.getComponentType());
if (player == null) {
return;
}
World world = player.getWorld();
if (world != null) {
// Give items or reset inventory here
}
}
}```
```java
// Register the system in the target world
world.getEntityStore().getStore().getRegistry().registerSystem(new RespawnItemSystem());```
look up color chat on curse forge hytale mods/plugins
Yeah I've done it a bunch already. Are you using pterodactyl?
you want me add color chat dependency?
I found out something very weird with the mousebutton event, apparantly it only works when the camera demo is active, I suspect it has to do with the .hasListener() check, though I dont know why it doesnt detect my eventbus listener as a listener
you can
thought i fixed it but it seems it was just a one time situation, i got some theories, most likely an issue with threading and processor resources, also recently used the last pre-release and it seems better but still not fixed when loading new chunks.
So I just decided to move on and start building things since now at least is not spamming errors like crazy unless i load new chunks.
@young tree did you ever find a way to get the auth to save on pterodactyl servers?
I could for sure for the 1.1.0
nice
will check feedback from v1.0.0 once released than added it
its probably not what you want, but you create a ServerCameraSettings and send it to the player. The camera example code uses the PlayerReadyEvent which worked for me as well however the mouse event packets only seem to be sent when the mouse cursor is actually visible, in addition the sendMouseMotion option must be enabled
basically in first person its not useful since your cursor will become unlocked if you try to set up the camera that way but the packets do send. i dont know why automod is being lame but i cant seem to paste in my code but if you want the sample ill send it to you
yo, do yall know how easy it is to update my server? do I have to like download the update on my game, then transfer all the files over again replacing the old with the new for the latest version of hytale? or is there a command i could run to update it?
Hey the inventory guides seem to refrence Inventory.addItemStack(item);. But looking at my code, it doesn't seem like this exists in the Inventory class? How do I add an item to the inventory
did you find a fix?
I have a question im running my own server ATM, and I wonder how it will work with updates and the World. Will I be forced to generate a new World all the time and just copy over the Players files can I regenerate the World and keep some chunks for example with my base in it?
with today dinos update i have to wipe the map of my server for load the new content? or just update hytale api?
No. It's fine. Good to know. But kind of a shame this is how it works
yeah really misleading, but i think the main point is for like point and click gamemodes where you want an easy way to grab the entity on screen that you are clicking on. iirc the PlayerInteractEvent is also triggered when those conditions apply. its very odd.
Help i can't log in my own server it says :
FAILED TO CONNECT TO SERVER
An unexpected error occurred
(Connection handshake was canceled due to the configured timeout of 00:00:10 seconds elapsing.)
my friend can join
You used an incorrect link
but my friend can join using the same IP no issues
il try it rn
i rented a server on nitrado
anyone know how to spawn in a prefab in a world i created through code?
Found:
World world = player.getWorld();
Store<EntityStore> store = world.getEntityStore().getStore();
Ref<EntityStore> ref = player.getReference();
EntityStatMap entityStatMap = (EntityStatMap)store.getComponent(ref, EntityStatsModule.get().getEntityStatMapComponentType());
int healthStat = DefaultEntityStatTypes.getHealth();
entityStatMap.setStatValue(healthStat, newHealth);
I am trying to figure out where to start on making the mods cause I used to make plugins for minecraft
Is there a hytale plugin that I can link discord chat to my server chat?
it's been 2 days and i couldn't solve anthing
how to make server plugins?
anyone has got the server.jar decompiled?
cause every time i try to decompile it, i face the out of memory error
Yeah EntityStatMap!!! That was it. Sorry. I forgot the name for the class
Do we know if it's possible to create keybinds yet?
ye. Use Intellij it can autometically do it
Don't worry :), found it in a plugin code source. Thanks for your help!
Yes. But I think it's client side only
i know i know but I get the out of memory error (thanks for the answer btw)
can any one give me a server ip i need to try to log in to make sure if the issue is my internet or my server
Oh. Well you can try out hytale-docs . It's basically a summary of the decompiled version
(I can't send the link for it on the server )
Literally that plus com, although supposedly its made by ai
THIS WORKS BRO
but then i cannot run the server inside intelij
Oh. Well. You can just run the server VIA the cmd and use neovim. That way you won't have much memory issues.
Still. maybe get a better PC
it's a ram issue though. But thank you dude. :)
It definitally has an AI feel and a bunch of weird misinformation. I swear some of the docs look like they were written by someone who hasn't played the game
Most examples just dont work lol
And or aren't even close
Prob why my entity death detection methods aren't working
Is there like proper programming documentation or is it just throwing crap at the wall rn?
Theres guides and stuff written by cool people
Yeah like a billion that all go over the same stuff
But the actually talented people are reading the source code and reverse engineering it like freaks
I forgot you can just read the source code
Hi,
I'm trying to get the block that is looked at by the player when I execute a command. To get the cube, I'd like to use TargetUtil, but I have to give a ComponentAccessor (which is an interface implemented by CommandBuffer) but I can't seem to get access to access to an instance of it
Should I just instantiate it?
Java scares me
I had a question about custom item creation and was wondering if anyone had an answer.
A lot of interactions in the json editor are preset and I can't find a way to edit them, is there anyway to create new ones through plugins? For example mount interactions have different controllers, but there is only two options that seem to not be possible to edit. If anyone knows anything it would help a ton.
guys i cant seem to run hytale server from the plugin template for intellij
can just turn the .jar into a zip n it works
NICEEEEEEEEEE!!! β€οΈ
how to "unregister" event?
Making the .jar is the scary part lmao
mvn package
No, I am running it on my local machine.
But it worked on my linux dedicated server too.
Ok, nvm, I think I can find a similar behavior from the /blockspawner set command!
ty bro
Alguien sabe quΓ© hacer con el error "Server requires development mode which is not supported in this build"? Me sale cuando intento entrar al servidor local
Anyone know how to make a portal/gateway teleport you to a different world (which ive made, eg: pvp arena)?
u welcome
No obfuscation here, so you can do it yourself. This is not old minecraft.
anyone got an idea on how to delete worlds from a plugin perspective? when i just delete the folder they reappear after a while
i just logged on a server and they took my ip and ddosed me .. . .
how do i find good hytale servers to play with people online
any word on when the source will be released
Thats crazy
How do I get a chest at a position? Like I know there is getBlock(), but how do I get the chest class from it?
hey I have an Entity index. How I can get the Ref ?
Why do you have the entity index?
MemberFactionComponent member = store.getComponent(ref, hyFaction.getMemberFactionComponentComponentType());
assert member != null : "MemberFactionComponent is null";
UUID factionID = member.getFactionID();
FactionRegistryResource registryResource = store.getResource(hyFaction.getFactionRegistryResourceResourceType());
Integer factionEntity = registryResource.getEntityId(factionID);
That's the entity ID not index. I'm not too sure how to get teh Entity Ref from an ID though, sorry
no don't worry that the index
Heyhey!
I've worked on a very very lightweight plugin for IntelliJ.
It's a lightweight IntelliJ IDEA plugin that adds syntax highlighting, bracket matching, and code formatting support for .ui files - making UI definition editing easier and more productive.
Feel free to share some ideas or contribute to the project itself.
I just wanted to gather some feedback here and may help some of you guys while developing.
Check it out here:
- https:(//) github(.)com/BungeeDEV/hytale-ui-plugin
- https:(//)plugins.jetbrains(.)com/plugin/29783-hytale-ui-support
Sorry for the post in this channel. It's not the appropriate channel to post this.
I just wanted to share this simple project for everone who waht to slide into .ui work and waiting for much more deatills deverloped plugins.
π, I might want to check for open ports now that you mention this.
how i can get Ref with the index
Is there somewhere I can find a dev to help me make a server?
Are you paying?
if you pay yes
possibly
Will there be an official client side mod API or native plugin API that exposes renderer hooks in order to register a post-process or upscaler pass, access motion vectors+depth, and allocate render targets? I would like to implement DLSS
no client side mod, only server side
possibly,
?? servers a thing yet? thought they where not?
wdym?
server files were released day 1 for people to host their own servers, as well as server providers already having them
Does anyone know how to get a chest at a position? Like I know there is getBlock(), but how do I get the chest class from it?
plugins applied only on server-side, things that client downloads are just custom assets (models, items etc)
There's no server browser but you can host dedicated servers and do direct connections
I didnt know
most/all interactions in Hytale happen server-side, so the code only runs on the server, with the client sending interactions and receiving the results
no
honestly I'm not sure you can even pick up someone's mic atm, since that would have to happen client-side (I assume? unless there is some system in the client already for that)
hey, where can I get access to this worldguard plugin?
Anyone know where to see all built in permissions?
Or at least what the /spawn perm is so I can give it to the adventure group?
plugins are only server-side...
all mods are server-side
there is no official way to mod the client, it's explicitly against their terms
sorry for my dumb question, this is my first time modding, does anyone know how to make the fire staff not consume fire essence? i could only find some -25 mana cost but i think that is not implemented yet
how do i teleport a player? without using /tp command
how can I properly edit the spawn prefab? I edited it, it also saved it as a new prefab under the same name but the spawn prefab is still the old one
I happen to already have the server jar open in recaf, the permission for /spawn is spawn.self
Does anyone know how to create custom instances? everytime when I try to do it I get: Cannot edit instances when using launcher assets
Managed to finish my economy plugin. Thanks to everyone who helped me π
ty ty, would be awesome if you could publish them all
Does anyone know how to fix incompatibility of 2 packs that both change the same item.
Like lets say Mod 1 changes the blacksmith anvil to have a new category.
Mod 2 does the same but for its own new category.
Now one of the 2 wont "load" because it gets overwritten. Any fix purely using JSON?
Is there any way of making mobs friendly to the player? Unsure if hytale handles that stuff nicely
Vanilla server, just update it but says assets dont exist or the manifest is fautly, old server worked fine, any idea as to why?
[2026/01/17 00:21:01 INFO] [PluginManager] Loading pending plugins from directory: mods
[2026/01/17 00:21:01 INFO] [AssetModule|P] Asset monitor enabled!
[2026/01/17 00:21:01 WARN] [AssetModule|P] Skipping pack at HytaleAssets: missing or invalid manifest.json
[2026/01/17 00:21:01 INFO] [AssetModule|P] Loading packs from directory: mods
[2026/01/17 00:21:01 INFO] [HytaleServer] Shutdown triggered!!!
[2026/01/17 00:21:01 INFO] [HytaleServer] Shutting down... 7 'Failed to load any asset packs'
yo anyone able to help out?
I have some issues with some strings in menus. Would post an image but cant here
Looks like you're offline or our services are unavailable. Click Play again to launch Hytale in offline mode. How do you solve this?
Did you pass the assets zip as argument when you typed your command?
anyone help with the OP Self on your own server please with the flying
You guys all using IntelliJ?
Do you guys know how to create another temporary world like the forgotten temple ?
Is it not worth sticking with VS Code?
... seems i messed up the path
I was missing the "" from the path string
:> java -jar HytaleServer.jar --assets Assets.zip
Currently Gradle, Guice, Lombok and Mapstruct
i created a bartershop ui but the title shows the id of the string in the lang file anyone know how to fix that?
yeah i have to put --assets "C:\path\assets.zip"
Do we have any way to get in contact with Devs regarding Mod stuff ?
is there a way to place a portal where players go through and will be refered to another server already? i know /refer exists, but i wanna implement it with going trough a portal how do i do that
whats sentry?
Since the gmae update mods just instantly crash the server? does anyone know a fix?
I figured out how to copy an existing instance, but not from a world. Let me know if you find out
anyone got an idea?
Hey guys, where do I get the macaw mods?
Hello all
anyone know where i can place an idea for a mod
is there a documentation for the Hytale api ?
So I'm trying to make ae2 for hytale, a bit implemented with the world and lore of hytale.
Using chatgpt and it seems like it does the job.
I spent the last 2 hours working on it. Still very early, but I hope on Monday to be able to test it in game since my weekend is full and don't have time.
#superexcited
anyone know?
Anywhere to get info on how to run a LAN/deticated server?
Also do you guys also get a wall of Warning ?
Yes :>.
Does anyone know what UI component is used for sliders w/ a display, e.g. like the move speed and inertia in the creative industry?
Guys I have no idea what im doing BreakBlockEvent doesnt seem to contain any information about what player broke the block so how do I find out who broke the block?
Does the dimension freeze when you enter a server, in the Forgotten Temple? This happens to all players. It worked fine on the first day, but after updating to the fix on the second day, it broke.
having this too did u find a solution
so far so good on our server with all the stuff working.
Ok new to Hytale. Played a lot of the "other game" ran many servers. Where can I get the server files?
how did u install the mods, i put jars in folder, one by one and it instant crashes it
How can I receive blockState in the blockbreak event? Thank you in advance
Is your server hosted or ran from private server?
Private
Thank you
no idea but do you happen to know how to find out what entity is breaking a block?
God, do people actually put this much faith in AI π€¦
Ref<EntityStore> ref = archetypeChunk.getReferenceTo(index);
PlayerRef playerRef = store.getComponent(ref, PlayerRef.getComponentType());
Player player = store.getComponent(ref, Player.getComponentType());
yes (we're doomed)
anyone wanna help me out or tell if im doing smth wrong? My issue is hard to describe hmu in DMs if you wanna see
Would send a screenshot of it
Thank you for this but I barely know what im looking at. Ill surely figure it out eventually.
The amount of people who have stated they use Ai in this chat has been more than 0 and it's concerning
anyone know how to add other plugins as optional dependencies?
how to make block switch via hammer ?
basically all the community docs are AI - and it's anywhere from subtly wrong to completely 100% wrong
Im still working on how to find mods
Hey guys, I spun up a dedicated server and fowarded my router's port, but for some reason, I can't use my external IP to connect... Altough RadminVPN ip works, i just have no idea what could be the problem. Used to do this kinda of thing pretty easily on mine
@errant basin If it's not a secret, what are you doing? I'm just trying to make something like CoreProtect, and I've already made the foundation, but I can't save the full state of the blocks
hahaha, yeah... the outcome of them is very mixed
one thing that it's pretty good at is being a rubber duck that can also give back bad ideas so you can drop those and end up with a decent direction, but only if you actually use it that way and not just asking it to solve all your problems π
I made a tunnel through frp
I hope the moderation team quickly gets rid of the AI bros because this can't continue
have you tried the manifest.json's OptionaDependencies?
has anyone figured out where i can change the spawn prefab in the default world?
Hm, I will have to look into it. but any reason why just simply using the IP woudn't work?
Still, guys, does anyone know how to get the full state of a broken block?
you need to use / report
they wont see it otherwise, stuff moves too fast
was trying to post my code and ask if im doing smth wrong but my message is too long then... Anyone wanna hmu in dms?
what's the format for that?
ok so. I realise I have no idea what im looking at in the slightest. I barely know how to use java so this is way beyond me. is there a simple way of doing it that my smooth brain can understand?
I'm trying to compile a wiki of actual information without AI but it's hard to convince people it's a worthwhile effort when the AI docs look a lot more complete (despite being complete nonsense)
isnt manifest only used for information? don't think it compiles from there
with this .bat file
@echo off
cd /d "[PATH TO SERVER.jar]"
java -Xms4G -Xmx6G -jar HytaleServer.jar --assets "[PATH TO Assets.zip]"
pause
tbf I'm not using this chat often, I only come in here to ask one question or two on occasion
where do you put that, im on a hosting website. which file
To be honest, I don't know. I just have a powerful computer and a public IP address. I use a reverse SSH tunnel for my Minecraft server, but it doesn't work with UDP, so I used FRP
Please let me know when you've got a good amount of info in it
How can I code a timer that triggers a command like every 60 secounds? would this be an event or a task?
... I am hosting on my computer, i have no idea how a website works?
I see. I'm reading frp github page but it seems a bit complicated
use mine
correct, you still need to add your optionals into gradle, and the format is the same as the dependency, which is a "Group:Plugin": "^x.y.z"
Task
bruv im trying to get help but server keeps blocking me posting code....
spanish
What are you interested in seeing? Happy to prioritize stuff that's useful - currently pulled out a bunch of info about the protocol and the event system
In that case, developing something for hytale where most of the documentation is written about deprecated methods is not a good idea. I've been writing plugins for Minecraft for several years, and even for me, plugins for Hytale are something else.
Doesn't BreakBlockEvent return a player if a player broke a block? π
where is it?
github.com/system32developer/Hytale-templates/
how do you spawn mobs?
actually, it's not that difficult, I installed the tool on the server, changed the port in the config. I did the same on my computer, and that's it. Ask gemini, she can help you.
hahaha, needs new screenshots
PlayerRef playerRef = store.getComponent(ref, PlayerRef.getComponentType());
Player player = store.getComponent(ref, Player.getComponentType());
I'm mostly interested in adding content like blocks and items to the game so basic examples of those would be great. Maybe even a getting started and recommended way to test your mods cause I have no idea how to even start. Like I don't have a template or anything
Will add getting started ASAP - and yeah enumerating all the blocks and items is probably a useful reference
Player player = (Player)store.getComponent(ref, Player.getComponentType());
PlayerRef playerRef = store.getComponent(ref, PlayerRef.getComponentType());
no...
figured out item passing between blocks with server plugins!
Is there any way of setting a hover event for the chat interface? So it shows a tooltip when the cursor is over a section of text?
wrong message
Oh sweet! Thanks @deep galleon @fading lance !
seems cool, do you update it when the game updates?
no it doesnt
it autoupdates itself
okk thanks!
I mean im getting the hang of the basics. I know how to check for the thing happening and then do a thing when it happens. I was just hoping there was some kind of class thing that provides information about the player when they do things like breaking blocks
does anyone know how to get the full state of a broken block? HUH please
Ideally, this should be the case) But alas, we have what we have
for now. hopefully
when you say state are you referring to a specific class or object? what data do you need
@halcyon rapidsbtw i have fixed those issues from the template on the morning
for a game advertised to be THE game for modding easily id expect these kinds of things to exist eventually
ive been using it.
ight
I want to write the entire object to the database. For example, to save rotation, etc.
you stole my name frfr
https://cdn.hytale.com/HytaleServer.jar why this does not work?
does anyone know how to modify a npcs parameters via an action/interaction?
not authenticated?
21+ anyone down to start a world!!! Hmu!!! Im down!!!
no just getting 26kB file, and I get on ubuntu server that file is corrupt
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 27150 0 27150 0 0 339k 0 --:--:-- --:--:-- --:--:-- 344k```
just change the toml bindPort and done?
Pretty sure that's just an HTML file... try lessing the file
yeah that what happens, when I try visit that link it says the file does not exist
from where I download server file?
from the game
pretty sure that's not how you can get the server JAR
its on your machine already
Ahhh thank you
literally you can grab it from the game
you can also world.execute but probably too late
well yeah exactly lol - I wasn't sure if that was a valid URL but it's almost certainly not lol
great going to try it now
thank you all for very fast help guys
how can you get the item stack that was used to cause damage?
public void handle(int index, ArchetypeChunk<EntityStore> chunk, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer, Damage damage) {}
^ should be pinned, the server link
Is there a "vanilla" way to protect regions or chunks? Probably with Assets or something like that
my friend cant join me beacouse firewall is somone know how can i fix that
Anyone knows how to capture the player's interactions with entities in the world?
I've already captured UseBlock and DamageBlock, but I haven't found anything similar with entities like animals yet.
Is it possible to not have a public ip? I know you can have an IP that changes and is not fixed
but to not have one at all i didnt know
Is there a way to se what block a player right clicked on with mouse, or is looking at atm. Ive tried few eventss but can't get it to work, anyone know what event I can use for that?
Get the item in the hand of the damager
not if you're on the internet...
CoreProtect v1.3 is now available, with chest transaction logging and rollback support π
it might not be your router's public IP but you'll still have a public IP
anyone help with item loss config?
how do you get the damager tho
it's your IP as opposed to any other IP - this is kind of just semantics though - the real question is whether you can port forward through that NAT - almost every residential IPv4 is behind NAT anyway
@Override
public void handle(int i, @NotNull ArchetypeChunk<EntityStore> archetypeChunk, @NotNull Store<EntityStore> store, @NotNull CommandBuffer<EntityStore> commandBuffer, @NotNull Damage damage) {
if(damage.getSource() instanceof Damage.EntitySource entitySource) {
final Ref<EntityStore> damager = entitySource.getRef();
ty
Anyone know how to send players to a different world? I have the default world and a secondary one called foo. when I call foo.addPlayer i get an exception saying player is already in a world.
If I remove the player from their world they get disconnected and I can't add them back.
How do you teleport players to a different world?
Any place to post a help link for being rate limited on an Error: 1015?
Ah, yes, but I have been able to do that in minecraft... so
Set up a server that is dedicated, when I try to login to my launcher via a browser I got banned from the game, haven't even played it yet :/
Anyone found a way to start the server with a voidgenerated world? i'm talking from startup (no additional commands)
Er, maybe not a hard ban but at least a prevention of extensions. I tried turning off all my extensions and it works now, very strange. Is Hytale (website) not allowing for us to use things like browser extensions (Ublock origin)?
I'm not sure if this will work for you but it might
public static void teleport(Ref<EntityStore> playerRef, World world, Vector3d location, Vector3f rotation) {
final Teleport teleport = new Teleport(world, location, rotation);
playerRef.getStore().putComponent(playerRef, Teleport.getComponentType(), teleport);
}
Anyone here got some knowledge about the apis?
There's a mod on CurseForge called "EmptyWorldGenerator". I haven't tried it but it sounds like what you want
Anyone know how to properly make config file?
just create flat and select void in menu
it will create a void world with some numbers
i made my own system to use yaml
I recommend Jackson
Ok so there's no way to run it from a default jar. ok guess i'll drag and drop
instead of turning all of them off, turn them off one by one to figure out which one causes the issue
In some docs online i found things with codec and stuff, is that also good?
Looking into storing data as a custom component. There's no Codecs for collections that we can use yea? Most I'm seeing is primitives and a few unusable maps - best option appears to be a string array or honestly jsut parsing the data as a JsonObject to String. Any takes?
I also tried to generate void world immediately, but to no avail
Hello! Does anybody knows if it's possible to get a Player or PlayerRef from their UUID?
configurate is a powerful config system
It seems similar - I think Hytale uses that internally
codecs woudl be the preferred way π but you can use external systems too if you need to.
You talking custom component for item stacks or something else?
Does anyone know all item ids?
Like, I wanna store a Set<MyObject> on a player.
Yo, Anyone wanna join a upcoming Modding server? Friend me
go to hytaleworld[dot]com
right so i wanted to get a player now, so i can get the item they are holding
store.getComponent(entitySource, Player.getComponentType())
}```
Inferred type 'T' for type parameter 'T' is not within its bound; should implement 'com.hypixel.hytale.component.Component<com.hypixel.hytale.server.core.universe.world.storage.EntityStore>'
Thank you!
They planning on adding offlineplayer caches to the server or do we need to make our own inside a mod?
did anyone made clear world without blocks if so how?
Yeah sure
@Override
public void handle(int i, @NotNull ArchetypeChunk<EntityStore> archetypeChunk, @NotNull Store<EntityStore> store, @NotNull CommandBuffer<EntityStore> commandBuffer, @NotNull Damage damage) {
if(damage.getSource() instanceof Damage.EntitySource entitySource) {
final Ref<EntityStore> damager = entitySource.getRef();
final Ref<EntityStore> damaged = archetypeChunk.getReferenceTo(i);
final Player player = commandBuffer.getComponent(damager, Player.getComponentType());
Does anyone have different documents they could share with me?
What are you looking for?
You'll have an API to obtain UUID<->Player conversion on which you can add your cache on top. If you need other data, maybe there are / will be other APIs for them that you can also cache. I suggested either Caffeine or maps depending on use case
Is there a known way to get the ip the player used to join the server?
hytale-docs(.)pages(.)dev
is there still no api docs <-<?
i have a question, are these "server plugins" the same as MC server plugins ? as in if installed to the server players dont need to download anything
yes
Yes.
Do you now what the value for superflat is? I am in the config inside of worlds/default but I don't know what value I am supposed to change 'WorldGen' to?
"WorldGen": { "Type": "Hytale", "Name": "Default" },
Would i change type to 'superflat' instead of 'Hytale'
thank you. i program my self and was curious if it was the same
This is the one I have, but I'm looking for other api doc
where do you find the world generation files, im trying to add ore and was told to come here
oh right i missed the .getRef()
can you explain why you are using the commandBuffer as opposed to store?
With the pre-release patching ability spam (scrolling and pressing Q at the same time to use ability) does anybody know if the patch was done in one of the built-in mods or engine/client?
we're making wiki[dot]hytaleservers[dot]host - we're starting at more technical stuff but I'm going to add beginner's guides and a quick reference for stuff like blocks and whatnot
Mabe PlayerInteractEvent
is there a spigot release for Hytale yet?
I can check for you on my server diff
is this the right format for deps? java "OptionalDependencies": { "Ryukazan:Economy": "*" },
also will it lead to problems if I do this and the entity isnt a player?
store.getComponent(entitySource.getRef(), Player.getComponentType());
I tried too, don`t work I think
Is it possible to read the stamina value of a given player?
Hello everybody. There are any ways to learn Hytale Mod Coding? a docs or a βmanualβ to create uis and Plugin/Mod structures?
PlayerMouseButtonEvent?
Universe.get().getPlayer()
You can go through the Universe to find the player
pretty sure you would just get null?
I'm not entirely sure if this is correct, but I believe the commandBuffer is used within events with changing data so it isn't stale data
You can check if the player object is null and return if it is
Initial vibe is entirely client sided
why i no can see chanel of voiceΒΏ
Is there a way to copy a world? In code or a way to paste prefab
I cant link youtube videos, but there are a few. Look for "TroubleDEV - Hytale Dev Tutorials" and "CODECs & Custom Config Files | Hytale Plugin Tutorial"
Ohh okay. Thanks. Also you are doing diff on decompiled server jar?
whenever i use mods or try to switch modes it says i don't have permission and i'm try to use jet mod it's sorta like jei in minecraft
yea
Any Hyxin pro here? I cant get the manifest.json to recognize/establish an entrypoint into the main class
that won't be 100% accurate
I'm a dev at Hytown and we have a full infrastructure to patch the server
So that we can iron out bugs
This event is a trick, don`t work as we expected, you need to replace player camera, and in the final will just work you have a Camera Custom AND with showcursos true, it is terrible.
Yeah you use the EntityStatMap component to get the entity data
public static float getStamina(Ref<EntityStore> entityReference) {
EntityStatMap entityStatMap = entityReference.getStore().getComponent(entityReference, EntityStatMap.getComponentType());
if(entityStatMap == null) return 0;
final int staminaRef = DefaultEntityStatTypes.getStamina();
final EntityStatValue statValue = entityStatMap.get(staminaRef);
return statValue != null ? statValue.get() : 0;
}
I know, but still asking if that's the thing he's doing
What approach are you using to patch it?
Is there a way to copy a world? In code or a way to paste prefab
is there a proper decompiled version of the jar somewhere? Everything looks so messy inside intellij
Thanks! β€οΈ
How can I use ipv6 ?
@pastel wolf Do you know how capture player interecation in general?
It would be against ToS/EULA to share that, but we have steps for decompiling at wiki[dot]hytaleservers[dot]host/Decompiling_the_JAR
I haven't checked on interactions, is there a PlayerInteractEvent?
install the vineflower plugin in IntelliJ
I'm just crying a bit as the fact that I see hardcoded values and stuff and no proper classes with enums to for example discribe worldgenerator types and stuff.... I'm going crazy
Iβm looking for a SkyWars or BedWars plugin. Does anyone have an existing one they can share?
Being able to tweak the fernflower args is pretty helpful - there's a bunch of heuristics turned off by default that it can be useful to enable
What? dont you have there targetEntity?
intellij can decompile by itself
fernflower (builtin) isn't very good
vineflower is much nicer
I'm looking for a server to develop for, any recommendations?
Just checked, i'm behind nat unfornutely ( altough i wasn't in the past) So i kinda need to
anyone here working on Linux with Neovim and can spare some time to have a little chat about getting it to a workable state ?
GPT said if i have 9/10 or 10/10 on this website it should be possible:
test-ipv6[dot]com/
i do have 10/10
I don't know jack about making a big project in a group of people like this. Yet looking at the decompiled jar inside intellij (could just be like this) looks like a warground which needs to be refactored / packaged differently
What is better, the doomed outlander set or a cobalt set in weapons?
wym wtf
oh you mean the server itself
Yes. I'm overwhelmed on the amount of places I need to look to find something
yeah is a bit, meh...
I can use my external ipv6 (got it on a website) to connect to my server, does this mean its working? (friend isn't on to test)
i'm trying to stop the join/leave messages, I was successful with the join but cant figure out leave...
does anyone have any idea how to do that?
Better than nothing honestly, all of this is because of the "firewall" error on native client online play --'
check my next mod WILL BLOW YOUR MIND: i (.) imgur (.) com/HDmG8wV (.) jpeg
can you set display name and lore for items? havent seen a way to do it
Yo, Anyone wanna join a upcoming Modding server? Friend me
It's strange tho, most of my friends can connect, just 1 specifically can't
Hi! Is it possible to add custom mobs with a custom behaviour? Like a "boss" with unique attacks and interceptions with the quest system in server?
where can i find the codes
No sorry, i'm talking about the native one on the client
hey guys, is the Device Code Flow really the only way to auth servers? :/ programatically
it seems like a lot of overhead
I'm saying using the client feature, most of my friends can connect except 1. that's why i'm trying to setup a dedicated one. I mean, I got it already using Radmin, but i wanted to be able to use my ip
Alguien que hable espaΓ±ol?
atm it seems so yeah
but it should be one-time if you select the encrypted credentials storage, since it stores the refresh token, so as long as you don't keep it offline for too long, it should be fine
how to make a task repeteable each X seconds, anything native (not java standard)?
oui
Quiero hacer un servidor Modo PVP y varias modalidades, alguien tiene un poquito de idea como podria ser la mejor manera? Habria que hacer plugins de 0 para el tema de que apareacas con X items en el inventarios?
you can encrypt your credentials afterwards and you'll never have to do it again. Rtfm
Can someone help me with changing the trades of a merchant!
I want to create a PvP server with various game modes. Does anyone have any ideas on the best way to do this? Would I need to create plugins from scratch to allow spawns with specific items in your inventory?
just not true, read it yourself π
Refresh before expiry - Game sessions expire in 1 hour. Refresh tokens (30-day TTL) via /oauth2/token with grant_type=refresh_token, then create new game sessions as needed.
Your provisioning system handles token management centrallyβcustomers never see an auth prompt.
either they don't have ipv6 or it didnt work, just tested it :p
why do you even need decompile them, we literally have HytaleServer-src.zip ..
where is this from?
Server Provider Authentication Guide
it's not on the support page nor in the server quickstart file
ah
where?
If you want I can try to connect
in your hytale folder in appdata
look for install and then just go release/package/game/latest and there you are
failed π
I'll look in a sec.. if they've added that it's new
that's from a release for sure
does it have comments and stuff?
Hii, anyone knows if the hytale server is available on maven central?
didn't check, but for what i saw there's no decompiler stuff
How to make a repetitive task?
Yo, Anyone wanna join a upcoming Modding server? Friend me
Busco hispanohablante que sepa programar o sepa desarrollar plugins con el fin de vender servicios de desarrollo por $$
do you need to use the asset editro to make entities? or ig, can ou do it soley via that or do you need stuff in the java side>
π€
um br perdido aqui?
you need to make an asset structure yourself in a plugin resources
you're right on this one, also did not find it there, my bad & i am sorry.
Nonetheless if you authenticate and read the cli output, you can see that you can save the auth encrypted (for this instance).
alguien quiere construir en creativo en un servidor?
protected void executeSync(@Nonnull CommandContext ctx) {
if (!(ctx.sender() instanceof Player player)) {
ctx.sendMessage(Message.raw("Apenas jogadores podem usar este comando."));
return;
}
World world = player.getWorld();
world.execute(() -> {
Ref ref = player.getReference();
ComponentAccessor<EntityStore> store = ref.getStore();
player.setGameMode(ref, GameMode.Creative, store);
ctx.sendMessage(Message.raw("VocΓͺ alterou seu modo de jogo para CRIATIVO."));
});
}
gamemode adventure > creative code
big if true
anybody knows the way to detect what entity is the player aiming to?
sempnehpai
well I doubt they expect ppl would be capable of making that themselves, is there no way I can find like, make an asset pack via in game and just merge it into my current resources? wus the syntax
no, maybe one day someone will make a builder for all of this, but not now
check mod code EyeSpy
dang they striaght up expected ppl to be able to do that? I would say I should have more confidence in ppl in general but ig it makes it easy enough>
hola bro en mi perfil andamos unos cuantos latinos y espaΓ±oles
check on some hytale unnoficial plugin docs. just type it in google and see first website
wait theres no in game reference?
or look the code of another mods on curseforge
why does the portal not show up on my compass
how to usage color in hytale chat?
Hello, does anyone know how to auto focus a TextField?
just checked, it has some spacing that decompiler wouldn't do, but i didn't saw a single comment (checked like 10 files)
seems weird they'd ship the source but no javadoc
like if anything I'd expect the opposite
Is there a way to overwrite client assets with server assets ?
yea, and no official documention, but they mentioned that it will be since release
oh sure, that's a given
Anyone?
no
No you don't know or no you can't
you know how to add Message?
If you mean can you change the assets in the client, currently it's a no, I believe
Bro MD
Ok ty
π
do u use the hytaleserver manually or with maven central?
Check this out: #1461896260943482891 message
There is no maven central ATM, no?
i asking cause i want it
there isnt, I would suggest installing it to maven local(its more "portable" to assume maven local than a hard coded file in your home directory)
dont want to dl the lib manually
but they gonna do it soon i guess, they said that on the hytale server manual
so don't build the mod then because their is no api, you can't published the game soruce code in maven central without their permission
They have to do a lot of stuff
For downloading the games files you are required to be authenticated, so will not happen, sorry
Like why tf there are like 10 events or the server can't overwrite vanilla client assets?!?!
how do speedrunners get it at the spawn
early access
You can alwyas use a gradle plugin that does the magic of downloading and ask you to autenticate to automaticly do this for you
ah yeah dont worry, i have the launcher i paid the early access its not the problem rn, its just weird to dev without maven central for me
whats the event called for an entity hitting another entity?
Yes but early access 10 events ? There is a close window event but not open ?!
maven local my beloved
diafiaifbnafna noooo
Like for real, we need true nodding not plugins
so smooth for export but.. not a real advantage
Or a wrapper like bukkit but for hytale
use HytaleGradlePlugin
is early access, their is no public api, all apis works but because is in literally EARLY ACCESS is suppose to be unstable to they be able to freely work on API changes, so no versioning, no mavencentral, nao public api, sorry
they've stated modding is nowhere near where they want it to be yet, just give it time.
but also its nice for contributors
because they dont have to change the path
github(.)com/MrMineO5/HytaleGradlePlugin
I hope so
Does anyone know of a video that fully explains Creative Mode?
Actually it's so limited
LOVE U
Sadly they said there wont be any client modding tho, so that limits alot
ur the best
Sad af
it's integrated on my template so you can use it too github.com/system32developer/Hytale-templates/
"and the universe said I love you, and the universe said you are love"
i mean we can already add blocks and items via server side modding, something that never could really be done in minecraft
I wanted to make a mod where we can see nametags through the walls like minecraft but dont think its possible without client
I don't have this
this development part of this discord kinda sucks
Yeah they added way more features but could add some more things
1 channel
tyyy brother !
Does anyone know of a video that fully explains Creative Mode?
Like server assets overwrite client assets to edit UIs Is the basic
yeah the slowmode, chat filter, no images is a pain
I made a hub like discord for all hytale development things, im not sure if i can post a link here but yea
Look at this, so pretty, I love this gameeee #1461896260943482891 message
its in my desc π€·ββοΈ
it will happen eventually
i was having it like yesterday at release, but it disapeared. But i founded it in "build-2" folder inside parent folder of release folder
i have it rn at AppData\Roaming\Hytale\install\release\package\game\build-2\Server
Does someone know if making a Spigot/Bukkit/Forge for hytale would be possible?
we have one for the wiki weβre working on: Invite code: 2wrbpeEPNh (you can share invite codes)
-why not
Does anyone know how to set a player's gamemode?
thatβs the older build it may have been an accident
Yeah why not, let's do this
my asset editor keeps crashing when i try to add a behavior to a custom block.
you wanna open a plugin sharing website?
Get the Player component and you can
it's possible
Ooooo!!! Ill be joining up for sure, heres the one im working on feel free to check it out: 2AX3Vgkr
I wanna make a wrapper and make our community api
I'm not too sure what to set the third parameter to though. It expects a parameter of type ComponentAccessor<EntityStore>
how can i use the commad hytale-downloader -patchline pre-release in the hytale downloader?
oh
Like spigot or bukkit
strange then, maybe they're cooking something and will release it with full javadoc
I feel like it's just don't have javadocs everywhere, so with technical documentation release they will also release sources
Thats a lot of work
Idk itβs just an idea I am not on my PC to check
We are 300 here waiting to do our stuff
Steps to generate a void world when server initially boots (console commands):
1 | /world settings worldgentype set Void --world=Default
2| /worldgen reload --clear --world=Default (THIS DELETES EXISTING CHUNKS)
3| /block set 0 0 0 Barrier --world=Default
You will have spawnpoint set at 0 0 0 (/spawn set)
The fog can be resolved by doing /weather set Zone1_Sunny --world=Default
You can also choose to build up, but that weather type doesn't have fog on low y
SEARCH TAGS: empty world generation
EXTRAS: For additional Void worlds please look at /instances and/or /world
Is it possible to write plugins in Kotlin?
i think thats a good idea becausewhat are the chances of Hytale updating theri APIS and hst
I suppose yes
Itβs bytecode so yes.
well nothing's stopping you
I mean... you could always post plugins on our wiki for now - anyone can edit it π
man shhut up
no.
anything to advertise
Yo, Anyone wanna join a upcoming Modding server? Friend me
well it's hard to gather a community when this is the extent of the official discord for it
you won't have anything that helps to write plugins in kotlin, but yes
High chances but not in weeks
no i am thinking of backwards compatibility and sht. Wrapper would make it better if they keep changing method names and sht
literally the first thing i thought of this single channel is stupid
I actually wrote a site for sharing plugins that I could repurpose for this - it had some cool stuff like optionally being able to inject an autoupdater or DRM into the JAR for paid plugins
I don't know how does it work but could we fork hytaleserver ?
oh you can just use /weather set Zone1_Sunny
btw you can also can /block set 0 0 0 Rock_Bedrock for complete setup
I guesss we can have our own API that is more abstract and more functional than the hytale one
yes, you can use my templates if you want
Iβve make a plugin for IntelliJ idea that helps you create your first mod with a template that includes commands exemple , events , and custom ui ! It also include a server manager with auth management console , acces to docs direct in your ide and mc server to the docs , he is not on the market yet but you can fin the zip at github dot com/timiliris/hytaledDocs-intelliJ-plugin
itβs a v0.1 feel free to report any bugs π
Yeah
Just add more Events for now and idk
Can you share the link?
nice
Yeah and the fog is because I was at y0 lol
github.com/system32developer/Hytale-templates/
Let's try to check if we could add client modifications
I'd be down to help write a wrapper API - we've been looking into how the framework works to inject more events server-side
post on my wiki doe
π
Anyone knows how to use the "pickup item" event?
changing weather is still works, and i feel like it's more comfortable to start at 0 0 0, even hytale has feature that you can able to place a block at 0 0 0 while midair
thx
I dont think you can modify the clients lol
Br Hu3, como desabilita as mensagens de leave?
How to disable leave default message?
who fixed "black grass" when you placing it in void world?
Could try decompiling the client with dotPeek
100%. But you can spawn set anyhow
Well if there is some assets sharing from server to client, there is for sure a way to overwrite clients assets from server
I hope so
From what I can tell there was maybe an earlier Java client that had shared assets and code but it's no longer the case
Yo, Anyone wanna join a upcoming Modding server? Friend me
oh you found correct way to gen void world?
Not really officially. But with a small script you can achieve this on boot yes (you can also manually put it in the server console whatever. (still an early access, so who knows)
Well then we gotta mod hytale Forgetale coming
It is against TOS. Hytale are against ANY client modificatons, in any form
@kind palmI forgot to ask, do you have a link to this wiki you're making so I can look at it from time to time for updates?
Yeah. Then let's make a wrapper for the server
I do - its wiki[dot]hytaleservers[dot]host - the protocol stuff is what I've been focusing on for now - to make something like wiki,vg
And leave clients modifications
for what? didn't keep track of a discussion
I don't see that in the EULA: "Modding Philosophy. We support community creativity. You may create, use, and distribute modifications, plugins, scripts, maps, skins, models, and similar content for the Game (collectively, "Mods")."
Seems pretty empty. Didn't check everything but just talk about Events
They only rules for mods seems to be - don't share the actual game code
...which seems fair (otherwise people could get out of buying it)
i think they're changed eula
It's dated Jan 13
i readed it last time a month ago
ah.. then they did lol
So. Let's think about it.
Is there a way to access the internal code of the API?
I can't run dotPeek as I'm on mac (my PC motherboard died) - if anyone has JetBrains Ultimate could they try running dotPeek on the client?
[2026/01/17 02:15:49 SEVERE] [Universe|P] Player 'xxxxxx' (uuid) could not join - no default world configured
any idea why this happens?, i cant find any answers here
you can access any internal server code
Server JAR, yes - client, maybe - their remote API for sessions and stuff, no
decompile jar
Ok, so we can inject from main() to everything else ?
There's already a cr4ck3d version of the game, you wont ever stop stuff like this in the wild internet π
Then we would need only a mod that acts like a bridge
for injections you can use some hytale mixin projects
ill attach my debugger to your process and penetration test it for attack vectors
Does anything exist for Hytales plugin API documentation with everything?
Is there a way to have items spawn on the floor on a timer ?
I mean that's not my problem - and they can at least not encourage it. If they allow it in their EULA they can't do anything about it, if they forbid it, they can at least sue or get it shut down if it becomes too big
Please elaborate ahah
i'm trying to make a Hytale mod, but my items doesn't show up my model neither name, just a placehold i put, could someone help me? I can send the project in DM (zipped)
Well yeah, thats how it works nowdays
like, you are explaining problem y, not problem x - for what you need it
Does anything exist for a Hytales plugin API documentation website?
No yet
Not really, there's a bunch of (mostly incorrect) AI stuff but nothing solid yet
Ah ok thanks!
To enlarge the community modding possibilities
what could possibly made more?
More Events, for example
well the event system is a bit half baked
I didn't check but is there a scheduler ?
they're not focusing on event, rather on ECS system, and it's more flexible
disconnect messages are currently hardcoded as enabled
Priorities for events ?
ECS can't do all kinds of events - you have to use the eventbus for some of it
that exists
Ok sorry π
just use coruetines or completablefuture (java)
or Java's built-in Runnable stuff
Yeah but why not make some good API for it
there is also a tickable event system you can hook into if you need to synchronize to the tick
Actually, adding more Events seems the only use case that makes sense
anyonee have a good idea of thee min specs, specifically ram and cpu, for a 10-player server with everyonee goingg in their own direectiton
sorry i got chinesium doubletapping switches
you can make an abstraction layer over the hytale API - so if they change everything in an update people's plugins don't break (or, at least, you can port just the layer and not all the individual plugins)
Changing the BlockTicking to false isnβt working/ doesnt do anything atm right?
Yeah also
i hope someone will make technical changelog, like neoforge doing
neoforge techincal changelog is so helpful on porting
do plugins go in the mods folder or do I make a plugins folder?
mods folder
I might put something like that together - but so far nothing's really changed
Formatted it a little better now. Just incase someone needs it I hope they find it with the search inside this chat
then we get plugin loader hell again in hytale though. fractured development
Well it's 3:30 am here, gotta go to sleep. Reach out to me if youall wanna make something :))
isnt hytale essentially the plugin loader?
should ideally be, yes.
also put void empty world for searching indexing
oh finally got gui working, fkin css selectors lmfao
vem pv
You mind if I chuck this on my wiki? (My main point for making it was to keep useful stuff like this)
Yo, Anyone wanna join a upcoming Modding server? Friend me
this is for sure a thing that is possible
There could be another way for all I know. I just forced this into existence. Go for it dou
Is it possible to actually use a default warp to connect to a different world? Or is a simple chat command superior to tp a user to a diff world
Iβve make a plugin for IntelliJ idea that helps you create your first mod with a template that includes commands exemple , events , and custom ui ! It also include a server manager with auth management console , acces to docs direct in your ide and mc server to the docs , he is not on the market yet but you can fin the zip at github dot com/timiliris/hytaledDocs-intelliJ-plugin
itβs a v0.1 feel free to report any bugs π
nice!
Hello, quick question, is their any documentation of Java com.hypixel.hytale.server lib ? (Like methods, etc ...)
I've built my own gradle plugin, maybe once I have something more substatial then I'll upload it π
hi!! how do you disable item drop on death on a server?
Check out my profile but itβs unofficial and Iβm testing it takes time
Not ultra concrete but extracting it all will let you roughly read through it and its pretty decently named
this may help with that: wiki[dot]hytaleservers[dot]host/Decompiling_the_JAR (I find it's pretty helpful to have a directory with all the files in to search them)
Yo, Anyone wanna join a upcoming Modding server? Friend me
Yeah, saw, i was on it, but i need to know how you get a name of a player, and i don't find any way (and my IntelliJ can't show me the intellisense etc ...)
oh, the cdn with the jar is funny π
Can i disable the drop item in a BreakBlockEvent?
Is there a CDN with the jar available?
setting up optional deps is such a pain π π
https(:)//youtu(.)be/_y01XY8XPJI
I Figured out basic Automation
how can i change the items dropped in BlockBreakEvent?
set the drop list,make a custom one
but how to set the drop list?
copy a drop list from vanilla then modify
yeah but what is the call for setting to the new lsit
How do I change the login text when someone logs in?
I want to change this.
user has joined default
under gathering
the event dont have nothing like setDrops
nope, droplists :/
But :S from the event
you could probably dynamically set drop lists with a plugin
DropList is a component?
public static void onAddPlayerToWorld(AddPlayerToWorldEvent event) {
event.setBroadcastJoinMessage(false);
}```
that is what i am trying to program T_T
what file?
Hytale:Hytale ItemDropList
No. You have to download server yourself (it's behind auth). Also if you want to look at older versions, it's not possible unless you've downloaded them when they were the newest option.
is there a way to grab the player's InteractionSyncData? Specifically I want to skip the first hit of a weapon combo when the player is sprinting. I'm very new to hytale-styled modding (though I have modded minecraft before) and kind of don't know where to look in the source/json files, should this be a modification of interactions or should I directly find the chain in InteractionManager?
Oh interesting, but Idk how to use that in the event as it doesnt look like a component
is it required that I run the decompileServer task? I keep running out of memory lmao
no
I'm having trouble joining a game with a friend. Does anyone know of a solution? I'm using Hamachi, but it's not working.
the server jar itself doesn't have any client-specific information though, right? that is- sharing a jar isn't a security issue
Correct - though sharing the game code is against the EULA so don't host the JAR on the internet or something
Thanks!!
How are people able to understand the api soley by decompiling the jar file... very impressive
It's not obfuscated so it's actually pretty readable - and Java decompilers do a pretty good job of cleaning things up
very verbose jar
Are anyone found easy way to login via 2 players on one PC for plugin tests?
I assume people will have tried this - but have you tried offline mode?
Developing some powershell script trying to automate some stuff for my private dedicated server.
One thing I noticed is that every time an update is pushed Iβll have to download the new version and restart the server.
Is there anyway to make it where you donβt have to complete the /auth login device on every restart? This prevents me from being able to fully automate my powershell script to auto check for updates and restart the server.
I bought 2 accounts π₯
I use DevContainers amd64 that launch with hytale insecure mode
anyone know how to update my dedicated server?
set the persistance to encrypted