#dev-general

1 messages · Page 107 of 1

remote goblet
#

ur somewhat intelligent

normal talon
#

I can't follow a thing in that guide

remote goblet
normal talon
#

it's just codes above codes

remote goblet
#

Welcome to java/gradle

#

it usually is just code

normal talon
#

$ sdk install gradle 6.5

#

where do i run that

remote goblet
#

command prompt

normal talon
#

I cant

versed ridge
#

that's for a package manager

normal talon
#

Elevated permissions are required to run DISM.

remote goblet
#

there should also be this

#

in your C:\ file

normal talon
#

I dunt have that

prisma wave
#

@remote goblet you are a 9head for not telling me the problem

#

@normal talon you're supposed to make it lol

remote goblet
#

i assume its something to do with that file

#

however

#

im dumb so idk what it is

normal talon
#

I need to restart

#
PS C:\WINDOWS\system32> dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Deployment Image Servicing and Management tool
Version: 10.0.18362.900

Image Version: 10.0.18362.900

Enabling feature(s)
[==========================100.0%==========================]
The operation completed successfully.
remote goblet
#

basically in LavaPlayer whenever i make it start a song and then use the ```java
public void setLooping(boolean looping) {
this.looping = looping;
}

prisma wave
#

uh

#

sdkman is for Linux afaik not windows

remote goblet
#

just go into your C:\ folder, add the folder "Gradle" and upload this in it

prisma wave
#

then add bin/ to your PATH

normal talon
#

just go into your C:\ folder, add the folder "Gradle" and upload this in it
so I need to add another file

#

named gradel-6.5

prisma wave
#

fella

#

Literally just follow the installation guide

remote goblet
#

i like how BomBardyGamer goes around in JDA's discord server telling people to switch to kotlin lmao

prisma wave
#

lmao

hot hull
#

kek

#

How much you paying him KM?

prisma wave
#

The hero we need, but not the one we deserve

remote goblet
#

i still need to learn kotlin thinkDerp

prisma wave
#

I'm paying 3KMKoins for every person he converts

hot hull
#

KM, you're gonna be mad at me later today

#

😏

prisma wave
#

🤔

#

how come?

hot hull
#

Can't say why, but you'll see

prisma wave
#

hmmmmmm

ocean quartz
#

@distant sun I was pinged

prisma wave
#

I don't like the sound of that

runic flume
distant sun
#

you are right @ocean quartz

hot hull
#

Process terminated.

versed ridge
#

The process was terminated

quiet depot
prisma wave
#

process terminated

runic flume
#

What am I doing wrong lmao

remote goblet
#

means you should use gradle

prisma wave
#

True

runic flume
#

no I want maven

hot hull
#

Stop bullying this 4head

runic flume
ocean quartz
#

@distant sun What's up? xD
Also Kotlin is 1.3MB not 5

errant geyser
#

Ok boys, start the circlejerk

prisma wave
#

gradle good maven bad

runic flume
ocean quartz
#

Piggy let's make a HelpChat yt channel and post coding/plugin guides

prisma wave
#

yes

quiet depot
#

ok

distant sun
#

I will do skript tutorials

obtuse gale
#

Make sure to chuck the slides in the about section

pallid gale
#

only if we use the cool intro i made awhile ago

normal talon
#

that would be an absolute genius idea

prisma wave
#

Give everyone above tier 3 the password

quiet depot
#

eh

#

no

errant geyser
#

include t3 for me?

hot hull
#

Gaby

#

BURN

prisma wave
#

Or all the developer role

distant sun
#

Someone challenged me to rewrite master cooldowns in kotlin @ocean quartz

#

no lol KM

prisma wave
#

:(

hot hull
#

Just the actual trusted people

prisma wave
#

no

#

Unfair

#

I'm trusted

hot hull
#

(Trusted as in trusted, not Trusted role)

prisma wave
#

oh ok

#

I concur

hot hull
#

Cause yknow, Lemmo is a rando

distant sun
#

Trusted as in Trusted not Trusted lol

errant geyser
#

KM am I trusted to you yet or do I have to send you the earrape first?

ocean quartz
#

@distant sun Do it

prisma wave
#

Trusted Trusted not Trusted Trusted

#

@errant geyser I will trust you until you send it

normal talon
#

well when i go to the piggy guide

distant sun
#

I will but I need help Matt xd

normal talon
#

and I installed the gradel stuff etc

#

it doesnt show there

prisma wave
#

where

errant geyser
#

KM why have you put me in this position 😦

quiet depot
#

guys only admins would have access to the yt channel lol

prisma wave
#

:(

hot hull
#

Scam

distant sun
#

I mean, you can just send the clip to someone and they will upload it

quiet depot
#

you’d submit videos to us and we’d upload them

distant sun
#

ye but all admins suck

prisma wave
#

Unfair and unbalanced

quiet depot
#

wat

distant sun
#

:)

quiet depot
#

i’m the coolest dude u know don’t lie

hot hull
remote goblet
#

glare is nice EmiCry

hot hull
#

I sumbit this

#

submit*

remote goblet
#

why don't i trust that

errant geyser
#

Hey Piggy re upload my first spigot video thing. It uses Maven so its dogshit but still. It recommends your guide 🙂

prisma wave
#

First video should be a code review of ori's skyblock class

hot hull
#

kek

remote goblet
#

LMAO

errant geyser
#

Gaby's timer thing*

distant sun
#

@quiet depot but you guys have bad internet speed xd

prisma wave
#

both

ocean quartz
#

@distant sun I can help yeah

quiet depot
#

lol

hot hull
#

Gotta start with the bad things, and then improve them amirite BM?

prisma wave
#

probably

remote goblet
#

"Today we're going to look at this class, Island.java, From the start we can already see this needs to be deleted instantly"

quiet depot
#

I mean it’s pretty much just cube with the bad upload

distant sun
#

:))

#

what about you?

quiet depot
#

i have average upload, clips and glares uploads are probably above average

distant sun
#

mkay

hot hull
#

Now to take that out of context

prisma wave
#

Sx has god tier internet speed

quiet depot
#

o

distant sun
#

though, let's not wait after clip

obtuse gale
#

whats ur upload piggy?

ocean quartz
#

Glare's speed is insane iirc

quiet depot
#

idk

#

i’ll check

errant geyser
#

I get like 30 up, how average is that

prisma wave
#

better than mine

quiet depot
#

average

pallid gale
#

pig u on the nbn?

obtuse gale
#

nbn sucks

quiet depot
#

I don’t think so

distant sun
#

I want 1gb but I need to buy an internet card and change some wires 😦

pallid gale
quiet depot
#

anyone else use termius ssh client?

errant geyser
#

I use BitVise

quiet depot
#

lol cube its great

errant geyser
#

Cube thats sick

distant sun
#

fr

quiet depot
#

omg i remember using bitvise

obtuse gale
versed ridge
#

I got a solid 12 mbps upload

hot hull
#

bitvise is nice

#

Although no dark theme

quiet depot
#

on pc I don’t use a fancy client, just raw cli ssh

distant sun
quiet depot
#

for other devices tho, termius is awesome

remote goblet
quiet depot
#

it has a dark theme frosty

hot hull
#

wait what

quiet depot
#

it’s on phone, pc, etc, student license, look into it

#

I mean termius has a dark theme

#

sorry

remote goblet
errant geyser
ocean quartz
hot hull
remote goblet
#

frosty

errant geyser
#

Matt ISP name, now

hot hull
#

It was at 60 last week

pallid gale
remote goblet
hot hull
#

Been absolute trash this one

ocean quartz
#

It's called Meo

onyx loom
#

lmao

quiet depot
#

according to my nuc, this is my internet speed

errant geyser
#

Oh its Portuguese Matt?

hot hull
#

What's sad is, I'm paying over 100$ monthly for this shit..

ocean quartz
#

Yeah

remote goblet
quiet depot
#

ur paying?

ocean quartz
#

Jesus, I pay 44€ for mine

hot hull
#

Well you know what I mean

quiet depot
#

stop paying for internet and buy a pc

onyx loom
quiet depot
#

then pay for internet again

remote goblet
#

kaliber trash

quiet depot
#

we won’t auction off your support role de

#

dw*

onyx loom
#

ori shut up

#

i get 10x U

#

L

hot hull
#

Support role irrelevant

distant sun
#

100$ lmao

remote goblet
#

thats why it trash

hot hull
#

I don't actually help people anymore

remote goblet
#

bad internet squad owoPlease

distant sun
#

Support role irrelevant
@hot hull just like you

quiet depot
#

o

normal talon
#

I followed everything

errant geyser
#

Support role irrelevant
Strike him down into the depths of hell

hot hull
#

Gaby, why so rude

normal talon
#

It's not installing stuff

distant sun
#

remove his role @quiet depot ty

quiet depot
#

nah

distant sun
#

nah?

quiet depot
#

maybe it’s time for a promotion

ocean quartz
#

Yeetus Frostius

onyx loom
#

o

remote goblet
errant geyser
#

Of me 👀

heady birch
#

niall wants

frail glade
hot hull
#

Yeetus Frostius
@ocean quartz Rood

heady birch
#

support role

distant sun
#

hey glare

quiet depot
#

I think

frail glade
#

Damn, Matt beat me in download.

quiet depot
#

funnycube deserves to be promoted to wizard

errant geyser
#

Glare I demand more Waffle Pics™️

onyx loom
#

100+ dl gang

pallid gale
#

fake, speed test dont have whole numbers

hot hull
#

I really gotta get a better provider

frail glade
#

They do on mobile.

ocean quartz
#

But lost on upload 😢

obtuse gale
#

I need to get telstra

#

on optus rn

#

its shit

quiet depot
#

i use optus

pallid gale
#

o i got optus

errant geyser
#

All u AUS cretins xd

hot hull
#

Lmao

regal gale
#

Eh.. discord act up again and force me to watch at a msg where someone told jda community to switch to kotlin

#

I mean.. sure 👀

onyx loom
#

just wait until starlink, itll be better than any aus connection

regal gale
#

But is it quite annoying tho

errant geyser
#

Kaliber I'm so getting Starlink

obtuse gale
#

whens it coming?

errant geyser
#

BT shite

quiet depot
#

yeah “use kotlin” is the new “learn java”

prisma wave
#

lol

#

You're not wrong

hot hull
#

Kali, I mean that'd be nice if it was actually good and affordable

distant sun
#

:))

onyx loom
#

use kotlin

errant geyser
#

Piggy we need a circlejerk FAQ that has all the classics

prisma wave
#

Kotlin is good and affordable @hot hull

regal gale
#

Well.. anyone remembered the old days from FredBoat bot?

prisma wave
#

:)

quiet depot
#

bro im trying but like no time u kno

onyx loom
#

pretty sure i remember somewhere saying starlink was gonna be like 100/mo

#

idk

hot hull
#

I mean if it's got 1tb/s sure

frail glade
#

Piggy is too busy focusing on rpf

quiet depot
#

yes that’s it

#

rpf

errant geyser
#

lol

normal talon
#

can someone do it for me or something please ?

hot hull
#

ngl, would be easier to just make your own spigot piggy

regal gale
#

FredBoat is a music bot on discord btw

#

Written entirely on Kotlin since 2017

quiet depot
#

that’s basically what i’m doing

errant geyser
#

Hey Piggy if you gave me staff I'd make the FAQ for you 👀

regal gale
#

Sad that people move to Rhythm bot than now ;p

quiet depot
#

once rpf is done that’s like 2 thirds of a spigot remake

regal gale
#

Idk it's 2017 or 2018

hot hull
#

I still haven't finished the command thingy conversion :kek:

quiet depot
#

and i still haven’t finished rpf, welcome to the team

hot hull
#

Indeed

errant geyser
#

Guys I need lib ideas

hot hull
#

Item actions

#

Cause Matt lazy ;C

errant geyser
#

ooooh

onyx loom
#

doityourself

frail glade
#

Once rpf is done we can do papi 3

hot hull
#

So Soon™️

onyx loom
#

2029, coming near you!

obtuse gale
pallid gale
#

Papi 3 2023

obtuse gale
#

idk what to do

ocean quartz
#

I am pretty lazy yeah cryingblob

regal gale
#

PAPI V3 whennnn

hot hull
#

Aj

#

Distance Education

obtuse gale
#

im already doing a distance education

hot hull
#

Snipping professors from 600m 😏

pallid gale
#

They stand in a circle practicing social distancing

onyx loom
#

distancing PES_JesusChrist

obtuse gale
#

doing programming via distance

#

but its php 🤮

errant geyser
#

Ok Frosty you sold me, ItemActionsLib coming soon to a build.gradle near you

hot hull
#

"programming"

regal gale
#

I don't get the term "distancing" on that

heady birch
#

😮

hot hull
#

katsu, make sure to pack a shit ton of things in it

#

Thanks

errant geyser
#

expand on that

versed ridge
#

like

#

a shit ton of things

ocean quartz
#

Like, a butt load

hot hull
#

Just add everything related to actions triggered when using an item

errant geyser
#

Useful things or just 1m lines of comments?

hot hull
#

useful things

#

No comments needed

versed ridge
#

both

errant geyser
#

So left and right click actions

remote goblet
hot hull
#

And shift, jump etc

errant geyser
#

oooh

#

ok

#

I'm doin this in Java, idk how I'd do this in Kotlin sooo

hot hull
#

Yes.

errant geyser
#

I'm coming back Frosty

onyx loom
#

@remote goblet i hope ur pc blows up hahahahahahaahhhaahaahahahahahahahhahahahaahahahahahahahahaahahahahahah

remote goblet
#

hhahahahahhahahahah

#

shut up

regal gale
#

@onyx loom ur drunk

onyx loom
#

LMAO

hot hull
#

@obtuse gale When you get this on 1.15, you can complain TPS from last 1m, 5m, 15m: 20.0, 20.0, 20.0

remote goblet
#

i am not even going to risk loading up mc with this

errant geyser
#

We need a drunk Kaliber compilation

obtuse gale
#

frcsty its not about TPS

#

its about ethics

hot hull
#

Fuck ethics

obtuse gale
#

and moral values

remote goblet
hot hull
#

Money is money

errant geyser
#

Do it, do it

#

No balls Ori

hot hull
#

Ori

#

I run MC with 300mb lmao

remote goblet
#

I am not putting my pc thorugh that

hot hull
#

You have no excuse

errant geyser
#

Ori vRAM, its fine

hot hull
#

Even less

ocean quartz
#

@hot hull I literally have never seen my 1.15 server go lower than 20 lol

hot hull
#

Matt, only 1 user tho

errant geyser
#

hold my lag machines

ocean quartz
#

1.15 isn't that bad in performance though

normal talon
#

So I did everything in the guide of Piggy and the other ones.

Download everything
created a new path for gradle.

and when I run the gradle -v
command in command prompt it says there is no command to run.

hot hull
#

It's not, could be better tho

#

Everything async GWcmeisterPeepoLove

remote goblet
#

fine then

#

but if my computer shits itself

#

we're having an issue kats and frosty

hot hull
#

Ori, you're overthinking it, if it blows up, atleast it's nice outside rn

prisma wave
#

@normal talon make sure it's in a new command prompt and you've added the bin/ directory to the path

normal talon
#

Can you like join me in the room

#

I will share my screen

remote goblet
normal talon
#

C:\gradle\gradle-6.5\bin

prisma wave
normal talon
remote goblet
#

ah yes

#

british stores

pallid gale
#

Mid store stream

remote goblet
#

bro brister

normal talon
#

oh

pallid gale
#

ez

hot hull
#

Get some coke for me BM

remote goblet
#

get me some weetabix

normal talon
#

get me a brain

errant geyser
#

Wait KM is British? I never knew.... KM, this changes everything

remote goblet
#

yes

normal talon
#

just jk

errant geyser
#

Is that a CO-OP or tesco KM?

obtuse gale
#

whats with your store names

#

no good nicknames

#

like we got woolies over here

#

those are both 2 syllables

#

like what the fuck

hot hull
#

Y'all got your vegimite

pallid gale
#

classic woollies

obtuse gale
#

classic

pallid gale
#

or the classic servo

prisma wave
#

Coop @errant geyser

obtuse gale
#

woolies servo or regular?

normal talon
#

can someone atleast help me ?

prisma wave
#

@hot hull no Coke for you

signal tinsel
obtuse gale
#

ya know the ones you can use ur rewards card @

hot hull
#

dw, already got a glass 😏

pallid gale
#

Gotta save that 2c

obtuse gale
#

it all builds up 🤔

#

after a couple years thats probably like $1

prisma wave
#

Imagine your currency using cents

hot hull
#

cents are nice

obtuse gale
#

imagine having 1 cent coins

regal gale
hot hull
#

Euro the supreme currency

errant geyser
#

@prisma wave I knew it. They always have the alcohol in the windows.

pallid gale
#

oo

#

we better move

hot hull
#

Y'all and your pounds can ew off

compact perchBOT
#
Seems things are getting a bit off topic here.

Please either stick to the topic or move over to #off-topic

obtuse gale
#

=offtopic

#

:((

onyx loom
#

shut the heck up barry

regal gale
signal tinsel
#

Wait

#

When does spigot 1.16 release

#

Or did it already

remote goblet
#

23rd

#

well

signal tinsel
#

Spigot too?

remote goblet
#

spigot 1.16 no idea

signal tinsel
#

Ok

remote goblet
#

prob a day or two after

signal tinsel
#

I have a lot of work to do when it does launch lmao

remote goblet
#

so 25th~

#

give or take

signal tinsel
#

I mean

#

I hope its on a Friday

regal gale
#

I actually used what is in hangman js to convert to Java without asking anything (unlike aj asking a lot of stuffs)

#

pls don't kill me for using Java

signal tinsel
#

I have a lot of Football related shit on Wednesday, Thursday I probably got work

prisma wave
#

Java bad kotlin good

signal tinsel
#

No

onyx loom
#

java bad kotlin good

signal tinsel
#

No

#

Stop booli

hot hull
#

java bad kotlin bad

regal gale
#

Frosty bad

distant sun
#

Happy now Gaby 👀
@regal gale hmm?

prisma wave
#

frigga best language

distant sun
#

that km made

#

:)

regal gale
#

The letters are fixed from Words (8) to Word (8 letters)

distant sun
#

it's still Words

regal gale
#

Oh

#

Should've removed the -s ;p

#

Also one question

#

Can .java and .kt be associated together on a jar file?

prisma wave
#

Yes

regal gale
#

Just curious

#

Oh

prisma wave
#

they both compile to Java bytecode

old wyvern
#

All jvm languages can

prisma wave
#

ie a .class file

#

^

regal gale
#

Guess i will try to practice to recode that hangman to kotlin lel

prisma wave
#

Raw strings and string interpolation

ocean quartz
#

Imagine using StringBuilder

#

Oh you do use it for a small thing but not for the big one xD

turbid dagger
#

Matt

distant sun
#

btw, String.join(wrongs, ", ");

turbid dagger
#

you do know that every time you concat string you create new objects right

#

strinbuilder doesn't do that

distant sun
#

I think he was ironic

turbid dagger
#

oh wait

#

I see

#

xd

distant sun
#

he's not that noob (I hope)

turbid dagger
#

sorry matt

quiet depot
#

i mean StringJoiner is also a thing, but yeah, String.join is probs better in that situation

distant sun
#

doesn't String.join use StringJoiner?

quiet depot
#

¯_(ツ)_/¯

distant sun
#

Also, thien, you can use appendDescription()

#

after all description it's already a StringBuilder iirc

foggy pond
runic flume
#

@turbid dagger hi :)))

#

❤️

turbid dagger
#

hi

#

ooh high tier I see

runic flume
#

I'm not high at all

#

🤔

turbid dagger
#

higher

runic flume
#

xD

hot hull
#

Weaklings

runic flume
#

Frosty

#

Give me 20k XP

#

for 100$

turbid dagger
#

I never did anything here before

hot hull
#

Oh damn deal

#

@pallid gale

#

😏

runic flume
#

note: scamming is allowed

hot hull
#

nono

runic flume
#

yeye

pallid gale
#

helpchat takes a 99% fee

hot hull
#

ew

runic flume
#

lol

pallid gale
#

of both the cash and the xp

hot hull
#

I mean that'd be 1/4 of my new pc, so I'm down if you are Cody

#

I'll even double it 😏

heady birch
#

@prisma wave You ever used Datatables?

prisma wave
#

never even heard of them lol

runic flume
#

it compiled, but now it starts up as module-one and not as plugin lmaooo

hot hull
#

I had the same issue

#

That's why I went with packages instead of modules

runic flume
#

Do you know how to fix it?

remote goblet
#

they just switched to packages

#

thats how they fixed it

runic flume
#

Oh so you never fixed it with modules

#

bruhh

hot hull
#

I mean I wouldn't have switched to packages if I had :p

runic flume
#

Do you know how to fix it or still nehh

hot hull
#

nehh

runic flume
#

Anyone/

#

Sxtanna

old wyvern
#

Wdym "starts up as module one"?

#

The name shown there is just the name from your plugin.yml

runic flume
old wyvern
#

What exactly do you want to change?

runic flume
#

I have 3 plugin.yml

old wyvern
#

Have only one

#

😂

#

Why 3?

runic flume
#

idk, I just added modules and selected Paper plugin from the Mc dev intellij plugin

#

XD

old wyvern
#

You only need 1 module from the mc dev if you are doing it that way

#

Others can be normal maven projects

runic flume
#

aight

old wyvern
#

You can just clean up ur invidual poms and remove the plugin.yml from the resources of the extra ones

runic flume
#

okay idk what i did

#

But now its module two

#

XD

#

I'll figure it out

old wyvern
#

Show me the file dir

#

project view

runic flume
#

xd

errant geyser
#

r/cursedimages

runic flume
#

This is the only plugin.yml I have XD

#

weird

errant geyser
#

If thats the only plugin.yml you have, then ofc its starting module two, thats the main and name you specify

runic flume
#

the screenshot where is says name: Module-Two is the de decompiled version

#

the second one is in my ide

errant geyser
#

oooooooooo

runic flume
#

yugi

#

you know why this is happening

hot hull
#

Cause maven modules ew

runic flume
#

packages are bad lmao

#

shush you

hot hull
#

I mean yea, but there's isn't a viable solution otherwise is there huh

#

You 4head

runic flume
#

it doesn't make sense tho

#

@old wyvern

normal talon
#

I have been trying to install gardle for the past hours

#

and it's not working

errant geyser
runic flume
#

@topaz bay You know what to do with my modules?

topaz bay
#

?

normal talon
#

U added gradle to your PATH?
yes

runic flume
#

no where

#

it doesnt even exist xd

old wyvern
#

Show us the pom of your Module-Two

runic flume
#

kk sec

#

=paste

compact perchBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
HelpChat Paste

runic flume
old wyvern
#

That should be just fine

#

huh

#

try mvn clean and then build?

topaz bay
#

What exactly is the issue?

old wyvern
#

He had plugin.yml in all modules earlier

#

Got him to delete them

#

but he still gets one of those in his final jar apparently

topaz bay
#

?

#

Are they not all individual plugins?

old wyvern
#

yea they arent I think

topaz bay
#

thats an odd way to phrase that

old wyvern
#

wdym?

runic flume
#

I'm just testing atm, but what I want is making a skyblock jar with multiple modules for stuff like Vouchers, Crates etc

#

So it a module will be a seperate plugin eventually

normal talon
#

JEsus

#

i found the most stupid mastake ever

#

gradel it has to be gardle

#

POOOOF

hot hull
#

gradle*

runic flume
#

XD

#

Yugi, okay idk what i did, I restarted my intellij and did mvn clean a couple times, and it worked I thnk

prisma wave
#

mvn clean more like mvn bad

runic flume
#

lmao

topaz bay
#

shoulda used gradle

prisma wave
#

i'm not gonna use gradle

normal talon
#

gradle*
yea that xd

prisma wave
#

i'm not gonna use any kind of build tool

topaz bay
#

good for you 4head

prisma wave
#

you should've used gradle

#

you should've used any kind of build tool

normal talon
#

finally i have gradle setup

prisma wave
#

we don't have platform agnostic building, and it's all your fault

#

you should learn how coding works

topaz bay
#

Are you on drugs?

prisma wave
#

bruh

normal talon
#

are u talking to me or ?

prisma wave
#

should've played mercy?

topaz bay
#

I love Mercy

prisma wave
#

the song

#

i was referencing that

normal talon
#

Shawn mendes ?

prisma wave
#

lmao what

hot hull
#

Yes Cozy

prisma wave
#

i'm gonna stop talking

topaz bay
#

As you should

#

:)

prisma wave
#

HEY

#

RUDE

#

i was making a good parody

normal talon
#

Yes what

prisma wave
#

you were just too DUMB to get it

normal talon
#

that hurt my feelings

prisma wave
#

dw i meant sx

topaz bay
#

Imagine using the correct too and to, but not capitalizing your sentences

#

tsk tsk

prisma wave
#

I can be gramatically correct while typing quickly

#

fool

topaz bay
#

You can, or you can't?

old wyvern
prisma wave
#

Imagine not putting a full stop (period) at the end of your sentences.

errant geyser
#

Yugi sauce required

topaz bay
#

Everyone knows what a full stop it

prisma wave
#

you never know

topaz bay
#

Damn imperial english people

prisma wave
#

imperial?!?!

topaz bay
#

🙄

prisma wave
#

we only use the imperial system sometimes

old wyvern
#

Idk what you mean katsu @errant geyser

hot hull
#

Disguisting

topaz bay
#

.....

#

Thats a JOKE right

prisma wave
#

ofc

topaz bay
#

xD

#

You never know..

errant geyser
#

@old wyvern video link

topaz bay
#

:)

prisma wave
#

¯_(ツ)_/¯

old wyvern
#

That was just from google images

#

welp

errant geyser
#

o

normal talon
#

Invalid Gradle JDK configuration found. Open Gradle Settings

topaz bay
#

Do what it says

normal talon
#

wich jdk should I select ?

topaz bay
#

choose the project one

#

Did you not select one when you made the project?

normal talon
#

I selected one

#

but it doesn't load for some odd reason

topaz bay
#

why tf do you have 2 jdk 14s

normal talon
#

when I made the project

#

I actually don't know

topaz bay
#

Wait you have 3

#

what the hell

#

xD

normal talon
#

So wich one xd

topaz bay
#

choose the project one

#

like I said

normal talon
#

where do I need to find gradle-wrapper.prop

#
Could not open cp_init remapped class cache for eukpbaxn2ckfne57i9hrgj9e (C:\Users\youfi\.gradle\caches\6.1.1\scripts-remapped\wrapper_init_7fgi58xomwxu0vbkobq8niq6n\eukpbaxn2ckfne57i9hrgj9e\cp_init3607aee355f62839c5e6f549478ccc87).
> Could not open cp_init generic class cache for initialization script 

'C:\Users\youfi\AppData\Local\Temp\wrapper_init.gradle' 

(C:\Users\youfi\.gradle\caches\6.1.1\scripts\eukpbaxn2ckfne57i9hrgj9e\cp_init\cp_init3607aee355f62839c5e6f549478ccc87).
   > Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7

prisma wave
#

as I said that problem is because you're using jdk 14 with an older gradle version

topaz bay
#

you need to update gradle

normal talon
#

I'm using 6.5

#

gradle

prisma wave
#

youfi\.gradle\caches\6.1.1

#

your wrapper is probably on 6.1.1 or something

topaz bay
#

IJ always does that

prisma wave
#

oh

topaz bay
#

It can only generate wrappers from the bundled gradle version

#

it fucking sucks

normal talon
#

so can I create a wrapper somewhere ?

topaz bay
#

gradlew wrapper --gradle-version 6.5

#

in terminal

#

or just like... update the wrapper properties file

normal talon
#

command prompt ?

topaz bay
#

Yeah, just update the file

normal talon
#

gradlew wrapper --gradle-version 6.5
doesn't work in command promopt

topaz bay
#
  1. dont use command prompt
#

Use a better shell

normal talon
#

power shell

topaz bay
#
  1. You have to be in the project folder
#

where the gradlew file is

#

if youre outside of IJ, you have to target it with ./gradlew

normal talon
#

I don't speak that language 😬

I don't understand the half of what you just said

topaz bay
#

Yikes

#

What language do you speak?

normal talon
#

dutch and english

#

and arabic

#

./gradlew

this i dunt speak

errant geyser
#

./ = this directory, gradlew is the Gradle wrapper batch file

#

./gradlew executes it

runic flume
#

@old wyvern Just do you know, I got it all working now :)))

hot hull
#

Scam

runic flume
#

lmao

#

4head

normal talon
#

can someone help me with it ?

errant geyser
#
        new Item(new ItemStack(Material.COAL)).addAction(ActionType.LEFT_CLICK, event -> {
            
        });``` @hot hull simple enough for you?
hot hull
#

Yes

errant geyser
#

The event is my ItemActionUseEvent, with these, so you can cancel it if you want to

hot hull
#

👌

errant geyser
#

Matt thx for making MF-GUI open source, kinda copied how you handle those events ngl

hot hull
#

:kek:

ocean quartz
#

Yw xD

hot hull
#

Matt, you should go merge the thingy

ocean quartz
#

Later, i need to review it first and it's a lot of work

#

plus, your damn commits

hot hull
#

"a lot of work" ah yes those 3 lines I changed

ocean quartz
#

Yes lol i need to test it on 1.8, 1.12 and 1.15

errant geyser
#

Frosty why are there like 400 commits for 3 lines?

hot hull
#

I tested it on 1.8

errant geyser
#

All slowly getting worse and worse

hot hull
#

katsu, cause I was losing my mind

errant geyser
#

loosing

hot hull
errant geyser
#

I can tell

#

Wtf is that Frosty?

hot hull
#

It's called neatness bish

errant geyser
#

I mean its clean but why

hot hull
#

read the implementation

errant geyser
#

U making some Roulette/obscure minigames plugin?

hot hull
#

Gambling thingies

#

Commission

errant geyser
#

Damn how do you get these commissions?

#

I get like 1 DM per month

#

If that

hot hull
#

I know people 😎

errant geyser
#

smhmh

hot hull
#

Damn so close to getting it working properly first attempt ;C

heady birch
#

Lol

#

Me

#

Everything works first time 😎

hot hull
#

;C
UnsupportedOperationException

errant geyser
#

@ocean quartz how do you handle the actual events? Like how do I make the action provided fire, if the ActionType is ActionType.LEFT_CLICK java @EventHandler public void onLeftClick(PlayerInteractEvent e) { if (e.getAction() == Action.LEFT_CLICK_AIR && e.getAction() == Action.LEFT_CLICK_BLOCK)?

heady birch
#

It doesnt btw

hot hull
#

action#fire();

#

ez katsu

errant geyser
#

yay thanks

hot hull
#

So I've got this

final List<GameRunnable> removal = new ArrayList<>();
(defined outside my runnable)
removal.add(runnable);
(when a condition is met inside it (inside a loop of runnables))
removal.forEach(it -> removeRunnable(it));
(outside my loop, still inside the runnable)
#

And I keep getting UnsupportedOperationException when I try to remove it

ocean quartz
#

Also that if will never be true lol

#

You can't click air and block at the same time

errant geyser
#

No ik

old wyvern
#

@hot hull You cant remove from somethign while iterating over it like that

errant geyser
#

I had them inversed but for sending it here I made them both ==

#

Don't ask

hot hull
#

Yugi had the same thing when I tried that

remote goblet
old wyvern
#

wdym?

hot hull
#

oh you cant

old wyvern
#

tried what?

hot hull
#

Then how am I supposed to remove it?

#

(I missunderstood your message)

old wyvern
#

Add it to something else and remove after iteration is complete

hot hull
#
return new BukkitRunnable() {
            final List<GameRunnable> removal = new ArrayList<>();
            int time = 0;

            @Override
            public void run() {
                for (GameRunnable runnable : runnables) {
                    if (time == 0) {
                        runnable.start();
                    }
                    if (time == runnable.getDuration()) {
                        runnable.finish();
                        removal.add(runnable);
                        continue;
                    }
                    if (time != 0 && time % runnable.getInterval() == 0) {
                        runnable.interval();
                    }
                }

                removal.forEach(it -> removeRunnable(it));
                time++;
            }
        }.runTaskTimer(plugin, 20L, 20L);
#

I mean yea

prisma wave
#

Or iterate with an iterator

old wyvern
#

or interate with a normal for loop?(you will have to change index back 1 aftre removal)

hot hull
#

That's what I'm doing, am I not?

prisma wave
#

Use a ListIterator

remote goblet
#

i need to do some html/css

#

but the issue is

#

i suck at both of those

hot hull
#

KM, still getting the same exception

prisma wave
#

Send code

#

What's removeRunnable?

errant geyser
#

Hey bois is this the correct code to detect if a player jumps? Guessing I'll have to detect it from a PlayerMoveEvent, taken from https://github.com/PaperMC/Paper/blob/master/Spigot-Server-Patches/0173-Add-PlayerJumpEvent.patch

+                                // Paper start - Add player jump event
+                                Player player = this.getPlayer();
+                                Location from = new Location(player.getWorld(), lastPosX, lastPosY, lastPosZ, lastYaw, lastPitch); // Get the Players previous Event location.
+                                Location to = player.getLocation().clone(); // Start off the To location as the Players current location.
+
+                                // If the packet contains movement information then we update the To location with the correct XYZ.
+                                if (packetplayinflying.hasPos) {
+                                    to.setX(packetplayinflying.x);
+                                    to.setY(packetplayinflying.y);
+                                    to.setZ(packetplayinflying.z);
+                                }
+
+                                // If the packet contains look information then we update the To location with the correct Yaw & Pitch.
+                                if (packetplayinflying.hasLook) {
+                                    to.setYaw(packetplayinflying.yaw);
+                                    to.setPitch(packetplayinflying.pitch);
+                                }```
hot hull
#
while (removal.hasNext()) {
  final GameRunnable runnable = removal.next();
  removeRunnable(runnable);
}
---------
for (int i = 0; i < removal.size(); i++) {
   removeRunnable(removal.get(i));
}
private void removeRunnable(final GameRunnable runnable) {
        this.runnables.remove(runnable);
    }
#

The above two things is what I tried

#

And also a for loop

prisma wave
#

Interesting

#

And runnables is just a standard ArrayList?

hot hull
#

Yea

prisma wave
#

Send the full stack trace

compact perchBOT
#
📋 Your paste, Frosty
https://paste.helpch.at/ejuzozunur

A member of staff has requested I move your message to a paste,
Most likely beacause it contains a config/error/code snippet.

prisma wave
#

Very odd

#

Where do you define runnables

hot hull
#

currently like a so
private final List<GameRunnable> runnables = Arrays.asList(new Roulette());

prisma wave
#

Ah

#

Arrays.asList isn't modifiable

hot hull
#

ah smh

prisma wave
#

Wrap it in an ArrayList

#

or mutableListOf(Roulette()) 😏

hot hull
#

begone devil

prisma wave
#

looks a lot cleaner imo

hot hull
#

Not a thing tho GWvertiPeepoSadMan

prisma wave
#

It's not a story the Java developers would teach you

hot hull
#

:))

[17:22:41 INFO]: Test Task has started!
[17:22:41 INFO]: Task has started!
[17:22:43 INFO]: Test Task interval!
[17:22:45 INFO]: Test Task interval!
[17:22:47 INFO]: Test Task interval!
[17:22:49 INFO]: Test Task interval!
[17:22:51 INFO]: Test Task interval!
[17:22:51 INFO]: Task interval!
[17:22:53 INFO]: Test Task interval!
[17:22:55 INFO]: Test Task interval!
[17:22:56 INFO]: Test Task has finished!
[17:23:01 INFO]: Task interval!
[17:23:11 INFO]: Task has finished!
prisma wave
#

Kotlin was a Dark Lord of the JVM Languages, so powerful and so wise he could use the JVM to pause the execution of functions... He had such knowledge of the JVM he could make a mutable list with just 1 function call...

#

nice though

errant geyser
prisma wave
#

Yeah move event is probably the way to go

#

Check if their y coordinate is higher I guess

hot hull
#

iNtEnSe

#

couldn't you check their velocity?

errant geyser
#

I just need a way to detect if a player jumps + make my own event for it ¯_(ツ)_/¯

#

idc how its done

hot hull
#

and I botched it

[17:27:58 INFO]: Task Runnable Has Started!
[17:28:08 INFO]: Task interval!
[17:28:18 INFO]: Task interval!
[17:28:28 INFO]: Task has started!
[17:28:28 INFO]: Task has finished!
errant geyser
#

I mean I could just use Paper's PlayerJumpEvent but that would mean I'd only support Paper servers, and if Frosty and whoever want to use it, they'd have to do the same

#

So I wanna make my own

hot hull
#

I mean just copy theirs?

old wyvern
#

It's not a story the Java developers would teach youWait what?

errant geyser
#

The code I pasted here is theirs Frosty

prisma wave
#

I was referencing the tragedy of darth plageuis the wise @old wyvern

old wyvern
#

I have no idea what that means so i assume its a game or movie reference

errant geyser
#

So KM what do you think would be the best way to do this?

prisma wave
#

@errant geyser probably listening to move event and either checking velocity or Y

#

alternatively just use paper

#

it has something like a 54% market share

old wyvern
#

oh Jedi, starwars stuff. idek

#

☠️

prisma wave
#

and everyone should be using paper

old wyvern
#

tuinity?

prisma wave
#

idk much about that

old wyvern
#

Its performing even better than paper on 1.15.2 atleast

#

it is a paper fork so I guess it still counts as paper

prisma wave
#

yeah

hot hull
#

I need to somehow implement start delays to this, but every way I can think of would involve multiple time trackers

#

wait

errant geyser
#

@prisma wave how can I check if they have Y velocity? smth like ```java
if (e.getTo().subtract(e.getFrom()).getDirection().getY() > 0) {

    }``` ?
prisma wave
#

Player#getDirection#getY I imagine will do it

old wyvern
#

getVelocity()*

prisma wave
#

^

old wyvern
#

oh wait nvm wrong context xD he meant that vector, yes km is right

prisma wave
#

oh

#

great lol

old wyvern
#

xD

#

I didnt read the code block

hot hull
#

great lol
thonking

prisma wave
#

@errant geyser you should probably do some trial and error testing for the value to compare - things can cause Y velocity that aren't jumping

topaz bay
#

Or use paper

#

Which has a player jump event

prisma wave
#

indeed

#

scroll up

topaz bay
#

Im pretty sure the way I used to create a jump event was literally just to.y > from.y

prisma wave
#

yeah that was my initial thought

topaz bay
#

and then have a threshold on x and z diff

#

something around 0.4

prisma wave
#

but I was also thinking that slime blocks or something could make false positives

topaz bay
#

How so?

prisma wave
#

if you fall onto one you bounce

topaz bay
#

They would in fact be jumping on a slime block

prisma wave
#

not necessarily jumping

#

you could fall onto one

hot hull
#

bounce

topaz bay
#

Yeah... and?

hot hull
#

Not a jump..

prisma wave
#

could be considered a false positive

hot hull
#

It's a bounce

prisma wave
#

^

topaz bay
#

Its still technically jumping

prisma wave
#

not really

old wyvern
#

ladder, levitation

prisma wave
#

if you never pressed the space bar is it jumping?

#

^

#

that would also trigger

old wyvern
#

teleport

hot hull
#

You're a 4head Sx

prisma wave
#

so velocity is probably the better way to go

topaz bay
#

How...

hot hull
#

🤦

[17:45:07 INFO]: Task Runnable Has Started! (0)
[17:45:07 INFO]: Task Timer Passed Another 30 Sec! (0)
[17:45:37 INFO]: Task Timer Passed Another 30 Sec! (-870)
[17:46:07 INFO]: Task Timer Passed Another 30 Sec! (-1740)```
topaz bay
#

I would consider that a jump

hot hull
#

That's exactly how this is supposed to work yes

prisma wave
#

but it's not?

topaz bay
#

You could measure the magnitude of the velocity change to constrain what kind of jump

prisma wave
#

if you fall onto a slime block, you gain y velocity without having pressed the jump button at all

#

therefore not a jump

#

so velocity is probably the better way to go
yes that's what I suggested

topaz bay
#

Youre defining it as pressing the space bar

#

Im defining jump as higher y

old wyvern
#

listen to PlayerStatisticIncrementEvent and check if the statistic is the jump one?

prisma wave
#

but it's not

old wyvern
#

welp xD

prisma wave
#

@old wyvern that could actually work lol

topaz bay
#

Jump and Bounce are technically synonyms

old wyvern
#

😂

topaz bay
#

¯_(ツ)_/¯

prisma wave
#

would be a lot less work than checking MoveEvent

old wyvern
#

yea I guess

hot hull
#

Sx no

prisma wave
#

as yugi said, teleporting, ladders, and levitation would also do a false positive

topaz bay
#

player move doesnt get called for teleporting

old wyvern
#

swimming

hot hull
#

Imagine if we had a key press event 😮

prisma wave
#

ez lag

topaz bay
#

There are a number of things you can do to avoid false positives

hot hull
#

Remove the jump action

#

eZ

prisma wave
#

👏

topaz bay
#

swimming, ladder, and levitation are all avoided by an on ground check

#

and teleporting would also be avoided with the initial threshold check that I said I used

old wyvern
#

Ah

#
public class JumpListener implements Listener {
    @EventHandler
    public void onJump(PlayerStatisticIncrementEvent e) {
        if (e.getStatistic() != Statistic.JUMP) {
            return;
        }


        //on jump
    }
}```
hot hull
#

ew e

topaz bay
#

non final class, tsk tsk

hot hull
#

shut Sx

topaz bay
#

No u

#

Wow.... I took the time to not only identify the bug, but also provide the solution, and they just kept that open

errant geyser
#

@old wyvern is that an actual thing

#

I'm so doing that if it is

#

Holy crap it is

#

thx

jovial warren
#

anyone know of something I can use to make a music queue with?

errant geyser
#

Discord.js?

jovial warren
#

should I just use Queue<E>

prisma wave
#

Maybe Deque

jovial warren
#

sorry my wording was bad

prisma wave
#

but yes

errant geyser
#

Oh, then yeah

heady birch
#

@topaz bay Dont use gson then

#

Jackson

prisma wave
#

jackson, more like badson

heady birch
#

☹️

jovial warren
#

because channels definitely aren't a good option

errant geyser
#

Niall didn't you go off on one about how jackson returned "null" rather than null yesterday?

heady birch
#

uh

#

that was today

#

and yes maybe

errant geyser
#

lol

jovial warren
#

also, which one of Queue<E>'s many implementations should I use?

#

never used queues before

prisma wave
#

LinkedList perhaps

heady birch
#

LnikedBlockingQueue?

#

ArrayListQueue

prisma wave
#

that's probably the most simple

jovial warren
#

LinkedList is a queue?

prisma wave
#

yes

heady birch
#

😮

prisma wave
#

it's a Deque as well

jovial warren
#

how does a deque work?

prisma wave
#

it's a double ended queue

#

you can add and remove from the start instead of the end

prisma wave
#

although probably not necessary in this case

jovial warren
#

I just wanna add things to the end

topaz bay
#

@heady birch ?

#

toml4j uses gson in the backend

heady birch
#

¿

jovial warren
#

how does PriorityQueue<E> or BlockingQueue<E> work?

heady birch
#

I like that format

#

What are you using Toml for

prisma wave
#

BlockingQueue blocks if there's no element until one gets added

topaz bay
#

Dude...

prisma wave
#

PriorityQueue is sorted afaik

topaz bay
#

That issue is 2 years old

jovial warren
#

okay

topaz bay
#

LOL

heady birch
#

I have used a priority queue

#

Infact I've used every queue implementation

topaz bay
#

priority queues are ASS

heady birch
#

I am very experienced with queues, very experienced

#

Probably the most experienced in this room

prisma wave
#

@topaz bay would a namespace (my equivalent of packages) be classed as a Scope internally do you think? Or is it a separate entity

jovial warren
#

I literally just need something that I can add to the end of

topaz bay
#

A scope for what

heady birch
#

Infact, no one knows better about queues than me

topaz bay
#

@jovial warren list??

heady birch
#

I love how trump talks

jovial warren
#

actually yeah that might work

prisma wave
#

whereas a namespace would be more like a Multimap<String, FriggaScope> I guess

#

idk

#

i'm unsure where namespaces would fit in here

topaz bay
#

THEIF

#

LOL

#

kjbkm,nsnmslbndkhnbckhcb

prisma wave
#

what can I say

#

if it works I'll take some inspiration

#

but yes

#

any ideas?

topaz bay
#

Inspiration

#

LOL

#

Uhhh

#

I dont think thats the point of namespaces

prisma wave
#

no me neither

#

but I'm genuinely unsure where they'd fit in

#

maybe a Multimap<String, FriggaScope>?

#

but that doesn't sound right

topaz bay
#

¯_(ツ)_/¯

prisma wave
#

Hm

#

Time to refactor a bit ig

topaz bay
#

wow look at that

#

that is WAY too close to korm

#

I should sue

frail glade
#

They have a decent logo tho.

errant geyser
#

Shots fired

topaz bay
#

cube.... made the korm logo...

frail glade
#

This framework looks cool.