#dev-general

1 messages ยท Page 593 of 1

eternal compass
#

Then if they're on the same domain it works

ocean quartz
#

I'm giving options, how is shadowJarTask.finalizeBy(copy) non-reproducible? thonking

static zealot
wintry plinth
#

No problem

#

This is super nice especially for automated logs from a plugin

prisma wave
ocean quartz
#

No

static zealot
prisma wave
#

huh

wintry plinth
#

So you only run one task, and it auto does the rest?

static zealot
#

yes you just call gradle copytask or whatever its called and the tasks it depends on are called before executing the copy one

ocean quartz
static zealot
#

ah. ok

#

same thing I guess

ocean quartz
#

It means once shadow finishes runs copy

static zealot
#

yeah. either finalize or depend. does the same shit I guess

wintry plinth
#

can you have it so when you run Gradle build, it does shadow and then copy?

#

Like havs those depend on build

#

Instead of manually specifying Gradle copyMyShit

static zealot
#

not sure. probably not

#

never tried tbh

prisma wave
#

you can but ๐Ÿ˜ท

static zealot
#

wait @eternal compass never worked with cf workers. where is this shit stored after that? do I need to have a server to host it?

wintry plinth
#

Ohh, thank you lots all, only thing I need to research now, is a dank light way I can send a JSON payload to an api with Java.

Like with multiple keys inside each other, then Iโ€™m good to go

wintry plinth
#

Like serverless stuff

static zealot
#

oh right. says it in the first line

#

fuck I'm to tired

wintry plinth
#

Iโ€™ve never used them myself but they seem so cool

static zealot
#

and its just 18:54 ๐Ÿ˜ฆ

wintry plinth
#

That CraftHead api is hosted on CF

static zealot
#

hmm. but that also means I have no saying on deleting paste bins. so I guess is cool but not as cool as self hosted ones.

wintry plinth
#

I know it would be effort but I guess you could add an admin thing for deleting, but by that point you may as well just code the thing yourself

static zealot
#

I mean even so. its pretty cool. and might do it. just so I can show how cool I am by having my own paste service

#

anyways. to much documentation to deal with today.

#

@half harness wanna take a break?

half harness
#

uh

#

1 sec

static zealot
#

yo how do you launch an appimage without the console output? I know you use ./IMAGE-NAME to launch it but if I exit from the terminal it terminates the app as well

#

I remember there being an argument but can't remember what it was

#

oh it works. @half harness alright. joining now.

#

oh fucking hell. it does that again. where it logs me in but when I go to play multiplayer I'm not actually logged in

#

@half harness join

eternal compass
frigid badge
#

gorgeous

viral grove
#

Tried to use Flutter + Dash, Flutter wouldn't connect to my phone. Time to look at React Native ig, (and learn TS, the second language I'm learning today).

steel heart
#

wouldn't connect to my phone
oo what happened more specifically

viral grove
#

Tried flutter attach. It said something along the lines of it's trying to connect, and didn't do anything.

viral grove
ocean summit
#

Why can I only get version 2.10.4 of PAPI with maven?

soft sky
#

my friend acc got disabled

#

he got hacked hacker disable his acc

#

what to do

dawn hinge
#

I believe your friend can simply logic and it would reactivate if it was disabled with 7 days

old wyvern
#

Oh yes sure, please ๐Ÿ˜ฎ๐Ÿ˜ฎ

#

I dont have the source to older versions tho, just 1.3.0

#

Could possibly go back a few commits to fetch the older versions

#

Oh ๐Ÿ˜‚๐Ÿ˜‚

prisma wave
old wyvern
#

Alrighty

buoyant ridge
#

hello is placeholderapi 2.10.10 compatible with 1.8.8? because I have an error

static zealot
#

yes.

#

and wrong channel

half harness
#

I decided to add renovatebot to github and uh

#

is there a way to see open issues on your github repos or something

#

oh wait nvm

obtuse gale
#

Lol

half harness
#

after 25 minutes i finally finished ๐Ÿ˜ค

eternal compass
#

๐Ÿ˜ฆ damn I need to build a tournament system for a 1-time event ._.
anyone know if there's some sort of OS tournament manager that I could look into?
I can provide it with data and such, but it would deal with telling me when to start games, with who, etc. (and maybe even a discord bot? ๐Ÿ‘€)

#

and this is a multi-server tournament (I'll use smth to generate them on-demand), so a spigot plugin won't work :p

obtuse gale
#

How do you make a gpu accelerating anti cheat?

eternal compass
#

GPUs are almost exclusively for mining, rendering, and user computers

#

and anyway I don't think that would be too efficient

obtuse gale
#

Itโ€™s to make it async

#

Do you know how?

old wyvern
#

๐Ÿคฆโ€โ™‚๏ธ

obtuse gale
#

You donโ€™t know async?

#

Itโ€™s when stuff runs parallels

obtuse gale
#

Bruh okay stop being mad

obtuse gale
#

You donโ€™t know what async is so why should I? :(((((

obtuse gale
#

This guy lmao

obtuse gale
#

Not funny, didnโ€™t laugh

obtuse gale
#

Joe mama

#

I will async her

obtuse gale
#

Anyways back to my question

#

How do I make a gpu accelerating anti cheat

#

?????

#

choose your fighter

#

Bruh

#

I just want some help

old wyvern
#

"ASyNc"

ocean quartz
#

gpu accelerating anti cheat
On client side?
Lots of servers won't even have gpus

obtuse gale
#

I mean to run code on a GPU you need to dispatch compute shaders

eternal compass
#

and hope the server has a GPU

obtuse gale
#

Hmm maybe I just mean async

old wyvern
#

xD

eternal compass
#

GPU is not async

obtuse gale
#

It is

eternal compass
#

uh

obtuse gale
#

Sort of

#

not necessarily

old wyvern
#

Man

eternal compass
#

its a graphical processing unit

#

not necessarily async

obtuse gale
#

the CPU will still have to wait for it to finish lol

eternal compass
#

^

obtuse gale
#

Blah blah blah

#

Same thing

#

So how do I do this anti cheat

eternal compass
#

tf?

#

same thing?

#

anyway make a new thread

#

and do it there

old wyvern
#

xD

#

Im dying

eternal compass
#

much better than trying to use a GPU

distant sun
#

lol

old wyvern
#

@prisma wave album content

obtuse gale
#

I leave

#

Bully server

#
new Thread(AntiCheat::run).start();
obtuse gale
#

your questions make no sense

#

lol ok

old wyvern
#

xD

prisma wave
#

most servers won't even have discrete GPUs lol

eternal compass
ocean quartz
#

He left lol

eternal compass
#

oh it was a troll account

#

smh

old wyvern
#

Forget gpu acceleration, I dont think the dude has any clue what hes doing

eternal compass
#

it has the new to discord thing

ocean quartz
#

I don't think he was troll at all, which makes it more funny

old wyvern
#

ikr xD

eternal compass
#

I think it was

#

its new

#

noone makes a new account, joins helpchat, and asks to make a GPU accelerated anticheat

obtuse gale
#

SQL GC, GPU AC

#

what else

old wyvern
eternal compass
#

lmfao

ocean quartz
old wyvern
#

What was that guys name?

#

Titan?

#

Titanic

#

yes that

eternal compass
#

also look at that profile picture

#

probably just google discord profile picture

old wyvern
#

I wanna mmake a Toaster accelerated Spaceship

#

Someone wanna help?

ocean quartz
#

You'll need about 6 million toasters

eternal compass
old wyvern
#

Dammit!!

#

Ah yes, very close. Very close indeed

#

Circumcenter my ass

#

Fuck this

eternal compass
#

lmfao

#

on another topic, anyone want to help me build a tournament managing library for java?

#

basically just an interface that other plugins can use

#

and connect via

#

(a bracket one)

old wyvern
#

Budget?

eternal compass
#

._. os

old wyvern
#

oh

#

I can try to help, but probably wont be too available

eternal compass
#

thats fair

old wyvern
#

tbh I dont think I even have a single commit this whole month

eternal compass
#

nice!

#

wait its the 31st

#

do one

#

quickly

old wyvern
#

lmao

#

My course is almost over so they are forcing us to take like a lot of placement courses

#

Im doing one rn

#

Oh I have 1 commit

#

Oct 2

somber tulip
#

I feel like that question didn't need the context that they're musketeers haha

old wyvern
eternal compass
#

gg

old wyvern
#

for example most problems on codechef is related to cooking and chef's problems

somber tulip
#

Yeah, I've been doing some technical exams for placements too and tbh they're mostly worded horribly. Like half the question is me understanding what's relevant and what's not. Although, some are relevant to the position I'm applying for

old wyvern
#

yea xD

somber tulip
#

You had to do any where you're under the 'exam conditions' and you have to record yourself with a mic, screenshare etc yet? Those aren't fun

old wyvern
#

Yea we have them once every week

#

Finished this week's yesterday

somber tulip
#

oo nice 100% gg

old wyvern
#

๐Ÿ˜„

wintry plinth
#

Can't lie impressed with gradle

#
7:55:53 pm: Executing task 'shadowJar'...

> Task :compileJava
> Task :processResources UP-TO-DATE
> Task :classes
> Task :shadowJar

BUILD SUCCESSFUL in 376ms
3 actionable tasks: 2 executed, 1 up-to-date
7:55:54 pm: Task execution finished 'shadowJar'.
half harness
#

what would be the best way to setup sort of something like a "communications hub" since only 1 server can port forward, the rest can't, so I can't do what I usually do since it'd require ports opened on all the servers

#

I've already done this before (with ktor) using websockets, could websockets also be handly in this too?

old wyvern
#

Yes

#

The other "servers" should be clients in this case and connect to the one that can port forward

#

and once connection is established you can continue 2 way communication

#

@half harness

half harness
#

hmm

#

wait

#

can 1 websocket have multiple clients?

old wyvern
#

wdym?

#

The server can connect to multiple clients, yes

half harness
#

perfect :D

old wyvern
#

Each will be a separate connection

half harness
#

hm

old wyvern
#

The server should mediate the interclient messages

half harness
#

interclient?

old wyvern
#

client to client

half harness
#

ah

old wyvern
#

Imagine a chat service

#

User A sends a message to User B

#

The server mediates the message to User B from User A

half harness
#

got it ๐Ÿ‘

#

thanks! :)

old wyvern
#

๐Ÿ’ฏ

eternal compass
#

lmfao

#

even I know gradle is better

#

I just use maven because I'm an idiot

onyx loom
#

๐Ÿฅด

wintry plinth
#

Haha

#

Thatโ€™s me with Kotlin to be fair (relating to image)

eternal compass
#

kotlin isn't always better though

half harness
eternal compass
#

look at your bedwars plugin vs bedwars 1058 /s

ocean quartz
#

Yeah, explain yourself

prisma wave
obtuse gale
steel heart
eternal compass
#

I know pop (one of the admins), and wanted to publish some of my stuff there so I got in

dense dew
#

lmao

inner umbra
#

Imagine using a dependency manager ๐Ÿ˜‰

steel heart
#

Pdm ๐Ÿ‘€

old wyvern
#

Oh no...

#

๐Ÿฅถ

sick belfry
#

oh no

#

use intellij ๐Ÿ‘

old wyvern
#

Actually I dont think course really needs an ide

#

they have an integrated one

#

Not sure why they have that there

wintry plinth
#

First time using Copilot today and ๐Ÿ˜ its so helpful

#

thought it was a gimmick

wintry plinth
#

From spigot playerjoinevent, can you get the domain the player logged on from?

dense dew
#

no I think but PlayerLoginEvent yes

wintry plinth
#

ty

oak raft
old wyvern
#

My course ends in 2023, so 2023 batch

sick belfry
humble silo
old wyvern
forest pecan
#

XD

foggy pond
#

If I am working on a 1.17 plugin, can I use Java 16 for it?

#

I just found out about the enhanced instanceof and I love it

onyx loom
#

of course

half harness
#

so

#

yes u should

foggy pond
#

Sik

#

Is 1.17 finally better performance wise compared to 1.12/1.8

half harness
#

btw yugi

#

is there any fix for slimjar?

#

i remember u talking with bm about his repo or something

#

but i have no idea how to set it up or what repo it is

half harness
#

because theres like a billion more features

foggy pond
#

or is the number of those people finally going down

half harness
#

idk about the stats tho

foggy pond
#

There must be some stats on this somewhere

#

Maybe some server hosts

onyx loom
#

performance really isnt as bad as everyone thinks

foggy pond
#

Yeah I think it's blown out of proportion a lot

half harness
#

1.8 is 7.8% - which is a lot more than I thought tbh since if you google "how to make a minecraft server" it'd probably show 1.15+

1.12 - 8.3%

#

๐Ÿค”

#

interesting

foggy pond
#

I see a lot of people saying "omg I tried running a 1.16 server with 5 people and it was lagging like crazy"

half harness
onyx loom
#

if u cant run a server with 5 players then thats definitely a you problem lmao

half harness
#

with my other pc it took me 40 seconds to startup 1.16 and 5 seconds to startup 1.8

#

on the test server, so probably similar plugins

#

ยฏ_(ใƒ„)_/ยฏ

foggy pond
#

Using the vanilla server

onyx loom
#

exactly

foggy pond
#

With 16gb of dedicated ram

half harness
#

i dont have that pc anymore

#

;-;

onyx loom
#

u can still do it

foggy pond
onyx loom
#

startup times are very similar to 1.8 now

half harness
#

ooh

#

alr

#

lemme try

foggy pond
#

It took 8 seconds to me

#

With 5 plugins installed

half harness
#

took 30.370 seconds

#

with 23 plugins

#
Plugins (23): AntiDisconnectSpam, CleanroomGenerator, Essentials, ItemEdit, LastLoginAPI, LuckPerms, Multiverse-Core, Parties, PlaceholderAPI, PlugMan, ProtocolLib, SkinsRestorer, spark, TAB, TCPShield, Vault, ViaBackwards, ViaPotions, ViaRewind, ViaRewind-Legacy-Support, ViaVersion, WorldEdit, WorldGuard
#

vs 1.8s 6.701 seconds

#

with 19 plugins ```
Plugins (19): AntiDisconnectSpam, CleanroomGenerator, Essentials, HolographicDisplays, ItemEdit, LastLoginAPI, LuckPerms, Multiverse-Core, Parties, PlaceholderAPI, PlugMan, ProtocolLib, SkinsRestorer, spark, TCPShield, Vault, ViaVersion, WorldEdit, WorldGuard

foggy pond
half harness
#

1 sec

onyx loom
#

plugins ๐Ÿฅด

half harness
#
Plugins (18): AntiDisconnectSpam, CleanroomGenerator, Essentials, ItemEdit, LastLoginAPI, LuckPerms, Multiverse-Core, Parties, PlaceholderAPI, PlugMan, ProtocolLib, SkinsRestorer, spark, TCPShield, Vault, ViaVersion, WorldEdit, WorldGuard
```they both have these same plugins
1.8: 6.306 seconds
1.17: 14.998 seconds
foggy pond
#

Yeah with no plugins 1.8 is ~2.5 seconds and 1.17 is ~3.5 seconds

#

Not sure how to get exact times

half harness
#

should show on it

foggy pond
#

oh

half harness
foggy pond
#

This is 1.17 with no plugins then

half harness
#

seems like this plugin is making it go from 14 -> 30 seconds

foggy pond
#

And this is 1.8 thonking

half harness
#

xD

foggy pond
#

To me base paper is faster on 1.17

half harness
#

ยฏ_(ใƒ„)_/ยฏ

half harness
#

now its 16 seconds

#

with the plugin

half harness
#

same plugins, very different time

#

weird

#

lol

foggy pond
#

The fact that 1.17.1 is faster than 1.8.8 on my machine is wild tho

onyx loom
#

bad pc

half harness
foggy pond
#

Yes by ~0.2 seconds but still

half harness
#

and 1.12 would probably make a slower result

#

so

#

i assume its a gameplay thing

#

that slows it down?

#

ยฏ_(ใƒ„)_/ยฏ

#

instead of just startup time

#

idk

#

i haven't ever ran a 1.12 server before

#

maybe once for compatibility check before but i dont remember

foggy pond
#

I just wish everyone used servers post-1.13

sweet cipher
#

Wasnโ€™t 1.14 bad?

half harness
#

wouldn't you be able to make a custom 1.17 jar to recreate 1.8 pvp on 1.17

#

if someone made a fork for that then that'd be a huge thing ๐Ÿ‘€

#

sorta afk

sweet cipher
#

Probably already is

half harness
#

hmm

half harness
#

then there would be 0.01 reason to use 1.8

#

then plugin developers don't have to think about 1.8 stuff

#

๐Ÿคฉ

#

since you just have to do OldCombatMechanics + new kb (preferably not vanilla kb tho, not in OCM because you need custom server jar) + blockhitting (could be achieved with packet listener) + reducing (idk if its in 1.17 idk)

earnest ibex
#

who can give me an ItemsAdder plugin please? I very need it, but cant buy

foggy pond
#

๐Ÿคจ๐Ÿ“ธ

half harness
#

๐Ÿคจ

foggy pond
#

Caught in 4k

#

I am getting this weird error when building my plugin Unsupported class file major version 60

half harness
#

full error?

foggy pond
#

I didn't get this when I was writing with Java 8, now that I moved to Java 16 I am

#

That's all it says

half harness
#

is it a gradle error?

foggy pond
#

a maven error

half harness
#

o

potent nest
#

60 is java 16, so wherever the error occurs, you're running something below that

foggy pond
#

Not sure I follow

#
    <properties>
        <java.version>16</java.version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>``` my java version is 16 tho on my pom
#

My pom has this weird error however

onyx loom
#

what is ur jdk set to in project structure

foggy pond
#

16.0.1

foggy pond
onyx loom
#

idk, can u show the pom?

foggy pond
#

Yeah im dumb

#

There was a - character somewhere

#

The problem is still here tho

#

What I notice is that mattstudios commands plugin does not get shaded into my plugin due to this error

#

That's my pom either way

#

Could it be that Mattstudios commands does not support Java 16 yet...

obtuse gale
#

I'm fairly certain maven-shade does not support relocations for Java 16+

foggy pond
#

does that have anything to do with the issue

#

Ah so I cannot really use Java 16 in my project then

#

if I am shading a library

obtuse gale
#

You can not relocate if that works for you, but it's a really bad idea

#

Or use gradle

foggy pond
#

What

obtuse gale
#

What what

onyx loom
#

gradle +1

foggy pond
#

"You can not relocates if that works"

#

Or I can use Java 15

obtuse gale
#

Better?

foggy pond
#

It's already huge to go from Java 8 to Java 15 anyway so I'm fine with not using Java 16

obtuse gale
#

In any case it's a maven issue

#

Sucks to suck

#

Gradlereversed_fingerguns

foggy pond
#

Too much effort to migrate my project from maven to gradle

#

Easier to just use Java 15 till maven fixes the issue ๐Ÿ˜‚

obtuse gale
#

Lol as if they will

onyx loom
#

gradle will automatically convert 90% of it for u

obtuse gale
#

Also that

foggy pond
#

What am I supposed to do then?

onyx loom
#

gradle init ๐Ÿ˜Œ

foggy pond
#

Alright I ran that command

#

Well I did that

#

Now what

#

I still have the maven window on the right and not a gradle window

onyx loom
#

do u have all of the gradle files now

foggy pond
#

I got gradlew and gradle.bat

onyx loom
#

no build.gradle?

foggy pond
#

Is it normal for init to take 6 minutes

#

It's still going

#

a

onyx loom
#

probably not

foggy pond
#

I was supposed to select yes or no

onyx loom
#

๐ŸŒš

foggy pond
#

Should I pick groovy

onyx loom
#

up to u

#

many people will say kts

foggy pond
#

I have got no clue what either of those are

onyx loom
#

they are just the languages u can use for gradle

#

so groovy or kotlin

foggy pond
#

Should I load

onyx loom
#

ya

#

thatll get u the gradle sidebar

foggy pond
#

all I have is this though

hot hull
#

Gotten some "inspiration" recently to start messing about with development again, but got little time cause so many other things to do sadgechatting

foggy pond
#

same

onyx loom
#

whats in ur build.gradle

old wyvern
#

@prisma wave uh have you made that nexus account?

prisma wave
#

oop

old wyvern
#

lol

#

Btw i think ill have to create a new instance from scratch

#

Like it was disabled earlier

#

Now its terminated

#

๐Ÿฅด

#

Fuck you oracle

prisma wave
#

Rip

#

at least you still have your account ๐Ÿ™ƒ

old wyvern
#

Gotta figure out a ready to deploy solution woth frequent backups

old wyvern
#

Im waiting for my account termination now, any day

prisma wave
#

should've guessed it was a scam

old wyvern
#

Yup

#

But I can abuse their service till that day atleast

#

Ill make sure termination is useless

prisma wave
#

lmao

#

shitty company

gusty glen
#

it's the sort of code I love, smart use of OOP and methods

sweet cipher
#

It makes a nice pattern as you scroll down

prisma wave
#

most organised OOP code vs least organised FP code

old wyvern
#

least organised FP code >>>>>> most organised OOP code

#

Tbh, I'd love to abuse that implemntation and spam tab completions till the server dies with an OME

distant sun
#

=))))

obtuse gale
#

Man, jOOQ is so nice!

#

Anyone tried it before?

static zealot
#

no

half harness
#

no

static zealot
#

hi dkim

ocean quartz
gusty glen
ocean quartz
#

It's pretty ugly most of the times, specially with complex queries
Though i really like it

gusty glen
#

oh, I've only used it a bit for small queries so I don't really know much myself, but it felt really good to create tables using kotlin object, through I would prefer if I could relocate it to be able to use it properly on bukkit plugins (https://github.com/JetBrains/Exposed/issues/1353)

half harness
obtuse gale
#

is there a way to make it so that wheat and grass and other blocks that you can mine instantly have a mining time?

#

e.g you have to spend time to mine a wheat crop

#

guess it's not, because it's decided clientside

ocean quartz
#

New video from Sebastian Lague blureyes
https://www.youtube.com/watch?v=sLqXFF8mlEU

A little experimental game I've been working on recently, where you fly around a tiny version of the world and deliver packages to various cities. Would love to hear any ideas you might have about how this could be taken further!

The source files for this project are currently in early access to patrons of the channel, but will be made public l...

โ–ถ Play video
static zealot
#

cool

prisma wave
#

who?

old wyvern
#

dr. who?

prisma wave
#

dr dr

obtuse gale
#

Still D.R.E.

sick belfry
#

cool

half harness
#

random question
but
with public/private keys, would both the client and server have a private key?
so 3 keys in total?
or 2 keys in total - the client just uses public key?
If there's 3 keys - then how does the client make a private key?
If there's 2 keys - then how does the server send the client encrypted data? since wouldn't hackers be able to use the public key to decrypt it ๐Ÿค”

obtuse gale
#

There are two parties in this: sender and receiver:

  • receiver publishes out to the great World Wide Web a public key, that others can use to encrypt messages to send to the receiver; said public key only makes sense when used to encrypt, not decrypt (think of it as a "lock" anyone can use)
  • receiver also has a private key counterpart, that will decrypt any message that they receive encrypted with the public key; no one, absolutely no one on the entire face of the Earth has this private key other than receiver (this would be the "key" to open said "lock")
  • senders want to send a message to receiver, but they want it to be secret so they encrypt it with the public key and then send the encrypted message to receiver (they "use the lock" on the message so no one else can open it)
  • receiver receives the encrypted message and uses the private key to decrypt the message (they "use the key on the lock" to open it and read the message)
#

Asymmetric encryption

#

I personally suggest watching these interesting videos explaining, demonstrating and showing the details on RSA specifically:
The RSA Encryption Algorithm (1 of 2: Computing an Example) https://youtu.be/4zahvcJ9glg
The RSA Encryption Algorithm (2 of 2: Generating the Keys) https://youtu.be/oOcTVTpUsPQ

half harness
half harness
winter iron
#

i believe so

#

would make the most sense right

#

both parties have their own keys

half harness
#

ah

obtuse gale
#

Yeah the other party would publish a public key and have their own private key as well

half harness
#

makes sense, ty :D

#

now im encryption expert ๐Ÿ˜Ž

obtuse gale
#

nice

forest pecan
#

This gives a very good explanation

#

The goal of pretty much any encryption standard is to make something easily encryptable but hard to go back. The video provides an example of a math equation which conveys this.

#

Usually RSA is paired up with symmetric encryption like AES

#

To pass the keys, cause you obviously dont wanna fly over to the person you want to send the message to and give them the password irl lol

obtuse gale
#

why not?

forest pecan
#

I wanna go to Argentina some day

#

imma fly there and just hand you slip of paper lol

river citrus
#

how do u know what the port of a server is?
is it the "rcon:port" in server.properties?
or the "query.port"
or the "server-port"

forest pecan
#

server-port

river citrus
#

k thx

tough trout
#

Does anyone know how to use incendo/cloud framwork

#

If you do please message me

potent nest
#

Just use it

remote goblet
#

i'm gonna astrobLost astrobLost oh so kms

#

college is forcing me to learn python peepoCringerotate

#

i don't want to learn your shitty language, pete

hot hull
#

Tell them to go suck a fat one

#

Tell them y'all should learn Go instead

remote goblet
#

i can't, it's the college assignment

hot hull
#

learn it to the point the professor has no idea what anything means

#

Works best

remote goblet
#

he does python & c# slpyBonk

hot hull
#

most professors know jack shit so

remote goblet
#

hes telling people to do it in peepoCringe pseudo code peepoCringe

#

because in 7 weeks of a programming class

#

he has taught no actual programming

hot hull
#

bruh in our country I got a friend whos in year 3, all they've done is simple methods you could learn yourself in like 10mins time. They have databases this year so not surprised if they teach jack shit of that as well

remote goblet
#

they taught databases in a separate class

#

mysql? no

#

microsoft access? absolutely

hot hull
#

The fuck

#

Just use google sheets as storage

#

ez

remote goblet
#

literally the only class that had any actual learning

#

was web development

hot hull
#

still very basic stuff I'm guessing

remote goblet
#

but that's all choke useless to me choke

#

have you guys heard of <p> tags

hot hull
#

kek

remote goblet
#

man i wish i passed my maths

#

so i wouldn't be in this donkey level

hot hull
#

Not surprised you failed math so

remote goblet
#

i missed out on 5 years of education so bite me

hot hull
#

Nah I mean cause you gay, and you said gays can't do math so

remote goblet
#

well actually

#

they can do maths

hot hull
#

So just you then?

remote goblet
#

but it's really on two different sides

hot hull
remote goblet
#

you either can't do maths at all

#

or you're fuckin alan turing level smart with maths

#

cause let's remember that he was gay slpyBonk

#

that's generally how it works

#

no in between

hot hull
sick belfry
#

which theme is this one kekwhyper

#

and yes vscode

distant sun
#

material?

sick belfry
#

now I like it

#

thx

#

I like typescript

static zealot
#

lmao

#

fuck fuck fuck fuck fuck

gilded granite
#

hi guys i made website

#

please check it out

#

link is

#

gud website ples check it out yes

remote goblet
gilded granite
#

do you like the websit

remote goblet
gilded granite
#

do u

remote goblet
#

thats a localhost

obtuse gale
remote goblet
gilded granite
#

hm your websit not load

#

did you hak me

#

no pleas man dont hak me

#

please undo the hak

#

i dont want a be hak

obtuse gale
#

.>

wintry plinth
gilded granite
remote goblet
gilded granite
#

o rait

remote goblet
#

its a server hosted on your pc

gilded granite
#

its wun of dose websits

#

that

#

hak u

remote goblet
#

a local host

gilded granite
#

rigt?

gilded granite
obtuse gale
#

try this

gilded granite
#

i only uze a laptop

#

i no hav pc

#

just linux laptop sir

gilded granite
#

but linux not laik dat lol

#

anyway

#

do yu guys like my websit?

#

also ori can yu unhak me pleas i dont want a to be a hack

obtuse gale
#

cd..
cd..

format C

gilded granite
#

okay sir i will run da commend

remote goblet
obtuse gale
#

Whilst you're there, find: svhost.exe and delete it.

#

:V

remote goblet
#

dont do that

gilded granite
obtuse gale
#

its a virus

#

its not really.

gilded granite
#

oh okay

#

where it lokated

#

i delit

gilded granite
#

alright im gonna stop being intentionally stupid now lmao

remote goblet
#

please

#

you hurt my brain

gilded granite
#

LMAOOOOO

#

good

obtuse gale
#

lmfaoo

gilded granite
#

mission success

obtuse gale
#

yeah I was having a brain fart

#

I saw that "delit"

obtuse gale
#

I was just dying inside.

gilded granite
#

the horrible grammar and the fact that i tried to send a localhost to you

#

and pretending like i didnt know

#

brain hurt was a success

obtuse gale
#

The fact you're now explaining it to us like we didn't know

#

is hurting my brain

#

please..

#

:V

gilded granite
obtuse gale
#

O_O

#

lmao.

gilded granite
#

fuck off barry

obtuse gale
#

thats my cat

#

how did you get my pics

remote goblet
#

all my homies hate barry

gilded granite
#

i dont

remote goblet
#

i dont have a brain doroClown

gilded granite
#

i do B)

sick belfry
gilded granite
#

no

#

its mine! >:)

sick belfry
#

just a sec

#

please

gilded granite
#

noep

sick belfry
#

I need to just press a key but I'm way too stupid to do so

#

so please

ocean quartz
#

Added an โ€œAllow Server Listingsโ€ option to opt-out of having your name displayed in server listings
From latest snapshot
Hmmm, i wonder how this will work

static zealot
#

yeah. me and gaby are wondering as well

obtuse gale
#

I can imagine

#

Server list packet gets added a boolean whether or not it contains the player name list

#

oh, or not? at least nothing in the packet structure changed

#

odd, as they tend to do that (the boolean thing) a lot

gusty glen
obtuse gale
#

hm?

gusty glen
#

I was referring about the addition of a boolean on the server list packet, and how I think server owners will ask for "fixes" cause they don't want this feature

distant sun
#

I would asume this means no more hover for players slot?

obtuse gale
#

if I don't want my nickname to be listed, then so be it

#

and if the owner/admin does not care about it and wants my nickname to be listed anyway, then they should be napalmed

distant sun
#

Im wondering if this is per client or server

obtuse gale
distant sun
#

Yeah thought the same

obtuse gale
#

but it's also listed an option to enable/disable the list as a whole in the server.properties

#

maybe a system property?

#

it's not particularly explicit where that is

distant sun
#

Probably server properties

gusty glen
obtuse gale
#

don't know why the iterator would be immutable tbh lol

#

oh it's interesting:

  • if the server option is enabled (so it hides names) it simply does not populate it (though yeah.. can be manipulated with something like protocollib)
  • if the client chooses to opt-out, it just replaces their gameprofile entry with new GameProfile(Util.NIL_UUID, "Anonymous Player")
distant sun
#

Interesting

prisma wave
#

new GameProfile*

static zealot
#

Yeah. Users can opt out from being listed by servers

#

Theres a button in the options menu

#

A new one

obtuse gale
#

kotlin bad

static zealot
#

I wonder how big the optimization for entity collision is

obtuse gale
#

At least this big ๐Ÿค

distant sun
#

:))

static zealot
#

Imagine if its not that big tho. An optimization that actually makes performance worse

foggy pond
#

I have just migrated my project from a maven one to a gradle one

#

Where do I find my plugin.jar file with gradle?

#

I know with maven it is in target in my project's folder

#

What about gradle?

old wyvern
#

./build/lib

foggy pond
#

Cool

#

Thank you

wind patio
#

what

#

worked yesterday, it decided not to today

obtuse gale
#

maven/gradle?

wind patio
#

gradle

#

reloading gradle projects/restarting ide doesn't work

obtuse gale
#

send build script

wind patio
foggy pond
#

It says I need to add this line here apply plugin: 'com.github.johnrengelman.shadow' but idk where I should add it

forest pecan
#

allman user :AHH:

wind patio
#
plugins {
    id 'com.github.johnrengelman.shadow' version '6.1.0'
}
wind patio
forest pecan
foggy pond
#

It likes none of that

#

It is in my plugins {}

#
plugins {
    java
    `maven-publish`
    id 'com.github.johnrengelman.shadow' version '6.1.0'
}```
wind patio
#

hm

#

weird

obtuse gale
#

kts?

foggy pond
#

Could it be that it is a build.gradle.kts and not a build.gradle

#

I guess?

obtuse gale
#

yeah, id("...") version "..."

wind patio
#

ah, its kts

foggy pond
#

Ah alright

#

What about the shadowJar part

#

I am getting errors for everything now wat

#

Should I send my build.gradle

half harness
#

btw u dont need maven-publish

#

description

#

or publishing {}

#

iirc

ocean quartz
foggy pond
#

๐Ÿคจ

foggy pond
half harness
foggy pond
#

So I can just remove the publishing section

half harness
#

yes

#

gradle init isn't perfect

foggy pond
#

But either way my whole gradle file is giving errors everywhere

half harness
#

ยฏ_(ใƒ„)_/ยฏ

foggy pond
#

It doesn't recognize compileOnly and implementation

#

or shadowJar{}

#

From what I am seeing gradle init is the opposite of perfect ๐Ÿ˜‚

prisma wave
#

kotlin bad

half harness
#

groovy good

#

btw r u using java 16+?

foggy pond
#

I'm using Java 16+

#

I picked kotlin randomly out of the two

half harness
#

๐Ÿคข

#

in gradle/wrapper/gradle-wrapper.properties

#

is the gradle version 7?

foggy pond
#

7.1

half harness
#

hmm

foggy pond
#

distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip

half harness
#

invalidate caches?

#

ยฏ_(ใƒ„)_/ยฏ

#

or did u try that already

foggy pond
#

i'll try

half harness
#

alr

foggy pond
#

That hasn't done anything

#

Ffs I should have just downgraded to Java 15 and stuck to maven

half harness
#

._.

forest pecan
#

No

#

Yeah no

#

thats not happening

half harness
#

wait

#

if you reload gradle

#

does it just say not recognized

#

only thing i can think of is sending my gradle folder along with gradlew/gradlew.bat

foggy pond
#

unresolved reference

forest pecan
#

did you somehow manage to mess up your gradle

#

lol

foggy pond
#

All I did was gradle init

half harness
#

compile bad D:

foggy pond
#

and it broke my project it seems

half harness
#

send me ur build.gradle.kts

foggy pond
#

What

forest pecan
#

you cant put just shadowJar like that

half harness
#

lol

forest pecan
#

its not groovy

half harness
forest pecan
#

the kotlin dsl is different

foggy pond
#

I have no idea what the difference is between the two

wind patio
old wyvern
#

remove compile

half harness
foggy pond
#

compile(protocol...)?

#

Or

old wyvern
#

Yes, switch that compile config with implementation

foggy pond
#

compileOnly too?

old wyvern
#

compile was deprecated earlier and now removed in gradle 7

#

compileOnly is fine

foggy pond
#

Okay

#

What should I do with shadowJar?

forest pecan
#
tasks.named<ShadowJar>("shadowJar") {

}
foggy pond
#

not looking too good

forest pecan
#

You didnt import the class

#

You need to import the class too

#

import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar

#

add that to the top

foggy pond
#

It doesnt give me the option to

forest pecan
#

of your gradle file

old wyvern
#

upgrade shadow version

foggy pond
forest pecan
#

Yeah your shadow version is outdated

#

lol

half harness
#

u can't use shadow v6

foggy pond
#

What version should I use

half harness
foggy pond
#

I'll try invalidating caches/restarting

half harness
forest pecan
#

Klyser, gradle is like literally pretty much a language. In fact it is.

half harness
#

um

forest pecan
#

its better than maven cause its closer to an actual language-like build configuration approach

forest pecan
#

Well groovy isnt

#

really

#

XD

old wyvern
#

Not a language

half harness
#

what

old wyvern
#

Its still just a build tool

foggy pond
#

I hope my github doesn't crap itself now that I changed from a maven project to a gradle project

forest pecan
#

Gradle uses a language ig

#

Yea

#

its a buildtool

old wyvern
foggy pond
#

Okay invalidating caches/restarting solved it

half harness
foggy pond
#

But mf is still not shadowed into my plugin

forest pecan
#

idk how to explain that properly

#

lmao

half harness
#

in groovy

#

and kotlin

#

someone might be able to make an [REDACTED] dsl for gradle

forest pecan
#

No

half harness
#

but with that you can't add loops and stuff

foggy pond
forest pecan
#

Delete that message before people create one

#

lol

foggy pond
#

What am I missing

half harness
old wyvern
#

I guess the difference could be said as build configuration (maven) vs build scripts (gradle)

forest pecan
#

Yeah

old wyvern
half harness
#

YUGIIII

old wyvern
#

๐Ÿ™‚

foggy pond
#

Okaay

forest pecan
#

yml dsl

half harness
foggy pond
#

What task should I be using to build my plugin, just build?

wind patio
forest pecan
#

gradlew shadowJar

wind patio
half harness
#

gradle shadowJar
or gradle tab -> shadow -> shadowJar

forest pecan
#

gradle wrapper better

#

:(((

half harness
#

ยฏ_(ใƒ„)_/ยฏ

foggy pond
#

With maven my plugin was 1400kb

#

Now it's 300

#

So I think that something's wrong

wind patio
#

yes, maven bad

half harness
foggy pond
#

Was I

half harness
#

since in the build.gradle i sent u

#

i renamed like 2 dependencies

forest pecan
#

Lmao accidently shades server api

#

XD

#

/s

half harness
#

to compileOnly

foggy pond
#

Now that confuses me

wind patio
foggy pond
#

I'll see what I did in my pom.xml

half harness
#

default scope in maven = compile/shade

#

so

#

i assume u forgot to make it provided scope

#

anyways i gtg

#

cya

#

gl

foggy pond
#

[22:47:33 ERROR]: [MobMadness] Plugin MobMadness v${project.version} has failed to register events for class com.github.klyser8.mobmadness.game.items.WeaponListener because de/tr7zw/nbtapi/NBTItem does not exist.

foggy pond
#

I guess I need to shade in the NBT library too

wind patio
#

yes

half harness
#

idk how to do ${project.version} in kts

foggy pond
#

Yeah alright

half harness
#

but maybe yugi does

#

๐Ÿ˜‰

#

ok i gtg

#

bye

foggy pond
#

What

#

v${project.version}?

half harness
#

yes

half harness
#

i dont use kts

foggy pond
#

There you go, now it's 1300kb again

#

Gradle builds a lot faster than maven though

wind patio
#

yes, maven bad

foggy pond
#

So what's the equivalent of v${project.version} then ๐Ÿ˜‚

wind patio
#

typing it in manually

foggy pond
#

Maven good

wind patio
#

well, I don't know how it's in .kts, but this is how I do it in .gradle

sourceSets {
    main {
        java {
            srcDir 'src/main/java'
        }
    }
}

processResources {
    inputs.property "version", project.version
    from(sourceSets.main.resources.srcDirs) {
        include 'plugin.yml'
        expand 'version': project.version
    }
    from(sourceSets.main.resources.srcDirs) {
        exclude 'plugin.yml'
    }
}
foggy pond
#

hUh

#

Guess I'll do ti manually

wind patio
#

that replaces ${version} in plugin.yml with project version

foggy pond
#

What should I have in my gitignore you recon

wind patio
#
.gradle
.idea
build
#

is what I use, but it's up to you

foggy pond
#

Just.. those three?

wind patio
#

I guess you can add gradle/wrapper or just gradle

#

nothing else is needed for me at least

foggy pond
#

What about the .iml, .mdj files etc

wind patio
#

as I said, it's up to you what you want to push in the repo

foggy pond
#

I guess I should also ignore .xml files now

#

Since I dont want my pom.xml anymore

#

Also I don't think I want any of those files except for the build.gradle in my repo right

wind patio
#

well, you can exclude gradle folder

#

and gradlew with gradlew.bat.
personally I just leave them

foggy pond
#

Only one of those things is in the gradle folder

#

Should I keep my settings.gradle.kts

wind patio
#

what's in it

foggy pond
#

my project name lol

#

gitignore it is

wind patio
#

why can't I change the language level of my project

#

wtf

old wyvern
half harness
#

AAAAAA

#

๐Ÿฅฒ

old wyvern
#

Man just this took like 20 minutes

half harness
#

lol

wind patio
half harness
#

20 minutes?!

old wyvern
#

spare me

wind patio
#

what does this mean

old wyvern
#

eh 10ish

#

I went to talk to someone inbetween

#

but yes

#

๐Ÿฅฒ

wind patio
#

!

prisma wave
#

!!!

#

what question mark exclamation mark

ocean quartz
#

Cursed

old wyvern
wind patio
#

what

#

nvm

foggy pond
#

is it bad to document constants like this in my class

#

with the /***/

forest pecan
#

noo

#

its good

humble silo
#

I think its good, i hate it when people dont do that in libraries i use, from a standpoint of generating docs idk what it will do

forest pecan
#

the /***/ is javadocs