#server-plugins-read-only

1 messages ยท Page 100 of 1

upper wyvern
#

MoonPhaseChangeEvent, that's unique

feral latch
#

ANybody know what I need to allow custom commands to be used without /op and use my custom ranks instead?

upper wyvern
#

Register your command with permissions

#

not tested;

public class TeleportCommand extends AbstractPlayerCommand {
    public TeleportCommand() {
        super("tp", "Teleport to coordinates", "hytale.teleport");
        this.addArgument(ArgTypes.RELATIVE_VECTOR3I);
    }
}
tawdry lion
rancid apex
#

Does anyone know where I can find the ID for all the items?

west elk
#

implement JsonAssetWithMap<String, DefaultAssetMap<String, MyAsset>> and create a codec for it that includes id (String), and extraData (AssetExtraInfo.Data)

last helm
#

Guys, where can I see a tutorial or a documentation to create Hytale mods?

dusty venture
modern spire
#

Unsure if this is the right place, but is there a way to build a new AOT cache for the server? It doesn't explicitly work on Windows due to version mismatching.

[0.010s][info][aot] _jvm_ident expected: OpenJDK 64-Bit Server VM (25.0.1+8-LTS) for windows-amd64 JRE (25.0.1+8-LTS), built on 2025-10-21T00:00:00Z with unknown MS VC++:1942
[0.010s][info][aot]              actual: OpenJDK 64-Bit Server VM (25.0.1+8-LTS) for linux-amd64 JRE (25.0.1+8-LTS), built on 2025-10-21T00:00:00Z with gcc 14.2.0
[0.010s][warning][aot] The AOT cache was created by a different version or build of HotSpot
[0.010s][error  ][aot] An error has occurred while processing the AOT cache. Run with -Xlog:aot for details.
[0.010s][error  ][aot] Loading static archive failed.
[0.010s][error  ][aot] Unable to map shared spaces
zinc flint
slim hatch
#

Anyone knows the difference between using ProjectileConfigs and the Projectile Assets? They seem incompatible but Projectile Assets seem to permit particle effects

bleak lynx
#

are u guys using the new start command that comes with the update?

fading light
#

does anyone know of a mod that has a built in ui or side menu

zinc flint
fading light
deep jolt
#

i need help, i keep getting the message "DISCONNECTED FROM SERVER".

eager hollow
#

Out of 19 Plugins I use 18 of them error:
missing or invalid manifest.json

Do mod makes have no integrity ๐Ÿ˜›

modern spire
#

Solved the AOT thing, if anyone else wants to do it, move/remove the old AOT cache and run

java -XX:AOTCacheOutput=HytaleServer.aot -cp .\HytaleServer.jar com.hypixel.hytale.Main --assets ../Assets.zip --backup --backup-dir backups --backup-frequency 30

That will generate a new AOT cache with your system version of Java.

dusty venture
mint python
#

Where can I find good hytale devs?

livid geode
#

Yeah I cannot OP myself, the permissions file gets reset ever time the server restarts

eager hollow
livid geode
#

The /op command doesnt even work anymore wtf

signal dagger
modern spire
honest epoch
#

any mod for make scripts without compile with hot reload?

random briar
#

anyone else spawn on world spawn and not bed spawn?

signal dagger
quartz plover
modern spire
signal dagger
left jacinth
#

@urban onyx any luck w that

#

Anyone know what causes this w the new update?

java.lang.IllegalArgumentException: EventRegistry is shutdown!
        at com.hypixel.hytale.event.SyncEventBusRegistry.dispatchFor(SyncEventBusRegistry.java:88)
        at com.hypixel.hytale.event.EventBus.dispatchFor(EventBus.java:272)
        at com.hypixel.hytale.event.IEventBus.dispatchFor(IEventBus.java:44)
        at com.hypixel.hytale.server.core.asset.AssetModule.registerPack(AssetModule.java:332)
        at com.hypixel.hytale.server.core.plugin.JavaPlugin.start0(JavaPlugin.java:61)
        at com.hypixel.hytale.server.core.plugin.PluginManager.start(PluginManager.java:781)
        at com.hypixel.hytale.server.core.plugin.PluginManager.start(PluginManager.java:248)
        at com.hypixel.hytale.server.core.HytaleServer.boot(HytaleServer.java:377)
        at com.hypixel.hytale.server.core.HytaleServer.<init>(HytaleServer.java:303)
        at com.hypixel.hytale.LateMain.lateMain(LateMain.java:54)
        at com.hypixel.hytale.Main.main(Main.java:43)```
gaunt forge
#

anyone figured out how to detect when a block is placed / destroyed?

silver island
#

It looks like they broke ExitInstance in RespawnController in the world config under Death. Now the character gets multiple death screens and becomes broken with 0 HP, throwing an exception on any interact.
Has anyone encountered this issue recently?

agile elm
random briar
gaunt forge
agile elm
#

Anyone experienced in designing project structures for multi plugin servers?

karmic mist
#

has anyone found out what is supposed to replace the BlockState class? (I need the Rotation)

agile elm
weary oasis
#

dont thing this is the correct spot to ask, but added a testworld to the server, and want that to be a offlimite creative world where i can drop in to test stuff with out effecting the players inventor/ progrrees etc in the default world of the server. already make the test world and tp in to it. but got the same inventory .
any one know what config you should add or change when making a world to have it own inventor for the players?

rose pumice
#

Where is the hide armor configuration? I cant seem to find it in server config and world config

faint void
#

If I have 2 systems that I need to be constantly communicating with each other (One handles adding entities, the other handles ticking) what would the best way be to go about it?

#

both are registered to getChunkStoreRegistry

worldly tendon
#

any tips on debugging what mod disable the use of birch wood in the builders table for my server? looking for a more efficient way other than disabling/enabling mods until I find the culprit

upper wyvern
#

console logs likely

worldly tendon
#

it doesnt fire any events, the birch wood can be placed in the table, but all options for crafting are greyed out

dense gull
#

any teexture type mods? or build mods?

worldly tendon
#

Im suspecting the build mods Im using are the culprit, but was just wondering if theres a way to use the asset editor or something to look for the broken piece

upper wyvern
void pendant
#

Have you find it?

dense gull
#

some updated within minutes. if its easy or predictable. others might need a little time.

#

BetterMap updated fast af lol

#

like 7 mins

livid geode
#

where to get or browse mods from then?

worldly tendon
#

yeh over half of mine were ready to update when I got on today

bleak lynx
#

whats the diffrence with using the old command?

worldly tendon
livid geode
worldly tendon
#

yeah, and using modsync for easy updates

#

with modsync you have to use the given commands to add the mods for it to work though

livid geode
#

I try searching for mods and theres nothing, just a billion "how to install mods" pages, without saying where to ruddy get them from in the first place

worldly tendon
#

so a bit tedious to setup, but works great so far

merry brook
void pendant
#

Added new armor slot visibility toggles next to equipped armor, accessible directly in the character panel.
Server hosts can disable/enable this feature to enforce rules for PvP/Immersion purposes.

WHERE?

void pendant
merry brook
#

ik

dense gull
#

EVERYONE wanting the ARMOR 2 not be HIDDEN: get over it. its hilarious. pvp has never been more chaotic!

worldly tendon
dense gull
#

TL:DR faster startup and its not forced updates i think ? is that about right?

void pendant
#

0 documentation for devs

modern spire
bleak lynx
ornate raven
stone prawn
#

Is anyone else getting kicked when clicking/pressing F on the memorial?
On our server, every time a player interacts with the memorial they get removed from the world (kick) and an invalid ComponentType error shows in the console.
Wondering if this is happening to others too.

ornate raven
#

problaby upgraded map problem

stone prawn
final pulsar
#

Does anyone know how to hook into NPC interact? I want to make a custom NPC interaction (via hitting "f")

ornate raven
honest herald
#

does anyone know how i update a server

midnight burrow
#

im assuming its my mods, but i just want to make sure, has anyone on vanilla been getting kicked from the dragonspire weald in the new update?

ornate raven
honest herald
#

how do u do that

rose pumice
livid geode
#

How to do this? "As this is a standablone server, OP yourself (/uuid) in the "permissions.jason" file while the server is off, or temporarily use the "--allow-op" program launch argument"

#

what to I put in permissions.json file?

honest herald
#

my friend joined a server called the breakdown

primal cypress
#

with the new update i should re decompile the new server.jar right?

honest herald
#

its a youtuber

gaunt wasp
#

hi everyone. I created small model in Blockbench (just really simple one) and trying to add it for entity via components. But for some reason point of rotation (pivot i think) is at bottom angle of hitbox, not centered as I want. How to solve this?

rose pumice
honest herald
#

Well we watched a video of how to make it

gaunt forge
# agile elm PlaceBlockEvent and BreakBlockEvent

any reason this wouldn't work? I can confirm that i get the "setting up block event handlers" message but upon placing a block it seems the event does not fire.


import com.hypixel.hytale.event.IEventBus;
import com.hypixel.hytale.logger.HytaleLogger;
import com.hypixel.hytale.server.core.HytaleServer;
import com.hypixel.hytale.server.core.event.events.ecs.PlaceBlockEvent;

public class BlockEventHandlers {
    private final HytaleServer server;
    private final IEventBus eventBus;
    private static final HytaleLogger LOGGER = HytaleLogger.forEnclosingClass();

    public BlockEventHandlers() {
        LOGGER.atInfo().log("setting up block event handlers");
        this.server = HytaleServer.get();
        this.eventBus = server.getEventBus();

        eventBus.register(PlaceBlockEvent.class, event -> {
            LOGGER.atInfo().log("block placement detected");
            LOGGER.atInfo().log(event.toString());
        });
    }
}```
azure lotus
#

try registerGlobal

ornate raven
#

how can i check a block if is a chest in xyz

gaunt forge
azure lotus
#

I think register only registers to the events of your plugin (not sure tho) but I had problems with register alone too

hollow radish
#

[0.198s][warning][aot] This file is not the one used while building the shared archive file: '/usr/lib/jvm/temurin-25-jre-amd64/lib/modules', size has changed

someone know how to fix that ?

dim osprey
violet sorrel
#

stupid question does someone else also expierence the issue that this is now always null ?

    Player player = event.getHolder().getComponent(Player.getComponentType());

    var pref = player.getReference();

so pref in that case I can still get the player...

gaunt forge
ornate raven
dim osprey
vale quarry
gaunt wasp
#

hi everyone. I created small model in Blockbench (just really simple one) and trying to add it for entity via components. But for some reason point of rotation (pivot i think) is at bottom angle of hitbox, not centered as I want. How to solve this?

winter arch
#

[2026/01/24 18:28:55 SEVERE] [Hytale] Exception in thread: Thread[#3,main,5,main] Caused by: java.util.concurrent.CompletionException: com.hypixel.hytale.common.util.CompletableFutureUtil$TailedRuntimeException: java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: World default already exists on disk! at java.base/java.util.concurrent.CompletableFuture.wrapInCompletionException(CompletableFuture.java:323) at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:359) at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:364) at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:1015) at java.base/java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(CompletableFuture.java:995) at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:531) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1794) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1781) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:511) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1450) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2019) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)

do i have to delete the current default world?

rose pumice
winter arch
#

that happened when ive put the new version

vale quarry
upbeat void
#

How to retrieve player ip ?

azure lotus
night fossil
#

Hey guys

vale quarry
#

Did you find out? I really need that.

gaunt forge
signal vale
#

Anyone dealt with black grass in voide worlds?

ornate raven
#

'com.hypixel.hytale.server.core.universe.world.meta.BlockState' is deprecated and marked for removal

anyone knows what it will be replaced with

slate snow
#

might be possible via code though

azure lotus
gaunt wasp
#

hi everyone. I created small model in Blockbench (just really simple one) and trying to add it for entity via components. But for some reason point of rotation (pivot i think) is at bottom angle of hitbox, not centered as I want. How to solve this?

upper wyvern
#

oh nvm that's related to both systems ๐Ÿ‘€

thorn cargo
#

Hey guys, how's it going? I found a bug that's really messing me up in the game, it's the portals. Every time I enter one, I get completely bugged and keep teleporting forever. If any of the mods see this, please fix it!!!!

broken dragon
#

Oh I've seen something like this before. In Verse we have ?datatypes which means you can have ?string, ?float, ect.. you can put anything into them but typically you just use them as placeholders until you have the data necessary and then cast it correctly

livid geode
#

wait... so regular users can kick and ban on a multiplayer server? not just admins?

azure violet
#

How can i make a paragraph in .ui file that spans multiple lines?

livid geode
#

This eurogamer article I am reading doesnt put those commands in the "admin" section

gaunt wasp
gaunt forge
errant shale
#

how are we able to create an entirely new world save using g-portal hosting? is it just deleteing the world file "default"?

gaunt forge
#

im looking at the source for PlaceBlockEvent now though trying to see what you're seeing

royal mural
#

guys, I have a java doubt here, how do I include a java library dependency in my plugin build? Im trying to add jackson

azure lotus
gaunt forge
desert agate
#

Trying to make this function:

public Player getPlayerByUuid(UUID uuid) {
        try {
            return Universe.get().getPlayer(uuid);
        } catch (Exception e) {
            LOGGER.at(Level.WARNING).log("Failed to get player by UUID: " + uuid, e);
            return null;
        }
    }

But Universe#getPlayer returns a PlayerRef - how can I get the player from UUID?

azure lotus
# gaunt forge thank you much, i'll do some looking. really appreciate the pointers.

This would work btw (don't forget to register the system!):

public class BlockPlacementTestSystem extends EntityEventSystem<EntityStore, PlaceBlockEvent> {
    private static final HytaleLogger log = HytaleLogger.forEnclosingClass();

    public BlockPlacementTestSystem() {
        super(PlaceBlockEvent.class);
    }

    @Override
    public void handle(int var1, @NonNullDecl ArchetypeChunk<EntityStore> var2, @NonNullDecl Store<EntityStore> var3, @NonNullDecl CommandBuffer<EntityStore> var4, @NonNullDecl PlaceBlockEvent var5) {
        log.at(Level.SEVERE).log("HellOwOrld");
    }

    @NullableDecl
    @Override
    public Query<EntityStore> getQuery() {
        return Query.any();
    }
}
livid geode
#

is there a way to set the server to all items dropped on death mode?

void pendant
#

Have you found it?

azure lotus
# desert agate Trying to make this function: ```java public Player getPlayerByUuid(UUID uuid) {...

That's how i do it

public World getWorld() {
        return Universe.get()
            .getWorld(ref.getWorldUuid());
    }
    
    public Transform getTransform() {
        return getContainingEntityStore()
            .getComponent(ref.getReference(), TransformComponent.getComponentType())
            .getTransform();
    }
    
    public Store<EntityStore> getContainingEntityStore() {
        return getWorld().getEntityStore().getStore();
    }

    public Player getPlayer() {
        return getContainingEntityStore().getComponent(ref.getReference(), Player.getComponentType());
    }

in short:

Get the World the player is in, get it's entity store from there and use getComponent with Player.getComponentType to get the player instance.
Watch out what thread you are on though, if you're not on the world thread this will crash. You can use world.execute() to force execution on the world thread

desert agate
gaunt forge
steep wigeon
#

does someone know how can I update a block's Component data on a UseBlockEvent.Post?
I modify the data getting the blocks reference with its position

Ref<ChunkStore> blockRef = worldChunk.getBlockComponentEntity(targetPosition.x, targetPosition.y, targetPosition.z);

but when I update the component's data, it doesn't get registered properly, like if its getting reset.
On the RefSystem, onEntityRemove event is triggering, i guess when the block changes its state, its get replaced, but I haven't figured out the way to update the component after that happens to keep the data

azure lotus
royal mural
#

hey guys, does someone know how to add a library to my plugin so its included in my build? Im trying to use jackson library but once i run the plugin in my test server it says can't find that library at runtime:)

azure lotus
final pulsar
#

Anyone else experiencing world gen issues on update 2 during server startup?

[2026/01/24 19:05:03   INFO]        [HytaleServer] Shutting down... 3  'Failed to load world gen!
Error while loading zone "/Server/World/Default/Zones/Oceans" for world generator from file.
Error while loading cave generator.
Error while loading caves for world generator from /Server/World/Default/Zones/Oceans/Cave/Caves.json
livid geode
mighty topaz
#

ฤฐ am real baron @livid geode

little tiger
#

Yo is this server download files updated for hytale update 2

copper summit
#

Why did this new update break my plugin? What changed?

#

Anyone have like a list of things they changed?

copper summit
#

okay, but that doesnt really tell me anything for my plugin, like i was hoping someone knew if they changed playerrefs or what

bleak finch
#

Anyone know if it is possible to create hitboxes that are not bounding boxes but made of multiple boxes?

native nest
#

how to make reload for guns??

copper summit
#

it was an ECS update, ig it did tell me my b

blissful ibex
#

Got this too. Anyone knows How to fix this problem?
Server is booting up! Please try again in a moment. [START]

hollow oxide
blissful ibex
hollow oxide
#

Well... idk sorry..

faint void
#

Does anyone know how to go about displaying block component data in the ui that needs to update every second?

vapid hull
#

Hey guys, I'm looping over ItemStack array, I need to check for specific tag, I've looked through server code and I've found Item.getData().getTags() or Item.getData().getRawTags() but I'm not sure if I'm doing it the right way.

gloomy kite
#

Heyy guys, i have a problem i made myself a localhost server and i was trying to make myself a plugin that just gives me a chat message but i builded it but it doesnt show up in the server if i drop it into /Server/mods/ what do i need todo that it runs ?

tropic axle
#

Guys how do I give spacing when using "LeftCenterWrap" LayoutMode in the UI

ashen relic
#

hi , i need what for fix custom stairs texture

#

help

signal dagger
#

If i teleport a Player during PlayerReadyEvent to the spawnpoint the Player's rotation is slightly leaned forward. Has anyone else experience this?

cold drift
#

anyone knows if hytale changed tokens scopes for the server ?
my tooling can still fetch valid tokens; but server now doesn't accept it

ebon python
#

one question, can I code everything from world generation v2 in java instead of node editor ?

dire acorn
#

Is there any public documentation yet (even if unfinished)?

tropic axle
#

Guys how do I get the Material/Item name from its id?

sage mango
#

does anyone here know npcdialog plugin I dont understand the teleport player command

viral oak
#

Can we glow swords, bow (default items)

turbid valve
#

Anyone know a pl like tab to see players in tab

wintry dawn
wintry dawn
tepid raven
tropic axle
wintry dawn
vapid hull
wintry dawn
red ridge
#

Hey, in this channel can we ask help for asset editor questions/issue ?

wintry dawn
# tropic axle How ๐Ÿ˜ญ

well that I wouldn't know, idk if it is even possible, it probably is, but it could be that only the game displays the names and the api doesn't expose them

rugged halo
#

so, Hytale's PlayerSkin doesn't support just completely replacing the player model, does it?

#

actually that doesn't even matter, I still need custom vfx/sound data and Hytale's PlayerSkin doesn't have those lol

fickle pecan
#

hey uhm so DamageEventSystem fires on receiving but is there an event that fires when i send damage?

rugged halo
wintry dawn
turbid rose
#

How many people here actually knew about the Hytale built-in config system? it's very neat

fickle pecan
# wintry dawn Maybe you can somehow get the source from that event?

but i dont want to get the damage source, players have a component that contains traits/abilities so i want to edit damage sources when the players swings a weapon instead of when it hits

my best guess it so use interaction type .main/secondary, get the weapon hes holding etc etc

rugged halo
wintry dawn
rugged halo
#

mine uses Jackson serialization and does a bunch of dark sorcery behind the scenes to get around type erasure

tawdry ledge
#

Hello, just set myself up for plugin development. I want to make a new gamemode, but the gamemodes seem hardcoded into the GameMode enum in a final array. How can I make a custom game mode that works with the gamemode command?

fickle pecan
turbid rose
turbid rose
#
public class CoreConfig {

    // Codec Builder
    public static final BuilderCodec<CoreConfig> CODEC =
            BuilderCodec.builder(CoreConfig.class, CoreConfig::new)
                    .append(new KeyedCodec<String>("ApiUrl", Codec.STRING),
                            (config, value, info) -> config.ApiUrl = value,
                            (config, info) -> config.ApiUrl)
                    .add()
                    .append(new KeyedCodec<String>("ApiInternalKey", Codec.STRING),
                            (config, value, info) -> config.ApiInternalKey = value,
                            (config, info) -> config.ApiInternalKey)
                    .add()
                    .append(new KeyedCodec<String>("RandomValue", Codec.STRING),
                            (config, value, info) -> config.RandomValue = value,
                            (config, info) -> config.RandomValue)
                    .add()
                    .build();

    // Config Types & Defaults
    private String ApiUrl = "https://api.hyrivals.gg";
    private String ApiInternalKey = "SOME_KEY";
    private String RandomValue = "HELLO WORLD!";

    public CoreConfig() {
    }

    // Getters
    public String getApiUrl() { return ApiUrl; }
    public String getApiInternalKey() { return ApiInternalKey; }
}

When you add new values, the server automatically adds them to the existing config

rugged halo
#

Wow, this is ass.

royal mural
#

any way to actually debug a plugin other than logs?

wintry dawn
# rugged halo Wow, this is ass.

It's not that bad, but not very good either, I am using it currently and instead of a map I use a string array with : as a separator for key, value lol

rugged halo
#

nothing intended towards you ofc, but any kind of manual config system like this results in some serious code bloat over time, coming from AAA dev

#

fortunately Java is really good at avoiding this kind of thing, it's C++ where you usually see code like that

#

hang on lemme grab a sample

pallid crest
#

Is there any public src code for HytaleServer.jar? I am trying to poke around and figure out how item metadata storage works

wintry dawn
rugged halo
#

IntelliJ has a decompiler built in, it's not source accurate per se but it is bytecode accurate and should give you an idea of what's going on

turbid rose
#

Decompile it ๐Ÿ˜…

pallid crest
#

Yea the IntelliJ stuff works, was just hoping there were comments javadoc laying around lol

wintry dawn
#

Didn't they say they were gonna release source code for the hytaleserver.jar? Or did I dream it

tawdry ledge
#

or do I have to make a separate command that handles it? Seems to be the case from what I've seen

rugged halo
#

re: the config stuff

public final class ColorConfiguration {
    public Color primaryColor;
    public Color secondaryColor;
    public Color messageColor;
    public Color highlightColor;

    public Color allyMessageColor;
    public Color neutralMessageColor;
    public Color enemyMessageColor;
}

that's it, that's the whole class. the library i wrote will automatically update configs on server launch when you add new fields to a class that's being serialized

#

no need to do any weird codec stuff

lone burrow
#

Hello guys, is there a way to detect the width and length of a prefab ?

rugged halo
#

plus the data in-memory is format-agnostic, so you can save it to json/xml/yml as you please

i had code to use SQLite and remote SQL servers as well for stuff like leaderboards but never got around to finishing that part lmao

#

downside is that you're still using text editors for it like you would with Spigot, but at some point I might add support for doing it through an ingame UI so people don't need FTP perms or whatever

devout harness
#

How could I best save a block at a location? like an array of blocks in a radius?

wild turtle
#

meow

rugged halo
#

gdi lmao

finite pond
devout harness
wild turtle
#

yoo is there any1 here who knows how to query big servers for their player list etc?

devout harness
#

so I need to actually save whatever is in there

rugged halo
wintry dawn
rugged halo
#

yeah I'm not sure how you'd handle the additional data, Hytale is supposed to use an ECS but it kind of breaks that encapsulation sometimes lol

devout harness
#

I might create a block object that saves blocktype and its blockcomponents?

rugged halo
#

worth trying

little wing
#

Is this the right place to ask about the asset editor?

rugged halo
#

ask away, though I don't know how to work it other than viewing assets lmao

#

also, while i'm here, how would one go about loading a model through code? I saw something about ModelAsset

lean kelp
signal vale
#

how to fix black grass on void worlds?

rugged halo
#

A+ username though, I like the icons

little wing
#

Well, I have an item that continuously performs an action while the button is held, with a looping animation that should be playing as long as the button is pressed. However, the animation is longer than the action cooldown, meaning the animation snaps to the first frame every time. Is there a way to simply play the animation on a loop until the button is released?

broken dragon
#

has anyone else noticed that that mods compiled with the latest server jar are not recognised by Hytale?

rugged halo
#

nvm I'm seeing this

ModelAsset modelAsset = ModelAsset.getAssetMap().getAsset("Minecart");
Model model = Model.createScaledModel(modelAsset, 1.0f);

are the models namespaced or can I just add a model called "Model" and load it this way

near dock
#

?

#

Yes, but this isn't a normal bug. I can't write it down; I can show it as an image or by live streaming.???

wintry dawn
#

what

near dock
#

huge bug

jagged axle
#

does hytale have an defined dns service (srv)?

#

like minecraft for example has with _minecraft (_minecraft._tcp.cname)

#

tried _hytale but nah

thorny dew
#

No, it doesn't support srv resolution yhet

jagged axle
#

thx

#

would be cool to add in future

karmic patrol
#

how do i use the update thing in the server config? i know how to manually update a server, but i'd like it to update every time anything comes out without manually doing it

timber trellis
#

Hi,
Has anyone ever had issues with addInstruction on a velocity component not being applied to projectiles?
It works perfectly fine on players and monsters, but for some reason it has no effect on projectiles once theyโ€™re spawned.
If youโ€™ve encountered this or have any ideas, Iโ€™d really appreciate the help. Thanks!

sour plinth
#

guys i updated the server files and cant see the map anymore,any solutions? linux btw

misty basin
#

how will they handle paid mods will there be license checks or some kind of drm built in ?

quartz plover
misty basin
#

so i can make a service that obfuscates source code and provides an api for license checks per server basis

quartz plover
fleet sphinx
#

It's a Java application, you can do anything you like. I'd just be prepared for people to try and bypass it

quartz plover
#

There's no perfect DRM, it just depends on how far you're willing to go & how far those trying to pi rate your content are willing to go

#

That word is censored, apparently

misty basin
#

Everything is bypassable, its just how hard it is

fleet sphinx
#

The best DRM I've seen is dynamically downloading the JAR in memory and loading the classes that way. still bypassable, though, if you intercept it

quartz plover
#

Anyway, as long as your you mod does its job well people will pay for it if it's reasonably priced

#

If you spend more time on DRM than the actual content that'd be foolish

sage mango
#

hey does anyone know if its possible to create 2 servers and connect them like how bungee cord on minecraft works

fleet sphinx
misty basin
sage mango
old token
#

so ive setup portforwarding, ive opened my firewalls, and i still cant join any hytale server without using a vpn, my nat type is standard

civic zephyr
slow olive
#

hello, when was the maven repo published?

civic zephyr
#

Even if its custom outside of Hytale:

sour plinth
#

guys i updated the server files and cant see the map anymore,any solutions? linux btw

tawdry lion
#

How would one refresh a hud every second? I have been tinkering around for a bit but can't seem to get it right

rugged halo
fleet sphinx
quartz plover
#

Unless you're like spark or luckperms nobody's gonna bother with paid mods. There will always be free alternatives, after all

opaque jetty
#

nope

rugged halo
#

On another note, does Hytale use no damage ticks? I had the ability to configure no damage ticks in this Spigot plugin I'm porting over and I'm wondering how to reimplement it in Hytale to increase/decrease the frequency at which an entity can take damage

civic zephyr
quartz plover
#

People already hate on ARR licensed mods enough, even if they're source-visible

misty basin
#

I think one of the biggest things that hold back minecraft modding is that its just an hobby you cant gain your living with them

rugged halo
#

I have DamageDataComponent, but that just lets me set the last damage time lmao

opaque jetty
#

so yes, it can be made with for example spongepowered, but JavaPlugins doesn't contains void's (saveDefaultConfig(), reloadConfig(), getConfig()) like in Bukkit

rugged halo
devout harness
quartz plover
#

If your mods are big enough on modrinth/curseforge, you could very well make a living out of them tbf

fleet sphinx
ebon star
#

Comeee joinnnnn Play.heroes.rest

civic zephyr
rugged halo
#

I've got a library that might help, we're currently working on getting a maven repo up for it if you're interested

civic zephyr
#

Codecs aren't so bad either way just alot of boiler

opaque jetty
#

Guys, why Player not contains Location?
so how to get Player Location?

vagrant swift
#

Does anyone know if it is currently possible to give each spawned NPC a distinct shop inventory in the data assets?

dapper plover
#

Anyone wrote a server plugin yet to make portals where you can set a world_name as target?

rugged halo
devout harness
opaque jetty
#

Actually i want to make one library and make creating Configs easy like FileConfiguration in Bukkit if you know about

rugged halo
subtle geyser
#

Do you know good job, auction or crate mod

devout harness
#

the way I did it first was to create a new world and try to place a prefab in there, but for some godforsaken reason teleporting is broken right now

opaque jetty
rugged halo
civic zephyr
rugged halo
misty basin
#

so for a different idea i have can i add sprites to entities dynamically, for example when a zombie got hit by a sword i want to add a scar to a specific place on its sprite

rugged halo
civic zephyr
opaque jetty
civic zephyr
#

But ItemContainerState is a Blockstate

rugged halo
# opaque jetty wdym with that?

need to get the TransformComponent from the player, which is done in a really roundabout way for some reason. hytalemodding dot dev has docs for working with this stuff, it's a bit weird

devout harness
# civic zephyr Whats broken about it

I previously got this from this server

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(1, 35, -22), new Vector3f(0, 180.0f, 0)));
    }

which should put me facing the right direction. However, it puts the player at a weird angle. changing the rotation to 179.9f somehow changes the actual rotation in game by like 2 degrees instead. it's incredibly confusing. Also, I still haven't figured out how to place a prefab using code

rugged halo
#

ngl I'm still struggling to understand the point of the store/holder system

#

like, what does it offer over not doing that

civic zephyr
#

Stores are data collections, (Containing refs), holders are containers made before they are turned into refs

rugged halo
#

no I mean

dusty venture
rugged halo
#

what exactly do you get out of doing that instead of just implementing a more straightforward ECS

fleet sphinx
#

flexibility

merry fjord
wary lion
#

making my minigames network anyone with experience making networks whats the best way to sync servers together currently im using redis to sync servers and feed data across servers but is there a better method?

civic zephyr
#

And easier serialization maybe? Stores are per world

rugged halo
#

perhaps, I'm comparing it to Unity ECS and not sure what the parallel is I guess

opaque jetty
dusty venture
#

its aslo better for caching

tawdry ledge
rugged halo
#

I just wish I could do entity.getComponent lmao

civic zephyr
# merry fjord is ```blockComponentChunk``` a way to access components attached to blocks ?
var chunk = world.getChunkIfInMemory(ChunkUtil.indexChunkFromBlock(targetBlock.x, targetBlock.z));
var chunkRef = chunk.getReference();
var chunkStore = world.getChunkStore();

var blockComponentChunk = chunkStore.getStore().getComponent(chunkRef, BlockComponentChunk.getComponentType());
int blockIndex = ChunkUtil.indexBlockInColumn(targetBlock.x, targetBlock.y, targetBlock.z);
var blockRef = blockComponentChunk.getEntityReference(blockIndex);

var fooBarComponentType = getFooBarComponentType();
var fooBarComponent = chunkRef.getStore().getComponent(blockRef, fooBarComponentType);
#

So yeah it just gets the ref (For the individual block) and you read it back from the Store<ChunkStore>

honest epoch
#

Hyscript or Simple Scripting what is better

copper summit
#

lame ash bruh whyd they have to go and redo the ecs and break my entire plugin, now i gotta go and relearn how ts works

civic zephyr
#

Redid the ECS?

devout harness
copper summit
rugged halo
#

probably not, if it was buried deep enough

wary lion
copper summit
rugged halo
#

right, so if I want a helper method to just get the entity location

    public static Vector3d getLocation(Entity entity) {
        Ref<EntityStore> ref = entity.getReference();
        return ref.getStore().getComponent(ref, TransformComponent.getComponentType()).getPosition();
    }

this feels so verbose lmao

copper summit
#

they also redid the respawn system

primal wadi
#

If I were to ask a developer to make a Pixelmon-ish style mod for Hytale that uses my IP. What would be an acceptable amount for said project? I'm not trying to undercharge a developer, and obviously I don't want to overcharge either.

opaque jetty
civic zephyr
rugged halo
#

I mean I understand them not having entity.getLocation in the event that an entity lacks a TransformComponent for some reason

wary lion
copper summit
#

I spent so long getting respawns to send you to the correct place man

pallid crest
#

If I want to store additional data on 'vanilla' items I need to create a component w/ a BuilderCodec, then attach that to some store somewhere then attach that during an interceptable process? Does this sound right or am I over complicating this

rugged halo
lost bloom
#

Look at all these nerds, love yall ๐Ÿ˜˜

primal wadi
civic zephyr
rugged halo
copper summit
rugged halo
wary lion
civic zephyr
#

But yeah stores are per world, theres a Store<EntityStore> and a Store<ChunkStore> per world

ornate raven
#

swipez do you know what we going to use for blockstate now its deprecated

civic zephyr
#

The chests use Blockstate still I assume but I haven't checked the update so maybe they've already switched off it

acoustic rampart
#

anyone have the old onyxium ores saved anywhere? i want to readd them with my mod

civic zephyr
#

Probably not though if I had to guess haha, they've been deprecated for a while

wintry dawn
#

Is it possible to add tooltip text at runtime?

ornate raven
#

okay

surreal flame
#

how can i get for an item id string the name from the localization?

primal wadi
# wary lion ๐Ÿ˜ญ $1,000+

Cool, I was looking at $500-$1,000 so that's within or at least close to budget at least with what I was hoping โค๏ธ thanks as well to your reply @rugged halo

pallid crest
dusty venture
#

I mean Ref's are weak links rather than strong ones so the ref object will never be nul until it is no longer used anywhere; the Entity could suddenly be deleted and any other systems using it wont know that its gone

rugged halo
#

or am I misunderstanding what you wrote

keen shard
#

WILD bug NEED HELP. My friend loads into an entirely differnt instance of a server after the updatre instead of the one we play one

wintry dawn
rugged halo
simple herald
#

can anyone help me figure out what is being triggered to active the flying movement state, i want to hook into it for double jump logic

primal wadi
#

That being said, if anyone dev is interested in that let me know lol. I'm reaching out to some buddies first but yeah

dusty venture
acoustic rampart
#

theres a bug report on hytales webpage

keen shard
dusty venture
acoustic rampart
wintry dawn
surreal flame
rugged halo
surreal flame
#

cmd.set("#id.TooltipTextSpans", value);

rugged halo
#

also just realized Java has WeakReference anyway lmao

copper summit
wintry dawn
plain smelt
#

how do i play with my friends non of us are able to join each others servers

gaunt wasp
#

how to add Ref<EntityStore> as codec field?

wary lion
surreal flame
wary lion
#

i think the main driving point of the price is just hytale is just so incredibly new

surreal flame
#

but in the hell i dont know how i get the translation for an item id

primal wadi
# wary lion like with no artwork i didnt want to scare you off instantly but it'd be like $3...

I have my own IP. I have a fully flushed out TCG made for it lol so I'd make the 3D models for it, I'd also be okay with AI animation or default hytale animation. 3-5k would be a bit much but around $1k I could do. Thanks for the honest breakdown! It being so new makes sense, but I could also see that helping the price as it'd be a good paid learning opportunity for the game too โค๏ธ

vast fulcrum
#

anyone has experience adding another plugin as dependecy? Trying to add VaultUnlocked but i get

Caused by: java.lang.ClassNotFoundException: net.cfh.vault.VaultUnlockedServicesManager

VaultUnlocked is being loaded in my server though

vocal kindle
#

Has anyone found how to distinguish a mob that is hostile vs passive?

copper summit
#

RespawnSystems isnt even an ecs system anymore bruh

civic zephyr
#

Need to redecomp

rugged halo
#

interacting with NPC AI seems a little wacky

civic zephyr
#

Its a mess, their whole system

rugged halo
#

More of a mess than my colony sim framework lol

copper summit
#

so basically all world manager plugins like mine just dont work anymore

rugged halo
#

i would expect to deal with a lot of breaking changes this early into the game's lifespan

copper summit
#

also anyone know if i can actually use worldgen2 providers? like void and flat?

lost mist
#
2026-01-23 15:19:34.2251|INFO|HytaleClient.Networking.PacketHandler|ProcessJoinWorldPacket: FadeInOut is False 
2026-01-23 15:19:34.2251|INFO|HytaleClient.Application.AppGameLoading|GameInstance.PrepareJoiningWorld() 
2026-01-23 15:19:34.2251|INFO|HytaleClient.Application.AppGameLoading|GameInstance.StartJoiningWorld() 
2026-01-23 15:19:34.3077|INFO|HytaleClient.Utils.SentryHelper|Sentry event captured: 7caf23147dec4949b5b387b1e5301b2a 
2026-01-23 15:19:34.4266|ERROR|HytaleClient.Application.Program|System.NullReferenceException: Object reference not set to an instance of an object.
   at HytaleClient!<BaseAddress>+0x3c3cc6
   at HytaleClient!<BaseAddress>+0x3c40b8
   at HytaleClient!<BaseAddress>+0x2e6290
   at HytaleClient!<BaseAddress>+0x636a04
   at HytaleClient!<BaseAddress>+0x635d85
   at HytaleClient!<BaseAddress>+0x64cb0a
   at HytaleClient!<BaseAddress>+0x64c99e
   at HytaleClient!<BaseAddress>+0x11f9ab7
--------------------
 
2026-01-23 15:19:34.4266|INFO|HytaleClient.Utils.SentryHelper|Sentry event captured: 8c224ecb40af4d5f8b93a49db0726171 
2026-01-23 15:20:03.9850|INFO|HytaleClient.Networking.PacketHandler|Received JoinWorldPacket 
2026-01-23 23:12:20.1816|INFO|HytaleClient.Application.AppGameLoading|GameInstance.OnWorldJoined() 
2026-01-23 23:12:20.1816|WARN|HytaleClient.Application.AppGameLoading|Removing mis-prediction: Hytale.Protocol.EntityStatUpdate 
2026-01-23 23:12:20.1816|WARN|HytaleClient.Application.AppGameLoading|Removing mis-prediction: Hytale.Protocol.EntityStatUpdate 
2026-01-23 23:12:20.1816|WARN|HytaleClient.Application.AppGameLoading|Removing mis-prediction: Hytale.Protocol.EntityStatUpdate 
2026-01-23 23:12:20.1816|WARN|HytaleClient.Application.AppGameLoading|Removing mis-prediction: Hytale.Protocol.EntityStatUpdate 
2026-01-23 23:12:20.1978|INFO|HytaleClient.Utils.SentryHelper|Sentry event captured: ebc6743d26a0450a87dfcb3790da6349 
2026-01-23 23:12:20.3588|DEBUG|HytaleClient.Application.Program|Telemetry packet sent: event (seq: 15) 
2026-01-23 23:12:20.3712|ERROR|HytaleClient.Application.Program|System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
   at HytaleClient!<BaseAddress>+0xa9106b
   at HytaleClient!<BaseAddress>+0x3d8141
   at HytaleClient!<BaseAddress>+0x3f44f3
   at HytaleClient!<BaseAddress>+0x55185c
   at HytaleClient!<BaseAddress>+0x550fad
   at HytaleClient!<BaseAddress>+0x3c692c
   at HytaleClient!<BaseAddress>+0x135d5c2
   at HytaleClient!<BaseAddress>+0x3c488b
   at HytaleClient!<BaseAddress>+0x3c4744
   at HytaleClient!<BaseAddress>+0x3c3a86
   at HytaleClient!<BaseAddress>+0x3c32d9
   at HytaleClient!<BaseAddress>+0x2e67bb
   at HytaleClient!<BaseAddress>+0x2e7078
   at HytaleClient!<BaseAddress>+0x63a6e1
   at HytaleClient!<BaseAddress>+0x636372
   at HytaleClient!<BaseAddress>+0x64cb0a
   at HytaleClient!<BaseAddress>+0x64c99e
   at HytaleClient!<BaseAddress>+0x11f9ab7
--------------------
 
2026-01-23 23:12:20.3712|INFO|HytaleClient.Utils.SentryHelper|Sentry event captured: 26da75d8cd9c417ba8ebdea331703b19 

Anybody have any idea what could be causing these client crashes?

rugged halo
#

i'm working mostly outside of hytale's ecosystem as a result lol

civic zephyr
copper summit
civic zephyr
#

You can override the position they want to do as long as you make your own sensor, tell it it fired, and provide a pos in the InfoResult

dusty venture
# rugged halo ah, that makes sense - what owns the reference?

the store owns it; ref has isValid() to determine if whatever it is referencing is still in the store, since the weak link does not enforce that. they probably implemented it themselves because it is not exactly a pointer; it holds some data that identifies an object in a store(kinda like an index? im not too sure here tbh) but thats too deep for me lol

rugged halo
civic zephyr
#

I just made a dummy NPC with a single instruction, custom sensor and the built-in seek bodymotion (Which is goto with some stoppage parameters) and it worked perfectly well for my purposes

wintry dawn
oblique barn
#

I'm trying to get the players position via a command but I get

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:138)
    at com.hypixel.hytale.server.core.universe.world.worldmap.WorldMapManager.tick(WorldMapManager.java:148)
    at com.hypixel.hytale.server.core.util.thread.TickingThread.run(TickingThread.java:89)
    at java.base/java.lang.Thread.run(Thread.java:1474)```

and this is my code:

@Override
protected void execute(@NotNull CommandContext context, @NotNull World world, @NotNull Store<EntityStore> store) {


    Ref<EntityStore> playerRef = context.senderAsPlayerRef();
    if (playerRef == null || !playerRef.isValid()) {
        throw new GeneralCommandException(MESSAGE_COMMANDS_ERROR_PROVIDE_POSITION);
    }
    world.execute(() -> {
        TransformComponent transformComponent = store.getComponent(playerRef, TransformComponent.getComponentType());
        Vector3d position = transformComponent.getPosition().clone();

        context.sendMessage(
                Message.raw("pos mabe ")
                        .param("posX", DECIMAL.format(position.getX()))
                        .param("posY", DECIMAL.format(position.getY()))
                        .param("posZ", DECIMAL.format(position.getZ()))
        );
    });
}

}````

im guessing it has to do something with world thread but im executing it in world?

ebon bronze
#

Hey everyone, I was hoping someone could help me understand something. The patch notes mention a launcher script, what is that about? I can't find it anywhere in files:

Updated the release workflow to include launcher scripts (start.sh, start.bat).

rugged halo
#

for more complex NPC decision making it seems worse

civic zephyr
#

Yes their HUGE state machine is written in JSON in Template_Intelligent for aggressive mobs

rugged halo
#

oh no...

civic zephyr
#

You have can have a look at it in the asseteditor, its ridiculous

gaunt wasp
#

how to add Ref<EntityStore> as codec field?

rugged halo
#

I could probably come up with something to let people write cleaner behavior trees lmao

silk axle
#

can I create portals on hytale creative that only enter with F key

timber trellis
#

Hi everyone,
Has anyone ever had issues with addInstruction on a velocity component not being applied to projectiles?
It works perfectly fine on players and monsters, but for some reason it has no effect on projectiles once theyโ€™re spawned.
If youโ€™ve encountered this or have any ideas, Iโ€™d really appreciate the help. Thanks!

rugged halo
#

if HyUI can turn HTML style docs into whatever eldritch CSS knockoff .ui files are trying to be, surely I can turn JSON into uglier JSON

civic zephyr
#

You shouldn't store refs definitely not persitently like that, if you need to store mobs store UUIDs

#

Wouldn't work they're runtime made, Refs that is

stark parcel
#

Hello, how can I prevent a player from picking up thing that are on the ground ? I tried the InteractivelyPickupItemEvent, the DropItemEvent, and even tried removing the PickupItemComponent from the player but couldn't achieve it

civic zephyr
#

Was driving me nuts

rugged halo
sharp pumice
#

anyone know why this class isnt calling?

new SpleefEndGameChecker(world);```


```java
public class SpleefEndGameChecker {

    private final World world;

    // Constructor carries over the world and the lobby manager
    public SpleefEndGameChecker(World world) {
        world.sendMessage(Message.parse("SpleefEndGameCheckerRuns0"));

        this.world = world;

        world.sendMessage(Message.parse("SpleefEndGameCheckerRuns1"));
    }

    // Method to run the check for all players
    public void run() {

        var spleefPlayerManager = HelloPlugin.SpleefPlayerManager;

        world.sendMessage(Message.parse("SpleefEndGameCheckerRuns2"));


        Collection<PlayerRef> playerRefs = world.getPlayerRefs(); // Get all players in the world

        int i = 0;

        for (PlayerRef playerRef : playerRefs) {
            Store store = playerRef.getReference().getStore();
            Player player = (Player) store.getComponent(playerRef.getReference(), Player.getComponentType());

            String key = world.getName() + playerRef.getUsername(); // worldName + playerName

            if (spleefPlayerManager.containsKey(key)) {
                Integer value = (Integer) spleefPlayerManager.get(key); // Get the value for this player

                world.sendMessage(Message.raw(String.valueOf(value)));

                if (player != null && value != null) {
                    if (value == 1) {
                        world.sendMessage(Message.parse("GAME ENDED"));
                    }
                }
            }
        }
    }
}
rugged halo
#

in Spigot I just had LivingEntity as a field, but Hytale is a bit more complex

civic zephyr
zenith adder
#

How can I send a chat message to a player when they execute a command, for example?

glossy shadow
civic zephyr
#

But really you shouldn't store Refs in maps theres usually always a better way (An entitycomponent directly) to store data regarding an entity

modern stirrup
copper summit
#

Rather than just rewrite the ecs system and the respawn system i think they should have left the old ways in and just made emm depricated so that i dont have to have my server down to fix my skyblock system

civic zephyr
#

EMM?

copper summit
#

them im lazy asf anytime i can be

rugged halo
civic zephyr
#

Oh you really shouldn't store components like that for longevity, anything could happen to it

rugged halo
#

my understanding is that that corresponds to the in-world presence

rain cipher
#

Does anyone know of an NPC plugin where you can apply player cosmetics to NPCs?

civic zephyr
#

Especially not the entity components, I mean I think those might swap out even, not sure, the game is weird

rugged halo
#

that's weird as hell. should I just use UUIDs?

civic zephyr
#

Yeah

rugged halo
#

now I gotta figure out how to fetch stuff like position from those lmao

civic zephyr
#

When possible

rugged halo
#

I was already using UUIDs in maps from Spigot anyway, since they're immutable

tropic axle
#

Does anyone know how to use the Spacing property when creating UIs

storm nest
#

mi bio

gaunt forge
# azure lotus Take a look at the ECS System part of the community hytale-docs. Even though it'...

okay, i took some time to read docs and also just ask AI to help explain some things to me and overall i think i have a general idea. what i was trying to do before was use an ECS system even inside of the event bus which doesn't work because the event bus is only meant to expose after effects of ECS events to plugin developers to use for their purposes. What you suggested with your code snippet is extending the ECS system so that we can override the ECS block placement event to use for my purposes, but that i guess feels like something the developers did not intend for us to have to do if the idea is for plugins to pretty much just go through the event bus? so i guess there should be some event bus event that should be useable for this scenario still, i just don't know what it is and need to look for it. or.. maybe it doesnt exist and the only thing to do right now is your suggestion of extending / overriding the ECS block placement behaviour.

rugged halo
#
private static final HashMap<UUID, KnockbackInstance> kbInstances = new HashMap<>();```

wtf was I doing recording knockback instances LMAO
keen vapor
#

do we know anything about modifying entity behaviours?

rugged halo
#

oh, it was for priority, so knockback didn't stack

rugged halo
azure lotus
azure lotus
#

not really buggy, but just occasionally buggy

civic zephyr
#

As mentioned above they are quite a mess

wary lion
#

making my server registry system for my server core to track all my servers using Redis with a logging system and I'm adding so admins can toggle verbose mode so see what's happening with all the servers like all the player movement between servers starting/stopping/restarting/connecting/disconnecting

tawdry lion
#

What is the correct way to remove a hud on command?

azure lotus
tawdry lion
keen vapor
sonic mauve
#

Hey,
how do I make a custom UI pop up when someone interacts with my custom block?

sharp pumice
cold drift
azure lotus
#

HudManager.setVisibleHudComponents

devout harness
#

alright, I'm rethinking my domain expansion system. I need to figure out how to save and spawn instances on command

#

how can I save a world as an instance?

worn bolt
#

hi all. trying to set up a server on my mac M1. no one can connect because from what i understand... it needs tokens, so they can't connect.

#

any idea where i can get those tokens from ?

tawdry lion
azure lotus
#

oh damn, because HudComponent is an Enum right?

left mantle
#

Guys, do you also encounter a bug where stone pickaxe does no damage to any ore?

tawdry lion
#

A custom hud element would have to be registered to enable/disable the hud components specifically I take it

azure lotus
#

in theory there is a resetHud inside of HudManager

tawdry lion
#

Theory lol

rugged halo
#

resetHud worked fine for me, but had to be called async

devout harness
#

what does "cannot edit instances when using launcher assets" mean

tawdry lion
lone dawn
#

hello

worn bolt
#

guys please, any idea where i get tokens so friends can connect my server?

dreamy stratus
#

To all server plugin devs out there; Have we landed on a standard economy plugin or an api plugin that binds economy plugins?

rugged halo
tawdry lion
tawdry lion
dusty venture
#

ui in general is cooked

#

cant even edit tooltips etc

rugged halo
#

I'm avoiding using anything other than a custom HUD for the time being

#

it won't be running on a server with anything else that has a custom HUD for now, so

dusty venture
#

yeah anything builtin is basically uncustomisable

tawdry lion
devout harness
#

how can I reference a local item? for example copying a world from the plugin jar file and adding it as a world to the current universe?

rugged halo
#

good question

devout harness
#

I tried using

return Universe.get().makeWorld(ExpansionName, Path.of("/universe/worlds"), wc);

but this actually made the world at the root of my c drive

tawdry lion
#

Ngl it's whack that you can programatically enable a hud element but seem to have to make a sacrifice to satan to disable it

rugged halo
#

that's because your path is equivalent to C:\universe\worlds in Windows

tawdry lion
stuck sigil
#

same here. did you find a solution?

rugged halo
#

if you're trying to extract actual files from the .jar file you'll need to open the .jar file as a ZipFile

devout harness
#

Universe.getWorldGenPath()?

tawdry lion
#

Otherwise store them in the data directory under a worlds folder in there

#

pluginmainclass.getDataDirectory()

quartz plover
#

Assuming that method doesn't modify the given path

dusty venture
#

What directory should custom UI be in?

south quail
#

has anyone experienced degrading over time of TPS after the update? spark profiler shows it's not mod related. and low usage of ram and cpu

rugged halo
#

you can make subfolders, but it has to be there AFAIK

small walrus
#

Hey guys, after updating the server to the new update, when trying to run the server it just auto shuts down and doesnt launch now

#

Looks like it's trying to create a new world when there is already one

dusty venture
#

yeah so when I boot up my server from intellij it works fine but if I put my .jar in my mods folder and play singleplayer suddenly some ui file doesnt resolve

rugged halo
#

I might be wrong though

oblique barn
#

Anyone know where to find the code for Open_Container interaction, im trying to make my own block open and close?

rugged halo
dusty venture
#

yea

dusty venture
#

you can find a lotta interactions getting registered in the InteractionModule

oblique barn
#

thank you

sonic mauve
#

Hey,
how do I make a custom UI pop up when someone interacts with my custom block?

rugged halo
#

is there an equivalent to Spigot's BukkitRunnable? I'd like to run repeating/delayed tasks, both synchronous and async, but all I'm aware of is CompletableFuture, which doesn't seem to have the option to do repeating or synchronous tasks

quartz plover
#

Btw what happened to RefillContainerInteraction?

#

Interaction just throws an error on case 19 now instead of delegating to RefillContainerInteraction

#

Was it disabled for some reason

dusty venture
wicked swallow
#

is it possible to modify the default inventory UI?

rugged halo
#

World implements Java's Executor but that's all I can find for synchronous execution

dusty venture
glossy shadow
quartz plover
rugged halo
rugged halo
rugged halo
dusty venture
#

its literally the file from the itemrepairelement from previous patch but with a name change

cinder prairie
#

Someone sells skywars plugin | bedwars | hungergames? MD

rugged halo
# glossy shadow `HytaleServer.SCHEDULED_EXECUTOR`
public static final ScheduledExecutorService SCHEDULED_EXECUTOR = Executors.newSingleThreadScheduledExecutor(ThreadUtil.daemon("Scheduler"));```

so uh...this offers `schedule`, which is neat and all if I want a single delayed task, but let's say I want a task on repeat, like periodically backing up player data or something
glossy shadow
#

currentWorld.execute(Runnable)

rugged halo
#

i'm guessing i'd have to implement the looping in that runnable then (i have no idea if this runs the Runnable on repeat or not, sorry)

glossy shadow
#

for example:

public class AutoSavePlugin extends JavaPlugin {
    private ScheduledFuture<?> saveTask;

    @Override
    public void onEnable() {
        // Save every 5 minutes
        saveTask = HytaleServer.SCHEDULED_EXECUTOR.scheduleWithFixedDelay(() -> {
            saveAllPlayerData();
        }, 5, 5, TimeUnit.MINUTES);
    }

    @Override
    public void onDisable() {
        if (saveTask != null) {
            saveTask.cancel(false);
        }
        // Final save
        saveAllPlayerData();
    }
}
rugged halo
#

...wait, i wasn't seeing that second numeric argument

safe tendon
#

Anyone not able to mine copper/iron, if you have this mod it's the reason why:

romnas-quality-crafting

vapid hull
#

Hey, I might be wrong but I have noticed that only one block in multi-block models like furnace or connected chests holds the actual state. My custom block checks for the states of blocks above and below it. When dealing with connected chests, I only successfully get the state if I place my block under the right side of the double chest. However, when I place my block above a furnace, I get null regardless of whether it is on the left or right side using world.getState(x, y-1, z). Am I doing something wrong? Should I be checking blocks in a radius, even though that is expensive, or am I missing a key part of how these blocks are handled? Thanks for help!

boreal ruin
#

Hey,
I've got the issue that when I am executing my command, it says "You do not have permission to use that command." even when I didn't specify any required permissions. How do I solve this?

rugged halo
#

i see now there's fixeddelay and fixedrate, thanks

glossy shadow
#

np

azure lotus
opal epoch
#

Yes, come in dm

boreal ruin
#

Ah okay, thank you!

viscid crypt
#

what is the permission to keep inventory on death? If I give myself Hytale.* i keep my inventory but I want to disable this.

dapper plover
#

Damn just figured out how to make custom portals, so you can have portals to different worlds โค๏ธ

dusty venture
hollow bane
#

Hi, i want to freeze and cancel all interactions of a player. Does anyone has done this and can send me his GH?

primal cypress
#

guys how i can change the "press F to interact" to like "press F to open <block name>" like the chest? i've done a new interaction, extended from SimpleBlockInteraction

rugged halo
#

looking at the per-world version I'm seeing that it uses a "task queue" internally

    public void execute(@Nonnull Runnable command) {
        if (!this.acceptingTasks.get()) {
            String var10004 = this.name;
            throw new SkipSentryException(new IllegalThreadStateException("World thread is not accepting tasks: " + var10004 + ", " + String.valueOf(this.getThread())));
        } else {
            this.taskQueue.offer(command);
        }
    }```

and then it consumes that task queue at some point

```java
    public void consumeTaskQueue() {
        this.debugAssertInTickingThread();
        int tickStepNanos = this.getTickStepNanos();

        Runnable runnable;
        while((runnable = (Runnable)this.taskQueue.poll()) != null) {
            try {
                long before = System.nanoTime();
                runnable.run();
                long after = System.nanoTime();
                long diff = after - before;
                if (diff > (long)tickStepNanos) {
                    this.logger.at(Level.WARNING).log("Task took %s ns: %s", FormatUtil.nanosToString(diff), runnable);
                }
            } catch (Exception t) {
                ((HytaleLogger.Api)this.logger.at(Level.SEVERE).withCause(t)).log("Failed to run task!");
            }
        }
    }```

but this doesn't actually offer support for repeated tasks so that's interesting

also, it seems like it consumes the task queue twice per tick, possibly because `entityStore` and `chunkStore` tick between those two consumptions
devout harness
#

how do I get a string from a command? how do I even make a command that takes in extra data?

copper summit
#

Okay, rewriting my plugin was worth it forsure, the server runs waaaaaayy better now, i can fly around at 10x speed forever with no issues now

primal cypress
vapid hull
solid sleet
#

How i can add mods to my Server that contains "Server" folder ?

copper summit
solid sleet
rugged halo
#

okay, so looking at TickableSystem, you could put that in the world I guess

dusty venture
vapid hull
copper summit
wicked swallow
#

is there any way of modifying the inventory UI? or at least adding a new ui to it?

rugged halo
#

can't modify existing UI afaik

dusty venture
solid sleet
dapper plover
#

Can someone explain me this? So i can actually add custom items into Assets/Server/Item/Items/.../MyItem.json. Is there a way to add items without having to modify Assets.zip or providing the Assets unzipped to the server? I dont want to repeat that manual unpacking and file placement everytime an update is coming out.

wicked swallow
craggy rover
#

anyone know where to find or have a list of all item ids?

dusty venture
oblique barn
warm basin
copper summit
oblique barn
#

its so fun using the decompiled files to find how stuff works๐Ÿ”ฅ

dapper plover
copper summit
rugged halo
#

I guess what I could do is write a custom executor that adds an implementation of TickingSystem<EntityStore> to the world if it's not already present, then that ticking system handles executing runnables on repeat lmao

rugged halo
#

minecraft coder pack and all the obfuscated class names lmfao

rugged halo
fiery lodge
#

Ok i need some help. How do i go about registering a new instruction action that will allow me to programmitcally control my NPC?

copper summit
fiery lodge
#

Ive been trying to find some sort of guide or something on this

dusty venture
#

i dont think itd be as fun if it was obfuscated ๐Ÿ’€

copper summit
#

obfus

fiery lodge
#

but i cant find ANYTHING. Does anyone have anything i can look at?

icy falcon
#

Is there a way to offset the model of a bench? Right now my custom one is centered into the block it's placed on, instead of taking up two blocks like a furnace.

fiery tree
#

anyone making a uhc server? or nope

subtle notch
#

I'm sorry if this is not the right channel to ask, I'm planning to run a server for our circle of friends(there's just 3-4 of us).

Is 2vCPU and 4GB memory enough. (AWS EC2 t4g.medium)

fiery lodge
#

Ill just figure it out..... This channel is always so flooded with people asking for help lmao! ๐Ÿ˜›

#

I may have to just switch to using blocks to resolve my issue i am currently having

fiery lodge
dapper plover
#

Can someone explain me this? So i can actually add custom items into Assets/Server/Item/Items/.../MyItem.json. Is there a way to add items without having to modify Assets.zip or providing the Assets unzipped to the server? I dont want to repeat that manual unpacking and file placement everytime an update is coming out. Or is creating a server plugin the onliest way doing that?

uneven bison
#

guys how ฤฑ find to api that ฤฑ want to use

steep wigeon
#

does anybody know how can you get a block's rotation based on the blocks rotationยฟ

young lance
#

how to disable armor hide on server, pls help

wary lion
#

or id have to buy like a TB of ram

#

i have 256gb rn but holy

lucid spire
#

any ideas why this isnt working?

it shows the sout message so it should work, also not getting any errors on the server either but when i go check the game it says "An unexpected error occured"

private void referToLobby(PlayerSetupConnectEvent event){
        System.out.println("Referring player to server...");
        event.referToServer("imagine a valid ip here", 5520);
    }
gaunt sequoia
#

i need people who work in my server

dusty venture
#

i mean he said the sout appears so I assume the event is registerd

dusty venture
#

at this point

#

idk anymore

wary lion
#

๐Ÿ˜ญ

lucid spire
timber trellis
#

Hi everyone,
Has anyone ever had issues with addInstruction on a velocity component not being applied to projectiles?
It works perfectly fine on players and monsters, but for some reason it has no effect on projectiles once theyโ€™re spawned.
If youโ€™ve encountered this or have any ideas, Iโ€™d really appreciate the help. Thanks!

wary lion
devout harness
#

is it possible/reasonable to save a prefab as a list of positions and block types? I kind of want to spawn a structure over a duration, but I don't know how to do that

oblique barn
#

anyone know where i can find the Pages/name.ui files?

dusty venture
#

probably in the assets.zip -> ui/common/custom/pages

lucid spire
pallid crest
#

Trying to make a plugin makes me feel so dumb lol. I've been working on the same theory and idea for 3 damn days

oblique barn
dusty venture
fickle pecan
#

its just the niche things for me, i can make the logic i just need the entry points tbh

rugged halo
pallid crest
#

It does make me feel better knowing it isn't just me xD

honest epoch
#

dow anyone know if it's possible to make .js scripts and load withou server restart like with hot reload?

spare sandal
#

Anyone have a clue on what the quality param does in the Tool Specs?

fickle pecan
ebon python
#

hey guys , can anyone give me in a zip file the folder with the node editor ? I m on linux and I don t have it, I m trying to find out if I can use it

rugged halo
#

I got the library working just fine, because it was mostly outside of Spigot's ecosystem, but the RPG core relies more on actual gameplay stuff and finding equivalents in Hytale is killing me

wintry dawn
dusty venture
dapper plover
rugged halo
#

We have HytaleServer.SCHEDULED_EXECUTOR for repeated sync tasks but there's no equivalent to that per-world so I'm putting one in my library ๐Ÿ’€

devout cipher
#

are you able to login to two different game profiles at the same time if they're on one account? anyone tried?

rugged halo
#

For consistency I'm trying to implement it as a TickingSystem so it executes at a predictable point in the world tick

wintry dawn
devout cipher
#

amazing

vale garden
#

Is there a way to prevent players from dodging fall damages by being on the border of a block ?

vale garden
wintry dawn
# devout cipher amazing

Although input is not in a usable state, I guess they are waiting for gamepad support I think you should try to login it should work with different PCs

rustic pollen
rugged halo
# vale garden what does mantling means ?

mantling is when you're able to grab a ledge and pull yourself up

some games, hytale included i think (i haven't played enough to remember), have it where you won't take fall damage if you manage to catch yourself on a ledge before hitting the ground

ripe pawn
#

Anyone know how to update their server with this new update

#

people cant join my server anymore its not like a paper or spigot file I just update

devout cipher
ripe pawn
#

what do I do?>>>>>>

wary lion
viscid crypt
#

I keep my inventory upon death for a reason I dont know! I was thinking it was a mod or setting in the universe. so renamed the mod folder and renamed universe folder. Removed op from my permissions under permissions folder. But it still happens! Does this happen for you as well? I am running HytaleServer v2026.01.24-6e2d4fc36 (release)

rugged halo
dusty venture
vale garden
viscid crypt
wintry dawn
devout cipher
#

tyvm @wintry dawn

ebon python
#

hey guys , can anyone give me in a zip file the folder with the node editor ? I m on linux and I don t have it, I m trying to find out if I can use it

rugged halo
#

You could try tracking the player's position/velocity and determine how far they fell if their velocity abruptly slows to near 0, as a workaround

halcyon ether
#

Is there anyone who can help me with the .ui files, please?

wary lion
spice oak
#

Hello guys. How can I reload a embed packet (UI files). When I reload my plugin, it says: [{PluginName}|P] Asset pack Group:GroupID already exists, skipping embedded pack. Does anyone know how to reload assets correctly? I missed

oblique barn
#

anyone know a good way to edit .ui files easily?

halcyon ether
#

Is there anyone who can help me with the .ui files? Please send me a DM.

vale garden
#

Yes, i've hesitated to do that at first, just check the y when they are not falling anymore, ill probably do that, thank you again !

rugged halo
wary lion
rugged halo
rugged halo
wary lion
oblique barn
lucid spire
halcyon ether
#

Does anyone know why it shows an error?

Group {
LayoutMode: Left;
Padding: (Full: 8);

Label #Icon {
Background: "MUERTES_BRAWL.png";
Anchor: (Width: 24, Height: 24);
}

Label #IconText {
Text: "Label";
Style: (FontSize: 16, Alignment: Left);
Padding: (Left: 8);
}
}

halcyon ether
hollow bane
#

Hi, i want to freeze and cancel all interactions of a player. Does anyone has done this and can send me his GH?

wary lion
spice oak
wary lion
#

i'm assuming you do but idk

lucid spire
halcyon ether
wintry dawn
wary lion
spice oak
spice oak
gaunt forge
azure lotus
wintry dawn
halcyon ether
fickle pecan
#

I'm a genius! I hypothesised the solution to my problem, it's rock solid I tell you ๐Ÿ˜Ž

spice oak
spice oak
rustic wagon
#

Looking for builders/developers to help make a PvPvE server. Send me a dm if youโ€™re interested

lost garnet
#

In which folder I put .jar plugin?

halcyon ether
#

Now I'm getting this error. Could not find document

spice oak
junior rapids
#

I can't get hyxin to work with my plugin. Is this expected?

wintry dawn
wary lion
# lucid spire yeah i can connect manually too

man i just added the hub game type to my game system ill be annoyed if it doesn't work for me either ๐Ÿ’€

public enum GameType {
    /**
     * Hub game type - entry point for players joining the network.
     * Immediately funnels players to a MAIN_LOBBY or GAME_SERVER servers using their server type (e.g. SkyWarsLobby).
     * Used for load balancing initial connections.
     */
    HUB("Hub"),
livid geode
#

how do you generate a new world on the server?

halcyon ether
sage mango
#

hey does anyone know of a plugin that allows players to jump from server A to Server B like same IP but different Ports like Bungee cord on MC?

wary lion
remote eagle
#

Is there a way to make a player immune to fire damage?

sage mango
remote eagle
#

I wanted to look into mobs that sound like they would be immune to it (Found Embersomething - it still burns tho)

wintry dawn
wheat cairn
remote eagle
wary lion
#

no proxy system needed BUT you can make one if you want to do it like that

#

see im using redis to sync my servers and its completely automated

wheat cairn
dire acorn
#

How do I get a player's position? I see the getTransformComponent method but it's deprecated. What's the other way?

wintry dawn
remote eagle
wary lion
wintry dawn
wary lion
past flame
#

Guys I wanna make a plugin, I need java 25, but how can I make a plugin which I created with AI?

#

I try using IDEA, but it doesnt go up to java 25

wintry dawn
rugged halo
#

okay, so I have a working wrapper for HytaleRunnable, which is analogous to BukkitRunnable, and then i have a separate SynchronousRunnable that needs to be run on a SynchronousRunnableSystem attached to a world, and that should execute consistently on world tick

lapis marlin
#

Hey kinda stuck on something trivial
I'm on EntityEventSystem<entitystore> A and I want to get a hold of entitytickingsystem<chunkstore> b how do I get that

wary lion
quartz wave
wary lion
#

or that

#

idea 100% supports java 25

rugged halo
#

...you created a plugin...with AI? and you would trust that? lol

past flame
#

I downloaded the JDK java25 and what can I do with that? Sorry not a real coder here :/

quartz wave
#

did you download the zip or the installer

wary lion
wintry dawn
past flame
#

I downloaded the SDK: Oracle OpenJDK 25.0.2 and added to project structure

half finch
#

Is there a way to make the player mount a rideable entity without using the minecart type controller?

protected void execute(@Nonnull CommandContext context, @Nonnull Store<EntityStore> store, @Nonnull Ref<EntityStore> ref, @Nonnull PlayerRef playerRef, @Nonnull World world) {
        TransformComponent playerTransform = store.getComponent(ref, TransformComponent.getComponentType());

        assert playerTransform != null;
        // spawn the honse
        Pair<Ref<EntityStore>, INonPlayerCharacter> result = NPCPlugin.get().spawnNPC(store, "Horse", null, playerTransform.getPosition(), new Vector3f(0, 0, 0));

        if (result != null) {
            Ref<EntityStore> horseRef = result.first();

            Vector3f attachmentOffset = new Vector3f(0.0f, 1.6f, 0.0f);

            //i want to ride honse, but not minecart
            MountedComponent mountedComponent = new MountedComponent(
                    horseRef,
                    attachmentOffset,
                    MountController.Minecart
            );

            //add this to the player
            store.addComponent(ref, MountPlugin.getInstance().getMountedComponentType(), mountedComponent);

            context.sendMessage(Message.raw("riding a honse!"));
        } else {
            context.sendMessage(Message.raw("no honse :("));
        }
    }

this is all i could figure out :/

dusty venture
wary lion
#

atp i just started ignoring the errors and only trusting the compiler

wintry dawn
#

Yea, I just learned to ignore it lol, but I do look for anything other that is red... AND THEN I FIND REALOCATED: 11373MB

rugged halo
#

I can't even paste my errors because the server thinks I'm advertising. Genuinely insane

wary lion
#

if i know i got solid code and its giving me bs errors BOOM compile anyway

past flame
#

I received this error:

Your build is currently configured to use incompatible Java 25.0.2 and Gradle 9.0.0. Cannot sync the project.
The maximum compatible Gradle JVM version is 24.
Possible solution:

  • Use Java 24 as Gradle JVM: Open Gradle settings
quartz wave
rugged halo
quartz wave
#

has anyone got a decompiled version of the server that can compile?

wintry dawn
honest pecan
rugged halo
wary lion
dusty venture
#

I dont even know if im using maven or gradle ๐Ÿ˜ญ; I just used kaupenjoe's template and it worked

wary lion
honest pecan
#

my build times are 300ms as opposed to 4 min

quartz wave
rugged halo
#

...how big is your project? i'm used to literal 30+ minute build times from my last job but that was a multi-million line C++ codebase lmao

honest pecan
#

i work cpp codebase too

#

but remote sshd with 500 gb ram

honest pecan
#

build times are still like a min tho

rugged halo
#

but like how big is the project that's taking 4 minutes to build on maven? genuinely asking

quartz wave
#

has anyone got a decompiled version of the server that can compile?

humble sparrow
rugged halo
# wary lion REAL

call of duty unironically has the biggest, most complicated codebase i've ever seen

wintry dawn
honest pecan
#

full codebase ~300k lines maybe? of just our source not including libs

rugged halo
#

idk my largest maven project is like 15k lines so

wary lion
honest pecan
#

idk maybe its more like 2 min

past flame
#

Do I fix that to put this in the wrapper.properties?

Cause: downloads.gradleorg/distributions/gradle-9.1-bin.zip

honest pecan
#

im still very much for 300 ms as opposed to minutes tho

rugged halo
quartz wave
wary lion
rugged halo
#

a 400k line plugin would be truly insane lol

honest pecan
#

all the plugins

rugged halo
alpine tusk
#

Man, mods are going to be amazing in hytale

honest pecan
#

cosmic factions style

rugged halo
#

well in his case apparently it's just the plugin lmao

wintry dawn
rugged halo
#

i'd love to know what the hell it does that takes 400k lines though, jesus

wary lion
earnest ocean
#

Hey guys, sorry fro the offtopic, but can I also ask questions here regarding running a dedicated server? I can't find any other technical server on this discord :(

honest pecan
#

we remade from scratch an entirely separate ctest

past flame
#

Sorry guys, I feel like a dumb*** hahah. It says it failed creating the ShadowJar ๐Ÿ™

rugged halo
#

...shaded .jar? you shouldn't be shading anything with a basic plugin

worthy marten
# alpine tusk Man, mods are going to be amazing in hytale

They will but I'm lowkey feeling dread at the fact one of the popular modding tutorial videos that I see people going to and sharing opens up by saying "Hytale recommends Java 25, but Java 21 works fine :)" and then shows himself creating a J21 project ๐Ÿ˜ญ

honest pecan
#

and then cc went down for a few days and decided not to do full release

#

it had 0.3 mstp with 300 players tho

#

ran like butter

tropic axle
#

Does anyone know how to stop Label Text from clipping off?

rugged halo
# past flame Shouldn't I ?

if you're making a basic Hytale plugin with no other libraries there is no need to shade anything, shading involves including a library with your packaged .jar

junior rapids
#

do any of you know how to debug mixins in hytale? Mine is not working, despite the hyxin mod showing it loaded my class

honest epoch
#

its possible to create npc?

quartz wave
rugged halo
#

only mixins I'm familiar with, sorry :p

past flame
#

Can someone get into a quick call rather? x"D

junior rapids
#

insert code in a java function

rugged halo
#

i wouldn't know how to debug something that's supposed to interface with the actual game code, sorry

tropic axle
#

Does anyone know how to stop Label Text from clipping off in UIs?

rugged halo
#

is it supposed to be something like Harmony for C#?

wary lion
# rugged halo i'd love to know what the hell it does that takes 400k lines though, jesus

its basically a fully featured minigames network with like 20 games its not finished either but it has everything even seasonal/holiday events and the games system is super dope because you can change the game on the fly ./game set <game> the map changes and everything instantly seamlessly without even moving the player to another world the map updates right under their feet also bedrock support

rugged halo
errant karma
#

After the latest update, i'm getting this when trying to connect to my server "connected handshake was canceled due to configured timeout of 10 seconds. what is causing this, as the only thing that changed was this new update

past flame
rugged halo
#

Actually I guess they have to be, if it's in the same world lol

#

i.e. you can't just run separate servers that only run the relevant plugins

opal parrot
#

Itโ€™s 9.2.0 no ?

quartz wave
rocky moat
#

Is there a mod that allows to keybind shortcuts for the Utility slots? (Z Menu)

tender tangle
#

Muhahaha!
Managed to detect the JBR Hot Swapping using ByteBuddy agent so now a coroutine later I have a fully working force plugin reload after JBR swaps the classes.

wary lion
#

holy brain fart

past flame
quartz wave
past flame
wary lion
quartz wave
past flame
#

Hahahah bro I am sorry man I dont code

rancid apex
#

Guys, how do I limit block breaking? Is it only through code, or are there in-game commands?

quartz wave
#
java {
    toolchain {
        languageVersion.set(JavaLanguageVersion.of(25))
    }
}
``` this is for kotlin dsl, find something that works like this for groovy
oblique barn
#

If I want to store some data, and i want it to persist, do i store it on the player or a json file state?

past flame
quartz wave
#

what is the stack trace when you build

rancid apex
rugged halo
#

Personally I hate this and am using JSON anyway

tender tangle
wary lion
quartz wave
rugged halo
#

but also I have a library that makes it incredibly easy to add/remove fields from data classes and have that change transfer over to config/data files

past flame
oblique barn
tender tangle
#

with kotlin 2.3.0, you need stuff like:

kotlin {
    jvmToolchain(25)
}

//
// We explicitly set the JVM target to 24 which is the highest supported by Kotlin 2.3.0
// TODO: Remove the JVM 24 overwrites once Kotlin supports 25!
//

tasks.withType<JavaCompile>().configureEach {
    options.release.set(24)
}

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
    compilerOptions {
        jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_24)
    }
}

with gradle 9.2 at least

rancid apex
rugged halo
#

tbf I didn't know it either and English is my first language

quartz wave
rugged halo
#

i don't know if using a database is necessarily the play

quartz wave
rugged halo
#

that seems like an extremely simple thing to store as JSON

oblique barn
rugged halo
#

granted, flatfile storage gets slow as you have more players iirc

languid needle
#

are there any servers that are free to join?

wary lion
rugged halo
quartz wave
quartz wave
oblique barn
quartz wave
past flame
#

Can u at me @quartz wave ?

rugged halo
hallow ferry
#

Does the hytale server have a json loader or a yaml loader? Or do I need to pull one in for my plugin?

wary lion
mint osprey
#

Anyone noticed any block lag after Update 2 on 40+ pop servers? It's just mining and chopping wood. ANYTHING else is fine

rugged halo
#

FWIW I used HikariCP over raw jdbc last time I worked with databases

oblique barn
rugged halo
quartz wave
quartz wave
unkempt musk
#

Phew, this number logging sure is HARD! At 1000 cases now.

  case 1:
    LOGGER.atInfo().log("odd");
    break;
  case 2:
    LOGGER.atInfo().log("even");
    break;
  case 3:
    LOGGER.atInfo().log("odd");
    break;
  case 4:
    LOGGER.atInfo().log("even");
    break;
  case 5:
    LOGGER.atInfo().log("odd");
    break;
  case 6:
    LOGGER.atInfo().log("even");
    break;
  case 7:
    LOGGER.atInfo().log("odd");
    break;
}```
wary lion
# rugged halo <- never played on big networks

also reflection stuff does eat up a lot of it ngl also i refuse to make my commons a separate plugin (i really should atp) ngl that alone is like 8mb with all the libraries we use ngl

fair compass
#

Heey just had this problem as well. Is it okay to do the registering in the start() method?

sterile dove
#

anyone good with ui's?
building them serverside?

past flame
dusty venture
fair compass
wary lion
ebon topaz
#

hey guys can anyone send a link to were can I download the plugin API to make hytale plugins and its documentation , thanks

quartz wave
quartz wave
dusty venture
wary lion
dapper plover
past flame
ebon topaz
dusty venture
wary lion
dusty venture
#

there is nothing else

stark parcel
#

Hello, how can I prevent a player from picking up thing that are on the ground ? I tried the InteractivelyPickupItemEvent, the DropItemEvent, and even tried removing the PickupItemComponent from the player but couldn't achieve it

past flame
tropic axle
#

Guys how do you get the Player UUID in CustomPage

ebon topaz
dusty venture
wary lion
past flame
#

I think it tried now to download everything. So, the error with 9.1.0 is gone. But now I also havge an API error: error: package com.hypixel.hytale.server.core.api.command does not exist
import com.hypixel.hytale.server.core.api.command.Command;

dapper plover
# wary lion facts i'm actually about to test memory usage for world gen 2 maybe its better i...

depending on what worldgen is generating, the time it takes somewhat varies. i basically gone through all Portals_ instances to see the worldgen in action. Some of them generated pretty quick while others were somewhat slower. Cant really tell if worldgen2 is safe to be used, really just did a peak and made it generate the "map circle" from the center, so further visits in these worlds dont cause CPU drama ๐Ÿ˜„

#

ooh and i generated them using /instances command, then stopped server, renamed the directories to simpler names, dropped the bson file (so they dont disappear).

scarlet nova
versed ember
#

new to modding, but can anyone lead me to the right path? i want to make a plugin that adds a new property for a block and i want to make it configurable / able to just add it to vanilla blocks as well through the asset editor.

TLDR: plugin that adds to the block / entities json files like new physics to entities movement

delicate lava
#

Hi, is there an update to the instance?
Yesterday I managed to spawn at specific coordinates in my instance, but now no matter what I do, I spawn at y=140.

hallow ferry
#

Does the hytale server have a json loader or a yaml loader? Or do I need to pull one in for my plugin?

hollow lava
quartz plover
#

Like, literally just became playable 2 weeks ago

young pumice
#

We donโ€™t wipe save files, our clients are free to retain their saves.

I canโ€™t speak as to what will happen at full release, but youโ€™d always have access to you files I donโ€™t see why you couldnโ€™t just load them

wintry dawn
opaque cape
#

I want to Encrypt some data with a key, That will be decrypted by another server on the other end with a Different Key
What would be the best way to approach the storage of the key?

  1. Store the key inside a configs.json file?
  2. Have a reference to a key file in the configs.json?
  3. A third way, Please elaborate?
quartz wave
opaque cape
#

I dont know what that means

past flame
#

Can someone PLEASE help me out, I think the solution is quite easy, but I can't figure it out..

opaque cape
#

I was just gonna use a Public/Private key solution with like RSA or something

devout harness
quartz wave
quartz plover
opaque cape
#

The goal here is
Server A will have Server A's Public Key, and Server B's Private Key
Server B will have Server B's Public Key and Server A's Private Key

So the two servers can communicate securely

hollow lava
opaque cape
#

This will be part of a validation chain (As part of my Inventory Sync Protocol between two servers)

past flame
quartz wave
delicate lava
#

Hi, no one create instance there ?

strong musk
quartz plover
opaque cape
quartz wave
opaque cape
quartz plover
past flame
#

2 ppl saying there is your issue and one says it could fix it easily....

quartz wave
opaque cape
#

Dont be afraid to abuse your AI till it gets it right

quartz plover
#

It's literally hallucinating nonexisting packages

strong musk
opaque cape
#

I also dont let the AI actually write the code, I try to understand the code and put it in myself

quartz plover
#

Its knowledge cutoff was probably much before hytale even released

opaque cape
quartz wave
hollow lava
quartz plover
opaque cape
#

Correct, There is no middleman here

quartz wave
opaque cape
#

Just tell it what you're wanting to do and to search the server files, It'll do it

past flame
#

So can someone still help me out or not? Does someone has experience coding with Claude for Hytale?

dusty venture
devout harness
#

man, what do you mean "server/world/config.json.bak" uses compression method 8"

opaque cape
strong musk
opaque cape
dusty venture
#

encrypt with private key; decrypt with public

strong musk
#

thats the whole point of assymetric encryption lol

opaque cape
quartz wave
opaque cape
dusty venture
#

thats why it is called a PUBLIC key

opaque cape
#

Yeah I gotchu

#

The whole mod already works, I'm just adding a Validation Layer atm
Encryption, and Host Origin Whitelists and etc

strong musk