#server-plugins-read-only

1 messages ยท Page 92 of 1

strong musk
#

unskippable or it doxes you/j

covert shadow
#

How to fix the RAM leak? I have a 12GB server and it hits max ram with only six people on

odd gulch
#

yeah i know i mentioned network logs lol, but joining a server with 100 mods means you're trusting a lot more people than just the server owner. It's not like there's much they will be able to do but the less people with my info the better

ornate root
#

i wonder if anyone knows if its currently possible to mod in alternate combat, like would it be possible to mod in directional melee combat? I'd imagine it would need a server plugin, but i want combat where someone throws an attack from the left and the other player has to match the direction to block it

zinc flint
rose atlas
alpine patrol
ornate root
alpine patrol
sick creek
civic zephyr
ornate root
#

yeah but thats the same in mordhau, im talking if i am infront of u and i swing at u from above, u have to block the above attack, not just rightclick and it blocks the entire attack without the direction mattering

odd gulch
alpine patrol
covert shadow
#

No, like, one player represents 1gb, one server need have 200 gb to have 200 players actively? This is insane

ornate root
alpine patrol
sick creek
modest bay
#

anyone working on a lootr like plugin? (unique per player lootable chests, mmorpg style)

ornate root
covert shadow
woven halo
#

Searching still people who want join to make a network ๐Ÿ™‚

pallid remnant
#

Does anyone know what's causing this error? The server was working before, but I created a new one and now I'm getting this error.

2026/01/21 06:24:14 FINE] [LoginTiming] Add To Universe took 47us 950ns
[2026/01/21 06:24:14 INFO] [WorldMapTracker] Started Generating Map!
[2026/01/21 06:24:14 WARN] [Entity] getPositionComponent called async [CONTEXT ratelimit_period="5 MINUTES" ]
java.lang.Throwable
at com.hypixel.hytale.server.core.entity.Entity.getTransformComponent(Entity.java:278)
at com.hypixel.hytale.server.core.universe.world.WorldMapTracker.tick(WorldMapTracker.java:151)
at com.hypixel.hytale.server.core.universe.world.worldmap.WorldMapManager.tick(WorldMapManager.java:149)
at com.hypixel.hytale.server.core.util.thread.TickingThread.run(TickingThread.java:89)
at java.base/java.lang.Thread.run(Thread.java:1474)

[2026/01/21 06:24:14 WARN] [Spawning|P] Marker 7ecc6154-ec7c-3b1d-8162-2a8291b66bd2 at Vector3d{x=121.57203674316406, y=32.0, z=194.89744186401367} removed due to repeated spawning fails of Skeleton_Incandescent_Fighter with reason: TOO_HIGH

#

and close the server :(

alpine patrol
# ornate root you dont understand what dmc is

you came here asking for directional blocking. we already have directional blocking. if i block and look to the north, i can get attacked from south, east, west, bottom and top. idk what other directions you need

alpine patrol
ornate root
#

like i said u dont understand directional melee combat

alpine patrol
odd gulch
ornate root
#

already explained ur just baiting lol

alpine patrol
#

ok buddy

#

then you wont get help with your non existent issue. not my problem lmao

ornate root
#

u couldnt help anyway, you havent even heard of DMC

alpine patrol
#

maybe i could help if you would explain to me how the mechanic works. just cause i don't know every mechanic from every game out there doesnt mean i dont know how to implement it, once the functionality is explained to me

slim dawn
mortal gate
slim dawn
#

women are scary, sorry

alpine patrol
alpine patrol
mortal gate
alpine patrol
#

is the server an ip logger? ๐Ÿฅ€

#

i was just joking haha dont worry

ornate root
#

okay unga bunga time 4 attack directions, up, down, left, right I throw an overhead attack, you must block up to block the overhead attack so move your mouse up slightly and right click to block the up direction, to throw an up attack you must move your mouse up slightly and left click, this can be done in any of the 4 directions. The player can feint an attack by pressing a hotkey where an attack animation will play and then stop. And to be more clear, the directional attack is the weapon will come from the up, down, left or right in the first or 3rd person view in which the player being attack to block it must match the direction with their own weapon but right click instead to play a directional block animation to then block the attack

alpine patrol
#

im not even reading past the first line. unga bunga time for you. if you are so smart, you shouldnt need to ask for help in this channel :) not knowing how to code a mod makes you 10 times dumber than me not knowing the combat system of a game lol

ornate root
#

ive already made a few mods, im asking if the complex nature of the mod im asking about is possible

alpine patrol
#

well if you have even the most basic understanding how hytale and its API work, you would know that its not possible

ornate root
#

Cool, thats what i was looking for o7

#

haha, someone proved u wrong already thanks for the fun

stark tulip
alpine patrol
#

bro is having delusions

ornate root
#

another discord im in, i asked and recieved helpful information

tropic nest
#

Hello (sorry if this is the wrong chanel), I was wondering something about the asset editor, is there a way to make an interaction bypass an interruption rule?

ornate root
#

that the mod i was asking about in here, directional melee combat, is possible with the use of plugins

mortal gate
#

How?

ornate root
#

they mentioned a mixin plugin makes it possible, ive just started making in hytale and have very little experience with coding so idk any details but ik what i want to make is difficult

mortal gate
#

Early load plugins? i know they CAN change some default server behavior but its gonna be very difficult :/

tropic nest
#

The reason I'm asking is because I'm just trying to make this LaunchProjectile interaction more consistent as blocking seems to sometimes stop the projectile from spawning if you do it too close to the start of the Primary. It can be solved by removing the rule but then it would be inconsistent with all other swords

tall whale
#

Hello, how can I obtain the player's language? When I do player.getPlayerRef().getLanguage(), it tells me that playerRef is deprecated.

random briar
#

i am tying to use playerinteractevent, and nothing happens

dusky sable
#

Is anyone interested in helping me test my skywars plugin?

bronze trench
#

The question is when? On weekend or today?

latent turret
#
[SERR] Reallocate: 131072 to 1179648

[HytaleGenerator] Duplicate export name for asset: Plains1-Gorges-BaseTerrain

[AssetStore|EntityEffect] Unused key(s) in 'Food_EffectCondition_Buff_Small' file /Server/Entity/Effects/Food/Buff/_Deprecated/Food_EffectCondition_Buff_Small.json: Type, EntityEffectIds, Match, Next, Failed

[BlockSetModule|P] Creating block sets: Failed to find hitbox name 'Fence_Corner_Thin'


Id: Tool_Hatchet_Crude
Path: /Server/Item/Items/Tool/Hatchet/Tool_Hatchet_Crude.json
Key: Recipe
Results:
        WARNING: Bench Requirement in recipe for 'Fieldcraft' should not have a delay (TimeSeconds) set!

[2026/01/21 06:55:19   WARN]                [AssetStore|Item] Failed to validate asset!
Id: Bench_Builders
Path: /Server/Item/Items/Bench/Bench_Builders.json
Key: Recipe
Results:
        WARNING: Bench Requirement in recipe for 'Fieldcraft' should not have a delay (TimeSeconds) set!

[2026/01/21 06:55:19   WARN]                [AssetStore|Item] Failed to validate asset!

[AssetStore|Interaction] Unused key(s) in '**Weapon_Staff_Thorium_InteractionVars_Staff_Cast_Summon_Charged_Interactions_0': Costs

What is with all these warnings when I boot up server? Is there a way to remove them?

oak dome
#

Hi everyone kan enyone tell me what the unique idetifier is on a player that i can use. I saw that the player had a uuid but it was flagged as depricated.

random briar
#

how can i use the playerinteractevent, nothing happens when i try to use it

limpid remnant
#

Lookign for this also.

loud igloo
#

I'm using component.setShowDeathMenu(false) in my OnDeathSystem but the respawn screen still shows. You mentioned I need to use getDependencies for system ordering, how do I make my system run BEFORE the built-in death screen system? What should getDependencies return?

wary lion
#

finally finished my module system, modules are compiled jars that are loaded from the mod data folder

lament zodiac
#

Does shutdown() run on player quitting the game or does it run when the server shuts down
or is there an event that's the quit equivalent of PlayerReadyEvent

civic zephyr
#

One of the systems might be running after yours and turning the menu back to true

#
public Set<Dependency<EntityStore>> getDependencies() {
        return Set.of(
                new SystemDependency(Order.AFTER, DeathSystems.PlayerDropItemsConfig.class),
                new SystemDependency(Order.BEFORE, DeathSystems.DropPlayerDeathItems.class)
        );
    }

Heres an example

#

You can stack as many of these as you want theres just two here in this example

gleaming temple
wary lion
civic zephyr
north current
#

anyone know how to make floating text?

tropic nest
#

Ah I found out how and I feel a bit dumb, I'll put it here for people searching just in case. For context I'm modifying a sword in the asset editor to launch a projectile when you swing the weapon but came across a bug where blocking to early would occasionally stop the projectile from spawning.

This is because there is a Rule set on the Secondary Interaction in Root_Weapon_Secondary_Guard to interupt the Primary interaction. To make it not occasionally stop the projectile from spawning you need to remove the interruption rule on the Secondary and set an Interrupted By rule on the sword swing selector interaction, in the case of the item Template_Weapon_Sword it would be the Weapon_Sword_Primary_Swing_*_Selector.

wary lion
#

you've been so incredibly helpful one of the staff here should give you a special role

loud herald
#

Not sure if anyone replied to you. In the graddle.properties was use_insecure_auth=true i changed it to use_insecure_auth=false. Then when you start the server you need to do /auth login and login through browser. Gradle was by default running and not allowing me to type commands so i had to get copilot to make it change the gradle task to instead spawn a cmd window with the server so i could enter commands.

gleaming temple
loud igloo
nocturne kettle
#

I'm looking for someone to help me out with a plugin. I am wanting to try to use the one of the gateways or teleporters to connect to an external server. I know there is the [SYXS] Multi-Server Warp plugin but I dont think it does that

civic zephyr
wary lion
#

hes grinding rn

civic zephyr
#

You have to make a dummy entity

north current
#

With the NPC system you told me about or just adding an entity?

knotty holly
#

Is it possible, or has someone: created a mod that makes it so barriers dont cast shadows?

loud igloo
# wary lion like its insane

I mean I am a beginner, im bruteforcing 90% of my stuff ๐Ÿ˜‚ But this discord chat has saved my ass a bit

civic zephyr
wary lion
#

i'm working on simplifying the event system with a friend because the hell i went thru just to do a block place and break message imma publicly release it

civic zephyr
#

Or you could save yourself the trouble and just make a new entity role that does nothing, has no model, and then you give it a Nametag

hearty iris
#

Im noticing hytale has built in persistent data for players... Is there any reason to use this instead of a database?

wary lion
civic zephyr
dusky sable
#

Is anyone interested in helping me test my skywars plugin?

hearty iris
civic zephyr
civic zephyr
#

One component can have as many variables as you want as long as your codec supports every variable

glad juniper
#

@civic zephyr Do you know if Hytale disabled merchants with the recent update? I cannot test properly when I cannot even open the default merchants for troubleshooting ๐Ÿ˜ข

hearty iris
#

I guess we just keep appending values then in the builder

random briar
loud igloo
glad juniper
civic zephyr
#

Theres a bug with NPC interactions where they don't work in creative

hearty iris
civic zephyr
glad juniper
#

Thx for this info I wasted 3 hours ๐Ÿ˜„
aaaa

hearty iris
wary lion
#

what am i saying thats being flagged as advertising i'm so confused

gleaming temple
knotty holly
rose atlas
#

DOES ANYONE KNOW HOW TO MAKE PLAYERS JOIN AT WORLD SPAWN EVERYTIME?

civic zephyr
hearty iris
loud igloo
rose atlas
civic zephyr
empty wyvern
#

how to apply damage to other player?

random briar
civic zephyr
#

They're just an alternative if you don't want to store a config or a textfile or keep everything in a database

hearty iris
gleaming temple
civic zephyr
#

Do you mean the refer to another server's additional data can have a max of 4MB?

loud igloo
#

@civic zephyr how much you charging for java/hytale modding lessons? ๐Ÿ˜‚

random briar
loud igloo
#

Id deadass pay you to get me up to a good level since I am a beginner hahah

civic zephyr
# hearty iris Yeah

I think thats exclusively for custom data, but I suppose you can serialize components in there too

graceful marsh
#

not sure if this is the right chat for this question but im after a hosting website, to start a hytale server. any aussgestions

gleaming temple
civic zephyr
hearty iris
storm nest
#

en el de mi perfil hay de latinoamerica principalmente y tenemos vc en ds para socializar xd

violet flame
#

anyone know why a mod will work but not be under the mod list?

civic zephyr
civic zephyr
#

Could be any byte array

random briar
#

i just want to be able to use /deposit for a npc, but how to detect that interaction event

gleaming temple
nocturne kettle
#

I am wanting to make a plugin for a server where u have a lobby and a teleporter warps you to another server. PM me if you can help

loud igloo
#

Last question @civic zephyr

I'm setting component.setShowDeathMenu(false) and component.setDisplayDataOnDeathScreen(false) in my OnDeathSystem with Order.BEFORE PlayerDeathScreen, but the respawn screen still shows. Is there a way to completely prevent the death screen from appearing, or do I need to manually close the RespawnPage after it opens? I want to instantly teleport the player to another world on death without showing any death UI.

random briar
#

its deposit players coins which they have in there inventory

civic zephyr
#

After everything you can

wary lion
random briar
civic zephyr
# civic zephyr After everything you can

I got instant respawn working fine without any respawn screen by just turning the deathmenu off (And then removing the DeathComponent), but I put like every deathsystem I could in Order.AFTER

last tundra
#

Guys, can i add an extra place after the backpack tab in the inventory? for an skill tree tab for example

wary lion
#

i lowkey hope a fork of the hytale server is released with a simplified api that'd be amazing for modders

#

or at least javadocs

random briar
#

it had target block and entity but its gone i guess?

wary lion
#

see ive used ECS for a while but i only used it for player profiles and bro this is just a lot ๐Ÿ’€

loud igloo
civic zephyr
#

Have you got that and are just wondering if theres an interaction to execute a command? Because I don't think there is, but I can check

random briar
civic zephyr
#

You can register your own npc interactions easy

fleet plover
#

I have not yet tried making plugins for hytale, but is it possible to change core/private methods of the server ? I'm thinking of not rendering certain entities to some players

civic zephyr
loud igloo
#

I managed to create an invincibility bug now though LMAO, if I die in my 2nd world, get brought back to my 1st world, go back to the 2nd one and try to die again I am just invincible

random briar
civic zephyr
#

Are you removing the DeathComponent when you TP them or are you just TPing them

civic zephyr
#

You can look at NpcPlugin.class for all the interactions they have (There are a few more elsewhere but those are for shops)

wary lion
#

ngl im gonna make a chat color mod/lib that simplifies chat colors to just like mc ngl & and ยง with gradients, formatting, links and nesting

civic zephyr
#

And it shows you how to register them

random briar
wary lion
#

its so annoying to use the default color system tbh

fleet plover
#

@civic zephyr there is no official documentation, but the classes are not obfuscated ? I'm trying to understand how to start modding ngl

civic zephyr
#

They're basically expecting you to decomp and poke around it as of right now

fleet plover
#

Ok nice

wary lion
#

2,959 classes across 664 packages tho

fleet plover
#

Gonna take a look at it and watch some ressources

civic zephyr
#

Lots of those are junk util libraries

wary lion
#

that is true

neon dune
fleet plover
wary lion
fleet plover
#

At least I hope it helps navigate lol

wary lion
#

there is definitely some junk utils in there

civic zephyr
#

Ive removed everything else practically (Just com.* is what I look at/index)

fleet plover
#

Ty

neon dune
civic zephyr
#

Yeah I meant libraries

neon dune
#

my b. lol

fleet plover
#

If I want to make the server not render certain entities to specific players, how could I do it ? (I don't mean the algorithm or anything, I just saw that there is packets package with entity updates methods, but not public if I understood it)

civic zephyr
fleet plover
#

Oh

civic zephyr
#

In your case you would want to register an outbound listener like:

PacketAdapters.registerOutbound(new YourPacketWatcher());
fleet plover
#

So you can listen to specific packets and modify/drop them without changing the class itself?

#

Thanks mate

civic zephyr
#

Im not sure if you can just drop them but you can definitely zero out the data

fleet plover
#

Gonna try it tonight ๐Ÿ™

hearty iris
#

Anyone know the non deprecated way to spawn an entity.

civic zephyr
hearty iris
civic zephyr
hearty iris
#

And is the Store<EntityStore> parameter the world's entity store i want to add it to i assume?

civic zephyr
#

Yeah

hearty iris
#

Sweet ill try it out

fleet plover
#

Do you recommend any resource to start modding hytale @civic zephyr ?

civic zephyr
#

But im sure there are perfectly fine community docs out there

fleet plover
#

๐Ÿ‘Œ

glad juniper
#

@civic zephyr I got as far as to make my custom entity to open the barter trading ui,.I already got my ui I want to open instead. But I just cannot seem to figure out on how to open a UI that is not the barter UI. It seems like there is a OpenCustomUI action but this only works for blocks apparently and not for NPC roles. Do you maybe know where my gap is? ๐Ÿ˜„

civic zephyr
#

Have you made one already?

hearty iris
#

Any way to access the main class without passing it through constructor every time i need it?

hearty iris
civic zephyr
#

Oh just make a static instance field

hearty iris
civic zephyr
#

What didn't like it?

#

Thats what all the built-in plugins do

#

They just have a .get method for the static instance

hearty iris
glad juniper
civic zephyr
glad juniper
civic zephyr
#

Thats how they register it, you have to make a builder, but those are easy to make, they don't need to be complicated

glad juniper
#

You are an angel
Thank you yet again, learning more step by step

#

Coming from a SAP framework JS background, Java is beating my bum a lil bit but it gets better ๐Ÿ˜„

hearty iris
#

Anyone know how to get a ModelReference

#

nvm figured it out

dusky sable
#

Is anyone available to help me test my skywars plugin?

slim dawn
fast vine
#

Hi! Where I can download servr files?

flint cloud
#

Yo, hablame al MD

hearty iris
civic zephyr
hearty iris
dusky sable
#

Hey @civic zephyr. By any chance do you have 5 minutes to help me test my plugin?

civic zephyr
#

Just check the models menu ingame

hearty iris
civic zephyr
hearty iris
tranquil tendon
#

hi. does anyone know how to create a new world instance in code with a specific WorldStructure which was defined in json?

oak dome
#

Hi everyone, can anyone tell me how to get the uuid componet of a player out of the PlayerReadyEvent?

exotic crown
#

does anyone have a dedicated server? have you guys ran into issues where there are mobs that cant spawn versus a normal singleplayer world? ex: [2026/01/21 08:09:45 SEVERE] [NPC|P] Builder 'Rex_Cave' validation failed: java.lang.IllegalStateException: Reference to unknown builder: Template_Predator

sweet quartz
tranquil tendon
cobalt lake
#

Hey, running a moderate populate server ( 50+) i have some issue with mob spawning when player reach a cap, there is like no mob spawning, anyone know a fix or a workarround ?

exotic crown
compact atlas
#

Hello, is there a way to manipulate the cobblestone generator?

exotic crown
# cobalt lake thanks

i've been having an issue with the mobs just not spawning at all. they just dont exist in the world haha. the logs say that the json wont load them due to an error

#

i wanted yetis and dinosaurs, my server doesnt have them

cobalt lake
# exotic crown i've been having an issue with the mobs just not spawning at all. they just dont...

yeah i did some log about spawning,

[2026/01/20 17:25:26   INFO] [AestheriaLogSpawnPlugin]   - Env: Env_Zone1_Plains, NPCs: 34/752.9, Segments: 1541902, Unspawnable: false
[2026/01/20 17:25:26   INFO] [AestheriaLogSpawnPlugin]     [Env Details] Fully Populated: false (Chunks: 819/1783), Weight: 718.88
[2026/01/20 17:25:26   INFO] [AestheriaLogSpawnPlugin]     * NPC: Cow, Count: 0/43.9, Tried: 10, Success: 3, Failed: 0```
empty wyvern
#

how to render chunk world map at specific location or have to re-render a whole chunk?

cobalt lake
#

nothing explain why mobs don t spawn

exotic crown
cobalt lake
exotic crown
#

yea

solemn ocean
#

It says multiplayer is unavailable. Any solutions? I can't access my server.

cobalt lake
#

not the issue, already tried to clean every mobs every 5 min, no more spawning

exotic crown
#

ive also had this error
[2026/01/21 08:35:32 SEVERE] [NPC|P] FAIL: /Server/NPC/Roles/_Core/Templates/Template_Predator.json: Parameter "KnockbackScale" of Role Abstract is not computable (yet) in context Role|Abstract
[2026/01/21 08:35:32 SEVERE] [NPC|P] FAIL: /Server/NPC/Roles/_Core/Templates/Template_Predator.json: Parameter "AscentAnimationType" of MotionController Walk is not computable (yet) in context Role|Abstract|MotionControllerList|-|Walk
[2026/01/21 08:35:32 SEVERE] [NPC|P] FAIL: /Server/NPC/Roles/_Core/Templates/Template_Predator.json: Parameter "ClimbSpeedMult" of MotionController Walk is not computable (yet) in context Role|Abstract|MotionControllerList|-|Walk
[2026/01/21 08:35:32 SEVERE] [NPC|P] FAIL: /Server/NPC/Roles/_Core/Templates/Template_Predator.json: Parameter "ClimbSpeedPow" of MotionController Walk is not computable (yet) in context Role|Abstract|MotionControllerList|-|Walk
[2026/01/21 08:35:32 SEVERE] [NPC|P] FAIL: /Server/NPC/Roles/_Core/Templates/Template_Predator.json: Parameter "ClimbSpeedConst" of MotionController Walk is not computable (yet) in context Role|Abstract|MotionControllerList|-|Walk
[2026/01/21 08:35:32 SEVERE] [NPC|P] FAIL: /Server/NPC/Roles/Undead/Skeleton/Skeleton_Incandescent/Skeleton_Incandescent_Mage.json: Failed to load NPC: JsonObject
[2026/01/21 08:35:32 SEVERE] [NPC|P] FAIL: /Server/NPC/Roles/Undead/Skeleton/Skeleton_Incandescent/Skeleton_Incandescent_Head.json: Failed to load NPC: JsonObject
[2026/01/21 08:35:32 SEVERE] [NPC|P] FAIL: /Server/NPC/Roles/Undead/Skeleton/Skeleton_Incandescent/Skeleton_Incandescent_Footman.json: Failed to load NPC: JsonObject
[2026/01/21 08:35:32 SEVERE] [NPC|P] FAIL: /Server/NPC/Roles/Undead/Skeleton/Skeleton_Incandescent/Skeleton_Incandescent_Fighter.json: Failed to load NPC: JsonObject
[2026/01/21 08:35:32 SEVERE] [NPC|P] FAIL: /Server/NPC/Roles/Undead/Skeleton/Skeleton_Burnt/Skeleton_Burnt_Wizard.json: Failed to load NPC: JsonObject
[2026/01/21 08:35:32 SEVERE] [NPC|P] FAIL: /Server/NPC/Roles/Undead/Skeleton/Skeleton_Burnt/Skeleton_Burnt_Soldier.json: Failed to load NPC: JsonObject
[2026/01/21 08:35:32 SEVERE] [NPC|P] FAIL: /Server/NPC/Roles/Undead/Skeleton/Skeleton_Burnt/Skeleton_Burnt_Lancer.json: Failed to load NPC: JsonObject
[2026/01/21 08:35:32 SEVERE] [NPC|P] FAIL: /Server/NPC/Roles/Undead/Skeleton/Skeleton_Burnt/Skeleton_Burnt_Knight.json: Failed to load NPC: JsonObject
[2026/01/21 08:35:32 SEVERE] [NPC|P] FAIL: /Server/NPC/Roles/Undead/Skeleton/Skeleton_Burnt/Skeleton_Burnt_Gunner.json: Failed to load NPC: JsonObject
[2026/01/21 08:35:32 SEVERE] [NPC|P] FAIL: /Server/NPC/Roles/Undead/Skeleton/Skeleton_Burnt/Skeleton_Burnt_Archer.json: Failed to load NPC: JsonObject
[2026/01/21 08:35:32 SEVERE] [NPC|P] FAIL: /Server/NPC/Roles/Undead/Skeleton/Skeleton_Burnt/Skeleton_Burnt_Alchemist.json: Failed to load NPC: JsonObject
[2026/01/21 08:35:32 SEVERE] [NPC|P] FAIL: /Server/NPC/Roles/Elemental/Spirit/Spirit_Ember.json: Failed to load NPC: JsonObject
[2026/01/21 08:35:32 SEVERE] [NPC|P] FAIL: /Server/NPC/Roles/Elemental/Golem/Golem_Firesteel.json: Failed to load NPC: JsonObject
[2026/01/21 08:35:32 SEVERE] [NPC|P] FAIL: /Server/NPC/Roles/Creature/Vermin/Slug_Magma.json: Failed to load NPC: JsonObject

#

discord wont let me send more

#

theres a ton of this error

solemn ocean
#

It says multiplayer is unavailable. Any solutions?

exotic crown
proven rover
#

Does anyone know how I can find a survival server 2 join?

green yoke
#

Need like 3 testers for my factions mod if interested, factions mod

solemn ocean
#

It stopped working after the launcher was updated yesterday and today

hearty iris
#

Wtf is the health component called for giving entities health... HealthComponent doesnt exist

wanton mountain
pearl cave
#

anyone use metallurgy mod?

hearty iris
wanton mountain
#

Its a component yes

#

Pretty sure

reef gorge
#

Hello, one question does anybody know how to add translations for my translation keys in my mod? ๐Ÿ˜„

blazing cosmos
#

what can i do if i can't fully decompile the server jar, because several classes are causing intellij to run out of memory? i've changed the max heap size to 8gb and still same thing

reef gorge
#

I added a language_EN.json file but it does not work

lofty zodiac
#

does anyone know if the server jar will be documented? or will there maybe be a library?

haughty citrus
vale garden
#

Hello, someone managed to change the camera angle of a player ?

still field
ebon grove
reef gorge
vale garden
opal bane
#

Sorry to ask. I dont know if I need to put it here but. does anyone else running the Bread oven having issues upgrading it?

lofty zodiac
haughty citrus
still field
#

its almost as good as official docs

haughty citrus
still field
blazing cosmos
still field
#

it worked for me, it may help you because it doesnt decompile every single thing only core stuff I believe

blazing cosmos
#

ah

exotic tulip
old solstice
worn urchin
#

HyScript

-# Powerful JavaScript/TypeScript scripting engine for Hytale servers

HyScript is a dedicated scripting solution for Hytale, designed to make server-side development fast and accessible. It allows server owners and developers to create complex gameplay logic, custom mini-games, and automation tools using JavaScript or TypeScript, eliminating the need for complex modding setups and long compilation times.

๐Ÿš€ Key Features

  • Hot Reloading: Scripts update instantly upon saving. No server restarts required - apply changes to your world in real-time.
  • Full Module Support: Native ESM support. Use import and export to organize your scripts into clean, reusable modules.
  • TypeScript Native: Write robust code with full type safety. Powered by Bun/esbuild for lightning-fast execution and near-instant script loading.
  • Fluent Event API: An intuitive, chainable API designed specifically for handling Hytale game events with ease.

This plugin is available on CurseForge

sacred tulip
worn urchin
#

Sure ๐Ÿ˜„

sweet quartz
#

Stubled upon this package on my research. Myght it help you!
com.hypixel.hytale.server.core.entity.entities.player; Cameramanager.java;

if its still a thing to you.

loud igloo
#

How do I disable a players ability to sprint? I want to prevent sprinting in a specific world. Is there a SprintComponent or a method on Player/MovementStatesComponent?

steep thicket
brittle nest
#

Hey guys, I'm using the glider mod which uses stamina to fly. Does anyone know how to remove the stamina?

alpine creek
sweet quartz
steep thicket
#

EXACTLY what i needed, lord i searched around for so long and couldnt find it ๐Ÿคฆ

civic zephyr
civic zephyr
tranquil tendon
civic zephyr
# civic zephyr Hello, since you've sent this message I've looked into how this could be done, I...

I'll consolidate my finds:

First, you need to store the HytaleGenerator plugin as it doesn't seem like it has any methods outside of it to get its instance, you can store it in a static field like:

hytaleGenerator = (HytaleGenerator) PluginManager.get().getPlugin(new PluginIdentifier("Hytale", "HytaleGenerator"));

You then have to make a class that implements

implements IWorldGenProvider

This will ask you to implement a getGenerator() method, in here, you have to return:

// Get the hytalegenerator you stored. The second param is the generator profile which contains the WorldStructure's asset name and the world spawn location. The very last number is the seed, which I've set to 0
return new Handle(MainClass.hytaleGenerator , new ChunkRequest.GeneratorProfile("NameOfWorldStructureAsset", new Transform(0, 0, 0), 0));
sweet quartz
civic zephyr
#

Ive already figured out how to do it

civic zephyr
#

You then register it in your setup method in your plugin like:

IWorldGenProvider.CODEC.register("CustomWorldGen", CustomWorldGenProvider.class, CustomWorldGenProvider.CODEC);

And you can get the Universe to generate the world like:

Universe.get().addWorld("TESTWORLD", "CustomWorldGen", null);
#

Then you're done

steep thicket
#

@civic zephyr is on the grindset xD respect

loud igloo
civic zephyr
misty horizon
#

Hey guys, is there a way to use Hytale's OAuth system as means to log into my own webpage?

loud igloo
civic zephyr
# loud igloo The code runs and `MovementSettings.forwardSprintSpeedMultiplier = 0.0f` is bein...
PhysicsValues playerPhysicsValues = store.getComponent(playersRef, PhysicsValues.getComponentType());
MovementConfig movementConfig = MovementConfig.getAssetMap().getAsset("YourMovementConfig");
MovementManager movementManagerComponent = store.getComponent(playerReference, MovementManager.getComponentType());

movementManagerComponent.setDefaultSettings(movementConfig.toPacket(), playerPhysicsValues, playerComponent.getGameMode());
movementManagerComponent.applyDefaultSettings();
movementManagerComponent.update(playerRefComponent.getPacketHandler());
#

You have to make a new MovementConfig asset in the asseteditor as theres no easy way to just make one through code for some reason

loud igloo
#

Where is it stored even? ๐Ÿ˜‚ I havent messed around with assets yet

civic zephyr
#

The configs already in the game are "Default" (Regular movement) and one other one that I forgot the name of for mounts

primal lynx
#

Just uploaded my animal taming mod to curseforge ๐Ÿ˜Ž

primal lynx
#

first ever mod, but pretty chuffed with it

civic zephyr
#

Congratulations

loud igloo
civic zephyr
#

Yes but you can't really edit its values unless you use reflection on the config which will definitely permanently alter the Default movement

#

Just make a new MovementConfig in the AssetEditor, you can copy the one ingame and call it something else

loud igloo
#

F me im gonna have to learn how to get into the asset editor then D:

civic zephyr
#

Its easy

loud igloo
#

Ah I have to go create a creative world and do it from there, I've been handling everything through a local serve

civic zephyr
#

Just go in creative in the local server it works fine

loud igloo
#

Nah, I cant access creative tools that way

civic zephyr
alpine patrol
#

notnotnotswipez is our god ๐Ÿซถ

loud igloo
#

Nvm I can, I rejoined the server just to make sure I was in creative and now I can do it for some reason LMAO

civic zephyr
loud igloo
#

What am I even looking for in the asset editor? I still dont even know where the existing movementconfig is stored

alpine patrol
loud igloo
civic zephyr
#

One second, its probably not in the root folder

loud igloo
#

Only things I see that even have "movement" name in them is SFX_Eye_Void_Fly_movement, NPC Balance assets and Test_Movement_State or Test_Combat_State

civic zephyr
#

Its called Default

#

Entity > MovementConfig

loud igloo
#

Entiy > MovementConfig > Default?

civic zephyr
#

Yes

#

Make a new pack and make a copy of the Default asset (Do not call it default in your new pack)

#

Its the "Override Asset" button but change the Unique Asset ID when you copy it to not be Default and don't change anything else (Set the Asset Pack at the top to be the one you just made)

simple grail
#

Hi do you guys know how to create a predefined path and assign it to an NPC spawned with the /npc command? Or by plugin too

loud igloo
tranquil tendon
civic zephyr
#

Okay so I can't tell you to message me I suppose

civic zephyr
#

Either ping me here or use my personal inbox

solar glacier
#

Having the opposite issue, tryna get floating liquids lol

civic zephyr
loud igloo
waxen turret
#

Anyone worked out mob spawners yet like factions

hollow oxide
#

Is there a way to create "scoreboards" without using .ui files Hypixel_Think ? Or HUD in general?
Else, can we know from the plugin (java side) the absolute path of assets path (for the server)?

uneven anvil
#

Hey guys, is there a linter for Hytale .ui files?
I found a plugin for IntelliJ that highlights UI components, but I havenโ€™t found anything that actually shows syntax errors or provides real linting/autocomplete.

wary lion
#

hey @civic zephyr you most likely know this how do i intercept and change chat messages i've already basically created my color library for easy color messages but for the mod/plugin part i want to parse color codes in chat with permissions

wary lion
vale garden
#

hello i know there is not much docummentation, but has someone found anything about the menus ? like open a menu, detect click buttons, add text ect .. ?

wanton mountain
wary lion
#

the event for block placement/destruction is totally different i did it like that and it didnt work now im using event registry

wanton mountain
#

Still doesnt describe the issue ur having tho.

If u want us to help we need

  • description of ur issue, errors, etc
  • the relevant code
#

Event registry only works for events that are IEvents

#

BlockPlace/Break are Ecs events

wary lion
#

yeah PlayerChatEvent is one of those

#

i already did block placement/destruction im just trying to figure out chat event

abstract roost
#

Hello,
I created a small free tool called "Hytale Server Monitoring" for those who have installed a Hytale server on their Linux PC (to avoid having to rent a VPS).
The tool allows you to monitor your server in real time through a mini graphical interface in the taskbar. It also lets you see the list of connected players, resource usage, and start/stop the server.
It's of course free and open-source, and you can find it on github : PublikoFR/hytale-monitoring-gnome
Cheers!

wanton mountain
spare sandal
#

How do you create a marker on the server for a client?
I have this here

MapMarker m = new MapMarker(
                            target.getUuid().toString(),
                            target.getDisplayName(),
                            icon,
                            transform,
                            null
                    );

but what is icon supposed to be?

wary lion
# wanton mountain Please <@257371164752609290> Ur just saying u have an,issue we cant help with ...
public class ChatListener {

    private final EventRegistry eventRegistry;
    private final Logger logger;

    public ChatListener(@Nonnull EventRegistry eventRegistry, @Nonnull Logger logger) {
        this.eventRegistry = eventRegistry;
        this.logger = logger;
    }
    
    public void register() {
        eventRegistry.registerAsync(
                PlayerChatEvent.class,
                future -> future.thenApply(event -> {
                    if (event.isCancelled()) return event;
                    
                    String content = event.getContent();
                    Message parsed = ColorParser.parse(content, event.getSender());
                    
                    event.setFormatted((playerRef, message) -> parsed);

                    return event;
                })
        );
    }
}
lost mist
#

Does anybody know how to get the ui to pop up bottom right?

#

like the messages/notify?

whole bronze
#

NotificationSystem HQ

public static void onPlayerReady(PlayerReadyEvent event) {
    var player = event.getPlayer();
    var playerRef = Universe.get().getPlayer(player.getUuid());
    var packetHandler = playerRef.getPacketHandler();
    var primaryMessage = Message.raw("THIS WORKS!!!").color("#00FF00");
    var secondaryMessage = Message.raw("This is the secondary message").color("#228B22");
    var icon = new ItemStack("Weapon_Sword_Mithril", 1).toPacket();
    NotificationUtil.sendNotification(
        packetHandler,
        primaryMessage,
        secondaryMessage,
        (ItemWithAllMetadata) icon);
}```
wanton mountain
last raptor
wanton mountain
#

Is there a registerAsyncGlobal of some sort? Might be worth to check that

wary lion
nova void
#

do we know about floating point error around 50k away from 0, 0? its any fix or not

fathom sandal
#

I followed the hytale modding item interaction guide and when i try to equip item, the asset editor says Unknown Item "my_new_item"
any ideas?

merry fjord
#

what is the role of World chunk, entity chunk, block chunk and block component chunk, what is the role of each one of them?

flat gust
#

What does this error mean?

com.hypixel.hytale.codec.exception.CodecValidationException: Failed to validate asset!
ExtraInfo
Key: Name
Results:
        FAIL: Can't be null!

The component that is at fault is just this:

public class FunnelBlock implements Component<ChunkStore> {
    public static final BuilderCodec<FunnelBlock> CODEC;

    static {
        CODEC = BuilderCodec.builder(FunnelBlock.class, FunnelBlock::new).build();
    }

    @Override
    public @Nullable Component<ChunkStore> clone() {
        return new FunnelBlock();
    }
}
cobalt girder
#

do anyone can write a plugin which checks that all assets are loaded and overrided correctly?

Rn i have a bug where the assets are not fully loaded, curious about it is, if i click them one time in the asset editor they reappear. this is kinda crazy behavior

hearty iris
#

anyone know why this crashes my game when i hit the mob. i think i have to populate the statMap but i cant figure out how ```Java
public void spawnMonster(World world, String modelID, Vector3d location, Vector3f rotation){
world.execute(() -> {
Holder<EntityStore> holder= EntityStore.REGISTRY.newHolder();
ModelAsset modelAsset = ModelAsset.getAssetMap().getAsset(modelID);
Model model = Model.createScaledModel(modelAsset, 1F);
TransformComponent transform = new TransformComponent(location, rotation);
holder.addComponent(TransformComponent.getComponentType(), transform);
holder.addComponent(PersistentModel.getComponentType(), new PersistentModel(model.toReference()));
holder.addComponent(ModelComponent.getComponentType(), new ModelComponent(model));
holder.addComponent(BoundingBox.getComponentType(), new BoundingBox(model.getBoundingBox()));
// Inside your world.execute block...

        EntityStatMap stats = new EntityStatMap();

        holder.addComponent(EntityStatMap.getComponentType(), stats);
        holder.addComponent(NetworkId.getComponentType(), new NetworkId(world.getEntityStore().getStore().getExternalData().takeNextNetworkId()));
        holder.addComponent(Interactions.getComponentType(), new Interactions());

        holder.ensureComponent(UUIDComponent.getComponentType());
        holder.ensureComponent(Interactable.getComponentType());
        world.getEntityStore().getStore().addEntity(holder, AddReason.SPAWN);
    });
}
bronze willow
hearty iris
opal parrot
#

Is someone have figured out how /plugin load , /plugin unload works when the jvm is locking the file ? i've try to unload before load to free it but it's not working

hearty iris
wanton mountain
#

Does it point to something in particular?

#

For example as u mentioned, tje stats (health)

hearty iris
wanton mountain
#

Ah

harsh quiver
#

Can someone share a method which I should follow when loading UI's at the start of the game together with the GUI? I seem to constantly be loading UI's way earlier than I should.

wanton mountain
hearty iris
wanton mountain
hearty iris
#

Gotcha ill try it

wanton mountain
hearty iris
#

Godsend its DefaultEntityStatType

wanton mountain
hearty iris
# wanton mountain :)

Okay its not crashing anymore, is there a component i need so its capable of combat? It doesnt crash but it doesnt take damage either

wanton mountain
#

Or Combat or smtn similar, id search for these keywords

hearty iris
#

Did that... nothing

wanton mountain
#

Hmm

#

Not really sure, cant deep dive into it atm

hearty iris
#

thats alr thanks tho

wanton mountain
hearty iris
#

KK

spare sandal
#
MapMarker ghost = new MapMarker(
                    "ghost_uuid",
                    "Ghost Member",
                    "Common/UI/WorldMap/MapMarkers/Portal.png",
                    ghostTransform,
                    null
            );

``` Since theres no docs yet, whats supposed to go into the image param here? Paths dont seem to work and all the assets are client side
hearty iris
#

Ima decompile some other ppls plugins and see what i can do

cobalt girder
#

some assets are not gonna override since last update

last hawk
#

I'm trying to capture the stamina value, but something is wrong with this line



       if ((stats != null) && stats.getSelfStatValues(getStamina()).get() >= CUSTO_STAMINA) {```
subtle geyser
#

DO YOU KNOW MOD FOR

#

RTP AND KITS WITH GUI MENU

woeful sapphire
#

broski your caps lock is on

subtle geyser
#

my bad

#

bu do you know

wanton mountain
#

Just check curseforge lol

rugged halo
#

Is there an equivalent to Spigot's HoverComponent, or would I have to write my own chat widget to implement something like that?

sinful belfry
#

is there any way to get nameplates to show up for yourself? i want to test some custom stuff with it

stark tulip
#

Time to make HyUI on builtbybit lool

rugged halo
stark tulip
rugged halo
stark tulip
#

Yee thanks for the feedback

hearty iris
#

Did they sey when they are releasing official documentation?

rugged halo
#

haven't seen anything other than Soonโ„ข

rotund willow
#

Is there a way to reload plugins without having to restart a server?

opal parrot
wary lion
#

im so stumped how do i create a listener for chat event i'm stuck on this

mellow tendon
#

no such issue on penguin-branded OS โ˜บ๏ธ

turbid carbon
#

Hey, someone knows how do I make a custom interaction with an NPC? Like pressing F to trade but with a custom behavior (like opening a custom UI)

mellow tendon
opal parrot
scarlet panther
#

Does someone have a fix for my Problem? We have a Hytale Server and every 15-20 minutes someone is getting kicked

[InteractionSystems$TickInteractionManagerSystem] Exception while ticking entity interactions! Removing!

loud spindle
#

can anyone point me to source/docs for how to be structure json files and how to then read from them in java/hytale specific? want to add data for rpg skills already got components setup and system for this and working.

reef gorge
#

I will send you a pm

scarlet panther
#

What?

solid briar
#

Is there a way to get information about an online server and the number of players without third-party plugins?

lament beacon
#

Kay please note I have no experience with the backend of hytale only Minecraft and a good deal of Java experience do you have any mods installed

nova void
mellow tendon
sharp ember
#

Hello Guys
I'd like to know how to implement a command that everyone can execute, even without OP.
My current code:
public class HelloCommand extends AbstractPlayerCommand {
public HelloCommand(@Nonnull String name, @Nonnull String description, boolean requiresConfirmation) {
super(name, description, requiresConfirmation);
}

@Override
protected void execute(@Nonnull CommandContext commandContext,
                       @Nonnull Store<EntityStore> store,
                       @Nonnull Ref<EntityStore> ref,
                       @Nonnull PlayerRef playerRef,
                       @Nonnull World world
) {
    EventTitleUtil.showEventTitleToPlayer(
            playerRef,
            Message.raw("Ola Mundo"),
            Message.raw("Divirta-se :)"),
            true
    );
}

}

solid briar
mellow tendon
#

yep

solid briar
mellow tendon
#

"best" is a very, very subjective word

solid briar
mellow tendon
mellow tendon
#

don't vibe code kids, it's bad for your brain

fickle pecan
#

๐Ÿคจ

fickle pecan
#

Me trying to get a gradle project working on arch in vscode ๐Ÿ˜ตโ€๐Ÿ’ซ ๐Ÿ”จ

heavy plank
heavy plank
sharp ember
opal parrot
mellow tendon
royal mural
#

Im not touching vscode since 2023

opal parrot
#

i'm even gonna release full support of the hot reload on linux and mac os ๐Ÿ˜‚ not windows

mellow tendon
#

honestly fair, I wouldn't want to deal with the worst OS currently on the market too

opal parrot
mellow tendon
opal parrot
#

exit the server -> build mod -> replace mod in mod folder -> restart server is totaly fine

heavy plank
random briar
#

if there move event and what is it called?

simple thunder
#

is it possible to display itemstacks in custom ui?

cloud sun
worn urchin
radiant quest
#

Does anyone know if there's a way to add a crafting category to an existing workbench without overriding the bench completely? I don't want to interfere with other mods changing the bench just to add a category for my blocks

bleak wave
#

no way

#

what lib did u use for parsing JS btw

flat gust
#

How do you prevent the server from crashing if it already has a world that it can load?

#

That "World default already exists on disk" error.

bleak wave
#

ohh graalvm

flat gust
#

Should actually not be that, but I'm double checking then.

#

Nope.

flat gust
azure violet
#

how do i make something run every tick?

flat gust
#

If I delete the world then it does start normally, but that is unusable.

scarlet panther
#

Is there any method to Update all Mods on a dedicated self hosted server?

hearty iris
#
NPCMountComponent mountComponent = new NPCMountComponent();
            mountComponent.setAnchor(0, 1.5F, 0);
            mountComponent.setOwnerPlayerRef(owner);
            mountComponent.setOriginalRoleIndex(entityPair.second().getRoleIndex());
            holder.addComponent(NPCMountComponent.getComponentType(), mountComponent);

Trying to make an entity mountable via java but its not working, any tips?

sinful belfry
#

Does anyone know if the formatting for lang strings is documented? i was wondering if either item icons or bullet lists are supported yet?

summer otter
#

I may have one solution though a creative one. What if you add a new block that is water loggable that is invisible? That should be able to be damaged. And then if a player needs to walk over it you can either set your custom fluid damage textures of extra fluids or make the damage go away and make it a true fluid. Just an idea ๐Ÿ˜‰

nova void
#

If someone wanted to spawn player always on spawn after joining just put that inside readyevent

Player player = event.getPlayer();
Ref<EntityStore> ref = player.getReference();

if (ref != null && ref.isValid()) {
    Store<EntityStore> store = ref.getStore();

    World world = ((EntityStore) store.getExternalData()).getWorld();
    
    world.execute(() -> {
        Player playerComponent = (Player)store.getComponent(ref, Player.getComponentType());

        if (playerComponent != null) {
            PlayerRef playerRefComponent = (PlayerRef) store.getComponent(ref, PlayerRef.getComponentType());

            assert playerRefComponent != null;

            ISpawnProvider spawnProvider = world.getWorldConfig().getSpawnProvider();
            Transform spawnTransform = spawnProvider.getSpawnPoint(world, playerRefComponent.getUuid());
            
            Teleport teleportComponent = Teleport.createForPlayer(world, spawnTransform);

            store.addComponent(ref, Teleport.getComponentType(), teleportComponent);
        }
    });
}```
opal parrot
#

it's what i said and it's not for me personaly it's for a intelij idea plugin context

peak jungle
#

hey everyone, I'm newbie in modding sphere and java itself, so I have question with organization

like how I can use some plugin API (classes, methods, etc) in other plugin? for example, I want to make a utils plugin with functional, and I need to use classes from it in other plugins (it can be one plugin, or multiple, doesn't matter).

how I can implement something like that?

wanton mountain
royal mural
peak jungle
wanton mountain
peak jungle
#

thanks guys, you're awesome โค๏ธ

iron gate
#

When should custom configs be loaded?

fading kelp
#

After trying 3 different ways to implement my plugin I finaly find out the expected Hytale ways to do it XD goddd damn. Lost like 6h just to finally have it right

royal mural
copper anchor
#

Anyone here know a reliable place for documentation on the UI

#

I am working with pages, I cant figure out whats allowed with different components and its really annoyinh

iron gate
nova void
#

do someone knows which class has that notifiction where you enter idk new biome?

royal mural
frigid aspen
#

Golden TIP for everything: If you're stuck on something then findout a mod/plugin from curgeforge and see that mod's code how they are doing things

iron gate
copper anchor
#

I own a curseforge approved modding community lol
We have some CF officials with us to help along with mod devs of all kinds

royal mural
simple thunder
#

is it possible to display itemstacks in custom ui?

copper anchor
sturdy linden
#

Nice. I have full server access from my remote plugin. Finally

copper anchor
#

Like its mostly trial and error when it comes to working with it

frigid aspen
simple thunder
frigid aspen
royal mural
frigid aspen
wanton mountain
#

@hard rock u added me?

hard rock
royal mural
wanton mountain
sinful storm
#

For Server owners around...

Do you guys also run into players that get stuck on downloading the server-side assets? Stuff like timeout errors, visually stuck at a specific thing at random?

Seems the server-side mod thing is not reliable, and it's not reproduceable it will work sometimes, sometimes and to specific players it won't.

copper anchor
sinful storm
#

It's rather annoying attm players having to attempt to join over and over again just to get past timeouts while downloading server assets.

royal mural
copper anchor
#

Yeah, I am working on a chat reimplementation for it to be server side but my biggest issue UI files

#

I can make anything in java and several other languages but these UI files are just odd...

royal mural
#

yeah, had to restart the server 300 times to figure out a UI with a welcome banner and some buttons ๐Ÿ˜„

sterile raft
#

Any ideas on how to detect zone of player?
eg. in f7 advance I can see Environment: Env_Zone4_Wastes
I'd get it as string and detect Zone4
but I need to figure out how to get it from location

royal mural
#

if you find a solution i would love to hear it

copper anchor
#

Atleast thats the goal

royal mural
#

I want to open links from the UI and i can't figure out how ๐Ÿ˜„

copper anchor
empty wyvern
#

where can I find marker image in assets folder, Im wanna send marker on map

copper anchor
#

Right now, my biggest trouble is the UI.. I might decompile the client and pull the UI file from there

royal mural
#

client was develop in c# right?

trail osprey
#

so the proper way about using mods on a dedicated server is just drag them into the servers mods folder right? Where`s no need to be on every clients side ?

copper anchor
#

Yeah the client is C#

trail osprey
copper anchor
#

idk why client does not support custom fonts

fleet plover
#

For the fellows that have already started modding, what exactly is a Codec(Store) and the EntityStore ? I've seen theses classes pop up a lot in the .jar

sturdy linden
#

what are yall using for holograms? the plugins i can s see support only text

royal mural
fleet plover
#

๐Ÿ‘ gonna do that

royal mural
#

and a codec is basically an encoder-decoder between java and other formats, like JSON, thats how you read your plugin config.json and use it in code for example

wide shadow
#

The last one would fit more for the "AssetCodec<T>" tho

fleet plover
#

๐Ÿ™ ty mate

#

I have experience with Java, and have already worked with it but I never did any modding or game dev so for now I'm trying to understand the different components of the code base ๐Ÿ˜…

steel coral
#

I have HytaleServer.jar. Can I find the potion-related code there? I'd like to see how it works, and if so, where exactly?

tawdry narwhal
#

Guys, what's the name of the event that displays the notification when an item is collected? I'm creating an auto pickup system and I want to have that feature in mine too.

steel coral
late girder
#

how to delete a world from disk? universe.removeWorld only unloads it

royal mural
wicked mauve
#

does anyone know an good way to get infinite water in buckets? im searching about an mod/plugin for server, but the two i test crashes the server after some hours cuase of the BlockUpdate :c

steel coral
exotic compass
#

1

vast zenith
#

what is the best ai for plugin developement hytale

steel coral
royal mural
vast zenith
wicked mauve
#

of course, but i still need it, cause of mega builds :c

dense grail
royal mural
#

i dont understand the hype for claude, always thought is kinda useless

hollow lagoon
#

guyd. anyyone can give-me any doc to start a mace plugins?

fleet plover
#

Guys, apart modifying / dropping packets with a packetWatcher or a listener, anyone has an idea on how I could render / hide certain entities to some players ?

copper anchor
wicked mauve
#

Again an question... if i download an mod, that's only an .zip file (not a jar), what do i need to do to install it on an server? Hypixel_Smile

royal mural
#

thats what i mean, but at building code I would say majority of AI sucks, they miss half of the context when a project is advanced

surreal pivot
#

Did you find a way how to hide Hytale server behind haproxy? Ping me for reply ๐Ÿ˜„

crimson valley
#

hi

dense grail
#

Wouldn't say it was manufactured hype for claude. It's actually super capable if you have some prior programming knowledge

late girder
#

how do I wait / check for a world to be created and up before continuing?

vast zenith
royal mural
#

I would say even gpt 5.2 overstands claude

dense grail
#

For coding? Not a chance lol

hollow lagoon
#

guys, please, help-me, how you creating plugins if i cant find any doc in hytale blog?

#

are you debugind and coding?

royal mural
cloud stratus
copper anchor
#

Especially dont use it for hytale since there are no docs, no proper configuration, nothing so you cant even work with it

late ridge
#

heyyy !!

Since the latest Hytale updates, Iโ€™ve been getting setTimeout-receive-assets-request errors, even though Iโ€™m not using any configuration plugins or plugins that load additional assets.
The connection process has become unbearable, whereas everything worked perfectly before the update.
The issue seems to have started with the new QUIC / BBR protocols.

I tried increasing the PlayTimeout values, but it makes the connection process far too slow.

If anyone has a solution, Iโ€™d really appreciate it.

royal mural
cloud stratus
copper anchor
#

AI does not understand optimisation at all... I was on the hype train when AI coding agents arrived... worked on smth and saw the AI read and write from a file every 2 seconds

sterile raft
#

I see that TransformComponent is deprecated
what is used instead of it now?

late girder
#

does anyone have a working example or creating a new world and adding a player to it?

copper anchor
fleet plover
#

Do we have a estimation for the docs date ?

sterile raft
dense grail
#

1-2 months after release, was the last communication I think

sterile raft
#

I want to get environment of chunk at player
and I am losing it
player.getWorld().getChunk()

copper anchor
copper anchor
#

I dont understand what Hytale team meant by day one modding
They didnt provide the source code, they didnt provide docs

#

Was day 1 modding just an unobfuscated jar file..?

royal mural
#

it was haha

fleet plover
#

To be fair

#

people made great mods

dense grail
#

Yeah we have solid mods already

#

Some super hacky methods tho lol

copper anchor
#

Thats not how moddability works? I am 6 years into java now, I can make the mods sure yeah but that doesnt mean its supported modding

sterile raft
#

dude anyone experience with java and hytale api here
please god damn hit me up I will pay you to make things for me
I am losing it

copper anchor
#

Its the same as minecraft used to be without obfuscation

copper anchor
pseudo forum
#

Is there any event class for player death?

sterile raft
late girder
#

does anyone have a working example or creating a new world and adding a player to it?

copper anchor
pseudo forum
sterile raft
merry fjord
#

is there a way to get BlockType from block id?

fickle pecan
#

Dam I think I'll wait with modding. Seems like development is a battle royale or something

iron gate
#

Why would my custom config not be generating a file or mod data directory? I have triple checked my manifest and config. Everything is setup correctly.

royal mural
iron gate
late girder
# pseudo forum These are the commands to look for in code: ``` /world add <name> /tp world <nam...
universe.addWorld(worldName, "Void", null).thenAccept(newWorld -> {
  if (newWorld == null) {
    player.sendMessage(Message.raw("Failed to create world"));
    return;
  };
  world = universe.getWorld(worldName);
  player.sendMessage(Message.raw("World created! Building..."));
  buildWorld(player);
}).exceptionally(ex -> {
  player.sendMessage(Message.raw("World creation failed: " + ex.getMessage()));
  return null;
  });;

I have this and I'm getting:

World creation failed: java.lang.IllegalMonitorStateException: attempt to unlock read lock, not locked by current thread

Do you know what could be the problem and fix?

Don't mind me passing player, its just for debugging

copper anchor
royal mural
sterile raft
royal mural
blissful pilot
copper anchor
#

How would they migrate everything now lol...

iron gate
# royal mural try it :p

Geez, thanks for that. Do you know of any decent docs? The one I am looking at is definitely not accurate.

fickle pecan
royal mural
copper anchor
fleet plover
sterile raft
#

WDYM LONG WHAT LONG WHAT LONG IN .GETCHUNK
SIMON GIVE ME DOCS ๐Ÿ˜‚

fickle pecan
sterile raft
#

var location = player.getWorld().getChunk().getBlockChunk().getEnvironment();
.getChunk requires a long or index

royal mural
copper anchor
#

@sterile raft can you check if world map tracker works?

ZoneDiscoveryInfo currentZone = worldMapTracker.getCurrentZone();
ashen shard
#

Hey guys, someone could help me? after "Hytale Server Booted! [Multiplayer]" How can I connect on my local server? I tried localhost:5520 but I cant

sterile raft
royal mural
ashen shard
#

I did

late girder
#

how do I wait for world creation before continuing?

vivid moth
#

can someone gift me the game please i really need it

copper anchor
loud igloo
#

When I apply a custom MovementConfig from my plugin pack, the client crashes with IndexOutOfRangeException. The server successfully applies theconfig, but it seems like the client doesn't have the asset. How do I ensure custom MovementConfig assets are synced to clients? Or is there a way to modify movement settings without needing a custom asset?

tranquil beacon
#

does anybody know where i could change the hit of a pickaxe so that it hits multiple blocks at once say in a 3x3 area or anything like that?

loud igloo
iron gate
ashen shard
loud igloo
#

o_O, works for me

ashen bloom
#

Hey guys, having a bit of trouble here. I'm building a Lootbox plugin and I want to handle configurations differently.
I want admins to be able to add/edit lootboxes via the asset editor instead of editing JSON/YML files manually, but I'm stuck on how to implement it. Any tips or ideas on how to achieve this?

(You can ping me if youโ€™ve got any ideas)

copper anchor
royal mural
#

it works for me as well localhost:5520

#

and I always used device as well

fickle pecan
#

Though I will admit, from what I've seen modding looks relatively easy compared to other games I've modded

ashen bloom
merry fjord
#

how to convert block id that we get from world chunk into BlockType

royal mural
#

i need to do a production deployment at my job and im getting distracted here lol

copper anchor
#

I wanna see that repo ngl

royal mural
#

some people are just genius :d

loud igloo
#

+1

copper anchor
#

Oh frick networking, I thought like sharded servers or smth lol

royal mural
#

you might have to talk with my server sysadmin and teach him some things haha

loud igloo
#

When I apply a custom MovementConfig from my plugin pack, the client crashes with IndexOutOfRangeException. The server successfully applies the config, but it seems like the client doesn't have the asset. How do I ensure custom MovementConfig assets are synced to clients? Or is there a way to modify movement settings without needing a custom asset?

#

Asking this again but probably no one has a clue on what the f I am on about

fleet plover
#

If I want to have a quest where the npc is displayed only to a certain player, how could I without modifying directly the packets (seems a really bad idea ahah)

royal mural
#

We are a team of 4, me (owner and dev), the sysadmin, and 2 creatives, they all work so fast, i dont even have time to finish a plugin

loud igloo
robust bluff
#

Did someone upload UI documentation?

copper anchor
robust bluff
#

Or do I still need to look at the code myself like a Librarian.

worn kernel
ornate raven
#

isnt .ui suppose to start with $C = "../Common.ui"; ?
im getting " Could not resolve relative path: ../Common.ui "

royal mural
#

guys if you want a good youtube video with ui basics friend me, i will send you the link, it might be useful for u

loud igloo
#

No, there are no docs for this afaik

royal mural
loud igloo
#

The only method I am aware of that works is by copying the movementconfig, making a custom pack and setting the values there then registering it, as there is also no way to do through code either. But it just crashes the users client ๐Ÿ˜‚

worn kernel
#

could you send me a personal message, ill send you the docs

ornate raven
royal mural
#

most of people misses the /Pages part

frosty moon
#

Hey all ! I'm trying to update the hitbox of the character when it slide to make it able to pass in a 1 bloc gap, but i only found the asset config with min and max and idk how to ubdate it when the slide action / animation is triggered. Do you have any video / tuto ref to share to help me pls ? (i know how to code but never did a mod so i'm a bit confused)

dense lion
royal mural
ornate raven
royal mural
#

if you get an error like it couldnt load custom UI, its most probably an error inside ur .ui file, some syntax or wrong property

ocean moat
#

Can you initiate a UI from the server side?

ornate raven
royal mural
royal mural
#

make sure the manifest has "IncludesAssetPack": true,

ornate raven
#

the assets zip?

royal mural
#

you dont have to do absolutely anythink with assets.zip

#

only use it to check syntax and stuff that you can use in your plugin

ornate raven
#

okay

royal mural
#

everything you want to add to "Assets" is what you put in Resources folder in your plugin

late ridge
#

But no issues with the new QUIC/BBR protocol on your end?
I can no longer connect locally with Docker on Windows to my server,
whereas before the update, zero problems.

royal mural
#

For example in my server i did a plugin that when a player joins it shows a Welcome title and reproduce a welcome audio, as well as it opens a UI with our server Roadmap image and a discord button

graceful ridge
#

anybody know how to correctly import custom item animations into hytale? My file gets recognized but keep getting a 'xxx doesn't exist' error

dense vale
#

Do people know how to play custom animations of an entity without adjusting the json file that decides the animation name and filepath? Like can we create a different json file and make a mob play the animation from that custom json?

pseudo forum
reef gorge
#

Hey one question in my Plugin is a MyEconomy.jar\Server\Languages\en-US\serrver.lang file with correct translations in my manifest.json is "IncludesAssetPack": true but the translations will not used?

graceful ridge
#

it sure is. Just unsure how to tell the json of my custom item where it is etc. I'm seeing 'item player animations id', 'item animations id' show up in multiple places in the asset editor

rugged halo
#

Hytale doesn't have support for on-hover text in the chat yet, does it? If not I can maybe write my own chat widget, idk

pseudo forum
frosty moon
copper anchor
loud igloo
#

I'm trying to disable sprint for players in a dungeon world. I've tried two approaches and both crash the client with IndexOutOfRangeException:
Approach 1: Custom MovementConfig asset ("NoSprint") applied via:

movementManager.applyDefaultSettings();
movementManager.update(playerRef.getPacketHandler());```
**Approach 2: **Direct MovementSettings modification:
```javaMovementSettings settings = movementManager.getSettings();
settings.forwardSprintSpeedMultiplier = 1.0f;
movementManager.update(playerRef.getPacketHandler());```
Both crash the client when trying to sprint. Is there a supported way to modify player movement settings at runtime? Or is this a known limitation?
late girder
rugged halo
distant stream
#

I was able to create a kit selector mod using the .ItemId
Mod: MiniKit

rugged halo
#

i have support for stuff like gradients in my own library but i know there are frameworks solely for html style RTF

oak dome
#

kan only body tell me what events are called when the player join or leave a server and join or leave a world?

rugged halo
#

PlayerReadyEvent occurs when the player is physically spawned into the world

copper anchor
reef gorge
#

Can anyone help me with mytranslations?

rugged halo
#

iirc there's also PlayerConnectEvent for the actual connection

ancient venture
#

How can I change โ€œ<player> has joined defaultโ€ to my server?

copper anchor
frosty moon
ancient venture
halcyon kernel
rugged halo
ancient venture
rugged halo
#

but you won't be able to enter dynamic strings in that font so

halcyon kernel
copper anchor
graceful ridge
halcyon kernel
rugged halo
#

there's a really basic one i used as a launchpad

near raven
#

Hey, does anyone know how to move a Entity to a certain Block? To be specific, I want to give the Entity a target Block that it then wanders to.

copper anchor
worn meadow
#

Hey guys, i'm looking to create a system that trigger when a player interract with a workbench. I investigated found PlayerInteractEvent, but was deprecated, so i went for an ECS handler :

class RepairOnBenchInterract extends EntityEventSystem<EntityStore, UseBlockEvent> {
    private static final HytaleLogger LOGGER = HytaleLogger.forEnclosingClass();

    public RepairOnBenchInterract() {
        super(UseBlockEvent.class);

        LOGGER.atInfo().log("RepairOnBenchInterract system initialized.");
    }

    @Override
    public Query<EntityStore> getQuery() {
        // TODO Auto-generated method stub
        return Archetype.
    }

    @Override
    public void handle(int index,
            @NonNullDecl ArchetypeChunk<EntityStore> archetypeChunk,
            @NonNullDecl Store<EntityStore> store,
            @NonNullDecl CommandBuffer<EntityStore> commandBuffer,
            @NonNullDecl UseBlockEvent usedBlockEvent) {
        var usedBlockType = usedBlockEvent.getBlockType();

        LOGGER.atInfo().log("Used block type: %s", usedBlockType);

        // var usingPlayer = usedBlockEvent.

    }

}

Plugin code :

public class DurabilityChangePlugin extends JavaPlugin {
    private static final HytaleLogger LOGGER = HytaleLogger.forEnclosingClass();
    private static EventBus eventBus;

    public DurabilityChangePlugin(JavaPluginInit init) {
        super(init);
        LOGGER.atInfo().log("Hello from %s version %s", this.getName(), this.getManifest().getVersion().toString());
    }

    @Override
    protected void setup() {
        eventBus = new EventBus(false);

        this.getEntityStoreRegistry().registerSystem(new RepairOnBenchInterract());
    }

    @Override
    protected void start() {
        LOGGER.atInfo().log("DurabilityChangePlugin has been enabled.");

        // eventBus.register(UseBlockEvent.class, event -> {
        // LOGGER.atInfo().log("Player interacted with something.");
        // });

        // eventBus.register(PlayerInteractEvent.class, event -> {
        // LOGGER.atInfo().log("Player interacted with the world.");
        // });

    }

}

I get the messages for systems being created and initiated, but the handler doesn't trigger

frosty moon
copper anchor
#

Why are people using random discord formatting today ๐Ÿ˜‚

graceful ridge
ancient venture
frosty moon
ancient venture
copper anchor
worn meadow
copper anchor
ancient venture
copper anchor
#

Or create a world with code with the correct name

copper anchor
pseudo forum
ancient venture
#

appreciate you

graceful ridge
kind heart
#

Hi everyone, does anyone know if there is a way to create a beam of particles from point A to point B?

proud stag
#

Hi! Anyone knows how to spawn an NPc at player?

lost mist
#

Does anyone know how to cancel a player dropping items?

public class PlayerDropItemListener extends EntityEventSystem<EntityStore, DropItemEvent> {
    public PlayerDropItemListener() {
        super(DropItemEvent.class);
    }

    @Override
    public void handle(int i, @NonNullDecl ArchetypeChunk<EntityStore> archetypeChunk, @NonNullDecl Store<EntityStore> store, @NonNullDecl CommandBuffer<EntityStore> commandBuffer, @NonNullDecl DropItemEvent dropItemEvent) {
        dropItemEvent.setCancelled(true);
    }

    @NullableDecl
    @Override
    public Query<EntityStore> getQuery() {
        return PlayerRef.getComponentType();
    }
}
frosty moon
lost mist
#

I tried this, doesn't work

royal mural
fleet plover
#

damn

royal mural
#

you can call it dropkick mechanic

copper anchor
royal mural
#

๐Ÿ˜ข

ocean moat
#

Wait, good old QQ command comeback

fleet plover
#

Guys, apart modifying / dropping packets with a packetWatcher or a listener, anyone has an idea on how I could render / hide certain entities to some players ?

ocean moat
#

make it invisible? Ie no model?

fleet plover
#

seems a very bad idea yea so i'm trying to have other methods. The idea is to just render them to some players

fleet plover
ocean moat
worn meadow
#

#server-plugins-read-only message

Does somebody knows why my handler wont trigger ? I'm trying to make an handler on when a Player use a workbench.
My current code is correctly initiated : I get the "plugin initiated" and "RepairOnBenchInterract initiated" log, but it wont trigger the log when I use a block

fleet plover
graceful ridge
royal mural
ocean moat
# fleet plover wdym ? (I have not tried that much modding)

Im just spitballing ideas.

Having the entity in the world means you don't need to mess with packets. Give the entity a new attribute isInvisible

I'd approach it by having a player stat, ie seeInvisible. IF it's true, they would have an aura which lets them see any entity that has isInvisible within 5 blocks

graceful ridge
fleet plover
#

Oh I see, that was basically my idea but my problem is the "which let's them see any entity" lol

#

But I will look into that

ocean moat
#

Sure, i'm just extending how i see it to work.

You would then just tell the item to have no texture or render when isInvisible = true

royal mural
ocean moat
late girder
#

alright does anyone know how do I teleport a player to another world through code?? I've created the world succesfully but cant figure out how to tp the player there

royal mural
#

Thats what I thought at the beginning as "dangerous" haha

fleet plover
#

If it's that the only problem I'm okay with it, it's for quests NPCs

fathom sandal
#

Can someone help me with the hytalemodding guide Create Custom Item and Interaction? i did everything the same but the item isnt even in the game

royal mural
#

but on the other side would be weird to just collapse against an invisible wall

fleet plover
#

True

ocean moat
royal mural
#

hm that pop in feature its interesting, but i cant imagine how would u handle multiple players on the same area

ocean moat
#

For Quest NPCs you'd have an expected position right?

You could then do a "if within 30blocks, start getting ready, if within 10 render"?

ocean moat
#

So someone has the ability to see "spawn" it, everyone else then can interact.

Until the seer moves away

summer otter
royal mural
#

I see some high complexity here, maybe I would just disable interactions for that npc :p

late girder
sturdy linden
#

how are people getting holograms with colored text and images.

dusky vessel
#

im looking for a good developer, i pay monthly or per project completed.

summer otter
#

you have the World object right?

pastel token
#

Anyone know of a plugin that stops collisions with other players? even weapon collisions

late girder
summer otter
#

Teleport.createForPlayer(targetWorld, new Transform(x , y, z, pitch, yaw, roll));

fleet plover
#

Gonna try everything tonight, thanks guys

ornate raven
#

is there way to add emojis in to titletext in hytale original ui builder?

summer otter
#

pitch yaw and roll are optional

#

then you add this to the playerref component

#

like this:

Teleport teleportComponent = Teleport.createForPlayer(targetWorld, new Transform(x, y, z));
store.addComponent(playerRef, Teleport.getComponentType(), teleportComponent);
steel coral
#

Hi! How can I find out which block is underneath the player?

summer otter
#

here x y z are your coords and targetWorld is your world object

summer otter
steel coral
spice oak
ocean moat
late girder
steel coral
echo ruin
#

in java that's new Teleport(world, position, rotation)

summer otter
# steel coral async

do something like this:

Vector3d loc = playerRef.getTransform().getPosition();
loc.setY(loc.y - 1);
double X = loc.x / 32;
double Z = loc.z / 32;
                
if (X < 0) XT -= 1;
if (Z < 0) ZT -= 1;
                
int XF = (int) XT;
int ZF = (int) ZT;
world.getChunkAsync(ChunkUtil.indexChunk(XF, ZF)).thenAcceptAsync(new Consumer<>()
{
    @Override
    public void accept(WorldChunk chunk)
    {
        BlockType block = chunk.getBlockType(32 * XF + (((int) loc.x) & 31), (int) loc.y, 32 * ZF + (((int) loc.z) & 31));
    }
}
ocean moat
summer otter
worn kernel
#

[2026/01/21 14:29:00 INFO] [PluginManager] - com.hytale:LoginSecurity from path HytaleLoginSecurity-1.0.0.jar [2026/01/21 14:29:00 SEVERE] [PendingLoadJavaPlugin] Failed to load plugin mods\HytaleLoginSecurity-1.0.0.jar java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at ThirdPartyPlugin//com.hytale.security.LoginSecurityPlugin.<clinit>(LoginSecurityPlugin.java:36) at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method) at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1169) at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.ensureClassInitialized(MethodHandleAccessorFactory.java:341) at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.newConstructorAccessor(MethodHandleAccessorFactory.java:104) at java.base/jdk.internal.reflect.ReflectionFactory.newConstructorAccessor(ReflectionFactory.java:138)

summer fern
#

Hi guys, i've implemented a custom component:

public class MyComponent implements Component<ChunkStore> {...}

with a codec and everything. I registered correctly and it was accessible to the AssetEditor. I've tried to change from ChunkStore to EntityStore, and after changing everything, it compiles no problem, but is not accessible via AssetEditor. What am I doing wrong?

dusky vessel
#

Hello, im looking for good Hytale mod developers for a personal project. I can pay monthly or per plugin created.

late girder
# summer otter Can you share your full code example
import com.hypixel.hytale.component.Store;
import com.hypixel.hytale.math.vector.Transform;
import com.hypixel.hytale.server.core.modules.entity.teleport.Teleport;
import com.hypixel.hytale.server.core.universe.PlayerRef;
import com.hypixel.hytale.server.core.universe.Universe;
import com.hypixel.hytale.server.core.universe.world.World;
  public void addPlayerToWorld(Store<EntityStore> store, PlayerRef playerRef, World world){
    Teleport teleportComponent = Teleport.createForPlayer(world, new Transform(0, 75, 0));
    store.addComponent(playerRef, Teleport.getComponentType(), teleportComponent);
  }

I get these errors:

The method createForPlayer(World, Transform) is undefined for the type Teleport
The method addComponent(Ref<EntityStore>, ComponentType<EntityStore,T>, T) in the type Store<EntityStore> is not applicable for the arguments (PlayerRef, ComponentType<EntityStore,Teleport>, Teleport)
hushed hinge
#

Does anyone know how would I be able to get a blockID using a Vector3i position?

fathom sandal
#

Can someone help me with the hytalemodding guide Create Custom Item and Interaction? i did everything the same but the item isnt even in the game

still sphinx
#

Need an opinion if I should keep working on a mod. I have created a plugins that produces a list of the plugins installed on the server. Currently, it uploads to pastebin (a temp file storage place), the issue is the URL is different every time it uploads the plugin list. The intent is for streamers/discords to have a command, that would share the plugin list with people.

My question to y'all is, would this be something of value? if it is, i would stand up a website, that you could register and have your own URL

trim beacon
#

Is anyone working on a multi world plug-in? The one that's out doesn't work and is obfuscated

lost mist
#

This is for everyone trying to cancel items being dropped:

public class DropItemListener extends EntityEventSystem<EntityStore, DropItemEvent.PlayerRequest> {

    public DropItemListener() {
        super(DropItemEvent.PlayerRequest.class);
    }

    @Override
    public void handle(int i, @NonNullDecl ArchetypeChunk<EntityStore> archetypeChunk, @NonNullDecl Store<EntityStore> store, @NonNullDecl CommandBuffer<EntityStore> commandBuffer, @NonNullDecl DropItemEvent.PlayerRequest event) {
        event.setCancelled(true);
    }

    @NullableDecl
    @Override
    public Query<EntityStore> getQuery() {
        return Player.getComponentType();
    }

}
summer otter
warm osprey
#

Estamos buscando programadores hispanos, queremos montar un gran servidor habla hispana

summer otter
#

I did make a mistake typing quickly in discord checked my old code. I used the ref not player ref. ref = Ref<EntityStore>

near raven
#

Hey, does anyone know how to use the path from the AStarWithTarget class? I wanna move the Player along this path.

summer otter
late girder
# summer otter May I ask how you got your jar file, as all my jars except one (an older file) w...

I built the Server Jar with the HytaleDownloader provided by official website and got the HytaleServer.jar. Everything is working, except this.

My code right now:

    public void addPlayerToWorld(Store<EntityStore> store, Ref<EntityStore> ref, World targetWorld){
        store.addComponent(ref, Teleport.getComponentType(), new Teleport(targetWorld, new Transform(0, 75, 0)));
    }

could you perhaps send me the part of your code that does this please?

eager beacon
#

Help me Boosting serve

summer otter
#

the 3f is your pitch yaw roll vector and 3d is your position

fast merlin
#

Is there ANY sort of symbol support for chat? Every symbol I'm trying is just coming up with "?"

summer otter
summer otter
#

idk how they can be different but yeah, have you updated the server jar recently?

fast merlin
summer otter
quartz raven
#

wich program do u use to make a server on hytale? im thinking about make my own server on my pc dont want to buy host

cursive cloud
#

Hey folks, does anyone know which method i would best use to change a blockstate in a ticking system?

vale garden
#

Hello, it may be a stupid question but where does the LOGGER.Log send the message when on a local server ? I mean how can isee it

jolly relic
#

Hello! I'm trying to clear a region into air blocks, the thing is i don't know what I am doing wrong. Can someone help me? I want a easy class to erase from max to min

public class SimpleBlockEraser {

    private final World world;

    public SimpleBlockEraser(World world) {
        this.world = world;
    }

    public void clearArea(Vector3i max, Vector3i end) {
        world.execute(() -> {
            for (int x = max.x; x <= end.x; x++) {
                for (int y = max.y; y <= end.y; y++) {
                    for (int z = max.z; z <= end.z; z++) {
                        world.setBlock(x, y, z, "Filter_Air_Block");
                    }
                }
            }
        });
    }
}```
vale garden
jolly relic
#

I'm gonna try. Let's see

late girder
# summer otter wait what, still getting errors? Can I otherwise share you my server jar I use?

I have this command:

public class WorldCommand extends AbstractPlayerCommand {

    @Override
    protected void execute(CommandContext context, Store<EntityStore> store, Ref<EntityStore> ref, PlayerRef playerRef, World world) {
        WorldGenerator worldGenerator = new WorldGenerator();
        worldGenerator.generateWorld(store, ref, playerRef);
    }
}

Registered:

getCommandRegistry().registerCommand(new WorldCommand("genworld", "Teleports player to New World", false));

Then, in WorldGenerator:

    public void generateWorld(Store<EntityStore> store, Ref<EntityStore> ref, PlayerRef player){
        // Some code

        universe.addWorld(worldName, "Void", null).thenAccept(newWorld -> {
            // Some code
            HytaleServer.SCHEDULED_EXECUTOR.schedule(() -> {
                world = universe.getWorld(worldName);
                buildWorld(player); // This works
                addPlayerToWorld(store, ref, world, player);
            }, 2000, TimeUnit.MILLISECONDS);
        }).exceptionally(ex -> {
            player.sendMessage(Message.raw("World creation failed: " + ex.getMessage()));
            return null;
        });;
    }

    private void buildWorld(PlayerRef player){
        // Some block-placing code that works as intended
    }

    public void addPlayerToWorld(Store<EntityStore> store, Ref<EntityStore> ref, Worl
d targetWorld, PlayerRef player){
        player.sendMessage(Message.raw("Teleporting..."));
        store.addComponent(ref, Teleport.getComponentType(), new Teleport(targetWorld, new Vector3d(0, 75, 0), new Vector3f(0, 0, 0)));
    }
#

@summer otter sorry for the long message but I don't know what else to do lol

summer otter
#

I will take a look so no worries we can also take it to dms

late girder
#

maybe I'm passing the wrong arguments in the command execution or something?

dusk vine
#

Do you have any plugin recommendations for red chunk errors?

lost mist
#

hmm why does my command say I have no permission?


public StartCommand(Main plugin) {
        super("start", "Ponder a player");
        this.plugin = plugin;

        this.targetArg = this.withRequiredArg(
                "player",
                "The player to pondering",
                ArgTypes.PLAYER_UUID
        );
    }

    @Override
    protected void executeSync(@Nonnull CommandContext context) {
}
summer otter
#

I will try to compile your plugin Pedro and test it out

summer otter
turbid carbon
#

Does someone knows how servers generate these type of "holograms" but that seems an image floating?

lost mist
summer otter
#

so you need to have Ponder a player permission to execute the command

keen pecan
#

Does anybody know how to play item animations directly from code? I have made several animations inside the blockbench model of my custom item, but i don't understand how should i play them

finite dew
late girder
bleak lynx
#

i managed to create a hide n seek ๐Ÿ™‚ if anyone wants to help test it out dm

turbid carbon
bleak lynx
turbid carbon
devout harness
#

how do I get to the console in singleplayer? auth fails due to singleplayer

bleak lynx
inland pike
#

Is there an "official" server plugin documentation available somewhere?

inland pike
#

How are you learning ?

turbid carbon
finite dew
bleak lynx
inland pike
bleak lynx
inland pike
#

it's not obfucated ?

bleak lynx
fleet sphinx
bleak lynx
#

yeah i know but u only get acces to public things hehe

fleet sphinx
#

What does that even mean

bleak lynx
#

u only get acces to public classes not internal ones

fleet sphinx
#

What "internal classes" are you talking about?

mellow tendon
turbid carbon
fleet sphinx
#

I think he thinks there's a secret part of the JAR that's encrypted or something

inland pike
#

So actually how are you developing plugins ? ctrl f in HytaleServer.jar to find methods ?

hushed tapir
mellow tendon
bleak lynx
fleet sphinx
shrewd obsidian
#

yo

fickle pecan
#

๐Ÿ–ฅ๏ธ ๐Ÿฆ

shrewd obsidian
#

so for making mods is it the same way for mc java?

fickle pecan
#

No

fleet sphinx
#

MC Java has modloaders and API documentation, so no

summer otter
inland pike
fleet sphinx
summer otter
#

this takes way longer, for me it took 1min

ornate raven
shrewd obsidian
#

๐Ÿ˜ญ thats gonna be fun im tryna remake my MC mod for here

finite dew
half rock
#

Hey guys. Big mess here very hard to find anything. Can you recommend some good to have or interesting server-plugins?
I'm currently running and instance of hytale in Pterodactyl

shrewd obsidian
#

i cant send gifs

summer otter
devout harness
#

how can I teleport players and entities to a different world?

#

in java, that is

copper anchor
devout harness
#
protected void execute(@Nonnull CommandContext commandContext,
                           @Nonnull Store<EntityStore> store,
                           @Nonnull Ref<EntityStore> ref,
                           @Nonnull PlayerRef playerRef,
                           @Nonnull World world)
    {
        EventTitleUtil.showEventTitleToPlayer(playerRef, Message.raw("Malevolent Shrine"), Message.raw("Domain Expansion:"), true);

        if (DomainExpansion != null)
        {
            DomainExpansion.addPlayer(playerRef);
        }

        if (DomainExpansion == null)
        {
            if (Universe.get().getWorld(DE) != null) {
                DomainExpansion = Universe.get().getWorld(DE);
                assert DomainExpansion != null;
                DomainExpansion.addPlayer(playerRef);
            }
            else
            {
                Universe.get().addWorld(DE).thenApply(world1 -> DomainExpansion = world1).exceptionally(throwable -> null);
                DomainExpansion.addPlayer(playerRef);
            }

        }
    }

this doesn't seem to work, and even if it did, it would only teleport the person using the command, I eventually want this on an item

half rock
lavish elbow
#

has anyone figured out how to create character editor with custom features for server? like ui to select certain parts, colors for model and morph into it?

deep garden
#

Good afternoon, I tried to copy โ€œTilled soilโ€ using the asset editor. It copied correctly, but I can't plant any seeds in it. Does anyone know how to fix this? Thanks

late girder
copper anchor
late girder
half rock
copper anchor
summer otter
#

so bring the tp into the command after the worldgen

#

maybe do a small await/sleep if it isn't aligned

#

for me this makes it work almost instantanious

lost mist
#
    public static void fullyHeal(Ref<EntityStore> ref) {
        EntityStatMap stats = ref.getStore().getComponent(ref, EntityStatMap.getComponentType());
        if (stats == null) return;

        int healthIndex = EntityStatType.getAssetMap().getIndex("Health");
        EntityStatValue healthStat = stats.get(healthIndex);
        if (healthStat != null) {
            stats.setStatValue(EntityStatMap.Predictable.SELF, healthIndex, healthStat.getMax());
        }
    }

i currently have this code to set the player to full hp but it always sets them to 100 and doesnt take into account the armour how do I fix this?

wanton mountain
summer otter
#

this is not a void world but a normal world but you see the point of what I did. It doesn't save as that requires a bit more work with WorldSettings

public class WorldGen extends AbstractPlayerCommand 
{

    public WorldGen() {
        super("worldgen", "commands.worldgen");
    }

    public void generateWorld(Store<EntityStore> store, Ref<EntityStore> ref, PlayerRef player){
        Universe.get().makeWorld("test",Path.of("/universe/worlds"), new WorldConfig()).thenAccept(newWorld -> {
            // Some code
            HytaleServer.SCHEDULED_EXECUTOR.schedule(() -> {
                World world = Universe.get().getWorld("test");
                buildWorld(player); // This works
            }, 2000, TimeUnit.MILLISECONDS);
        }).exceptionally(ex -> {
            player.sendMessage(Message.raw("World creation failed: " + ex.getMessage()));
            return null;
        });;
    }

    private void buildWorld(PlayerRef player){

    }

    public void addPlayerToWorld(Store<EntityStore> store, Ref<EntityStore> ref, World targetWorld, PlayerRef player){
        player.sendMessage(Message.raw("Teleporting..."));
        store.addComponent(ref, Teleport.getComponentType(), new Teleport(targetWorld, new Vector3d(0, 75, 0), new Vector3f(0, 0, 0)));
    }

    @Override
    protected void execute(CommandContext ctx, Store<EntityStore> store, Ref<EntityStore> ref, PlayerRef playerRef, World world) {
            generateWorld(store, ref, playerRef);    
            try {
              Thread.sleep(2000);
            } catch (Exception e) {}
            addPlayerToWorld(store, ref, Universe.get().getWorld("Test"), playerRef);
    }
  
}
#

@late girder

#

add any of your code back in and you can also use the deprecated addWorld method but you see the point

ornate raven
#

is there way to add emojis in to text in hytale original ui builder? it shows ??

summer otter
#

nope as the text is UTF-8 formatted so not UTF-16 or UTF-24

ornate raven
#

okay thanks

sinful belfry
#

hey guys, does anyone know the correct way to read an item stack's tags in java?

"Tags": {
    "Type": [
      "Armor"
    ],
    "Family": [
      "Iron"
    ]
  }
drowsy sand
lucid spire
#

is there a better way to check if a player is near a position than to shedule a function every second that checks for it?

graceful ridge
#

is there a way to visualize the cooldown of items?

sinful belfry
drowsy sand
#

Is there a Plugin/mod that Puts Server on sleep Mode in Like 5 min when No one is playn? And Boots / resumes on Login attempt?

tough basin
#

anyone know how to summon a particle? on the player?

near turtle
#

You could likely make a plugin that stops ticking the server when players are offline and starts ticking when a player joins

#

there is a command for it after all