#dev-general

1 messages ยท Page 125 of 1

ocean quartz
#

Jk

analog crater
#

just learn brainfuck and everything after will either be melted or easy

steel heart
#

Moo is better

onyx loom
#

emoji language ๐Ÿ™‚

prisma wave
#

@topaz bay you mentioned that you shouldn't use GlobalScope.launch. in the context of a discord bot commands, should I make my own Context with some sort of thread pool? Given that JDA is already using a thread pool, making another seems like a waste

static zealot
#

I think I'm going to kill myself

lavish notch
#

How come?

static zealot
#

I'm just stupid

#

for the past 4-5 hours I've been trying to figure out a thing

#

and turns out all I had to do instead of directly sending the message set it in a variable and then send that variable xD

lavish notch
#

gg

static zealot
#

took me 4 hours to actually compare a message that works for me with the one that didn't

lavish notch
#

development skills increased by 99.9%

static zealot
#

well I did compare them but didn't realize until a few minutes ago

#

time to test the plugin xD

#

well at least in this time I've become more used to using when instead of if unless if its rly needed xD

topaz bay
#

@prisma wave why would that be a waste?

static zealot
obtuse gale
#

already better than frozenjoin

static zealot
#

yeah a feature that FJoin doesn't have xD

#

now its even better because I can use it from console and it doesn't have 2 spaces by default between the message and player name xD

#

just need to figure out how to make placeholders

#

do I just search for the keyword like {player} or something and replace it with the variable I want or something? xD

old wyvern
#

String.format

static zealot
#

ty ty

versed ridge
#

String.replace?

static zealot
#

I used this greeting.format("{PLAYER}", sender.name) time to test it

obtuse gale
#

I dont think that will work

#

String.replace is what you want

static zealot
#

so I was right the first time I guess? xD

#

oh yeah

#

doesn't change it

#

for some reason

obtuse gale
static zealot
#

yeah that's what I thought the first time

#

wasn't sure tho

#

crash time

#

again ...

#

xD

#

quick question about plugin.yml. Is there a way to specify multiple api versions?

#

couldn't see anything regarding this on spigot

#

ugh replace doesn't seem to replace it either

#

greeting.replace("{PLAYER}", sender.name)

topaz bay
#

api version is used to indicate the minimum version your plugin requires for functionality

static zealot
#

oh so its minimum

#

I see

#

thought its only that version

#

that's what I understood from reading the tutorial on spigot xD

#

ty ty

static zealot
#

oh finally turns out replace works but I need to get another string in which to save the changed string

#

time to add firstjoin message

old wyvern
#

google meet captions are lit xD

heady birch
#

Rust is pretty cool

#

Thing is-- I need something to actually make?

old wyvern
#

Iron

#

jk

hot hull
#

What a comedian sheesh

old wyvern
#

โ˜ ๏ธ rude

errant geyser
#

Frosty you cant even eat solid food my guy

hot hull
#

:(

heady birch
#

๐Ÿ˜† (laugh)

quiet depot
#

@heady birch make a simple cli app to start off

#

e.g. a calculator

heady birch
#

I guess you could say I am quite the expert now

covert aspen
#

why is no one messaging me for commision this is so dead

heady birch
#

4 plugins 10-15$

obtuse gale
#

na this servers just dead

inner umbra
#

why is no one messaging me for commision this is so dead
Raise your budget. Add more details.

glad spear
#

lmfao no one here has the time or patience to make 4 plugins for that budget considering they're kinda complex lol

nocturne dock
#

I recently changes server provider to titannodes. Does anyone have any experience with them and knows how I can change the version?

frigid badge
#

not really right channel

heady birch
#

I love rust

covert aspen
#

4 plugins 10-15$
@heady birch yes? 3 of them will take 15mins to code ru okay

heady birch
#

๐Ÿคจ

keen niche
#

:0

frigid badge
#

how do you know how long it takes to program something

#

if you can't do it yourself you don't know how long it takes.

heady birch
#

This is why I love rust

#

I love it so much

frigid badge
#

you love anything you have barely touched

covert aspen
#

I have coded plugins in the past and I would code this myself but don't have the time

heady birch
#

You dont have 15 minutes?

covert aspen
#

^

frigid badge
#

I mean you've been talking here long enough to be done in your timeframe lol

covert aspen
#

I'm not actually I can type 160wpm here and I've wasted 2mins

#

i switch window on every message

distant sun
#

๐Ÿ˜‚ ๐Ÿ˜‚ ๐Ÿ˜‚

covert aspen
#

clown

distant sun
#

Is this a meme or what

#

Im confused

frigid badge
#

emoji spam smh

distant sun
#

Shut up

frigid badge
#

@distant sun warning

covert aspen
#

it's not a meme all clowns can leave

frigid badge
#

=warn

compact perchBOT
#
Warnings - Invalid Arguments:

=warn <@user> <reason>

distant sun
#

Feel free Foxxite ๐Ÿ˜ต

heady birch
#

The main issue is that the addons would most likely need to be modifications

frigid badge
#

let's not go this route and also move to #off-topic

obtuse gale
#

bruh

#

if its so little time just do it urself

heady birch
#

which complicates it 10x more if the source of the plugins is not available

distant sun
#

You dont code that fast, Niall, so you cant say your opinion.

covert aspen
#

if its so little time just do it urself
@obtuse gale did i ask for your opinion

obtuse gale
#

well i mean

frigid badge
#

you did

covert aspen
#

where?

obtuse gale
#

you asked why no one responded to ur request

#

so

frigid badge
#

^

heady birch
#

I code super fast when the decisions are already made

#

Or if its spring

distant sun
#

Fire

frigid badge
#

but when do you make a decision lol

heady birch
#

i pay someone to make them for me

#

hm, what do I name this variable?

frigid badge
#

I honestly think that would actually be good for you

heady birch
#

$5 a variable name

distant sun
#

Decisions Crafting Table

frigid badge
#

you've been stuck more on decisions than actual limitations lol

heady birch
#

๐Ÿ˜ซ

distant sun
#

Lmao

heady birch
#

analysis paralysis

#

had it since late 2018

covert aspen
#

also i changed the budget

inner umbra
#

Per plugin?

covert aspen
#

LOL no

frigid badge
#

can you guys talk about those requests etc not in here unless it's actually about development

#

thanks ๐Ÿ˜‰

heady birch
#

Does auto sell have an event api

#

no

#

So you could cancel on certain item e.g?

covert aspen
#

yes

#

also i've seen a server do it with autosell plugin so it's 100% possible

inner umbra
#

also i've seen a server do it with autosell plugin so it's 100% possible
Thats not what he was asking lol

covert aspen
distant sun
#

@heady birch ye

#

Actually wait

heady birch
#

i would expand on the simple item flip thing

obtuse gale
#

5 bucks per plugin still seems low lol

#

idk tho

heady birch
#

only because I don't know what that it

covert aspen
#

niall there is a thing "private message"

obtuse gale
#

but why

#

When you could just tell people there

distant sun
#

It has a sell event but idk if you have access to the items list

heady birch
#

Yeah

#

It does

distant sun
#

Kool

hot hull
#

I hope your budget is per plugin

distant sun
#

Yesnt

hot hull
#

That's an oofity

covert aspen
inner umbra
#

Why are you sending me that lol I was answering his question

hot hull
heady birch
#

@frigid badge

fn msg_to_bytes(input: String) -> [u8; input.len()] {
    let mut message: [u8; input.len()] = [];
    hex::decode_to_slice(input, &mut message);
    return message;
}
#

Any way to make this possible

#

basically what this should do is return a byte array for a hexadecimal string

#

I could use a Vec<u8> but would prefer [u8]

#

the returned [u8] will be the same size as the input string length

frigid badge
#

what?

#

just create it using the length of the input then?

heady birch
#

You cant

#

Alot different to java

#

array lengths need to be known at compile time

#

Vec<> it is

frigid badge
#

I know it's different to Java ๐Ÿ˜›

#

but yes you have no choice but to use a vec

prisma wave
#

@topaz bay because threads are expensive? Idk, it just seems like a bad idea

hot hull
#

ngl hypixel anticheat is doodoo, dude was legit flying, bhopping, scaffolind full on ka and he didn't get insta banned

onyx loom
#

u only just realised?

hot hull
#

I mean considering they just hired someone new I'd expect it to not be that shit..

onyx loom
#

welcome to the club

heady birch
#

I want val in java

#

We have val in java at home:

#

Val at java in home:

#

final Val<Integer> finalValue = N.of(0);

frigid badge
#

Val at java in home:

obtuse gale
#

What should I use if I want spaces in package name?

#

_ -

onyx loom
#

none

obtuse gale
#

ehh

frigid badge
#

you use another package

obtuse gale
#

eh

frigid badge
#

spaces become dots

onyx loom
#

this for kotlin aj?

obtuse gale
#

yea

onyx loom
#

Names of packages are always lower case and do not use underscores (org.example.project). Using multi-word names is generally discouraged, but if you do need to use multiple words, you can either simply concatenate them together or use the camel case (org.example.myProject).```
quiet depot
#

pls no camel case package names

onyx loom
#

^

obtuse gale
#

that looks bad tho

onyx loom
#

just use another package ๐Ÿ™‚

obtuse gale
#

Id rather use a _, is there any reason not to other than just bad convention?

hot hull
#

Don't

#

It's fucking hideous

onyx loom
#

please do not use an _

#

^^^

obtuse gale
#

alright

quiet depot
#

aj, what two words is it?

hot hull
#

big duck

onyx loom
#

fuckOnePointEight

heady birch
#

yeah I use _ sometimes in unused vars

onyx loom
#

๐Ÿ˜ฌ

heady birch
#

void drawSomeTing(final Graphics _g) {
final Graphics2D g = (Graphics2D) _g;
}

#

else Intellij suggsting things I dont want

#

@frigid badge I need a little assistance i cant seem to find anything on this? how would one do this inrust?:


interface Person {..}
class Student implements Person {..}
class Teacher implements Person {..}

List<Person> people = ...;

for (final Person person : people) {
   if (person instanceof Student) {
   //e.g
   }
}```
#

All this traits stuff

#

for example I have Animal, i store all Animal in Vec

#

but when iterating Animal, some of them are Nameable

obtuse gale
#

Anyone know how to get mob type on right clicking it?

#

i cant seem to find it

heady birch
#

getEntity().getType() ?

#

getEntity().getClass().getSimpleName()

obtuse gale
#

And how can i get the NBT data from it?

heady birch
#

no idea

prisma wave
#

Nms

frigid badge
#

@heady birch show your code

heady birch
#
for animal in animals {
   println!("Animal type: {}", animal.get_type());
   if (animal instanceof Nameable) {
       println("Animal name: {} " + animal.get_name());
   }
}
#

of course instanceof isnt even a thing

frigid badge
#

is Nameable a trait?

heady birch
#

yes

covert aspen
#

does anyone know of a plugin that fixes block clipping? like there is a wall and players spam block theres to get to the top with build deny

quiet depot
#

anti cheat should stop it

covert aspen
#

@quiet depot there is no free anticheat that's good

#

and matrix doesn't stop it

quiet depot
#

modify your builds to stop the glitch from working then

hot hull
#

Then buy an anticheat :p

covert aspen
#

none good for 1.12.2 also ncp is aids

#

except verus

#

which doesn't accecpt paypal

#

;p

#

I wouldn't have asked if I didn't know all the outcomes

onyx loom
covert aspen
#

BRUH

#

i just want to fix

#

block clipping

#

not make anticheats

topaz bay
#

implicit overrides

heady birch
#

what is block clipping

quiet depot
#

foxxite, what was wrong with my suggestion?

covert aspen
#

I don't know how

topaz bay
quiet depot
#

it's really simple

#

you have a vertical wall

#

put something on top, so they can't clip up

topaz bay
#

but the types have to work together

heady birch
#

odin

covert aspen
#

oh

#

no

heady birch
#

is like rust

topaz bay
#

ie. All can be reduced to a specific type

covert aspen
#

because it would ruin the design and barriers = glass for 1.7

hot hull
#

barriers exist

topaz bay
#

But specific types cannot be replaced

covert aspen
#

frosty i told u

#

i wouldnt have asked

#

if i hadnt tried everything

hot hull
#

You're on 1.7 lmao

covert aspen
#

no i allow 1.7 players to play

#

80% of my players use 1.7

hot hull
#

Disgusting

covert aspen
#

even though it's a prison server

#

u would say that

hot hull
#

They won't mind

covert aspen
#

i would

topaz bay
#

@heady birch except without scary lifetimes

#

lol

covert aspen
#

and I just ASKEED if a plugin existed

#

OMFG

#

this server honestly

heady birch
#

Are there any premium anti-cheats that can fix it?

hot hull
#

It's called an anticheat, and for what you're looking for even cheap ones can do the job

onyx loom
#

lmao

covert aspen
#

It's called an anticheat, and for what you're looking for even cheap ones can do the job
@hot hull I have more information than anyone here about anticheats

#

the only good one for 1.12.2 = verus that's paid

#

and doesn't accept paypal

heady birch
#

Buy some way else?

covert aspen
#

I would if I could

#

!

onyx loom
#

i think i have the most knowledge

hot hull
#

Do you tho lmao

#

Which is?

topaz bay
onyx loom
#

i dont get it why cant people just use

    event.setCancelled();
}```
topaz bay
#

dont you just love when shit works after a complete rewrite

covert aspen
#

ikr

hot hull
#

Kali

#

C upper case

#

And Foxxite, since you're so well "known" get a custom one made lmao

onyx loom
#

tryna say i dont have the most knowledge about anticheats

#

fuck u on about

#

๐Ÿ™ƒ

hot hull
heady birch
#

Well yeah kaliber's solution would work

covert aspen
#

And Foxxite, since you're so well "known" get a custom one made lmao
@hot hull why? just to fix my block problem? and that's what i was going to do if no one sent me a link but you guys started arguing like always and i alraedy have the 2nd best 1.12.2 anticheat for my server

heady birch
#

You just need to dispatch the event ๐Ÿ˜„

#

Can someone explain block clipping to me still

onyx loom
#

2nd best anticheat

#

:what:

hot hull
#

Doesn't seem like the 2nd best if it can't stop block glitching lmao

onyx loom
#

LMAO

covert aspen
#

block glitching isn't a hack

#

idot

#

legit gonna kms

#

don't mute me for this

heady birch
#

Explain block clipping to me

onyx loom
#

its funny that every other anticheat can stop it

hot hull
#

It's not a hack, yet it is an exploit

covert aspen
#

they do it to blocksome movement hacks @onyx loom

#

which my 2nd best anticheat has other ways to do

hot hull
#

Due to how shit older versions of mc is

obtuse gale
#

๐Ÿ˜ฎ

#

Frcsty admitted older versions of mc is shit

heady birch
#

Explain block clipping to me
@heady birch

hot hull
#

Aj, I told you this like 100 times already

#

It's shit, but moola is moola

obtuse gale
#

I mean

#

you were defending it

heady birch
#

What is block clipping

onyx loom
#

does the name not imply it niall?

quiet depot
#

not really kaliber

#

niall, users can climb up a wall, by placing a block underneath them, and jumping

#

protection plugins like worldguard automatically remove the block, but not before the user successfully jumps

heady birch
#

haha clever

topaz bay
#

literally like... the oldest minecraft "glitch"

covert aspen
#

and yet no separate plugin exists with a fix

#

im almost done making mine

topaz bay
#

Well really its a matter of ping

covert aspen
#

nope

#

i can do this with 1k ping

topaz bay
#

The higher your ping is the easier it is to do

covert aspen
#

matter of timing the rightclick

#

or just clicking fast

#

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

topaz bay
#

1000 ping is not good?

covert aspen
#

it's the same with 1k ping

topaz bay
#

higher ping makes it easier though...

#

?

covert aspen
#

right

topaz bay
#

If you have a really low ping its way harder to do

#

So its a matter of ping

covert aspen
#

but ppl have ping around 100 mostly

#

and i've done it with that

topaz bay
#

Thats not great either?

#

xD

covert aspen
#

it is

pallid gale
#

the hek going on here

covert aspen
#

100 ping is fine in pvp

#

too

topaz bay
#

Absolutely not

covert aspen
#

you never played it with

#

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

pallid gale
#

200ms+ ping club pls

quiet depot
#

100 ping is a luxury for aussies

topaz bay
#

100 ping is 2 ticks worth of time

covert aspen
#

^

topaz bay
#

a lot happens in those two ticks

covert aspen
#

i play with 300 plugins always ๐Ÿ˜ญ

quiet depot
#

WEW

topaz bay
#

that gives time for the packet to not be sent, and for the incoming packet to not be processed

covert aspen
#

oops

#

ping*

quiet depot
#

o

topaz bay
#

which is the reason this glitch exists

pallid gale
#

was gonna say

#

300 plugins

#

wew

topaz bay
#

sub 30 ping its almost impossible to do it

covert aspen
#

LOL

hot hull
#

Imagine not having 4 ping

#

Fucking weak

heady birch
#

Ive had 6 ping

covert aspen
#

strong*

topaz bay
#

I get ~15

heady birch
#

When hosting server down at office

covert aspen
#

good ping is for the weak

topaz bay
#

on most servers

obtuse gale
#

hahahahaha

pallid gale
#

Anyhow this is getting a tad off topic

quiet depot
#

I get 200 minimum on any server

obtuse gale
#

^

pallid gale
quiet depot
#

opinion on rust sx? niall has taken a liking to it apparently

pallid gale
#

pig pls

covert aspen
#

funnycube there is a potion bug with deluxemenus

quiet depot
#

rust language funny

pallid gale
#

o

quiet depot
#

not the game

heady birch
#

Lemmo didnt respond to me

#

So I might need a rusty guys help

topaz bay
#

topic nazi

#

mega sad

#

rust is kinda ass

quiet depot
#

alexa play despacito

pallid gale
#

Fox I don't manage deluxemenus

topaz bay
#

Its a nice language in practice, but the syntax is god awful

heady birch
#

like

covert aspen
#

ah

heady birch
#

what if I want all my Animals in an array

#

but...

#

some are Nameable

covert aspen
#

it said funnycube on contributors

#

clip ig

quiet depot
#

funnycube made the art

#

maybe suggested something in the past

heady birch
#

and I can't access their functions on trait Nameable at runtime

#

because I can't check that

#

visitor pattern? ๐Ÿ˜ซ

topaz bay
#

because rust inheritance doesnt work like that

heady birch
#

I figured that

#

Designing everything would be completely different

#

e.g

#

function that decodes packet

topaz bay
#

take a look at feather

heady birch
#

fn decode(message: Vec<u8>) -> Packet {
return match ... {
a => SomePacketTypeA,
b => SomePacketTypeB
}
}

covert aspen
#

what a sadcube

heady birch
#

Feathers are epidermal growths that form distinctive outer covering, or plumage, on dinosaurs, both avian and some non-avian, and possibly other archosauromorphs

topaz bay
#

...

heady birch
#

Oh nice

#

dont like it

#

is that how rust is meant to look?

topaz bay
#

Yes

#

but the syntax is god awful

#

The really nice thing about rust is the compile time memory management

#

And thats about it....

#

thats.... a lot of iterators

errant geyser
#

Hey @regal gale you willing to share the sauce for your #showcase?

ocean quartz
onyx loom
#

sauce pls

foggy pond
#

@funnykube this channel should not be a 'trial' anymore

ocean quartz
#

Kube

onyx loom
#

apparently itll always be a trial

#

which means this channel could be gone forever at any point ๐Ÿ˜ฆ

foggy pond
#

I dont wanna ping him I am scared of him

onyx loom
#

he sleeping anyway

#

lil sleepy boi

quiet depot
#

where does it say it's a trial?

onyx loom
#

he said it himself

obtuse gale
#

pinned

quiet depot
#

fixed

obtuse gale
#

:)(:

onyx loom
#

wew

#

๐ŸŽ‰

#

lets party

static zealot
#

xD

#

this moment felt the same as the moment Bruce Wayne bought the restaurant he ate at and after that he corrected himself and bought the entire building

onyx loom
#

:what:

foggy pond
#

๐ŸŒƒ

static zealot
#

you didn't watch the batman movies?

foggy pond
#

I feel slightly responsible for the creation of this channel ๐Ÿ˜Œ

static zealot
#

ohh... you shouldn't

#

no I MEAN YOU SHOULDN'T !

foggy pond
#

๐Ÿ˜Œ

static zealot
#

xD

#

because you are not

foggy pond
#

๐Ÿ˜ฅ

static zealot
#

jk jk don't sue me

foggy pond
#

๐Ÿ˜ข

hot flare
#

Hello!

#

I require assistance

foggy pond
#

This guy be lvl 0

#

This is not the right channel for assistance

hot flare
#

I mean i just joined

foggy pond
#

I know ๐Ÿ˜‚

hot flare
#

Well its dev help i need

foggy pond
#

Any of the channels under ---------support----------

hot flare
heady birch
#

Go ahead!

hot flare
#

even if its for development?

heady birch
#

I mean go ahead here ๐Ÿ˜„

hot flare
#

Im trying to implement PlaceholderAPI into my plugin

#

i got it all working

#

although it doesnt automatically update

static zealot
#

for development support

hot flare
#

lmaooo

#

ok

foggy pond
#

Yikes

obtuse gale
#

Just made my minecraft dev intellij plugin do kotlin :))

prisma wave
#

po

#

oo*

#

How?

#

A fork?

obtuse gale
#

ye

prisma wave
#

nice

onyx loom
#

๐Ÿ˜ฎ

prisma wave
#

Link?

obtuse gale
#

also added this

onyx loom
#

yeah ill grab it if it does

obtuse gale
onyx loom
#

does it use gradle?

prisma wave
#

That's cool

obtuse gale
#

yep

#

just gotta test some more things

prisma wave
#

No apostrophe though smh

obtuse gale
#

I was thinking about making the kotlin option toggleable but then I couldnt be fucked lol

prisma wave
#

:/

obtuse gale
#

i might add it

static zealot
#

Yo @onyx loom you knew I added papi support to my plugin? xD

obtuse gale
#

also im removing maven support ๐Ÿ™‚

onyx loom
#

๐Ÿ‘

prisma wave
#

Add groovy and scala while you're at it lol

#

if anyone writes plugins in those

static zealot
#

also Matts framework is extremely helpful

heady birch
#

they always talk about matts framework

#

but never niall lib

onyx loom
#

๐Ÿ˜ฆ

heady birch
#

if anyone wanna use it

prisma wave
#

Does it actually exist?

heady birch
obtuse gale
#

how can I add something to the first index of a list no matter what?

#

wait

#

thats a dumb question

#

like really dumb

heady birch
#

0

frail glade
#

Aj. I want you to go sit in the corner for a little bit and think about that. You're in timeout.

obtuse gale
#

๐Ÿ˜ฆ

onyx loom
#

i feel like thats something i would ask but even i wouldnt ask that

heady birch
#

bro its easy

#

convert the list to an array

#

make a new array with + 1 length

#

copy all items with index + 1

quiet depot
#

and shove it up your butt

heady birch
#

add the new item at index 0

#

convert back to list

#

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

errant geyser
#

@obtuse gale link for your forked plugin?

onyx loom
#

nice one niall

obtuse gale
#

just gotta fix some stuff up quickly

errant geyser
#

ok

#

Slam it in #showcase to let us all know you got a big brain

topaz bay
#

gross @heady birch

#

delete.

heady birch
#

Lol

#

My array insert or N.java?

topaz bay
#

n

onyx loom
#

i think niallLib is a huge feat in humanity

#

so shut up sx

#

tryna spread negativity ๐Ÿ˜ 

errant geyser
#

Ikr

#

NiallLib is great

#

Too bad funding got diverted and you had to cancel both it and KaLib

obtuse gale
#

in a repository whats the ID?

onyx loom
#

kalib ๐Ÿ˜ณ

heady birch
#

Dont worry

#

I finish this

#

But it will probably be a single class thingy

#

in a repository whats the ID?
@obtuse gale ?

#

All entities have an ID

#

@Id
private Integer id;

obtuse gale
#

well like

quiet depot
#

should store an n in an n

obtuse gale
#

in gradle lol

#

cos the dudes got a data class for repositories

#

but it takes in an ID and URL

heady birch
#

gradle

#

i dont know

#

I thought you were talking about Spring Data Jpa Repository Mysql Jbdc

#

obviously not, my day is ruined and my dissapointed immeasurable

prisma wave
#

it's just a name I think

obtuse gale
#

ah

topaz bay
#

@prisma wave nasty chain call resolution

#

property and function calls rely on resolving their target by name

#

So I just inject a temporary property that gets assigned to whats on the stack

prisma wave
#

gross

topaz bay
obtuse gale
#

Also I doubt this works for bungeecord/waterfall plugins

topaz bay
#

It may be gross

onyx loom
#

should make a papi expansion option

topaz bay
#

But its exactly what the jvm does

#

and its also exactly what kotlin does

obtuse gale
#

didnt waffle do that?

topaz bay
onyx loom
#

idk i dont use it

#

ill use it once uve made it support kotlin ๐Ÿ˜

topaz bay
obtuse gale
#

also ive got no clue how to build this thing lol

heady birch
#

so gross

#

groser than N.java

#

You know

onyx loom
#

N.java isnt gross tho

heady birch
#

James gosling once said "N.java is the solution"

onyx loom
#

so how can we compare

prisma wave
#

James gosling once said "N.java is the solution"
@heady birch
lmfao

onyx loom
#

james gosling ๐Ÿคข

prisma wave
#

ill kick his head in if i ever meet in

#

evil man

onyx loom
#

๐Ÿ™‚

obtuse gale
#

how would one go about updating gradle?

quiet depot
#

how'd you install it?

obtuse gale
#

great question

#

im not using the wrapper tho

quiet depot
#

super ez

#

open up your terminal

#

and type where gradle

obtuse gale
#

hm

#

actually

#

whats going on is i think the intellij that the run configuration uses might use an outdated gradle wrapper?

#

Because its saying my gradle version isnt greater than 6 but it is lol

quiet depot
#

well

obtuse gale
#

and when I use the runIDE trask it opens up like a 2019 gradle version

quiet depot
#

if it's for a project

#

use the wrapper

#

then you can update in gradle/wrapper/gradle-wrapper.properties

obtuse gale
#

ah

heady birch
#

ill kick his head in if i ever meet in
@prisma wave

#

Think

prisma wave
#

him*

heady birch
#

If he didnt make java

quiet depot
#

brister is gonna make gosling eat the curb damn

heady birch
#

There may not be kotlin ๐Ÿ˜ฆ

prisma wave
#

I would

#

I'd make him pay for creating the cursed language

quiet depot
#

java is a great language

obtuse gale
#

If I ever make the kotlin feature toggleable it will be so you can enable java not enable kotlin

prisma wave
#

good idea

onyx loom
#

make everyone switch to kotlin

#

great idea aj

quiet depot
#

if kotlin is so good, why do I never see people actually endorsing it in the real world

#

people are raving over rust, not kotlin

prisma wave
#

selective viewing

heady birch
#

rust

onyx loom
#

people just dont realise the potential of kotlin ๐Ÿ˜ฆ

quiet depot
#

maybe it just has some flaw you haven't realised yet, that everyone else has

prisma wave
#

doubt it

heady birch
#

if kotlin is so good, why do I never see people actually endorsing it in the real world
@quiet depot They convert

#

Once they try it

#

They dont go back

quiet depot
#

i tried it

#

I'm still using java

#

actually I wouldn't really say I gave it a fair go

onyx loom
#

i dont think u tried it for long enough

errant geyser
#

tbf since I started with Kotlin I've only gone back to Java to do ItemActionsLib and its been pretty painful

onyx loom
#

pig just did
fun main() {
println("Hello world")
}
โ˜น๏ธ

prisma wave
#

you've never tried kotlin enough

quiet depot
#

not interested in learning kotlin atm anyway

prisma wave
#

smh

quiet depot
#

got 2 languages on the agenda

#

python, and c++

prisma wave
#

who would willingly choose to learn python

quiet depot
#

no one

#

most certainly not me

onyx loom
#

school?

quiet depot
#

however my desired uni course uses python

errant geyser
#

Me, me, me

#

Python gud

quiet depot
#

and I'd like to have a working knowledge of the language before I go, so I can flex on kids

#

c++ is also used in the course, hence why that was also there

topaz bay
#

Imagine having to learn python

quiet depot
#

python is shit, yeah, but it's also used everywhere

topaz bay
#

If you know any of the c family languages, you pretty much know all of them

prisma wave
#

i mean

#

i don't think java knowledge would be enough to confidently use C

#

speaking from experience

quiet depot
#

well java isn't really in the c family

topaz bay
#

Well youre a 4head, to be entire fair

#

And yes it is

prisma wave
#

๐Ÿ˜ฆ

quiet depot
#

only syntactically

topaz bay
#

Its a direct descendant of C

#

The main c family languages are c, c++, c#, java, javascript, etc etc

prisma wave
#

but yeah

#

C has like

#

weird stuff

#

long long x; ๐Ÿ˜ฌ

topaz bay
#

and?

quiet depot
#

wow, before my internet rudely cut me off, I was trying to say

only syntactically
syntax is the easiest part of any language to learn
apart from lisp```
prisma wave
#

it's weird

topaz bay
#

WHAT

#

Lisp syntax is easy af??

quiet depot
#

o

topaz bay
#

Its just ugly as hell

quiet depot
#

i might be getting confused with a diff language

prisma wave
#

Lisp is gross

topaz bay
#

its just prefix notation

#

instead of 2 + 2 you do + 2 2

onyx loom
#

๐Ÿ™‚

prisma wave
#

I fail to see the point of that

#

It just reads more weirdly

quiet depot
#

is lisp actually a language, or just a language specification?

#

because we've got "lisp dialects" like clojure

topaz bay
#

lisp languages are like... entirely functional

#

prefix notation makes sense for that

quiet depot
#

aight, I take it back then

obtuse gale
onyx loom
#

โ˜น๏ธ

obtuse gale
#

tf is this

#

It runs fine on the test IJ

ocean quartz
#

God's language

topaz bay
#

I'm writing out a wiki

#

This should be fun

prisma wave
#

"good language features - none"

topaz bay
#

hater

prisma wave
#

i am a speaker of truth

static zealot
#

yes

obtuse gale
#

yes

onyx loom
#

yes

hot hull
#

yesnt

heady birch
#

yes

#

Rust is even better

obtuse gale
#

hmmmmmm

frail glade
#

Bruh

#

@ocean quartz LOL

#

HOLY SHIT

obtuse gale
#

You guys made it onto my Instagram!!

#

Your famous

frail glade
#

Oh

#

Is that just you?

obtuse gale
#

No lol

frail glade
#

Ahh

obtuse gale
#

Like in my feed/suggested/whatever the fuck itโ€™s called

topaz bay
#

feed

obtuse gale
#

Also

#

You guys got some haters

#

ah

#

What the fuck

#

My messages are coming through sxโ€™s mouth

#

This is bullshit

topaz bay
#

...

#

?

obtuse gale
topaz bay
#

You've been consumed

frail glade
#

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

#

Their loss.

obtuse gale
#

Lol

topaz bay
#

I mean... theyre microbrains

#

What did you expect?

heady birch
#

This gave me a good laugh

obtuse gale
#

Iโ€™m not seeing any Instagram showcasing Fuck1.8

#

Smh

onyx loom
#

gren scren

obtuse gale
#

Is LichtHund1 anyone here lol?

topaz bay
#

thats matt

obtuse gale
#

Ah

heady birch
#

I dont like jackson anymore

#

my rest api makes a stupid stackoverflow

prisma wave
#

Jackson bad

heady birch
#

@prisma wave Is it good practive to return actual @Entitys in an api?

#

Or a seperate object built from it

#

if see what im saying

prisma wave
#

Unless you need a DTO, I don't usually make one

#

it's just effort

#

no idea if it's a good practice or not

#

but it works

ocean quartz
#

Oh interesting lmao
Yeah people were commenting "green screen" all over reddit too

#

Let me show you my petty reply

heady birch
#

Lmao

ocean quartz
heady birch
#

Link to it?

frail glade
#

Yeah, that's why I made sure my showcase had dolphins swimming around in it ๐Ÿ˜›

topaz bay
#

@ocean quartz nice

#

class Human::[Being](val age: Int) or class Human(val age: Int)::[Being]

#

@prisma wave

heady birch
#

last

prisma wave
#

Yeah last

heady birch
#

Join table

#

airframe and tag
airframe_tag or tag_airframe

#

You were too late

#

I chose the first one

static zealot
#

oh man I'm so dumb

#

xD

nocturne dock
static zealot
#

I have a command that requires an argument which I would want to be a player name so I made a for that goes thru the online players and checks if players[i].name is the target and then took me 30 minutes to figure out how to get the player using target.... turns out I have player[i] xD

heady birch
#

@nocturne dock Try with just execute()

nocturne dock
#

okay!

heady birch
#

@static zealot Lol

static zealot
#

yeah

heady birch
#

Cant you use

#

Bukkit.getPlayer(name)

#

Or is this kotlin

static zealot
#

it is kotlin

heady birch
#

Ah clever

nocturne dock
old wyvern
#

Why are you calling Primary key function for a single key, just add a PRIMARY KEY modifier at the end after the data type

#

The function is used to refer to other columns in the table and used only if you want 2+ columns as key

#

You dont have a column called player_points

#

Thats the table name

#

In the case seen I assume UUID is supposed to be the primary key

heady birch
#

uuid does not need to be a LONGTEXT

nocturne dock
#

Could you guys give me an example of how it would be? ๐Ÿ˜…

remote goblet
#

nope Smile

heady birch
#

have you heard of Spring Boot ๐Ÿ™‚

#

Jokes aside, here:

#

CREATE TABLE IF NOT EXISTS player_points(
uuid CHAR(36),
points INT,
PRIMARY KEY(uuid));```
topaz bay
#

ew

#

just declare the primary key inline

#

it doesnt need to be in a constraint unless you want to do other things with it

heady birch
#

literally hibernate could do this

#

simple as

#

class PlayerPoints {
   @Id
   @GeneratedValue(..some uuid gen thing..)
   private UUID uuid;

   private int points;
}```
#

except hibernate is a 10mb lib

hot hull
#

Why you care about size so much

#

Size don't matter

old wyvern
#

๐Ÿ˜‚

hot hull
#

You pervert Yugi

topaz bay
#

Some people are size queens @hot hull

#

oh god dont google that

#

LOL

hot hull
#

What's that mean Sx? I'm not sure I get what you mean by that

topaz bay
#

It means nothing.

#

๐Ÿ™‚

obtuse gale
#

Anyone know if there a way to create personal npc's with citizens ? Like player player his own skin

static zealot
#

well I know there is a way to let people create their own npc dk if you can make them have the skin of the creator

obtuse gale
#

I need 1 npc that shows per player his own skin

#

so like a personal npc

versed ridge
#

If you install Denizen you can do /npc mirror

obtuse gale
#

But i work with the API so i was wondering if the api has something for that

nocturne dock
#

Got another issue with my database ๐Ÿ˜…
Why does this reset for the database cause this error? http://prntscr.com/tebuyv

            Connection con = this.getConnection();
                PreparedStatement ps = con.prepareStatement("DROP TABLE ?");
                ps.setString(1, "player_points");
                ps.executeUpdate();
obtuse gale
#

Could I ask for a little Discord js help here?

static zealot
obtuse gale
#

Oh okay, ty

regal gale
#

Hey @regal gale you willing to share the sauce for your #showcase?
@errant geyser maybe one day ๐Ÿ˜‚

obtuse gale
#

Whats a

#

typealias in kotlin

old wyvern
#

aliases to refer to types

#

Used when you have large type names which you dont want to type manually everytime

obtuse gale
hot hull
#

What's that?

obtuse gale
#

my fork of the MC Dev IJ plugin

hot hull
#

Ooo, send me a link

obtuse gale
#

Absolutely no clue how to build it lol

quiet depot
regal gale
#

I suddenly receive this [JDA RateLimit-Worker 2] ERROR Requester - There was an exception while executing a REST request java.net.UnknownHostException: No such host is known (discord.com)

#

Is discord just down a while ago thonking

errant geyser
#

You know how to fix that?

#

Send me ur sauce

obtuse gale
#

Please ping me if you answer

pallid gale
#

Most likely an issue with the code

#

Not a lot anyone can do without looking at the backend of it

#

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

heady birch
#

By icon do you mean emojis or an image?

#

Also beware, it is visually anonymous, since this is all event based, the original message is sent to the client as well

topaz bay
#

It's spreading >:)

obtuse gale
#

still tryna get this plugin exported working lol

wraith pond
#

Based on your experience, would you say it's better to start of with Skript plugins, or full Java plugins?

obtuse gale
#

learn java

#

then learn spigot

#

java good skript bad

wraith pond
#

Ok

#

Thanks for the tip!

heady birch
#

Learn rust

remote goblet
#

learn kotlin is what everybody should be saying

hot hull
#

Forget about that word all together Finley

onyx loom
#

no frosty

#

learn kotlin

#

kotlin good java bad

old wyvern
#

^ kali bad

onyx loom
#

๐Ÿ™

hot hull
#

Kali, read the chat you nerd

onyx loom
#

oh the skript

heady birch
#

Rust is good

onyx loom
#

i thought u were talking about kotlin ๐Ÿ˜…

hot hull
#

smh

onyx loom
#

i havent looked at rust before

#

niall please give me ur knowledge

heady birch
#

completely different to what you know

#

traits

#

no extends

obtuse gale
#

er

#
> License violations were found: src\main\kotlin\com\demonwav\mcdev\platform\bukkit\util\CustomDependency.kt, src\main\kotlin\com\demonwav\mcdev\platform\bukkit\util\CustomRepository.kt, src\main\kotlin\com\demonwav\mcdev\platform\bukkit\util\Language.kt
prisma wave
#

license?

#

Perhaps you have to put a license header in each file

obtuse gale
#

what would that look like?

#

its completely stopping this from building

quiet depot
#

@obtuse gale ./gradlew updateLicenses

obtuse gale
#

ah

remote goblet
#

i talked about rats so much ive got rats in my house clap

heady birch
#

same lmao

#

but i mean

#

reduces the food bill

onyx loom
#

๐Ÿ˜‚๐Ÿ˜‚

regal gale
#

Ew

static zealot
#

oh shit finally my plugin completely works xD

versed ridge
#

gg

static zealot
#

ty btw Death xD

static zealot
#

I have a give all command. What should I default the amount of items to if an amount is not specified? I guess 1 would be best because of non stackable items?

obtuse gale
#

isnt there something to detect if an item is stackable?

#

or get the largest possible stack of that item

heady birch
#

Probably getMaxStackSize() > 0

obtuse gale
#

^

heady birch
#

There is a method like that I believe

#

On the type

#

itemstack.getType().getMaxStackSize

obtuse gale
#

if the item is stackable up to 64 just give 64 if its 16 give 16 etc.

static zealot
#

oh I see that will be a nice thing to add. ty to both of you

distant sun
#

item.setAmount(item.getType().getMaxStackSize())

static zealot
#

oh thanks

obtuse gale
static zealot
#

what's that?

obtuse gale
#

I just got the WakaTime plugin and all things say 0m so far lol but kotlin is ontop as it should be

static zealot
#

my give command is even better than essentials now xD

steel heart
#

Well Java is still more superior

#

Blitz so is the quality I hope.

remote goblet
#

wrong

steel heart
#

Not really

remote goblet
#

wrong x2

steel heart
#

That doesnโ€™t make sense

static zealot
#

wrong Conclure

#

you are very wrong xD

steel heart
#

Well yes kotlin might have some more functions I agree thatโ€™s good

#

But itโ€™s not all about that

remote goblet
#

java isnt a terrible language

#

but kotlin is a lot better than java

static zealot
#

well if you are talking about the give command yeah the quality and I even have a give all command xD

steel heart
#

Well as a matter of a fact Java is way more established

static zealot
#

yeah and kotlin is getting there

remote goblet
#

Something being more established != its superior

static zealot
#

and fast

#

xD

steel heart
#

We yes you can use Kotlin where ever java is but it requires that lib doesnโ€™t it?

#

Or that dependency idk

remote goblet
#

it doesn't require I don't think

#

you'll have to get @prisma wave's opinion

steel heart
#

Well java isnโ€™t an option in embedded system programming but thatโ€™s like 1 thing

#

Except that java is very established

#

And doesnโ€™t requires much to be installed and used

prisma wave
#

hmmmmmmmmmmm

#

i have been summoned

steel heart
#

Yeaaa

#

Ori lost this arguments ;/

prisma wave
#

the standard lib is basically necessary

#

but it's not a fair comparison

steel heart
#

How isnโ€™t it?

prisma wave
#

the java standard library is much bigger, but it's bundled into the JRE

remote goblet
#

Ori doesn't know much about kotlin to argument nor do i care about whatever you have to say EmiCool

prisma wave
#

so saying "kotlin is bad because it increases jar size" isn't really fair at all

obtuse gale
#

eyyy

#

exported it

prisma wave
#

not bad

#

still missing an apostrophe though

steel heart
#

Well, is it worth including that kotlin lib just because you want to use first class functions in just some classes?

obtuse gale
#

also I need to make it so in the List atm maven in shown first ๐Ÿคฎ

prisma wave
#

yes, that's the only reason people use kotlin

#

first class functions

#

that's it

#

nothing else

steel heart
#

Well if it runs as Java bytecode in the end idm if you have a first class function or not

topaz bay
#

stupid

prisma wave
#

that's... not an argument

steel heart
#

How isnโ€™t it?

#

Your definition of an argument is different from mine then

prisma wave
#

first off it completely ignores that first class functions are blatantly not the main reason to use kotlin

#

secondly, it makes no sense

steel heart
#

It does

prisma wave
#

the point of having first class functions is to make development simpler. saying "it runs as Java bytecode in the end" means nothing

#

would you say the same thing about the enhanced for loop?

steel heart
#

Well everything is not about making development simpler

prisma wave
#

what... exactly is your point here?

steel heart
#

Java is better?

prisma wave
#

for what reasons?

steel heart
#

Read what I wrote earlier

#

Bbl tag me btw

prisma wave
#

Well as a matter of a fact Java is way more established
since kotlin is 100% interoperable, that's not an argument

We yes you can use Kotlin where ever java is but it requires that lib doesnโ€™t it?
already talked about that one

And doesnโ€™t requires much to be installed and used
neither... does kotlin?

#

none of these points actually work

topaz bay
#

Wait... your argument is that Java is better?

prisma wave
#

apparently

topaz bay
#

That is just objectively untrue

steel heart
ocean quartz
#

Kotlin is as hard to set up as adding spigot as dependency

prisma wave
#

arguably easier since IJ can do it for you lol

topaz bay
#

Can you actually define 1 thing Java does better than Kotlin?

obtuse gale
#

oof

ocean quartz
#

Java is much better at having a bigger boilerplate

obtuse gale
#

I cant work out how to rearrange the order that gradle appears in in this list lol

topaz bay
#

Kotlin does Java better than Java does

steel heart
#

I will write when I get home

prisma wave
#

can't wait

topaz bay
#

Write...

#

I asked for 1 thing :/

#

If you dont know something off the top of your head, theres an issue

remote goblet
obtuse gale
#

lol

heady birch
#

Hm

#

Rust is also good

#

But not enough oo for me

obtuse gale
#

eyy