#server-plugins-read-only

1 messages · Page 90 of 1

mellow tendon
#

I am guessing here, but isn't there a gravity component?

spice glen
#

Hope you enjoy our services! Reach out to the BisectHosting support if you need anything 💙

storm glacier
#

Has anybody figured out how to trigger technical blocks such as the prefab spawner? have not yet fully gotten into the serverside but was wondering if anybody figured it out before i try

#

Currently it just exists and does nothing

static lodge
#

Why my item does not appear in game? Maybe I created json in wrong directory? Should folder structure (Server, Common) created next to manifest.json? Or I am missing something? I little bit confused 🥴

empty wraith
mellow tendon
mellow tendon
storm glacier
#

Thats possible, i was thinking of using them to generate structures while the world is loaded in

#

so i think that's out of the question then

mellow tendon
#

I know several situations where they fail to trigger tho, it's really funny. I think I have a block spawner on my own server and multiple structure spawners on another server

#

afaik those are already reported bugs so we can laugh about them

storm glacier
#

yeah i've seen a lot of people say the reported it so i would think so

static lodge
storm glacier
#

that seems like the only way then

#

sounds painful

shut cosmos
#

guys please how to get entity id?

mellow tendon
mellow tendon
shut cosmos
#

ServerCameraSettings settings = new ServerCameraSettings();
settings.attachedToEntityId = ???
settings.distance = 10.0f; // Zoom distance from player
settings.isFirstPerson = false; // Third-person mode
settings.positionLerpSpeed = 0.2f; // Smooth camera follow
pref.getPacketHandler().writeNoCache(
new SetServerCamera(ClientCameraView.Custom, true, settings)
);
im exploring this thing

shut cosmos
mellow tendon
#

isn't there getId() on entity ref?

#

I think I've seen something like that

shut cosmos
#

oh it is

shut cosmos
mellow tendon
#

having control over the camera is something minecraft brain is finding hard to accept lol

hushed quest
#

How can I add a custom permission to my command so only OPs or players with a specific permission node can use it?

ashen fulcrum
#

guys im having a trouble with my server because of dependencies, is there someone to help me config that? im totally noob on this and i dont understand the log

mellow tendon
#

if not, there's likely a method for it in the base command class

celest bramble
#

Guys is there any plugin for a HG server like it was in mcpvp for mine?

mellow tendon
last hawk
#

I'm trying to create my first .jar mod to record a video, and I've done almost everything, but I'm having problems with the final code in IntelliJ. Is there any experienced developer or modder willing to help me solve these code errors? I'll give credit in the video.

mellow tendon
last hawk
cedar estuary
#

    public void register(EventRegistry eventBus) {
        try {
            eventBus.register(BreakBlockEvent.class, this::onBreak);
            LOGGER.at(Level.INFO).log("Registered BreakBlockEvent listener");
        } catch (Exception e) {
            LOGGER.at(Level.WARNING).withCause(e).log("Failed to register BreakBlockEvent");
        }

    }
    private void onBreak(BreakBlockEvent event) {
        LOGGER.at(Level.INFO).log("test");
    }```
what am I doing wrong? the event is registered cuz everything logs fine but the listener just won't work
mellow tendon
merry geyser
#

Does someone know how to async run something x number of times with y delay between every run

icy wedge
cedar estuary
bright minnow
icy wedge
#

or if you don't want the delay at the start: use scheduleAtFixedRate

merry geyser
mellow tendon
# cedar estuary ```private static final HytaleLogger LOGGER = HytaleLogger.forEnclosingClass(); ...

basically you need a new class liek this

public class BlockBreakSystem extends EntityEventSystem<EntityStore, BreakBlockEvent> {
  public BlockBreakSystem() {
        super(BreakBlockEvent.class);
    }

public void handle(int index, @Nonnull ArchetypeChunk<EntityStore> chunk, @Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer, @Nonnull BreakBlockEvent event) {
  // your logic here
}
}
thin sentinel
#

I have a problem with excessive RAM consumption on the server, even when there are no people on it 🙁

empty wyvern
#

I teleport player to other world by code and always get error Incorrect teleportId - how to fix it ?

mellow tendon
icy wedge
mellow tendon
bright minnow
#

@mellow tendon Do you know how a system for an event would work when a player opens a chest?

merry geyser
mellow tendon
mellow tendon
bright minnow
thin sentinel
#

i use this java -Xms4G -Xmx10G -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+ParallelRefProcEnabled -XX:+AlwaysPreTouch -XX:ActiveProcessorCount=6 -Dhytale.auth.storage.plaintext=true -jar HytaleServer.jar --assets Assets.zip

icy wedge
bright minnow
#

i try

icy wedge
#

you can add checks to your runnable to only run it so many times

mellow tendon
empty wyvern
merry geyser
mellow tendon
empty wyvern
thin sentinel
#

Another problem I have is that I can't get it to save my session, so I don't have to log into my account every time I restart the server.

icy wedge
rose kernel
#

guyss, do u guys know why is my bettermap isnt working? i cant put a mark on my map and i cant open the menu. is there any solution?

mellow tendon
#

possibly a bug report aswell

final glacier
#

gra ktos z polski jesli tak to pv

shut cosmos
#

du know whats mobs are if player is Player? are they NPCEntity?

frosty plank
#

How can i fix it?

2026-01-20 15:38:18.4171|INFO|HytaleClient.Networking.PacketHandler|Disconnecting with error during stage InGame: Failed to apply CustomUI HUD commands 
2026-01-20 15:38:18.4171|INFO|HytaleClient.Networking.PacketHandler|System.Exception: Could not find document Hud/MyUI.ui for Custom UI Append command. Selector:  System.Exception: Could not find document Hud/MyUI.ui for Custom UI Append command. Selector: 

resources/Common/UI/Custom/Hud/MyUI.ui

empty wyvern
ripe walrus
#

Can anyone help me how to upload mods to the server which are not .jar files, how to upload those mods which are in .zip format

lucid spire
#

is it possible to spawn instances of a preset world?
like i have a world like myPreset and i need to spawn 3 instances so i have presetWorld1 presetWorld2 presetWorld3

empty wyvern
wide shadow
#

has anyone figured out how to animate blocks through plugins?

#

or is it only possible with keyframes in blockbench?

ripe walrus
#

Can anyone help me how to upload mods to the server which are not .jar files, how to upload those mods which are in .zip format

hybrid ridge
hollow verge
ripe walrus
carmine sundial
#

Hello, may I ask if there is a configuration or someone who can disable the option that when someone connects to the server, it does not display their nickname and they connect to the default, and when they teleport to another dimension, it does not display anything at all? I would just like to modify it so that when someone connects to the server, for example, [+] nickname connected [-] nickname disconnected.

robust wadi
#

Did you find where to use this?

fringe hemlock
#

@shut cosmos ive sent you a friend request in regards of the custom cam.

hollow verge
#

I known how to do F press to intreract 😄

ornate raven
#

anyone know how can i fix "Failed to load CustomUI documents"

hollow verge
opal parrot
ornate raven
thin sentinel
#

I am running a Hytale server on a Pterodactyl panel (Linux/Docker environment, Java 25). I am facing an issue where the server fails to persist the authentication session.

Every time I restart the server, I am forced to re-enter the OAuth device code (/auth login device).

The Error: The console logs show the following warning during the auth process: [EncryptedAuthCredentialStore] Cannot save credentials - no encryption key available And finally: Credentials saved using: Encrypted

ornate raven
hollow verge
#

And in manifest "IncludesAssetPack": true,

ornate raven
#

yeah it was .ui syntax issue

opal parrot
weak cape
autumn island
#

🇧🇷 Bom dia pessoal, queria uma ajuda em um mapa que estou criando.
Algum de vocês saberia se é possível fazer um trigger para o player (bloco invisível ou hitbox) fazendo ele ativar uma câmera fixa ou alguma interação como alguma particular?


🇺🇸 Good morning everyone, I need some help with a map I'm creating. Does anyone know if it's possible to trigger the player (an invisible block or hitbox) to activate a fixed camera or some other interaction, like a special feature?

hollow verge
#

If you dont known how doto something in the UI you can check the Assets.zip there you have lot examples xD

bleak lynx
#

anyone knows how to replicate de swapt player model from creative menu, but with code? any function that does that?

robust wadi
#

Is it currently posible to add settings for keybinds to the user settings page?

weak cape
mellow tendon
gloomy token
#

i need if somebody can check if my plugin will work

gloomy token
#

i will send dm

empty wraith
#

how do i bounce an entity?, like player to make they seems like jump?

static lodge
#

Is it possible to listen to Primary interactions (attack) and modify them, make it slower (including animations)?

weak cape
# mellow tendon I don't do dms, you can ask here if it's not deeply personal

oh okay, i studied C, and i have knowledge of OOP from school, so i am not a complete programming beginner, but i want to make something good in hytale, a minigame network, what do you think i should do, i know java to some degree, i did make some plugins for mc couple years ago, but now for this it's ecs and all that, what do you think is the roadmap for me, to make something more complex like what i said ?

lucid spire
#

how can i:

  1. copy a world
  2. use it for a bit (for a minigame)
  3. delete it after the minigame is done
mellow tendon
# weak cape oh okay, i studied C, and i have knowledge of OOP from school, so i am not a com...

generally with hytale you need to forget what you know with OOP, it's all about ECS (entity component system) here. Educate yourself on how this works, it's not that hard to comprehend when you spend a little while hacking at it and understanding it, there's a nice video from TroubleDEV (not me, another Trouble) that explains ecs.

There is never a "roadmap", don't buy into that, you will waste a lot of time. All you need is the basics and the parts you need for what you're doing currently. In time the knowledge will sum up into fuller picture

empty kindle
mellow tendon
#

that's the approach I've always taken

hollow bane
#

Is there a move event that i can use? I want to react on movement of a player

cedar osprey
solid hemlock
#

Install the HyFixes mod from curseforge

summer wedge
#

Anyone wanna start an hytale SMP for the heck for it?

gloomy token
#

i need someone that can verify the functionality of my code or modify it a little

mellow tendon
#

verify the functionality of my code
run the mod yourself in a test world and you will see if it works

#

you'll even get nice stacktraces if it doesn't!

dusky vessel
#

its possible remove recipe from the game using plugin?

verbal ledge
#

is there a guide on how to do optional arguments for commands?

weak cape
finite dew
#

in game usage would be like --duration=<input>

verbal ledge
#

you have to use the dashes?

finite dew
#

yes

empty wyvern
#

How to teleport between worlds

rugged halo
#

is there a BukkitRunnable equivalent? CompletableFuture exists, but I want something that will run synchronously + globally

#

ideally with a delay between executions

cedar osprey
mellow tendon
weak cape
thorn leaf
final oxide
#

ey, do you know a good documentation for World Generation ? : )

calm robin
#

What is the name of the event that occurs when you log into the server?

eager peak
#

how do i get player entity object with the player uuid?

calm robin
#

Thanks

split peak
#

Good morning, I need help.
Yesterday I paid the hytale and it's been more than 18 hours and it doesn't confirm the payment I make. I want to play, help me

tight herald
#

hi all maybe not the right place, but has anyone gotten a "Disconnecting QuicConnectionAddress with the message: Invalid skin! Invalid eye attachment!" error on the server side? i can login to other servers fine, but not my own on a dedicated PC on my local network

west bolt
#

Does anyone know how to add a custom sound for playback?

west bolt
merry geyser
west bolt
merry geyser
#

You have to define a sound json

#

Does someone know how to run something on a world thread x amount of times with a delay between each run

loud igloo
#

How can I teleport a player from one world to another?

ornate raven
#

did anyone used sqlite-jdbc

lapis ravine
#

How can I teleport players between worlds for example default lobby world > arena?

merry geyser
#

I think you have to delete them from their current one and add them to the one you want

cyan cloud
#

In a plugin, can i register my own i18n keys, or do I have to make that a client mod?

mellow tendon
#

there is no client mods. you just attach the asset pack to the mod

glossy meadow
#

It is possible that the server does not remember the player's last position and that every time they log in, it sends them to the spawn point?

calm birch
#

Is there a good way of prototyping .ui files? I seem to suck at them 😄

ornate raven
green dragon
#

Asking again here since the other discussion moves quickly, but I have a question for modders:

  • If I wanted to make a mod that allowed players to place their own NPC vendor (like the ones in the Forgotten Temple), set pricing and be able to configure its inventory / manually supply/resupply it, would that be a pack or a plugin?
  • If plugin, what resources would you suggest for someone to begin learning java?
iron gate
#

Is it possible to create subdirectories for custom configs? It looks like I could just supply a path to withConfig, but unsure if this is stable/officially supported

topaz cipher
#

Where are the UI fields that I can use for a CustomUI? I need a Dropdown and a TextField object.

blazing fable
#

Does anyone know how i can make a UI like the workbench with categories up top but instead of the crafting menu to have my own UI?
Tried to mess with the workbench asset but can't figure out how to make a block open something like that in my plugin, or how to handle events from it.
Also to have the player's inventory open like when inside a workbench, thanks!

worthy wolf
#

Hello! Is it possible to make a Hytale mod now? If so, how? If not, what should I prepare until tools are available?

cobalt dune
ornate raven
#

there few not handmade but still better than nothing ai docs for it

true bronze
#

hi Im trying to reduce a item durability but I didnt find correct method for that

upbeat void
#

where the fck is any block break event with player in it

true bronze
uncut meadow
ornate raven
ornate raven
#

com\hypixel\hytale\protocol\BlockBreaking.class does this have

true bronze
# upbeat void doesnt have player

   public void handle(int i, @NonNullDecl ArchetypeChunk<EntityStore> archetypeChunk, @NonNullDecl Store<EntityStore> store,
                       @NonNullDecl CommandBuffer<EntityStore> commandBuffer, @NonNullDecl BreakBlockEvent breakBlockEvent) {
        //FOR TESTING PURPOSES ONLY
        Ref<EntityStore> ref = archetypeChunk.getReferenceTo(i);
        Player player = store.getComponent(ref,Player.getComponentType());}
steel crag
#

I was having the same issue of people being timed out on connecting. I believe I fixed it by adding parameters to the config for "InitialTimeout" and "AuthTimeout". From what I could assertain Hytale only allows for ~10 seconds to connect and after it auto boots, so I added the following to my "ConnectionTimeouts" in the config.json

  "ConnectionTimeouts": {
  "InitialTimeout": "PT30S",
  "AuthTimeout": "PT60S",
  "JoinTimeouts": {}
},

Hopefully that helps you (and the many others having the same issue).

upbeat void
#

EntityTickingSystem<EntityStore> or what

sweet crystal
#

Can I add an image over an existing colored button, keeping functionality?

slim hatch
#

Have you fiddled with entity creation? I am trying to create a static entity, sort of a projectile, however I cannot wrap my head around assigning a custom model to that entity

upbeat void
#
public class BlockBreakListener extends BlackboardSystems.BreakBlockEventSystem {
    @Override
    public void handle(int index, @NotNull ArchetypeChunk<EntityStore> archetypeChunk, @NotNull Store<EntityStore> store, @NotNull CommandBuffer<EntityStore> commandBuffer, @NotNull BreakBlockEvent event) {
        super.handle(index, archetypeChunk, store, commandBuffer, event);
    }
}

i guess its it

true bronze
fleet zinc
raven robin
solid whale
#

How do I install Violet Wardrobe etc? Do I unzip it and put it in mods?

raven robin
solid whale
#

Ah ok thx

wintry dune
#

N||ice||

languid jetty
#

How can I inspect the JAR to see if my code works properly? I think I set up my project correctly but I am getting nothing in logs. Do I have to do anything special to mark my main function apart from Manifest.json?

#

It could also be because I am using Kotlin but everything seems to compile fine and I was under the impression both compiled into the java IR

rugged jackal
#

Hi guys im trying to create new UI and i dunno what i have wrong.. it keeps kicking me off server and saying "Could not find document TutorialPage.ui for Custom UI append command. Selector: "

I have "IncludesAssetPack": true
and

tasks.jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE

from("src/main/resources")

}

and UI in resources/Common/UI/Custom/TutorialPage.ui

@Override
public void build(UICommandBuilder uiCommandBuilder) {
    uiCommandBuilder.append("TutorialPage.ui");
}
solid whale
#

Whats the best permission plugin to use? Is LuckPerms good to use atm?

topaz cipher
blazing cosmos
solid whale
#

Nice

languid jetty
ornate raven
dense lion
#

Missing the enderpearl? Missing that frenetic PvP or crazy exploration? Install the mod VoidPearl! URL: curseforge com/hytale/mods/voidpearl

grizzled cedar
#

how do i get the entire inventory of the player like minecraft? because backpack stuff i cannot like save them

topaz cipher
#

is this the best way to add luckperms support as a shiv?

/**
 * LuckPerms-backed permissions using the standard LP API,
 * which also works on Hytale (per the LP Hytale docs).
 */
public final class LuckPermsPermissionService implements PermissionService {

    private final WorldManagerPlugin plugin;
    private final LuckPerms luckPerms;
    private final ContextManager contextManager;

    public LuckPermsPermissionService(WorldManagerPlugin plugin) {
        this.plugin = plugin;
        this.luckPerms = resolveLuckPerms();
        this.contextManager = (luckPerms != null) ? luckPerms.getContextManager() : null;
    }

    private LuckPerms resolveLuckPerms() {
        try {
            return net.luckperms.api.LuckPermsProvider.get();
        } catch (Exception e) {
            plugin.getLogger().at(Level.WARNING).log("[WorldManager] Failed to get LuckPerms instance: " + e.getMessage());
            return null;
        }
    }

    @Override
    public boolean hasPermission(Player player, String node) {
        if (player == null || luckPerms == null) {
            return false;
        }

        // Hytale Player exposes a UUID; use that to look up the LP user.
        java.util.UUID uuid = player.getUuid();
        User user = luckPerms.getUserManager().getUser(uuid);
        if (user == null) {
            return false;
        }

        QueryOptions queryOptions = contextManager.getQueryOptions(user)
                .orElseGet(() -> luckPerms.getContextManager().getStaticQueryOptions());

        return user.getCachedData()
                .getPermissionData(queryOptions)
                .checkPermission(node)
                .asBoolean();
    }
}
viral geode
#

Hi, does anyone know if there's a spawn protection plugin that also blocks interactions? (e.g. not being able to collect stones, etc.) I've tried two and they don't block this

topaz cipher
dire charm
#

Hi, I have a question.

How can I increase item stack sizes?

Is it possible to do this on a server side, or only through a mod?

If yes, how do I properly set it up on a server?

Thanks 🙏

topaz cipher
sweet quartz
#

hmm i decompiled it now.
I think this isnt in server.jar as sutch its handled by the client itself isnt it or am i wrong?

steep thicket
#

probably is

#

the server.jar camera plugin only has camera effect related things

sweet quartz
#

i see maybe you can trigger it from server when you got something. But not quite sure jet if client category is also directly downloaded by the client when you put it in the server itsel as mod.

mellow tendon
#

a lot of things are defined via assets that you can attach to mods

sweet quartz
#

ah oke was wondering if thats somethign i have to look into next

steep thicket
#

public class CameraPlugin extends JavaPlugin {
    private static final String CODEC_CAMERA_SHAKE = "CameraShake";

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

    protected void setup() {
        AssetRegistry assetRegistry = this.getAssetRegistry();
        this.getCodecRegistry(CameraEffect.CODEC).register("CameraShake", CameraShakeEffect.class, CameraShakeEffect.CODEC);
        this.getCodecRegistry(Interaction.CODEC).register("CameraShake", CameraShakeInteraction.class, CameraShakeInteraction.CODEC);
        assetRegistry.register(((HytaleAssetStore.Builder)((HytaleAssetStore.Builder)((HytaleAssetStore.Builder)((HytaleAssetStore.Builder)((HytaleAssetStore.Builder)HytaleAssetStore.builder(String.class, CameraShake.class, new IndexedAssetMap()).loadsBefore(new Class[]{CameraEffect.class})).setCodec(CameraShake.CODEC)).setPath("Camera/CameraShake")).setKeyFunction(CameraShake::getId)).setReplaceOnRemove(CameraShake::new)).setPacketGenerator(new CameraShakePacketGenerator()).build());
        assetRegistry.register(((HytaleAssetStore.Builder)((HytaleAssetStore.Builder)((HytaleAssetStore.Builder)HytaleAssetStore.builder(MovementType.class, ViewBobbing.class, new DefaultAssetMap()).setCodec(ViewBobbing.CODEC)).setPath("Camera/ViewBobbing")).setKeyFunction(ViewBobbing::getId)).setPacketGenerator(new ViewBobbingPacketGenerator()).build());
        this.getCommandRegistry().registerCommand(new CameraEffectCommand());
        this.getEntityStoreRegistry().registerSystem(new CameraEffectSystem());
    }
}

as you can see, it mostly handles setting uphandlers for effects :/

quasi quail
#

hi How can I return the game?

topaz cipher
#

With the camera plugin would it be possible to trigger cutscenes when entering a custom region?

sweet quartz
steep thicket
#

i guess you could make a view bobbing/camera effect that would offset the camera location permenantly to a top down view sort of thing? but that is a bandade solution

mellow tendon
tough basin
#

anyone know on the DamageEventSystem how to get the attacking PlayerRef and the victims PlayerRef?

steep thicket
dry trellis
#

lol

flint cloud
#

🔔 Torre Hyatle | Reclutamiento abierto
Buscamos Builders, Programadores y Modders para el server.
Si quieres formar parte de un proyecto en crecimiento, escríbenos por MD. 🚀

mellow tendon
frosty plank
#

how can i get player's ping

rugged jackal
solid whale
#

Anyone used Hyssentials with LuckPerms?

topaz cipher
ornate raven
#

isnt essentialsplus best

topaz cipher
spare sandal
#

Is it actually impossible rn to cancel a pickup event of for example rubble? All events fire after it has already been picked up

mellow tendon
solid whale
#

Ah okay how so @topaz cipher

mellow tendon
#

listen for Pre events

ornate raven
spare sandal
#

InteractivelyPickupItemEvent doesnt have a pre i think :/

#

and UseBlockEvent.Pre doesnt catch it

topaz cipher
storm glacier
#

Does anyone have a more dev focused discord server than this channel? Im kinda looking for a community a bit smaller than this and more focused on dev than the main server

rapid tree
#

I’m exploring ways to adapt my single-player mod for multiplayer and would appreciate connecting with someone who has plugin development experience and is interested in collaborating on this project.

ornate raven
spare sandal
uneven anvil
#

Hey guys, its possible to make a copy clip board button? I don't know how to do it

ornate raven
spare sandal
#

yea :( thanks for trying to help anyway though

heavy sand
#

hello

topaz cipher
#

region*

spare sandal
bleak lynx
topaz cipher
bleak lynx
#

i have code working for that but cant share it here its too long

solid whale
#

Hmm is there an issue why I can't interect with statue? Im getting disconnected

tough basin
#

anyone know on the DamageEventSystem how to get the attacking PlayerRef and the victims PlayerRef?

livid plume
#

anyone know if there is a crate plugin like i use key to open a chest and random item i can get?

surreal karma
#

ayo Can you do a isometric view like for example like in clash of clans in hytale server plugin for hytale players?

harsh quiver
#

Is there any1 who has implemented their luckperms group into their scoreboard or any UI? if so let me know :)

indigo wyvern
#

it tells me to update my server, but i already did and nothing changed! for you guys as well?

pale crest
ornate raven
#

anyone know how to fix HyUI this error?

CustomUI Set command selector doesn't match a markup property. Selector:
#HYUUIDBackButton66 #HyUITextButton.Style.RenderBold

harsh quiver
#

I've tried it through commands, UI changes, everything.

pale crest
spare sandal
#

oh really can I ask you how in DM?

viral geode
#

Does anyone know how I can remove the ability to collect stones and crops with F? I've tried removing all the possible events, but nothing works

dim stone
#

is there any docs for hytale api?

pale crest
solid whale
#

Hmm is there an issue why I can't interect with statue? Im getting disconnected really annoying

viral geode
#

uhm, how?

spare sandal
#

perfect sent you a req

tropic nest
#

is there any announcement about proper api for the game?

odd jetty
hollow bane
#

Is it possible to run multiple hytale clients at the same time

harsh quiver
nimble trail
#

Has anyone played with making UI's yet?

sinful garnet
#

will hytale cost more when it releases?

blazing cliff
#

Hi are there any javadocs or at least a documentation not written with AI?

blazing cliff
#

Arent jd written while developing?

languid jetty
#

managed to get Kotlin working

languid jetty
#

for now anyway

pale crest
blazing cliff
tough basin
#

anyone know on the DamageEventSystem how to get the attacking PlayerRef and the victims PlayerRef?

languid jetty
spice glen
languid jetty
#

I prefer the syntax

blazing cliff
#

Does anyone here know how I can check if the placed block (PlaceBlockEvent) is a specific (custom) block?

steep thicket
#

unfortunately not, taking a break for a bit - lmk if you find anything though

#

if you read the server.jar you can get some idea of how they do things - it's up to you at the end of the day though

lime juniper
steep thicket
#

yeah I remember seeing that 2d view clip, let me contact the op and see if they know who did it or how to do it. I assume it's a client mod thing but that would be a little annoying

#

yeah xD

#

I meant, the code style/guide you use are up to you

#

@lime juniper I assume to change the view it would work by grabbing the player's camera component (if there is one) and adjusting it's transform in a ticking system

feral olive
#

how to kick player, using Universe.get().removePlayer() ?

lime juniper
steep thicket
#

yeah it was buddha cat that posted it but I don't know if they were the one that made the mod

lime juniper
#

If i find anything i'll tell you

steep thicket
#

cheers, they also said the person who made the mod isn't a programmer so might be an asset editor thing

sacred orchid
#

Good afternoon, I downloaded the API from GitHub to start working with plugins, but I can't find the list of variables. Where should I look? I'm somewhat new to Java, and I don't quite understand where I can find class, method, and variable names to include in the plugin I'm creating. I have the API downloaded, but I can't find them.

prisma cliff
#

Is there any way to make server plugins in C#? Java's a pain in the ass.

livid nest
steep thicket
#

that sounds promising, what does it do?

limpid charm
#

Does anyone know if the client send any packets at all to the server when right clicking a block without items?
I've noticed that the "Secondary" interaction only gets triggered on blocks if you hold certain items :/

livid nest
steep thicket
#

that easy huh

steep thicket
lime juniper
steep thicket
#

xD tbf I was trying to do it in a plugin

blazing cliff
#
public class BlockPlaceListener {
    private static final HytaleLogger LOGGER = HytaleLogger.forEnclosingClass();

    public void register(EventRegistry eventBus) {
        eventBus.register(PlaceBlockEvent.class, this::onBlockPlace);
    }

    private void onBlockPlace(PlaceBlockEvent event) {
        ItemStack itemStack = event.getItemInHand();
        LOGGER.at(Level.INFO).log("[BlockPlaceListener] " + itemStack);

    }
}

What am I missing? The listener is registered in the main class, but nothing is sent on block place

lime juniper
feral olive
#

Does anyone know how to kick player, should I use Universe.get().removePlayer() ?

errant zealot
#

I'm trying to do a heal AOE with an aoe circle selector that lead to a change stats interaction which add health.
When trying it with a mob, the health get added only to get reset to where it was the next tick, anyone have any idea why ?
Weirdly enough, doing an ApplyEffect does nothing at all.

blissful wigeon
#

how do you add a custom sound effect?

dreamy prairie
#

are there any documents out yet?

blissful wigeon
mystic bone
stiff walrus
#

Has anyone found documentation on how to create a custom item from a server plugin?

stuck sorrel
#

Hi, not sure if this is the right area and may be a dumb question but for those running hosted servers. How are you updating mods? Just putting the new version zip/jar and removing the old one?

green dragon
#

I have another question as to whether a mod should be a pack or a plugin:

  • CONTEXT: I am working on mods for an medieval fantasy RP server that’s moving over from Minecraft
  • If I wanted to create a special chest (Coffer) that stored and recorded the amount of a custom currency item and does so on a per player basis similar to the Memory system, is that a pack or plugin?
  • Similarly, if I wanted to create a favor-based system that responded to exchanging “offerings” (likely essences) for some boon, and would increase/decrease one’s favor with Gaia or Varyn as a result (per player), would that be a pack or plugin?
  • Finally, if I wanted to create a Star Wars Battlefront-style respawn-at-captured-point system, and a way to limit respawns based on a team being in control of said point, I would assume this would be a plugin, yes? Even if I had a customized asset like a banner that could be furled/unfurled as a way of capturing the “area”?
stiff walrus
green dragon
brittle pollen
#

Plugin can contain a pack because you embed those json files as resources.

hearty dragon
#

Anyone know how to properly pass an entity reference back from the command buffer? I'm assuming the run method isn't necessarily resolved in the same frame as the rest of an interaction's code, but I'm familiar with unity ECS, not java ECS.

For context, I'm trying to grab the entity reference from NPC spawn, in an interaction, to manipulate it post-spawn

elfin vessel
#

I’m trying to achieve something similar to how Minecraft plugins handle their data directories, but this seems to just use the group name directly (e.g. io.aitchn.myplugin).

Am I misunderstanding how this is supposed to work, or am I using the wrong approach?

dataDirectory.resolve("config.json").toFile()
keen pecan
#

Hi, how can i stop showing my HUD to players? Since there's no close method like in CustomUI

stiff walrus
elfin vessel
thick cypress
#

Can someone tell me how to implement interaction with the block through F with a timer (so that the player holds F for 2 seconds, for example, and only then the action is performed)?

tight herald
rapid tree
#

Hey guys , I’m exploring ways to adapt my single-player mod for multiplayer and would appreciate connecting with someone who has plugin development experience and is interested in collaborating on this project.

jovial niche
#

Hey guys, Anyone know how to get Player player from PlayerRef ?

Pleeeeaaaase i'm stuck

royal hatch
#

@subtle fern Got a new update coming soon for Hyskills mod. Might be able to get you over a pre-release version if wanted to see what issues you find. Havent started final tests yet on it

foggy knot
#

Hello im looking for Polish programmer to collab with 🙂 I want to create together guild/pvp server with many solutions as it is in some specific Minecraft servers. Contact me in DM please !

worthy wolf
#

any way to get api ?

#

i want api for make status bot

novel cedar
#

so i've been playing around with modding for couple days now and i have to rant on something.. the UI system is junk whole modding ideology is just glorified minecraft asset packs meaning we cannot add voice chat we cannot add something like storage terminals nothing can be added due to client limits

brittle pollen
#

I'm pretty sure voice chat is coming in the base game though

verbal skiff
worthy wolf
#

anyone help how to build hytale status bot ?

novel cedar
harsh quiver
#

Hey quick question, what should I use as a reference as to when UI should be loaded so I don't load it too fast, currently when I go through instances it kicks me out cus it tries to load the UI too fast, how could I make it so it loads the UI together with the gameUI at the same time?

brittle pollen
balmy comet
#

any idea how to cancel teleports?

blazing cliff
#

Where?

novel cedar
brittle pollen
#

.... well that makes sense as to why I've been having a hard time figuring out how to make the dam inventory SCROLLABLE lol

novel cedar
uneven tide
#

Does anyone know how I can get all assets of a type?

tight herald
brittle pollen
tight herald
#

Well atleast certain methods i guess 🚣

balmy comet
#

Is it possible to cancel all teleports attempted?

novel cedar
#

server cannot mod client but user can do whatever they want thats what forge on mincraft does

brittle pollen
rugged halo
#

no client modifications, only content packs

novel cedar
#

i get why they chose that system and the idea isn't bad but it kills all creativity don't expect to see applied energetics-like mod anytime soon if ever

long flower
rugged halo
#

nah, we'll def see it at some point

novel cedar
rugged halo
craggy mural
#

I've been curious on the actual limitations of a lack of client modding.

long flower
rugged halo
#

I have a functioning config system in place already lol

novel cedar
#

thats only upside

rugged halo
#

it is much better than spigot idk what you're talking about

#

the API is terrible to work with though

keen pecan
#

Hi, does anybody knows why i'm getting Object reference not set to an instance for an object, when this line gets executed?

                if(player != null) {
                    
                    instance.logger.atInfo().log("Player not null, removing HUD")
                    player.hudManager.setCustomHud(plRef, null)
                }
brittle pollen
rugged halo
#

you should be able to access the player inventory via a component or the Player object, no?

novel cedar
rugged halo
#

UI uses bindings, a bit like shoddy WPF

long flower
brittle pollen
novel cedar
rugged halo
brittle pollen
novel cedar
#

its component system meaning we will always have to play by their rules which imo kills creativity

uneven tide
# uneven tide Does anyone know how I can get all assets of a type?

I found some example code on one of the unofficial documentation sites but I need a path and I'm not sure what to put to get everything ("/", "/Achievement", or "" doesn't work)

DefaultAssetMap<String, Achievement> map = Achievement.getAssetMap();
        commands.append(PAGE_LAYOUT);
        for (String key : map.getKeys(Path.of("/"))) {
            commands.append("#AchievementCards", "Pages/AchievementEntry.ui");
        }
novel cedar
#

its like playing with same 50 lego bricks for your entire life.

dry trellis
primal jungle
#

Does someone know how to use the vanilla gradient mapping engine for custom blocks and items? I want to use the official gradients already present in the asset but i don't know how to call the gradient mapper

wet field
#

does hytale have action bars, titles or boss bars?

dry shuttle
#

how to enable command for all users (bu default i have no permission)?

dry trellis
alpine creek
#

Where to put server config JSON file, when you added some config to the plugin?
this.withConfig("ExampleConfig", ExampleConfig.CODEC);

I tried to put it into the server where we have "config.json", but didn't look like it's working

kind glacier
#

is there a server pluguin that keeps the chat on screen at all times? My friends and I find it super annoying that the chat cant be toggled to stay on screen even if no ones talked in a bit

cerulean arrow
#

Heya, what's the file structure for Ore mods? I can't get my Ore texture to show up in the asset editor

sinful aspen
#

hi

dry shuttle
#

how to enable command for all players by default (by default i have no permission)?

wet field
rugged halo
finite dew
drifting glade
#

Hi im trying to do a .ui, and thats very crazy, someone knows maybe a template or a guide for do de .ui`s?

uneven tide
#

Does anyone know why this doesn't loop through all my assets (No cards appear in my UI)? They should be registered to the Achievement path... or is there a better way to loop through all assets of a type?

DefaultAssetMap<String, Achievement> map = Achievement.getAssetMap();
        commands.append(PAGE_LAYOUT);
        for (String key : map.getKeys(Path.of("Achievement"))) {
            commands.append("#AchievementCards", "Pages/AchievementEntry.ui");
        }
marble axle
#

Anyone tried to use BenchWindow / Page.Bench / ContainerBlockWindow? The API does not seem to be moddable Hypixel_Sad I have an issue with the item container not beeing scrollable

elfin vessel
#

Players collect the codex — is there a related listener for this?

viscid wren
#

lets rewrite everyting on rust

brittle pollen
hollow bane
#

Is there an Player Move Event or Event when a player enters a zone?

marble axle
tight herald
wet field
#

Yeah I'm just making a Hytale implementation for kyori adventure platform so I can port my plugins more easily over

jolly relic
#

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

public class SimpleBlockEraser {

    private final World world;

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

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

i assume nobody has found out how to bind guis to inventories yet right

dry trellis
marble axle
marble axle
#

You can display a container tho, it will be limited to a certain size

#

I have a 12 rows container, it goes out of the screen

harsh quiver
#

I seem to be running into an issue when loading UI's and going into different instances/through portals, kicks me out since my UI loads too fast, how do I fix that?

tight herald
marble axle
tight herald
#

Am complete noob so take what i say loosely 😆

marble axle
brittle pollen
elfin vessel
#

not PlayerDeathEvent?

fresh fable
#

Is there a server in Maven Central, or is the only option to analyze the source code?

mortal gate
marble axle
tight herald
marble axle
tight herald
#

Which i suppose Simon has mentioned there will be more QOL or w/e, but idk most of this seems fundamental and not too easy to change in the future

brittle pollen
tight herald
#

I suppose if anyone will be able to do it, its the Hytale team 😁

mortal gate
primal jungle
#

@remote creek hi! Can I ask you something about your avatar loader plugin?

long flower
brittle pollen
uneven tide
thick cypress
#

Tell me, is it possible to catch the pressing/holding of buttons somehow?

blissful pilot
thick cypress
# primal jungle not yet

Damn, I want to make an implementation of holding F with a timer (so that the player interacts with the block for some time)

empty wyvern
#

is there anyway to stop default world map gen?
I want to render some specific chunks on world map

heady cedar
#

Has anyone figured out how to tell whether a block was generated or placed by a player?

tight herald
marble axle
simple kestrel
#

Where can I create mods?

rugged halo
#

...on your pc?

mortal gate
heady cedar
warped garden
#

do server plugins work on singleplayer worlds?

long flower
#

yes singleplayer runs a server in the background

simple kestrel
#

Guys, where can I create mods?

warped garden
#

the config commands dont work

long flower
rugged halo
#

Does Hytale actually have a Spigot-like config system in place? If not, I've written a library lol

marble axle
royal hatch
dry trellis
hollow bane
#

Hi all, is Single or Multicore Performance more important for Hytale Server?

simple kestrel
rugged halo
dry trellis
rugged halo
solemn blade
#

anyone have a idea how I would add prefabs to a server

mortal gate
dry trellis
simple kestrel
rugged halo
dry trellis
rugged halo
#

i have no problems open sourcing a library, seems silly not to tbh

long flower
rugged halo
#

I just meant my portfolio was all what i've worked on for work LOL mb

dry trellis
rugged halo
idle lily
#

Anyone know how can I get spawn an NPC within a SimpleInstantInteraction and run a separate RootInteraction using it as a target after it is spawned? I currently have this:

if (entityInteraction != null) {
    final InteractionManager manager = spawnedStore.getComponent(spawnedRef, InteractionModule.get().getInteractionManagerComponent());
    if (manager == null) {
        return;
    }

    final Entity owningEntity = EntityUtils.getEntity(ref, store);
    if (!(owningEntity instanceof LivingEntity executor)) {
        return;
    }

    final InteractionContext subCtx = interactionContext.duplicate();
    final DynamicMetaStore<InteractionContext> metaStore = subCtx.getMetaStore();
    metaStore.removeMetaObject(TARGET_BLOCK);
    metaStore.removeMetaObject(TARGET_BLOCK_RAW);
    metaStore.removeMetaObject(HIT_LOCATION);
    metaStore.putMetaObject(TARGET_ENTITY, spawnedRef);
    final RootInteraction rootInteraction = RootInteraction.getRootInteractionOrUnknown(entityInteraction);
    if (rootInteraction == null) {
        return;
    }

    manager.startChain(ref, commandBuffer.fork(), interactionType, subCtx, rootInteraction);
}

but because it's being queued by the commandBuffer in the parent interaction, the executing is "delayed" (I presume), causing the buffer to be invalidated and therefore making the interaction chain start impossible.

I'm running it on the command buffer because I can't pass the active store into the spawnNPC function as it is currently in use.

@Override
protected void firstRun(@Nonnull InteractionType interactionType, @Nonnull InteractionContext interactionContext, @Nonnull CooldownHandler cooldownHandler) {
    final CommandBuffer<EntityStore> commandBuffer = interactionContext.getCommandBuffer();
    Preconditions.checkNotNull(commandBuffer, "CommandBuffer");

    // Spawn it
    commandBuffer.run(_ -> spawnNPC(interactionType, interactionContext, commandBuffer));
}
stray pasture
rugged halo
stray pasture
#

Like: free code? No? Forget it.

uneven tide
#

Does anyone know how to properly set the text of an individual element? Right now it's just overriding the text of the first one a bunch of times because they don't have unique ids

public void build(UICommandBuilder commands) {
        Map<String, Achievement> map = Achievement.getAssetMap().getAssetMap();
        commands.append(PAGE_LAYOUT);
        for (String key : map.keySet()) {
            commands.append("#AchievementCards", "Pages/AchievementEntry.ui");
            commands.set("#AchievementName.Text", map.get(key).getName());
            commands.set("#AchievementDescription.Text", map.get(key).getDescription());
        }
    }
primal jungle
# remote creek Hey! Sure

I read in your git docs you use the gradient mapper to automatically apply the gradient pngs to the character texture.
I'm trying to do something similar from custom items for a mod, but i dont know how to call the gradient mapper on the b/w texture, how did you do?

dry trellis
#

I will not use deliberately libraries that I cannot directly see the code of unless it's literally not possible. Making it source-available is also fine

#

There's lots of licenses out there, I bet you'll find one that fits

dry trellis
icy glade
#

yeah. at that point not making source available is hiding it

silk reef
#

.

silent mulch
#

chattt

#

where should i start to learn java xo

woeful finch
#

how can a ui be shown wihout using a command? like on use on a block?

ruby depot
#

alguem tendo problemas de erroo critido

dry trellis
hearty dragon
mortal gate
idle lily
#

my problem is starting a new interaction after the command buffer has already been consumed

woeful finch
idle lily
#
final Pair<Ref<EntityStore>, INonPlayerCharacter> spawned = NPCPlugin.get().spawnNPC(spawnedStore, "Empty_Role", null, position, rotation);
if (spawned == null) {
    return;
}

final Ref<EntityStore> spawnedRef = spawned.left();
simple thunder
#

is there any hytale equivalent of servicesmanager?

mortal gate
# woeful finch how do you specify what ui to show that way?

You can take a look at existing mods to see more info, but you need to set a Page in the json like so:


 "Interactions": {
      "Use": {
        "Interactions": [
          {
            "Type": "OpenCustomUI",
            "Page": {
              "Id": "TextSign_UI"
            }
          }
        ]
      }
    },

and then this "TextSign_UI" needs to be registered in the main file.

woeful finch
charred fulcrum
#

Anyone know how to remove join/leave world messages?

primal jungle
mortal gate
finite dew
boreal mist
#

Hi guys good evening I needed help, I'm making a server and I wanted to connect two worlds via portal on my server, I create the world but I can't get started is there anyone who can help me?

brittle pollen
#

Lookup Kaupenjoe on youtube, they have a bunch of java tutorials if you're looking for em.

hearty dragon
# idle lily the entity ref is provdied by the spawnNPC/spawnEntity method

At the gym, will look at what you have cause it might solve my problem. I'm not used to java so I couldn't figure out how to get the reference back in scope of the interaction from the command buffer.

I would think that you could grab the reference by adding a trigger variable that the second interaction looks for and flips when set

boreal mist
#

I create the world with /world add, but when I try to tip it doesn't work

simple thunder
#

is there any hytale equivalent of servicesmanager?

keen pecan
#

Hi, is there a way to catch if a player rightclick with a specific item in his primary hand? (I already know how to check the offhand or mainhand item, i'm just wondering how to get the event)

boreal mist
#

can anyone help me?

vital hemlock
#

Hello fellow Developers, is there a way in Java to get if a Player Hits a block? ❤️

wheat vale
boreal mist
#

🥲

simple kestrel
#

Using IDE, I created folders, json files, structure, and model textures, and how to compile a jar file for the Hytale mod.

silent mulch
wheat vale
shut cosmos
storm junco
#

are there any good community docs on uis atm?

wheat vale
idle lily
#

Anyone know how can I get spawn an NPC within a SimpleInstantInteraction and run a separate RootInteraction using it as a target after it is spawned? I currently have this:

if (entityInteraction != null) {
    final InteractionManager manager = spawnedStore.getComponent(spawnedRef, InteractionModule.get().getInteractionManagerComponent());
    if (manager == null) {
        return;
    }

    final Entity owningEntity = EntityUtils.getEntity(ref, store);
    if (!(owningEntity instanceof LivingEntity executor)) {
        return;
    }

    final InteractionContext subCtx = interactionContext.duplicate();
    final DynamicMetaStore<InteractionContext> metaStore = subCtx.getMetaStore();
    metaStore.removeMetaObject(TARGET_BLOCK);
    metaStore.removeMetaObject(TARGET_BLOCK_RAW);
    metaStore.removeMetaObject(HIT_LOCATION);
    metaStore.putMetaObject(TARGET_ENTITY, spawnedRef);
    final RootInteraction rootInteraction = RootInteraction.getRootInteractionOrUnknown(entityInteraction);
    if (rootInteraction == null) {
        return;
    }

    manager.startChain(ref, commandBuffer.fork(), interactionType, subCtx, rootInteraction);
}

but because it's being queued by the commandBuffer in the parent interaction, the executing is "delayed" (I presume), causing the buffer to be invalidated and therefore making the interaction chain start impossible.

I'm running it on the command buffer because I can't pass the active store into the spawnNPC function as it is currently in use.

@Override
protected void firstRun(@Nonnull InteractionType interactionType, @Nonnull InteractionContext interactionContext, @Nonnull CooldownHandler cooldownHandler) {
    final CommandBuffer<EntityStore> commandBuffer = interactionContext.getCommandBuffer();
    Preconditions.checkNotNull(commandBuffer, "CommandBuffer");

    // Spawn it
    commandBuffer.run(_ -> spawnNPC(interactionType, interactionContext, commandBuffer));
}
hearty dragon
idle lily
#

Not trying to store data atm

winter trout
#

Hey folks, is there a way to detect a click on a specific inventory slot? I.e. When a player clicks on a slot in the backpack? Planning to use the backpack UI to open other windows and pages. I've poked around at the events and packet handlers but they seem pretty limited.

unborn river
#

Hi, how to replace this with something cleaner?

java // Send message to all players for (PlayerRef player : Universe.get().getPlayers()) { Message.raw(formattedMessage); }
Like a general server broadcast message!

hearty dragon
storm junco
dry trellis
dry trellis
idle lily
# hearty dragon But that's a way to pass it probably. Items like the animal crate store info so ...

I just found a fix as we were speaking, took a bit of digging through server code, but for anyone wondering this is a good way to start a proxying interaction forking from a command buffer:

final InteractionContext subCtx = InteractionContext.forProxyEntity(manager, executor, spawnedRef);
final DynamicMetaStore<InteractionContext> metaStore = subCtx.getMetaStore();
metaStore.removeMetaObject(TARGET_BLOCK);
metaStore.removeMetaObject(TARGET_BLOCK_RAW);
metaStore.removeMetaObject(HIT_LOCATION);
metaStore.putMetaObject(TARGET_ENTITY, spawnedRef);
final RootInteraction rootInteraction = RootInteraction.getRootInteractionOrUnknown(entityInteraction);
if (rootInteraction == null) {
    return;
}

manager.startChain(ref, commandBuffer.fork(), interactionType, subCtx, rootInteraction);
simple kestrel
#

No one will share the Hytale API repository

shut cosmos
dry trellis
shut cosmos
#

guys is there any good guides about livingentity behavior?

simple kestrel
#

It turns out that people create mods using their own methods

unborn river
languid hill
#

is there anyone that can help me with connection issues? i cant seem to join my friends world and vice versa

unborn river
wet field
#

What's the json format for messages?

wet field
unborn river
#

Ok, thanks :/

radiant plover
#

PhantomDev is good developer in hytale plugin develpment

late girder
#

is there a built-in way to activate / deactivate mods per-world in a server?

brittle pollen
#

wrong channel. This is a technical channel for modding not recruitment

simple kestrel
#

I have a model with the extension .blockymodel and is it suitable for hytale?

rugged halo
nocturne harbor
#

When I try uploading my mod it tells me "Manifest.json" not found, im new to modding all I did was zip the pack folder but im not sure if im supposed to do anything special, couldnt find much info on what to do

simple kestrel
rugged halo
brittle pollen
#

There is a github template you can also use from the documentation which has it already

nocturne harbor
#

let me check where mine is

rugged halo
#

ah yeah, that's good

nocturne harbor
#

thanks guys

brittle pollen
#

if you go to their gitbook documentation, go to "Getting started with plugins" section plugins-java-development/07-getting-started-with-plugins -- it's under plugin template

#

(step 1)

loud igloo
#

How do I transfer a player from one world to another? World.addPlayer() throws 'Player is already in a world'. What's the correct way to move a player between worlds?

little seal
#

has anyone found how you can make custom signatures? I'd like to create something similar to the pickaxe signature simon made

narrow dune
#

How can i register a command, that everybody can use without special permissions given?

simple kestrel
#

Does Hytale Asset Manager allow you to attach simple scripts to objects?

brittle pollen
#

don't believe so

keen elbow
#

Guys, Seriously, what the fk this UI system, the worst thing I've ever seen before wtf

brittle pollen
narrow dune
cobalt dune
#

did someone encounter a bug with their java plugin that the hole world becomes white and you cannot rejoin because the default world coundn't be found? the logs then just say "No world available to join"

brittle pollen
#

hytale.ellie.au is the online editor for UI building

keen elbow
craggy mural
#

Does anyone else time out when trying to connect to a server with mods? I put just a couple mods on my server (better repair kits and JEI) and I have to click "try again" 3-4 times to get the mod files to fully download.

My server is on my local network, so I presume it'll be even worse for my friends who are elsewhere.

spice timber
#

Good afternoon, I'm having trouble connecting to multiplayer servers. Does anyone know how to fix this? It's not a server with a friend. It keeps trying to connect endlessly after the connection fails.

proud stag
#

How do i Query by NPC?

public Query<EntityStore> getQuery() {
return Query.and(NPCEntity.getComponentType());
}

fleet plover
#

Hi guys, has someone good JVM arguments to start the server ?

cloud marsh
simple kestrel
opaque jetty
#

Hi guys, somebody know how to set/add speed to Player/PlayerRef ? for example Walk speed

proud stag
civic zephyr
civic zephyr
narrow dune
#

Hi ✌️ is there a way to register a command, that has no permission requirement? So everybody can use it without them having special permissions?

proud stag
civic zephyr
#

Im on mobile so I can’t check the exact method name

eager hollow
#

what happen to the mod:
stable-ping-fix?

Been removed. I demand answers lol!

civic zephyr
proud stag
civic zephyr
#

Im pretty sure the DeathComponent is added to NPCs fine, but one second, Ill validate it

narrow dune
mortal gate
proud stag
civic zephyr
proud stag
civic zephyr
eager hollow
#

@chrome fossil What happen to stable-ping-fix?
Some of us had a invested interest in your project and kept enough your information to track you down 😛

civic zephyr
#

There is also just a

NPCSystems.OnDeathSystem

That you can extend instead

merry geyser
#

What would be the best way to do something on a world.execute() for every player at once

civic zephyr
merry geyser
#

Would it be wrong to assume it goes through every player one by one?

olive saffron
#

Spell books when?

glass isle
#

Anyone know how to use the AOT cache? I'm trying to run by adding -XX:AOTCache=HytaleServer.aot , server starts but crashes shortly after

vagrant hound
#

Anyone know if its possible to add an extra gui in the inventory?

olive saffron
#

I wanna do Witchcraft n shite, I didn't graduate from Luna Nova for nothin

civic zephyr
olive saffron
#

Wait wrong chat

brittle pollen
merry geyser
# civic zephyr Well yes, thats whats happening

I have the specific problem of wanting to play an animation on every players ui at once.
And since the ui doesn't support something like a gif i need to manually make the animation.
The problem i see with this is that when i try to use a delay for playing that animation, every time i am running the function, it will be delayed by another players' animation.

civic zephyr
#

Do you stall the entire thread or something? How are you delaying it

keen pecan
#

Hi, is there a way to catch if a player rightclick with a specific item in his primary hand? (I already know how to check the offhand or mainhand item, i'm just wondering how to get the event)

civic zephyr
keen pecan
civic zephyr
#

Then just add a secondary interaction

#

Look at the Watering Can its pretty easy

keen pecan
#

Thanks!

merry geyser
#

It is currently just theory but:

  1. Start the world.execute
  2. Start playing the animation with a function that has a delay between every frame
  3. the code waits until the function has completed to run

Thats why i am worried about this

civic zephyr
#

Minus the state settings I suppose

proud stag
civic zephyr
civic zephyr
merry geyser
fluid cobalt
#

Please tell me a good solution to develop a duel system on ECS or is it a dumb idea?

rotund yew
#

Hi, Does anyone know how to create my own ZonePatternGenerator or for example how to create a world consisting of one of my unique zones?

glad juniper
#

Is there a way to get a list of all NPCEntities using java?

finite charm
#

Multi thread architecture is gonna be the death of me, queues and schedulers and thread safety is for losers and hytale should let me run unsafe thread code instead of throwing errors /s

storm junco
#

im getting the error "Failed to load CustomUI documents"

civic zephyr
uneven tide
#

How do I get a player by username? (For a command with player as an argument)

sterile raft
#

Sorry for interrupting

I am looking to perhaps hire someone to develop few things for a server
could be long term if all goes well but I need someone that has experience with hytale development already

to not saturate the chat just shoot me a DM ❤️

simple thunder
#

any way I can change an item stack's description?

cobalt dune
#

does someone know how to prevent the IllegalStateException("Store is currently processing! Ensure you aren't calling a store method from a system.") when getting the world with player.getWorld()?

    public void tick(float v, int i, @NonNullDecl ArchetypeChunk<EntityStore> archetypeChunk,
                     @NonNullDecl Store<EntityStore> store, @NonNullDecl CommandBuffer<EntityStore> commandBuffer) {
        Holder<EntityStore> holder = EntityUtils.toHolder(i, archetypeChunk);

        Player player = holder.getComponent(Player.getComponentType());
        PlayerRef playerRef = holder.getComponent(PlayerRef.getComponentType());
        if (player == null || playerRef == null)
            return;
...
        World world = player.getWorld();
...
merry geyser
civic zephyr
woven siren
#

someone knows how add a custom interaction to a custom block or docs?

civic zephyr
cobalt dune
merry geyser
civic zephyr
civic zephyr
robust wadi
#

Guys how do I get access to a block's inventory?

civic zephyr
robust wadi
#

yes

unborn river
# civic zephyr Universe.get().sendMessage

"Universe.get().sendMessage" does exactly the same thing as what I did in the API:

public void sendMessage(@Nonnull Message message) {
    for(PlayerRef ref : this.players.values()) {
        ref.sendMessage(message);
    }
}```
Thanks anyway!
lethal mauve
#

how do you make translations

simple thunder
#

any way I can change an item stack's description?

proud stag
civic zephyr
iron gate
#

How can I create a Codec entry that is an array within a config file? I found some unnofficial docs that say the codec should have a listOf method, but that is inaccurate

civic zephyr
#

Not the constructor of your plugin?

still mist
#

Whenever server crossed 30 players, Its crashing, giving issue and cant break or do anything by players.

Anyone facing this issue?

proud stag
civic zephyr
# robust wadi yes
BlockState state = world.getState(x, y, z);
if (state instanceof ItemContainerState itemContainer){
    var container = itemContainer.getItemContainer();
}
narrow dune
#

How can i print something to the game console that you can get with the ^ key?
this.getLogger().at(Level.INFO).log("Plugin has been initialized!"); is not working for me.

civic zephyr
fickle lance
#

Guys anyone facing an issue where after mins without issue the server just unload the world where all players are?

robust wadi
woven siren
#

someone knows how add a custom interaction to a custom block or docs? Hypixel_ThisIsFine

civic zephyr
#

Ive slightly edited the component name its ItemContainerState not what I had before

civic zephyr
still mist
#

Whenever server crossed 30 players, Its crashing, giving issue and cant break or do anything by players.

Anyone facing this issue?

proud stag
fickle lance
near raven
#

Hey, does anyone know how to get the code that allowes NPCs to move? I have the AStarWithTarget Class but i dont know how to use it on as an example the player

tribal pecan
#

is there any way to attach an item or UI to anywhere on an entity? For example a sword to a horse's head or a health bar above a skeleton

brittle pollen
#

wrong channel

pulsar hull
#

how do I put an item in players inventory on spawn and prevent them from dropping said item?

wide garnet
brittle pollen
still mist
#

You mean world goes to numl and no one can join issue?

civic zephyr
# proud stag no

Are you reloading your plugin? Try adding

"Hytale:NPC": "*"

In your dependencies block?
Like

"Dependencies": {
    "Hytale:NPC": "*"
  },
civic zephyr
loud igloo
#

How do I listen for player death events in a plugin? I want to run custom logic when a player dies (teleport them somewhere and drop their items). I see there's a DeathComponent and DeathSystems - should I create a custom system that queries for DeathComponent on players, or is there an event I can register for like PlayerDeathEvent?

fickle lance
civic zephyr
#

It'll ask you to implement a Query, just return

PlayerRef.getComponentType();
#

Your event would reside in the onComponentAdded override

civic zephyr
narrow vale
hollow oxide
#

How may I know if the user sent arguments in my command handler?

#

Is it possible to get args using CommandContxt btw?

minor crescent
old token
#

anyone else still only able to join when using a vpn?

minor crescent
civic zephyr
faint void
#

is there any way to get a players screen size? I'm running into issues trying to set my custom ui page to always takeup 100% of the players screen.

uncut veldt
#

hola tengo problewma con hytale

tepid talon
#

is there a way to override existing game ui like adding a new botton inside the inventory?

hollow oxide
simple thunder
#

does inventory.getCombinedEverything().addItemStack actually add the itemstack or do I have to apply the transaction it returns?

uneven tide
#

How do I update a value in a custom store on a player?

civic zephyr
hollow oxide
#

Alright, thanks.

civic zephyr
#

Then

context.get(damageArg);
dire cloak
opaque jetty
civic zephyr
#

The order you register the required args is the order the args need to be sent

opaque jetty
tiny geode
#

Hi im kind of new to coding and am trying to make a veinmine plugin but im having troubles getting the player position and dropping everything that gets veinmined to that position any ideas?

civic zephyr
#

You've registered
target
Then
amount
Right?

Then the command will expect target amount not amount target

#

The order in which you call "withRequiredArg" determines the order for the user

tepid talon
opaque jetty
#

The Hytale API is very different as a Bukkit ((

civic zephyr
#

Yep

iron gate
# iron gate How can I create a Codec entry that is an array within a config file? I found so...

If anyone comes across this. Seems like the hytale package exports an abstract ArrayCodec class which has an ofBuilderCodec method. It can be used to construct complex data structures such as with nested arrays or an array of objects. An example:

import com.hypixel.hytale.codec.Codec
import com.hypixel.hytale.codec.KeyedCodec
import com.hypixel.hytale.codec.builder.BuilderCodec
import com.hypixel.hytale.codec.codecs.array.ArrayCodec

data class MyCodec(
  var foo: Int = 0,
  var bar: List<MyOtherCodec> = emptyList()
) {
  companion object {
    val CODEC: BuilderCodec<MyCodec> = BuilderCodec.builder(MyCodec::class.java, ::MyCodec)
      .append(KeyedCodec("foo", Codec.INTEGER), { c, v -> c.foo = v }, { c -> c.foo }).add()
      .append(
        KeyedCodec("bar", ArrayCodec.ofBuilderCodec(MyOtherCodec.CODEC) { size -> arrayOfNulls<MyOtherCodec>(size) }),
        { c, v -> c.bar = v.toList() },
        { c -> c.bar.toTypedArray() })
      .add()
      .build()
  }
}
uneven tide
#

How do I get the component type of a custom component? The built in types have methods to do so but I'm not sure how to implement it myself

civic zephyr
#

You have to store it somewhere

uneven tide
#

Where do I actually store that? Like can I create a static variable in my Main class and then access it elsewhere?

civic zephyr
#

Yea

livid plume
#

anyone who use betterscoreboard i have question

civic zephyr
#

Those getComponentType methods just return the static variable they saved when they registered the component

proud stag
jagged sentinel
#

Hi, how can I get a player's coordinate when he does a command?

dry shuttle
#

where should I put the translation file?

civic zephyr
#

Weird that your plugin was loading before the hytale one, maybe its loaded alphabetically?

unkempt prawn
#

Hello ! i'm trying to disable crafting without a permission for each item
But, it works only in the player's inventory ; not in a crafting station

package fr.faiizer.plugin.listeners;

import com.hypixel.hytale.builtin.hytalegenerator.LoggerUtil;
import com.hypixel.hytale.component.Archetype;
import com.hypixel.hytale.component.ArchetypeChunk;
import com.hypixel.hytale.component.CommandBuffer;
import com.hypixel.hytale.component.Store;
import com.hypixel.hytale.component.query.Query;
import com.hypixel.hytale.component.system.EntityEventSystem;
import com.hypixel.hytale.server.core.Message;
import com.hypixel.hytale.server.core.asset.type.item.config.CraftingRecipe;
import com.hypixel.hytale.server.core.entity.entities.Player;
import com.hypixel.hytale.server.core.event.events.ecs.CraftRecipeEvent;
import com.hypixel.hytale.server.core.inventory.MaterialQuantity;
import com.hypixel.hytale.server.core.universe.world.storage.EntityStore;
import javax.annotation.Nonnull;


public class CancelCraftListener extends EntityEventSystem<EntityStore, CraftRecipeEvent.Pre> {
    private static final Query<EntityStore> QUERY = Archetype.of(Player.getComponentType());
//    private static final Query<EntityStore> QUERY = Query.any();

    public CancelCraftListener() {
        super(CraftRecipeEvent.Pre.class);
    }

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

    @Override
    public void handle(int entityId,
                       @Nonnull ArchetypeChunk<EntityStore> chunk,
                       @Nonnull Store<EntityStore> store,
                       @Nonnull CommandBuffer<EntityStore> commandBuffer,
                       @Nonnull CraftRecipeEvent.Pre event) {
#
        // DEBUG
        LoggerUtil.getLogger().info(
                "[CancelCraft] Launch The Craft Event For "
                        + event.getCraftedRecipe().getPrimaryOutput().getItemId()
        );

        Player player = (Player) chunk.getComponent(entityId, Player.getComponentType());

        if (player == null) {
            // DEBUG
            LoggerUtil.getLogger().info(
                    "[CancelCraft] No Player In The Craft Event For "
                    + event.getCraftedRecipe().getPrimaryOutput().getItemId());
            return;
        }

        CraftingRecipe recipe = event.getCraftedRecipe();
        MaterialQuantity output = recipe.getPrimaryOutput();
        if (output != null) {
            String itemId = output.getItemId();

            if (itemId != null && !itemId.isEmpty()) {
                String permissionNeeded = "cancelcraftmod.recipe." + itemId;

                boolean isAuthorized = player.hasPermission(permissionNeeded)
                        || player.hasPermission("cancelcraftmod.*")
                        || player.hasPermission("cancelcraftmod.admin")
                        || player.hasPermission("cancelcraftmod.recipe.*")
                        || player.hasPermission("*");

                if (!isAuthorized) {
                    event.setCancelled(true);

                    // DEBUG
                    player.sendMessage(Message.raw("§cyou don't have permission for crafting this item."));
                    player.sendMessage(Message.raw("§7(Permission needed : " + permissionNeeded + ")"));

                    // DEBUG
                    LoggerUtil.getLogger().info("[CancelCraft] Lock Craft Of " + itemId + " For " + player.getDisplayName());
                }
            }
        }
    }
}
#

Here my event class. Do you know how to fix that please ? c:

abstract orbit
#

does anyone know how to use message params? I want as Message const like: final TEST = Message.raw("{player} likes bananas");
and then i want to replace {player} via: TEST.param();

dry shuttle
abstract orbit
#

no i meant like i have a MessageManager with the constant Message.raw("You started a {minigame} match against {player}")
and then later on fill in those arguments

dry shuttle
#

u can use .getRawText() and then replace

amber violet
#

'Failed to load CustomUI documents' Can some1 help me?

tepid talon
civic zephyr
#

Oh you already know that

abstract orbit
civic zephyr
#

I think you have to use translation messages

hollow oxide
amber violet
#

@civic zephyr I keep getting a 'Failed to load CustomUI documents' error, what does this mean?

abstract orbit
hollow oxide
civic zephyr
abstract orbit
amber violet
hollow oxide
# civic zephyr OptionalArg

Just if I let required class, the command will still run if I don't give the args? Or I have to put always optional in this case.

turbid carbon
loud igloo
abstract orbit
civic zephyr
amber violet
civic zephyr
abstract orbit
civic zephyr
#

Optional args don't need to be filled

abstract orbit
#

the .ui file is how to UI will look like when rendered though

tough basin
#

does anyone know how i can apply poison to the player

amber violet
#

@abstract orbit is there like a good documentation about UIs?

abstract orbit
abstract orbit
harsh quiver
#

How do people live update text on HUD? f.e playtime ticking, I can't seem to get it to live update

spice sluice
vale thorn
#

Does anybody here know if its possible to add zip files into the mods folder on my hytale server? I use third party hosting through bisecthosting and want to add some cool mods from curseforge that comes in zip files instead of a regular jar file

zinc flint
#
ModelAsset.getAssetMap().getAsset("Cow")

How do I get the model for the Cow properly. Do I need specify the exact path?

summer sapphire
magic totem
civic zephyr
#

You don't have to specify, if the model loaded is called "Cow" then its fine

merry geyser
#

@civic zephyr Thank you for the help i have finished what i was making

vale thorn
lethal bough
#

Has anyone created a utility yet to allow colorized messages

IE: &e&lHello &b&lWorld

zinc flint
civic zephyr
late girder
#

Selector.selectNearbyBlocks(origin, radius, collector);

why does this select a 4x4 area if my origin is at 0,0 and radius is 2? I thought it would select a 5x5... Instead it selects a 4x4 and the center is not at 0,0

merry geyser
#

Is there any way to test things across multiple players alone?

winter barn
#

imgur / CLjLi2f.png

civic zephyr
zinc flint
uneven tide
#

bruh I keep trying to send code and it gets blocked for advertising (I am not advertising anything) 😭

late girder
tardy tartan
#

Would there be a way to assign a tag to a block set with the asset editor, and then call on that tag in a plugin?

zinc flint
#

ModelAsset/LiveStock/Cow

civic zephyr
#

The model might not be loaded yet

zinc flint
civic zephyr
#

Other way around?

zinc flint
#

Should I load my configs at a later stage?

civic zephyr
#

Why not just load the model when you need it?

zinc flint
#

Yep could do that

tough basin
#

has anyone figured out how to apply an effect like poison to the player?

knotty cypress
#

guys evryone got issues when he tring to join any server ?

civic zephyr
# zinc flint Yep could do that

If you still want to store assets or something for the future, the asset maps are loaded after BootEvent which is a regular IEvent

finite dew
#

Does anyone know the blocks that get destroyed from a boomshroom when it explodes is there any way to get the blocks impacted by the explosion ?

knotty cypress
quartz bane
#

can someone share the doc link again Hypixel_BigShy

knotty cypress
#

?

zinc flint
#

hytale-docs dot com

north current
#

hytalemodding dot dev better imo

zinc flint
#

Oh yeah there's that too.

knotty cypress
#

no im asking if evryone like my or not

tough basin
#

im just trying to get one of my perks working, and im not good enough at java yet to read the hytale api and see what to do but im working on it 😭

balmy comet
#

@spark escarp

steel rose
# tough basin bump

I'm assuming it'd be Player->LivingEntity.getStatModifiersManager().applyEffectModifiers(...vars)

charred cloak
#

Would anyone mind trying to join my server to help me test a mod im making? Should be pretty quick ~3 mins

gentle fjord
#

anyone know how to fix a set of corrupted server files? world loads but the chuncks fail to load during the joining process?

tough basin
charred parcel
#

has anyone figured out hot to use player.getPageManager().openCustomPageWithWindows()? I figured out how to open windows and how to open ui pages but with this method it only opens the ui page i give it without the given window.

steel rose
tough basin
#

oh i see

tough basin
finite dew
#

Anyone knows a way to cancel the explosion from boomshrooms ?

rotund yew
#

Hi, Does anyone know how to create my own ZonePatternGenerator or for example how to create a world consisting of one of my unique zones?

civic zephyr
tardy tartan
#

how would I go about referencing tags I've applied to a block set?

finite dew
stoic plaza
civic zephyr
verbal ledge
#

does the api have an enum with all the blocks in the game?

royal mural
#

in what folders i put the images used inside a .ui?

civic zephyr
#

In Block_Explosion there is:

"BlockDamageRadius": 5,
#

And one for Entity Damage Radius

#

Could make a new interaction which is a copy of this one, change the block damage radius to 0, then in your boomshroom override you change the interaction asset to your custom one

civic zephyr
finite dew
#

I guess that works but would disable the damage everywhere in the world would just like to disable it in certain areas

steel rose
# tough basin LivingEntityEffectSystem.canApplyEffect() perfect:)

This might also be helpful

      EffectControllerComponent effectControllerComponent = (EffectControllerComponent)store.getComponent(ref, EffectControllerComponent.getComponentType());

      assert effectControllerComponent != null;

      EntityEffect effect = (EntityEffect)this.effectArg.get(context);
      Float duration = (Float)this.durationArg.get(context);
      effectControllerComponent.addEffect(ref, effect, duration, OverlapBehavior.OVERWRITE, store);
      context.sendMessage(MESSAGE_EFFECT_APPLIED_SELF.param("effect", effect.getId()).param("duration", duration));
civic zephyr
civic zephyr
tough basin
ripe nymph
#

Hey ! Idk if it's the right channel for this kind of question :
I'm using a self hosted server, I configured it and it's working. I tried to add mods and I found this syntax for the config.json file, but is there any other solution ? Because writing it for each mod looks awful
"Mods": {
"Buuz135:AdminUI": {
"Enabled": true
}

late girder
#

how do I make a world generator that generates ONE floating island in the void with a set size? can I do that somehow?

civic zephyr
ripe nymph
#

If I don't write it, it's like they doesn't exist, or they're not enabled

civic zephyr
stoic fox
#

Hi guys. Does anyone know how to add custom components to entities, items, etc.?

sweet crystal
#

how do I force-update an asset?

ripe nymph
open herald
#

hello!!

#

how can I activate voice-chat on my server?

mellow tendon
open herald
#

I saw a demos, I know that's developing

civic zephyr
#

Theres no voicechat in the game

#

What you saw was probably a mod using an external app or something

open herald
#

oh, okay thanks!

mellow tendon
civic zephyr
#

They might be

open herald
#

When will be available?

mellow tendon
#

don't know how much truth in that

mellow tendon
#

"when" is not even a question so far

finite dew
civic zephyr
#

Of the boomshroom

#

Where it says "Block_Explosion" in the interaction just replace it with your custom one

finite dew
civic zephyr
ripe nymph
#

Also I found out that my .jar mods are seen, but not .zip mods

calm robin
#
        HytaleServer.get().getEventBus().register(PlayerMouseButtonEvent.class, event -> {
            LOGGER.atInfo().log("opa1");
        }```

Is there a problem with my click event? I'm trying to click on an NPC, but the event simply isn't triggered.
civic zephyr
calm robin
#

Ah, ok.

Is there any way to make clicking on an NPC work?

civic zephyr
#

And you don't have to register events like that just call

getEventRegistry()

In your javaplugin class

civic zephyr
calm robin
#

Yes

civic zephyr
#

Hitting them?

tough basin
bright wagon
#

Has anyone had any luck with renaming an item via the API?

calm robin
bright wagon
#

Or change it's description. It needs to be player-specific though

civic zephyr
steel rose
calm robin
tired hare
#

I understand registering abstract commands but how could you set that command to execuute a console command? Or just run a console comman for ex: /give through code?

civic zephyr
#

You can't use the Use/Interact interaction?

calm robin
civic zephyr
#

F key

gritty rock
#

Please 🙏
please, can someone help me?

i can't get it to save the changes to config.json and update the changes when i click "save" in the ui.

finite dew
civic zephyr
calm robin
civic zephyr
calm robin
#

Ok, thanks

wicked mauve
#

hey hey, how could i fix this? .-.
"[InteractionChain] Attempted to store sync data at 0. Offset: 2, Size: 0"

civic zephyr
wicked mauve
#

i did nothing, i installed normal server and play since some hours, now i cant break anything cause its lag 😅

civic zephyr
#

Do you have any plugins installed?

wicked mauve
#

Ahh yea, im using an plugin to create an infinity water source .-.

kindred vapor
civic zephyr
#

Try removing it

wicked mauve
#

will this remove currently placed water?

civic zephyr
#

Im not sure what you mean

wicked mauve
#

forgot an word to write

bright wagon
civic zephyr
cunning mist
#

Good afternoon, I apologize for the poor translation, I'm using a translator.

I'm trying to create a server, currently the lobby, and I'd like to know how to make the portals work and take you to a match? Is there any documentation on how to create assets or how all the commands work?

civic zephyr
wicked mauve
#

Thank you, i will try it!

civic zephyr
sinful storm
#

I am baffled maybe missing the obvious, but how do you get yourself to a new world you just added to the server files?
I did everything then I was like where's the command to warp to it lol

lucid spire
#

whats the difference between addWorld and makeWorld?

civic zephyr
bright wagon
sinful storm
spark karma
#

Did you manage to solve this?

bold rapids
#

Please someone tell me where are the docs on the API

wooden adder
#

I found a website but im not sure if it's good? it's HytaleDocs First link

simple thunder
#

is there a way to load items and languages from a plugin?

dusty venture
bold rapids
#

Then how do people create plugins

dusty venture
#

by reading the decompiled source code

bold rapids
#

😭

signal needle
#

lol

fallen nest
# bold rapids 😭

It is unobfuscated and has local variables preserved, so it isn't as bad as it seems.

rose atlas
#

they got FNAF 1 working in hytale

dull thunder
#

Is there a way for a Group to just adjust height to the items in it automatically?

fallen nest
tawdry narwhal
#

Is there a server reload command so that every time the plugin updates, I don't have to stop and restart it?

simple thunder
#

is there a way to load items and languages from a plugin?

dull thunder
cold birch
lapis ravine
#

Does anybody have some code to teleport between worlds? I just can't figure it out

turbid carbon
#

Hey, there's a list of all items ID and all mobs ID to use them on plugins?

boreal mist
#

Good evening guys, I'm creating my own server on Hytale. Right now I have two worlds, one flat and one default, on different instances. I just managed to connect the portals via a mod to move from world to world. Question: How do I set up the hub in the flat world and, while I'm in the default world, doing /hub takes me back to the flat world?

old quest
#

Has anyone else noticed that after the latest update some players can’t join servers until they reset their skin?
We’re seeing cases where the connection fails, but as soon as the player presses Reset Skin and reapplies it, they can join normally.
Anyone else experiencing this?

simple thunder
wise briar
#

Is it possible to listen to Hide HUD events by the player (F8) ?

kind heart
#

Hi everyone, can anyone tell me how to get World from setup to access ComponentAccessor<EntityStore>

civic zephyr
#

Im not really sure what you mean by the question

supple pumice
stable maple
#

👋 I'm looking for testers for my new AI NPCs plugin (using LLM/MCP), anyone interested? I'll be releasing a first testable demo this week.

#

(the JAR file will be open source)

crystal swallow
#

Hello everyone 🫶🏽

I’m building a fan site for the game, but I’m running into some difficulties when it comes to tracking bugs and fixes. Does anyone know if there is an API or a similar source that provides this kind of information?

Thanks in advance!

tidal prairie
#

how can i reported bug ?

supple pumice
stable maple
azure violet
#
            player.sendMessage(Message.raw("item id: " + itemId));
            CombinedItemContainer combined = inventory.getCombinedEverything();

            int total = 0;
            
            for(int i = 0; i < combined.getContainersSize(); i++){

                for(short j = 0; j < combined.getContainer(i).getCapacity(); i++){
                    ItemStack item = combined.getContainer(i).getItemStack(j);
                    if(item == null) continue;

                    if(item.getItemId().equals(itemId)) total += item.getQuantity();
                }
            }
            player.sendMessage(Message.raw("total: " + total));

have i missed something about this? Its suppsoed to find the amount of itemId that the player has on them in the current moment

merry geyser
#

Is the op permission also op when using this.requirePermission(); in a command

crystal swallow
supple pumice
velvet prism
#

how do i register a RefSystem in my plugin?

velvet prism
granite notch
#

Hi, I'd like to create a learning plugin where, when the player types /mob, it generates specific mobs around them. Does anyone know where I can find this documentation?

hollow bane
#

Is there a way to perform commands as a player triggered by my plugin

#

Like simulate that the player has performed it

merry geyser
#

if possible it is propably in the CommandContext

weary jackal
#

How do you increase the memory on a Hytale server?

sour solstice
#

can anyone help me test my skyblock plugin?

velvet prism
weary jackal
cunning mist
#

Good afternoon, I apologize for the poor translation, I'm using a translator.

I'm trying to create a server, currently the lobby, and I'd like to know how to make the portals work and take you to a match? Is there any documentation on how to create assets or how all the commands work?

sour solstice
#

you can do commands dump in the console

willow idol
#

What would be the best way to find out if one mod causes issues for others?

silver bronze
#

Is there really no hytale server downloader for arm? :(

sinful storm
#

I generated a world on my test server (which is a copy of the main one), moved the generated world to the main install worlds. And the world fails to load on boot (its not the defeault one), is there something that did wrong that jinxes it?

late girder
#

how do I create a void world through code? universe.addWorld("world-name", "void", null); is deprecated

edgy sinew
grizzled cedar
#

How can i make configs?

sour solstice
# late girder how do I create a void world through code? universe.addWorld("world-name", "void...
                .thenAccept(world -> {
                    if (world == null) {
                        plugin.getLogger().at(Level.SEVERE).log("Failed to create skyblock world!");
                        return;
                    }

                    plugin.getLogger().at(Level.INFO).log("Skyblock world created successfully!");

                    HytaleServer.SCHEDULED_EXECUTOR.schedule(() -> {
                        setWorldWeather(world, "Zone1_Sunny");
                    }, WORLD_READY_DELAY_MS, TimeUnit.MILLISECONDS);
                })
                .exceptionally(ex -> {
                    plugin.getLogger().at(Level.SEVERE).log("World creation failed: " + ex.getMessage());
                    return null;
                });
    }

This is how i get my world, however it may be deprecated but i dont think there is another way currently, it still works, might just have to be re-written at some point

green yoke
#

Thanks to whoever made fernflower man

gloomy stream
#

If someone were to make a mod updater that works with jar / zip files for servers that would be amazing

rigid musk
#

I'm using the PlayerRef#referToServer method, but is there a way to customize the loading screen in server-side ? I know it's possible from client-side to customize this, but what about the server ?

brittle pollen
dusky sable
#

I'm using AbstractCommandCollection to register a command and subcommands, but is it possible to make the base command also do something when executed?

turbid carbon
#

It's possible to attach a player command when clicking an Entity created by Entity Tool?

viscid wren
#

It will tell you the answer and guide you how to compile it

velvet prism
viscid wren
viscid wren
heady cedar
#

Is there a way to see all the info attached to a block ingame? Tags etc anything else?