#server-plugins-read-only

1 messages ยท Page 83 of 1

civic zephyr
#

One second

viral geode
#

wdym?

fresh charm
#

Oof, the simplest way to do that I can come up with is to send a different data to clients for blocks in specific regions

But I'm not that deep into the Hytale rabbit hole yet

civic zephyr
#
itemStack.getItem().getTool()
fresh charm
#

There are a few mods on Curseforge you can take a look at. Some even are opensource

hidden rain
#

Anyone managed to do something like per-world-plugins

tulip valley
#

I looked through a lot of messages because I got the same error. The solutiuon by @vague breach worked for me. I just needed to remove the "--auth-mode=insecure" in the Server start arguments

fresh charm
# viral geode wdym?

I'm adding new arrows to the game with effects (i.e. tipped arrows from Minecraft)

And so far I've managed to finds ways around the code to not need any mixins. But the further I go - the more it seems I'll need them at some point

random briar
#

hi i managed to cancel player harvest berries wanted to cancel pick up such as rubble, flowers etc. but it keeps doing the event even i set it to cancel what am i missing?

icy veldt
wanton ocean
#

there is literally an allies system

viral geode
civic zephyr
#

If you think the "damageScale" is just the damage it isn't, its a multiplier for the given ItemTool

elder musk
willow hearth
#

what do you mean b small stuff

wanton ocean
#

in the party screen

rugged halo
#

why is adding custom UI stuff such a pain

rigid tendon
#

What do I put after Codec. ?


    public static final BuilderCodec<AccessoriesComponent> CODEC =
            BuilderCodec.builder(AccessoriesComponent.class, AccessoriesComponent::new)
                    .append(
                            new KeyedCodec<>("Accessories", Codec.),
                            (obj, val) -> obj.accessories = val,
                            (obj) -> obj.accessories
                    )
                    .build();```
elder musk
civic zephyr
storm python
#

How do i fix "The given key [Key] was not present in the dictionary" when loading a certain mod ?

fresh charm
rugged halo
rigid tendon
civic zephyr
rugged halo
#

i'll look into it

wintry dawn
civic zephyr
fresh charm
tame canyon
#

I have a question, are mods the same as plugins? Are they only server sided or both? Can players steal my plugin somehow?

tribal bronze
#

If I teleport a player to another world, how can I get the new PlayerRef?

rugged halo
wintry dawn
elder musk
fierce citrus
#

What is so far best template for java plugin with mod assets copying from server upon closing? I don't recall and I'm not sure I can find it online yet

civic zephyr
random briar
#

how are people even getting answeres from here

minor bobcat
#

Anyone know how to create a custom pop-up UI with some form of code and activator? Is there a Template? I have some things I'd like to create to begin working on my own projects, but they sorta depend on having a custom UI..

And so far my hacky ways of getting around not having a specific UI for executing code isnt working out too well :)
Running into the funny "interaction" of "Pickup" crashing the server if an item is dropped.

fierce citrus
rigid tendon
#

Now .build(); throws an error,


    public static final BuilderCodec<AccessoriesComponent> CODEC =
            BuilderCodec.builder(AccessoriesComponent.class, AccessoriesComponent::new)
                    .append(
                            new KeyedCodec<>("Accessories", ItemContainer.CODEC),
                            (obj, val) -> obj.accessories = val,
                            (obj) -> obj.accessories
                    )
                    .build();```
tame canyon
#

I have a question, are mods the same as plugins? Are they only server sided or both? Can players steal my plugin somehow?

rugged halo
#

no, they execute serverside

elder musk
tame canyon
fresh charm
rugged halo
random briar
lucid spire
#

you cant make client side mods

rigid tendon
civic zephyr
rugged halo
#

you can, to an extent

#

but you can't mod the client

tame canyon
nimble trench
#

Does anyone know if there is an opacity style paramater for .ui documents

lucid spire
#

not oficially suported anyway

rugged halo
#

think of it as garry's mod, basically

nimble trench
#

oh hello swipez lmfao

rugged halo
#

it's the same as resource packs in minecraft, you're not downloading the plugins when you connect to a server :p

fresh charm
# rugged halo yes, I saw that, I'm not exactly familiar with how to turn that into a maven dep...
<project>
    <!-- ... other configuration ... -->
    
    <repositories>
        <repository>
            <id>cursemaven</id>
            <url>https[:]//www[.]cursemaven[.]com</url>
        </repository>
    </repositories>
    
    <dependencies>
        <dependency>
            <groupId>curse.maven</groupId>
            <artifactId>hyui-1431415</artifactId>
            <version>7479623</version>
        </dependency>
    </dependencies>
</project>

I'm not a Maven pro myself, but seems like it

Remove the [ ] around the dots, they are to avoid spam filter

rugged halo
#

i'll consider it if i decide to use this, thanks

dawn orchid
#

when i join the world i made i keep getting this "Failed to apply CustomUI HUD commands" any1 knows how to fix this?

rugged halo
#

currently just getting slammed with "Failed to load customUI documents" over and over

sinful shoal
#

[HandshakeHandler] Server session token not available - cannot request auth grant -----help pls

rugged halo
bleak finch
#

Hey, does anyone has any idea why i get a nullpointer exception when registering my custom RefSystem?

    public static class EnergyBlockEntitySystem extends RefSystem<EntityStore> {        
        ...

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

In my Plugin setup:

this.getEntityStoreRegistry().registerSystem(new EnergyBlockModule.EnergyBlockEntitySystem());

Thanks! ๐Ÿ™‚

hollow aspen
#

[2026/01/18 12:25:37 INFO] [CommandManager] JaXnPriVate executed command: bedwars create basic
[2026/01/18 12:25:37 INFO] [Hytale] Loaded World Lobby-852f9005-eb06-407e-9ac8-ccb2ddcdb6e1
[2026/01/18 12:25:37 INFO] [Hytale] Copied World Lobby
[2026/01/18 12:25:37 INFO] [World|Lobby-852f9005-eb06-407e-9ac8-ccb2ddcdb6e1] Loading world 'Lobby-852f9005-eb06-407e-9ac8-ccb2ddcdb6e1' with generator type: 'VoidWorldGenProvider{environment='null'}' and chunk storage: 'DefaultChunkStorageProvider{DEFAULT=IndexedStorageChunkStorageProvider{}}'...
[2026/01/18 12:25:37 INFO] [World|Lobby-852f9005-eb06-407e-9ac8-ccb2ddcdb6e1] Added world 'Lobby-852f9005-eb06-407e-9ac8-ccb2ddcdb6e1' - Seed: 1768734370892, GameTime: 0001-01-02T20:03:29.028424887Z
[2026/01/18 12:25:37 INFO] [Universe|P] Removing world exceptionally: Lobby-852f9005-eb06-407e-9ac8-ccb2ddcdb6e1
[2026/01/18 12:25:37 INFO] [World|Lobby-852f9005-eb06-407e-9ac8-ccb2ddcdb6e1] Removing individual world: Lobby-852f9005-eb06-407e-9ac8-ccb2ddcdb6e1
[2026/01/18 12:25:37 INFO] [Hytale] Loaded World Bedwars-852f9005-eb06-407e-9ac8-ccb2ddcdb6e1
[2026/01/18 12:25:37 INFO] [Hytale] Copied World Bedwars

sinful shoal
#

ubuntu server noy click url

hollow aspen
#

Any Idea why the Server directly disloads the map?

dawn orchid
#

maybe its from a mod i need to disable or smth

rugged halo
fresh charm
rugged halo
#

if it's not a mod you made, then you'll have to troubleshoot by disabling mods until it goes away

civic zephyr
bleak finch
#

Yes

sinful shoal
clever raft
fresh charm
bleak finch
# civic zephyr You want to attach data to a block?

To be precise, i want to get the entity of a block to save it in an EnergyNetwork structure to lookup which block entities with a EnergyComponent are part of a specific energy network. But first i need to get a basic query to work ๐Ÿ™ƒ

#

Additionally, i want to add custom data via the asset editor and retrieve it in code, but i have not yet found out how to do this :/

civic zephyr
fierce sundial
#

anyone knows what version is best to use maven or gradle?

primal hedge
fresh charm
bleak finch
civic zephyr
magic orbit
#

How to make it so infinite portals can be placed? (teleporters)

fierce sundial
nimble trench
civic zephyr
fresh charm
civic zephyr
#

Because many individual blocks are the same, you'd just have to manage the system yourself

opal parrot
wintry dawn
bleak finch
ornate raven
#

whats the parameter for --gen for voidmaps

civic zephyr
civic zephyr
#

If they're just cables the cables themselves probably shouldn't have any data (Would be wasteful to store that in the chunkstore) and you should just have a function to traverse the line of blocks till you hit a blocktype that you know would have the component then fetch it

wide dove
#

hi

lapis ravine
#

How can give players items when a match starts? Does anybody have the event to give items to player inventory ?

dense quarry
#

Hey folks, we're testing mod for optimizing performance of server. We need some players for testing it out, if you have some spare time and can join server and run around for 3 minutes so we can take profiler snapshot that'd help us.

Short term seeing 20% improvement in entity ticking system, but looking for more.

If anyone wants to help with testing, please join hyworld.pl. Eventually the mod will be released publicaly once ready!
Mod's author is @mystic snow ๐Ÿ™‚

civic zephyr
#

You could be smart about it and store information about the system in the chunkstore

bleak finch
civic zephyr
bleak finch
#

What if i have a network that streches over multiple chunks, i then have a cutoff

civic zephyr
eager tusk
#

hey, i search the server.jar to host my own server on my vps server

civic zephyr
fresh charm
bleak finch
#

Ah, so i get the (for example) energy network component of a chunkstore in a tick system, then i check the surrounding chunk stores if the network is also present in them and then process the component? Can i have one component (same instance) in multiple chunk stores?

lone burrow
#

Universe.get().removeWorld(testWorld); do not delete the world in : AppData\Roaming\Hytale\UserData\Saves\TestPlugins\universe\worlds ?? ๐Ÿ™

civic zephyr
#

Well, it wouldn't serialize properly actually so no

#

You would have to check for the component adds and merge the components nearby back when deserialized

bleak finch
#

ah because the serialization is always per component per chunk store

civic zephyr
#

Yeah but at runtime you can have them reference the same component

#

Just when it serializes it has no idea the relation so it just makes them into different ones

bleak finch
#

Yes of course, will have to do some fetching first

prime bronze
#

โ€œHi, I would like to try to create a mod with just one block. Do you have a tutorial video for the basics?โ€ โ€œTo put it on my multiplayer server.โ€

dry shuttle
#

How to handle keys press??

fresh charm
bleak finch
#

Nice thank you! Second question: In my case, do you know how to add custom block type data that i can modify in the asset editor and then read in the plugin? For example: IsCable, CanStoreEnergy, ...

#

I have only found the BlockType class but that was not very helpful as it is not extendable is i have seen

fresh charm
prime bronze
#

โ€œBecause the tutorials Iโ€™m watching show how to modify my gameโ€™s assets, but I want a mod in its own folder so I can share it.โ€

civic zephyr
versed mirage
#

Hi ! Do you have any jump server please ?

ornate raven
#

jump server?

versed mirage
#

server with jump

empty wyvern
#

How to cancel player move event in code

lucid spire
#

how do you get an item name in the correct language for the player?

ionic furnace
#

How can I detecte when player has shot an arrow using a bow?

bleak finch
# civic zephyr A state? You can make new states

Is it a state? I mean something like BlockType.IsDoor or BlockType.DamageToEntities. But of course my custom data. I want to be able to modify the data in the blocks json. I dont want to hardcode block ids in my plugin or put in configs.

civic zephyr
#

ItemContainers are Blockstates (As an example), you can check BlockStateModule, it registers the "container" state

#

Theres a whole ItemContainer in there

bleak finch
#

oh my god

bleak finch
wintry dawn
stoic wolf
#

Hi, do you know if there is some plugins already available on the market ?

civic zephyr
wintry dawn
bleak finch
civic zephyr
steep thicket
wintry dawn
civic zephyr
#

One second, there should be one

wintry dawn
wintry dawn
robust wadi
#

is the event for player interaction working?

steep thicket
worldly talon
#

Ahhhh can anyone help me with the UI system ?

robust wadi
hybrid sentinel
#

Why InteractivelyPickupItemEvent by canceling it drops item at player and not actually canceling the interaction ๐Ÿ˜ญ

civic zephyr
ionic tinsel
#

Guys, how to you manage to use the vein miner mods? I;ve installed both of the most dowloanded ones and both are crahsing the gami, the world would not even start

civic zephyr
#

Nevermind

wintry dawn
#

what even is the matchTool bool for

languid stone
#

anybody figured out a way to retrieve PlayerRef without the deprecated method?

steep thicket
wintry dawn
ionic tinsel
#

When I open the world, the server fails to boot..

languid stone
civic zephyr
radiant river
#

Hey guys, when i call inventory methods from inside world.execute() they update the inventory, but not the GUI. How do i refresh the GUI?

bleak lynx
#

do u guys know what class is used to create a custom ui that is allways on the right side of the screen

languid stone
#

#getReference returns Ref<EntityStore>

hybrid sentinel
wintry dawn
wide basalt
empty wyvern
subtle sage
wide basalt
wintry dawn
empty wyvern
slate solar
#

hi which file should i copy and paste into my server so i can play the world i created on day 1?

empty wyvern
civic zephyr
dusty olive
#

Hi everyone, sorry for bothering you, I'm trying to register a PlayerMouseButtonEvent, but it doesn't seem to be firing. I tried using PlayerReadyEvent and it actually works as expected. Any idea why this is happening?

subtle sage
#

anyone knows how to get from Ref<EntityStore> to PlayerRef without store?

vivid silo
#

How do I trigger an event to modify a entity when the player interacts with it?

wintry dawn
radiant river
sturdy linden
#

has anyone else built a functioning minigame yet?

indigo lava
#

Has anyone figured out how to run the server in insecure mode without authentication?

subtle sage
#
Ref<EntityStore> ref = ctx.senderAsPlayerRef();
Store<EntityStore> store = ref.getStore();
PlayerRef playerRef = store.getComponent(ref, PlayerRef.getComponentType());

like no way this is the correct thing to do. most tilting is the senderAsPlayerRef not returning a playerref

fallow raven
#

lol guys use ai to script ur server xd

civic zephyr
sturdy linden
civic zephyr
fallow raven
sturdy linden
tidal sandal
orchid drum
granite chasm
#

is there any way to disable hytales built in world backups?

tidal sandal
#

If you need to start somewhere, w3schools, codeacademy, the community docs that are coming out for hytale

fallow raven
#

if it works it works ๐Ÿ™‚

icy glade
radiant river
tired vine
#

help. how do i disconnect or kick a player from the server. im only able to disconnect all players

sturdy linden
tidal sandal
warm escarp
sturdy linden
warm escarp
tired vine
tidal sandal
warm escarp
fallow raven
warm escarp
tidal sandal
fallow raven
warm escarp
#

but when u use api's that the ai doesnt know it doesn't get far

tidal sandal
icy glade
vivid silo
sturdy linden
icy glade
#

lol okay then

fallow raven
#

lol

icy glade
#

i donโ€™t. thatโ€™s a skill issue

#

skill. issue. lol

fallow raven
#

kinda

fleet gulch
# icy glade skill. issue. lol
.agent
โ”œโ”€โ”€ skills
โ”‚   โ”œโ”€โ”€ diagnose_crash
โ”‚   โ”œโ”€โ”€ document_learnings
โ”‚   โ”œโ”€โ”€ incorporate_mod
โ”‚   โ”œโ”€โ”€ port_mod
โ”‚   โ”œโ”€โ”€ reset_universe
โ”‚   โ”œโ”€โ”€ resolve_startup_crash
โ”‚   โ”œโ”€โ”€ scaffold_plugin
โ”‚   โ””โ”€โ”€ upgrade_java_runtime
robust wadi
#

what's the alternative to the deprecated PlayerInteractEvent?

gritty current
#

If anyone needs a Protection Stone style region system plugin, the link to it can be found in my profile!

tidal sandal
tidal sandal
fleet gulch
formal dome
#

I get exactly the same code through this tool, why can't I decompile correctly?

icy glade
brazen ether
#

You guess? Or you do? Any experience at all and it's like riding a bike

spare geode
icy glade
#

anyway bye. yโ€™all have AI derangement syndrome. become a better programmer first and you wonโ€™t be worried about it โ€œdoing your work for youโ€

tidal sandal
civic zephyr
tidal sandal
formal dome
marble cargo
#

hey can any help me by a keepinventory plugin?

civic zephyr
toxic sedge
civic zephyr
fluid talon
humble sparrow
marble cargo
humble sparrow
toxic sedge
#

skill issue rofl

icy glade
celest veldt
#

Players keep getting disconnected (a lot) from our server when farming wood or dirt. Anyone else with this issue? Have you found a temporary fix?

thorny igloo
#

Is there a server owner here who can maybe help me? I have the problem that on my server, as soon as someone puts a tool or armor with 0 durability into a chest, the game crashes for that player. If someone else then opens the chest, their game also crashes. The chest then has to be destroyed without anyone looking at it so that players can join the server again, because as soon as you look at it, the game crashes immediately and you can no longer connect afterwards, since when you spawn you automatically look at the chest.

ornate raven
#

did Player.getPlayerRef() get removed from hytale api?

formal dome
humble sparrow
icy glade
humble sparrow
#

we're having to do front and back from scratch

toxic sedge
civic zephyr
opal parrot
#

you have never been dev in a compagny it's allready the case , you are paid for fix mistake of other devs

civic zephyr
#

Ive only been looking at my decomp to look at what stuff does

humble sparrow
royal sierra
#

Is this chat also for discussing server configuration?

civic zephyr
bleak finch
humble sparrow
#

files that would reveal some good stuff

main lynx
#

Quick one - I understand ECS but I'm not understanding how it works in Hytale; I'm struggling to get hold of the store's I need in various context windows - how would I go about getting the Store for the Player from an AddPlayerToWorldEvent? I've done this:

var holder = event.getHolder();
var player = holder.getComponent(Player.getComponentType());
assert player != null;
var playerRef = player.getReference();
assert playerRef != null;
var playerStore = playerRef.getStore();

But I'm getting Cannot invoke "com.hypixel.hytale.component.Ref.getStore()" because "playerRef" is null

Anyone able to point me in the right direction, please? ๐Ÿ™‚

celest veldt
humble sparrow
opal parrot
#

at then end still the same job

wintry dawn
royal sierra
sturdy linden
#

whats the best doc atm? need to improve my code base

civic zephyr
rotund willow
#

Anyone know how to get the highest block of a given coordinate in a chunk?
I'm trying:

short height = chunk.getHeight(localX, localZ);

where chunk is a WorldChunk

civic zephyr
toxic sedge
celest veldt
#

they just keep using this chat for general chat lol

formal dome
humble sparrow
#

yesterday i spent all day trying to catch a item spawn when breaking a block
and couldnt get it to work

sturdy linden
humble sparrow
#

but its only for when a player drops an item

royal sierra
#

I set up a server and opened the IP route on playit.gg, but some players are disconnecting frequently. Does anyone know what might be happening?

opal parrot
celest veldt
lapis ravine
#

How can I get players to always enter from a specific spawn point instead of their last location?

royal sierra
#

they keep disconnecting

humble sparrow
celest veldt
hollow oxide
#

How may I teleport the player to coordinates and set the "rotation of the head" (optional?), I mean like in Minecraft ?

junior anvil
#

Would anybody be interested in a plugin that will allow your app to connect to a website and get live updates from the game server etc player count, live chat, server usage and the rest? im using it for my server rn but might make it into a plugin

humble sparrow
#

bro, with AI ppl made a bunch of plugins already

opal parrot
junior anvil
#

where? ๐Ÿ˜›

thorn epoch
#

Is there a list of plugins made/available?

humble sparrow
civic zephyr
celest veldt
# royal sierra Great, I'll look into that.

btw, if you're using teleport plugins, make sure they're updated to be compatible with the latest game version. With the latest game update, they've changed some things on the teleportation system and the plugins might be broken.

tidal sandal
junior anvil
#

you mean the nitrado:web-server its an api and requires you to login, its quite limited ๐Ÿ˜›

tidal sandal
civic zephyr
#

It says itemid but I think it means what ID it has on items or something

wintry dawn
civic zephyr
#

Make sure match is false

#

Thats whats working, its doing durability when the block breaks

royal sierra
tribal bronze
#

Is it possible to change the GamplayConfig of an Instance via code?

sour solstice
#

@tough basin

lofty warren
#

Hello, im new here! How can I get started on learning the API?

cyan gazelle
#

how to add new button after backpack button? in inventory

languid stone
celest veldt
pulsar turret
#

One of the Crafty team here,

Give us a few, We're working on it ๐Ÿ™‚

main lynx
#

Quick one - I understand ECS but I'm not understanding how it works in Hytale; I'm struggling to get hold of the store's I need in various context windows - how would I go about getting the Store for the Player from an AddPlayerToWorldEvent? I've done this:

var holder = event.getHolder();
var player = holder.getComponent(Player.getComponentType());
assert player != null;
var playerRef = player.getReference();
assert playerRef != null;
var playerStore = playerRef.getStore();

But I'm getting Cannot invoke "com.hypixel.hytale.component.Ref.getStore()" because "playerRef" is null

Anyone able to point me in the right direction, please? ๐Ÿ™‚

narrow dune
#

But isnt that only for externaly hosted servers througt Nitrado and such? Didn't see anything for self hosted.

fierce sundial
#

hey, is anyone able to help me and my friend trying to get a starting setup? im having trouble the moment i edit the plugin template

wintry dawn
finite apex
civic zephyr
narrow rune
#

Hey any server owners have an issue when trying to update hytaleserver.jar to new version it doesnt recognize their default world and cannot start unless they delete it.

obsidian shell
#

is it public?

thorn epoch
pulsar turret
wintry dawn
fierce sundial
# fresh charm What kind of trouble?

hi, whenever i do runServer there is a lot of problems here:
22 errors

  • Try:

Check your code and dependencies to fix the compilation error(s)
Run with --scan to generate a Build Scan (powered by Develocity).

echo trail
fierce sundial
#

i feel like im missing a step

civic zephyr
verbal lichen
#

Hi, i'm in trouble to get the default server.lang file from ressources as i want to change the /spawn command message

fringe tide
warped pelican
#

Lf an scripter for a really cool open world Solo Leveling Project

narrow dune
#

Ahh ty. But is there anything similar for self hosted game servers?

civic zephyr
junior anvil
#

The prblem is Creation of Service Accounts through the Web UI
[[ TODO ]]
which isn't yet implemented therefore if I have a web app and want to use the api without exposing data or allowing players to see it, you can't. I have build a websocket rather than an api for actual live updates :P, chat filtering and monitoring etc ๐Ÿ˜›

main lynx
dry shuttle
#

What Path do in AssetMap.getKeys(..)?

civic zephyr
timber gazelle
#

Hey which Durability mod works?

fierce sundial
fringe tide
civic zephyr
civic zephyr
bold rapids
#

Where is the doc?

narrow dune
#

Omg now i get it, im so sry. Not my day. Misunderstood the plugins purpose

civic zephyr
#

"Events in ECS" globally are bad? That doesn't make any sense

fresh charm
narrow rune
pulsar turret
wintry dawn
viral geode
#

How do I solve it? imgur com/a/Oj2f2RZ

civic zephyr
cyan gazelle
#

Guys, how to in inventory add new button after backpack button?

civic zephyr
#

There is "naturallyRemoveBlock" or whatever that does drop immediately

fresh charm
dry shuttle
#

What Path do in AssetMap.getKeys(..)?

fringe tide
dry shuttle
chrome sigil
#

is there any plugin or settings to make your selfhosted server more stable to people far away.
i have a friend who usually plays on my server with about 200ms
on my hytale server for some reason its between 500-11000ms.

my friends who live nearby dont have this issue.

dawn fjord
#

Who knows which files control ore generation settings, such as spawn height and biome restrictions?

fierce sundial
#

anyone knows if there is already a plugin to make the player join a Queue?

civic zephyr
chrome sigil
#

is there a reason hytale is so much more unstable than minecraft and valheim?

cyan gazelle
#

hytale have "HytaleServer.jar" in maven repository?

copper summit
#

How do you get the postition of the playerRef

Vector3d spawn = (t != null) ? t.getPosition() : new Vector3d(0, 100, 0);
islandSpawns.put(playerRef.getUuid(), spawn);
saveSpawns();```
ashen otter
#

Hey everyone. Is there any way to get the player looking angle?

high surge
tough basin
high surge
#

^

copper summit
#

how does one get the player ref positions from the ecs
store.getComponent(ref, );

wintry dawn
copper summit
#

ty

high surge
#

Btw, anyone know what the moon phase ints match up to ingame? Im trying to make them sync to IRL but idk what the ints given are meant to be

timber gazelle
#

Hey which Durability mod works? any tips?

civic zephyr
#

It depends on the block and the item

keen star
#

pass some numbers and see what happens

marble cargo
#

Have any this red message by using teleporters? Caused by: java.lang.IllegalStateException: Store is currently processing! Ensure you aren't calling a store method from a system.

outer cairn
#

Quick question, I have a .ui file with a TextField element where the user is supposed to input a text. Then I have a seperate button to confirm the input. In my InteractiveCustomUIPage I would like to have the user input handled in the data event handler. How would I get the information in there?

high surge
wintry dawn
wintry dawn
copper summit
keen star
civic zephyr
copper summit
#

oh duh

high surge
wintry dawn
civic zephyr
#

Wym with the pickaxe?

high surge
#

Btw, this is a part of Real Time Sync, which syncs world time to real life

Wanted to add moon phase updating too

deft light
#

Hi , im cancelling dropitemstack packet , but when i hold drop key , it stil removing item from hotbar , anyone know fix for it ?

bleak lynx
#

guys i updated the server but the patch changes are not in , its becouse servers will be updated latter?

wintry dawn
# civic zephyr Wym with the pickaxe?

well in this case I use a pickaxe and break one block, others around should break and also reflect durability loss, but only the one I directly break causes 1 durability loss

dry shuttle
#

How to get all items in the game and get them by index?

civic zephyr
#

Multiblock breaks in one tick might actually queue separate durability changes or something

wintry dawn
#

maybe this pickaxe is not enough?

civic zephyr
dusk musk
#

Guys, where can I find out how to create mods for the hytale documentation? Please send me a link, and has the official hytale api been released?

torpid kiln
#

where do you change item loss settings?

bleak lynx
#

yeah i have a dedicated server, i updated with the server downloader

lethal imp
#

How do I set a texture as an icon for my items?
I've tried to set the path in my "item_name.item.json"

"Icon": {"Texture": "MyPath-ToIcoFile"}

Is this wrong?

bleak lynx
#

exactly, just redownloading the files

surreal karma
#

How to hot reload server mods with new assets, new commands, etc.

civic zephyr
main lynx
#

@civic zephyr I've taken the advice and added a system that extends RefSystem<EntityStore> but when I do entityStore.replaceComponent(...) I get an java.lang.IllegalStateException: Store is currently processing! Ensure you aren't calling a store method from a system. -- which makes sense but, how else do I do it ๐Ÿ˜†

civic zephyr
#

Its some kind of queue for the changes

narrow vapor
#

Does anyone know how I can only show my customHud when the player holds my specific mod item? (or a mod that does this so I can look it upo in there)

civic zephyr
wintry dawn
main lynx
wintry dawn
#

new bug found

glass ingot
#

Woot my first curseforge mod got approved :D. Professions and Perks if anyone is curious. Leveling system for combat, mining, logging, gathering, building.

civic zephyr
cyan gazelle
#

how to add new button after backpack button in inventory?

lone burrow
#

Universe.get().removeWorld(testWorld); do not delete the world in : AppData\Roaming\Hytale\UserData\Saves\TestPlugins\universe\worlds ?? ๐Ÿ™

civic zephyr
low pecan
#

Does anyone know when the game will be fully released?

copper fable
#

Does anyone know how to modify the charge time for weapons like staffs?

wintry dawn
lean kelp
#

when they release it lol

low pecan
#

Does anyone know when the game will be fully released?

lean kelp
civic zephyr
#

You just sent that

keen star
lone burrow
#

Ah ๐Ÿ™ I would like to create an instance like the forgotten temple, I saw its deleted from the disk when you leave it

civic zephyr
pale pivot
#

Hi, new here. How can i join a server with lots of people? I've played solo the past few days, want to try doing online multiplayers

oak dome
#

what is the unique identifier property of a hytale player?

tribal briar
#

is it possible to create a matchmaking plugin? when matchmaking is complete players get teleported to a the arena

lean kelp
wintry dawn
civic zephyr
humble sparrow
civic zephyr
pale pivot
#

Can any of you recommend me any discord with people sharing ip to play multiplayers?

civic zephyr
#

Or you just set it after and don't modify it the same

wintry dawn
tribal briar
#

should the arena be created on the spawn world instance or am i able to generate a new world instance?

pale pivot
lean kelp
#

some people have all their arenas on the same world it doesnt create, it exist and just waits for the system

jolly relic
#

Hello! Did you already find a solution? Will be helpful for me, I'm also getting error when trying to use a custom ui!

marble cargo
tribal briar
#

i want to build a hunger games like gamemode, players spawn into one of our build maps but idk if i should build those maps on the spawn world or generate new world instances and have 1 world instance for 1 map

tribal lichen
#

would anyone like to join my world and play with me and explore and grind for fun must vc im chill please be chill 13+

civic zephyr
lean kelp
#

just keep it as world then use it later

opal parrot
lean kelp
#

and place schems

#

dont build until you know advanced world managers

tribal briar
#

yea i know hahaa i'm not actually gonna build it manually

jolly relic
lean kelp
tribal briar
#

so i would have lets say 3 maps all on 1 world?

lean kelp
#

yes

rigid musk
#

Hello guys I'm testing connections with QUIC but there is something that has no sense for me.

In order to create a QUIC server, you must have a key and a cert for SSL, it's mandatory.

But if that is the case, how does the HytaleServer.jar generate the key and cert automatically ? Gemini says that the standard is to use Let's Encrypt (which requires a domain name) but I never had to generate a key/cert.

And by the way, I was able to connect to my friend's Hytale server (connected to the Internet of course) using the IP address and had no issue...

(Yes I could read the HytaleServer.jar code but I want to know if someone has the answer)

lean kelp
#

if you are advanced maybe you can create something like Slime World Manager from hypixel

wintry dawn
civic zephyr
fierce sundial
#

is anyone able to help me setup the intellij i think im missing a step for my code to work. i'm getting a lot of errors

strong musk
swift moth
# jolly relic Hello! Did you already find a solution? Will be helpful for me, I'm also getting...

Hi, yes i did. You need a Supplier for the page and register the supplier in the codec.

package org.example.plugin;

import com.hypixel.hytale.codec.builder.BuilderCodec;
import com.hypixel.hytale.component.ComponentAccessor;
import com.hypixel.hytale.component.Ref;
import com.hypixel.hytale.server.core.entity.InteractionContext;
import com.hypixel.hytale.server.core.entity.entities.player.pages.CustomUIPage;
import com.hypixel.hytale.server.core.modules.interaction.interaction.config.server.OpenCustomUIInteraction;
import com.hypixel.hytale.server.core.universe.PlayerRef;
import com.hypixel.hytale.server.core.universe.world.storage.EntityStore;

import javax.annotation.Nonnull;

public class EffectDisplayPageSupplier implements OpenCustomUIInteraction.CustomPageSupplier {
    public static final BuilderCodec<EffectDisplayPageSupplier> CODEC = 
        BuilderCodec.builder(EffectDisplayPageSupplier.class, EffectDisplayPageSupplier::new).build();

    @Override
    @Nonnull
    public CustomUIPage tryCreate(
            @Nonnull Ref<EntityStore> ref,
            @Nonnull ComponentAccessor<EntityStore> componentAccessor,
            @Nonnull PlayerRef playerRef,
            @Nonnull InteractionContext context) {
        return new EffectDisplayPage(playerRef);
    }
}
public class ExamplePlugin extends JavaPlugin {


    public ExamplePlugin(@Nonnull JavaPluginInit init) {
        super(init);
    }

    @Override
    protected void setup() {
        this.getCodecRegistry(OpenCustomUIInteraction.PAGE_CODEC).register("EffectDisplay", EffectDisplayPageSupplier.class, EffectDisplayPageSupplier.CODEC);
    }
}
civic zephyr
rigid musk
stark parcel
#

Is there a way to store a variable on a player ?

civic zephyr
#

So you have to make the method not call the durability update func

fierce sundial
#

is anyone able to help me setup the intellij i think im missing a step for my code to work. i'm getting a lot of errors

willow acorn
#

whats the equivalent of display entities if I want to programmatically duplicate a blockbench model element

wintry dawn
civic zephyr
strong musk
civic zephyr
rigid musk
rigid musk
#

fine, thanks for the info ๐Ÿ‘

strong musk
rigid musk
#

so it's the client who generates the cert ? ๐Ÿค”

strong musk
#

no, both generate their own certs

rigid musk
#

oh

delicate cobalt
#

how do i get a player and its message from chat event

dusty olive
#
public class FirstPlugin extends JavaPlugin {

    private static FirstPlugin instance;
    private ComponentType<EntityStore, PlayerComponent> playerComponentType;
    public static final HytaleLogger LOGGER = HytaleLogger.forEnclosingClass();

    public FirstPlugin(@NonNullDecl JavaPluginInit init) {
        super(init);
        instance = this;
    }

    @Override
    protected void setup() {
        // Initialize everything
        this.getCommandRegistry().registerCommand(new FirstCommand());
        this.getEventRegistry().registerGlobal(PlayerMouseButtonEvent.class, PlayerEvents::onPlayerMouseButtonPress);
        this.playerComponentType = this.getEntityStoreRegistry().registerComponent(PlayerComponent.class, PlayerComponent::new);

        FirstPlugin.LOGGER.atInfo().log("Setup complete");
    }

    public ComponentType<EntityStore, PlayerComponent> getPlayerComponentType() {
        return playerComponentType;
    }

    public static FirstPlugin getInstance() {
        return instance;
    }
}

Anybody could help me understanding why the PlayerMouseButtonEvent is not getting fired?
I tried with the PlayerReadyEvent and it works just fine

green coral
languid stone
#

yo people

delicate cobalt
#

how do i get a player and its message from chat event

stark parcel
languid stone
#

you can get PlayerRef by using Universe.get()#getPlayer(UUID)

#

its fire

torpid current
#

All my placeables have bugged and crash me when i open them, when i break them and re place them somewhere else its fixed but theres still a ghost of them where they were originally

green coral
wintry dawn
#

oh wait maybe its total durability not the change

civic zephyr
hardy echo
#

are there any active known severs online?

#

if so care to share them with me?

civic zephyr
green coral
tawdry halo
#

Wich method is to make a "Player1 was killed by Player2"

green coral
#

There's probably a better way, that was just a first attempt before I knew anything

sick mantle
#

is there any plugin just like Just Enough Items for hypixel? there are tons of items but i just cant find every item's use case like where are they used in which recipe.

wintry dawn
civic zephyr
wintry dawn
#

oh

civic zephyr
#

When the game changes durability it always makes a copy and puts it back

tawdry halo
#

Wich method is to make a "Player1 was killed by Player2"

sick mantle
#

found Just enough tales smh, but it just dont show me like what item can i craft with for example venom sacs

languid stone
#

where the scheduler at

tawdry halo
#

Wich method is to make a "Player1 was killed by Player2"

gaunt wasp
#

Which class i need to make entity interactions?

dim pendant
#

anyone would like to help me out on my server

bleak flare
#

Hi guys ! I need help to find a correct doc about creating mod from server side. I done a mod but not recognised by the server....

tawdry halo
#

Wich method is to make a "Player1 was killed by Player2"

dim pendant
#

i cant seem to unlock PVP and creative

vestal sage
#

Does anyone have or know of a mod template? I have a dungeon generator i designed but can't seem to make a .jar that will be read

copper summit
#

Anyone know where the /checkpoint command lives? im trying to figure out how to create per-player spawnpoints

kindred wave
#

How can I create a portal that executes a command when touched? I don't know how to program in Java at the mods or devtools level.

wintry dawn
bleak flare
tawdry halo
#

Wich method is to make a "Player1 was killed by Player2"

civic zephyr
opal parrot
tawdry halo
#

Wich method is to make a "Player1 was killed by Player2"

vestal sage
civic zephyr
gaunt wasp
#

guys, which class i need to make entity interactions?

tawdry halo
opal parrot
civic zephyr
#

RefChangeSystem<EntityStore, DeathComponent> with a player flter, you should be able to get the source

civic zephyr
tawdry halo
#

yes plz

wintry dawn
opal parrot
nimble cedar
#

How would json file for custom items that are placable like workbenches look?

bleak flare
gaunt wasp
#

guys, which class i need to make custom entity interactions?

civic zephyr
# tawdry halo yes plz

Im not sure what you mean, you can look at some of the classes that extend OnDeathSystem

opal parrot
opal parrot
delicate cobalt
#

how do i convert playerref to player obeject bro

frozen token
#

Sorry, I imagine this has been asked a bunch already but does anyone have any docs that outline the difference between a component and resource?
I'm struggling to understand when to use one over the other. They get registered the same way and can both be stored in the EntityStore. Is it that resources are a singleton whereas you can have multiple instances of a component within the store?

knotty basalt
#

Is there an active Skywars server on Hytale?

gaunt wasp
#

guys, which class i need to make custom entity interactions?

dim pendant
#

yeah but it says cant find the command so idk

sick mantle
dim pendant
#

it says u do not have that permission

woven halo
#

Custom configuration files are quiet easy ๐Ÿ˜

bleak finch
#

Mhm... anyone got any idea how i can get the block chunk and position from a EntityTickingSystem<ChunkStore>?

public void tick(float dt,
                     int index,
                     @Nonnull ArchetypeChunk<ChunkStore> archetypeChunk,
                     @Nonnull Store<ChunkStore> store,
                     @Nonnull CommandBuffer<ChunkStore> commandBuffer)
{
  var targetBlock = ???
}
dim pendant
#

its my own server

tawdry narwhal
#

hello guys

#

how create map void?

gaunt wasp
#

guys, which class i need to make custom entity interactions? I found SimpleBlockInteractions but what about entities?

wintry dawn
sonic pasture
#

anybody have probleme with simpleClaim ?

junior anvil
#

Are there any good interface builders out?

delicate cobalt
high hornet
#

How can I programmatically spawn a particle which moves towards a position?

green coral
#

Yeah, it was an early alpha attempt

copper summit
#

What class handles respawning, anyone know?

rigid tendon
#

Anyone knows why this doesnt show the window to the player, the classs is a command and is triggered when the player types the command:

        assert player != null;
        WindowManager windowManager = player.getWindowManager();

        SimpleItemContainer container = new SimpleItemContainer((short) 27);
        ContainerWindow testWindow = new ContainerWindow(container);

        OpenWindow packet = windowManager.openWindow(testWindow);
        if (packet != null) {
            // Window opened successfully, send the packet to the client
            playerRef.getPacketHandler().write(packet);
        }```
civic zephyr
#

This is fine though, you're just using the wrong thing, its a container window? Like a chest?

rigid tendon
#

yea

#

rn its just to test windows with slots

civic zephyr
# rigid tendon yea
playerComponent.getPageManager().setPageWithWindows(ref, store, Page.Bench, true, containerWindow);
#

It opens the window as if it were a container with your inventory and such

gaunt wasp
#

guys, which class i need to make custom entity interactions? I found SimpleBlockInteractions but what about entities?

civic zephyr
merry geyser
#

How would I go about implementing an server side event, that makes each player do something?

copper summit
dim pendant
#

TYSM it finally work

arctic atlas
#

Who wanna join our sever ? Chill, Have fun and claim ur zone to prevent griefing ๐Ÿ’ฏ ๐Ÿ˜ป

strong cobalt
#

Why soo high ping in friends server ?

merry geyser
#

My first priority is playing a sound on each player

civic zephyr
copper summit
civic zephyr
merry geyser
#

SoundUtils would be to play the sound itself, im trying to make an event that plays a sound on every current player when the event happens.

willow acorn
#

how to make interactable block with f like workbench

lapis ravine
#

How do most servers handle player spawning in the lobby? I often see a portal-like effect on the ground how is that usually implemented?

gaunt wasp
#

guys, which class i need to make custom entity interactions? I found SimpleBlockInteractions but what about entities?

civic zephyr
woeful finch
#

can a ui be shown without making a java plugin, looking on the use section of a block there is an interaction section and one of the types is OpenCustomUI but how to add info on what ui to open there?

fading ruin
#

how do i handle player join event

civic zephyr
gaunt wasp
civic zephyr
#

Its how the shop action is registered

civic zephyr
dry shuttle
#
evt.addEventBinding(CustomUIEventBindingType.MouseEntered, itemSelector,
                    new EventData().append("Action", "Click")
                                   .append("Index", "TestIndex"), false);

why code can throws out of index

buoyant yew
#

where is hytale documentation of plugins?

civic zephyr
upbeat void
#

tbh hytale plugins are a little bit more complicated than bukkit

compact linden
upbeat void
#

yeah its weird asf

civic zephyr
upbeat void
#

spawning entity is difficult too

merry geyser
upbeat void
#

XD

fading bolt
#

Hello, does anyone know how to replace the damage an ennemy is taking?

i want to replace all damage source with 1 as a value.

civic zephyr
civic zephyr
fading bolt
#

i searched everywhere, i can't find it

reef gorge
#

Has anyone a example to listen the player join event?

torpid current
#

Theres a permanent yellow broken texture rain over my base

lone burrow
#

Can you get the exact rotation for the spawn teleportation ?
like /spawn

civic zephyr
upbeat void
fading bolt
upbeat void
#

right now i have

public static void spawnEntity(String entityName, World world, double x, double y, double z, float yaw, float pitch) {
        EntityStore store = world.getEntityStore();
        Transform transform = new Transform(new Vector3d(x,y,z), new Vector3f(yaw, pitch));
        ModelAsset modelAsset = ModelAsset.getAssetMap().getAsset(entityName);
        Model model = Model.createScaledModel(modelAsset, 1.0f);
        NPCPlugin.get().spawnEntity(store.getStore(), NPCPlugin.get().getIndex("Fox"), transform.getPosition(), transform.getRotation(), model, null);
    }

i guess it wouldnt work anyway

amber violet
#

Where do I find the Hytale API, or is it not released yet?

civic zephyr
dry shuttle
#
evt.addEventBinding(CustomUIEventBindingType.MouseEntered, itemSelector,
                    new EventData().append("Action", "Click")
                                   .append("Index", "TestIndex"), false);

why this code fragment can throw out of index?

reef gorge
#

Hey how can i register my event handler? ๐Ÿ˜„

amber violet
#

Where do I find the Hytale API, or is it not released yet?

fading bolt
civic zephyr
reef gorge
cyan gazelle
#

how to add new button after backpack button in inventory?

wanton mountain
#

Has anyone found a way to make entities persist? They disapear super fast after spawning in

civic zephyr
amber violet
upbeat void
civic zephyr
upbeat void
#

does hytale have anything like EntityType, list of all mobs as enum?

civic zephyr
#

The entity roles

ripe junco
#

Anyone figured out how to override built-in logic like you can do with Spigot in MC? Trying to override crop growth and there doesn't seem to be an easy way to do it

upbeat void
#

and somehow i broken my back xd

wanton mountain
ebon grove
#

How do i get PlayerRef from Ref<EntityStore>?

upbeat void
civic zephyr
#

Farming stuff is in FarmingPlugin irrc

upbeat void
#

@civic zephyr add to friends, ill show you something xD

merry geyser
#

Would i make a indefinitely running class by just defining a class in the plugin config?

civic zephyr
#

You can make a TickingSystem<EntityStore>

ripe junco
civic zephyr
dry shuttle
harsh quiver
#

is there any way to get any logs on what's wrong with my customui documents and why they're not loading, the console doesn't give much of any help regarding errors.

ripe junco
#

Yeah but itโ€™s probably bad practice being thatโ€™s itโ€™s unsafe

rugged halo
#

that'll help you debug the actual .ui file syntax

main lynx
#

Is there a way to change the player name on the server players list & inventory screen? I've done display name and chat, cant figure out those two though.

civic zephyr
harsh quiver
rugged halo
ornate raven
#

is it possible to lock people on creative with noclip to make them spectator?

icy veldt
#

Anyone running into the error: "World default already exists on disk!" everytime the server starts up ? with the new server jar

harsh quiver
icy veldt
#

I believe im using the games server jar relative to the games install directory. so it links when i update the game aswell.

ebon grove
civic zephyr
icy veldt
# ornate raven do you have 2worlds

Nope just a single world although its not bothering me as its a dev server. So i just remove it and reload then it works until the next restart lol

civic zephyr
fading bolt
next hare
#

Does anyone know how I can disable the flying state? Currently I use

        movementManager.getSettings().canFly = newState;
        movementManager.update(playerRef.getPacketHandler());```

but that just changes the ability to leave fly, and doesnt revert me back into the not flying state
stone wasp
ebon grove
upbeat condor
#

How to check if mob is undead withouth checking for every type of zombie, skeleton etc.

ebon grove
#

ah thanks

harsh quiver
rugged halo
#

So, from a design standpoint, I'm reimplementing an unreleased Spigot plugin of mine that was a pretty comprehensive RPG core, but that plugin largely worked via wrapper classes and storing player data as JSON. With Hytale, would it make more sense to store things like classes, exp, etc. in a Component?

lapis ravine
#

How can I fix players spawning at the server spawn instead of their last location?

civic zephyr
icy veldt
stone wasp
spare kraken
lapis ravine
#

Yeah but when I player joins the server they always go to their last location they were

spare kraken
#

Yea I dont know a way to kill a player on logout but may be possible or in config

lapis ravine
#

I want players to always start at the server spawn not their last location ๐Ÿ˜‰

steady rapids
#

Hey guys does any1 know how to register a new module

steady rapids
#

yes

civic zephyr
steady rapids
# steady rapids yes

well i guess i want to register a system and components and i saw that in the server they use modules for that

merry geyser
high surge
#

Ah, i was looking for that

I also uploaded it to:

  • hytahub[.]com/mods/real-time-sync
  • hytaleforge[.]io/resources/real-time-sync
    • Pending Review
  • hymods[.]io/mods/real-time-sync
  • modifold[.]com/mod/realtimesync
wise briar
#

Is it possible to use UI variables (defined wiht @) when setting the value of an existing UI component with uiCommandBuilder.set(selector, "@Variable") ?

I just keep getting CustomUI errors

civic zephyr
icy veldt
bleak finch
#

Does anyone know how i can get neighbouring blocks of a specific block when i only have the index and chunk store as in EntityTickingSystem<ChunkStore>.tick()?

   @Override
    public void tick(float dt,
                     int index,
                     @Nonnull ArchetypeChunk<ChunkStore> archetypeChunk,
                     @Nonnull Store<ChunkStore> store,
                     @Nonnull CommandBuffer<ChunkStore> commandBuffer) {

        var energyContainer = archetypeChunk.getComponent(index, this.energyContainerType);  
        var neighbouringContainers = ???
}
civic zephyr
steady rapids
glad juniper
#

Did someone by any chance figure out what Item caused damage when using the DamageEvenSystem? ๐Ÿ˜„

civic zephyr
#

There are many available systems to extend

wanton mountain
#

Has anyone found a way to make entities persist? They disapear super fast after spawning in

steady rapids
civic zephyr
civic zephyr
steady rapids
main lynx
#

How are you meant to get the UUID and Username of a player? The methods are deprecated on the Player Component

civic zephyr
bleak finch
loud dagger
#

Hello everyone,
I'm working on a server-side mod using Java reflection. I want to create a custom weapon mechanic that adds stacks when hitting an enemy.
I found the com.hypixel.hytale.event.EventRegistry and I can register listeners dynamically.
While scanning the server packages, I came across this class:
com.hypixel.hytale.server.core.modules.entity.damage.Damage
I registered a listener for this class using the EventBus. The registration shows as successful, with no errors, but the handler doesn't trigger when I attack mobs or other players in-game.
Does anyone know the exact class path for the damage event?
I tried guessing names like EntityDamageEvent, DamageEvent, or ApplyDamage in the com.hypixel.hytale.server.core.modules.entity.damage package, but I feel lost.
Is there a specific Event wrapper I should be listening to instead of the Damage object itself?

main lynx
#

Thanks guys, you guys are ON IT! โค๏ธ

civic zephyr
keen star
#

Whats the easiest way to convert chunk coordinates back to world coordinates?

fresh charm
bleak finch
gritty viper
#

watch out please! i did the same and my github was banned today. I just wanted to have a public repository of the code so people can have a resource (since theres no documentation out there yet..). I did it on a github organization called hytale-server and all other members of the organization have also been suspended. I will send a message to github support now, but i doubt they will unsuspend it :(

civic zephyr
loud dagger
bleak finch
fair matrix
#

How do you guys start the server?

ornate raven
#

start.bat

bleak finch
#

I added the component in the asset editor with custom data. The tick also iterates over all EnergyContainerComponents

civic zephyr
bleak finch
#

But i need to get the neighbours of a specific EnergyContainerComponent in my system.tick to be able to push/pull energy around

ornate raven
#

did they remove link block or is it just not blocking hytale support ones

undone cloak
#

Does anyone know how I can record an event, and also do it to get an item from the hotbar and when right-clicking it send a message? I'm trying anyway but I can't

civic zephyr
loud dagger
fair matrix
#

I saw this article, and my identity verification was successful. However, the server was not successfully triggered afterward.

primal lynx
#

@hollow tapir sorry for ping, want to pick your brain. How did you manage to make npcs not run away from the player when you feed them?

quick goblet
#

I'm thinking of buying a server (UK based) - Does anybody know if I can upload my current world to the server host? - I don't want to lose all my progress ๐Ÿ˜Ž

drowsy aspen
#

Hello, I am developing a mod for servers and cannot find the framework that several blogs publish:
<dependency>
<groupId>com.hypixel.hytale</groupId>
<artifactId>HytaleServer-parent</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>

in Maven. Can anyone clarify whether it was removed and replaced by another?

bleak finch
upbeat void
keen star
upbeat void
#

im doing it with gradle, current server jar in /libs and importing it

wanton mountain
#

Has anyone found a way to make entities persist? They disapear super fast after spawning in

drowsy aspen
uneven flax
#

i got a problem in connecting public server my friend able to join but mine cant

#

anyone got a tip?

drowsy aspen
fresh charm
keen star
#

this explains it well

uneven flax
#

connection timed out waiting for a response from the peer

keen star
#

My flex is that my rtp plugin only kills you in 95% of cases

drowsy aspen
tired oasis
#

@gritty viper thanks for the warning, hope you get your account back : (

upbeat void
#

how to make command like /smth <custom string>

to use e.g like String argument = args[0];

merry geyser
upbeat void
tawdry narwhal
#

[AbstractCommand] Exception while running that command:
java.lang.IllegalStateException: Unknown block name: Soil_Dirt

Help guys, what name block dirt?

latent nexus
#

How can I decompile the server jar?

sonic summit
#

fernflower

keen star
untold marsh
#

Des dรฉveloppeurs franรงais ?

next hare
upbeat void
sonic summit
#

are tooltips stored in item stacks? im trying to see if its possible to edit tooltips via a plugin

radiant river
#

Any idea why everyting in com.hypixel.hytale.codec.Codec is marked deprecated? Did it get moved somewhere?

upbeat void
#

they're supposed to be like idk /tpa <nickname>

civic zephyr
glad juniper
#

Anyone else having the issue where on the server it cannot find the names for everything xD It only shows like the path for example: server.items.Weapons_Dagger

civic zephyr
#

The setup method?

merry geyser
civic zephyr
#

Well if you want a ticking system yes

#

Don't just register the weather one again that was just an example I sent

merry geyser
#

I have written a tick function that should work for testing but i dont know how to set it up

civic zephyr
keen star
#

hytale does not like it when you teleport to ungenerated chunks lol, errors all over the place

latent tree
#

I don't know if this is the right place to ask, but does anyone know where to find/edit weapon behaviour?

verbal lichen
#

How to change join & quit message ?

rough isle
#

why can't I join a server, all the assets load but it gives me an error last second

brave latch
#

J'ai ouvert un serveur public survie mmorpg venez dm si vous voulez l'adresse

next hare
# upbeat void they're supposed to be like idk /tpa <nickname>

I just looked through the code for the gamemode comamnd and they do it like this:

public class GameModeCommand extends AbstractPlayerCommand {

  @Nonnull private final RequiredArg<GameMode> gameModeArg = this.withRequiredArg(...);

  public GameModeCommand() { ... }

  @Override
  protected void execute(...) {
     ...
     GameMode gameMode = this.gameModeArg.get(context);
     ...
  }
}

maybe that helps

vast zenith
#

@dense yacht could you dm?

wanton mountain
#

Has anyone found a way to make entities persist? They disapear super fast after spawning in

spare geode
#

I created a custom Component to store data in the player, but the data is only hold in the session so after a relog the data is back to initial values. Any idea if I need to set a setting or something?

empty wyvern
#

is there any ways to hide player cursor marker position (by code or command), so each one can't see other position on world map

civic zephyr
wintry dawn
#

hey guys, what is the plugin_group in gradle.properties

charred cloak
#

is there anywone willing to join me to help me test the multiplayer aspect of my mod im making? its pretty simple, right now just class selection and save data

wintry dawn
#

Is it supposed to be some set string or anything

high surge
timber fable
#

Hi everyone, I want the item I created to disappear after it breaks. Right now, it can still be repaired. Does anyone have any advice on how to fix this?

frozen token
spare geode
# civic zephyr Your CODEC is not set up properly

I thought so much and searched for parameters or methods in the builder-chain that let me set it to persistent data, but couldn't find anything. Any pointers?

    public static final BuilderCodec<TestPlayerData> CODEC = BuilderCodec.builder(
            TestPlayerData.class,
            TestPlayerData::new
    ).addField(
            new KeyedCodec<>("Charges", Codec.INTEGER),
            (data, value) -> data.charges = value,
            data -> data.charges
    ).build();
radiant geode
#

Hey guys, I can't join any servers and nobody can join me either. What could be the reason? Does anyone have any information about this problem or can help?

ornate raven
#

how you guys make json config for plugin

naive imp
#

Hello! If you have found it difficult to find all the leather tiers or you don't want to waste so much time looking for it, create a mod called "Leather Refinery" that allows you to convert one type of leather into the next. And if you don't want to kill animals, you can also craft vegetable leather with plant fiber! (Available in CurseForge)

ornate raven
civic zephyr
timber fable
#

Hi everyone, I want the item I created to disappear after it breaks. Right now, it can still be repaired. Does anyone have any advice on how to fix this?

jolly gyro
#

Hey guys, where can I learn Hytale programming? ?

restive vigil
#

Learn java first

glad juniper
civic zephyr
#

Have you registered the component?

restive vigil
#

Then start using it with hytale api. Even though right now there is not a lot of documentation and its kinda a pain

tawdry lion
#

๐Ÿค” ?

restive vigil
#

Java is a programming language. We're not talking about Minecraft

#

Hytale server side is java

spare geode
# civic zephyr Have you registered the component?

I have, but I kinda doubt that the registration on the documentation I've been following is old or inccorect. It doesnt use the codec, which I found weird already.

getEntityStoreRegistry().registerComponent(TestPlayerData.class, TestPlayerData::new);
jolly gyro
ornate raven
restive vigil
summer ibex
#

Is it possible to create a plugin to drop specified items on death via a config?

jolly gyro
tawdry lion
spare geode
civic zephyr
#

It is I see, I use:

getEntityStoreRegistry().registerComponent(MyComponent.class, "MyComponent", MyComponent.CODEC);
tawdry lion
gleaming temple
#

Anyone having a lil hint:
i currently have a problem that my dependency does not work correctly.

i wrote Plugin1 under Group:Plugin1

then i wrote Plugin2 under the same Group
In its manifest.json i have a dependency declaration:
"Dependencies": {
"Group:Plugin1": "*"
},

The Plugin Group:Plugin1 loads correctly
But the Plugin2 always fails "is lacking dpendency Plugin1 at stage Setup"

any idea what i'm missing?

civic zephyr
#

Not sure about that other signature

restive vigil
ornate raven
summer ibex
restive vigil
#

Your urges for what

waxen turret
#

Contact me if you have a Premade server setup with basic plugins. Permissions, Spawn, Home and so forward.

spare geode
tribal bronze
#

Help! What's the event for when a player leaves the world by teleporting to another world? It's not PlayerDisconnectEvent

jolly gyro
crude nacelle
#

any bedwars servers yet???

quartz schooner
#

I need help with a complete VPS server setup. I'm willing to pay after receiving the help.

tawdry lion
tawdry lion
dire kernel
#

do I need to transfer files for my world from my desktop to my laptop to continue my game on my laptop

merry geyser
jolly gyro
tawdry lion
civic zephyr
dire kernel
#

so just the world files

restive vigil
jolly gyro
quartz schooner
tawdry lion
upbeat void
#

how to retrieve players online as list eg List<Player> o PlayerRef?

tawdry lion
#

If you can do it for MC you can do it on Hy

merry geyser
quartz schooner
#

Okay

tawdry lion
jolly gyro
merry fjord
#

how to get the world chunk were the player is ?

merry geyser
#

I do not know how to register it

copper summit
#

So getRespawnComponent isnt actually a real thing, anyone have an idea on how i would go about doing this?

        store.addComponent(ref, Player.getRespawnComponent(), transform);
    }```
civic zephyr
dire kernel
#

1 last thing what s the default dir for the world save file

civic zephyr
hoary vector
#

hey if i have mods in a hytale server do i need to download those mods for my client side hytale aswell?

undone cloak
#

ItemInteractEvent exists?

merry geyser
undone cloak
#

I wanted to make it so that when I right-click on an item it sends a message

#

and how do I record an event? and how do I make a basic event?

lofty mango
#

does anyone know how to bypass the firewall thing for co op play

undone cloak
#

can someone help me

velvet trail
#

Guys i made the boost pickup range mod which is as it sound it adds a bostable range via commands but now th mod include more futures like
Toggleble hotbar pickup so hotbar dont get filled
Togglable player dropped item pick
and will have evn more in the future
And now working on smooth transfare like inventory essential from MC
So my question is whats a good name for it

sterile venture
quartz schooner
lofty mango
#

i know its a network thing, i have comcast so my NAT type isnt compatible

gloomy fable
#
    @Override
    public void handle(int i, @Nonnull ArchetypeChunk<EntityStore> archetypeChunk, @Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer, @Nonnull Damage damage) {
        damage.setAmount(100);
    }

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

why setAmount not workning?
in console variable is correct
but in game, damage is not a 100

restive vigil
outer cairn
#

May the mod name in the manifest have spaces?

restive vigil
dim pendant
#

hey how can i prevent losing items when death?

lofty mango
lofty mango
dim pendant
lethal imp
#

is there a documentation about a plugins project structure?

sterile venture
merry fjord
verbal lichen
#

How to change join & quit message when someone join or quit the server ?

fresh charm
eager hollow
#

The view distance makes no sense. I forced server side to be 12, but when the client connects I'm seeing like the view distance on the map being the 1024 or whatever setting view client even though the view is not.... So does the map some how override the actual view if it's already pregen or something?

main lynx
#

Where does the name come from when you go to map and see the "Server Players" list?
It doesnt seem to be "DisplayName" or "Nameplate"...

polar anvil
#

Where should I ask for help with installing existing mods/plugins? Just #discussion?

civic zephyr
merry fjord
dim pendant
#

anyone how do i disable lootdrops when death on a server

civic zephyr
gloomy fable
merry fjord
civic zephyr
#

No, the z coord is the z

#

The Y is irrelevant, chunks aren't stacked on eachother

fresh charm
wanton mountain
#

Does anyone have experience with
ChunkUnloadEvent I have this

public class ChunkUnloadingListener extends EntityEventSystem<EntityStore, ChunkUnloadEvent> {

    @Override
    public void handle(int i, @Nonnull ArchetypeChunk<EntityStore> archetypeChunk, @Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer, @Nonnull ChunkUnloadEvent event) {
        Util.broadcast("UNLOOADING!");

But it doesnt seem to ever call?

eager hollow
merry fjord
civic zephyr
merry fjord
civic zephyr
#

Only a few I can think of that have z as up and those are usually modelling tools

tribal briar
#

anyone has a portal teleport plugin?

rigid musk
#

in order to make rounded buttons in pages, is it possible to do it with the "Style" property or something similar (if yes, how ?) or do I have to set a custom background which already has rounded borders ?

tribal briar
#

i'm tryna make a portal teleport plugin but i keep getting teleported to the forgotten temple

merry fjord
odd moon
harsh hound
#

how do you make a slab/half block?

gloomy fable
worthy plume
#

I'm creating a simple /kit command system, but I'm having trouble capturing the second argument of the command, the kit name (/kit starter).

It shows me that the server expects 0 arguments, and I'm sending 1.

private final OptionalArg<String> kitNameArg = this.withOptionalArg("nome", "Nome do Kit", ArgTypes.STRING);

public KitsCommand(KitManager kitManager) {
    super("kit", "Comando de kits");
    this.kitManager = kitManager;
}

@Override
protected boolean canGeneratePermission() {
    return true;
}

@Override
protected void execute(
        @Nonnull CommandContext context,
        @Nonnull Store<EntityStore> store,
        @Nonnull Ref<EntityStore> ref,
        @Nonnull PlayerRef playerRef,
        @Nonnull World world
) {
    Player player = store.getComponent(ref, Player.getComponentType());
    if (player == null) return;


    String kitName = kitNameArg.get(context);
lethal crystal
#

guys what are the funnest worlds to join, i just got the game for my little brothers

fresh charm
# gloomy fable yea it work, thank you!

You can also check DamageSystems.ApplyDamage, especially its public Set<Dependency<EntityStore>> getDependencies()

This is what defines order of system executions

jolly gyro
tall carbon
#

skript is better

restive vigil
jolly gyro
restive vigil
harsh hound
restive vigil
tall carbon
# restive vigil explain why

it's more easy and not complex, but if u want to handle a server with 100+ players then java is more efficient

restive vigil
#

or go check the config used in slabs

lethal crystal
fresh fable
#

Hello, please tell me if I can find the client logs or stack trace of the error. I was developing a plugin and got the error โ€œIndex was outside the bounds of the array,โ€ but I don't really understand where it came from.

restive vigil
tall carbon
#

why would u need to use java for small stuff like ur game is not bedwars just basic survival

strong musk
restive vigil
#

i've done both and java is better. Skript is easier, to do basic things, but it comes with a cost. Besides, skript is made in java

restive vigil
sick obsidian
#

Has someone got InteractionChain errors? especially when players using axes to chop

tall carbon
rigid tendon
#

I am trying to make a component and also an associated component type. But it doesnt seem to work, the component type isn't defined when I want to add it to the player.

This is the in the setup in my main class wich extends JavaPlugin

                AccessoriesComponent.class,
                "Accessories",
                AccessoriesComponent.CODEC
        );```

This is where I give the component to the player when he joins the server
```public void onEntityAdded(@NonNullDecl Ref<EntityStore> ref,
                              @NonNullDecl AddReason addReason,
                              @NonNullDecl Store<EntityStore> store,
                              @NonNullDecl CommandBuffer<EntityStore> commandBuffer
    ) {
        commandBuffer.addComponent(
                ref,
                accessoriesComponentType,
                new AccessoriesComponent((short) 6)
        );
    }```

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

Here is the codec in the AccessoriesComponent wich extends Component<EntityStore>
```public static final BuilderCodec<AccessoriesComponent> CODEC =
            BuilderCodec.builder(AccessoriesComponent.class, AccessoriesComponent::new)
                    .append(
                            new KeyedCodec<>("Accessories", SimpleItemContainer.CODEC),
                            (obj, val) -> obj.accessories = val,
                            (obj) -> obj.accessories
                    )
                    .add()
                    .build();```

Anyone can help?
copper summit
#

holy

jolly gyro
restive vigil
copper summit
strong musk
severe niche
restive vigil
jolly gyro
lethal imp
#

Hey, im kinda struggle with my projects folders and file. How did you guys figure out what .json file or models or whatever belongs in which folder?

severe niche
civic zephyr
spice sluice
civic zephyr
#

What does your console say

fresh fable
#

Hello, please tell me if I can find the client logs or stack trace of the error. I was developing a plugin and got the error Crash - Index was outside the bounds of the array but I don't really understand where it came from.

copper summit
#

who tf is flagging everyone

restive vigil
severe niche
#

Someone loves Bangladesh

glass ingot
#

When you thought youtubers couldn't be more annoying with their advertising lol

arctic turtle
#

Hello, is there a way to get the player IP address ?

true rover
#

Best

rigid tendon
vast zenith
rigid tendon
#

in commandBuffer.addComponent(
ref,
accessoriesComponentType,
new AccessoriesComponent((short) 6)
);

civic zephyr
rigid tendon
civic zephyr
#

Store it somewhere in a static and access it like that

restive vigil
#

ok americans dude out here do you know healthcare is going to be cheaper this is a first in the history of america

true rover
#

Some one help ๐Ÿ‡ง๐Ÿ‡ฉ best

restive vigil
#

US

fresh fable
#

where i can found a client logs?

vast zenith
rigid tendon
arctic turtle
#

Hello, is there a way to get the player IP address ? (Server side)

rigid tendon
restive vigil
civic zephyr
bleak finch
#

@civic zephyr im stuck at getting the energy information :/
energyContainer is always null... Any ideas?

var chunkIndex = ChunkUtil.indexChunkFromBlock(targetBlock.x, targetBlock.z);
var chunkRef = world.getChunkStore().getChunkReference(chunkIndex);
assert chunkRef != null;

var energyContainerComponentType = EnergyModule.get().getEnergyContainerComponentType();
var energyContainer = chunkRef.getStore().getComponent(chunkRef, energyContainerComponentType);

if (energyContainer == null) return;

playerComponent.sendMessage(Message.raw(energyContainer.toString()));