#server-plugins-read-only

1 messages · Page 85 of 1

golden hatch
#

PlayerRef just controls everything about the player, Player object is more centered the world it is connected to.

rain rune
#

Do block entities exist in hytale?

sonic narwhal
#

Is there a workaround for PlayerInteractEvent and PlayerMouseButtonEvent ?

copper summit
#

yo, ima add you as a friend, first one to get it shares the code with the other?

hot tiger
#

Help me plz!!

container@pterodactyl~ Server marked as offline...
[Pterodactyl Daemon]: Updating process configuration files...
[Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds...
container@pterodactyl~ Server marked as starting...
[Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete...
[Pterodactyl Daemon]: Finished pulling Docker container image
/entrypoint.sh: line 8: ./hytale-downloader/hytale-downloader-linux: Not a directory
container@pterodactyl~ Server marked as offline...

summer ridge
opal epoch
#

I have a cheap and powerful hosting for Hytale message me for offers

hot tiger
golden hatch
meager breach
#

yeah i think the same, but this is better than nothing, it's a start.

scenic oxide
#

Anyone know how to (easily) add mods if using a 4netplayers server?

hard pilot
#

nvm that

edgy kernel
#

what's the command to generate a world with new gen v2?

hard pilot
#

tyring to create an auction house plugin:
C:\Users\Admin\Desktop\AuctionHouse\GreaterEssenceAH_PLUGIN\src\main\java\com\user\auctionhouse\commands\AuctionHouseCommand.java:39: error: cannot find symbol
ItemStack heldItem = inv.tools.getStack((short) slotIndex);
^
symbol: method getStack(short)
location: variable tools of type ItemContainer
14 errors
1 warning

sonic narwhal
#

Is there a workaround for PlayerInteractEvent and PlayerMouseButtonEvent ?

hard pilot
#

if only there's a proper documentation

summer ridge
# golden hatch It really depends on what you are trying to do TBH.

Made a tiny implementation of PlaceholderAPI basically. But I support:
public abstract String onPlaceholderRequest(PlayerRef playerRef); and
public String onPlaceholderRequest(Player player) -- I tagged this deprecated for now with default return

Do you suggest leaving it up to the developer itself to know which one is being used?

golden hatch
#

Basically, if everything you need is in the Player object, just stick to that. Otherwise, stick to the PlayerRef only.

opal epoch
#

I have a cheap and powerful hosting for Hytale message me for offers

golden hatch
#

If this is meant for a plugin which can be used with many use cases, I would defo reccomend the PlayerRef, especially because you can just call Player#getReference();

wintry dawn
#

Guys, how to teleport items?

summer ridge
#

Can I cast a playerref back into a player then? -- I simply don't know this

echo light
#

oof, i keep getting this errorCould not find document Pages/Machine.ui for Custom UI Append command. Selector:

severe fiber
wintry dawn
worthy trout
#

wait guys how do set a players health to 0?

severe fiber
autumn cloud
#

How can i set a custom weather to other world on the same server with the asset editor? Is it possible?

worthy trout
wintry dawn
severe fiber
# wintry dawn Yes

Havnt investigated it too much so don't exactly know. But there should be a world entity somewhere that has this information

severe fiber
frank sand
#

Hello, So im trying to set up a system where I can detect when an arrow is shot, and I was able to do that successfully with the EntityTickingSystem, but I cant seem to find a way to find who shot the arrow. Does the arrow have any component on it that I could access that could provide me with the data of who shot the arrow? The ProjectileComponent has all this data, but the arrow for some reason does not have this component attached to it, it only has the basic Projectile class, which does not have much data at all.

wet hinge
#

Hi, did anyone manage to simply play a custom ogg file with a server command already and is keen to share an example?

trail wigeon
#

Hello, does Hytale have a Javadocs page?

fresh charm
#

Right now in the game if you shoot an arrow, and while its flying switch to a different weapon

Then the new weapon's interaction will be used for ProjectileHit 💀

severe fiber
worthy trout
delicate gorge
#

Is an entity's bone rig only client-side? I want to attach a custom entity to the arm of the player (not armor but have to match its arm transform), although I don't see anything for this kind of data in the server jar 🤔

severe fiber
stuck fjord
#

Anyone make essentials yet

rain rune
#

What object stores block positions? I'm extending TickableBlockState, and i need to get position and blockposition of self but i am unsure where to start

smoky coral
#

Does anyone know how to loop through a player's inventory?

ItemContainer storageContainer = inventory.getCombinedEverything();
for (ItemStack itemStack : storageContainer) {
            
}

this is what I thought of but it's giving "Foreach not applicable to type 'com.hypixel.hytale.server.core.inventory.container.ItemContainer'"

wintry dawn
#

Are items even considered entities when dropped, for some reason getAllEntitiesInSphere() doesn't seem to get them

amber violet
#

I’m looking for inquirys, anyone need a Hytale plugin developer shoot me a msg.

rancid obsidian
#

Does anyone have anything on teleporting a player to a certain block coordinate

delicate gorge
wintry dawn
rancid obsidian
#

I don't mean a command thanks... @amber violet

minor oasis
#

Hi folks,

I'm working on a metabolism mod and I'm interested to know how I can detect item consumption for a player in my mod, e.g. when player consumes food or potion item.

Any help is very much appreciated!

rancid obsidian
#

Thank you @wintry dawn

wintry dawn
# rancid obsidian Thank you <@524294998309601281>

found this snippet

public static void teleportPlayer(Player player, int x, int y, int z) {
        World world = player.getWorld();
        if (world == null) return;
        world.execute(() -> {
            if (player.getReference() == null) return;
            Store<EntityStore> store = player.getReference().getStore();
            Teleport teleport = Teleport.createForPlayer(world,
                new Vector3d(x ,y, z), // Target position
                new Vector3f(0, 0, 0)  // Target rotation (pitch, yaw, roll)
            );

            store.addComponent(player.getReference(), Teleport.getComponentType(), teleport);
        });

}```
tribal whale
#

is it possible to add in commands on the clients side without having a plugin?

rancid obsidian
#

Thanks a ton @wintry dawn

subtle sage
#

ui TextField align right? does anyone know the property?

storm python
#

For the hitboxes, why does my hitbox render as the hitbox i created but only when i look at the block I originally placed the block? Like, it has physics, but its only interactable from the block where it would be with a normal block hitbox

violet snow
#

Does anyone know where the bug comes from where our custom prefabs do not appear in the list when we are on a server?

runic tiger
#

Anyone able to help me with this? I have a server of about 20 players atm but when players try to chop trees down it kicks them from the game
I have a pastebin if anyone wants to help with the console log

grizzled basin
#

@vapid tulip hey, I saw your video about adding Hytale Mod for adding minecraft blocks etc, your mod is WAAAAAAY better then mine (Talecraft) that I hava published, you have mention that you can't post on CurseForge but there is a way to do that I did at my mod, if you want, let's chat about it because I would love to drop my mod work and just keep it ours because looks so good and much better

empty wyvern
wintry dawn
#

I did test teleporting just not across worlds

blazing cosmos
empty wyvern
grizzled basin
wintry dawn
smoky coral
hollow musk
#

How to remove player leave/join messages?

sonic narwhal
north current
north current
north current
#

lol

#

first, you don't need to wrap it in world.execute.

empty wyvern
#

I still not find the solution, tp work in command
But not work after world creation with random chunk and coord selected

north current
#

Are you doing it on world creation?

When
are
You
doing
it

rancid obsidian
#

@wintry dawn Can I dm?

rain rune
#

Has anyone got an example of a plain TickableBlockState class i can learn from?

empty wyvern
wooden oasis
#

Is there a guide for a how to create a server? Like in MC

empty wyvern
delicate gorge
exotic jackal
#

can I get entitystore of oiffline players?

ebon ledge
#

how can I apply damage to a block through a system?

worn saddle
#

Hi does someone got the ECS DamageEntityEvent class by anychance ?

north current
# empty wyvern on my custom class, not in command. Like `startGame()` then do the world creatio...

So every time your server starts, you make a new world, find a random spot, and tp player to it?

When I got the thread error on teleportation it was because I was calling the teleport too early.
What solved it for me was setting the players' world on connect (which could be making the world on connect, then setting it as their world), then, on ready, teleporting them to the certain location on that world.

Hopefully that helps...

wintry dawn
obtuse notch
#

Yo no puedo jugar, no me conecta al servidor, solo puedo localmente

empty wyvern
north current
#

and you are using store.addComponent(ref, Teleport.getComponentType(), new Teleport(world, spawn3d, spawn3f));

?

empty wyvern
#

Yes
What wrong with it ?

wooden oasis
#

Is there a guide for a how to create a server? Like in MC. How can i make a server on VPS?

sonic narwhal
#

Is there a way to override interaction of an item ?

north current
# empty wyvern Yes What wrong with it ?

Hmm unsure. that's what works for me. When I got thread error is because I was calling the teleportation too soon. Maybe the world is not ready yet/fully created?

empty wyvern
thorny cobalt
#

Is it possible to modify the existing UI in the game? I noticed most of the UI in the game is on the Client

vast yacht
charred fulcrum
#

Does anyone know of a mod that allows users on my server's hub to connect to other servers via IP address? Or how can I do this?

vast yacht
north current
sonic narwhal
#

Like i would add an interaction to wild berries

#

If right clicked then something happens

gaunt flare
#

Hello guys, I need some help, i am trying to join the server of my wife in the game but i see everythin in white and nothing mooves

empty wyvern
zinc bluff
#

Anyone have a good article on setting up a server using a hosting provider like Digital Ocean?

eager hollow
#

when is someone going to cut out curse and host proper mod site ❤️

smoky coral
ivory hemlock
rain rune
#

With the line: this.getBlockStateRegistry().registerBlockState( SprinklerBlock.class, "Iron_Sprinkler", SprinklerBlock.CODEC);

Im getting the error: [HytaleServer] Failed to boot HytaleServer! java.lang.NullPointerException: Cannot invoke "com.hypixel.hytale.registry.Registration.unregister()" because "registration" is null at com.hypixel.hytale.registry.Registry.lambda$register$0(Registry.java:111) at com.hypixel.hytale.server.core.plugin.PluginBase.cleanup(PluginBase.java:466) at com.hypixel.hytale.server.core.plugin.PluginBase.shutdown0(PluginBase.java:437) at com.hypixel.hytale.server.core.plugin.PluginManager.setup(PluginManager.java:763) at com.hypixel.hytale.server.core.plugin.PluginManager.setup(PluginManager.java:236) at com.hypixel.hytale.server.core.HytaleServer.boot(HytaleServer.java:345) 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)

What am i doing wrong? Am i calling this too early? If so its currently in setup(), where do i put it instead?

wintry dawn
ivory hemlock
lost briar
#

Hi yall! I'm new to hytale and just got the game. are there any servers anyone would reccomend joining?

sonic narwhal
#

Im listening to packets atm and check for items id
Like i would add an interaction to wild berries
If right clicked then something happens

is there a way to override default interaction / add new interactions to vanilla items ?

teal vector
#

Where do I even start for learning to make a plugin? Is there documentation somewhere?

formal spade
#

Do you guys know when knocking down trees will be fixed?

subtle sage
#

anyone knows the event class of a player leaving the server?

severe moon
#

right hah a im just helping the guy out

mild plinth
#

how do i modify worldgen? i wanna add a new ore that spawns in a specific zone

severe moon
#

the simple answer is its possible with tweaking, idk how to explain that to you, it just takes a little more knowledge of java and how the basic cpu instructions lock onto different threads

delicate gorge
severe moon
#

i guarantee you i could.

ill make it happen live on stream here 🙂 cheers

#

im just looking to help out thats all you all have something good going, your website tho looks very ai generated atm.

spare sandal
#

Do chests ingame only get populated once theyre opened? It seems like theyre not accessible if theyre just spawned

bitter imp
#

guys is there like a documentation for java plugins?

dapper loom
#

Anyone know the best way to stop mobs from spawning? Is there a config setting, or should I add a listener?

vital fjord
#

and you could decompile jar

bitter imp
vital fjord
bitter imp
#

you here is crazy

formal spade
#

Do you guys know when knocking down trees will be fixed?

vital fjord
#

yep

rigid musk
#

Hello, I'm creating a command (let's say /msg <player> <message>), how could I register the "message" argument ? I tried to do like for "player" but since the "message" argument should accept multiple arguments (like "hello world") I can only access the first word 🥲

sonic narwhal
#

Im listening to packets atm and check for items id
Like i would add an interaction to wild berries
If right clicked then something happens

is there a way to override default interaction / add new interactions to vanilla items ?

dapper loom
#

Anyone know the best way to stop mobs from spawning? Is there a config setting, or should I add a listener?

lone wadi
#

Hey gamers! Wondering about best practice with the command buffer. I see it passed into systems, but how can I access it generically? Should I?

Context: Trying to pass info from the packetwatcher to a specific component in the world. But the packet watcher exists on server thread & seemed like the command buffer was the best solution.

wispy shoal
rigid musk
#

yes I already tried that. The getInput(argument) and will only return the first word (not the extra arguments) and the getInputString() will give the whole command.

So the only solution I have is to do a getInputString() and get the argument via the index and forward the rest of arguments

lone wadi
#

It wouldn't let me link it here but there's a website that visualizes the formatting automatically, I haven't used it but it might help with setting up your UI

#

the Hytale UI Builder its called

lone wadi
candid niche
#

Does Hytale already have something similar to BungeeCord?

pseudo forum
#

hey i need a bit of a help.. i need to reset the player's stats like health and effects like burning and stuff when they enter theworld.... how do i properly reset and update these components? I tried following the built-in command classes that reset the player's data but it seems to have no effect...

I tried calling this in PlayerReadyEvent and AddPlayerToWorldEvent

[Kotlin]

fun Holder<EntityStore>.reset() {
    val player: Player = getComponent(Player.getComponentType())!!
    val playerRef: PlayerRef = getComponent(PlayerRef.getComponentType())!!
    val ref: Ref<EntityStore>? = playerRef.reference

    // Get components
    val stats: EntityStatMap? = getComponent(EntityStatsModule.get().entityStatMapComponentType)
    val effects: EffectControllerComponent? = getComponent(EffectControllerComponent.getComponentType())

    // Reset
    //stats?.reset()
    if (stats != null) {
        repeat(stats.size()) { index ->
            if (stats.get(index) != null) {
                stats.resetStatValue(index)
            }
        }
    }

    if (ref != null && ref.isValid) {
        effects?.clearEffects(ref, ref.store)
    }
}
wispy shoal
vital fjord
#

best I can is jd-gui as additional tool

lone wadi
#

Ah gotcha. I know a friend has fully decompiled so you can do more advanced searches

wispy shoal
candid niche
young gyro
#

someone know where i can find documentarion for moding i wanna make a mod for server stats death kills mobs killed time survived etc

wispy shoal
vital fjord
#

also I might be wrong, but I think that the ItemContainerBlockState should have definitions for item inputs and outputs

summer ridge
#

Just checking right.... so the EntityStatMap is coded with indexes.... (where do I find these indexes? are they locked?)

formal spade
#

Do you guys know when knocking down trees will be fixed?

vital fjord
#

how many people are working on tech/sci-fi mods ?

lone wadi
#

🖐️

vital fjord
#

in mind from simple drills, electric furnaces and item pipes to more advanced

lone wadi
#

well... more space themed actually :P

pulsar oak
#

how can i disable creative tools on my lovely hytale server

vital fjord
#

did you make item movers/belts/conveyors ?

vital fjord
pulsar oak
#

everyone who joins seems to be able to pull out creative tools and crash my server

lone wadi
vital fjord
icy gulch
#

anyone know how to change text color with the ui command builder
something like this
commands․set("#Difficulty․Style", "(TextColor: " + component․getDifficultyColor() + ")");

vital fjord
#

would you or anybody else have idea how to get to know what sub containers of CombinedItemContainer are inputs and outputs ? @lone wadi

stark tulip
whole tulip
#

Im create few mini games for server, so im tired. Can someone explain how i can copy my 'map" and paste in void( no terrain) just void and my map. Thx

potent terrace
#

Can i get some help to get my game working? i tried numerous time with IA (Gemini pro) to help me looking on the log files , Why the game is not letting me be online, i can´t change my avatar, config a server, nothing, i had 2 hours on this and i feel so frustrated by now...

pliant flare
#

a faction mod / plugin is it a good idea? Does something like this already exist?

lone wadi
#

nah haven't touched that part of the code yet. If I end up digging into that part I'll le tyou know

midnight horizon
#

Java is not like python 😑 I just spent like 2h trying to see if I could make a simple 3x3 mining drill and... I have failed to understand this ECS system. I get that everything is a component and all but theory and practice are very different things.

vital fjord
icy gulch
wispy shoal
summer ridge
#

Am I suppose to map the entitystatmap myself? or is there a known enum out there with locked indexes? Or can I pull it from id like 'Stamina'?

vital fjord
vital fjord
sterile dove
blissful wigeon
#

is there like a block type enum in the game to figure out a block id?

tawdry lion
#

Is it possible to parse a PlayerRef from a UUID? I for seem to have hit a brain-malfunction

errant zealot
#

Anyone got a proper doc of all the existing interactions types and options by any chance?

crystal tulip
#

Hi, im trying to make a UI right now and get the content of some number input fields in handleDataEvent(...) to use for configuration stuff
Anybody know if this is possible? I dont see a way of accessing the content of a CustomUIPage after its been built

lone wadi
upbeat void
#

does anyone know how to retrieve entities in world?

#

like a whole list

stark tulip
frail mountain
#

Can somebody please explain:
Is it better to use Kotlin for modding, or just Java? I didn't have ANY experience with Kotlin so I dunno about it, but heard that it's kinda gud

tawdry lion
tawdry lion
upbeat void
#

i mean all entities

blissful wigeon
midnight horizon
# vital fjord Take note there are 2 systems at the moment that are for blocks to be interactiv...

This is the code that I came up with regarding my goal of 3x3 mining tool. Forgive my AI/W3 School java. I am more of a devops guy JSON/PY first time working with java.


    @EventHandler
    public void onBlockBreak(PlayerBreakBlockEvent event) {
      
        String heldItemId = event.getPlayer().getHeldItem().getId();
        if (!heldItemId.equals("custom:heavy_pickaxe")) {
            return;
        }

        
        if (event.isPluginCaused()) return;

      
        Vector3i center = event.getBlock().getPosition();
        BlockFace hitFace = event.getPlayer().rayTraceBlocks(5.0).getFace();


        breakNeighbors(event.getPlayer().getWorld(), center, hitFace);
    }

    private void breakNeighbors(World world, Vector3i center, BlockFace face) {
        int xMin = -1, xMax = 1;
        int yMin = -1, yMax = 1;
        int zMin = -1, zMax = 1;

      
        if (face == BlockFace.UP || face == BlockFace.DOWN) {
            yMin = 0; yMax = 0; 
        } 
        else if (face == BlockFace.EAST || face == BlockFace.WEST) {
            xMin = 0; xMax = 0;
        } 
        else if (face == BlockFace.NORTH || face == BlockFace.SOUTH) {
            zMin = 0; zMax = 0;
        }

     
        for (int x = xMin; x <= xMax; x++) {
            for (int y = yMin; y <= yMax; y++) {
                for (int z = zMin; z <= zMax; z++) {
                    
                  
                    if (x == 0 && y == 0 && z == 0) continue;

                    Vector3i targetPos = center.add(x, y, z);
                    Block targetBlock = world.getBlock(targetPos);

                  
                    if (!targetBlock.getType().equals("hytale:air") && 
                        !targetBlock.getType().equals("hytale:bedrock")) {
                        
                        
                        world.breakBlock(targetPos, true); 
                    }
                }
            }
        }
    }
} ```
#

But like where does this go?

vital fjord
proud gyro
#

where do i add custom sounds?

frail mountain
vital fjord
#

second you need to make class that implements component

proud gyro
dusky sable
#

How can I check a player's max health?

vital fjord
#

check com.hypixel.hytale.builtin.crafting.state.BlockState

warm breach
#

hi guys i'm trying to have my plugin generate worlds with pvp enabled by default, but they keep being created with the default config. any ideas how to fix this?

sterile dove
# frail mountain Can somebody please explain: Is it better to use Kotlin for modding, or just Jav...

Well its preference. My self I have used java for 11 years and kotlin 2 years and i like kotlin more, it makes code cleaner, but I would recommend learning java first, as it might be easier to learn. If you do amods with kotlin you have to have some more knowledge of stuff since u have to take into account stuff line how java sees your kotlin stuff, libraries and what stuff you can/should use to make ur mod have better api for other devs

night palm
#

thank you very much for giving the solution! :)

tawdry lion
frail mountain
wind gull
#

How hard would it be to get the world data in the plugin?

clever siren
#

Is there an equivalent to getUuid?

sterile dove
tawdry lion
ebon ledge
#

how can I dispatch a DamageBlockEvent?

reef perch
#

idk if here is the right place to ask, but

How can i reduce lag on server?

Server running win server 2016 with 24GB ram 12 allocated to server
couple of vCPU cores
plenty of disk space

im seeing 10k+ ping sometimes and im very local to the server

(I actually just peaked 100Kms LOL)

clever siren
quaint quest
#

My game simply closed and won't load again, it's giving me a crash message. Can someone please help me?

tawdry lion
clever siren
tawdry lion
dusky sable
#

Does anyone know how to check a player's max health including armor?

sterile dove
reef perch
#

my friend as well. we're the only two on the server. its random

clever siren
tawdry lion
# clever siren ah, gotcha, thanks
PlayerRef playerRef = store.getComponent(senderRef, PlayerRef.getComponentType());
            if (playerRef == null) return;

            UUID pUuid = playerRef.getUuid();
#

For example ^

eager wadi
#

I’ve been working on a very lightweight IntelliJ plugin focused on improving the experience when working with .ui files.

It’s a lightweight IntelliJ IDEA plugin that enhances .ui file editing with syntax highlighting, bracket matching, code formatting, and more — making UI definition work easier and more productive.

What’s new in the latest updates:

  • IntelliSense & Code Completion with component type suggestions
  • Live Preview Tool Window to visually render .ui files
  • New UI File Action to quickly create .ui files via the context menu
  • Hierarchical AST Parsing for better code folding and correct indentation of nested elements

Feel free to share ideas, feedback, or even contribute to the project.
The main goal is to gather feedback and hopefully help some of you while developing.

You can get it from Jetbrains Marketplace or GitHub.

Sorry for posting this in the wrong channel.
I just wanted to share this small project for anyone who wants to get into .ui work while waiting for more feature-rich plugins in the future.

white seal
#

because isnt a community fanart, btw, any news about dev kit?

sonic narwhal
#

Any best practice for configurations ?

sterile dove
sour solstice
grave tulip
sonic narwhal
#

Like, for Spigot you have YAML, for Hytale there is Json

#

But i suppose there is already a Gson built with some objects formats

grave tulip
copper summit
#

i need someone to come test my skyblock plugin

faint void
#

Does anyone know how block state is stored? Like, how would I get the state of the furnace, or create my own block state?

sonic narwhal
#

Any docs for the built-in? I see nothing on moddinghytale

copper summit
#

pm me

eager wadi
reef perch
sour solstice
#

no best practice as its all user defined, and strict syntax 🙂 just look at examples

  "Duration": 1000000,
  "ApplicationEffects": {
    "EntityBottomTint": "#ffffff",
    "ModelVFXId": "Burn",
    "ScreenEffect": "ScreenEffects/Sand.png",
    "EntityTopTint": "#ff0000",
    "HorizontalSpeedMultiplier": 1.6,
    "KnockbackMultiplier": 0
  },
  "ValueType": "Percent",
  "RemovalBehavior": "Infinite"
}

This is an entity effect, really depends on a class you want to use json for

sonic narwhal
copper summit
#

Anyone wanna come test my skyblock plugin rq? take like 10 mins max

sour solstice
#

for what though?

grave tulip
sonic narwhal
#

Yeah

#

From json to object, from object to json

grave tulip
# sonic narwhal Yeah

this is an example i found online earlier which worked for me, if you want the link i can send it to you in DM (cant post it in here):

public class ExampleConfig {

    // 1. Codec definition for serialization/deserialization
    public static final BuilderCodec<ExampleConfig> CODEC = 
        BuilderCodec.builder(ExampleConfig.class, ExampleConfig::new)
            .append(new KeyedCodec<Double>("LuckIncreaseChance", Codec.DOUBLE),
                    (exConfig, aDouble, extraInfo) -> exConfig.LuckIncreaseChance = aDouble,  // Setter
                    (exConfig, extraInfo) -> exConfig.LuckIncreaseChance)                     // Getter
            .add()
            .build();

    // 2. Configuration variable with default value
    private double LuckIncreaseChance = 0.40;

    // 3. Constructor
    public ExampleConfig() {
    }
    
    // 4. Getter method (optional but recommended)
    public double getLuckIncreaseChance() {
        return LuckIncreaseChance;
    }
}
sonic narwhal
#

Sure, ty

rigid musk
#

Hi, I'm using the PlayerChatEvent event but I'm unable to get the Player object, I can only get the PlayerRef. How is it possible to convert this into (or retrieve the object) Player ?

pseudo forum
sonic narwhal
mint portal
pulsar oak
#

why does my permissions.json file keep resetting every time i start the server

grave tulip
pseudo forum
sonic narwhal
#

execute() is for thread safeness

sterile dove
pulsar oak
sour solstice
mystic bone
warm breach
#

hi guys i'm trying to have my plugin generate worlds with pvp enabled by default, but they keep being created with the default config(no pvp). any ideas how to fix this?

rigid musk
#

the goal is to show a HUD

frail mountain
mint portal
sick lake
#

Hello!

sudden timber
#

(Authentication failed because the remote party sent a TLS alert: 'IllegalParameter'.) does anyone know how to fix this? everyone else can join the server but me.

mild plinth
#

is there any way to modify worldgen?

barren wyvern
#

Is it possible to shorten the hit delay so that you can hit faster?

latent tangle
#

i found the command. its

/entity clean --confirm

versed spoke
#

Howdy yall, im wondering where you would access the certain plugins, Not downloaded ones off curseforge, Like basegame ones? idk how to properly explain. Basically my server is saying that the "memories" plugin isnt working. So my players are getting disconnected everytime they interact with memories

frail mountain
mystic bone
# rigid musk the goal is to show a HUD

Oh I haven't done that yet. I think I saw a good example in AdminUI mod. It's on gh. check:admincommand.java. Idk if it's exactly what you're looking for though

reef perch
rigid musk
grave tulip
#

did you ever figure this out? im trying to cancel damage entirely with my own system, the log message is being printed in my handle method but damage.setCancelled(true) seems to do nothing

barren wyvern
#

Is it possible to shorten the hit delay so that you can hit faster?

mint portal
frail mountain
finite dew
#

Check Server Logs for errors should bring you in the direction of the Problem

sterile dove
final forge
# frail mountain Yoooo! That's so cool actually!

yup, I can recommend looking into @AllArgsConstructor

@AllArgsConstructor
public class Profile {

    private final UUID uuid;
    private long credits;

as you dont have to create

public class Profile(UUID uuid, long credits) ....

#

its just automatically there too

barren wyvern
#

Is it possible to shorten the hit delay so that you can hit faster?

civic cove
#

Does anyone know how to get entity type (if there are any) from entity ref?

    @Override
    public void handle(int index, @Nonnull ArchetypeChunk<EntityStore> chunk,
                       @Nonnull Store<EntityStore> store,
                       @Nonnull CommandBuffer<EntityStore> commandBuffer,
                       @Nonnull Damage damage) {

        // Skip if already cancelled by another system
        if (damage.isCancelled()) {
            return;
        }

        // Get reference to the damaged entity
        Ref<EntityStore> targetRef = chunk.getReferenceTo(index);

        if (!(damage.getSource() instanceof Damage.EntitySource entitySource)) {
            return;
        }

        // Attacker entity
        Ref<EntityStore> attackerRef = entitySource.getRef();

        // Check if attacker is a player
        Player attacker = store.getComponent(attackerRef, Player.getComponentType());
        if (attacker == null) {
            return;
        }

        System.out.println(attacker.getDisplayName() + " attacked entity.");

        //Add karma to player's persistent data.
    }
frail mountain
sterile dove
frail mountain
barren wyvern
#

Does anyone know if there's a way to shorten the hit delay or if it's possible to check whether someone has right-clicked on a block?

frail mountain
pseudo forum
proven edge
#

Hi guys, someone know how i can cancel the player pickup on a Rubble_Basalt for example ? I want the block doesnt disapear , actually i do an ECSEvent, i cancel the pickup & the throw, but the block totally disapear , idk how to cancel this or if its a bug

north current
wheat vale
mint portal
worldly jetty
#

Hello! my friend is attempting to host a dedicated server for us, but we keep getting an error about the connection timing out due to inactivity? i see that could be an issue with mods but we arent running any. any tips?

frail mountain
# mint portal MongoDB > SQL

THAT'S WHAT IT'S CALLED GOD DAMNIT, I tried to remember something really important related to Databases and Java while searching for info, but forgot

that's what was it

why is it better though?

dense lion
north current
#

Hynetic devs wya

sonic narwhal
upbeat void
#

how to retrieve current player chunk?

pseudo forum
wheat vale
mint portal
sonic narwhal
pseudo forum
#

yes

#

but i would like a list, not a class in case the API updates

sonic narwhal
#

ummmh do Refactor

tawdry lion
#

Am I the only one that feels like SQL is similar to assembling some ancient chinese runes and praying that everything doesn't go to shite each query update?

sonic narwhal
#

get all the static int fields for now

pseudo forum
#

yeah reflection is the only way im thinking

sonic narwhal
#

EntityStatType.getAssetMap() returns a map with all the assets registered

wheat vale
tawdry lion
pseudo forum
sonic narwhal
#
        IndexedLookupTableAssetMap<String, EntityStatType> assetMap = EntityStatType.getAssetMap();
        HEALTH = assetMap.getIndex("Health");
        OXYGEN = assetMap.getIndex("Oxygen");
        STAMINA = assetMap.getIndex("Stamina");
        MANA = assetMap.getIndex("Mana");
        SIGNATURE_ENERGY = assetMap.getIndex("SignatureEnergy");
        AMMO = assetMap.getIndex("Ammo");
wheat vale
#

you are pretending sql is some sort of science.. which it isnt

sonic narwhal
#
    public static IndexedLookupTableAssetMap<String, EntityStatType> getAssetMap() {
        return (IndexedLookupTableAssetMap)getAssetStore().getAssetMap();
    }

its public

pseudo forum
#

oh wait

pseudo forum
#

oh right i can just grab the keys and get the indexes 😅

upbeat void
#

any idea how to retrieve chunk player is in?

sonic narwhal
#

Yep

#

The map already has the String - Key

So if you want to reset them all just forEach(key, index)

Or values()

wheat vale
#

i am btw planing to overengineer my waypoint mod adding sqlite to it so i get persistence
i dont know why but the worldMapManager only stores points of interest in memory so i am doing the persistence for it

funny enough that gives me way more benefits than i even thought about first
i can basicly make waypoints togglable which is a nice thing to have i guess (i really hope hytale is getting that natively at some point)

i just still need to figure out what makes waypoints render on the map since mine only appear on the compass as of now
havent been able to find what code in the server tells the client what waypoints to render on the map or where that is even decided

tawny ruin
#

i am trying to change the way stamina functions but i cant find the regeneration system I cri. There is no stamina event either, I can see the player damage events tho

barren wyvern
#

Does anyone know if there's a way to shorten the hit delay or if it's possible to check whether someone has right-clicked on a block?

dense lion
#

I have seen an Hologram (or another thing) in a server with line jumps and colors, any idea how to get that? Nameplate is white and no break lines :S

pseudo forum
red stump
#

Hey, need some help. Don't know who or where to ask 😅

Having an issue where if someone goes through a specific portal they get stuck in limbo, the whole server crashes and we have a person permanently stuck there so whenever they log in it crashes the server. I have tried to teleport them once they log in but it just says player could not be found. PLEASE, ANYONE, HELP! 😭

sonic narwhal
dense lion
red stump
#

I haven't tried but I was really hoping to not have to do that.

dense lion
#

only his data is not that bad, gl thou

copper summit
#

Can someone VC with me for a few mins to help me test my Skyblock plugin

grave tulip
#

Does anyone know how to cancel damage conditionally? I made my own system class and the debug log in the handle method gets called but damage.setCancelled(true) doesn’t seem to do anything

river pasture
#

Is anyone familiar with how to get the inventory of a container?
I'm working with the UseBlockEvent, and i just can't figure it out

pseudo magnet
#

Does Hytale engine supports parent/children entities relation. By this I mean entity (Parent) that have multiple children. When parent will be moved then children got moved relative to parent position? Is it such functionality build-in or do I need to code it from scratch?

celest veldt
#

Any fix to the disconnecting issue when farming wood problem? :/

turbid rose
#

Go on server lists

dense pivot
#

Hi did you know if a mod exist for up de build limit like 2032 block height in minecraft please for the build ?

royal hatch
#
curseforge com/hytale/mods/hyskills-easy-custom-skills

Features now:
*Create your own in-depth custom skills
*Custom level scaling per skill
*Event triggers (more to come): breaking blocks, killing mobs, sprinting, crafting, placing blocks, chatting
*Item requirements — make it so that you need to use specific items at specific levels
*Unlocks — set custom rewards for reaching certain levels or every level (including items and stats)
*Locked items — lock the use of items behind levelling up a specific skill until the skill reaches a specific level (this stops you breaking blocks with locked items)
*Admin panel — add/edit all skills from a menu, edit other players' stats and skills, search items and entities to add them by clicking
*Custom stats include: mining speed, strength (multiply damage), defense (damage reduction), crafting proficiency (chance of double craft or extra XP), vampirism (lifesteal), crit hit chance, crit hit damage, max health, max mana, max stamina, max oxygen, stamina regen.```
fresh fable
#

where i can found a common.ui file?

royal hatch
wheat vale
#

advertising that dry

royal hatch
#

Yeah, i know there was a few before following this.

wheat vale
#

uh wait its not a server
Sry i thought you were one of the 32145344 server people that was just spaming his server
could have read it a tiny bit better

vernal hull
#

How much ram and cores are needed for server with like 30 ppl? (Approx.)

royal hatch
wheat vale
#

i see now 👀

west veldt
dense pivot
#

Hi did you know if a mod exist for up de build limit like 2032 block height in minecraft please for the build ?

eager hollow
#

Curse Plugins I have not seen any new ones for like 8 hours... I'm guessing curse themselves have to click a button or something

royal hatch
#

Im expecting some bugs, especially around the scaling of stats, but from my testing its mostly good

#

scaling is a tomorrow problem

wheat vale
subtle sage
#

best sign for a knowledge share server and connections when it's private

eager hollow
#

what kind of spam is this...

wheat vale
#

holy sh*t how many mods are there already on curse

civic cove
#

Mostly developed before the release

dense pivot
#

Hi did you know if a mod exist for up de build limit like 2032 block height in minecraft please for the build ?

wheat vale
#

its still insane how many mods hytale already has

sonic aspen
#

I found a .jar file for a mod that I like, but I can only upload .zip files to my server host. Any suggestions on how to convert or am I sol?

fresh fable
#

Please tell me what causes the error: Failed to load CustomUI documents

subtle sage
wheat vale
rancid obsidian
#

@upbeat harness I added you for an invite, cant message you

dull thunder
#

How might I reuse frames and change the values in the frames?

protected void build(@Nonnull UICommandBuilder builder) {
  builder.append("Gui/Wrapper.ui");
  builder.append("#Wrapper", "Gui/Item.ui");
  builder.set("#ItemName.TextSpans", Message.raw("Item A"));

  builder.append("#Wrapper", "Gui/Item.ui");
  builder.set("#ItemName.TextSpans", Message.raw("Item B"));
}
subtle sage
analog patrol
granite raptor
#

rename to .zip send and rename to .jar again

dense pivot
#

Hi did you know if a mod exist for up de build limit like 2032 block height in minecraft please for the build ?

dense lion
sonic aspen
analog patrol
wheat vale
wheat vale
keen mantle
#

who do you guys recommend to host a server between friends?

faint void
#

How do I make a block get recognized as an entity when its placed/loaded?

analog patrol
#

I do zero comments in my code

wheat vale
weary skiff
#

where are sound effects stored/what do I do to add a sound file so the asset can locate it

analog patrol
sonic aspen
wheat vale
#

we had that already a while ago
while most of us (me including) agree not everyone has the mean or the know how to do that

dense pivot
#

Hi did you know if a mod exist for up de build limit like 2032 block height in minecraft please for the build ?

wheat vale
robust wadi
#

has anyone got the UseBlockEvent to work? Im trying to cancel events but nothing happens, I can open every door, interact with every craft station, anything

public class Test extends JavaPlugin {
  public Test(@Nonnull JavaPluginInit init) {
    super(init);
  }
  protected void enable() {
    getEventRegistry().registerGlobal(
      UseBlockEvent.Pre.class,
      this::onBlockUsePre);
  }

  private void onBlockUsePre(UseBlockEvent.Pre event) {
    if (event.getInteractionType().equals(InteractionType.Use))
      event.setCancelled(true);
  }
}
rugged perch
#

whats the recommended way to go about updating a server?
i run one locally on my server computer and idk if its easier to just install a clean server and move the universe/worlds and configs over, or just replace the assets zip?

fresh fable
analog patrol
fresh fable
#

oh

keen mantle
#

Thank you! My and my friends were looking at Bisect Hosting for it

subtle sage
#

used a hashmap with ui today with dynamic keys to have inputs onchange save in entries depending on keys. it was so terribly bad. hope they fix their ui

keen mantle
#

but we werent sure if it was good

analog patrol
rugged perch
#

kk

sonic aspen
#

Ive just been trying to get something working to remove/replace the eating sounds for my friend who has Misophonia. My mod creation efforts werent panning out and I havent found anything that I could use otherwise

slim snow
#

why dose private CompletableFuture<Void> universeReady start null in Universe It kind of ruins the point of having a async field, they even have a public getter for it in Universe

zealous sonnet
#

Our network made a mod that allows player owned instances on our server. Create a Realm solo, or to share with friends. Share your homes with players in your realm, have complete control etc.

keen mantle
dreamy narwhal
open ember
#

anyone know how i host my own online official server on hytale

wheat vale
fresh fable
dreamy narwhal
keen mantle
wheat vale
dreamy narwhal
analog patrol
languid linden
#

(Authentication failed because the remote party sent a TLS alert: "IlegalParameter.)

My son when he try’s to connect to my server gets this but no one else does? Sorry if this is a stupid question

dreamy narwhal
wheat vale
dreamy narwhal
#

pfft

sonic aspen
dreamy narwhal
#

bro couldnt get playit to work and now mad

dapper loom
#

Anyone know how to stop mob spawns? Theres config settings for NPC markers and NPC spawns. But I still seem to have some spawning. Any ideas? i really don't want to implement a listener unless really needed

fickle moss
#

Anyone know how to fix my ping when playing with friends, should renting a server be better?

nocturne kettle
#

I am looking for someone to help me out with a plugin

frozen phoenix
#

hi there,
im having a problem with my friend joining in my server. he tries to join but the connection fails during the loading chunk part. when i create the code it says " your network configuration may prevent others from connecting", is that the problem? and how do i fix it?

wheat vale
dreamy narwhal
#

whatever you said screams security risk but you do you

wheat vale
dreamy narwhal
#

root server? yeah doesnt sound good

wheat vale
#

Chat properly configured root Server Security Risk yes or no lets Vote

novel portal
digital rampart
#

Root Server = V-Sever with root access
so you got a VPS then?

dreamy narwhal
#

yeah ^ that sounds bad

#

shouldnt run server with root perms no different than games

wheat vale
dreamy narwhal
#

yes

high bane
#

Some people just like to learn by the FAFO method.

wheat vale
dreamy narwhal
#

i legit have bazzite rn

#

even the tag bruv

wheat vale
frozen phoenix
dreamy narwhal
#

audi is a brand 🤣 🤣

sonic narwhal
#

Guys how to register new codec ?

rigid musk
#

sorry for repeating myself but does someone here knows how to get a Player object inside the PlayerChatEvent ? Or at least how can I set a custom HUD to all connected players from the PlayerChatEvent ?

The only (and worst) solution I probably have is to use a PlayerJoinEvent and save the players in a HashMap :/

wheat vale
dull thunder
#

Does anyone know how to dynamically build a ui via CustomUIHud with component reuse?

granite chasm
#

does hytale have a built in scheduler, similar to bukkit's runnable stuff

dreamy narwhal
#

bro i aint helpin

#

someone needs to figure out what rage baiting is super poplour onm this server

subtle steeple
wheat vale
dreamy narwhal
#

sure bro

sharp pumice
#

can you run a command through a plugin?

wheat vale
rigid musk
novel portal
sharp pumice
#

or load a world through a plugin? i some code that makes a new one, but cant seem to load it

dreamy narwhal
rigid musk
dreamy narwhal
#

you came back bein a dick first

slim snow
frozen phoenix
granite chasm
wheat vale
carmine rock
#

How to transfer a player to another world?

dreamy narwhal
#

gotta be the last reply right

subtle steeple
dreamy narwhal
#

get the last laugh, well enjoy i got important things to do 👋

sonic narwhal
#

How to add new data type codecs ? Like for interfaces and save / load them in configs

rigid musk
fleet gulch
# slim snow I've made a bug report about this hopefully it gets fixed next update

not sure it helps ya but:

public void init() {
        Universe.get().getEventRegistry().registerGlobal(StartWorldEvent.class, this::onWorldLoad);
    }

public void onWorldLoad(StartWorldEvent event) {
        var world = event.getWorld();
        if (!world.getName().equals("default")) return;

        Universe.get().getUniverseReady().thenRun(() -> {
            world.execute(() -> loadAndSpawn(world));
        });
    }
slim snow
# carmine rock How to transfer a player to another world?

this is what I did for Bridge

public void transferPlayer(@Nonnull PlayerRef playerRef) {
    var currentWorld = Universe.get().getWorld(playerRef.getWorldUuid());
    
    currentWorld.execute(() -> {
        try {
            playerRef.removeFromStore();
            
            hWorld.execute(() -> {
                CompletableFuture<PlayerRef> future = hWorld.addPlayer(playerRef);
                
                if (future != null) {
                    future.exceptionally(throwable -> {
                        BridgePlugin.logger().atSevere().log(throwable.getMessage());
                        return null;
                    });
                }
            });
        } catch (Exception e) {
            BridgePlugin.logger().atSevere().log(e.toString());
        }
    });
}
wheat vale
subtle steeple
slim snow
ebon ledge
#

do I need to pass deltaTime inside commandBuffer functions? or does it already executes based on ticks?

wicked moat
#

Anyone else having issues with the Wayback Charm Mod? I get kicked from the world when I press F

slim snow
# fleet gulch oh I see
public final void onEntityAdded(Ref<EntityStore> ref, AddReason reason, Store<EntityStore> store,
    CommandBuffer<EntityStore> cmd) {
        
    Universe.get().getUniverseReady().thenRunAsync(() -> {
        var playerRef = store.getComponent(ref, PlayerRef.getComponentType());
        var hWorld = Universe.get().getWorld(playerRef.getWorldUuid());
        if (hWorld != null) {
            var bWorld = BridgeWorldFactory.getBridgeWorldFromWorld(hWorld, hWorld.getName(), null);
            bWorld.getBridgeWorldComponent().onPlayerJoinWorld(bWorld, playerRef);

            BridgePlugin.logger().atFine().log("TEST");
        }
    });
}
slim snow
undone rivet
#

Wayback is also kicking people out on my server

lethal mauve
#

anyone know how to make a projectile explode

regal nacelle
#

Hey, sorry to disturb. I keep getting "Failed to apply CustomUI HUD commands", someone can look at my .ui ?

high bane
uneven tide
#

Does anyone know how to add custom asset types?

regal nacelle
#

Group #QuestHUD {
Anchor: (Top: 10, Right: 10, Width: 360, Height: 140);

Label #Line1 { Anchor: (Top: 5, Left: 5, Right: 5, Height: 20); Text: ""; }
Label #Line2 { Anchor: (Top: 30, Left: 5, Right: 5, Height: 20); Text: ""; }
Label #Line3 { Anchor: (Top: 55, Left: 5, Right: 5, Height: 20); Text: ""; }
Label #Line4 { Anchor: (Top: 80, Left: 5, Right: 5, Height: 20); Text: ""; }
Label #Line5 { Anchor: (Top: 105, Left: 5, Right: 5, Height: 20); Text: ""; }

}
if someone can tell me where is the problem, it would help. Thanks !

undone rivet
high bane
#

That's the cost of day 1 mods Hypixel_Smile

robust wadi
#

I just found it!

wicked moat
robust wadi
#

I'm not sure, I'm a noob with Java. I looked up the simple claims mod on GitHub

#

It's an extension of the interaction block event system

high bane
subtle steeple
solid fox
#

Hi there, how do you guys manage different inventories per world ? if uanna have a creative and an adventure one ?
If someone has hints on how to find it, i'd be glad 🙏

robust wadi
#

My only intention is to cancel chest / doors interaction at certain moments, so I won't touch any other block but thanks for the advice

topaz jetty
#

Hey, I actually came across your message because I was trying to figure out the same thing myself.
After digging around a bit, I found that you can listen to the player join/ready event by registering a global event handler.

Here’s a quick example using PlayerReadyEvent:

public class ExampleEvent {
    public static void onPlayerReady(PlayerReadyEvent event) {
        Player player = event.getPlayer();
        player.sendMessage(
            Message.raw("Welcome " + player.getDisplayName())
        );
    }
}

Then register it in your plugin:

public class MyPlugin extends JavaPlugin {

    @Override
    public void setup() {
        this.getEventRegistry()
            .registerGlobal(PlayerReadyEvent.class, ExampleEvent::onPlayerReady);
    }
}

Once that’s set up, the handler will fire whenever a player becomes ready/joins.

warm breach
#

hey, i'm trying to have the worlds that my plugin generates have pvp enabled, but they keep using the default config with it disabled. anyone have any ideas

cosmic ruin
#

public HelloCommand(@Nonnull String name, @Nonnull String description, boolean requiresConfirmation) { super(name, description, requiresConfirmation); }

Figuring some things out here lol

Wondering how I can set permission to ALL.
I believe right now the command default to OP only.
Also not sure how you do that nice clean code box LOL

copper fable
#

I want to make just as a test a weapon that functions like the magic missile of terraria, a staff that throws proyectiles that follow where the player is looking, does anyone know how to modify a proyectile to behave like this?

modern spire
#

Is there a list of potion StatModifiers anywhere?

hard bane
#

anyone here else uses a raspberry pi to host hytale servers?

covert sleet
#

how could you set up a /commands witha pop up in sever

subtle steeple
cosmic ruin
glad juniper
#

How do I get an Player from its playerRef?

small pivot
#

do i have to update my server in order to play the new update? or is just updating my client fine

solid fox
#

Hi there, how do you guys manage different inventories per world ? if uanna have a creative and an adventure one ?
If someone has hints on how to find it, i'd be glad 🙏

small pivot
#

yee figured

leaden seal
#

Damn we alr have luckperms in hytale

sharp pumice
#

anyone know why my server doesnt load when this line is added to a class? it runs when a command is run.

Universe.get().loadWorld(newWorldName);

leaden seal
#

Crazy!

topaz jetty
pliant barn
#

i am looking for a developer for a server (paid)

keen solar
#

is there a way to use Common.ui assets in appendinline()? seems like it breaks the parser

subtle steeple
slim hatch
lapis marlin
#

Anyone tried making custom connected block rulesets? one of the CODECs are decompiling wrong and I can't pinpoint how to fix this

topaz jetty
subtle steeple
# slim hatch Ive seen that it depends on the event type

Im doing it like this:

public Player getPlayer(PlayerRef playerRef) {
        if(playerRef == null)
        {
            return null;
        }
        Ref<EntityStore> ref = playerRef.getReference();
        if (ref == null || !ref.isValid()) {
            return null;
        }
        Store<EntityStore> store = ref.getStore();
        return store.getComponent(ref, Player.getComponentType());
    }
signal grail
#

where are the docs

subtle steeple
slim hatch
red venture
subtle steeple
fast merlin
#

Has anyone had issues with the server actually crashing VPS's? I'm running it on an 8gb server with just me playing and the whole server just gave up, can't even get a response when pinging the IP.. 💀

red venture
#

I’m not on a VPS, but crashes are pretty common. I ended up upgrading to 32gb of ram and my server always sits at around 14gb even at idle

umbral ingot
#

Is there any commands to restrict/block certain portals/dimensions?

fast merlin
elder grotto
#

The lack of need for a proxy like bunjee cord fuels me

lost plover
#

Hi, I'm new here. I've been trying to find any official resources for server setup and mod development, but haven't had much luck. Could someone point me in the right direction? Thanks.

ornate root
#

Official reference and documentation has yet to be released

elder grotto
#

Can just, have all your servers connected, luckperms has sql support, what would take hours of setup is now just dragging and dropping mods

cerulean merlin
#

Is dropping items while running something prevented from Hytale side? If I tie into the packet can i override it?

uneven tide
#

Does anyone know how to add a new asset type? I've figured out I can implement the JsonAsset type but I'm not sure how to actually register it?

dusky sable
#

How can I make a plugin interact with another plugin?

dusky sable
slim dragon
#

what can i do? "Server requires development mode which is not supported in this build"

cerulean merlin
dusky sable
cerulean merlin
#

Why not make one plugin then?

lavish lagoon
#

This can be done using the HubPortal interaction. Specify a world name and it will teleport players to the world spawn. No code necessary.

dusky sable
quartz plover
cerulean merlin
young gyro
#

modder md me custom mod

dusky sable
topaz jetty
quartz plover
sharp thistle
#

What happens if you hook 2 different plugins to same event? Which one gets called first?

cerulean merlin
dusky sable
#

👍 thanks

cerulean merlin
sharp thistle
slender topaz
#

how do i hide a mods ability to put things on the crafting menu? i want to disable the ability to craft the violet's benches for now

haughty cove
#

But haven't tested

subtle steeple
slim dragon
#

what can i do? "Server requires development mode which is not supported in this build"

topaz jetty
uneven tide
sharp thistle
#

I'm just a bit confused, let's say I want to change the way WateringCan works, right now there's a UseWateringCanInteraction that extends SimpleBlockINteraction that has a interactWithBlock method.

Now if I hook to event interactWithBlock, will it call the UseWateringCanINteraction interactWithBlock first and then whatever I do with my hook? What if I wanted to just change the water duration for example? Would I just overide the whole method, copy everything but just change the duration variable...? Feels like a weird system to me, but never really been into modding

foggy totem
#

does anyone know how to multi player

final dock
#

java link ? help

grave tulip
final dock
#

21 or 25? java

steel aurora
#

Hello, i want to do a modify on furnace processing, but i dont have idea where to find the code to do it. someone knows?

solar crow
#

hello, does anyone knows why my installed mods does not show in server config to enable them?

#

i've installed them through the curse app

steel aurora
solar crow
#

a local one, they doesnt show in world creation :c

lost plover
steel aurora
#

The page has a server manual

#

im working on a local page to manage them with out touching the cmd

#

i have open for my friends to open the server allways my pc its on

grave tulip
steel aurora
grave tulip
#

yea, if you look up "hytale mod documentation" or something similar you can find some websites like gitbook pages people have made

lost plover
solar crow
#

i can't put ss to show the probleam here right?

#

still no mods avaliable here ;-;

solid horizon
#

Refactored my whole project to Kotlin from Java. It's so nice with Hytale 😎

frail knot
#

if wanna make ur own mod idk

stark blade
steel aurora
#

I can do that on the asset editor, but im making an alloy furnace, i need to edit the processing code it self to consume both spaces and give me one item, and i need to know how to add my custom ore to furnace whitelist

trail herald
#

The unban command does not go to the server. Please pass it on to the developers

wide juniper
#

I'm trying to install mods on my server and I get this warning message like 20 times per second:
[2026/01/19 01:21:40 WARN] [HudManagerService] MHUD plugin not available - cannot set HUD: LevelProgress
any idea how to fix it

copper summit
#

anyone know whats wrong with my Death Watcher?

        HytaleServer.SCHEDULED_EXECUTOR.scheduleAtFixedRate(() -> {
            Universe.get().getPlayers().forEach(playerRef -> {
                Ref<EntityStore> ref = playerRef.getReference();
                if (ref == null) return;

                Store<EntityStore> store = ref.getStore();
                if (store == null) return;

                boolean currentlyDead =
                        store.getComponent(ref, DeathComponent.getComponentType()) != null;
                boolean previouslyDead =
                        wasDead.getOrDefault(playerRef.getUuid(), false);

                if (currentlyDead && !previouslyDead) {
                    wasDead.put(playerRef.getUuid(), true);
                    playerRef.sendMessage(
                            Message.raw("DEBUG: Death detected!")
                    );
                }

                if (!currentlyDead && previouslyDead) {
                    wasDead.remove(playerRef.getUuid());
                    playerRef.sendMessage(
                            Message.raw("DEBUG: DeathComponent removed! Teleporting now...")
                    );
                    handleRespawn(playerRef, store, ref);
                }
            });
        }, 0L, 200L, TimeUnit.MILLISECONDS);
    }```
#

it never detects deaths

thick cove
red venture
#

When there’s no one on it sits at 14gb. But even with 10+ people on it doesn’t really go much further above that, usually spikes around 16gb

copper summit
topaz jetty
#

anyone know why getPlayer().getWindowManager().getWindows() doesn't contain the map window/include it even when its opened?

pliant cradle
ivory dock
#

if anyone wants to build a community together on a server and play via discord voice chat, message me!

rustic night
#

Is it possible to create custom cosmetics today?

I know that it is possible to change cosmetics through PlayerSkin, but is it possible to add custom to the server?

timid ibex
thick cove
rustic night
tough basin
#

is there not a player leave event?

timid ibex
copper summit
#

oh i see, its a class inside of the class my bad

rustic night
timid ibex
fast turtle
#

State sensor or State setter action/motion exists without accompanying state/setter: Idle anyone know what this means

red venture
rose atlas
#

Someone got fnaf in hytale 😭

thick cove
# copper summit oh i see, its a class inside of the class my bad

you need like

`public static class MyOwnPlayerKilledPlayer extends OnDeathSystem {
@Nonnull
private static final Query<EntityStore> QUERY = Archetype.of(new ComponentType[]{Player.getComponentType(), Nameplate.getComponentType()});

    @Nonnull
    public Query<EntityStore> getQuery() {
        return QUERY;
    }

    public void onComponentAdded(@Nonnull Ref<EntityStore> ref, @Nonnull DeathComponent component, @Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer) {
    // YOUR MACIG CODE

}`

and register in EntityStoreRegistry

timid ibex
#
[2026/01/19 01:38:49   INFO]                 [CommandManager] SILC executed command: vc
[2026/01/19 01:38:49   INFO]                           [SOUT] [Debug] VoiceConfigCommand execute
[2026/01/19 01:38:49   INFO]                           [SOUT] [Debug] Opening voice config for SILC
[2026/01/19 01:38:49   INFO]                           [SOUT] [Debug] openVoiceConfig called for SILC
[2026/01/19 01:38:49   INFO]                           [SOUT] [HyUI] Script tag found with content length: 846
[2026/01/19 01:38:50   INFO]                           [SOUT] [Debug] Select Microphone button clicked
[2026/01/19 01:38:50   INFO]                           [SOUT] [Debug] Found microphone: Primary Sound Capture Driver
[2026/01/19 01:38:50   INFO]                           [SOUT] [Debug] Found microphone: SteelSeries Sonar - Microphone (SteelSeries Sonar Virtual Audio Device)
[2026/01/19 01:38:50   INFO]                           [SOUT] [Debug] Found microphone: Microphone (Sonic Studio Virtual Mixer)
[2026/01/19 01:38:50   INFO]                           [SOUT] [Debug] Found microphone: Microphone (Arctis Nova 7)
[2026/01/19 01:38:50   INFO]                           [SOUT] [Debug] Found microphone: Microphone (Fifine Microphone)
[2026/01/19 01:38:50   INFO]                           [SOUT] [Debug] Found microphone: Headset Microphone (Oculus Virtual Audio Device)
acoustic kite
#

any clues of how we made a hub/lobby?

timid ibex
viscid wren
#

what are the best usa hytale server host?

clear ledge
#

About UI modification, do we have some examples or doc ?

thick cove
#

example in other mods or in game files

young pumice
timid ibex
coarse monolith
#

anyone know how to make custom structures that can generate in the world?

lusty topaz
#

Does the server have control over a users key bindings? Say I wanted to add a new keybinding option for a player to open a UI.

clear ledge
#

Yeah, okay, cuz it’s pretty unusual the .ui thing

lusty topaz
timid ibex
thick cove
#

Guys, correct me if I'm wrong, but doesn't "BlockingDiskFile" have a race condition?
I noticed that syncSave() acquires a readLock() instead of a writeLock(). This allows multiple threads to write to the file simultaneously. If this hits the permission file or any config under load, it will definitely corrupt the data

rigid musk
#

hi everyone, so I'm having issues with the Custom HUD.

I was able to automatically show the custom HUD to all players automatically by adding to a List a custom object that contains:

  • Player
  • PlayerRef
  • my custom HUD class instance (which needs a PlayerRef to be given)

The issue comes when calling the method hudManager.resetHud(playerRef);

The error I get in Hytale is Failed to apply CustomUI HUD commands
The error I see in the client logs is System.NullReferenceException: Object reference not set to an instance of an object.

But when I print the Player/PlayerRef/Hud data I don't see anything "null"

#

if you need code just ask me (I have a lot of prints 🤣)

normal moon
#

i keep getting this when i try to use salvage bench "[ProcessingBenchState] No FuelDropItemId defined for Salvagebench fuel value of 0.0 will be lost!"

primal peak
#

Has anyone found out how to change the speed of mounts? I'd love to modify the railcarts to move faster 👀
I've looked in a number of different assets but they were all wrong

coral swift
#

Anyone know how to change the background texture of a ui within the gui code?

#

when I try the command builder set text function it always errors out

karmic harness
#

I have a 2026.01.17-4b0f30090 client connected to a 2026.01.13-dcad8778f server. Infinite ult boosting (scroll+q) AND stamina cancel work. So it must be server side

stark blade
fresh charm
#

I've managed Hyxin to work (in the end I need it 😝 )

Do you need any help with that?

src/main/resources/manifest.json:

{
  //...
  "Main": "com.example.exampleplugin.ExamplePlugin",
  "Hyxin": {
  "Configs": [
    "plugin.mixins.json"
  ]
}

build.gradle.kts:

repositories {
  //...
  // remove [ ], added to avoid spam detection
  maven("https[:]//cursemaven[.]com") {
      name = "CurseMaven"
  }
}
dependencies {
    compileOnly(files(serverJar))
    compileOnly(files(hytaleAssets))
    // read on cursemaven how to build this string
    compileOnly("curse.maven:hyxin-1405491:7399430")
}

var installPlugin = tasks.register<Copy>("installPlugin") {
    dependsOn(tasks.jar)
    from(tasks.jar.get().archiveFile)
    into(file("run/earlyplugins"))
}

val runServer = tasks.register<JavaExec>("runServer") {
    dependsOn(installPlugin)

    classpath=files(serverJar)
    mainClass.set("com.hypixel.hytale.Main")
    workingDir("run")
    jvmArgs=listOf(
        "-XX:AOTCache=$gameDir/Server/HytaleServer.aot",
        "--enable-native-access=ALL-UNNAMED",
    )
    args=listOf(
        "--accept-early-plugins",
        "--allow-op",
        "--disable-sentry",
        "--assets=$gameDir/Assets.zip",
    )
}

`

normal moon
#

Hey guys im having issues with the salvage workbench not giving me rubble when i give it stone. What could be the issue?

gray mantle
#

has anyone found any way to apply arbitrary velocities to players? I see the Player.class having a resetVelocity method that takes in a new velocity- but...

I both cant figure out how to get to this class from a PlayerRef, how to get the current velocity, and also this seems like not the right way to do it

rigid musk
lilac abyss
#

anyone using simple claims and know if this causes lag? "ForceSimpleClaimsChunkWorldMap": true
i saw a big server turned it off so i was curious

drowsy niche
#

Hi, I have a question. I was playing peacefully in my world, but suddenly it crashed. When I placed blocks, they weren't being removed, the mobs weren't moving, and I couldn't break blocks. I exited and came back in after a while, but when I logged in, it was still crashed, except the chunks weren't loading; only the spawn point was loading.

Any solutions?

gray mantle
#

wait like actually yeah seriously I cannot figure out how to get to the Player.class from PlayerRef or the UUID or anything, does anyone know how?

solid fox
#

its not for myself bvut for my players ^^

gray mantle
fresh charm
lilac abyss
#

anyone using simple claims and know if this causes lag? "ForceSimpleClaimsChunkWorldMap": true
i saw a big server turned it off so i was curious

gray mantle
#

Yeah looks like theres an Inventory object you can just throw around at will

upbeat pivot
#

is there a template for a plugin for hytale?

fresh charm
gray mantle
#

me personally I still have no idea how to get to this class though I'm really hoping someone can help me out 😭

#

@solid fox if you figure it out please let me know dawg ts has been on my mind all day

#

its really funny cause the Player class has a PlayerRef but not the other way around (its also tagged deprecated for removal though lmao)

gray mantle
upbeat pivot
#

thanks

proven owl
#

how do I enable pvp?

gray mantle
#

go to Hytale/UserData/Saves/[save name]/universe/worlds/[world name, prolly default]/config.json

#

@proven owl its the key "IsPvpEnabled"

ember violet
#

how can i get me and my friends to join

#

on a world or set up a server

gray mantle
tranquil tendon
# gray mantle me personally I still have no idea how to get to this class though I'm really ho...

To get the player class, you have to get the component because player is a component. So do something like
Player player = commandBuffer.getComponent(reference, Player.getComponentType())
uh if you're working in an event, player reference and command buffer should be available. if not, try using a store to get the component in places in the code where you don't have access to those. I think you can also do playerref.getHolder() to get a class so you can querey for components in the player. sumthn like playerref.getHolder().getComponent(playerref, Player.getComponentType())

dont do this, im silly and wrote something wrong

ember violet
#

says fire wall but we checked those still no

proven owl
gray mantle
tranquil tendon
gray mantle
ember violet
fallen escarp
#

have we already found the best server initialization arguments? or are we still using the default?

subtle compass
#

Good evening everyone! I'm new here!

does anyone know if there is any documentation ...

gray mantle
#

wait what is there something simpler? I'm kinda getting steamrolled by ecs I have no idea how im operating right now- right now I have a simple packet interceptor that I'm just running things from, I intend to make a System later for handling what im adding

#

i'm trying to make something along the lines of those hooks from terraria

strong musk
gray mantle
tough basin
#

finally got loading and saving player data to work 🙏

slim snow
stark blade
#

I decompiled and extracted it as well to lookup the classes lol

signal needle
#

made a WAILA mod! but idk how to share it on here lol

finite charm
#

hey yall this is abit complex of a question but can anyone help me find where the backpack icon in the inventory is referenced, i am trying to make it so you can have multiple different backpacks of different types but am unsure how i can change the interaction for when you click the backpack button in the ui

gray mantle
grave tulip
coral swift
#

Is there anyway to dynamically update a texture in the UI? (Within the gui handler?)

slim snow
fallow citrus
#

somebody has the mcp?

gray mantle
strong musk
#

or just decompile it with vineflower if you dont run one of those ides

lilac abyss
#

is there any mods to add a "resource" world that resets every few days?

slim snow
gray mantle
# grave tulip from what i know, there's no packet sent from the client when a key is pressed, ...
public class PacketListener implements PacketWatcher {
    @Override
    public void accept(PacketHandler packetHandler, Packet packet) {
        if (packet.getId() != 290) {
            return;
        }
        SyncInteractionChains interactionChains = (SyncInteractionChains) packet;
        SyncInteractionChain[] updates = interactionChains.updates;

        for (SyncInteractionChain item : updates) {
            PlayerAuthentication playerAuthentication = packetHandler.getAuth();
            UUID uuid = playerAuthentication.getUuid();
            InteractionType interactionType = item.interactionType;
            if(interactionType == InteractionType.Ability2){
                PlayerRef player = Universe.get().getPlayer(uuid);
                EventTitleUtil.showEventTitleToPlayer(
                    player,
                    Message.raw("Test1"), 
                    Message.raw("Test2"),
                    true
                );
            }
        }
    }
}
livid isle
#

I just started seeing errors on my console after trying to setup votifier mod from a serverlist provider.

slim snow
warm juniper
#

How to create a server local?

lusty topaz
gray mantle
frozen nexus
#

I run a server for friends. We have been trying to play while I manage the server, but it is so buggy. I look forward to the game maturing. Right now the WHO command so I can just see who is on the server shows 3 copies of the same person. And right now I cannot get on the server because it thinks I am already on.

#

Is there a place we can go to look at the known bugs discovered?

gray mantle
slim snow
sinful solstice
#

Please shove my face into a guide or some solid info on how to make a functional block.

For example, I want to create an energy generator, something like IC2.

Do I need to do this with a plugin?

I already have a block, but I need a custom UI for it and I just do not get how this works.

I am completely confused. I have watched like a hundred tutorials and understood nothing.

I want to press F and see a Ul, like a furnace or crafting table, but my own custom one.

Guys, please help. You are my last hope.

I have already spent 10 hours on this and I am losing my mind.

frozen nexus
slim snow
# gray mantle ok mb gng same

Honestly the most annoying thing I've run into so far with Java Is the access modifiers. There's really no way to make a true internal class or field without having a messy package or going through hoops lol

strong musk
slim snow
#

no Internal where only the namespace can access it or in Java language package

#

So when it's used as a lib you can hide certain things form the user

strong musk
#

oh, yeah, I guess private would only apply if you want it on a per file basis

finite charm
#

hey quick question is the internal logic behind the inventory ui like for the helmet and memories and such inside a .ui file or inside the jar or is it something that can be modified in the asset editor?

slim snow
gray mantle
#

protected

gusty socket
#

does anyone know how i can go about making hytaleserver.jar available to a github action so i can build my project on github but not have the file be included in my repo?

slim snow
gray mantle
#

protected allows other classes in the same package to access them

rigid musk
#

is there any "TickEvent" event or something like that in the HytaleServer ?

glass pasture
#

Quick question yall, I've been kind of banging my head against this, how can I make an NPC attack faster? Like, I tried speeding up the anim, tried giving the weapon a low cooldown, I equipped a npc with the Weapon_Assault_Rifle but it still only would attack like once every second. Am I just missing something or is this something that would need an actual custom plugin for or can this be modified in the asset editor?

strong musk
gray mantle
pseudo forum
# sonic narwhal ```Java store.getExternalData().getWorld().execute(()-> { En...

aight i got all stats working. now i have a slight problem... i am using the player data loaded by the PlayerStorage and i'm tring to to clear all effects on the player when they enter a world. I got it to clear the stats i think but the problem is that the on-screen red vignette caused by damage (fire damage in this case) doesnt disappear when I call this on PlayerReadyEvent:

Funnily enough, the red vignette also appears when i first join the game while there is no reference to it in the player data (the EffectController field is empty)

/**
 *  Copy effects from disk data
 * **/
fun PlayerRef.copyEffects(other: Holder<EntityStore?>?) {
    val ref: Ref<EntityStore?>? = reference
    val store = ref?.getStore()
    val world = store?.getExternalData()?.world
    val effects = store?.getComponent(ref, EffectControllerComponent.getComponentType())

    if (store == null || world == null || effects == null) {
        return
    }

    world.execute {
        println("[World-Bound] Clearing effects..")
        effects.clearEffects(ref, store)
        effects.invalidateCache()```
gray mantle
slim snow
rigid musk
gray mantle
slim snow
gray mantle
cloud marsh
#

Are all plugins called "early plugins"? or what is the difference?

gray mantle
#

"entity" in this case doesnt necissarily point to like a creature or projectile

reef grotto
#

is there a good server i can join to play on?

slim snow
gray mantle
grave tulip
slim snow
rigid musk
gray mantle
slim snow
gray mantle
slim snow
lean kelp
gray mantle
#

what? no protected allows access from all other classes in the same package

#

if you want it accessable from another package, make it public, otherwise if you want it only accessable from that class make it private

#

I may just suck at namespaces in C# I am realizing I apologise

slim snow
#

you get this

The declared package "com.bridge.systems" does not match the expected package "com.bridge.core.systems"
gray mantle
fast turtle
#

do i have to manually edit jsons for NPCs or can i use some java to define their AI

torpid loom
#

Im trying to rename my plugin. Im using the template plugin from Kaupenjo.
Usually I'd just say screw it and cntrl F change names in the entire solution. But idk, is that possible still in IntelliJ or is there a better way

gusty socket
gusty socket
lean kelp
#

why lol

gray mantle
#

I just created a shell script that runs the downloader and unzips it, you can have it if u want

gusty socket
#

api changes...?

weak leaf
#

i created an item in the asset editor(a block) and i set two different states on it, each one with a different model and texture.

my question is, can i access these states to change them in the api? to change the model and texture with java?

lean kelp
#

just run hytaleGradle plugin

fast turtle
fast turtle
gusty socket
gusty socket
lean kelp
#

/MrMineO5/HytaleGradlePlugin/

torpid loom
lean kelp
gray mantle
slim snow
tawny pelican
#

How do I create a command that doesn't require OP or permission?

gray mantle
tawny pelican
#

thanks ❤️

gray mantle
torpid loom
gray mantle
#

can anyone explain the command buffer to me?

loud comet
#

could anyone try to help with solutions to this error?:
connection handshake was canceled due to the configured timeout of 00:00:0 seconds elapsing
we have a private server and everyone except 1 can join, he gets this error. he tried a lot of the common fixes for it and it still just doesnt work

patent vapor
#

In the asset editor, i try to add to behavior/gatheting/harvest/drop list and it crashes

dusky sable
#

Does anyone know how to set a player to noclip mode?

robust needle
#

is there a way to add ui in the asset editor?

cerulean merlin
#

Is dropping items while running something prevented from Hytale side? If I tie into the packet can i override it?

ashen sparrow
#

Hello, does anyone have a tutorial for dev and how to properly put the project on iDea?

pseudo forum
coral swift
#
       builder.remove("#Texture");
        builder.appendInline("#LeftPanel", "Group #Texture { Anchor: (Width: 550, Height:733); Background: (TexturePath: \"Placeholder.png\", Border: 0); }");```
even this results in an error texture ;-;
pseudo forum
lean kelp
ashen sparrow
gray mantle
#

does anyone know how to access the CommandBuffer? like is it a property of Universe or what- I'm assuming it gets instantiated somewhere but I can't find it

gusty socket
lean kelp
#

minecraft development plugin?

clear ledge
#

is there any solution to test things with two accounts on a local server ? like pvp things

gusty socket
# lean kelp wym

no the hytale gradle plugin you linked above. the ultradev / hytalegradle url returns 404.

lean kelp
#

it's being printed on the console?

gusty socket
lean kelp
#

oh probably i miss something, let me see

gusty socket
lean kelp
#

do you have something like this
pluginManagement { repositories { gradlePluginPortal() maven("someurlhere") } }
on settings.gradle?

glacial iris
#

they have an official doc or now is really by decompile my self ?

ashen sparrow
#

I'm stuck with the Minecraft development plugin. It's not working. What should I do once it's installed? I don't understand.

lean kelp
#

download the repo, then add it to templates

gusty socket
tranquil tendon
# gray mantle have you figured out the more correct way to do this perchance?

I got the player from an asset store using Player player = store.getComponent(ref, Player.getComponentType()) ECS events are given an asset store to get the player from. u might be able to do thst in context of what where your trying to get the player. that's the only way that I know but idk

edit: sorry I meant entity store

lean kelp
#

uhh let me see the repo

gusty socket
ashen sparrow
lean kelp
steel aurora
#

Anyone knows if i can edit the "Process" bench type, i want to edit the furnace processing to make somethins like an alloy furnace, but i dont know where to see, to create the child logic

tranquil tendon
gray mantle
ashen sparrow
#

Yes, I mean, I just didn't understand what the tutorial meant.

rigid musk
#

guys it's 4:27 AM, I have schol at 9:00 AM and I still haven't solved this issue 🥲

ashen sparrow
#

I understand now

gray mantle
lean kelp
lean kelp
gusty socket
barren garnet
#

so im planning on renting a server from shockbite for hytale but ive never done this kind of thing before how hard is it going to be?

lean kelp
#

uhh wtf is that

#

where does it comes from

gusty socket
gusty socket
lean kelp
#

how do you have it

gusty socket
lean kelp
#

sure

ashen sparrow
rigid musk
#

does someone know why the server kicks me from the server when I try to reset my custom HUD like this ? hudManager.resetHud(playerRef);

gray mantle
#

seriously if anyone knows how to simply add any sort of physics impulse to the player please lmk

rigid musk
#

nobody here have experience with custom HUDs ? 😭 🙏

gray mantle
rigid musk
#

nono I'm not talking about that

lusty topaz
#

Anyone know how to get a player by name/uuid? Almost like Bukkit has Bukkit.getPlayer(name/uuid). I'd assume there is a collection of players that are stored by the server somewhere

stark tulip
warm breach
#

Does "world config pvp true --world (x)" not work when sent from console? i'm going crazy rn lol

gusty socket
tawdry lion
#

Is there any reason that Hytale wouldn't have a SQL Driver implemented in it?

lean kelp
#

because hytale doesnt use it

cinder lily
#

server

gray mantle
rose atlas
#

Does anyone know how to disable creative brush tools?

rigid musk
# stark tulip What would you like to know?

I have a valid .ui file, I'm loading the custom HUD from task (the task is run from the start() method in the main class).
Everything's good, the HUD is rendered.

I have registered a PlayerChatEvent that when the player sends a specific message (not command) the custom HUD has to disappear (for that, the event calls the stopTask method I created, so it will stop rendering the custom HUD and then after that it will reset the
HUD).

But when doing hudManager.resetHud(playerRef); in the stopTask method my client crashes (I get kicked) with the following error in the client log file:

2026-01-19 04:38:33.9995|INFO|HytaleClient.Application.AppGameLoading|Disconnecting with error during stage InGame: Failed to apply CustomUI HUD commands 
2026-01-19 04:38:33.9995|INFO|HytaleClient.Application.AppGameLoading|System.NullReferenceException: Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object.
eager hollow
#

for those wondering about curse approval speeds and such:

Sunday, Monday, Tuesday, Wednesday, Thursday: 3:00 AM - 11:00 AM (Your time)
Friday, Saturday: Some moderation is done, but not as quickly as during the other days.

Projects are moderated First in, First out. If you submit late in the work day, it will likely get left until the next day!

New Projects or anything flagged for manual review: 1-3 Working Days
Updates to approved projects not needing manual approval: 1 Hour
-If your file has been "Under Review" for more than an hour, then it is at manual review!```
gusty socket
gray mantle
#

wait ❤️ is this real

gusty socket
# gray mantle wait ❤️ is this real

yes, the way ECS works is that entities are the "things" and components are data packs that can be added to the things. so to get velocity, you need to get the Velocity component from the entity.

stark tulip
pseudo forum
#

I notice that if you stand in fire and teleport to a different world then the red vignette from burning stays on-screen

rigid musk
#

yes but by resetting the HUD I mean that I want it to be removed from the player screen, not rebuilt

stark tulip
#

Oh, just hide it by setting the root node to Visibility: false.

void flint
#

How r people putting floating custom images into the game?

stark tulip
#

aka commandBuilder.set("#RootNodeId.Visibility", false) then .show/refresh it again

stray pasture
lean kelp
#

i hate ecs

granite ridge
#

very new to making plugins. I want to make it so a block doesnt drop. Any good documentation on plugins with blocks?

stark tulip
cosmic beacon
#

any advice for making the game harder for my server? THis game is pretty easy. Any mods people are using to make it more challenging?

gusty socket
stray pasture
stark tulip
#

loool

bleak creek
#

Im trying to add the slight glowing vfx that wans wonder weapon has on my custom weapon, does anyone know how?

cosmic beacon
stray pasture
cosmic beacon
#

I built my own server a while ago. So I do all my self hosting on Pterodactyl. server hosts are charging too much for rent

rigid musk
stark tulip
gusty socket
stark tulip
#

you'll get it in the .build method

rigid musk
stark tulip
#

so just have a field in your hud that when it rebuilds and "shouldHide" is true, set visibility to nothin'.

rigid musk
#

you know what ? it's almost 5 am, I have school at 9 so I'll go sleep with my tiny 4 hours of sleep and I'll redo the project from scratch

stray pasture
gusty socket
cosmic beacon
stray pasture
rigid musk
stray pasture
stark tulip
#

No I mean the plugin.

rigid musk
cosmic beacon
stark tulip
#

Aka makes your life easier to make UI's and HUD's and accepts UI files, or HTML-like syntax with full CSS selector support.

gusty socket
dry wedge
#

so is it just plugins out and not mods?

gusty socket
runic vapor
#

plugins are mods afaik

rigid musk
dry wedge
#

lmao ffs

#

when we have modded mc and semi vanilla mc with plugins, thats why i asked

stark tulip
#

There's no client mods.

rigid musk
stray pasture
#

Hytale's Entity Component System (ECS) Explained! (Part 1/2)
^ Youtube. Just skimmed it, if yall want to learn what an ECS is and how it works and how to approach it take a look at this.

stark tulip
#

They're all just server plugins/data packs

gusty socket
keen solar
#

is there anyway i can simulate another player to test multiplayer interactions?

stark tulip
dry wedge
#

thank you!

#

any plugins you guys think are good/must have's?

covert sleet
#

has anyone been able to get prefabs on nitrando sever?

rigid musk
stark tulip
#

No probv

weak leaf
#

how would i go about checking to see if a player is standing on a certain block? i guess i could just always check the block under them but that doesnt sound performant at all lol

any way to hook into the asset interaction system with collisions or something? or just a better way lol

late siren
#

how come noone has made a bauble mod yet

stark tulip
#

how come noone has made a fabric mod yet? /s

#

We can say that for anything that isn't made. Go make it :)

late siren
#

sadly i dont have the skills to make such a major mod

digital rampart
stark tulip
#

Yep :)

late siren
digital rampart
#

working on uploading it rn.

late siren
#

does it require the easyplugin folder ?

digital rampart
#

earlyplugins yea

stray pasture
cinder marsh
#

wait how do i get a free hytale acc ?

stark tulip
#

... you don't?

cinder marsh
#

like a code or smth ?

high bane
#

You get the account for free when you buy the game!

late siren
#

try to get a j*b

cinder marsh
#

wher does it come

cinder marsh
high bane
runic vapor
high bane
quasi prairie
#

if i want to override a function from one of the systems or components in the server jar, how would i mod that in since extending the class would only create a child class

cinder marsh
halcyon kernel
high bane
late siren
cinder marsh
stark tulip
high bane
quasi prairie
heavy stag
#

Anyone figured out if we can move a player from one server to another via plugin/code? Or is that not possible? I'm trying to implement a queue system

cinder marsh
high bane
cinder marsh
high bane
cinder marsh
halcyon kernel
# cinder marsh hm ye like wht ? online .. i need it to be online im too scared to touch grass

then thats a you problem idk what you can or cant do but i doubt anyone will just dish you out a free copy of the game with nothing in return. and if youre 17 and not allowed to play hytale then you may or may not want to talk with your parents. or ask your parents if you can do some work for them for 20$ and if that is also not an option then i dont think anyone can help you aside you using your brain and figuring it out as hard as it sounds

heavy stag
#

Are they still asking for free copies?

high bane
#

yes

cinder marsh
heavy stag
#

Bro it's so pathetic

cinder marsh
#

r ther fps boosting mods or no ?

high bane
#

Don't need 'em

halcyon kernel
heavy stag
cinder marsh
heavy stag
#

Imma ask my question again but, Anyone figured out if we can move a player from one server to another via plugin/code? Or is that not possible? I'm trying to implement a queue system

cinder marsh
late siren
cinder marsh
#

no i use sodium adn all for mc so i m ok

foggy fossil
#

Do you know the command to maintain inventory?

halcyon kernel
heavy stag
frank sundial
halcyon kernel
# heavy stag *Sigh*

or if its even possible i am guessing you mean something like minecraft multiverse?

heavy stag
heavy stag
heavy stag
frank sundial
still field
#

is there a guide to getting started with Hytale plugins? I tried to follow Getting Started with Plugins on Curseforge
but I get an error when connecting to the local server:(Server requires development mode which is not supported in this build)
any ideas? more up to date guide?

halcyon kernel
high bane
#

Should honestly just be a question of putting the files in the mods/ folder

still field
#

I mean authoring my own plugins

halcyon kernel
high bane
#

oh nice we're blocking the most popular modding docs website here. brilliant.

still field
#

I cant post links or I would share the guide I tried to follow, it must be out of date, the local server is running inside intelliJ and it sees me try to connect but refuses, I wonder if this guide broke with the new update?

halcyon kernel
high bane
#

Ah yeah ok I guess that makes sense

fleet zinc
#

What community docs have you guys been using?

high bane
#

Just google "hytalemodding" you'll find it