#server-plugins-read-only
1 messages · Page 84 of 1
In my ticking system i get logs tho
Of EnergyContainer?
yes
So can't you just get the component back from the archetype?
This is in the ticking system
@Override
public void tick(float dt,
int index,
@Nonnull ArchetypeChunk<ChunkStore> archetypeChunk,
@Nonnull Store<ChunkStore> store,
@Nonnull CommandBuffer<ChunkStore> commandBuffer) {
var ref = archetypeChunk.getReferenceTo(index);
var energyContainer = archetypeChunk.getComponent(index, this.energyContainerType);
assert energyContainer != null;
LOGGER.atInfo().log(energyContainer.toString());
}
Im confused, wheres the other bit of code?
Sorry forgot to mention, the first block of code is in a custom block interaction
Hi, I was wondering what class player input is handled in. Does anyone know? I'm trying to make a native steam deck / controller mod.
would anybody be interested in an OG HCF? no pp items? just raw ass hcf like the old days
HCF?
yes
Hello, is there a way to get the player IP address ? (Server side)
whats the acronym for
Oh I see, well the ref you're getting is the main one of the chunk but theres definitely a different ref per block that you have to get a different way
yes i think that aswell
Let me see if I can find the proper way to get that back
I am always challenging you i am sorry haha
All this Bangladesh spam isnt making me think you're the best country like you think it is
Its good practice
theres any ecs event when an entity is spawned or added to the world?
😭
Hardcore Faction, go see videos on youtube (lunar teams) it's the best game mode to ever be created
Okh everyone bye 🤫
I think i have found a lead BlockMountAPI
Hello, is there a way to get the player IP address ? (Server side)
i know what Hardcore Factions is, i just never heard the acronym HCF before
BlockComponentChunk blockComponentChunk = chunkStore.getComponent(chunkRef, BlockComponentChunk.getComponentType());
int blockIndexColumn = ChunkUtil.indexBlockInColumn(x, y, z);
Ref<ChunkStore> blockRef = blockComponentChunk.getEntityReference(blockIndexColumn);
it's always been called that lol
I couldnt care less for Hardcore Factions, which is why ive never heard the acronym
2026/01/18 20:02:45 error fetching manifest: could not get signed URL for manifest: could not get signed URL: HTTP status: 403 Forbidden
How to fix while lauchning the server the only log
You have an example website in the website spot possibly or one that doesnt exist
are cubes always set to inside culling or is there an option to change it?
by cubes i mean generally within models not just blocks
Putting this here if someone else ever needs to access the ChunkStore Components of specific blocks in the world:
var chunk = world.getChunkIfInMemory(ChunkUtil.indexChunkFromBlock(targetBlock.x, targetBlock.z));
var chunkRef = chunk.getReference();
var chunkStore = world.getChunkStore();
var blockComponentChunk = chunkStore.getStore().getComponent(chunkRef, BlockComponentChunk.getComponentType());
int blockIndex = ChunkUtil.indexBlockInColumn(targetBlock.x, targetBlock.y, targetBlock.z);
var blockRef = blockComponentChunk.getEntityReference(blockIndex);
var fooBarComponentType = getFooBarComponentType();
var fooBarComponent = chunkRef.getStore().getComponent(blockRef, fooBarComponentType);
There should really be a better wiki for this
hey someone knows if exists a mod for change name an item?
Asset editor
i agree, the only website ive found with any sort of api is missing 90% of it
yes, i mean it is not an unusual use case right?
yeah but i just want edit 1 name item, asset editor renames only ur item, or all the items¿
No its actually pretty useful to know for lots of cases
In the future when people start making more blocks with custom datas it will be very common for people to need to know how to do that specifically
does anyone know how to fix invalid skin! invalid mouth attachment while joining a server with friends?
Not like Hytale has switched off their old blockstate data system though
Guys i'm looking for someone who is looking for a job as a plugin developer for hytale, I had an plugin idea and have money to pay it, if someone is interested please send me a message on private
Hi everyone
I’m using the following code:
Universe.get()
.getPlayer(playerRef.getUuid())
.referToServer("MYSERVERIP", 8845);
The server logs show this message:
[Hytale] Referring player 3b3t (d10d3a8b-be7e-440e-ae9e-15a5589e2521)
to MYSERVERIP:8845 with 0 bytes of data
However, the client seems to completely ignore the refer — nothing happens on the client side
What’s strange is that if I call referToServer inside PlayerSetupEvent, it works perfectly
But when I call it later (after the player is already connected), it does nothing
Is there a limitation on when referToServer can be used?
Does it only work during the login/setup phase, or am I missing something?
Why doesnt the player have the accessoriesComponent
assert player != null;
AccessoriesComponent accessoriesComponent = store.getComponent(ref, accessoriesComponentType);
SimpleItemContainer container = null;
if (accessoriesComponent == null) {
playerRef.sendMessage(Message.raw("accessoriesComponent is null"));
} else {
container = accessoriesComponent.getAccessories();
}
ContainerWindow accessoriesWindow;
accessoriesWindow = new ContainerWindow(Objects.requireNonNullElseGet(container, () -> new SimpleItemContainer((short) 6)));
player.getPageManager().setPageWithWindows(ref, store, Page.Bench, true, accessoriesWindow);```
I add the Component here
```public void onEntityAdded(@NonNullDecl Ref<EntityStore> ref,
@NonNullDecl AddReason addReason,
@NonNullDecl Store<EntityStore> store,
@NonNullDecl CommandBuffer<EntityStore> commandBuffer
) {
commandBuffer.addComponent(
ref,
accessoriesComponentType,
new AccessoriesComponent((short) 6)
);
}```
And I specify only players
```@NullableDecl
@Override
public Query<EntityStore> getQuery() {
return Query.and(
Player.getComponentType()
);
}```
Is the onEntityAdded from a RefSystem<EntityStore> you extended? Did you register it?
Are you sure its not erroring?
public class AccessoriesInitializer extends RefSystem<EntityStore> {
And no its not erroring, at least not that I can see
You might not be able to add a component from the store during that event, try hoppingto the world thread with
world.execute(() -> {
// Code here
});
You can get the world from the store with
store.getExternalData().getWorld()
Is there a hub where to download server plugins?
Just make your own
and I do that on the same class that extends the Ref<EntityStore>?
Lmao I've just stumbled upon NPE
If you try to removeMaterial with just ItemTag in it (and quantity obviously) from a container - it will NPE, because MaterialQuantity.Clone doesn't clone tagIndex field for some reason
did you register your RefSystem in the Plugin setup() method?
In your onEntityAdded method yea
Where should I create the config file for my plugin? In the mods folder?
accessoriesComponentType = getEntityStoreRegistry().registerComponent(
AccessoriesComponent.class,
"Accessories",
AccessoriesComponent.CODEC
);
Thats sounds like your dick riding not saying you made it
Is there a plugin for the Hytale ui?
Not the component
Enjoy that mute fella. That was rude
Yea I know I was answering
Yes they were asking about your system, not your component
Its registered with:
getEntityStoreRegistry().registerSystem(new YourSystem());
If your systems not registered then it wont do anything
Is this an opinion based question?
hey someone knows if exists a mod for change name an item?
If I was you I'd make a configs folder and make all my mod configs go in there (And hope everyone else also does that)
Depends. I'm just wondering if a place has already been established. In mc you would create a directory with your plugin name inside the plugins folder. Wondering if I should do the same for this
Configs right now are everywhere
Some save with the worldconfig (Appended to the plugins section), some are just loose jsons anywhere
Lmao alright. Thanks.
Can be organised if you care about it
Where can I find server plugins and not mods?
they are the same thing
Oh so players don't have to add mods themself like Minecraft?
yep. Mods are just minecraft plugins you install server-side
Nice
Yeah, everything's on the server, you don't touch the client code
hey someone knows if exists a mod for change name an item?
anyone figured out how to listen when an entity is spawned?
i'm thinking of a RefChange and listen to the UUID Component but i don't know if that would work
www[.]orbis[.]place/mod/reatimesync
That works fine
You can just listen for NPCEntity, its a component
im running into issues with loading my world xD
RefSystem sorry not a RefChange
are you still planning on releasing the devkit soon 🫣
Does anyone know how to fix teleporter issues? We're running into issues with the teleporters not working and then when broken down the warp icon is still on the map so we can't put them down again since the game thinks we're at the limit.
Any one else having the issues after restarting server telling him: java.lang.IllegalArgumentException: World default already exists on disk!
how to make an ip without port?
whats the brst site to use for hosting a server?
You need a dedicated port
im having issues with play hosting
Hello, im making an anticheat: https[:]//github[.]com/iJaco25/gaias_glaze, whoever wants to help me and solve some issues please use the issues and pull requests on github
Edit: As of now the main problem is finding good default thresholds for the checks to trigger the kick/ban/temp ban
We’ve been using bisec and seems to run ok
can i run mods easy?
Yes, in the bisec panel you just got to the Files module then open the folder /mods
Hello, where can I open a ticket?
How many are you expecting to play?
just 4
i mean i have a play,myip,com:30013 but i just want play,myip,com
I’d suggest there +6gb option
Srv record
okay so how to do it bc im dump
I DID IT
What do I need to make a item do abilities?
Doesnt work yet with hytale
I made a proxy, can type /server join, and routes you to another server
You can’t without the dedicated port…
Based off the Armadillo that was released on github
do u have to use port 443 for dns to auto resolve correctly?
You wouldnt need a srv if you had a dedicated port it would be a straight a record
anybody know why i get Target element in CustomUI event binding has no compatible Activating event. Selector: #Options[0]
The way i try to add the event is
uiCommandBuilder.append(
"#Options",
"Gui/OptionEntry.ui"
);
uiEventBuilder.addEventBinding(
CustomUIEventBindingType.Activating,
"#Options[" + i + "]",
EventData.of("Option", String.valueOf(i)),
false
);
The contents of OptionEntry.ui is
$C = "../Common.ui";
$C.@TextButton #Option {
@Text = "";
}
i want to make regions, and i said regons mobs need to spawn and loot boxes. can this be done without mods?
I assume its to do with the networking on server side
If anyone would like information on how the proxy is setup and working give me a message or a tag. The key is the ClientReferral packet
Does anyone know how to fix the servers items etc. not being able to find translations?
Its taken me 6 hours grinding to get it to work
hey guys i have a question me and my long distance gf tried to make a world together but she cant join my world it says that im behind a very strong firewall and the game is premited through my windows firewall anyone knows what i can do?
How change custom hover tooltip on Entity? with contains Interaction key icon?
set up vps
what is that and how do i do it 😅
how can I get player reference from uuid?
Probs not the best approach for you then just go buy some shared hosting from shockbyte or something like that
you rent a server and install a hytale server onto it
Universe.get().getPlayer(theUUID);
Universe seems to be quite mighty hehe
ty, btw what documentation do you use? I can't seem to find most of the things I'm looking for
None, I exclusively look through a decomp
Ive just looked at alot
Set hint method on interactions component
I got ai to do the java docs for me
If that works for you
🦨
Well why look through everything individually when I can map it out in one
any chance someone knowledgeable can join my server and tell my how i can fix ghost blocks/ invisible furnaces
Are entity components persistent after server restart?
this method cant be contain Key icon, only plain text
Yeah after all its only 60% incorrect
If you have a codec
Ok if you say so
What is that?
Guess you haven't got one
I've managed to make a mod that automatically hides the bottom hud (e.g. health, stamina, hotbar). However, I'm curious if there is a better alternative already that I can use.
Did you make a custom component?
But there is text around key icon which you change. Like it turn on/turn off for candle, and pick up for items
about to
cant you just press f4 and it does that
i see alright so just rent a server atm there isnt really anything else like essensials for minecraft or something yet?
is there a way to display an image on a button?
When you do, the BuilderCodec you're gonna have to make is responsible for serialization/deserialization, if you have one and it properly addresses every field you wanna save then it'll persist with its data
Quick question, im assuming the asset editor doesn't allow for custom functions of assets like searching for blocks around it and changing its state? That would need to be a plugin right?
curseforge
anyone that has some free time and wanna work on a server with a team?
Hi this is probably the wrong channel top ask for this but I will try anyway 🥲
I am trying to run a modded server on hosting platform for my friends and I but we run into a problem whenever anybody enters forgotten lands the server starts to lag to the point it kicks everybody out.
Server specs:
13900K 5.6Ghz, 10GB RAM, 20GB SSD NVMe
Any help would be appreaciated 🫰
Manually, yes. But the purpose is for it to automatically hide without needing to manually press. It's primarily for immersion sake. That's why I'm hoping someone has already made a better one.
I want to place the blocks in the plugin from the prefab.json, but the rotation of slaps or fixed ect somehow doesn't work
get more ram
how many friends?
Is there a way to detect arbitrary inputs? Say I want to add another keybind.
like 8-10 people
Looked it up, but haven't really found a clear answer
@brisk wind , basicly should be enough depends on the amount of player
anyone that has some free time and wanna work on a server with a team?
No
the problem appears rn when I am alone on the server
hm i have 4 server instance same time running on a 32 gb maschine all smooth
I've just put anything that needs to a keybind, to activate on F press/Interact
figured, thanks
Works okay, but not ideal
@brisk wind what server enviroment ? os , subsistem like pelican
Yeah, not gonna work for us, we've got 6 abilities to bind LMAO I guess we'll have to do the hotbar thing
says running on windows
Ahh yeah, good luck 🫡
انا عربي معكم
anyone that has some free time and wanna work on a server with a team?
@brisk wind brrr ok windows consume by default already msuh memory
do I understand this correctly that server plugins are more advanced version of a mod/pack?
خاص
@wind gull yes
so anything that I can do in a mod I can do on a pluging?
There are few extra abilities keys available, but they do not have default keybind on client. So probably think about change abilities set and use LMB,RMB, Q(1st ability bind) only
@wind gull basicly yes but in a plugin u can do more advance stuff
I will try preloading the chunks and see if this would fix it
Nope, not happening, not part of our design
like teleporting a player?
How can I add or edit player inputs (walking, opening inventory, etc.) through a component?
@brisk wind i would recoment so change the os from windows to linux and use pelican enviromet
Oh yes haha
Does anyone know if there is a way to display Chunk borders like in Minecraft?
@wind gull extend HUDS , custom gamemode, world generation
What are the steps I need to take to make an item have a poison property (upon hitting someone, it will poison them)?
The F7 debug menu is nice to have but a visual chunk grid would be very helpful for debugging i think
okay where should I start?
Searching for people to work in a big server we're developing. Original mechanics and more!
is there a starting template or something
Hi InventoryClickEvent alternative ?
@wind gull ther ar some youtube videos how to start , but recomend experiance with java
Ok, of all the sites ive published to, these are my recommendations
- CurseForge
- Large userbase, decent enough API and maven, Gradle publishing plugin for uploading to it, ad revenue from downloads and views as well as dontation links
- Modtale
- Steadily growing userbase, clean UI, decent API, no Gradle publishing plugin yet, no monetization
- OrbisPlace
- Smaller userbase currently, clean UI, decent API, no Gradle publishing plugin yet, optional Pay-What-You-Want model for donations
- HytaHub
- Larger userbase currently, clean UI, decent API, no Gradle publishing plugin yet, limited donation link support
- Modifold
- Larger userbase currently, clean UI, decent API, no Gradle publishing plugin yet, no monetization
There is a bias to these recommendations
API access is HUGE for automating publishing to multiple platforms, otherwise itll drain you
HytaleHub, Hymods and HytaleForge are formatted more like forum sites than publishing sites and HytaleForge has some issue that makes loading the site take ages
how can i play with my friends via code does not work
How do I get the root directory of the server?
@zinc flint open terminal as root , and then u got it , or just us the cd comand
hi there's is any good guide for modding in hytale
Sorry I mean from a plugin context.
hytale-docs dot com
Anyone had a success yet and unloading and loading a plugin without restarting the server?
Hi, any official or complete documentation for plugin developpment ?
Does anyone know of a function which returns the block id after inputting the vector in the chunk/world?
The refer command works fine while still ingame, the only difference is it sends some "Test Data" literally
/plugin reload com.example:YourPlugin works for me
what I do is build plugin straight into my mods folder essentially overwriting the previous one and plugin reload causes an error
byte[] testData = "Test referral".getBytes();
I have a custom NPC I want to change the behaviour of. I already edited the Template but where do I need to put it?
I tried putting it inside the Mod in the same directory tree but I get this error when trying to reference it in the NPCRole:
java.lang.IllegalStateException: Can't find a matching role builder
Path is:
mods/<mod>/Server/NPC/Roles/_Core/Templates/Template_<name>.json
What error
I'll show you, give me a moment to re-create it
Did you know that chunks are cubes?
Blew my mind right now
Wym? They're stacked on eachother?
yep
How do I get the root directory of the server from within a plugin? Kinda like getDataFolder() in bukkit
If you press F7 and fly down, you will see that the local chunk coords are always in range 0-31
How confident are you on this cause the way you access chunks are only with x and z
Haven't seen any implication that they're cubic chunks, maybe they are
[PluginManager] Failed to load manifest mods\my_plugin-0.1.jar
java.util.zip.ZipException: ZipFile invalid LOC header (bad signature)
when i fully restart the server the plugin loads correctly, but if i build -> overwrite -> reload i get the error
some person told me to unload -> build -> load, but that also failed for me
tbh making plugins is going pretty well, i already did 3 plugins successfully (with help of @civic zephyr, thank you < 3 )
@ruby sedge me adiciona ai no discord
Okay, i think the chunks are columns, but they are split up internally via BlockSection
Yes I believe thats true
Hello can I join Server :)) anyone?
HEY @worn idol i selected the mods in the mod fodler but they arent going to the server
Is it possible to add custom components to the entity store? Im adding one but I dont seem to be able to get it back again
Yes, did you register and make the component properly?
Codec and all?
How can I add map (like clicking M) in my custom UI?
what about starting template? like that I can just download and start making my own plugin?
I've registered it, yeah. Does it need a codec? When I added one it wasn't adding anything into the player.json file anyway
Yes the codec is responsible for serializing it
look Kaupenjoe youtube channel
I use Kaupenjoe's
How did you register it? Did you use the signature that takes no Codec?
can u blow up bases when its claimed?
Does anybody has documentation about NPCRoles and AI?
this happens only after the /plugin reload? how does your gradle config looks like?
x.getEntityStoreRegistry().regsiterSystem(new MyNewSystem())
Thats not how you register components
server lags when players join forgotten temple
mytale gg will have one and tuns of mods,
current was told they are generating documentation based on the full api from the decompiled server jar
looks promising so far
Its
getEntityStoreRegistry().registerComponent(MyComponent.class, "MyComponent", MyComponent.CODEC);
very very very basic gradle config which at the end has destinationDirectory.set(file("/2026.01.17-4b0f30090/mods")) to send the build to the mods folder
i'm expecting a directory inside my mods folder when I run this for my config setup:
this.config = this.withConfig("ExamplePlugin", ExampleConfig.CODEC);
Yet nothing appears when it passes this line. Do I need to save it or something?
Is there already premade thing for a faction server ? 😄
Does anyone know how to turn on full bright? I'm trying to build in an enclosed area and it is pitch black
Yeah getting that exact error since using the latest server jar 🤔
is there a way to change droplists if something( a crop) is broken by a certain tool?
I also tried putting the file into the server assets, but no luck.
Do I need to register it somehow?
it's normal to not be able to access my world if i enable some plugins after the world is created?
Call save on it
How can i play with my friends guys via code does not work
where's the code that deals with item tooltips?
Actually I think withConfig makes a weird memory config without a path
Try just making a new Config object it works the same and is probably easier to manage, theres a option in the constructor for the path
how can i make a block interactable?
Good afternoon,
I currently have two structured files that comprehensively collect the game’s API, along with all the essential components required for the development of plugins and mods of any kind. These files are intended to serve as a solid technical reference, providing a clear and organized overview of the available systems, interfaces, and development patterns.
Below, I am sharing the current content and structure included in this documentation:
📚 TABLE OF CONTENTS
-
Base Plugin Structure
Defines the foundational architecture required to create stable and maintainable plugins. -
Event System
Details the event-driven mechanisms used by the game, including registration, handling, and lifecycle management. -
Critical Events
Covers high-priority and sensitive events that require special attention due to their impact on core gameplay or system stability. -
Core APIs
Documents the main APIs exposed by the game, serving as the backbone for plugin and mod development. -
Important Enums
Lists and explains the key enumerations used across the API to ensure consistency and clarity in development. -
Interfaces
Describes the available interfaces and their intended use, enabling clean abstraction and extensibility. -
Design Patterns
Presents the recommended design patterns to follow in order to achieve scalable, efficient, and well-structured implementations. -
Code Examples
Provides practical examples to demonstrate correct usage of the systems and APIs described above.
This documentation is designed to be clear, extensible, and suitable for serious development environments, with the goal of supporting both current and future plugin and mod creators.
Load on setup and save somewhere else on shutdown or something
You might be the SMARTEST GUY in the SERVER
I think I'll call you.... Mr GPT.....
Have cheats been made for hytale, since it is possible lol
I'm not trying to be a leader, I'm just trying to help the plugin/mod scene progress faster.
You are a chatgpt proxy
I have 17GB/30GB working right now. CPU is at 450% / 1200% still getting lag on 33 players. any fixes ?
you could do it through hytales own modding system like mc forge.
Its very obvious, it doesn't fool anybody
imagine gpt
All I did with the AI was structure the text properly and in English, since I am Spanish.
What was generated was complete nonsense
i remember when people just learned to speak english on their own 💀
welp seems hytale item tooltips cant be dynamically modified, i found at least 10 people with same problem as me
Well, tell me that would be very useful.
Guys. Let's say there are arrows with different effects: poison arrow, frost arrow, fire arrow etc
And there is a bow, that consumes 3 arrows at once and shoots one big powerful arrow
Would you expect this mega-bow to be able to consume 1 of each type of arrow at once? And what would you expect the effect to be then?
Yes and all 3 effects at the same time
so i guess you also have no solution for this
Crossbow
I'll mark it with TODO for now...
How do I use a plugin to check whether someone has right-clicked on a specific block?
AI generated docs are not much appreciated due to them have a bunch of allucionations.
As far as languages go, english is one of the easiest too. :p
I’ve heard the opposite from others but I would not know as I am a native speaker
has anyone had this issue when trying to reload a plugin after overwriting it with a new build with the same filename?
[PluginManager] Failed to load manifest mods\my_plugin-0.1.jar
java.util.zip.ZipException: ZipFile invalid LOC header (bad signature)
when i fully restart the server the plugin loads correctly, but if i build -> overwrite -> reload i get the error, I even tried unload -> build -> load and still getting the error
And what would be missing for it to be good?
yes AI gen docs are just pure bsheet, we just have to wait the release of the api docs and everything will be good
yes you have to restart the server
I could show you everything I've achieved and you can take a look.
thats the answer i didn't want to see 😭
you can still verify if it's true or not with manual checking still information
loosing time now, vs win time in 1/2w ?
Whats the point of written documentation if you have no idea if its the correct way to go about things and you have to validate it later
So I have thsi component AccessoriesComponent
and the System AccessoriesSystem
the component holds the data in my case a SimpleItemContainer
But Im confused on what the system does or extends as all I need it to do is hold data i.e SimpleItemContainer, in AccessoriesComponent
I have registered both Component and System in setup() :
this.accessoriesComponent = this.getEntityStoreRegistry().registerComponent(
AccessoriesComponent.class,
AccessoriesComponent::new
);
this.getEntityStoreRegistry().registerSystem(new AccessoriesSystem(this.accessoriesComponent));```
And I assign the coponent to any new players that join using another java class wich extends RefSystem,
```World world = store.getExternalData().getWorld();
world.execute(() -> {
commandBuffer.addComponent(
ref,
Main.get().getAccessoriesComponentType(),
new AccessoriesComponent((short) 6)
);
});```
I also have a command to display the widow but it can't find the AccessoriesComponent on the player even though it should exist:
```AccessoriesComponent accessoriesComponent = store.getComponent(ref, Main.get().getAccessoriesComponentType());```
Anyone can help?
first plugin ❤️ github/ySKELLETONX/KitsX
It really depends, if you're from a latin language like spanish and try to learn french or portuguese, you will maybe have an easier time. because a lot of stuff is kinda close
but I mean, structurally english has fewer rules and stuff and has less things to learn
It's annoying now that I've been able to play so little due to disconnections, timeouts and every little thing. is that just to force us to use a freaking dedicated server? i'm really annoyed, frustatred with this, because I did every little thing possible to make this work, even what they're teaching on their own page. This is just insanity by now, I'm giving up on hytale until gets fixed. It's a shame that something announced on the release still works bad after 2 or 3 patches. Some are going to say that its on early access, dont care really, i paid and im not playing or having fun. and since there's no support chat or channel
first plugin ❤️ github/ySKELLETONX/KitsX
I would have to take your word for it as I am a one language andy
There are many fans-documentations. Sure you can share you own. I think it's more useful to have a unique and verified version.
I mean. I've had issues with parsing the nonsensical manually written serialization code
What I needed is a top-down overview of what bytes are used for what
AI managed to do that without any hallucinations tbh
Can you add a print where you add the component to make sure its actually getting added?
Does annyone know why ChunkUnloadEvent doesnt work? Im registering at system but never get any debug
How are people loading images in the UI ?
you can validate the docs by putting them in a plugin/mods an see if it's work , and that's make few days now it's release some people have correct their information or make test on them and can be usefull
is there a way to print to the console or do I have to send a message to the player?
You can try looking through the sources and check if it's ever sent
ok good, but when the docs will be released, all the time you use for that ? you could use this for anything else, like structure your project etc
Just do System.out.println it still shows up
how to enable hot reload
HytaleLogger for a "clean way", but yes
Does anyone know why this event isnt called when a player is teleporting to another world?
HytaleServer.get().getEventBus().register(DrainPlayerFromWorldEvent.class, world.getName(), this::onPlayerLeaveWorld);
Ive been digging through the source for so long now, I dont even know. All I want is entities to NOT despawn...
also currently my System extends RefChangeSystem but does basiccly nothing
ok dm
(btw slf4j / log4j is not supported really good)
Don't use RefChange
Its just a temprary debug no need to worry much about it
Isn't it better to use HytaleLogger?
you would have to investigate why your .jar is being corrupted - this error should show up when starting the server as well though
you know that they have probably better to do than release complete doc ? even if they release it in one month i'm pretty sure she will not cover 100% with usage case
If you're looking for 'docs' just decompile the HytaleServer.jar and open it as a separate project in your IDE/TextEditor.
IntelliJ IDEA 'decompilation' just gives you classes. If you use CFR decompiler you will get .java files which are indexable and make finding vars/methods so much easier
Anyone know how to spawn a mob?
Its just faster im just suggesting it for the purpose of quick debugging, they would have to pass the logger through or get an instance or whatever its just unnecessary for a quick log that will get removed
How are people loading images in the UI ?
It doesn't show up when I restart, and it's not corrupted, what I assume happens is windows/java failing to release the old file, even @pine ermine here says the only way is to restart, i swear on my life restarting works completely fine
Yes if you're planning on actually logging permanently you should use HytaleLogger
what should I use instead and what in this context would the System even do?
The map?
RefSystem
the jar isn't corrupted, when he restart his server, the plugin works
May I suggest vineflower?
Vineflower is great
No like in a custom UI, how would you load custom images in your UI, I can't seem to get it to work through resources.
hytale-docs dot com/docs/api/server-internals/custom-ui , and there is a troubleshoot section
Yeah I was using it, notnotnotswiped recommended that to me but it took forever to decompile and hogged all my resources. CFR was super fast for me.
What is the advantage?
You're still sharing that AI slop site?
// $C = "../Common.ui";
Group {
// Top-level anchor: Bottom Right area (Above hotbar/status area)
// Root Container Size Update (160 width, 32 height)
Anchor: (Bottom: 85, Right: 350, Width: 160, Height: 32);
// Droplet 1 (Left: 0)
Group #drop1empty {
Anchor: (Top: 0, Left: 0, Width: 32, Height: 32);
Background: PatchStyle(TexturePath: "thirstempty.png");
}
....
the path is relative to your .ui
You're not editing through the asset editor? Alot of the asset types have editor interfaces
I didn't get this error yet, but I'm running it on WSL
editor assets dont support much thats actually displayed in the json afaik such as some parts of interactionvars
I see
how do i override main systems/components or add classes that run instead of those
there is the answer at is question and that have been tested , i use it in the intelj plugin where there is custom ui , you must give valid support instead of bein a dumbo ^^
So you're saying any advice is better than no advice? Even if they've been repeatedly wrong and wasted many people's time?
Can you modify the static .ui files inside the plugin like resizing and moving?
Ty ty!
it's a correct advice dude , sorry for you to be so sad in your life that you need to attack people that try to help
Hytale team mention that NPC are quite painful to work with.
hallo ich kann keine welt erstellen und keie welt beitretten da steht nur failed to connent to server
if you loose time on a documation that is clearly telled as just ai decompiled analyse as the god sentence maybe the issue is not the information but you
Just a quick one, New here. Why do i get this error when trying to restart a plugin
"Invalid plugin identifier: BetterScoreBoard (String does not match <group>:<name>)
anybody know why i get Target element in CustomUI event binding has no compatible Activating event. Selector: #Options[0]
The way i try to add the event is
uiCommandBuilder.append(
"#Options",
"Gui/OptionEntry.ui"
);
uiEventBuilder.addEventBinding(
CustomUIEventBindingType.Activating,
"#Options[" + i + "]",
EventData.of("Option", String.valueOf(i)),
false
);
The contents of OptionEntry.ui is
$C = "../Common.ui";
$C.@TextButton #Option {
@Text = "";
}
remove json system and move everything to java 👿
tbh, you can just do it through code if you just modify the registries in there
the json is just how its stored
Java is just such a painful language, gradle is the son of satan change my mind bro 😭
haha I think the JSON system its great but without documentation its very difficult. I'm struggling too.
or you could just generate the json if you want to stick with it
prolly some wanky work with codecs also ill eventually setup a java mod/plugin (whatever you call it) workspace soon to start investigations
Anyone knows how to get a Blocks' rotation / forward facing side?
Hi, I can't create a world or join one. Does anyone know how I can fix this?
idk, I havent worked with much other than the protocol formats -- Im pretty sure they store those in json though
Can I make changes to the JSON with the Java code? like adding MinQuantity: 2 to Iron Ore
the asset editor often make my game crash I have to use visual studio
anyone have a similar problem?
like modifying existing assets with java?
prollalby
@civic zephyr again for documentation:
public record BlockLocation(
Vector3i worldPos, // Global coordinates (e.g., 1500, 64, -200)
Vector3i localPos, // Position relative to the chunk (0-31)
int chunkX, // Chunk X coordinate
int chunkZ // Chunk Z coordinate
) {
@Override
@NotNull
public String toString() {
return String.format("World[%d, %d, %d] | Local[%d, %d, %d] | Chunk[%d, %d]",
worldPos.x, worldPos.y, worldPos.z,
localPos.x, localPos.y, localPos.z,
chunkX, chunkZ);
}
}
/**
* Gets the World position (global coordinates) of a block entity.
*/
@Nullable
public static BlockLocation getBlockLocation(@Nonnull Ref<ChunkStore> blockRef, @Nonnull Store<ChunkStore> store) {
var info = store.getComponent(blockRef, BlockModule.BlockStateInfo.getComponentType());
if (info == null) return null;
var worldChunk = store.getComponent(info.getChunkRef(), WorldChunk.getComponentType());
if (worldChunk == null) return null;
int blockIndex = info.getIndex();
// Local coordinates within the chunk
int localX = ChunkUtil.xFromBlockInColumn(blockIndex);
int localY = ChunkUtil.yFromBlockInColumn(blockIndex);
int localZ = ChunkUtil.zFromBlockInColumn(blockIndex);
// Transform to world coordinates
int worldX = ChunkUtil.worldCoordFromLocalCoord(worldChunk.getX(), localX);
int worldZ = ChunkUtil.worldCoordFromLocalCoord(worldChunk.getZ(), localZ);
return new BlockLocation(
new Vector3i(worldX, localY, worldZ),
new Vector3i(localX, localY, localZ),
worldChunk.getX(),
worldChunk.getZ()
);
}
Anyone want to play together? If so, send me a DM.
Yes. I want to make a UI element that multiplies the drop rate of ores by a chosen multiplier
no
Oh this is the reverse of the previous method?
@quartz plover Do you use VineFlower plugin for IDEA or just vineflower through terminal?
Hi, I can't create a world or join one. Does anyone know how I can fix this?
As a standalone java application
Does anyone know how I can persist entities? They keep despawning
How are you spawning them
Yes it retrieves the block and chunk position
why 
Any idea concerning getting the rotation / placed forward side?
One moment
Heyo, any proxies under development worth looking into? Or best bet to make my own custom one?
is the creator of that Home mod on here?
Someone know if we can modify a config directly via code ?
tried it and it left me on my face horizontal 😛
GUYS can someone help me? im on Forbiden Temple wanna exit portal and my game is crashing - im getting kick with Error Player remove from world
im down, dms are closed though
Mind if I DM you? Message keeps getting blocked by auto mod..
I’m working on one but there’s plenty out there
mob not spawning, how to fix
is there something to change from survival to creative in my first server?
just for a moment and return to survival after?
You have to first write /op self and then write /gamemode a or /gamemode c in the chat
Server config.json file
Or server config
it says I don't have permission
Then it's config
/op self
I recently discovered that workstation grabbing from nearby chest automatically also works with claimed plots. so neighbours can draw its content through workbenches even so they have no rights too. are there already fixes out there?
I created a SimpleInteraction and added my logic to the tick0 method and it works just fine when its a success. On the fail state I just wanna do nothing, or the default Simple interaction and it does work, but I get a "Client/Server desync" message and the client tries to execute the success animation and sounds for a split of a seconds.
Any pointers to why this might be happening. I looked into the ConditionInteraction of Hytale and besides all kind of arguments, which I dont have, I dont see anything different
Is there a place that explain how to give myself the permission in the config?
It is mod specific, try to contact an author
Hey guys, how to have configuration files for a plugin, would they go in resources and how would I read from them?
howdy, have created a pack and plugin that interact to make a repair all workbench like valheim. Anyone know what the nest route is to make one depend on the other. Ive uploaded them to curseforge
I would like to ask if anyone would be interested in building a plugin? What im looking for is basically plots from minecraft
getRotationIndex(x, y, z)
In WorldChunk
apologies if this has been asked already, but what can we connect to in order to tell when the player equips a new piece of armor?
Oh goodness its deprecated but they still use it, finding something else
define a class with a codec, and register it as a config with your plugin using withConfig.
example:
public class MyPlugin extends JavaPlugin {
private final Config<MyPluginConfig> config = withConfig(MyPluginConfig.CODEC);
@Override
protected void setup() {
super.setup();
if (!Files.exists(getDataDirectory())) {
config.save().thenRun(() -> getLogger().atInfo().log("Saved default config"));
}
}
}
public class MyPluginConfig {
public static final BuilderCodec<MyPluginConfig> CODEC = BuilderCodec.builder(MyPluginConfig.class,
MyPluginConfig::new)
.append(
new KeyedCodec<>("ConfigValue", Codec.INTEGER),
(config, value) -> config.configValue = value,
config -> config.configValue
).add()
.build();
private int configValue;
}
Yeah they exclusively use this in many places so im not sure what the alternative is
Hello, I have installed and followed the guide to add Maven to my project, but not all classes are available in my project and I don't understand why. For example, JavaPlugin appears as “Cannot resolve symbol ‘JavaPlugin’.”
FAILURE: Build failed with an exception.
- What went wrong:
25.0.1
good explanation gradle
I need help getting my friend to join me. How do I do it? I'm new to this.
Mhm, i guess right now it will do, but it is marked for removal:
@Deprecated(forRemoval = true)
Yes not sure, couldn't find an alternative that they use
same :/
Might be in the blockchunk
Is there a code to give myself the permission in the config?
I need help getting my friend to join me. How do I do it? I'm new to this.
I am running a server and have like 30 players. Issue is so much disconnect issue. People keep getting dced for no reason. Any Solve?
Hello! Im a builder with experience. Im learning hytale creative tools.
I have experience building: houses, lobbys, spawns, parkour, stadiums, Koths decorations, mining decorations, etc.
Talk to me for more info.
SyncInteractionChains and there’s equipped interaction type
Anybody got any tips? Im about to start making a plugin.
what is the difference between componenets and combat evaluators?
I've not heard of combat evaluators but I'm gonna assume they're specific to combat - whereas components are a much more general concept
I imagine components are scripts you'd attach to an object?
Is there any way to fill a chest that has been placed with items? I couldn’t find any methods to interact with block inventorys
Nah components are attached to the state of the entity whereas combat evaluators take the state and prescribe an action
How do I add more fields, I tried to chain .append() but it doesn't work like that
is it possible to spawn fake player in world?
Dupe the assets folder from hytale and remove the common assets and the assets you don’t need, a lot easier to understand the structure
Hey, how can I install a dedicated Linux server?
guys im trying to spawn enitities in my creative world but it says i dont have permission for this command, why?
/op self
am i gonna have to go on my backend to make sure the models/entities ive spawned dont despawn
anyone know where the setting showEntityMarkers is set in client? I see the server checks for it for debug entities and i'd like to see it
Anyone want to play together? If so, send me a DM
How to rotate BlockEntity? I'm creating it using
Holder<EntityStore> holder = BlockEntity.assembleDefaultBlockEntity(timeResource, "Deco_Rope", point);
and then trying to set rotation via
TransformComponent transform = holder.getComponent(TransformComponent.getComponentType());
transform.setRotation(rot);
but nothing happens
Likely have to modify the spawn config
oh lord idk how to do that
Can someone help me? I have error I need to fix in my code but I don’t know how 😭 (I’m extremely stupid)
Look at the asset folders for those quest dudes and see what they have in their config since they don’t despawn
why wont my world load
finally got proximity chat working :),
need a a small client next to the game to connect to the server plugin.
just need to add push to talk and a volume control for players then I was thinking of releasing it. Will CurseForge allow this kind of mod where it requires a side client?
Looking for developer for creating plugins and map builder, i know its still early stage for the api. Looking also for staff team with experience with hytale. SMP + SB + SkyPvp games. Msg me
does anyone know how to make a mod for Hytale? There was a template for Minecraft via Intelij, but what about Hytale? Thanks.
Probably not because of security issues
and this is through file explorer?
How to get item rarity?
where can I showcase my WIP mod? no channel allows images and #1440422085750030457 seems to be "full" ?
HEEELP PLSS how con i separate inventories between the worlds?
that was my thought as well. 
How to rotate BlockEntity? I'm creating it using
Holder<EntityStore> holder = BlockEntity.assembleDefaultBlockEntity(timeResource, "Deco_Rope", point);
and then trying to set rotation via
TransformComponent transform = holder.getComponent(TransformComponent.getComponentType());
transform.setRotation(rot);
but nothing happens
You can do it through that or the asset editor if you can make your own pack. When making a new asset reference that merchant as a reference and change the appearance or wtv else you want to change. Not 100% sure it works but it might l
where is hytale plugins documentation?
I tried to modify my permission but now i can't go back to my server can I have help please?
Looking for developers, will pay per hour / project . Experience is not matter, only results. Msg me
pls i need help
why I cant show from bow?
Look at config for weapons with rarity in assets editor
EntityStore objw = new EntityStore();
public final Store<EntityStore> store = objw.getStore();
can someone help me fix this 😭
i am watching in Item class, but there no any method to get rarity
Try just uploading the Java part to curseforge and then uploading on GitHub and create some download and process there to make it easy
you would get the store from the event/commandcontext
Did you look at a specific weapon like the scythe or smthn that has a rarity?
use for example: <yellow>Owner
Looking to make money? Looking for payed devs to create gamemodes . Msg me
I guess it will be up to the server owner to point to the client. they are in the same repository so not that hard.
could you explain a little more? (i am very stupid when it comes to anything related to java)
wow chat died
send me what you're trying to do I'll see if I can help
like the code?
yea I just added you, shoot a dm
yea, any weapon just an item
hey how do you setup that items wont drop on death on nitrado
How are you supposed to setup custom windows? I'm trying to setup a dedicated repair workbench, and the window I have right now crashes the client when I try to open it.
package com.paleleech.grindstone.window;
//All imports
public class GrindstoneWindow extends BlockWindow {
private final JsonObject windowData;
public GrindstoneWindow(@NonNullDecl WindowType windowType, int x, int y, int z, int rotationIndex, @Nonnull BlockType blockType) {
super(windowType, x, y, z, rotationIndex, blockType);
Item item = this.blockType.getItem();
windowData = new JsonObject();
windowData.addProperty("type", 0);
windowData.addProperty("id", "Grindstone");
windowData.addProperty("name", item.getTranslationKey());
windowData.addProperty("blockItemId", item.getId());
}
public GrindstoneWindow(GrindstoneState state, int x, int y, int z, int rotationIndex, @Nonnull BlockType blockType) {
this(WindowType.Processing, x, y, z, rotationIndex, blockType);
}
@NonNullDecl
@Override
public JsonObject getData() {
return this.windowData;
}
@Override
protected boolean onOpen0() {
return true;
}
@Override
protected void onClose0() {
}
}
The interaction is dead simple and can open a ContainerWindow for a SimpleItemContainer without issue.
Maybe its kinna a stupid Q but what would actually happen if I manipulated the HytaleServer.jar? Would people still be able to connect to the server? Dont think so because that would be a risk gap, right?
How do I play a sound for a player via api?
Clients wouldn't be able to tell unless you send mangled network packets.
Hmm not sure then ilyk if I find out
How to rotate BlockEntity? I'm creating it using
Holder<EntityStore> holder = BlockEntity.assembleDefaultBlockEntity(timeResource, "Deco_Rope", point);
and then trying to set rotation via
TransformComponent transform = holder.getComponent(TransformComponent.getComponentType());
transform.setRotation(rot);
but nothing happens
manipulate how?
im not sure if this is the write place but im trying to setup a server for me and my friends to play on my linux pc
but the initial handshake seems to complete but thats it
and after some time i getting a read timeout for the QuicheQuicConnection
how do i remove all mob entity on the server i have some mobs bugged out on the spot i want to kill all so they can spawn back in??
Hmm oke interesting. Thanks you for the reply
by changing the source code
What are the best docs for the API right now? I’m mostly looking for physics stuff that has to do with the player.
as undude said it depends on how you manipulate it, players will have no idea unless client-server communication is altered
@opaque idol accept me , i want to text u
Personally would build a layer on top that manipulates the sockets instead of touching the jar
i can't seem to find the class that handle moving items in/out of chests, does anyone have an idea where to look?
Look at how inventory is handled
Where is player input handled for movement?
How to rotate BlockEntity? I'm creating it using
Holder<EntityStore> holder = BlockEntity.assembleDefaultBlockEntity(timeResource, "Deco_Rope", point);
and then trying to set rotation via
TransformComponent transform = holder.getComponent(TransformComponent.getComponentType());
transform.setRotation(rot);
but nothing happens
Does anyone know of a plugin that forces players to spawn at /setspawn every time they join or rejoin, instead of their last location?
Hey, I’m trying to add a custom command and change the player jump height, anyone know what I’m doing wrong?
var ref = Universe.get().getPlayer(ctx.sender().getUuid()).getReference();
var world = Universe.get().getWorld(Universe.get().getPlayer(ctx.sender().getUuid()).getWorldUuid());
var store = ref.getStore();
world.execute(() -> {
store.getComponent(ref, MovementManager.getComponentType()).getSettings().jumpForce = 100.f;
});
Can you modify movement speed/stamina drain multipliers with the asset editor??
how can i check if pvp is already enabled in the world?
you should extend AbstractPlayerCommand and get the ref that way
Prolly serverside
Does anyone know of a plugin that forces players to spawn at /setspawn every time they join or rejoin, instead of their last location?
player.getHudManager().resetHud(playerRef);
Does this crash the game for anyone else?
Better Discord V1.4 Release 😄
prnt[dot]sc/lws02Bgvm3FM
hi guys i was wondering i need some help with bettermap since it doesnt work for my server. is this the right channel to ask?
does bettermap need extra mod
How do I set up portals between different worlds?
Is player ref null?
Shouldn't.
Hello guys. Is there any way to assign keybinds to certain movements for a script?
I mean, I wuld like to recreate de "Wall Jump" mincraft mod in hytale. But I don't know If i can assign some keyboard inputs,
Thanks
no the server works but the map doestn update. but i mightve found the solution i think i had to put the name of the world in config file
"allowedWorlds": [
"default",
"AlexMegas_x52x",
"world"
]
here, right?
no. interestingly enough, it only crashes when I have a custom HUD element added
I am having trouble adding a custom HUD element. anyone else have success with that? I might be injecting my own HUD into the HudManager enum
Hi, does anybody know how can i add custom functionalities to my custom items? (For example, on item rightclick, you receive a message on chat, or a UI appears). I wonder if it can be incorporated in a unique file, or i would need a separate .jar that handles the features, and the .zip that contains the assets
hi how can i check if is night or day using the api?
What i need to understand is if i can incorporate the assets in the .jar
now my map is empty :D
hey anyone know where i can get the Official Hytale Plugin API JAR
Hi everyone, question: if no one is on the server, does it continue to run, i.e. the game world, or does it pause?
Not having Tab Complete is destroying my sanity lol
It's been probabyl asked a lot already, sorry in advance.
How do i get the PlayerRef when i have the Player . As Player.getPlayerRef is flagged as deprecated. What is the "right" way of getting the ref?
Also what is the purpose of those classes?
I know there is a way to change it as there is a mod for it, not sure if you can send the client or allow it to show the distance though of what their looking at, etc.
how do i remove all mob entity on the server i have some mobs bugged out on the spot i want to kill all so they can spawn back in?
Anyone know how to remove join/leave world messages?
Hmmm
how to fix player rotation after teleportation?
I am a derp, I don't know if one exists I found this one: Grab From Far for chest reach distance for tables I guess derp
my character is always somehow weirdly rotated after teleportation
I'm literally looking for the EssentialsX for MC in Hytale, does anyone have anything? Please message me privately!
sure message me
There is an item quality folder in assets that changes the colors and stuff if you want to
make a custom one go off of what’s there in that asset file (search rare, epic, legendary, etc.)
Hey, does anyone have advice/resources for transitioning into writing Hytale plugins?
I'm actively learning Java.
Hytalemodding seems to be human curated and accurate.
Hyxin looks like a good foundation for writing earlyplugin Mixins for Hytale, after I build a foundation with plugins.
Is there an easy way to get no death drop on a dedicated server? I am using gportal and it just doesnt have the option in set up
Read the damn assets in the editor there’s so much info there about all the base things you need to know
Just change gameplay config on assets (to None)
I said easy. I have tried several times and either I'm not doing it right (very likely) or it's not working
Hey guys, how do you get all the players in your plugin? Like something similar to Bukkit.getOnlinePlayers() from the Bukkit server software in Minecraft.
does anyone know how to get the block the player is standing on
How could I create a new event in the Hytale API? I would use something like this in spigot:
Bukkit.getServer().getPluginManager().callEvent(loginEvent);
Universe.get().players
It's the most easy way if you can't change a text don't even bother with it
Thanks!!
I’m a bit confused about where the .json files should live.
I checked a mod from CurseForge and noticed that there are no .blockymodel files, even though the .json files reference them.
Ain't the .blockymodel files included in the .zip you download from CurseForge?
can anyone share a code snippet for /command x1,x2,x3 i couldnt make arguments work
helpful 🙁
hytale[.]limetta[.]dev/concepts/events.html
Copy the asset folders from the hytale base just download the jar decompile the assets delete the common assets and the other things you don’t need and you’ll get an idea on how to structure your plugin / assets
The "Hytale Asset Editor", launched from Creative Tools > Assets > Asset Editor?
I've already published asset packs and get the gist of navigating that and adding files as needed.
thank you bro
I new to do a ClassName obj = new ClassName();
so I can do a public var = obj.value();
But ClassName is one of those things that aren’t supposed to do a = new ClassName(); or requires something inside the () or something but I’m to lazy to make a work around what should I do?
If you get that core idea it’s not that hard to add stuff on top the only thing is that you need to get a list of all the classes and methods as there’s a lot and can be confusing that’s how you make custom cmds and stuff
I'm using ItemStack and I'd like to add an empty slot. How do I do that?
I've tried "Air" or "null," but nothing works. Any ideas?
what happens when you use AIR?
How can I force /setspawn for rejoining the server and not spawn at my last location?
guys where is the code for weapons in game. are those data assets? how can i edit for example how the iron sword works?
Aight. That's the conclusion I came to. I just wanted to make sure I wasn't overlooking anything before I got started.
Thank you.
you can mess with that in the asset editor
ItemStack emptySlot = ItemStack.EMPTY;
which is in game?
plz I need help 🥺
i wanted to make the combat more like smash bros or something to test how it would feel
Can someone tell me how to fix my internet problem? I bought the game and I have a good internet connection, but the game is incredibly laggy; not a single block breaks, or it takes forever for them to break.
any official doc available ?
An item with a question mark appears
no
1s
So we need to dig in the code to implement features ?
if im not wrong devs said they will make one in 2-3 months
actually I’ll fix it on my own
is that works? ItemStack emptySlot = ItemStack.EMPTY;
there community ai docs use that but its bad idea to use imports in there %70 problem you can get fernflower decode and look the class names
any help this morning this is working but now this crash
Selected element in CustomUI command was not found. Selector: #drop1Special.Visible
Group {
// Top-level anchor: Bottom Right area (Above hotbar/status area)
// Root Container Size Update (160 width, 32 height)
Anchor: (Bottom: 85, Right: 350, Width: 160, Height: 32);
// Droplet 1 (Left: 0)
Group #drop1Empty {
Anchor: (Top: 0, Left: 0, Width: 32, Height: 32);
Background: PatchStyle(TexturePath: "thirstempty.png");
}
Group #drop1Full {
Anchor: (Top: 0, Left: 0, Width: 32, Height: 32);
Background: PatchStyle(TexturePath: "thirstfull.png");
}
Group #drop1Special {
Anchor: (Top: 0, Left: 0, Width: 32, Height: 32);
Background: PatchStyle(TexturePath: "thirstfull.png");
}
}
builder.set("#drop1Special.Visible", true);
builder.set("#drop1Full.Visible", false);
builder.set("#drop1Empty.Visible", false);
i can make a plugin for you 🙂
i need to get item rarity using item instance or id in the server.
Im trying to make an animation for my block that plays every time you interact with it.
Is there a way to reset a block state to a default after X time, such as the animation time?
hhii I’m looking for a mod for my server to delete items, for example like Simply Trash, but that mod doesn’t work for some reason.
you are setting something that does not exist your groups don't have the Visible attribute
I've got a working proxy, took a whileto make
Is there a specific channel to help with server creation issues. I'm trying to make a linux server and it just continues to fail and crash repeatedly no matter what i do
ty !
Right now my block animation works, but only on the first interaction. I want it to reset to default state after the animation plays.
curseforge/hytale/mods/trash-command
if items have those parameters then cant you just check if that item has any of those parameters? there is also an item quality underneath that so that may help
Is it possible to make new weapon abilities?
Yes it's possible
@gloomy marsh I'm using the IndifferentBroccoli docker image and it's working really well
{
"Parent": "Template_Weapon_Daggers",
"TranslationProperties": {
"Name": "server.items.Weapon_Daggers_Bronze_Ancient.name"
},
"Model": "Items/Weapons/Dagger/Bronze_Ancient.blockymodel",
"Texture": "Items/Weapons/Dagger/Bronze_Ancient_Texture.png",
"Icon": "Icons/ItemsGenerated/Weapon_Daggers_Bronze_Ancient.png",
"Quality": "Uncommon",
quality it there so cant you go off that?
So I could for example replace the right click, left click and ultimate ability with something completely different?
yes
Yes it's possible but you need to hard code all that
That's awesome thanks
I would even understand if this morning it wasn't working, but it was, I didn't change anything in this file, and now it doesn't work anymore
maybe you had another file that sets that and you removed it
Duck i don't did git add before : (
What file type do Hitboxes have ? So the BlockBoundingBoxes, is it like a blockymodel or how would that be ?
anyone know why PlayerConnectEvent.getPlayerRef() is giving me a null ref? Same with event.getPlayer().getReference() ... yes I tried even though it's deprecated
what are you trying to do exactly? maybe i can help you more but from the part of code you sent, that's what's missing the Visible part in each group
It's been probabyl asked a lot already, sorry in advance.
How do i get the PlayerRef when i have the Player . As Player.getPlayerRef is flagged as deprecated. What is the "right" way of getting the ref?
Also what is the purpose of those classes?
normally you'd get the ref from the same place you got player. getPlayer() is what's deprecated so naturally player.getPlayerRef is aswell.
If you got player from event, try event.getPlayerRef()
or event.getPlayer().getReference() rather
guys my code is
-# almost
fixed!
where can i find the weapon attack hitboxes guys?
Is there a channel / place to report bugs?
Ye i get it from an event.
With both of your suggestions i get a Ref<EntityStore>, is this correct? Can i cast this in a PlayerRef?
Ah. I am having the exact same problem right now. Are you trying to get from PlayerConnectEvent too?
how can i ask costantly at the server if the server is night?
Im trying to get it from the PlayerReadyEvent
that's what I meant my bad.. Yeah I'm in the same spot there
anyone know how to make a mob with plugins? ik there's ways for doing it with packs but I want to practice with plugins for later. i have all the model assets ready amd ive made a few simple plugins already im just not sure how to approach this, the mob implementations within hytale source have things all over the place and i dont really have a reference starting point
To have an update in the HUD I created several images and I keep activating and deactivating them with Visible to show a coherent thirst bar
guys I need help 😭
EntityStore objw = new EntityStore(); what do I put in the parentheses 😭
if i mod my world. when my friends join will they have to download the mods seperately or will the game automatically download them
why are you making an entitystore
Thank you for your attention, I'll try to find out what's going on with this
bruh
bruh
bruh
bot blocked
if i mod my world. when my friends join will they have to download the mods seperately or will the game automatically download them
auto downloads
Any documentation official or not official for plugins yet?
theres a few sites yeah
If you don't mind DMing me them please
theres some unofficial documentation but for now u just gotta decompile and comb through the server jar and assets yourself
if ur making plugins, packs are different i think
nothing
Using stuff from it
Can you make a pack within a plugin?
any1 know how to fix chunk loading crash
see thats what i wanna know, im not sure if you can but itd be a lot easier to add custom mobs/items
hytalemodding[.]dev/en/docs
hytale[.]limetta[.]dev
these are the ones i have found so far
Tysm
to the visible add opacity 100 or 0 to mimick the visible and not visible
Yeah im confused about it too. I got the plugin template open in idea, looking over crude sword to better understand things. Its name and description looks like it points to a translation file, but i cant find it anywhere. Is this something i need to create myself? If so where does it go?
Anybody using HyUI knows why this doesn't work? new HudBuilder() .fromFile("Hud/Hunger/Hunger.ui") .withRefreshRate(1000) .onRefresh(hud -> { hud.getValue("#HungerBarFill.Value"); UICommandBuilder cmd = new UICommandBuilder(); float hungerLevel = 50.0f / 100.0f; cmd.set("#HungerBarFill.Value", hungerLevel); cmd.set("#HungerBarFill.Visible", true); hud.update(false, cmd); }) .show(playerRef, store); ProgressBar #HungerBarFill { Anchor: (Width: 200, Height: 12); Value: 1.0; BarTexturePath: @AdventureBarFill; Visible: true; } the bar is full all the time doesn't switch to half, if i add some logs at the end then it does loop them every 1 sec
also trying to figure this out
i think theres a translation file in the assets somewhere
Does anyone know how to intercept ./commands that users send in a server?
I am using the CommandSender but this would require me to use a hook that intercepts it using mixin or such. Anyone have a better solution?
anyone know if there's a way to hide all the Hytale mods when doing /pl list? Kind of annoying to scroll through 84 hytale mods to see the ones i have listed
what do we have against mixins
I wonder if I should just like somehow “get the world” and put it in EntityStore(); cause I think that should work
yeah kinda annoying 😩
Just wondering if there is a better solution
fair
is there a way to make a plugin that copys a world and adds it with a new id?
you can do that but make sure you execute it with the right thread
i gona try ; ) thank u
Hello, please tell me what is causing this error: [2026/01/18 20:01:59 WARN] [AssetModule|P] Skipping pack at theahks_KitsPlugin: missing or invalid manifest.json
if u have a playerref you can use getEntityStore but you can't run that directly
Hi, is there any ref that helps me send something to a player if his name is the same exact in an argument?
When using ArgTypes.PLAYER_UUID, it can accept anything, even thought I want the input to be the same as the player name
how do you detect a player opening a chest? I haven't had much luck with packets or events but maybe I missed something
How can you detect when a chest is opened? I have tried with packets & events, but have not had any luck. I need to specifically detect when a chest is opened, and have access to the block
U need to delete system32
Whats the problem? Stores have references to the world they belong to
no-no
Its
store.getExternalData().getWorld()
Ive just looked in this chat so im unaware of prior context
So it looks like you're missing a manifest.json ...
I got it working with this ugly thing:
PlayerRef playerRef = event.getPlayer().getReference().getStore().getComponent(event.getPlayerRef(), PlayerRef.getComponentType());
How can I make my Hytale server connect via play,MyIP,com instead of edge,HostingIP,com:30013 currently play,MyIP,com:30013 works, but I want play,MyIP,com only. What am I missing?
This is the correct way to get a component using ECS
Oh sorry u need to delete Windows
i have a manifest.json:
{
"Group": "theahks",
"Name": "KitsPlugin",
"Version": "1.0.0",
"Main": "me.theahks.KitPlugin",
"Description": "Simple kits plugin",
"IncludesAssetPack": true
}
The plugin itself works, but I can't open the menu.
Spawn_Temple_Circle
*Rock_Volcanic_Cobble_Roof_Shallow_State_Definitions_Corner_Left
*Wood_Blackwood_Stairs_State_Definitions_Corner_Left
*Furniture_Lumberjack_Lamp_State_Definitions_Off
Wood_Gumboab_Trunk
What are the *'s for in the asset map?
I see that now
Is it in your resources folder?
hello guys where can I find a list of all server permissions?
Hello there!
I'm trying to create a Quarry block for a plugin, I need to instantiate an entity for the block interactions. But I'm kinda confused, because I don't know how to access the registry that has the newHolder method
Yes, the menu files are located in resources/Common/UI/Custom/Pages.
it's weird how this works for PlayerReadyEvent but not PlayerConnectEvent
how big of a scope is it? can I get an idea?
event.getPlayerRef().getReference()
Gets the Ref<EntityStore>
Am i understanding this right?
When calling player.getReference i get a Ref<EntityStore>. Is the Ref<EntityStore a reference to a component in the EntityStore. And not a reference to the EntityStore?
So Player is the Entity and PlayerRef is a component that Player has?
They have no body during the PlayerConnect so they probably wouldn't have a Player
nvm, figured out
Ref<EntityStore> is a reference to one entry marked in the Store<EntityStore> (One entity)
The Store is a database basically
Hey guys, is there a get all entities in radius sort of thing with the entity store? I tried looking but didn't find anything
If I add a custom block to my plugin am I allowed to add additional directories?
Server / Item / Items / myNewDirectory / myBlock.json
Have you tried setting your spawn?
Omg this makes so much sense now. Tysm ❤️
I suspect that this is because Assets files require a separate manifest, but I couldn't find one.
I'm trying to compile the server jar natively using GraalVM, and I'm getting a runtime error even before the server starts (at the parsing of arguments)... Any suggestions..? I have a not so powerful server, limited RAM and CPU
TargetUtil.getAllEntitiesInBox()
Made my own claims system with ui is there anyways I can pull the map into my custom ui so I can see the areas im actually placing in?
You could take a look how markers are added
Hey guys, sorry if it's a dumb question, but I tried looking at what documentation I could find online, but it wasn't super useful / couldn't find my answer.
I'm looking for the event that makes watered block be unwatered and/or when a player use the hoe on a block, does anyone have any idea what event those would be? I basically want to make it so that a watered block can never be unwatered if there's a water tile close...
Cannot invoke "com.hypixel.hytale.component.Ref.getStore()" because "ref" is null
This returns a null ref though
thx, with your method I found the TargetUtil.getAllEntitiesInSphere() which does take in a radius
Noted
Its was quite hard, I spent about 6 hours on it. Take a look at ClientReferral and then build a layer 4 proxy handler, write a new ClientReferral with the proxy host and referral data, then decode the packet on the proxy. Then you can route them to the correct server by crafting a new ClientReferral packet. The player changes servers with just 1 loading world menu.
Maybe the reference isn't made yet
PlayerConnect is very early
Need some mod/plugin ideas lol
How does one detect water blocks? They dont have an ID if you look at them ingame lol
there is a method on the player to send them to another sever lol
Which method
magic
How do I make a command work for any permission level, anyone knows?
thats what i thought lol, what are they making proxies for? I lack knowledge in that side of the modding but would love to learn
How to rotate BlockEntity? I'm creating it using
Holder<EntityStore> holder = BlockEntity.assembleDefaultBlockEntity(timeResource, "Deco_Rope", point);
and then trying to set rotation via
TransformComponent transform = holder.getComponent(TransformComponent.getComponentType());
transform.setRotation(rot);
but nothing happens
val a: Player = "" as Player
a.playerRef.referToServer()
Player Ref*...
That method wasn't helpful when I was creating the proxy,
Perhaps there are already those who have added their custom UI files. Please advise what you did to avoid this.
does anyone know how to avoid saving player last position on a world?
Has anyone been able to detect when a player opens a chest? I know there are interact events/packets but I haven't been able to get the block they interacted with
hey chat, do NOT override the update method on a CustomUIHud. That one mistake cost me several hours of my life. Yours truly, Carsonic
How can I make my Hytale server connect via play,MyIP,com instead of edge,HostingIP,com:30013 currently play,MyIP,com:30013 works, but I want play,MyIP,com only. What am I missing?
anyone have any github repos using the custom ui, I have not gotten mine to work
change your DNS Records to point to that port
I can lyk when i finish mine up in a bit
you mean like the UI for like /help right
yeee i got sum working i can send u some help in a few when i finish it
sweeet your a lifesaver, i kept getting so many selector errors I went to bed for the night
What error are you encountering?
I can help I have spent 5 hours of my life on this
I just need like an example then I could probably figure the rest out, I've been a c# dev for a few years but Java is not my favorite haha
What's the appropriate string to give myself 20 admantite ore?
youtube [dot] com/watch?v=u4pGShklEKs
I can give myself a single piece but not multiple
that youtube link has github in description too if u just wanna look at code. do NOT override the update method.
omg thank you
Is there any documentation?
I may have been overriding the update method....
Im trying to run my local server (just the hytaleserver.jar with default parameters) and it's not giving me any errors, but I don't see it on the local server list. Am I missing anythinf? whats the default port?
thank you so much, that is super helpful
literally cost me HOURS of my life that I will never get back figuring out what is wrong lol
Hii everyone I hope you're having a good time. I've got a question: What system/class are you using to check for an amount of specific items in the player's inventory?
just add localhost as adress to the serverlist
has anyone figured hwo to grab a players skin by there uuid with out them having to join server
oh damn it works, it just wasnt getting scanned I guess thank you!
how do i turn a playerref object into a player object?
curseforge
Lf an scripter for a really cool open world Solo Leveling Project
cursedforge
Anyone using the hytale-docs IntelliJ plugin?
theres a plugin? 😭
Go to hytale-docs under the tools tab
Why are my messages being blocked when im trying to paste code here?
cuz dumb discord settings
How do I cast a Player object into a PlayerRef object? Or do I just ignore supporting Player objects all together?
they stopped allowing messages from devs past dev908 and your dev 909
Ah damn
happens to the best of us
Has anyone here making plugins installed your hytale to a dif location?
is there a way to make a plugin that duplicates a world and adds it with a new id?
Would anyone believe me if I said we had a server running 101 players with 13GB RAM?
Is it possible to use a custom font for UI elements in hytale currently ?
Does anyone know how i can go and turn off drop on death and or the day and night cycles?
Anyone know if Player.isFirstSpawn is the first spawn since connecting? Or if it's the first time they have joined
yep i had 200 players on with 12gb ram
tuned it really nice like
wow
What server 👀
How to increase mob, animal spawn?
all on a android, id show pictures if i could but cant in here fold 4
How do I make a command work for any permission level, anyone knows?
im a content creator so live streamed while doing it, dev aswell can look me up on tiktok
New server jar version?
@Override
public boolean hasPermission(@Nonnull CommandSender sender) {
return true;
}
I made a custom stat
WeaponDamage in ressources/Server/Entity/Stats/WeaponDamage.json
and when i try to get the stat id
assetMap.getIndex("WeaponDamage");
it return 0, that mean it has not been successfully loaded, am i missing something?
Dehud
i didnt update the server when we did the test, so it was the first Jar
Considering the client and server versions can't mismatch that's impressive
ran it on a cellhasher if you know what those are
pahahha
I knew y'all were capping about 128GB 😭
no joke my guy! been around for a while!
its for Joining The World For The First Time
of course we limited chunks for players, and world generation to 5k blocks
Im trying to get my new system to tick but my new components apperently arent loaded on the new items bc the tick function is not called tryed it with the player component instead and everything worked fine. Does someone know what I did wrong
if we did a void world with like a pvp map im sure it could be optimzied further
does anyone know how to block people picking up stuff in spawn protected areas? like flowers n rocks n stuff
Whats that?
How do i make a custom block hitbox ?
We have 128GB on our bare metal but not assigned 128gb
I've spent the last 5 days changing so many settings, startup params etc
🤔
If I want an Entity to teleport somewhere, do I do it with theTransformComponent.setPosition(); method?
Yeah yall got it running super smooth. props
20 phone cluster.
i have a fold 4 one, so was 12gb of ram per phone 240gb clustered ram, but we only used one phone for the server and then used the other phones to handle connections essentially helping route trafic better
so 160 cores route traffic to the 12gb ram phone got just slightly under 200 players before it got concerning haha
So you run servers off phones instead? Lol wth
have for a while! slept on cheap method! only 5 watts per phone too
so makes it worth it imo for home hosting
Anyone know if theirs a docker version of the server files yet? Kind of scared to open a server for prerelease software that probably has security vulnerabilites.
Yea, right now I have an old SuperMicro Server, 64GB RAM 64 Threads. It runs 200W Idle 😔😔😂
I have one of those too!! love them hahaha
use it as my AI server tho 8x 4090 rn
I have a Nitrado server 😭 ts so slow
Have a look at InteractivelyPickupItemEvent and cancel it
They're really nice. I like the chassis a lot this is my first server. I used a laptop with added 16GB SODIMM RAM. 4GB Soldered
I wish I was ballin like that 💔 That's the Dream though. 🙏
wow! wild stuff haha
I actually bought some modules and chips to do my first ddr5 ram moduels
anyone know a simple method to get head/eye level position of any entity?
Does anyone know what library they're using for the UI in this game? I noticed the .ui files, and they use some interesting syntax
waiting for them to arrive, if it works its essentially roughly 30% cheaper than buying from the store rn
soldering of course
Is that much cheaper? I heard of people doing that but how do you even source them?
china, so could be sketch
I guess only one way to find out 😂😂
exactly lol
Anyone know how to register a keybind in hytale specifically?
How to make URLs clickable in Hytale chat?
I'm making a plugin that needs to send URLs in chat. Currently I'm using:
player.sendServerMessage("Visit: page)
But the URL appears as plain text and isn't clickable.
How do I schedule a task for next tick?
is there an issue with the newest server jar version? I updated it no I have to delete the world folder to start the server 💀
pretty soon ill have a AI assitant up for you all with teh codebase decompiled vectorized and docs for all classes, takes about 3-5 days to train a model that can actually be usefull and create acurate docs, leaving out the deprecated methods
Let me know how that goes 🙏🙏
is there Any docs about texture packs?
Thanks!
lmk if you need help tunning the server up
noticed its a pvp server so it can be tuned alot btw since im assuming you dont need a full map or extra cunks/view distance and player packets
Is there an event triggered that dries the soil? If so what is that event?
how can I interact with the world with the ECS systems?
assign the command a permission and just give everyone that permission with the PlayerReadyEvent
Can anyone help me with detecting the players death? Is there some sort of event that I can listen for?
public class OnPlayerDeathEvent extends DeathSystems.OnDeathSystem {
public Query<EntityStore> getQuery() {
return Query.any();
}
public void onComponentAdded(@Nonnull Ref ref, @Nonnull DeathComponent component, @Nonnull Store store, @Nonnull CommandBuffer commandBuffer) {
Player playerComponent = (Player)store.getComponent(ref, Player.getComponentType());
DeathComponent deathComponent = (DeathComponent)store.getComponent(ref, DeathComponent.getComponentType());
if (playerComponent != null && deathComponent != null) {
String playerName = playerComponent.getDisplayName();
String deathCause = deathComponent.getDeathMessage().get
This is my setup for it.
If you can get 60 players in a single arena with no issues at all (4 chunks) then we would absoloutley love to hear it
- all pvping
( We couldn't )
extend the DeathSystems.OnDeathSystem and see how to use it, there is a page for it on hytale modding dot dev
You are an absolute godsend. thank you.
not possible yet, that I know of
Can i create worlds with the api? Lets say for example islanf world for each player. Or its not yet supported?
Shouldnt be an issue, are you hosting locally? or with a service? whats your gib up/down? are you proxying/ or direct relay?
Not sure if I'm just missing something, but does the handleAction function of the Window class never fire?
Trying to check for WindowActions with an inventory open, but never receive any response.
did you figure out your issue? just encounter the same problem and im not sure if its a known bug or a mod conflict.
Holy crap, setting custom per-player spawn points is a pain
world.getChunkAsync(index).thenAcceptAsync(chunk -> {
Teleport teleport = new Teleport(world, transform);
store.addComponent(player.getReference(), Teleport.getComponentType(), teleport);
});
Why my tp to other world not work...can someone explain
If I wrap the tp in world.execute() and thread error occur
Hello, we can't add our mod in community-fan-art, its full 🙁
I would share my mod 😄
has anyone had any luck with this and would be willing to either send me your code or walk me through it, if you are willing to just quickly copy paste it to me thatd be all i need lmao
What would you do with an infra with perfect speed and a bare metal machine that has "unlimited" resources?
Where are you doing this? Command? PlayerReady? PlayerConnect?
Is there a way to delay something until next tick without using a ticking system?
no command, just my class logic handle
a scheduler maybe
how
I tried smth like commandBuffer but it doesn't have any .schedule() method
In the class you’re extending the command base or whatever abstraction you choose. Just do this.setGameMode(GameMode.Adventure);
Vector3d spawn3d = desiredWorld.getWorldConfig().getSpawnProvider().getSpawnPoint(ref, store).getPosition();
Vector3f spawn3f = desiredWorld.getWorldConfig().getSpawnProvider().getSpawnPoint(ref, store).getRotation();
store.addComponent(ref, Teleport.getComponentType(), new Teleport(spawn3d, spawn3f));
This is what I use, if you want to specify a certain world, you'd do Teleport(word, spawn3d, spawn3f) in addComponent
Universe.get().addWorld(id).thenAccept(world -> {
world.getChunkAsync(index).thenAcceptAsync(chunk -> {
Teleport teleport = new Teleport(world, transform);
store.addComponent(player.getReference(), Teleport.getComponentType(), teleport);
});
});
Here is my current code
HytaleServer.SCHEDULED_EXECUTOR.schedule(() -> {
System.out.println("100ms later!");
}, 100, TimeUnit.MILLISECONDS);
Ig you can use 30 since thats the tickrate, idk how accurate it is though
first where was it bottlenecking?
Wass it network? was it client? was it threads or memeory?
you could even go the gpu route and use vram instead of classic ram just needs a small rewrite of the HytaleJar with a recompile, (yes that can be done) its not obfuscated
Lf an scripter for a really cool open world Solo Leveling Project
Guys, does anyone know why some players get this error when logging into the server?
"FAILED TO CONNECT TO SERVER
An unexpected error occurred"
can a server plugin ship an exe? and also run it on the server and the player side?
no lol
F
if you need a website for your hytale server, check out my about
that would be a serious security issue lmao
okay and what about the mod talking to an external app for example via websocket?
Doing that.
that's probably possible, but it would probably need to go from client to the game server to webserver
what are you trying to achieve? caue websocket only works on web
not websocket, but using udp for voice
send me a DM about that
websocket aren't just a web thing
its kinda in the name though 😭
they can be used for cross app communication and data exchange
If the mode is 60 players in 4 chunks and full PvP, I’d treat it like an arena first and a hytale world second. The only way it works is by limiting who actually matters to who each tick. Every player doesn’t need full collision, hit resolution, and state updates against all 59 others at once... only the people in immediate combat range or recent interaction. I’d keep the world mostly frozen, strip out non-PvP mechanics, focus the server on fast, deterministic hit resolution and damage events, with everything else being predictive or visual.
No hard instancing, no teleports, just smart relevance and authority slicing so fights stay fair and responsive without the server choking.
if you want me to explain that more ^ i can Aidan
Hello everyone!
Please share links to unofficial Hytale documentation.
Thank you very much in advance!
websocket is a server created to connect between a client and the server to send and receive that and it only works on web
at thatpoint just go play warzone or something
Hey guys, what's up, i was just messing around with the server jar and generated some ai-based documentation for the internals. If anyone wants to take a look, the link is in my profile.
Let me know what you think, should I keep improving this, leave it as is, or just nuke it? Curious if it's actually useful to anyone.
Server runs at 1% cpu 👍🏻
The simple answer is: with the current state of the game it's impossible.
We fixed our issues by load balancing people across different worlds (different threads)
total or on every core? cuz idk how multithreaded Hytale is tbh
Do we have any documentation about the structure of the interaction jsons?
I guarantee you couldn't get 60 players in a server with no issues all pvping at once within 4 chunks with eachother
no one can yet
do you know how i can tp someone to worldspawn in my plugin?
world.getWorldConfig().getSpawnProvider().getSpawnPoint()
Is there a place where people advertise servers?
can you run a command through a plugin? i just want to run /world load
I wanna work on a server with some people, but I have no idea where to find them
How can I send a packet to a player to update their movement settings?
Reddit (Thrid Party) / Server-Lists (Third Party)
Are there any mmorpg servers?
thanks man
guys how do you put a custom ui onto a block like the benchs?
Yall how do i detect a player opening a chest, and then have access to the chest block they opened
i mean i didnt try but im sure u know xd
Isn't there an event for this?
BlockInteractEvent?
UseBlockEvent.Post
Was the only event that looks associate with it and you can cancel it havent used it myself so you need to try 😄
Im creating a custom workbench. If I wanna use one of hytales default Category Names can I just refernce them?
"Name": "server.benchCategories.workbench.survival"
Or does the .lang file of my plugin need to have this?
There are a few events. One is deprecated, and the rest dont fire or dont have the target block
is that the one that blocks you from picking up flowers n rubbles n stuff? if i deny it ofc
I wish hytale had better documentation
All documentation I found was either ai, or french
UseBlockEvent.Post
See how I used it on github: jvnm-dev/hytale-ancient-waystone-mod/blob/master/src/main/java/dev/jvnm/plugin/systems/BlockUseSystem.java
Bruh theres post and pre? Thank you
hytalemodding and hytale-docs have been fairly useful but tbh use hytalemoddings guide to decompile the server and you'll be able to at least search for functionalities that you need
Intellij decompiles it
But still, decompiled code isn't documentation
I used github[.]com/search with chunks of code I wanted to know more about like "extends EntityEventSystem<EntityStore, UseBlockEvent.Post>"
yeah but you can't search it using the way intellij decompiles
Just some quick guides on how events, commands, etc work would be hreat
You will only need the lang file if you create a new category, using an existing category is not necessary.
does anyone know how to get information about the block the person is standing below
Use Universe class to get world, get player, get block at position y-1
hytale-downloader is up to date (2026.01.09-49e5904) but in client I'm seeing Version: 2026.01.17-4b0f30090 how can I tell server is in lastest version?
Can anyone help me? Im trying to replace the eating sound effect with a custom audio file. Whenever I go to eat in game, I keep getting no sound and this error in chat: Missing interaction: **Template_Food_InteractionVars_ConsumeSFX_Interactions_0
is it possible to then break this block
Since I am seeing no dinos :C
Is there a way to see a list of the currently spawned entities in the world (possibly with the components they have)? I need to check what components my spawned entity has when I reload my plugin, so would be nice if a debug tool like that existed already.
Has anyone dealt with a custom GameplayConfig?
I'm trying to learn more about this. But I can't seem to get it working
GUYS IS THERE A EU GOOD SERVER
how di i register this?
it doesnt say on the docs and it isnt firing by just defining it. there must be a way to register it surely
No clue, maybe its possible to .setBlock into air ?
private void registerEvents() {
this.getEventRegistry().registerGlobal(PlayerReadyEvent.class, OnPlayerReadyEvent::onPlayerReady);
this.getEventRegistry().registerGlobal(PlayerChatEvent.class, OnPlayerChatEvent::onPlayerChat);
this.getEventRegistry().registerGlobal(PlayerDisconnectEvent.class, OnPlayerDisconnectEvent::onPlayerDisconnect);
this.getEntityStoreRegistry().registerSystem(new OnPlayerDeathEvent());
Logger.info("Events Registered.");
}
oh, that simple? sorry to waste your time lol. ty!
"No world available to join". How to fix this error?
How do I teleport an entity, just add a teleport comp and then?
You are all good XD took me a while to get it working. Dev github in my profile has the open source for that project with all the code if you need it.
Why does my connection always time out connecting to servers?
Anyone know why my buttons appear inside each other?
This is how i append them
public void updateChoices(Choice[] choices) {
UICommandBuilder uiCommandBuilder = new UICommandBuilder();
UIEventBuilder uiEventBuilder = new UIEventBuilder();
uiCommandBuilder.clear("#Options");
for (int i = 0; i < choices.length; i++) {
String selector = "#Options[" + i + "]";
uiCommandBuilder.append(
"#Options",
"Gui/OptionEntry.ui"
);
uiCommandBuilder.set(selector + " #Text.Text", choices[i].getText());
}
sendUpdate(uiCommandBuilder, uiEventBuilder, false);
}
This is the contents of OptionEntry.ui
Button {
Padding: (Full: 6);
Style: (
Hovered: (
Background: #000000(0.2),
)
);
Label #Text {
Style: (RenderBold: true);
FlexWeight: 1;
}
}
Lack of layout mode I assume.
Is there an intellij plugin that support .ui already ?
Set it to Top
do we not have a public documentation
There is, but just use HyUI. Much easier.
Hi :), is it possible to create custom "Inventory GUI" I mean, create an inventory with items inside it, and show the inventory to the player, and interact with it, like in Minecraft :>?
Has anyone tried animal-growth by EdgeTypE? or someone knows any better animal growth mod?
Hello, does anyone have the code to find out who owns a world? Have you tried it?
PLEASE! how do you make portals to other worlds?
Oh damn you are a saviour!
Lf an scripter for a really cool open world Solo Leveling Project
Anyone had any luck with setting per-player spawnpoints and wouldnt mind sending me their code?
i dont need any explanation or anything i just need to see some working code and i'll understand
still caant find Hytale plugin API JAR
does anyone know what the InteractivelyPickupItemEvent event does?
brain is starting to hurt
What do you even mean?
bro, just import whole server.jar
the api is just a decompiled server jar
I managed to find it, it was because I was using the multHud system and then for some reason I couldn't access the attributes since the hud was already loaded
i did that and i think i fked something up
you just decompile a server jar and look at all the classes
if you have .class files thats all you get
nothing "tells you how to do stuff" you look at how the source code runs and go off that
great glad you found out and fixed it good luck
okay thanx, iv been haveing such brain fog about it lol
lol no worries
But I think if there isn't a fix, it will be a headache to have mods that customize the hud working together
ty ❤️
@copper summit I have a bit of a jig for spawning players in different spots. how are you trying to determine where the player will spawn?
let me tell you is been a headach lol
heya, i need some more help. when i get the player death event thingy, i want to send the players back. i do this by adding the teleport component back. but it doesn't like me doing it from the deathsystem. how do i do this safely? I can't seem to find a way to register an asyncEvent.
java.lang.IllegalStateException: Store is currently processing! Ensure you aren't calling a store method from a system.
I am trying to add /is setspawn to my skyblock plugin
i can get the transform easily
oh your doing the skyblock! im excited for that
or a vector or whatever is needed
How am I supposed to teleport item drops? Do I just add a teleport component cause I tried and it didn't work
its possible change item name? type DisplayName?
ew french
I just want to make a mod for thirst and Faith
Yes
why tf would you add faith to a game???
Can anyone help me? Im trying to replace the eating sound effect with a custom audio file. Whenever I go to eat in game, I keep getting no sound and this error in chat: Missing interaction: **Template_Food_InteractionVars_ConsumeSFX_Interactions_0
do you have to say bismillah every 10 seconds or you die??
why not ?
Check out my Discord profile, i made a Gitbook with all the server jar packages explained.
Any clue @pale crest ? I am not familiar with systems at all so i dont have a clue. sorry to ping.
is it AI generated
is this for actually dying and respawning? because thats all i need help with. i just need to know how to respawn players in specific coords
Not this kind of faith, and based on sanity, imaginary monsters and loots for luck
yes, maybe its useful
Is there a workaround for PlayerInteractEvent and PlayerMouseButtonEvent ?
What class do i need to extend to add functionality to a custom asset?
For an api plugin using the Player object... should I enforce PlayerRef objects or is it safe to use both?
Okay, but how do I do that?
You can use both fine
possibly register an event to trigger a little later in in a new event? Im really not sure i have yet to try anything like that
Is there equal info to be gathered from Player and PlayerRef? Or is PlayerRef the only one connected with the ECS store?
I mean you can get the player object from the playerRef, the only difference is that the playerRef holds everything about the player and its connection, the player object is just about the connection in the world.
Ah. Nope. I'm still trying to get that too.
I guess, but AI docs often fail to explain anything more than what you can already tell by reading the src for 5 seconds
I have a cheap and powerful hosting for Hytale message me for offers