#dev-general

1 messages · Page 52 of 1

slate elk
#

What already can be that custom

#

Some crazy UI animations

pastel imp
#

When you have the money, who tf cares about the cost

slate elk
prisma wave
#

it looks more professional

nocturne apex
#

and authentic

slate elk
pastel imp
slate elk
#

U literally can move texts add texts

prisma wave
#

sure

#

and wix is fine for a lot of people

#

if you're on a low budget

nocturne apex
#

what abt custom backend tho

#

for websites

prisma wave
#

if you can afford $2500 on a website then $2500 is worth it

#

true

nocturne apex
#

isnt wix most likely for static websites?

pastel imp
#

We are not even speaking about individuals buying a website, it'a companies lol

nocturne apex
#

I mean they may have some features

slate elk
#

Backend is easy to make

pastel imp
slate elk
#

And Shopify for shops lol

prisma wave
#

maybe tesla should just use wix & shopify too then

slate elk
#

Anyway idk I won’t charge people 2500$ for a website it’s insane price

#

It’s literally a scam price

pastel imp
#

💀

nocturne apex
#

this is literally the regular price

pastel imp
#

I can't believe bro actually lives in the real world

nocturne apex
#

in lower category

slate elk
#

I’ll make u websites for 600$

#

Find me work

#

Keep the rest

prisma wave
ocean quartz
#

There is so much that goes into the price of a website, how big the pages are, what functionality they need, are you providing your own graphics, are you the one hosting it, are you the one setting up the hosting, does it need backend, shop, gallery, etc, you can't just say 2500 is too expensive or 200 is too cheap

pastel imp
#

Maybe you are

slate elk
#

U just add domain and host fee

#

Same as tax above price

pastel imp
#

And they pay a flat fee per month for maintenance and host

#

I don't think you have any knowledge on the business world lol

#

In this matter

slate elk
#

I do run a business

#

Not a Minecraft server

pastel imp
#

We are not speaking about minecraft

slate elk
#

Monthly revenue is 30k €

wintry plinth
slate elk
#

It’s not a lot but 4 employees company

pastel imp
#

Lmao

ocean quartz
#

Some people will charge less because they just use a template they made and change things to fit the client
Might as well use something like squarespace
But if you want something custom then you need your worth
On minecraft terms, it's like a plugin, if you sell it on spigot 10€ is fine but the same plugin as custom to a client could be 1000€

slate elk
wintry plinth
#

Homophobic?

ocean quartz
#

Lol what

potent nest
#

wtf

pastel imp
#

Lol wtf

wintry plinth
#

For reference, I am a straight man, but thats homophobic lol

nocturne apex
#

so first of all. Boy is spreading absolute garbage over here, tries to tell that web devs are charging way too much, even tho the pay is sometimes lower than 20$/h and now he's just flexing.
Sorry, but you are an absolute dummy in here. You got absolutely random arguments that do not make any sense and basically just triggering whole community

pastel imp
#

What in the world does that have to do with anything

slate elk
wintry plinth
pastel imp
#

Just straight homophobic?

pastel imp
wintry plinth
slate elk
#

It’s a question

pastel imp
#

This guy is just trolling I swear

slate elk
#

Why it makes u so angry

nocturne apex
#

yea

ocean quartz
#

What if he was part of it?

slate elk
#

Nah Afonso

prisma wave
pastel imp
#

Wasn't he banned already once?

chilly zenith
#

=mute @slate elk global

compact perchBOT
chilly zenith
#

lol

pastel imp
#

I recall him being banned

#

Idk

wintry plinth
#

thank god

nocturne apex
#

LOL

pastel imp
#

Tf

nocturne apex
#

that was a mute speed run

pastel imp
#

This was the most random thing I have seen today

nocturne apex
#

yea

#

I feel like meeting donald trump fan

wintry plinth
#

So apparently I look like a Woman I guess?

prisma wave
#

😭

#

only women design websites

nocturne apex
#

xDDDDD

pastel imp
#

According to tony

#

Lmao

ocean quartz
#

Probably will go to a different discord to complain about the mute from this .. leftist server and its .. shuffle cards .. lgbt agenda

nocturne apex
#

rip Chazza 😦

pastel imp
#

I swear this guy was already banned once

#

But someone unbanned him

#

I am like 97% sure

#

(Those 3% though)

nocturne apex
#

Afonso?

agile galleon
nocturne apex
#

random question

agile galleon
nocturne apex
#

wanna work for me? kek

agile galleon
#

What just happened

pastel imp
#

What do ya need

nocturne apex
#

mc dev

#

for Aquatic

pastel imp
#

Hmmm

#

DM me all the info

wintry plinth
agile galleon
#

Where would you get clients that pay 2,5k though lol

nocturne apex
#

if only my gf was not here

#

shes just sleeping

pastel imp
wintry plinth
#

oof

nocturne apex
#

otherwise I would join

wintry plinth
wintry plinth
nocturne apex
#

7PM

#

Ive just woken up btw

#

xDDD

#

Ive been really tired

pastel imp
#

Oof

agile galleon
#

I love how we went from questioning 2,5k for a website, over homophobia and a mute to hiring Afonso lmao

pastel imp
#

LMAO

wintry plinth
#

What a journey 😂

pastel imp
subtle fulcrum
#

Do any of you know a little about Blockbench? I'm trying to put in a custom model into minecraft but for some reason my custom models texture isn't appearing only the model and the textures on my model in game are just the missing textures texture

distant sun
prisma wave
#

🤨

winter kayak
#

До слободы доеду?

little sandal
stable zephyr
#

i get $150 per website -.-

#

for both of wordpress and fully costumn

#

huh

#

what

#

ok i see

#

guy just dont know how to say swear various badwords to such proposals xD

#

okay, i gues thanks for advice. I know both, just dont bring it to the table.

#

hmm

stable zephyr
#

busines dont need someone who makes website, they need someone who doesnt cause problems with website, and someone who can contact if snibby snap apens and get it fixed in 5minutes or so no mater how

#

so the same person must know: costumer support (they need to understand, ask required questions, fix folowing problem in seconds), seo, sofware enginering, coding knowledge.

#

what you shud expect from costumer:
in nutshell: he has 2 hours to get website up before his busines opening

#

What costumer expects you to say: "I will do this in hour" "I finished"

quiet depot
#

anyone got any ideas on how to diagnose why my disk read speeds are like 400KB/s on an openvz vps

#

host says nothing wrong on their end, but I can't just download everything important and reset the vps because of the slow speed

oblique heath
#

i feel like there are very few cases where a disk that slow is your fault

#

i cant think of anything that isnt the hosts fault

quiet depot
#

yeah fak

#

that's annoying

oblique heath
#

ask the host if they can assist you in copying the data off your drive

quiet depot
#

will give that a go

misty sorrel
flint crow
misty sorrel
pastel imp
#

what in the fk

#

any ideas what could be wrong?

#

chatgpt not useful

#

(I have no fking idea tf he is on about)

rotund egret
#

Says it can't find java 17

ocean quartz
#

Cannot find a Java installation on your machine matching this tasks requirements
Aka skill issue

ocean quartz
pastel imp
#

yeah my exact question lmao

pastel imp
#

lol

#

and java home variable is set

crude cloud
#

chatgpt not useful
why would it be..?

#

it's literally a bullshit generator

#

it's your phone's keyboard "next word" suggestions but on steroids

forest pecan
#

Also ChatGPT is probably the worst ai for generating code lol

#

The best I’ve used is Copilot but it’s shit tbh too

#

Only good for doing some trivial tasks here and there

pastel imp
#

not generating code

#

trying to find issue with gradle error lol

rotund egret
#

Wanted it to read one of two sentences to you

wintry plinth
pastel imp
#

so you technically require 2 subscriptions

#

but yeah, I have heard a ton of good stuff about cursor

wintry plinth
#

I just pay for cursor and that’s it ($20/mo)

pastel imp
#

so only need that?

wintry plinth
#

Yes

pastel imp
#

do they have a jetbrains plugin?

wintry plinth
#

No

pastel imp
#

VSC 😭

#

god

prisma wave
#

i'm always incredibly sceptical of apps where it's just a fancy frontend around an existing model

cerulean ibex
#

alternatively iirc theres a gradle property that you can set to tell it about additional toolchains like ones installed by ij

wintry plinth
foggy pond
#

i HATE hate HATE when gradle is slow and stupid and takes ages to see that the dependencies changed

cinder flare
#

have you tried pressing the button in intellij that reloads it the second you change the build.gradle

foggy pond
#

Yep

#

Invalidate caches + restart, restart laptop

#

All it takes is for me to walk away like 20 minutes and it will have woken up

cinder flare
#

that's really weird, mine is always basically instant

#

never had any problems with out of date gradle stuff

foggy pond
#

I've had that issue on two laptops I've developed on

#

What's weirder is that even typing gibberish in the build.gradle, and refreshing, it doesn't complain

#

It's just like
"hmm, looks about right 👍" and goes on with its day

cinder flare
#

what operating system are we talking here

foggy pond
#

Both Windows and MacOS

cinder flare
#

ssd?

foggy pond
#

Now I am on MacOS

#

I think SSD? Not completely sure tbh

remote goblet
#

about 30% of the time for me gradle is a bitch but that's often because it's a large project, paperweight moment or i shut down intellij while it was doing something

cinder flare
#

huh yeah weird, gradle is pretty rock solid for me tbh

foggy pond
#

This project has two classes 😭

cinder flare
#

just normal windows + ssd and everything

foggy pond
#

sounds about right 👍 I can totally find those dependencies

cinder flare
#

if you do it from cli does it work?

foggy pond
#

cli?

cinder flare
#

command line?

#

like if you open Terminal.exe and use gradle there?

foggy pond
#

I've never done that tbh

#

What am I meant to do

cinder flare
#

what lol

foggy pond
#

I've never used gradle in the terminal

#

or I mean, the IDE terminal yes

#

What command am I meant to run though

cinder flare
#

./gradlew build or something

foggy pond
#

Ahh there you go there is an error now

#

Something about my JVM being on 17 instead of 21

#

magically it worked

#

Well thank you haha

cinder flare
#

yea don't be afraid to use the cli lol

#

that's really what IJ calls just in the background

rotund egret
#

Which if you're keen at looking at certain logging in the IDE you'll actually see the commands it's running

mystic condor
#

hello any support online?

jagged axle
#

how to config gsit stop siting in players ;-;

lavish notch
mystic condor
compact perchBOT
#
FAQ Answer:

Looking for discord support?
HelpChat is a Minecraft plugin and development support server and is not affiliated with discord in any way.
If you require support from discord, we recommend you to visit their official support website at https://support.discord.com
On this website, you can read their FAQs, or open a support ticket if necessary.

lavish notch
long dagger
#

Made this mobile design for a app to track golf putts, not exactly in love with the colors and the slider looks funny, what do you think? (the functionality will be explained to the user elsewhere) (should this go in #off-topic?)

mystic condor
#

therefore I require a support admin mod to unmute me

foggy pond
#

You guys recon if I have some form of currency on my server, that if it is physical I should write an anti-dupe system?

pastel imp
#

yes.

remote goblet
#

is that a real question

foggy pond
#

Yeah it is

#

I know Paper patches them already

#

But idk if it is enough

distant sun
#

Do players withdraw the currency as an item, or is it always an item?

#

Because for withdrawal I would assign a serial to each item and keep a track for the active and redeemed items

pastel imp
#

yup

distant sun
# foggy pond I know Paper patches them already

Yeah, it patches the vanilla bugs, but not those caused by plugins. I remember once someone duplicated some items because a plugin didn't cancel all inventory movements, and players could put items in their off-hand.

foggy pond
wind patio
#

Yeah well thats how I do it with my voucher module

#

You create an item, assign a pdc value with a generated UUID and save the same UUID (and other related voucher data, such as type) in the database. Even if the players somehow managed to dupe the voucher item, the database is checked if its valid and not redeemed.

pastel imp
#

anyone knows the name of that one config library that starts with D and ends with Conf?

prisma wave
#

is it DConf

#

DeezConf

pastel imp
#

.-.

#

bruh

#

although kotlin config libraries recommendations are also accepted

ocean quartz
#

Kotlinx serialization

dawn hinge
pastel imp
pastel imp
rotund egret
#

Configurate

devout wave
#

Looking for Minecraft Model Artists. DM me portfolios.

devout wave
#

uh sorry

valid pollen
#

do you guys know if its possible to alter textures/texturepacks while the server is running?

Im trying to change the appearance of the moon

brazen ether
#

🗿

brazen ether
#

well yea

#

but players need to rejoin iirc

valid pollen
#

Maybe a cheesy workaround?

brazen ether
#

you need to just send a new resourcepack to the players

valid pollen
#

Yeah

#

Alr ty anyways

ocean quartz
pastel imp
#

they just need to reload textures

ocean quartz
#

It reloads automatically

pastel imp
#

recommend creative central for resource pack management

#

ngl

wintry plinth
#

You can send a packet I believe to force download it again

ocean quartz
#

Pretty sure Paper has API for it

pastel imp
#

yes

wintry plinth
ocean quartz
#

Player#sendResourcePacks part of adventure

valid pollen
#

nice!

#

and thats player spesific right? so it only does this for 1 player?

ocean quartz
#

Yeah you can do it per player

valid pollen
ocean quartz
#

Yeah

valid pollen
#

Is their a workaround for this

ocean quartz
#

Probably not

valid pollen
#

Im guessing not right

ocean quartz
#

Not without any client side mod at least

valid pollen
#

Yeah

#

Alr ty!

#

Btw only client side then right?

ocean quartz
#

Uh wdym?

valid pollen
#

Uhh i mean like could you use like how optifine and stuf runs so trough the launcher yk?

distant sun
oblique heath
distant sun
#

javascript

oblique heath
#

a makes sense

cinder flare
#

It's as simple as possible, you just define a kotlin data class hierarchy and it will create it from whatever format with beautiful error messages

rotund egret
#

No annotations? Wow wow

cinder flare
#

nah who needs annotations

ocean quartz
#

@pastel imp Imagine not doing

screenManager += Screen(..).apply {
  addComponent(...)
}

😔

#

Or even better

screenManager.screen(...) {
  component(...)
}
pastel imp
#

also +=???

#

what in the world

#

was updating it to be smt like this

#

but guess there is even better lol

ocean quartz
#

Kotlin allows you to use operators, for example operator fun get(key: String) and then be used as something[key] or operator fun plus(other: Int) then something + other
As for apply it's a built in function that takes the variable as this so for example

val variable = ...

variable.something(..)
variable.something(..)
// rewritten as
variable.apply {
  something(..)
  something(..)
}
ocean quartz
#

Basically just

fun screen(instance: Instance, player: Player, block: Screen.() -> Unit) {
  Screen(instance, player).apply(block)
}
cerulean ibex
#

but yeah pretty much lambdas can have receivers so they're pretty much methods

pastel imp
#

hella cleaner, now time to add components, just gotta figure out how... 1s...

ocean quartz
#

Screen.of sadge

#

Also incase you didn't know, when adding to a list you can do list += value instead of list.add(value)

pastel imp
ocean quartz
#

screen(instance, player) as a top level function

pastel imp
ocean quartz
#

You can yes

pastel imp
#

idk if this is the best of doing it ^^

#

First time actually trying to do a proper library lol

pastel imp
pastel imp
ocean quartz
#

Yeah :')

pastel imp
#

lol

#

how does internal functions work?

ocean quartz
#

It's just an access modifier
public - available everywhere
internal - only available for current module
protected - only available for inheritance
private - only available for current class

pastel imp
#

or do I need a companion object for that?

#

either way, thank you for showing me this. Will probably use it a ton lol

#

probably gonna repeat the same thing for components themselves since they can be quite complex

rotund egret
#

I love dumb Kotlin magic RAAAA

prisma wave
pastel imp
prisma wave
#

normal functions are generally more idiomatic fwiw

brazen ether
#

@pastel imp u should be original and make a font & shader based UI lib

sweet cipher
agile galleon
#

Holdon Afonso using Kotlin?

#

Or was that another guy disliking Kotlin every time it came up?

cinder flare
cinder flare
#

@wooden dune It looks very solid to me! Love the kotlinx.serialization stuff. My only real recommendation would be to maybe look into a command framework? Looking at your two command files, so much is just validation and getting the raw string in the right format. I personally love https://github.com/Revxrsal/Lamp, as it makes this kind of command stuff as simple as it could possibly be.

pastel imp
pastel imp
#

Gotta say Matt, larkyy, brister and others have helped me in the transition a lot

rotund egret
#

Kotlin users rise up

cinder flare
#

it's all the Java I spent years learning, just so much nicer

#

I only wish there were more things to use it for, kinda sadge to have to go back to like TypeScript for frontend and like Laravel/Django for a mature backend

pastel imp
#

Why does no one make a way to use kotlin for front end xD

rotund egret
#

Kotlin/Wasm Kotlin/JS

#

smh

cinder flare
#

I mean you just can't unless you use WASM, but that has a lot of downsides right now

pastel imp
#

Like, you write it in kotlin and it compiles to html or whatever

cinder flare
#

oh I mean that literally exists lol, kotlinx.html or whatever

pastel imp
#

Oh lol

cinder flare
#

just doesn't really compare to like React or Vue in any reasonable metrics

pastel imp
#

Normal

rotund egret
#

Just use React or Vue in Kotlin :^)

pastel imp
#

I mean, no one has lost the time to do it yet.

cinder flare
#

haha, yeah when is someone going to write the Vue template parser but for kotlin

#

my dreams come true 😍

rotund egret
#

React has one I think, vue would be interesting

cinder flare
#

I mean to be fair, the best part of Vue is that the templates are fully valid XML, so like theoretically you should be able to just use that with custom attributes in kotlinx.html

#

but also a lot of the niceties come from the compiler and doing it that way forces you to bundle the compiler and have the browser render/compile stuff on the fly

#

Plus you still have to use like vite to bundle your JS 😭

ocean quartz
pastel imp
#

Lol

#

Kotlin taking over

agile galleon
cinder flare
#

with kotlinx.html iirc

ocean quartz
#

Compose currently only works with WASM

agile galleon
#

Oh but you write html with that

#

Right?

ocean quartz
#

Nope

cinder flare
#

with what lol

#

kotlinx.html is a kotlin DSL for html

cinder flare
#

like a serverside templating language

agile galleon
#

Oh that's cool

#

When kotlinx.html + Laravel lmao

ocean quartz
#

You can even do the css in Kotlin but I thought that was a bit much

wind patio
#

stop kotlin'ing everything for the love of god 😩🙏

#

kotlin as a dbms when

cinder flare
#

somebody rewrite that java graph database in kotlin right this instant

pastel imp
#

cause switching between 2 menus (screens) could be hella funky

ocean quartz
pastel imp
#

so better have a single screen that can display several menus/tabs

ocean quartz
#

Aka inline fun screen instead of just fun screen

pastel imp
#
screenManager += screen(instance, player) {
    size = Size(10.0, 10.0)
    center = Pos(0.0, 44.0, 2.0)
    tabs {
        tab("tab-1") {
            components {
                component(Component(instance, Pos(0.0, 42.0, 0.0), 10, 10))
                component(Component(instance, Pos(0.0, 42.0, 0.0), 10, 10))
            }
        }
    }
}
#

does this look decent?

ocean quartz
# pastel imp what does that do?

It inlines the content instead of executing it, let me give you an example:

fun test(block: () -> Unit)

println("hi")
test {
  println("there")
}

This would turn into something like

val block: Function1 = ...
println("hi")
block.invoke() // prints there

While if you have

inline fun test(block: () -> Unit)

println("hi")
test {
  println("there")
}

It'll turn into something like

println("hi")
println("there")

There is no function, it gets "inlined"

pastel imp
#

hmm I see

#

ty

sweet cipher
cinder flare
#

same as adding a ball to a bag to hold it makes sense, sure they're two different things but they do different things as well lol

#

and like, in Java, it would likely just be screenManager.add(Screen), so like, this is just a cuter way of doing it

sweet cipher
#

Idk it just doesn't look right to me

sweet cipher
#

Adding something to a collection is different than adding two things together

ocean quartz
#

Think of it this way

var number =  // number is 0
number += 1 // number is now 1

val list = mutableList<String>() // list index is 0
list += "Hi!" // list index is now 1
#

Same would apply to the screen manager

#

You're adding a screen to the manager

cinder flare
#

yeah like I was gonna say, a fair amount of langs just have the + operator add to collections

#

Python, Kotlin, C#, etc.

sweet cipher
#

But using += changes the variable itself for number, while it mutates internal data for list

sweet cipher
#

But still feels weird idk

cinder flare
#

I mean that's literally what this is lol

#

I think you're just too Java/C-pilled to realize the possibilites out there

ocean quartz
#

+= mutates the value, we're talking about a mutable list therefore it mutates the list, makes perfect sense to me

sweet cipher
#

I use Kotlin

cinder flare
#

And you haven't used any of the operator overloading in the standard library collections?

sweet cipher
#

I have

cinder flare
#

So what's the problem then lol

sweet cipher
#

It just seems weird using += on two unrelated types

#

I'm not saying not to use it

#

I'm just saying it seems weird lol

cinder flare
#

I mean yeah I think you're just too used to Java/C

ocean quartz
#

They aren't unrelated though List<String> += String or ScreenManager (Manager<Screen>) += Screen

agile galleon
#

What does screen += screenmanager do?

ocean quartz
#

Nothing

cinder flare
#

It doesn't

agile galleon
#

What

cinder flare
#

what do you mean "what" lol

agile galleon
#

Ah you it was used the other way around sorry

cinder flare
#

you define binary operator overloads with a left-hand-side and a right-hand-side, and the types have to match

#

it doesn't have to be commutative like mathematics lol

agile galleon
#

Just functionally, what does it do

cinder flare
#

the correct one adds a Screen to be managed by a ScreenManager

agile galleon
#

Then that makes sense

ocean quartz
#

Depends on how you implement it, but for example screenManager += screen adds a screen to the manager

agile galleon
#

So it's literally like adding a screen to a list but the list is fancier and does more stuff

ocean quartz
#

Yeah

cinder flare
#

that's the thought process yea

agile galleon
#

Well then I don't see an issue with it

#

Maybe fisher got the wrong idea

cinder flare
#

nah they just like the mathematical definition of these operators

ocean quartz
#

I get what fisher is coming from, += feels like it's mutating the variable, but in this case it's the value

sweet cipher
#

It just seems like it might not be clear for someone reading the code what it would do.
It's obvious that number += number would change the original number.
But list += element could mean list = new list consisting of list and the element
Whereas list.add(element) is much more obvious.
That's just off the top of my head, I just feel like it makes more sense to add related things together,
because adding to a collection is different than adding two collections together.

#

But that's just my opinion

agile galleon
#

I mean it's mutating the value either way, no?

cinder flare
#

So that ambiguity doesn't really exist I think

agile galleon
#

Yeah

cinder flare
#

But yeah it's just a matter of following the convention of the standard library, where they already have those overloads for like every collection, so if you are used to kotlin, it makes a lot of intuitive sense

agile galleon
#

int1 += int2 doesn't set it to int2

ocean quartz
#

list += list also works, the same way list has addAll, both still make sense to me

#

I get that it may be harder to read if you are coming from the perspective that the += operator only has a single function, but kotlin allows operator overloading, you should always look at it from a perpective that it can have a different behaviour than the most obvious

sweet cipher
#

I'm not saying it doesn't "make sense", I'm just saying it feels weird

agile galleon
#

But I think this will lead to nowhere. No matter how much sense such things make, if somebody feels weird about it rationale won't change that :)

ocean quartz
#

And to me list += element adding to the list is the most obvious behaviour

sweet cipher
#

Maybe I'll change my mind at some point who knows

cinder flare
#

yeah it's just a matter of style and the fact that some langs have operator overloading and use it

sweet cipher
#

I've probably used it before honestly because it's there

#

I just feel like it makes more intuitive sence to use it for related things, like position + position creates a new position

#

And collection + collection creates a new collection

#

I guess if I think about it as a shorthand for list += listOf(element) it makes sense

agile galleon
sweet cipher
#

Adding two lists together?

agile galleon
#

Yes

cinder flare
#

bro really likes homogenous operators lol

agile galleon
#

I mean the method in our beloved java is literally called add

#

You add and element

#
  • is addition
#

just my opinion aswell ¯_(ツ)_/¯

pastel imp
brazen ether
#

?

pastel imp
#

I decided to do it like X, I do not have any knowledge with shaders nor do I wanna lose time with it

wind patio
#

kotlin will do everything except be normal

ocean quartz
pastel imp
#

is there a normal?

rotund egret
pastel imp
#

Who in the world 100 years ago thought we would be clicking some random plastic, that would send a tiny signal to a piece of a bunch of metals layed out in a certain way that make 0s and 1s that then are able to calculate stuff, which then humans used to create new forms of languages, to be able to communicate with said hardware instead of 1s and 0s, that follow a certain format, and whatever

rotund egret
#

We need getters, we need setters, we need explicit separate constructors

pastel imp
#

oh yeah, and the chips on our smartphones are better than the ones that launched a man into space

#

how's that normal?

#

that sounds like magic in some way

rotund egret
#

Bros yapping

#

Somehow forgot about local space time context

wind patio
ocean quartz
#

Okay so no answer, got it 👍🏼

distant sun
#

Ngnl some operators are a bit confusing, but in some situations they work very great
E.g. BigInteger > BigInteger instead of BigInteger.isGreater(BigInteger) (idk if this exists, js)

ocean quartz
#

You can use > on BigInteger in Kotlin, but not in Java
Those operators are always present if the class implements Comparable
And even if you couldn't you could just make it an extension operator function

shrewd walrus
lime gate
lime gate
paper stag
#

Does anyone here know how to make fabric mods?

oblique heath
#

im getting deja vu

rotund egret
#

Mixin wee

winter iron
#

anyone here had experience with android and google play console?

placid nexus
#

[DeluxeMenus] Option 'hide_attributes' of item 'jobs_forging_n' in menu 'JobsMainMenuSkillTree' is deprecated and will be removed in the future. Replace it with item_flags: [HIDE_ATTRIBUTES].

crude cloud
#

okay

uncut lagoon
#

damage completely disabled from players

#

any fix?

#

just liike 255 resisstance

crude cloud
#

sir, this is the shitposting channel

hot oar
#

I would love to make plugins but java confuses me 😭

crude cloud
#

are you familiar with any other programming language?

brazen ether
#

watch tutorials on concepts you don't understand

wind patio
oblique heath
#

json

#

i have 6 years experience in csv

#

i founded a company that has a csv backend

#

and an ini frontend

brazen ether
ocean quartz
#

Or you could just post the error and get a dozen of pair of eyes :)

brazen ether
#

don't ask to ask

wind bolt
#

So I'm looking at the test permission function in the command class and I'm wondering does that just check if they're op, or if they actually have the permission defined in the command itself

#

All the documentation says is that it tests the given command center to see if they can perform this command. If they do not have permission they will be informed that they cannot do this.

#

But it doesn't specify whether that permission check is op related or permission node related

#

Also, which executes first, Command#execute or CommandExecutor#onCommand

oblique star
#

is there a mod/way to obtain the base64 (or something else) which allows me to get the head (and its look) just by having the item in my inventory? 🤔

ocean quartz
#

The item's meta will be a SkullMeta which you can use to get the player profile, that has information about the texture etc

oblique star
ocean quartz
#

Uh no idea, skull meta is a bukkit thing

oblique star
#

ah k

dry harbor
#

I wanna get into writing plugins by hand with Java

#

Can anyone give me some pointers to get started by chance?

#

Like, what to download essentially

#

I know people use Intelji and stuff but uhh, I'm not totally up to date on what the best stuff is, so just looking for suggestions

pastel imp
dry harbor
#

Fair enough, thanks!

#

I’ve been using this program called Visual Bukkit for a while

#

So I learned about general stuff that way, when they updated to V6 it actually uses classes and methods and all so it was definitely a learning curve, but it helped me learn how it works a lil bit

pastel imp
dry harbor
#

Literally yes

#

😂😂

pastel imp
#

oh god

dry harbor
#

It works better than you’d expect

#

But uh

#

I’m ready for the real deal

pastel imp
#

good.

#

You can start with java

#

and then join the kotlin club

#

(I fell in love with this sh@... I hate the fact matt has always been right... 😭 )

prisma wave
#

classic

#

every kotlin fan was once a kotlin hater

dry harbor
#

I need to make an extension for a plugin I’m using using it’s API and

#

I can import APIs into visual bukkit

#

Buuuuuut it’s gonna be more worth it to make it by hand

pastel imp
cerulean ibex
#

theyll teach u abt the kotlin curve

pastel imp
dry harbor
#

I've heard a lot about minestom, is there really any benefit besides performance and hyper customization?

#

Seems like a lot of rework to reinvent the wheel, even if the new wheel is made out of titanium

#

(just asking, really don't know much about the benefits)

oblique heath
#

i mean at this point performance is the main concern for a lot of people

dry harbor
#

Fair enough

#

I just wish performance didn't come at the cost of so much sacrifice

cerulean ibex
dry harbor
#

Basically gotta throw away all the stuff on the market and make it on your own

oblique heath
#

minecraft servers only being able to hold a bit over a hundred people is kinda sad

#

it be like that

dry harbor
#

It do be like that

pastel imp
#

that don't require almost anything from vanilla

#

it's when it is easier to implement what you need than to strip away everything you don't need.

dry harbor
#

Gotcha

pastel imp
#

performance comes as an extra in theory xD

dry harbor
#

Intelji downloaded and launched

#

time to get to business

pastel imp
#

There are some people reimplementing vanilla in minestom

dry harbor
#

or time to procrastinate one of the two

pastel imp
#

work in progress but yeah

dry harbor
pastel imp
#

wonder if at the end the performance will be better or not

dry harbor
#

Is there any plugins that might be good for MC development in intelji?

pastel imp
dry harbor
#

kk

pastel imp
#

I guess some type of essentials is nice

#

just make sure u know java

dry harbor
#

yeah defo

#

I seen this one called "Minecraft Development" but didn't know if it was something worth using

pastel imp
#

yeah that plugin is peak

#

although bad for starters

#

cause it removes a lot of the boilerplate regarding gradle

#

and setup

#

you should at least do that once

dry harbor
#

Gotchu

#

So I should be using Gradle as the build system?

#

Idk if that's what you meant like regarding gradle

forest pecan
#

Use Gradle or Maven but I’d choose gradle

#

They are both good Java build tools which you can use but I’d prefer Gradle for my own purposes

#

Though I don’t want to give you a biased view

dry harbor
#

Fair enough, I seen Maven might be better for beginners but yeah makes sense

forest pecan
#

I’d choose Gradle because it’s easier to change back to maven if you learned how it all works sorta

dry harbor
#

I'll give that a go 👍

forest pecan
#

Maven is more of a build configuration and Gradle is more of a build script

#

But of course maven can have scripts and stuff with plugins or whatever so use whichever you like

dry harbor
#

Alrighty sweet

ocean quartz
pastel imp
#

true

ocean quartz
#

Looked into the "kotlin curve" that was mentioned, been using it for 5 years and it has not curved down Shruge
Also found this comment really funny

No, Kotlin goes lower once you have a huge unmaintainable project on your hands
Like this wouldn't be the case in literally every language lol

prisma wave
#

I prefer to understand things first in order to hate more efficiently

ocean quartz
#

Exactly

#

That's why @crude cloud is the best Kotlin hater

pastel imp
#

Lol

ocean quartz
#

True but they also love it, it's a complicated relationship

crude cloud
#

😔

mortal creek
#

I got a question in general

#

How long should servers strive to stay up for (SMP)

twin geyser
#

What if we use the same port for votifer and normal?

potent nest
#

what

twin geyser
potent nest
#

how are you going to do that

lavish notch
twin geyser
#

What difference does it make

lavish notch
#

Oh, you need a separate port from your connection/join (primary) port.

twin geyser
lavish notch
twin geyser
lavish notch
#

For Votifier lol - it's how the server knows that the message being sent is for Votifier.

wind patio
#

well it's like having one door vs two doors.
when players connect to the server, they use 25565 "door", when someone votes for your server, they use the <another-port> "door"
if you have the same port for both, how could you differentiate between a player join and a vote?

brazen ether
#

@lime gate imo u should get rid of the translucent background

#

i'm not sure what you'd replace it with but it just doesn't look good right now. i like the overall project just that one specific detail isn't very pretty imo 😭

lime gate
#

It's hard for me to get rid of it because that translucent background is what started the whole idea, and also because I have no idea what to replace it with 🥲

abstract osprey
#

#showcase message I still cease to understand how people do the cutscenes and particularly the ‘typing animation’ on the dialogues Thonk
Anyone able to enlighten me? I’ve seen it several times

brazen ether
#

you can create a font and then set the elements up down left right

#

and send those elements in action bar

abstract osprey
#

Yeah, I know it’s a resource pack.
I’m more interested in the technicality. I guess it’s just a custom plugin that handles the action bar etc

brazen ether
#

yea so for example you make a few copies of a font at different y values (or u can use new lines but I'm speaking generally here) and then just position them appropriately by moving them left or right

#

same thing for elements

pastel imp
#

can't you use negative spaces?

brazen ether
#

people have created fonts that let you create negative spaces which move the cursor back and forward, allowing for very good lateral sprite movements

pastel imp
#

for up and down

brazen ether
pastel imp
#

so only left and right?

brazen ether
#

up and down has to be hard coded or use the /n character (which is only down)

pastel imp
#

I see

#

I recall there was a way to not use action bars and use the "tooltip" action bar

#

aka when you switch items in hotbar, it displays their name there

#

I recall you could send a packet and display that there too

pastel imp
#

so it would be above action bars

brazen ether
#

or chat

pastel imp
#

not speaking about neither of those

#

but sure

#

xD

brazen ether
#

yea ik

#

I'm just adding on

pastel imp
#

ah ok

brazen ether
#

boss bar is usually the best option tho

#

cause it doesn't break with multiple plugins

pastel imp
#

still have to choose which one I will use on a game I am doing in minestom

#

but oh welp

#

first things first, gotta finish the UI library

#

xD

brazen ether
#

boss bar is anchored higher, action bar is lower

#

shaders allow custom anchoring tho which is cool

#

I used that for my vanilla armorhud plugin

pastel imp
#

I have never used shaders so, not gonna mess with them

#

plus, mojang gonna add actual supported tools to replace shaders

#

so, will wait for those

brazen ether
#

I like how they're leaning into community dev tools

#

they're finally recognizing the people who make their game fun

pastel imp
#

yeah

#

the new system for updates is also part of why that's doable

ancient junco
potent nest
brazen ether
#

yes I should have acknowledged that

carmine blade
#

I edited the plugin's codes, but: com.example:MotionVector.jar 1.0 is missing,com.example:MoverType.jar 1.0 is missing, com.example:KeyBind.jar 1.0 is missing
Can someone help me, please?
Even if I add it as dependency to pom.xml it doesn't work.

patent burrow
#

Outage still ongoing? It isn't

brazen ether
#

tell AI how to cure cancer
then give it 64 tries and 90% of the time itll cure cancer at least once

safe crescent
stone oyster
#

Anybody know java well enough to add database configs to an existing plugin?

potent nest
#

what are "database configs"

distant sun
#

Database with configs or configs with databases, cant tell

distant sun
#

spring challenge 2023 pepe_kek

lunar knoll
#

one plugin of mine, has changed .classes to be a folder, hence i cannot preview it, any ideas how to achieve it?

lunar knoll
#

they are treated as folders

#

the main class looks like this on jar -tf:
Main.class/

distant sun
#

What decompiler have you used?

warm matrix
#

why am i here?

#

nvm

lunar knoll
#

when i do jar -tf <file.jar>

#

i see the all .class being f.e "Main.class/"

#

with d----

#

being a directory

#

i need to revert it

#

do you have any idea how to?

reef maple
#

Hi there, I would like to ask how can I "force" Jitpack to use Maven 3+ instead of Maven 2 when it comes to compiling my plugins ?

On Github and on Intellij, it seems I'm already on Maven 3.9.5. But what about on the workflow/pom.xml ? (POM use maven-shade-plugin 3.6.0 and ùaven-compiler-plugin 3.13.0)
On the workflows files, I use ubuntu-latest.
Thanks in advance, hope I'm not too confusing ^^

old wyvern
#

Did maven central remove a lot of packages by any chance?

hexed gulch
#

Hi

crude cloud
#

hi hello hey

hexed gulch
crude cloud
#

hi

hexed gulch
crude cloud
#

GRINDIN' 💪 💪 💯 🤑 💰

#

-# (edited)

reef maple
# cerulean ibex https://jitpack.io/docs/BUILDING/#maven-projects

So as I understand: having maven2/ in the logs is not a problem. But, at the start, Jitpack uses Maven 3.6.1
I tried forcing the use of 3.6.3 with a jitpack.yml file at the root of the project, it stills use 3.6.1 upon building.

I might not understand everything, Thanks for answering !

rotund egret
reef maple
reef maple
#

Ok, it worked perfectly ! Many thanks !

bitter root
#

@heady grove I know it's hard to trust anyone online. But that doesn't mean you will say whatever you want to.
Anyway I have made it myself with HTML CSS and JavaScript.

Structure of the web is made with HTML all the design is done with CSS and JS is used in the hero section also when changing the theme and when you scroll.

bronze pasture
wind patio
soft remnant
#

Good evening, a quick question: what happens to entities in Minecraft when a chunk gets unloaded? I'm asking because I recently started working with entities, and now I'm at a point where I'm tracking certain "CustomEntity's". For this, I've been using custom events alongside events like CreatureSpawnEvent, DeathEntityEvent, and others. However, a doubt arose when I was testing and moved away from the chunks where these custom entities are located, and for some reason, they stopped behaving as they were supposed to.

#

and sorry, I got the wrong channel.

pastel imp
#

If I am not mistaken, you can't simply store the entity in a variable

soft remnant
# pastel imp If I am not mistaken, you can't simply store the entity in a variable

I understand, and yes, I already struggled a lot with storing entities in variables, but I managed to keep entities persistent by using other parameters, such as saving what I need from the entity and also using its own persistentData to store what I need and track the entity. If entities are saved when the chunk is unloaded, that will be really useful. I guess I'll need to check the ChunkUnloadEvent to get the information I need.

stone oyster
#

Is it worth my time to redo 1300+ lines in the messages.properties file of essentialsx

rotund egret
#

Probably not

rose magnet
#

Would anyone know why my /stack isnt working? when you do the command itll stack the items but if you try to shift click into a chest they immediately unstack. i know manually placing them in a chest breaks but shift clicking always worked. Any reasons?

dry harbor
#

Plus I’ve tried that route before and well, there’s tons of useless messages and commands

#

My rule of thumb for essentials messages is just change the most common messages

#

Fly, god, homes, etc

brazen ether
#

beggers ain't choosers cmon 🙏

bronze pasture
#

That's a death sentence

distant sun
#

What is a lightweight command library that has support for flags (--test:value, -t:value or a similar format)? Ideally I should be able to suggest the flags based on an argument of that command.
For example /command first will have the flags --name --location, but /command second will have only --name

Edit: I'll try cloud

bright flax
cinder flare
#

i've fallen in love with Cloud recently for it's annotation syntax

compact perchBOT
cinder flare
#

TRUE

bright flax
#

how do i change "c418 - music name" via texture pack ona zip?

distant sun
#

Can i get around Caused by: java.lang.IncompatibleClassChangeError: Found class org.bukkit.block.banner.PatternType, but interface was expected on paper 1.20.4? In spigot-api 1.21.1 it is an interface, but in paper 1.20.4 it is still an enum 😦

welp, reflections will do it

    if (PatternType::class.java.isInterface) {
        return name()
    }

    return PatternType::class.java.getMethod("name").invoke(this) as String```
static zealot
ocean quartz
#

It does

#

Both named and flags, and suggestions

cerulean ibex
#

then u gotta deal with nasty build configurations and nasty version checking tho

distant sun
#

toString() works fine actually, the name is all I need

crude cloud
#

should serialize by its NamespacedKey

#

ah well but it wasn't data driven before

distant sun
#

yeah I know, but it is for a plugin that creates configs for other plugins shrug and they use the name

foggy pond
#

Has any of you guys figured out how to disable the automatic creation of the test submodule for gradle projects in IntelliJ?

#

It's very annoying as it's not applicable for minecraft plugins (at least to me)

ocean quartz
#

Idk, I normally just create a folder copy a build.gradle.kts into it the incude it on settings.gradle.kts and then after create the src/main/java folder on my own

flint crow
#

is there a list with all the entity ai goals on spigot javadocs? cause i cant find the ai goals

distant sun
#

I don't think spigot has api for ai goal

flint crow
#

womp womp :/

distant sun
#

Does anyone have free resources on modrinth and make some money from the ads system? If so, how popular are they and how much $$?

pastel imp
#

the spike in the revenue is because of the new ad system

distant sun
#

cool, thanks!

pastel imp
#

And it's all fully organic too.

half harness
#

24 cents from 2 years 🥲

wintry plinth
#

Goals

pastel imp
#

It's a very specific use case, not many will be interested in it.

rotund egret
#

I think the KotlinForForge guy posted how much they made, lemme see if I can find

distant sun
#

One version had 1.1M downloads ☠️

half harness
#

or get

pastel imp
#

made it myself

half harness
wind patio
#

which do yall prefer and why?

.stream()
.map(x -> {
  if(someCondition) {
    return someValidObject;
  }
  return null;
})
.filter(Objects:nonNull)

or

.stream()
.map(x -> {
  if(someCondition) {
    return Optional.of(someValidObject);
  }
  return Optional.empty();
})
.filter(Optional::isPresent)
.map(Optional::get)
cinder flare
#
.map {
  if (condition) it else null
}.filterNotNull()```
ocean quartz
#

Imagine not using

.mapNotNull {
  if (condition) it else null
}
rotund egret
#
.mapNotNull {
  it.takeIf { condition }
}

😏

ocean quartz
#

So true

cinder flare
#

mmm kotlin

cold prawn
#

🤮 kotlin (im about to get pelted)

ocean quartz
#

Nah, you can hate on it, it's your loss Shruge

cerulean ibex
#

also ignore that i used else as a return

prisma wave
#

single value / no value

cerulean ibex
#

yeah but u cant flat map it

#

well in one step at least

prisma wave
#

that’s true

cerulean ibex
#

you coudl replace

.filter(Optional::isPresent)
.map(Optional::get)
```with 
```java
.flatMap(Optional::stream)
```ig
prisma wave
#

kinda cute

cerulean ibex
#

me?

#

ty

cold prawn
#

ur very cute sparky

potent nest
prisma wave
prisma wave
cinder flare
#

what does the collection look like, a map?

crude cloud
#

mapMulti is epic

#

but also BiConsumer<T, Consumer<R>> is funny

wind patio
#

Bi 🏳️‍🌈 Consumer

cinder flare
#

iconic

safe crescent
#

i like java

#

and kotlin

#

both good

crude cloud
#

I like to sleep

safe crescent
#

oversleeping/sleeping through the day is a sign of depression

#

well not always

#

i sometimes sleep up to 14 hours throughout the day cause i like nights

cinder flare
#

bro instantly invalidates their own point lmao

reef maple
safe crescent
#

For people who live with bipolar disorder, depression and oversleeping go hand in hand. The cause and effect go in both directions. Depression often leads to sleeping more and to a delayed sleep pattern (staying up later and sleeping later); sleeping longer and later can cause or worsen depression. Fortunately, the downward cycle of depression a...

#

im just not the standard

cinder flare
#

ah lmao

half sparrow
#

Looking for a dev add me up

half harness
bronze pasture
inner umbra
#

Yo!
Yeah I'm not around as much (PC atleast) but still constantly here lol

inner umbra
bronze pasture
inner umbra
#

Nice

wind patio
#

Thoughts on deno v2?

#

seems pretty nice

prisma wave
#

I have no thoughts on this matter

junior coral
#

I need help to handle some jobs if anyone is located in the same time zones. USA, UK, Canada, Australia, New Zealand, and Argentina.

agile galleon
crude cloud
#

"in the same time zones"

UK
Australia

prisma wave
#

they are quite close, to be fair

distant sun
#

Yup, on the same planet

brittle leaf
#

im assuming live in those timezones specifically

#

probs want 24hr coverage

soft remnant
#

hi, question, to make the Witch entity have custom potion effects, would I have to use NMS and NBT?

researching I got to this, but I don't have how to pass the tag to the nmsCraftItemStack, since it returns tags : Stream<TagKey<Item>>.


  val randomPotion = Utils.createItemStack(Material.SPLASH_POTION, 1, false, difficulty)
  val potionMeta = randomPotion.itemMeta as PotionMeta
  
  val tag = CompoundTag()
  val listTag = ListTag()
  
  val customEffects = potionMeta.customEffects.first()
  val poisonEffect = CompoundTag()
  poisonEffect.putString("id", "minecraft:poison")
  poisonEffect.putInt("Amplifier", customEffects.amplifier)
  poisonEffect.putInt("Duration", customEffects.duration)
  
  listTag.add(poisonEffect)
  tag.put("CustomPotionEffects", listTag)
  
  val nmsItemStack = CraftItemStack.asNMSCopy(randomPotion)
obsidian island
#

I have a question, why can't I send video clips or pictures on DM after the update? Plus calls are muted sometimes I can't hear it or sometimes they can't hear me?

compact perchBOT
#
FAQ Answer:

Looking for discord support?
HelpChat is a Minecraft plugin and development support server and is not affiliated with discord in any way.
If you require support from discord, we recommend you to visit their official support website at https://support.discord.com
On this website, you can read their FAQs, or open a support ticket if necessary.

distant sun
#

@obsidian island

brazen ether
#

installed java 23 and i'm getting segfaults... in java.. :misery:

cold prawn
#

i got that like 3 days ago

#

everything worked fine besides my one server that has 8gb of ram allocated to it

#

it ended up being because i had errors in my ram

#

changed the stick and was fine

potent nest
brazen ether
brazen ether
potent nest
#

can you share the hs_err file?

brazen ether
#

yea, in class right now but i will later

potent nest
#

are you running it on linux?

cold prawn
cinder flare
#

that's weird lol, been using java 21 for months and it's been superb

crude cloud
#

well

#

the issue is with 23 lmao

cinder flare
#

well yeah idk why it would do that lol

#

just saying i've been using a newer java version than most and it's been good

#

so dunno what's up with 23 or what they let slide

brazen ether
brazen ether
#

i migrated my data from my old mac pro

#

and this one is m1

#

i installed java 23 for arm64 and it started crashing :>

brazen ether
potent nest
#

not sure, it theoretically might contain sensitive data

brazen ether
potent nest
#

did it crash there multiple times?

brazen ether
#

it crashed after 5-40 seconds after server startup like maybe 5 times?

#

i switched to 21 but haven't tested it

potent nest
cinder flare
#

yeah that looks like a mac specific issue

#

it faults on _platform_strcmp

#

what distribution are you using? i didn't see any specific one in the screenshot, but it might be worth like trying the Adoptium AArch64 one?

junior coral
#

I need help to handle some jobs if anyone is located in the same time zones. USA, UK, Canada, Australia, New Zealand, and Argentina.

obtuse gale
#

12:46pm for me

#

dm me the jobs needed?

junior coral
#

for a detail

calm flower
#

Any web dev here who's familiar with front end? I need a question answered ASAP please

calm flower
#

It's related to design, made a design for navbar but I'm not sure what should I do for the hover/active effect on that thing in the actual code.

calm flower
calm flower
#

@cerulean ibex you here?

cerulean ibex
#

im here but i couldnt rly give u any advice

#

but now that uve said what ur question maybe someone who has a better answer than me can help u

calm flower
#

Oh ok thanks!

misty sorrel
#

How to make a skript that doesnt allow any commands exept /afk and /login (password and /register (passowrd) and /spawn ?

pastel imp
#
  • skript
knotty basin
#

How to prevent sugar cane from dropping?
I have a loop that iterates to y 255 and then replaces cane above the broken cane with air, but sugar cane somehow still drops...?

#

If I don't replace it with air, nothing happens no cane drops and it doesn't get replaced, so the code definitely replaces it with air.

wind patio
#

well if you bothered to look for the solution online its one google search away
regardless, listen to block break event
if its a sugarcane, cancel it, then recursively loop, checking if the above block is a sugarcane, terminate otherwise, collect the locations, for each of them set block to air, starting from the top.

potent nest
#

Yeah you probably have to start at the top if dropping happens instantly

brazen ether
#

commiting sins

prisma wave
#

🥴

potent nest
#

that's why we can't have nice things

crude cloud
#

constructors: exist

rotund egret
#

Real

#

That's why I don't use them

jagged axle
#

Does anyone know of a free chunk collector plugin that works or from /ware

pastel imp
#

gotta love gradle

#

multi project projects harder than I thought

#

lol

rotund egret
#

🤔

brazen ether
#

Please god no

#

Jesus fucking Christ this should be illegal

wind patio
final crypt
#

Hi everyone, i am currently offering a free website design service with the aim of building my brand and portfolio for future clients and company projects.

By offering my service for free, i would be expecting your positive feedback abut my skills as this will help me on the long run.

If you are open to give me a feedback by getting my free service, kindly reach out today.

pastel imp
wind patio
#

well, it kinda is but it's not

cerulean ibex
wind patio
#

well imo if it's a codebase that revolves around the same idea and builds into one final jar via different modules, it's a multi-module

if you have different unrelated projects it's a multi project, for ex. in intellij you can link multiple gradle projects.

ocean quartz
#

Gradle calls it all projects, so it is multi-project ackshually

wind patio
#

IDEA calls it modules, so it's multi-module 🤓 ☝️

ocean quartz
#

But you're using gradle to set it up and gradle to build therefore you go with gradle nerd_glasses

wind patio
#

I am adding modules via intellij "New Module" so it's the IDE that's adding it

potent nest
#

let's call it workspace

wind patio
#

vscode user detected

cerulean ibex
pastel imp
#

Lol I mean, some subprojects are independent lol

#

I have a minestom plugin system and I want each subproject to be a plugin

#

But should be fine, matt already supplied me with good guidances

#

Will take a look at it today

warm echo
#
victim.teleportAsync(domain.getCorner2());
victim.setNoDamageTicks(0);```

im getting an unexpected thing when i teleport the player
#

then the player having invulnability for like

#

5 seconds

#

i have tried to use Player#setNoDamageTicks to 0 but that doesnt work

#

can anyone help please ?

vernal obsidian
#

I need to get my server onto something like this

chilly zenith
cold prawn
vernal obsidian
#

But it's more so it's easier for new devs to adapt to the system

#

So more devs will be willing to join

cold prawn
#

I mean i dont really see the point of compiling multiple standalone plugins at once

#

other than convience

#

i would argue its just complexity

#

if you have like mega dependency chain with plugins, then sure

#

but if u dont then i dont see point

rotund egret
rotund egret
#

pre-compiled scripts and the dependency-catalog make things significantly easier to provide to your projects as well

spice linden
#

voteparty i need help with this plugin

vernal obsidian
vernal obsidian
spice linden
# vernal obsidian Explain

well ive uploaded the .jar on my plugins folder, restarted the server multiple times, and it doesnt create its folder , which means isnt installed

crude cloud
#

do YOU have any ERRORS in the SERVER LOG during startup?

vernal obsidian
spice linden
spice linden
#

restarted multiple times etc

vernal obsidian
spice linden
#

okay will check it out, thanks

spice linden
#

ive checked cant find a solution

#

( also there are fake people who send invites with "ticket tool" to "help" people in order to scam them, be aware )

upper flax
#

is there a way to change the movement speed while floating?
I tried using velocity from a PlayerMoveEvent but it didn't worked well

if (velocity.getX() > 0) {
    velocity.setX(velocity.getX() * 2);
}
if (velocity.getZ() > 0) {
    velocity.setZ(velocity.getZ() * 2);
}
player.setVelocity(velocity);
hoary heron
#

heyo question, does anyone know a plugin which allows you to craft custom recipes, and disable vanilla recipes? i really can't find anythingh half-decent, customcrafting is broken on 1.21

spice linden
#

so?

wind patio
#

https://github.com/PaperMC/paperweight-test-plugin/blob/master/build.gradle.kts

specifically the plugins section

plugins {
  `java-library`
  id("io.papermc.paperweight.userdev") version "1.7.3"
  id("xyz.jpenilla.run-paper") version "2.3.1" // Adds runServer and runMojangMappedServer tasks for testing
  id("xyz.jpenilla.resource-factory-bukkit-convention") version "1.2.0" // Generates plugin.yml based on the Gradle config
}
crude cloud
#

half of that is not needed

#

you just need run-paper, resource-factory nor userdev aren't needed to run a server from a task

wind patio
#

well, I assumed it was obvious that you only need a plugin called "...run-paper"

#

tho overkill from my part

spice linden
#

so any help with my situation? ive uploaded the .jar file on my plugins folder, restarted the server and its not creating its own folder so its not installed

oblique heath
#

is this another miranda situation