#dev-general

1 messages · Page 479 of 1

static zealot
#

yeah that'd be great

#

thank you

pale shell
#

=remindme

compact perchBOT
#
Reminders | Invalid Tier

You need to be at least Tier V in order to set reminders!

static zealot
#

I spent like 5 hours on it and couldn't get it to work just so you know

pale shell
#

No

#

I want it now

static zealot
#

=remindme 1d "Remind Odin to do that"

compact perchBOT
#
New Reminder Set!
In 1 day, 0 hours, 0 minutes:

Remind Odin to do that

static zealot
#

here I'll ping you in exactly 24 hours

#

xD

pale shell
#

No not good

static zealot
#

oh ?

pale shell
#

1d bad

#

Just slide it into my dms

#

I won't forget then

#

I am doing 50 plugins at once

half harness
compact perchBOT
#
New Reminder Set!
In 23 hours, 59 minutes, 59 seconds:

Remind Blitz to remind odin to do that

pale shell
#

Ty I got blitz

static zealot
half harness
static zealot
# pale shell I am doing 50 plugins at once

🥲. Last week I was literally working on 5 plugins. Then I had to stop after doing like 3 of them bcz this fake players plugin doesn't allow FPlayers to attack other players

#

and I need them to kill each other

half harness
#

also i just realized i didn't pull from my github repo

#

:p

#

erdtbhjnkm

static zealot
#

🥲

half harness
pale shell
#

Blitz can I mention server names?

half harness
static zealot
#

ye

pale shell
#

I was gonna apply for mc prison

#

I could bypass the app process tbh I know the owner lol

steel heart
pale shell
#

The dev role earns about $2,500 a month

steel heart
#

Dkim pro moment

static zealot
#

hmm

#

not bad

#

well bad if you have to work 8h 5/7

half harness
pale shell
#

5/7?

static zealot
#

5 days a week

pale shell
#

Dude, the dev edates the helper 24/7

#

And he gets paid for that

steel heart
pale shell
#

Where did I go wrong

steel heart
#

How a developers life should be tbf

pale shell
#

I can't even get a dev tag here

#

Feels badman

forest pecan
#

did you get rejected

static zealot
half harness
#

lol

static zealot
#

now time to see if its as easy as removing those 2 lines xD

obtuse gale
#

it probably isn't

static zealot
#

yeah I assume so

pale shell
#

I wouldn't be rejected because my code is perfect.

static zealot
#

well actually 3 lines

obtuse gale
#

you know blitz, it would've helped if you showed the contextual bytecode + decompiled view lmao

static zealot
#

well I didn't actually ask for help

#

I just talk alone

#

xD

obtuse gale
#

lol

static zealot
#

well time to learn how the fuck bytecode works

pale shell
#

lol

static zealot
#

I actually need to go and change the lines for each and every thing after? well shit

obtuse gale
#

can you share the actual context

#

lmao

pale shell
#

I just realised, if someone was to go onto one of my accounts linked to my discord you can work out where I live. Oh well.

pale shell
#

Go ahead

#

Wouldn't be the first person from this chat to do so.

static zealot
#

oh

pale shell
#

I'm worried why you said oh, idk if you saw the reddit side of me or what 🥲

static zealot
#

what?

#

I didn't actually click any links on your profile until this exact moment

pale shell
#

Oh

static zealot
#

why do u have 4762 karma on reddit?

#

I don't even know how to get it. xD

pale shell
#

I had more KEKW

static zealot
#

what does it do?

#

Is it like a currency

pale shell
#

Idk

static zealot
#

or something?

#

who's twitter is that?

pale shell
#

?

static zealot
#

is that actually your account?

#

oh nvm

#

I thought you have 4k followers xD

#

but those are "following"

#

well I know how to read

pale shell
#

lol

static zealot
pale shell
#

Oh god no

static zealot
#

now it checks if its AbstractArrow

#

instead of player

#

that works

#

as well I guess

#

time to see if it actually starts xD

pale shell
#

OH GOD NO

static zealot
#

huh ?

pale shell
#

org.bukkit.entity.AbstractArrow 🤮

obtuse gale
#

????

static zealot
#

well I mean I did it in bytecode and I forgot to import

#

xD

#

so that works as well

pale shell
#

Why not just instanceof AbstractArrow ??

static zealot
#

bcz I didn't import

pale shell
#

Smh

static zealot
#

it did it automatically

#

in bitecode

pale shell
#

Bad

static zealot
#

it still says instanceof org.bukkit.entity.Player

#

even if you import

pale shell
#

Oh god that bad

#

Static import??

static zealot
#

well not really ?

obtuse gale
#

that's how bytecode works lol

static zealot
#

^^

obtuse gale
#

static imports have nothing to do with that?

#

static imports is to "import" static methods/fields

pale shell
#

Long enough?

static zealot
#

also

#

not to say that's decompiled code

#

so ... xD

pale shell
#

I'm going for 1000hrs lol.

pale shell
static zealot
#

you don't understand what just happened do you?

pale shell
#

I don't even know what day it is.

static zealot
#

I just modified the bytecode for FakePlayers to block attack to Arrows instead of Player and then checked the jar I just modified using jdgui

#

so if this works you won't have to actually bother compiling the plugin xD

#

and I can proudly say it started

pale shell
#

You know you always have that one hella fucking weird fucked up person who you drag along? Well that's me.

static zealot
#

now its just time to test xD

onyx loom
#

in the BST Timezone (which is used by the United Kingdom), the current time is Wednesday 12th May 2021, 00:56

pale shell
#

No kaliber

#

WRONF

#

song

#

WONF

#

WONG

static zealot
#

WOF

onyx loom
#

evidence?

pale shell
#

WRONG*

onyx loom
#

cute gif

pale shell
#

See 0:58

onyx loom
#

haha u funny

pale shell
#

?

onyx loom
#

typing that in manually to be funny 🥲

pale shell
#

It says 00:58

pale shell
#

Wait who deleted my pic

#

WHO

#

Did

#

That

onyx loom
#

hmmm i wonder why

pale shell
#

Blitz will curse in a few mins

#

Actually no in about 270 songs he will kekw

onyx loom
#

eh

static zealot
#

lmaoooo

#

look at the queue

onyx loom
#

oh i see

pale shell
#

I failed.

onyx loom
#

nt

static zealot
#

no I'm going to shame you in every channel

pale shell
#

Bet.

#

Oh no pls no

steel heart
#

I bet blitz has rythm premium

pale shell
#

Bm sleep

#

Oh my bad

static zealot
#

well anyways... it didn't wrok

pale shell
static zealot
#

who the fuck has money for that?

pale shell
#

?

static zealot
#

well the reply system is fucked

pale shell
#

How much is it

steel heart
static zealot
#

I wanted to reply to Conclure's message, it showed the reply thing but then it dissapeared

static zealot
steel heart
static zealot
#

well @pale shell anyways you can still do that shit. It turns out, it doesn't actually work xD

#

no errors or anything it just doesn't work for some reason

#

it shows the attack animation

#

but can't damage only other entities

#

no players

#

and yes both me and the other fake player were in gm 0 and without god enabled

pale shell
#

Scam

static zealot
#

I guess it has something to do with the packets

#

bz I didn't actually looked at those

#

I just assumed it sends a damage packet but idk how packets work so idk

pale shell
#

I actually hate packets

half harness
#

why?

pale shell
#

Complex?

static zealot
#

well I haven't actually used them before

half harness
#

ytfdjsak trying to setup a dev server on another computer but its not working!!!!!\

#

the laptop just hates me

onyx loom
#

make it work !!!

half harness
#

ill try restarting the computer

onyx loom
#

i see, ur an IT support master

half harness
#

lol

#

intellij + teamviewer = 🤢

#

whys it blue

static zealot
#

why not

half harness
#

;-;

#

pog 50 second build speed

#

3-4x faster than my pc

static zealot
#

lmao

#

but wait

#

if you have another PC

#

why not use that one?

half harness
#
  1. its a laptop
  2. its new
  3. its not really mine 🥲 (which is why im using teamviewer)
#

its so fast

static zealot
#

Ic

half harness
#

the debug server doesn't work 😢

static zealot
#

ah so nice

half harness
#

-_-

static zealot
#

well I'm already in 2 mins 20 seconds of build

#

and its still at compileKotlin task

#

which is first one lmao

half harness
static zealot
#

it didn't

#

2 min 41 sec

half harness
#

build takes about 2-4 minutes

forest pecan
#

alright, im going to need some help converting my maven project into gradle. brace for impact lmao

half harness
#

I
opened
the
port

#

but
it
doesn't
work

#

aaaaaaaaaaaaaaa

static zealot
#

that sucks

half harness
#

wtf is with this laptop

#

is there some windows settings to block ports?!

#

ive opened the ports in firewall

pale shell
half harness
#

..

forest pecan
#

Maven: https://paste.helpch.at/macefifawo.xml
For this part:

    <modules>
        <module>minecraftmedialibrary-api</module>
        <module>v1_16_R3</module>
        <module>v1_16_R2</module>
        <module>v1_16_R1</module>
        <module>v1_15_R1</module>
        <module>v1_14_R1</module>
        <module>v1_13_R2</module>
        <module>v1_13_R1</module>
        <module>v1_12_R1</module>
        <module>v1_11_R1</module>
        <module>v1_10_R1</module>
        <module>v1_9_R2</module>
        <module>v1_9_R1</module>
        <module>v1_8_R3</module>
        <module>v1_8_R2</module>
        <module>v1_8_R1</module>
        <module>minecraftmedialibrary-nms</module>
        <module>minecraftmedialibrary</module>
        <module>deluxemediaplugin</module>
    </modules>

Do I need to some specification for this in Gradle?

pale shell
#

Delete that

pale shell
#

Only use gradle

half harness
#

and u have to shade it in build.gradle

obtuse gale
forest pecan
#

Yeah lmao

pale shell
#

No??

obtuse gale
#

.. yes

forest pecan
#

lol

pale shell
#

Oh

forest pecan
#
rootProject.name = "minecraftmedialibrary-parent"

include(":v1_12_R1")
include(":v1_14_R1")
include(":deluxemediaplugin")
include(":v1_16_R2")
include(":v1_16_R3")
include(":v1_11_R1")
include(":v1_9_R1")
include(":minecraftmedialibrary-nms")
include(":v1_9_R2")
include(":v1_13_R1")
include(":v1_8_R3")
include(":v1_13_R2")
include(":v1_8_R1")
include(":v1_8_R2")
include(":v1_15_R1")
include(":v1_16_R1")
include(":v1_10_R1")
include(":minecraftmedialibrary")
include(":minecraftmedialibrary-api")

#

like this

#

right

#

excpet i need to change the order

#

its fucked up

half harness
#

lol

pale shell
#

Please order it

#

That triggers me

#

But yeah that looks right

half harness
#

then in build.gradle just do ```gradle
dependencies {
for (Project project : subprojects) {
implementation project
}
}

pale shell
#

You can do for loops???

half harness
#

yes... its groovy

pale shell
#

Groovy...?

half harness
#

gradle isn't a programming language

#

build.gradle is written in groovy

pale shell
#

Oh

forest pecan
#

dkim, you are good at spoonfeeding right?

#

/s

obtuse gale
#

So yes

half harness
forest pecan
#

im using kotlin rn

#

lmao

half harness
#

kotlin dsl?

forest pecan
#

i heard apply plugin: 'java' is bad

forest pecan
half harness
#

oh then idk

#

ask emilyy

forest pecan
#

well just syntax ig

#

i got it

#

I heard that using apply like that i sbad

#

whats the other better option again?

obtuse gale
#

@half harness confirm

forest pecan
#

lmao

#

java be like

#

xD

obtuse gale
#

Cool

#

Pulse you try that

half harness
#

lol

#

now this makes sense

#

f mcafee

forest pecan
#

it shows implementation as red

obtuse gale
#

Context?

forest pecan
#

gimme a sec

pale shell
#

Mcafee???

obtuse gale
#

Ikr

half harness
#

wtf
why are there so many sheeps

half harness
#

idk

#

i didn't install it tho

pale shell
half harness
#

oh

#

oops

pale shell
forest pecan
#

nvm reloading gradle fixed it

#

lmao

half harness
#

i dont own the computer

pale shell
#

You stole it? Gotcha

half harness
#

mhm

#

gotta return it back

#

without them knowing

#

yk

#

/s

pale shell
#

Ye ye

#

Bm needs it back to code smh

forest pecan
#
description = "minecraftmedialibrary-parent"

dependencies {
    subprojects.forEach { implementation(it) }
}

plugins {
    java
}

java {
    compileJava {
        sourceCompatibility = 1.8
        targetCompatibility = 1.8
    }
}
#

gonna need some help is this how tasks work?

pale shell
#

??

half harness
#

??

pale shell
#

That's not a task??

sweet cipher
forest pecan
#

No, the compileJava

half harness
#

wouldn't that error?

forest pecan
#

Uh, no

pale shell
#

No

forest pecan
#

not for me atm

half harness
#

or is it some kts magic

pale shell
#

?

#

Kotlin probs does it differently

forest pecan
#

it indeed does

#

boom

#
description = "minecraftmedialibrary-parent"

dependencies {
    subprojects.forEach { implementation(it) }
}

plugins {
    java
}

java {
    sourceCompatibility = JavaVersion.VERSION_1_8
    targetCompatibility = JavaVersion.VERSION_1_8
}
#

finished

obtuse gale
#

Tbh you don't need the description field

forest pecan
#

does gradle not use names

#

Maven: https://paste.helpch.at/macefifawo.xml

description = "minecraftmedialibrary-parent"
version = "RELEASE-1.4.0"

dependencies {
    subprojects.forEach { implementation(it) }
}

plugins {
    java
}

java {
    sourceCompatibility = JavaVersion.VERSION_1_8
    targetCompatibility = JavaVersion.VERSION_1_8
}

tasks.withType<JavaCompile> {
    options.encoding = "UTF-8"
}
#

i think i got it down tho

#
rootProject.name = "minecraftmedialibrary-parent"

include(":minecraftmedialibrary-api")

include(":v1_16_R3")
include(":v1_16_R2")
include(":v1_16_R1")
include(":v1_15_R1")
include(":v1_14_R1")
include(":v1_13_R2")
include(":v1_13_R1")
include(":v1_12_R1")
include(":v1_11_R1")
include(":v1_10_R1")
include(":v1_8_R3")
include(":v1_9_R2")
include(":v1_9_R1")
include(":v1_8_R2")
include(":v1_8_R1")

include(":minecraftmedialibrary-nms")
include(":minecraftmedialibrary")
include(":deluxemediaplugin")
#

seems fine

obtuse gale
#

I believe it's for pom generation or whatever

#

Idrk

#

Never had issues without it anyway so

forest pecan
#

o

#

and also for clarification

#

compileOnly is the same as provided

#

right

obtuse gale
#

Yes

forest pecan
#

k ty

obtuse gale
#

Yw

half harness
#

shadow = maven shade plugin

#

implementation = maven compile

ocean quartz
#

Hotel = trivago

onyx loom
#

has anyone actually used trivago

ocean quartz
#

No lmao

onyx loom
#

genuine question

sweet cipher
#

Has anyone not used it?

forest pecan
#

so to shadow all dependencies, I would make a for loop right

#

or forEach

ocean quartz
#

Uh, what?

forest pecan
#

In the parent module, we used

dependencies {
    subprojects.forEach { implementation(it) }
}

to help implement each of the modules into the parent from the settings.gradle.kts.

#

can we do the similar with shadow, except for all the current listed dependencies?

ocean quartz
#

Do you want to implement every subproject into one?

#

Anything that is implementation or api gets shaded with shadow

forest pecan
#

Ah

#

that is useful

#

wait so literally i just do something like this

description = "minecraftmedialibrary-nms"

plugins {
    id("com.github.pulsebeat02.java-conventions")
}

dependencies {

    implementation(project(":v1_16_R3"))
    implementation(project(":v1_16_R2"))
    implementation(project(":v1_16_R1"))
    implementation(project(":v1_15_R1"))
    implementation(project(":v1_14_R1"))
    implementation(project(":v1_13_R2"))
    implementation(project(":v1_13_R1"))
    implementation(project(":v1_12_R1"))
    implementation(project(":v1_11_R1"))
    implementation(project(":v1_10_R1"))
    implementation(project(":v1_9_R2"))
    implementation(project(":v1_9_R1"))
    implementation(project(":v1_8_R3"))
    implementation(project(":v1_8_R2"))
    implementation(project(":v1_8_R1"))

}

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath ("com.github.jengelman.gradle.plugins:shadow:5.2.0")
    }
}
#

and i should be fine right lmao

#

(for shading those project module things)

ocean quartz
#

You have a gradle plugin? thonking
Also don't use buildscript

forest pecan
#

i think its auto generated. It just provides the necessary repositories

ocean quartz
#
plugins {
  id("com.github.johnrengelman.shadow") version "7.0.0"
}
half harness
#
buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath ("com.github.jengelman.gradle.plugins:shadow:5.2.0")
    }
}
``` 🥶
forest pecan
#

im not sure why but it seems that it cant find the implementation reference anymore

ocean quartz
#

Do you have the java plugin?

static zealot
forest pecan
#

Ah I need to add that

obtuse gale
#

gotta love groovy 🌚

ocean quartz
#

beautiful

hot hull
#

Holy fuck is mobile copying sensitive

#

Legit copies everything when scrolling

#

(embeds)

ocean quartz
#

It's so stupid right

cinder flare
#

babel-greek is fucking huge dude

lost forge
#

No, because it takes up too much un-needed space 😛

hot hull
cinder flare
#

it's still going though, only like 1/4th of the way done

lost forge
#

Might take a while.

cinder flare
#

yeah dude why was the last TeX install written in like 2003 lol

#

i just wanna make cool PDF's 🥲

distant sun
#

Ahh, latex

#

I gotta draw a circuit with that

distant sun
lunar cypress
#

because it's not a property

#

it's an unused constructor parameter

distant sun
#

looks like I had to add vall after vararg

jovial warren
#

yes

#

vararg does not make the parameter a property

hot hull
jovial warren
#

Lol

oak coyote
#

Geeez Developers are so dumb leave this job to the managers

distant sun
#

what's the equivalent of an empty char for replace(oldChar, newChar)? I know I can use replace("_", "") but I was just wondering if there's something like this but for chars

frail glade
#

So Mojang just required Java 16 👀

distant sun
#

nice one

steel heart
#

YOOO

#

Records even more pog

frail glade
steel heart
#

I love u waffle guy

half harness
#

hi waffle king!

eternal compass
#

this new discord font is awful 🤢

half harness
#

🤣

#

🤮

obtuse gale
#

Now with twice as much Java version
actually funny

eternal compass
#

java 16? wow

#

all the way from 8

#

thats a big step

distant sun
#

that's a good step

half harness
#

wait what

steel heart
#

Pigstep

half harness
#

they're switching java versions?!

eternal compass
#

Now with twice as much Java version

#

Upgraded to Java 16

obtuse gale
half harness
#

no I didn't

obtuse gale
#

I can tell

#

lol

half harness
#

I didn't open the page yet

obtuse gale
#

yooooooooooo

#

that's awesome!!!

steel heart
#

I need to celebrate this

obtuse gale
#

It's like all our dreams finally came true :') cough paper hard fork cough

half harness
#

im too busy to read it

steel heart
eternal compass
half harness
#

hopefully not

eternal compass
#

if so RIP paper who made everyone switch to 11, just to switch to 16 right after

obtuse gale
#

YES

steel heart
#

It’s super pog

obtuse gale
half harness
#

wouldn't PDM break

#

in java 16

#

wait

obtuse gale
#

it never worked

half harness
#

would slimjar break?

obtuse gale
#

no

half harness
#

oh

#

then thats fine

quiet depot
#

@frail glade what's happening in paper?

obtuse gale
old wyvern
#

Wait wait

frail glade
#

They're discussing internally. Give me 24 hours. Probabaly will bump to 16 as well.

half harness
#

oh two admins on

#

thats cool

old wyvern
#

Mojang switched to 16?

quiet depot
#

okie

obtuse gale
#

Yess!!

eternal compass
#

nice

old wyvern
old wyvern
#

Omgg finally

eternal compass
#

lets go

half harness
#

i only have java 11 installed

ocean quartz
#

That's pretty awesome

old wyvern
#

🥲

half harness
prisma wave
hot hull
#

As they should

prisma wave
#

FINALLY

quiet depot
#

this is bad for me 😦

hot hull
#

Finally something smart

quiet depot
#

dcevm doesn't support 16

old wyvern
#

Rip dcevm

prisma wave
obtuse gale
half harness
prisma wave
obtuse gale
#

If you are using a default setup the Launcher will download and install the correct version. If you are using a custom Java setup or a third-party launcher, you will need to ensure that your Java installation is version 16 or above.

steel heart
#

Dcevm will probably support 16 soon won’t it?

half harness
#

im talking about

quiet depot
#

doubt it

half harness
#

SERVERS

#

not

obtuse gale
#

ah

half harness
#

CLIENT

quiet depot
#

it'll hopefully be updated for 17

half harness
#

ik that mc has builtin java

quiet depot
#

but there's not much reason to update it for 16

eternal compass
#

Java 16 Servers fingerguns

half harness
#

at least update to java 11 servers 🥺

#

rip hotswapping

#

😔

#

OR

#

wait

old wyvern
#

Imagine having to update java 🥲

half harness
#

i can stay on java 11

#

because i use 1.8 😎

quiet depot
#

you know just because the client updates to 16 doesn't mean the server has to update

prisma wave
#

servers should be java 16 too no?

eternal compass
#

no bad dkim

#

stop

prisma wave
#

hmm

#

wait no

obtuse gale
old wyvern
#

The vanilla server probably will

#

Which means

half harness
quiet depot
#

ohh right

obtuse gale
#

They just say "Minecraft now uses a more recent version of Java"

quiet depot
#

paper is based on nms

prisma wave
#

If the vanilla server was built against 16

quiet depot
#

i forgot

prisma wave
#

Then yeah

old wyvern
#

Mhm

half harness
#

mojang whyyyyyyyyyy

quiet depot
#

@obtuse gale paper has direct contact with mojang

obtuse gale
#

md5 is probably raging or something :^)

quiet depot
#

if glare is pulling out a 16 number

obtuse gale
#

yeah ik

quiet depot
#

then it's probably official

prisma wave
#

should've waited for java 17 ☹️

ocean quartz
half harness
obtuse gale
prisma wave
#

depending on a non LTS version is a bit weird

old wyvern
#

Yes lol

frail glade
#

My guess is they will bump to 17 for the next update after this summer one.

prisma wave
#

Worth the wait

#

Yeah probably

quiet depot
#

lots of important people in the mc community have direct contact with mojang dkim

frail glade
#

As the LTS isn't still September

half harness
quiet depot
#

not just paper

old wyvern
#

Im a mojang spy

half harness
#

o

#

tell mojang to use 1.8 😎

old wyvern
#

Ya'll have direct contact with mojang

#

You're welcome

prisma wave
hot hull
#

Dkim

#

I can't tell if you're stupid, or just an idiot

old wyvern
prisma wave
#

YAY

ocean quartz
old wyvern
#

Mojang switching to haskell

half harness
prisma wave
old wyvern
#

ikr

half harness
hot hull
#

The more you mention legacy, the more I think it might be both

old wyvern
#

Microsoft good?

prisma wave
#

oh plz yes*

prisma wave
hot hull
half harness
#

pvp + anyversiobesides1.8or1.7 = unpopular

#

oh wait

#

i jmessed that up

old wyvern
#

Windows rewrite to haskell coming soon ™️

prisma wave
#

😌

boreal needle
#

whats supposed to be coming in java 17

obtuse gale
#

features

old wyvern
#

Maybe fibers

#

Hopefully fibers

hot hull
#

Fibers?

eternal compass
half harness
ocean quartz
eternal compass
#

/s

old wyvern
#

Lightweight threads frost

half harness
prisma wave
half harness
#

I'd never do that matt!

prisma wave
#

Kinda

obtuse gale
#

there are still no guarantees this change applies to the server though

ocean quartz
#

It's kinda sad

hot hull
#

Interesting

boreal needle
#

ngl im just happy that i finally get List.of

obtuse gale
#

but still that means that client mods though 👀

old wyvern
#

Very different from kotlin coroutines

half harness
boreal needle
#

ill try it later

frail glade
#

That is correct, Emily.

obtuse gale
#

Which part lol

half harness
#

what

#

why don't you like lunar

#

lol

boreal needle
#

lunar bad

ocean quartz
#

Time to drop support to anything pre 1.17

old wyvern
#

Would they not nake the switch on the server when changing the client?

boreal needle
#

its like blc but slightly less intolerable

hot hull
#

Should've done that ages ago Matt (1.16)

old wyvern
#

Why keep codebases on very different java versions

half harness
#

if forge gave good fps id use forge

#

buuuuuuuuuuuuuuut it doesn't

steel heart
#

Poop pc

obtuse gale
hot hull
#

Just remake everything if you're updating to such a different version

half harness
#

first i get bullied for my bad code

#

now i get bullied for my bad pc

steel heart
obtuse gale
#

The classes are compiled against Java 16 (class bytecode version 60). However I dont see any use of record classes.

SMH

boreal needle
#

give them tiiiiime

obtuse gale
#

no

#

NOW

steel heart
#

Lombok

half harness
#

Lombok

obtuse gale
#

i DEMAND RECords

boreal needle
#

plsno lombok

#

Lombok makes me sad

half harness
#

?plsnolombok

old wyvern
#

Refactoring everything to use java 16 features is probably not an easy task

obtuse gale
#

yeah

old wyvern
#

Does mojang use lombok?

half harness
#

dooubt it

old wyvern
#

Good

obtuse gale
#

is there any way to know for sure?

#

like it applies at compile time, does lombok leave traces?

old wyvern
#

The mappings maybe, not sure

steel heart
#

They use public fields sometimes

obtuse gale
#

I mean surely someone would have checked this already

eternal compass
#

can I get some advice?
I'm creating a small plugin for changing minecraft server.properties settings and such (for a test server).
should I make it totally gui based or not?

forest pecan
#

like static final fields?

old wyvern
steel heart
#

In some of the entity classes iirc

forest pecan
#

o

#

but why

obtuse gale
forest pecan
#

lmao

steel heart
#

Idk

eternal compass
#

fine...

steel heart
#

Verbosity reduction mb

ocean quartz
old wyvern
#

He gets bullied for being him

prisma wave
#

You pretty much don't need lombok in newer java versions

obtuse gale
half harness
#

oh

steel heart
#

lmao

prisma wave
#

They'll probably slowly refactor stuff to use the new features

old wyvern
#

Mhm

half harness
eternal compass
#

no, please, no

old wyvern
#

Bukkit2 when?

half harness
#

;-; ok

steel heart
#

Hukkit

eternal compass
half harness
#

paper is bukkit fork

steel heart
#

Lol

old wyvern
#

Paper would implement the old bukkit api without changing anything

eternal compass
#

from the ground up

old wyvern
#

Ab

#

Ah

#

Probably not going to happen sadly

#

Would likely break lots of plugins

ocean quartz
#

MD will be like "For 1.17 we'll be upgrading the server version to Java 6", "do you mean 16?", "did I stutter?"

obtuse gale
#

lol

eternal compass
#

lmao

old wyvern
#

Time to ditch spigot and write sprinkler

obtuse gale
#

I really do wonder why they took this decision so drastically

boreal needle
#

we're starting to run out of water related names

obtuse gale
#

Like if it was an update to J11 yeah sure I'd get that

#

But straight up 16?

old wyvern
#

Man really uses netbeans tho

half harness
#

mojang should have just upgraded to java 11 🥺

obtuse gale
steel heart
#

16 more pog

boreal needle
#

i mean the launcher does its own java thing anyway, they have control over the environment

half harness
#

servers

obtuse gale
#

yeah

ocean quartz
#

People from paper probably annoyed them into deciding kek

half harness
#

don't

old wyvern
obtuse gale
#

wat

old wyvern
#

Also might increase dev productivity to have the new features

half harness
#

wat

obtuse gale
#

yeah fair

old wyvern
obtuse gale
#

and with J17 right around the corner I wouldn't be surprised if they updated to it too for the next version

prisma wave
#

Time is money

old wyvern
#

Which might explain the "records not used" ...etc

boreal needle
#

isnt 17 lts too

obtuse gale
#

yea

distant sun
#

is this right?

@DslMarker
annotation class OptionDSL

@OptionDSL
internal fun optionBuilder(opt: String, builder: Option.Builder.() -> Unit): Option {
    return Option.builder(opt).apply(builder).build()
}```
prisma wave
#

Ues

#

Yes

boreal needle
#

yeah itd make sense if they updated then

distant sun
#

is it because of the class structure or why I cant assign values to fields instead of using methods?

#
        options.addOption(
            optionBuilder("h") {
                longOpt("heads")
                numberOfArgs(1)
                argName("aa")
            }
        )

        options.addOption(
            Option.builder("t")
                .longOpt("test")
                .required()
                .desc("test")
                .build()
        )```
half harness
#

what does internal do in kt?

obtuse gale
# prisma wave Time is money

Actually yes! I don't remember where I read this exactly but I read an article once about companies supporting newer platforms of whatever and how much difference it made in productivity and especially costs!!

#

That is something you don't really think about

prisma wave
#

in a good way or bad way?

distant sun
#

it was supposed to be inline but internal means it cant be accessed from other classes iirc

obtuse gale
#

But it does have a huge effect

obtuse gale
prisma wave
#

Ah yeah

prisma wave
#

I imagine that would apply to pretty much everything except legacy stuff

old wyvern
prisma wave
#

afaik java 9 actually takes some effort to migrate over

distant sun
#

close, yugi

old wyvern
#

wdym?

distant sun
#

I was close xd

old wyvern
#

Oh ok

old wyvern
#

I dont understand what you're asking

ocean quartz
distant sun
#

arent kt builders supposed to work like property = value?

someBuilder {
  name = "Gaby"
  class = ClassType.ARCHER
}```
half harness
#

yea

old wyvern
#

Those arent "builders", rather they are named arguments for some function

#

Builders are useless boilerplate if used in kotlin for the same reason

prisma wave
#

That's not a named argument

old wyvern
#

You can get the same functionality with default values and named arguments

distant sun
#

wait nvm I think I got it

old wyvern
#

Oh wait yea true

prisma wave
#

lol

old wyvern
#

That looks like a receiver

#

xD

distant sun
#

the problem is that the class is already a builder

#

and the mehods arent named setSomething() but something()

old wyvern
#

Change those?

#

Create extensions?

distant sun
#

not my class

#

might work, will see

ocean quartz
old wyvern
#

😮

ocean quartz
#

Probably when Valhalla drops 😩

old wyvern
#

🥲

half harness
#

what is valhalla

old wyvern
#

🥴

prisma wave
#

Yeah we're not getting fibres for a long time

obtuse gale
#

enhanced RNG :0

old wyvern
prisma wave
#

But sealed classes are nice

obtuse gale
#

that's pog!!!

prisma wave
#

And the random stuff

obtuse gale
#

yo that's awesome actually

old wyvern
#

@half harness

obtuse gale
#

@half harness ^

half harness
#

;-;

old wyvern
#

@half harness ^^

obtuse gale
#

Now I can say I am a PROUD SLIMJAR CONTRIBUTOR

#

Matt give me my role!!

steel heart
#

😮

ocean quartz
#

😮

old wyvern
#

😮

half harness
#

😮

#

can i edit the readme

old wyvern
#

What?

#

lol

obtuse gale
half harness
#

removed only 1 line

old wyvern
#

Header files ftw

half harness
#

wow

old wyvern
#

yako PRd a spelling fix

#

😅

ocean quartz
obtuse gale
#

My best move was removing a single char in Incendo/cloud readme lol

obtuse gale
#

ipsk 1,651 ++ 921 --
emilyy-dev 1,379 ++ 1 --

old wyvern
#

Oh maybe that was in commots

#

Commits

ocean quartz
#

Ugh i need to figure that Gradle stuff

half harness
#

im so confused

ocean quartz
#

Gradle is probably one of the worse documented softwares I've seen

obtuse gale
#

Java's current PRNGs are all uniform distribution right?

old wyvern
#

🥲

quiet depot
#

wat

#

gradle has loads of docs

#

what r u confused about

old wyvern
#

Gradle plugins

obtuse gale
#

yes piggy but reading is for nerds

old wyvern
#

Docs for gralde plugins

frail glade
#

Inb4 "Pls DocDex the Gradle forums"

ocean quartz
#

None of which covers plugins Piggy

quiet depot
#

ah

#

well

#

LOL GOOD LUCK

old wyvern
#

🥲

ocean quartz
#

Lmao

quiet depot
#

what do u need to make a plugin for?

#

perhaps an applied script would suffice

old wyvern
#

slimjar

quiet depot
#

what does it do

#

the plugin

half harness
#

how do i use slimjar 😩 do i use Appending Applications or Isolated Module Applications
also idk what a urlclassloader or a boostrap module is ;-;

quiet depot
#

urlclassloader is a kind of class loader that loads classes from urls

#

bootstrap module, bootstrap refers to a program's initiation period

#

so bootstrap module, a module that handles the bootstrap

ocean quartz
# quiet depot what does it do

Auto defects dependencies, sets up relocations, isolated projects, etc, basically all depends on the plugin, to be simple to use

old wyvern
half harness
#

pdm was so simple 😩

quiet depot
#

iirc plugins aren't too hard

#

I think I've made a plugin before

obtuse gale
old wyvern
#

Ill create a proper example dkim

#

lol

quiet depot
#

also

old wyvern
#

Its actually just almost a copy paste of the example into your onLoad

quiet depot
#

bm has experience in making plugins now that I think about it

#

so definitely ask him

ocean quartz
#

Simple things are pretty easy, but when it comes to adding more advanced stuff it's awful, i had to go around their slack to find good resources

obtuse gale
#

slack

quiet depot
#

oof

obtuse gale
#

haven't heard of that bad boy in a while

ocean quartz
#

I probably know more about plugins by now than he does since I've been suffering on this for so long 🥲

old wyvern
#

🥲

quiet depot
#

well

#

I hope you know you've just volunteered to make the papi 3 gradle plugin

ocean quartz
#

Ayy actually nice, I'm down for that

quiet depot
#

i can't even remember what it's meant to do

#

I'm guessing just generate the metadata papi needs

#

honestly can't remember, been so long

old wyvern
#

Papi3 ded?

ocean quartz
#

That shouldn't be too hard

quiet depot
#

nah

#

I actually did a tiny bit of work on papi 3 a few weeks ago

old wyvern
#

Its mostly complete right?

quiet depot
#

ye

#

I mean

#

like code wise yes

#

but there's a lot more to it than code

#

if you include the entire process, not even close to being complete

#

entire process being documentation, expansion implementations, testing

onyx loom
#

🥲

old wyvern
#

Hmm

steel heart
#

is there anyway I can contribute or no?

quiet depot
#

when the api is finalized you'll be able to contribute expansion implementations, javadocs, testing, etc

#

but it's not finalized

#

so no, not really atm

old wyvern
#

Papi 2030

#

The future of technology

quiet depot
#

the 3 stands for the third millennium

old wyvern
#

If only it was written in haskell

old wyvern
frail glade
#

Will be interesting to watch all these older plugins on Spigot break.

half harness
#
    final ApplicationConfiguration config = ApplicationConfiguration.createDefault("MyApplication");
    final ApplicationFactory appFactory = new ApplicationFactory(config);
    final Application app = appFactory.createAppendingApplication((URLClassLoader)MyApplication.class.getClassLoader());
    // The dependencies are now available in the classloader provided, in this case, the application classloader
```what goes in `MyApplication`?
frail glade
#

Time to start compiling under Java 16.

quiet depot
#

but waffle

#

dcevm

old wyvern
#

flashbacks of sxs papi update

obtuse gale
frail glade
#

Idk what that is.

half harness
#

the server tho

#

nvm

obtuse gale
#

mhm

half harness
#

time to never update 🙂

old wyvern
obtuse gale
quiet depot
#

waffle how do you not know what it is

frail glade
#

I don't even hotswap.

quiet depot
#

i've been rambling on about it for years

old wyvern
#

Lol

half harness
#

🤣

frail glade
#

You're a pig. I eat you for breakfast.

half harness
#

👀

#

waffle!

#

i just ate you today

quiet depot
#

yeah you're literally a waffle lol

half harness
#

like 1 hour ago

frail glade
#

Say less.

half harness
#

was very yummy to be honest

frail glade
#

Idk, I don't really hotswap and care about doing improvements to it.

old wyvern
#

Yes, waffle on haskell soon ™️

quiet depot
#

hotswap is essential to my dev workflow

frail glade
#

Fair enough.

half harness
quiet depot
#

i'm gonna have to update dcevm myself unless 17 comes out soon enough and hotswapprojects update it

#

no dkim

old wyvern
#

Any class inside your plugin should suffice xD

#

You can just call getClass

lost forge
half harness
half harness
old wyvern
quiet depot
#

well 17 isn't out yet

ocean quartz
quiet depot
#

and they don't seem to release updates for non-lts

#

but with a project like dcevm, you can't expect updates

#

it's just not popular enough to be reliable like that

old wyvern
lost forge
half harness
old wyvern
#

Yea

quiet depot
#

lol honestly probably doesn't matter that much omega

#

I do very little dev these days anyway

lost forge
#

Lol, I have been slack with my dev stuff... I really need to get back into it one of these days and finish updating my plugins....

quiet depot
#

i don't have time

frail glade
#

Yeah, I finish up finals this weekend and next week I start my 9 - 5 internship.

quiet depot
#

i've got exams next week and I haven't even started revision lel

lost forge
#

Maybe you should start then.

quiet depot
#

teachers thought it'd be a good idea to load every day up last week, and the week prior with a test

#

or at least the equivalent

#

so I literally haven't had a chance

quiet depot
#

memory gonna have to come in clutch

distant sun
#

I have exams on 7 11 16 and 21 june, F

old wyvern
#

Man one of my prof didnt even take a single class after our mid terms and now we have who knows what coming up for its exam next week

half harness
#

time to add that in dkim19375Core :)) ```kt
override fun onLoad() {
setupSlimJar()
}

why can't slimjar just be ```java
SlimJar.load(getClass());
```and then ```java
public static void load(final Class clazz) {
    final ApplicationConfiguration config = ApplicationConfiguration.createDefault(clazz.getConicalName());
    final ApplicationFactory appFactory = new ApplicationFactory(config);
    final Application app = appFactory.createAppendingApplication((URLClassLoader)clazz.getClassLoader());
}
lost forge
# ocean quartz Same 😫

I have a plugin updated... but haven't tested yet and it's a huge update so don't wanna release it and make others test as it mostly likely doesn't even work yet hahah.

old wyvern
half harness
old wyvern
#

Youd be changing those as you want depnding on your use case

#

Its really just 3 classes tho

#

Or actually, in this case, 2

distant sun
#

I got a tone of projects to finish, including one with deadline for tomorrow but I cant stop working on guihelper xd

distant sun
#

Chat when @ocean quartz

ocean quartz
#

I want to work on it but, i have so many things to do 😩

onyx loom
#

🥲

lost forge
quiet depot
#

oh

#

well

distant sun
#

Welp

quiet depot
#

pig epoch is 1000 AD

#

so frick u

onyx loom
#

:(

ocean quartz
lost forge
#

I usually just end up playing games instead...

quiet depot
#

ez

distant sun
#

Two in the same day? Ok

onyx loom
#

i finished college today 🙂

quiet depot
#

yeah physics and engineering on the same day

distant sun
#

Damn nice kali

ocean quartz
#

Ayy nice Kali

quiet depot
#

uni time kali?

onyx loom
#

the bad news is that now i have to find a job 🥲

#

na fuck uni

ocean quartz
#

Haha, job 🥲

onyx loom
#

life only gets better from here !!!

distant sun
#

Is that what UK parents tell to their childs after college? Ok

old wyvern
lost forge
ocean quartz
#

Gonna open a game dev company and hire all you nerds

quiet depot
#

wtf

#

pls no

#

game dev sucks ballsacks

ocean quartz
#

Yes, let's make buggy games

quiet depot
#

why don't u make a company that makes boring (but very complicated and high quality) backend software

obtuse gale
#

i need a job

quiet depot
#

that's where the fun is

old wyvern
quiet depot
#

do you like it?

old wyvern
#

Ofc I do, i study it lol

quiet depot
#

unique breed

ocean quartz
#

I personally like it too
But then again I like backend as well

quiet depot
#

idk if what I like would be called backend or not

#

my main interest is like dev tools and shit (docdex is a perfect example)

#

which I usually call backend but idk if that's appropriate

ocean quartz
# obtuse gale i need a job

Yas, then i can give you a job so you can get documentation to work in europe so you can leave that place!

#

Dev tools is nice as well

hot hull
#

Matt, do hit me up with that job offer :kek:

old wyvern
#

xD

ocean quartz
#

Also I keep forgetting I wanted to make a PR for Docdex to fix the ordering thing

quiet depot
#

make sure to test

#

i wrote a big wiki with everything u need

ocean quartz
#

Yeah

quiet depot
#

its a bit of effort to setup

#

unless you already have a webserver, mongo, and mysql installed

#

actually you don't even need mysql