#dev-general

1 messages · Page 146 of 1

dusky drum
#

yes

#

letrs go

#

any ideas for my bot

prisma wave
#

clojure scripting support

#

:)

dusky drum
#

:?=??=??*

prisma wave
#

it's a language

#

that can be used for scripting

dusky drum
#

no danke

prisma wave
#

😦

#

clojure good though

dusky drum
#

wtf is that language i just google it and i have no idea whats happening

prisma wave
#

ah yes

#

the initial disgust

dusky drum
#

eh

#

not implementing that into java

prisma wave
#

😦

#

there's probably script engine support

dusky drum
#

im not that good to do something like that

prisma wave
#

it would only be like 2 lines

dusky drum
#

eh

prisma wave
#

not bad

dusky drum
errant geyser
#

Imagine not using a csv

dusky drum
#

csv?

errant geyser
#

comma seperated values

#

It comes out in a dumb Excel spreadsheet

#

Obv this is a joke, MySQL is fine

dusky drum
#

ok

#

its SQL not MySQL

#

didnt want to setup mysql server

ember obsidian
#

[09:06:50] [main/FATAL]: Failed to start the minecraft server
net.minecraft.server.v1_16_R1.SessionLock$ExceptionWorldConflict: /root/Modalidades/Survival/./world/session.lock: already locked (possibly by other Minecraft instance?)
I have this problem every time I try to start my Survival server

errant geyser
#

The fact you said

my sql
Made me believe it was

dusky drum
#

XD

#

i was looking into postgresql

ember obsidian
#

help me please

errant geyser
#

Wrong channel

ember obsidian
#

ookay sorry

old wyvern
#

End all java tasks

dusky drum
#

and then using hikari or what that is for database manager

old wyvern
#

You have an unstopped server instance running

prisma wave
#

hikari is connection pooling

dusky drum
#

ye that stuff

static zealot
#

@ember obsidian ^

#

read what yugi said

ember obsidian
#

How do I finish all the java tasks?

prisma wave
#

killall java should work

#

might break stuff though

dusky drum
ember obsidian
#

the solution I found was to delete the session.lock files from the worlds, but when restarting the server it happens again

prisma wave
#

that's not a solution

#

that's a workaround

ember obsidian
#

@prisma wave thanks

dusky drum
#

you have multiple instances running xangel

old wyvern
#

Is this on your local PC or hsoted somewhere?

ocean quartz
#

@old wyvern Ooh nice, the grammar stuff was the one i was dreading on doing xD

old wyvern
#

😄

dusky drum
#

my grammar is even better

ocean quartz
#

Ty for all the help so far Yugi!

old wyvern
#

😇

hot hull
#

So I need to figure out something fancy to determine where around the spawner mobs should spawn, any suggestions?

dusky drum
#

frosty why are you on levels leaderboard top 3=??

hot hull
#

Because kotlin good, java bad

prisma wave
#

lol

dusky drum
#

,,m,

old wyvern
#

So I need to figure out something fancy to determine where around the spawner mobs should spawn, any suggestions?
Like a 4 block radius?

prisma wave
#

,,m,?

dusky drum
#

then minecraft bad?

errant geyser
#

@hot hull idk, 3 block radius?

hot hull
#

Minecraft is dogshit

prisma wave
#

kind of

#

java bad

dusky drum
#

minecraft = java = bad?

prisma wave
#

yes

#

should've used kotlin

dusky drum
#

so mc isnt good

prisma wave
#

nope

#

only kotlin is good

#

and clojure

errant geyser
#

We WILL rewrite the client in Kotlin, some day

ocean quartz
#

We all have a love and hate relationship with Minecraft

pallid gale
#

200 GB backed up

#

Wew

dusky drum
#

kotlin release date: 2011
Minecraft relase date: 17. maj 2009
Idk if it was possible XD

prisma wave
#

then they should have waited

dusky drum
#

wtf

prisma wave
#

delay the game for a few years

old wyvern
#

Yes, they should have infiltrated jetbrains

hot hull
#

Still haven't decided on the radius, but I need to somehow mimic the default mc spawner spawn mechanics, ie: (X being spawning spaces, O being spawner)

X X X X X 
X X X X X 
X X O X X
X X X X X 
X X X X X

And I also have to account that this is 3D meaning I have to be concerned about the height as well

old wyvern
#

I mean afaik Notch just meant mc as a random game, there was no real expectation that it would expand so much

prisma wave
#

doesn't matter

#

should've used kotlin

old wyvern
#

👏

prisma wave
#

ahaha

dusky drum
#

as

hot hull
#

Boi kotlin wasn't even a thing then

dusky drum
#

i see

prisma wave
#

the evil marketplace

dusky drum
#

ah

old wyvern
#

Kotlin was in the wombs then

dusky drum
#

i wanted to tell him too look into code of their plugin

old wyvern
#

HA

prisma wave
#

Boi kotlin wasn't even a thing then
then notch should've waited for it to become a thing

hot hull
#

We don't talk about it fingerguns_reversed

dusky drum
#

ok ok

hot hull
#

Gasper their code is shit so I'd rather not have to bleach my eyes afterwards

old wyvern
#

Frosty

dusky drum
#

oke

#

just suggestion

hot hull
#

Yugi

dusky drum
#

so good luck FrCsty

lunar cypress
#

Does anyone know whether there is a Java library to parse Proguard obfuscation maps?

#

The kind that Mojang provides as well

ocean quartz
#

I searched a lot and couldn't find anything, ended up using Mini's map viewer

static zealot
#

how do I convert code from java to kotlin in IIJ?

#

I think there was a keybind

#

or something

ocean quartz
#

shift + ctrl + alt + k

errant geyser
#

@steel heart If I wanna do the getByUUID I have to expose the MultiMap on the AbstractListener. Welp

steel heart
#

You don’t?

#

Oh yes maybe

errant geyser
#

How else do I get the thingies then

steel heart
#

Have the multimap packageprivate perhaps

#

I will take a look later if anything seems a bit off road

errant geyser
#

It won't work if its package private since its in the listeners package

#

I guess I could move it

steel heart
#

Wait where do you want to add that method?

errant geyser
#

the ItemActionManager

steel heart
#

What should the uuid method retrieve?

errant geyser
#

The ActionItem with the corresponding UUID, or null if there isn't one

#

I'll do an Optional<ActionItem>

steel heart
#

Okay, well does the Multimap store uuids by keys and actionitems by value or how was it now again?

errant geyser
#

UUID: Action<T>

#

So yeah

steel heart
#

Oh

#

The actionitem doesn’t seem trackable in it’s current state. Hmm do something I will figure something out if it doesn’t work

#

Seems like we might have to encapsulate uuid in action item totally

errant geyser
#

yeeeah I was just thinking the way I was gonna do it won't work

steel heart
#

And change the key of the multimaps to actionitem where as the action item uses the hashCode from uuid

#

And equals on hashcodes from uuids

#

Hmm

errant geyser
#

Why the hashcodes and not the actual UUIDs?

steel heart
#

Use the uuids then perhaps, that would also work wel

hot hull
errant geyser
#

nice one frosty

onyx loom
#

n1

#

i was looking at that like wha

hot hull
#

My brain is melting angry_fingerguns

steel heart
#

Make it cold then

#

4head

hot hull
#

I got a fan next to me and it's still hot af

steel heart
#

Yourself?

hot hull
#

😏

steel heart
#

Owfingerguns

hot hull
#

Any suggestions as to how to make non shitty stackable mobs?, was planning on having custom entity types and just giving them custom nbt so I can track it easily fingerguns_reversed

#

But open to suggestions

steel heart
#

Bro

#

PlayerMoveEvent kappa

hot hull
#

You disgust me

#

Custom entity types it is fingerguns_reversed

steel heart
#

Ah

hot hull
#

Unless you legit have a better idea

steel heart
#

Well idk how you would check positions without move event. Task timer?

hot hull
#

I have to implement custom entities anyways, so might as well make the system adjusted to that right now

steel heart
#

You could obviously check on spawn but that wouldn’t cover everything

hot hull
#

Scratch that I've got a better idea fingerguns_reversed

steel heart
#

Aye

#

Big brain check

distant sun
hot hull
#

What's Tridescent fingerguns_reversed

obtuse gale
#

yo Frosty, how many years have you learned Java for?

static zealot
#

0

#

.6

onyx loom
#

frosty bad dev

hot hull
#

It's been a litle over a year

#

Agreed Kali fingerguns_reversed

onyx loom
#

❤️

obtuse gale
#

hmm. I saw messages from you in 2019 that were quite interesting.

static zealot
#

from who?

onyx loom
#

ur basically stalking him at that point

obtuse gale
#

😒

#

I was just typing "how to code", and Frosty popped up, as well as Gaby.

#

Never knew both of them couldn't code at that time (2019), I thought at least Frosty would've been coding for at least 3 years now.

versed ridge
obtuse gale
#

😆

ocean quartz
#

Call out

static zealot
#

they were codding

#

just not plugins

obtuse gale
#

That's pretty crazy, don't you need like 3-5 years of Java experience before diving into the spigot api?

versed ridge
#

nahh, who needs experience

old wyvern
obtuse gale
#

Wait, but Frosty, did you study OOP?

#

Is Gaby still learning how to code 😆?

hot hull
#

I fucked myself because I dove straight into the spigot api, don't make the same mistake I did fingerguns_reversed

obtuse gale
#

no OOP 😦

hot hull
#

And I oop

onyx loom
#

3-5 years in java before spigot api?

#

i hope this is a phat joke

static zealot
#

13-15*

obtuse gale
#

That's what people on Spigot said 🤷‍♂️

#

I mean I'm diving into the Spigot API first?

#

fuck it

hot hull
#

Got any previous experience or completelly new to it?

obtuse gale
#

but I'm probably gonna take an IJ course & study OOP.

versed ridge
#

Should definitely learn some java first

old wyvern
#

Why would you want a course on the IDE?

obtuse gale
#

I'm completely new to it, but I've been looking at open sourced projects, and reading docs, and it's been pretty good so far.

versed ridge
#

learn kotlin instead

hot hull
#

Don't start with kotlin

obtuse gale
#

Java, then Kotlin 😉

onyx loom
#

start with kotlin

#

thats exactly what i did fingerguns

#

no pain, no regrets fingerguns_reversed

obtuse gale
old wyvern
#

Yea hyperskill is pretty good

steel heart
#

?

#

?help

compact perchBOT
#
FAQ Answer:
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait

Source

steel heart
#

=help

compact perchBOT
#
Help Menu:

Various Commands for Barry.

󠀠󠀠󠀠=Help General

• General Bot/Guild Commands

=Help Misc

• Miscellaneous Commands

=Help Level

• XP and Level Commands

=Reaction Help

• ChatReaction Help

obtuse gale
#

smh

frigid badge
#

#bot-commands

hot hull
#

It works :OOOO

onyx loom
#

whats the conventions for artifactIds?

#

or does it not matter

ocean quartz
#

normally lower-case

#

But i don't think that matters

hot hull
#

Preference based fingerguns_reversed

onyx loom
#

kk

errant geyser
#

Is there a Java equiv of Kotlin's return@Whatever?

ocean quartz
#

There are labels, but not quite like Kotlin

errant geyser
#

Right ok

#

Cos I wanna return from inside two forEachs, which is gonna be a bit of a problem lol

hot hull
#

ooof

ocean quartz
#

Something like:

whatever:
for (something) {
  if (something is false) break whatever;
}
hot hull
#

Just use a for loop at that point

ocean quartz
#

Not great though

prisma wave
#

ahh the wonders of FP

#

that's what any or first is for

#

oh wait

#

it's java

#

nvm

ocean quartz
#

Yeah xD

hot hull
#

Lmao

ocean quartz
#

There is findAny i think though

prisma wave
#

yeah

#

forEach isn't supposed to return a value

#

it's a Consumer<T>

errant geyser
#

No shit

hot hull
#

Just use a for loop at that point

errant geyser
#

Hey, only doing this in Java because
A) You didn't wanna convert it
B) ^ Neither do I
C) Conclure welps a lot

prisma wave
#

either follow frosty's advice or use kotlin

#

like any sane person would

#

don't blame me for you making a bad design decision fingerguns

errant geyser
#

Well I mean, I would but I don't think I can convince Conclure to learn Kotlin

hot hull
errant geyser
#

¯_(ツ)_/¯

prisma wave
#

Didn't he say he was going to?

errant geyser
prisma wave
#

also just do that 1 class if it really matters

frigid badge
#

funny, loops & fp

errant geyser
#

Well this one method is technically possibly one of the most important ones of the whole thing but eh

#

Its a for loop now

lunar cypress
#

The only reason this is possible in kotlin is because of inline functions

#

Java does not have those

prisma wave
#

indeed

hot hull
#

Java bad fingerguns_reversed

frigid badge
#

Java isn't bad

old wyvern
#

Frosty bad

onyx loom
#

everyone bad

#

kotlin is the only good

prisma wave
#

and clojure

#

don't forget clojure

onyx loom
#

maybe

frigid badge
#

This guy has never used clojure in his life

prisma wave
#

i have

frigid badge
#

it's absolutely garbage

prisma wave
#

no

#

false

#

it's cool

old wyvern
#

!false

prisma wave
#

good language

frigid badge
#

use lisp

prisma wave
#

Clojure is a lisp

frigid badge
#

hence why I said use lisp

prisma wave
#

why though

#

Clojure is more modern

hot hull
#

Just use Frigga

prisma wave
#

^^^

steel heart
#

Katsu convert it and maybe I will learn kotlin as well

prisma wave
#

❤️

#

frigga good clojure good kotlin good

old wyvern
#

Frigga bad

prisma wave
#

odin trash

#

no

steel heart
#

Scratch good

hot hull
#

Yugi, you trynna start a crusade I see

errant geyser
#

Conclure lemme get this working, see what you think, and then I'll convert it

steel heart
#

Sure

old wyvern
#

What does a crusade mean?

frigid badge
#

man i hate windows

onyx loom
#

odin bad kekw

#

we can say it freely now kekw

frigid badge
old wyvern
#

Updates

frigid badge
#

I need the update

steel heart
#

Smh windows

old wyvern
#

Who does that

errant geyser
#

Dark theme, a cultured boi 😎

old wyvern
#

🍉

hot hull
#

Win7 good, Win10 bad

frigid badge
#

you can't use docker inside wsl

old wyvern
#

I have like months of updates waiting 💀

errant geyser
#

Frosty shut up

frigid badge
#

unless u use the new update

steel heart
#

Linux good

split talon
#

win vista good, win7 bad

errant geyser
#

The only reason u use win7 is because of your boinked CPU

steel heart
#

Win xp good

frigid badge
#

and I cannot live without docker

split talon
#

ms dos good

errant geyser
#

Enable the linux subsystem or whatever its called Lemmo and then you should be able to run Docker. I did it a while ago

frigid badge
#

did you read what I just said smh

errant geyser
#

oh

#

Well

frigid badge
#

you can't use docker inside wsl

errant geyser
#

You seee

#

I'm blind

frigid badge
#

as in docker desktop from windows to wsl

errant geyser
#

Leave me to not see things, ok

frigid badge
#

I'm making a gh pipeline for building and deploying a docker image for the ecloud

#

and to locally test it I use act

#

which does not work on windows (not well atleast)

errant geyser
#

F

#

Imagine not having a crappy Kali VM

frigid badge
#

lmao

#

but I do 😉

onyx loom
#

damn thought u were talking about me then

errant geyser
#

No lol

onyx loom
#

ik ik

errant geyser
#

Look up Kali Linux

onyx loom
#

ik 🙂

errant geyser
#

ok

frigid badge
#

just gonna play some cod in the meantime then

#

rip

steel heart
#

Glhf

errant geyser
#

Heynlo fren I hire you to doose da big create of the config builder thingy

steel heart
#

I do fre on 🏠

errant geyser
hot hull
#

Conclure, now I need to make my own spawner trigger events, started with using the default spigot one, but it's unreliable and frankly doodoo, so I gotta make that system from scratch

errant geyser
steel heart
#

Aye

#

Not lazy developer check

errant geyser
#

I'd say he's clean

#

ish

#

Ugh now i have to go through every single event listener and change actions. to getActions().

steel heart
#

Oof

prisma wave
#

ew getters

errant geyser
#

Bitch

#

If you don't wanna convert it, you're gonna take getters for now

steel heart
#

Mitten he is actually cool since he isn’t lazy enough typing it out fingerguns_reversed

prisma wave
#

nope

#

no excuses

errant geyser
#

Ok I didn't break anything in the Events

#

Thank fuck

steel heart
#

Alex u ruin proudness

errant geyser
#

Ok we can now get an ActionItem by an ItemStack using the UUID NBT

prisma wave
#

I ruin everything to do with java

hot hull
#

I need to make my own custom block, doable? (Without storing data outside of the block)

errant geyser
#

Wooo

#

Ok Conclure

#

No errors

steel heart
#

Lov yououo

#

Very impressive

errant geyser
#

You might not say that when you see the code, though its not that bad I don't think

steel heart
#

Frosty you might have to store it outside

steel heart
#

No it feels like you made a good job

prisma wave
#

there have been blasphemers since 2016 😮

steel heart
#

Absolutely

#

I will probably breed kotlin with java a lot if I start using kotlin

prisma wave
#

gross

#

java... design patterns... in kotlin 🤮

steel heart
#

Not really

#

Depends

onyx loom
steel heart
#

You haven’t seen me rolling yet

onyx loom
steel heart
#

Lol

prisma wave
#

This Deleted User is gonna face the wrath of the kult

errant geyser
steel heart
#

Awesome

onyx loom
#

he was so scared he deleted his account

steel heart
#

Lmaoo

prisma wave
#
        for (T $ : ts) {
            Utils.notNull($);
        }
``` using `$` is the ugliest thing I've ever seen
errant geyser
#

lol

eternal mica
errant geyser
#

CRUSADE

prisma wave
#

hold on hold on

onyx loom
prisma wave
#

@eternal mica evidence?

steel heart
#

Mitten might be me that did that

prisma wave
#

many people have said kotlin bad, but few can back up their claims

onyx loom
#

few??

#

i think NONE

steel heart
#

Wouldn’t say kotlin is bad

prisma wave
#

dude...

eternal mica
#

You do realise the reason why i put ~~ there is to joke with you

prisma wave
#

these dollars are horrible

#

@eternal mica I decided to ignore those

#

🙂

eternal mica
#

lol

steel heart
#

Lmao don’t look in my core then

prisma wave
#

like

eternal mica
#

PubLIc fuN

errant geyser
#

Don't hurt Conclure 😦 He rewrote it, like, so it was WAY better than my core

prisma wave
#

no

steel heart
#

(:::

prisma wave
#

I will hurt anyone who unironically uses $ as a variable name

eternal mica
#

jesus christ

#

now that is cancer

prisma wave
#

^

steel heart
#

I have nested $ 3 layers

errant geyser
#

LOL

prisma wave
#

you should be locked up

errant geyser
#

You can feel BM shaking

onyx loom
#

😬

errant geyser
#

His local Tesco better beware

prisma wave
#

I am FUMING

steel heart
#

Then you def shouldn’t look at my core then

prisma wave
#

😡

steel heart
#

Well it’s private anyways for your security

prisma wave
#

good

#

I don't want to see any more $s

#

what is this, php?

steel heart
#

Actually I did switch a lot of them out

errant geyser
#

Challenge accepted?

prisma wave
#
   return new ActionItem() {``` anonymous classes? for a core part of your functionality?
eternal mica
#

I am joking lmao

#

imma change it back

prisma wave
#

seems a bit of an odd decision imo

#

@eternal mica gross

steel heart
#

It was me

#

I will change some stuff later on ial so it will look even better

eternal mica
#

what arrow code?

prisma wave
#

you had better

errant geyser
#

ok BM

#

Don't get mad when I show you this

prisma wave
#

oh no

#

ok...

#

go on

errant geyser
#

hold one sec

steel heart
#

Ima make a BiStream or smtng cool

#

Hopefully not too powerful on iPhone

prisma wave
#

whyyyyy

errant geyser
#

Sounds fancy

steel heart
#

Idk tbh well, being able to change T1 and still have T2

prisma wave
#

??

steel heart
#

Yes

errant geyser
prisma wave
#

@Nonnull?

#

in kotlin?

errant geyser
#

Hey I copied it from Java code

#

Shut

prisma wave
#

no excuses

#

no

errant geyser
#

Fine

#

Removed

prisma wave
#

the builder classes aren't really builders

#

they're basically the factory pattern

#

so I would rename

errant geyser
#

ok

old wyvern
#

Also, builder pattern is mostly not needed in kotlin

prisma wave
#

indeed

old wyvern
#

Is there any situation where it would be used actually? cant think of any

errant geyser
#

Sure its not, but I wanna make it not-absolutely-aids-to-work-with in Java

old wyvern
#

JVM overloads kot

errant geyser
#

Anyway, renamed them

old wyvern
#

The point of builder is mostly to not have to write the million constructors

#

but since kotlin does it meh

prisma wave
#

@errant geyser the whole LayerAction class feels kinda wrong

#

i'm not sure why

#

but it does

errant geyser
#

Well its a factory now Yugi

#

😄

steel heart
#

Builder should ease it up to create Immutable objects right?

#

Or am I wrong on this one?

prisma wave
#

that's another use

errant geyser
#

I think you're right

old wyvern
#

Thats a side effect

errant geyser
#

the whole LayerAction class feels kinda wrong
i'm not sure why
Ok, I'll keep that in mind. Its just like, the cleanest way I could think of doing it while making it clear what each thing does

prisma wave
#

I think it's the 2 lists

#

it feels wrong

#

possibly the name

errant geyser
#

but... but... you always tell me to not expose a mutable copy

#

oh ok

prisma wave
#

well yeah you shouldn't

#

in OOP and FP you should reduce mutability as much as possible

#

or just in general

steel heart
#

Well kotsu still awesome work on that one alexSneak

errant geyser
#

Danke 🙂

#

Tbf this went down better than I thought it would

#

Now I just have to actually work out the command system

#

😎

steel heart
#

Aayyyy

hot hull
#

Conclure, there still might be a chance for me to be able to store it on the block, gotta see if block state is modifiable, considering the state dictates if it's a creaturespawner (meaning a spawner), so technically I'd assume you're able to modify/store shit

errant geyser
#

But, we're also talking about Spigot here

steel heart
#

Yeah frosty

hardy summit
#

What to use for palceholders api to set placeholders for the string

#

PlaceholderAPI.setPlaceholders(Player, String) got deprecated

#

What is the correct way?

#

?

#

I want to go to sleep, can some one just write one simple sentence with the correct method to use

old wyvern
#

setPlaceholders(@Nullable final OfflinePlayer player, @NotNull final String text)

#

@hardy summit

hardy summit
#

I hate when a channel can't let pictures to send

#

As I said

old wyvern
#

Use imgur

hardy summit
#

PlaceholderAPI.setPlaceholders(Player, String) got deprecated

old wyvern
#

OfflinePlayer

hardy summit
#

(OfflinePlayer) Player will be okay?

old wyvern
#

Yes

hardy summit
#

And what about
(OfflinePlayer) null?

old wyvern
#

That would return null

hardy summit
#
        if (!(sender instanceof Player)) {
            sendToPlayer(sender, PlaceholderAPI.setPlaceholders(null, "&a%server_tps_1_colored% &0&l| &d%server_ram_free%/%server_ram_max% &0&l| &e%server_uptime%"));
            return true;
        }```
#

Wellllll

#

Works for me

old wyvern
#

Casting null to any type just returns null, no exceptions

hardy summit
#

so (OfflinePlayer) null will work as null worked?

old wyvern
#

yes

hardy summit
#

Thanks

old wyvern
#

You wont need to I think

hardy summit
#

I need to, it shows deprecated if I dont

old wyvern
#

ok

hot hull
prisma wave
#

impressive

onyx loom
#

very impressive

#

👏

errant geyser
#

Frosty

#

How do you even achieve that

steel heart
#

Its called Java?

errant geyser
hot hull
#

dw about it :p

#

Can I somehow have an enum return it's contents directly, or do I really need another submethod to retrieve it?

#

ie. Enum.TYPE, instead of Enum.TYPE.get()

steel heart
#

Use a class

hot hull
#

Eh fair enough

steel heart
prisma wave
#
operator fun YourEnum.invoke() = someValueInsideTheEnum

YourEnum.TYPE()
hot hull
#

Not using kotlin for this :((

prisma wave
#

😭

#

that's sad

#

tragic even

hot hull
#

It's taking me ages to do it in java, it'd take me twice as long in kotlin

prisma wave
#

WHAT

#

i beg to differ

steel heart
#

It would be faster with kotlin probably

prisma wave
#

that's literally the point lol

#

faster development

hot hull
#

No I mean due to me not understanding it completelly yet

#

code wise it'd be faster yea

prisma wave
#

excuses

steel heart
#

Makes sense

prisma wave
#

so many excuses

hot hull
#

Oh shut up weebs

steel heart
#

Java is nice for boilerplate

errant geyser
hot hull
#

kotlin good, java bad fingerguns_reversed

prisma wave
#

ladies and gentlemen

#

after a full rewrite of the parser

#

frigga has loops

#

that don't repeat forever

#

😄

old wyvern
#

ayy PlusOne

hot hull
ocean quartz
#

Noice BM
Now time for me to work on mine 😨

dusky drum
#

hmm canceling if someone places spawner against spawner hm

hot hull
#

Gasper, spawner stacking

dusky drum
#

ah i guess you havent implemented it yet?

#

hehe i have more playtime than you DU HHAHAHA

hot hull
#

huh?

dusky drum
#

almost 6h hehe

#

and you're at 4h

hot hull
dusky drum
#

i mean i did close app to like 5-6 times XD

#

do you have any github repos?

hot hull
#

Plenty fingerguns_reversed

#

And plenty more private

dusky drum
#

(not forked)

hot hull
#

Yea quite a few

dusky drum
#

lets see if theres anything interesting

#

btw who made you logos for plugins?

hot hull
#

cube

dusky drum
#

cube who?

hot hull
#

Humorous Hexahedron

#

(funnycube)

dusky drum
#

.,.

ocean quartz
#

Sad

dusky drum
#

rip

ocean quartz
dusky drum
#

where do you check that?

ocean quartz
#

Wakatime

hot hull
#

wakatime

dusky drum
#

do i need to download that

hot hull
ocean quartz
#

It's a plugin for IJ and you check on the website

dusky drum
#

oh

onyx loom
#

java first

dusky drum
#

java gud

errant geyser
#

CRUSADE

ocean quartz
#

Sacrifices we gotta make

onyx loom
#

huge sacrifice

dusky drum
#

i dont care how pepl like KOTLIN but i dont like its style of code

onyx loom
#

u will be noted in history for this matt

errant geyser
#

CRUSADE

ocean quartz
#

Many don't like Kotlin before trying, but once they do, they like it, Frosty used to be one of it's biggest haters

onyx loom
ocean quartz
#

Though you people here are too crazy for it ngl

dusky drum
#

i dont hate it i just dont like their syntax

hot hull
#

You get used to it

prisma wave
#

what don't you like about it?

onyx loom
#

i do need to calm down i agree

dusky drum
#

everything

prisma wave
#

but like

onyx loom
#

my first step has been taken towards normality

ocean quartz
#

Yeah you all do xD

onyx loom
#

name change fingerguns_reversed

dusky drum
#

fun sum(a: Int, b: Int): Int {

prisma wave
#

what's wrong with that?

dusky drum
#

iu dont like :
:
:
:

errant geyser
#

Nooo Kali

prisma wave
#

hm

onyx loom
#

he does have a point katsu

prisma wave
#

well most of the time you don't need to specify the type

onyx loom
#

circlejerk shouldntve lastest this long

ocean quartz
#

It's a bit odd at first Gasper but a bit better than public int sum(final int a, final int b)
Less verbose

dusky drum
#

i mean:
val a: Int = 1
val b = 2 // Int type is inferred
val c: Int
wat ta frik is happeniong here

prisma wave
#

?

onyx loom
#

wdym

prisma wave
#

you really can't tell what's happening in val b = 2?

dusky drum
#

why is there 3 types of declaration

prisma wave
#

there aren't

#

?

onyx loom
#

ur just declaring variables lmao

dusky drum
#

this one makes sense:
val b = 2

ocean quartz
#

This val c: Int is a compile error

prisma wave
#

there's 1 type of declaration, with an optional type declaration

errant geyser
#

bm can u welp me

dusky drum
#

its litteraly on wiki:
val c: Int // Type required when no initializer is provided

onyx loom
#

unless lateinit fingerguns

#

which still needs to be assigned at some point

prisma wave
#

yeah that's for use in a constructor or something

ocean quartz
#

That doesn not work though

prisma wave
#

it wouldn't work as a line itself

onyx loom
#

ye

dusky drum
#

well

#

later one it sets
c = 3

prisma wave
#

oh wait it does compile

ocean quartz
#

lateinit var c: Int <- valid
val c: Int = null <- valid
val c: Int <- error

prisma wave
#

nah it works

dusky drum
prisma wave
#

you just have to initialise it

prisma wave
onyx loom
#

would that work?

#

ye thought not

prisma wave
#

it's a compilation error if you try and use it without initializing

dusky drum
#

im not recoding my plugins into kotlin to much work it took to much time to do them in java heh

ocean quartz
#

I mean on the example it's initialized under, it's not just val c: Int

prisma wave
#

IJ can do it for you @dusky drum

old wyvern
#

im not recoding my plugins into kotlin to much work it took to much time to do them in java heh
You dont have to

#

Do what you want

prisma wave
#

uhhhhhhhhhhh

#

the hive mind has something to say about that

dusky drum
#

Clojure good luck my code isnt everyone friendly its my own wierd style

prisma wave
#

fair enough

errant geyser
ocean quartz
#

Yeah, plus you can have your plugin in Java and add Kotlin classes, it works just as fine

dusky drum
#

img doesnt load for me

prisma wave
#

lol

#

ironic

#

oh it finally loaded

errant geyser
#

It loaded fine for me

prisma wave
#

just taking its time

errant geyser
dusky drum
#

ah you mean embed images?

errant geyser
#

works fine now

#

Yeah

dusky drum
#

i just store them on my dataserver .

errant geyser
#

As do I

steel heart
#

BRO

dusky drum
#

idk why they dont load always

steel heart
#

Cute dog af

dusky drum
#

its just discord

errant geyser
#

:))

ocean quartz
#

Though don't follow the hive mind, i recommend playing around with Kotlin, it's fun and pretty nice to use, but use what you like

old wyvern
#

^

dusky drum
#

oh and btw whjo said to recode my plugins (you wont be able to test them have some private repos inside of it)

prisma wave
#

you technically don't need to recode

old wyvern
#

and btw, what is the "hive mind"?

prisma wave
#

you can have java and kotlin files in the same project

dusky drum
#

eh

prisma wave
#

hive mind = a group of people all thinking the same thing

#

i.e the circlejerk

onyx loom
#

thats us

old wyvern
#

Ew

errant geyser
#

The circlejerk is good for xp, buuuut it can be ott

prisma wave
#

proud to be a jerker 😎

old wyvern
#

Blind followers

prisma wave
#

I'm not blind

#

I see kotlin's flaws

dusky drum
#

eh for that 50 users i have i wont like change to kotlin

prisma wave
#

but clojure has no flaws

old wyvern
#

Some dont

dusky drum
old wyvern
#

Was not reffering to you

prisma wave
#

ic

errant geyser
#

He's sniff sniff Clojure blind

dusky drum
prisma wave
#

noice

dusky drum
#

still need to update some stuff.

hot hull
#

Imagine not having a join plugin with 2mb jar size fingerguns_reversed

#

Weak

dusky drum
#

?

prisma wave
#

imagine not having a join plugin that downloads dependencies at runtime

#

couldn't be me

errant geyser
#

PDM ftw

hot hull
#

Soon KM, soon GWvertiPeepoSadMan

errant geyser
#

Even tho it doesn't do relocation

frail glade
#

Imagine having a working runtime dependency downloader.

errant geyser
#

meh

hot hull
#

oof Glare

onyx loom
#

imagine

prisma wave
#

Imagine having a working runtime dependency downloader.
IMAGINE

onyx loom
#

couldnt be bm

prisma wave
#

that would be great

frail glade
#

Still waiting.

prisma wave
#

still working

#

from time to time

#

kind of

#

lol

old wyvern
#

Imagine 🇵 🇩 Ⓜ️

frail glade
#

pex 2 waiting on u

dusky drum
#

eh my plugin is like 461 KB

old wyvern
#

pex 2?

onyx loom
#

pex lol

old wyvern
#

You own Permissions Ex?

prisma wave
#

PDM is getting attention

frail glade
#

No, but I showed pdm to the developer.

prisma wave
#

too bad it's buggy as hell

#

😦

frail glade
#

And he took interest in it.

old wyvern
#

ah

ocean quartz
#

Is there a website to see a graph of your github repositories per language?

old wyvern
#

yes I think one sec

onyx loom
#

oh god i dont wanna see mine rn

hot hull
#

oo link

prisma wave
#

you could probably make one pretty easily if there isn't

ocean quartz
#

effort

onyx loom
#

i just forked all papi expansions in the papi repo and theyre all java 😬

hot hull
#

rip

errant geyser
#

yeah I saw that

#

What u planning Kali

prisma wave
#

i don't get why people do that

onyx loom
#

shall i convert them all to kotlin

prisma wave
#

fork random repositories that they're never gonna actually edit

onyx loom
#

because why not

prisma wave
#

yes

onyx loom
#

bm, i did edit them

prisma wave
#

2mb expansions

#

oh

#

ic

onyx loom
steel heart
#

Alex why not try to make pdm even more known

prisma wave
#

because it's full of bugs right now

#

and I don't want mass embarassment

steel heart
#

True I guess

frail glade
#

It's not ready for the attention I'm bout to give it.

prisma wave
#

uh oh

heady birch
#

😮

prisma wave
#

not yet fingerguns

onyx loom
#

whats he planning 😬

dusky drum
#

howly my bot size is 27MB

heady birch
#

Haha when you add when you add dependency injection

prisma wave
#

make it 29MB by adding kotlin fingerguns

#

you ok there niall

errant geyser
#

Daily Niall stroke

#

It's ok

prisma wave
#

lol

errant geyser
#

Leave him be for a little while, he'll recover soon

prisma wave
#

good good

#

moving on

dusky drum
#

:?

heady birch
#

yes

errant geyser
#

Aaaaand he's back

dusky drum
#

shutterstock lelelle

onyx loom
#

😂

heady birch
#

No its not

prisma wave
#

:?
KOTLIN

#

wait no

#

that would be ?:

#

😦

old wyvern
#

Add PDM dependencies to PDM

steel heart
#

Oof

prisma wave
#

that would probably break the universe

old wyvern
#

Black hole

heady birch
#

Bukkit runnable not bad 😦

onyx loom
#

physics 🌬️

heady birch
#

Bukkit runnable cancel

prisma wave
#

Spigot runnable good

heady birch
#

🤨

#

PaperRunnable

prisma wave
#

TuinityRunnable

heady birch
#

BungeeRunnable

frail glade
#

Imagine using BukkitRunnables for thread hopping.

old wyvern
#

Quantum Theory of Recursive Dependencies

heady birch
#

BeerRunnable

#

Whats the worst spigot fork name

prisma wave
#

spigot

old wyvern
#

Base

#

Pupur

onyx loom
#

all of them except paper

old wyvern
#

Actually purpur

frail glade
#

Purpur is actually really nice.

old wyvern
#

Wasnt it made just for mounts? xD

frail glade
#

It does a lot of stuff with that being one of them.

heady birch
#

what

#

PurpurRunnable

old wyvern
#

Oh didnt know. What else does it add?

frail glade
#

They have a pretty big wiki, you can always check that out.

prisma wave
#

NMSRunnable

steel heart
#

CrashableRunnable

old wyvern
#

I just know about it from a friend who was trying to get the authors pets plugin

#

uh?

hot hull
#

And we've got spawner stacking fingerguns_reversed

dusky drum
#

wtf git:
22:38 Push rejected
Push to origin/master was rejected

#

at least say why rejection

onyx loom
#

just make it accept it 4head

prisma wave
#

ask it nicely

heady birch
#

Dont let it

#

See

#

If that was me

#

I would intervene

#

And the issue would go away

dusky drum
#

wtf

22:39    Git Pull Failed
                POST git-upload-pack (275 bytes)
                remote: Enumerating objects: 4, done.
                remote: Total 4 (delta 0), reused 0 (delta 0), pack-reused 0
                warning: no common commits
                From https://github.com/NeutralPlasma/VirtusBot
                * branch            master     -> FETCH_HEAD
                * [new branch]      master     -> origin/master
                refusing to merge unrelated histories
old wyvern
#

no common commits

#

It did tell you whats wrong

dusky drum
#

why cant i push

#

i tried merging

raw rapids
#

I'm trying to use Deluxe Tags with essentials chat. I've installed the placehodlerapi for it and put the {deluxetags_tag} in my essentials chat config. Still just shows the placeholder in chat

hot hull
#

Get good fingerguns_reversed

dusky drum
#

since it didnt allow me to push

hot hull
dusky drum
#

but apparently its all blocked.

#

idk why i cant push

prisma wave
#

you're probably gonna need to force push

dusky drum
#

how

prisma wave
#

no common commits suggests it's a completely different project

dusky drum
#

wtf

prisma wave
#

bear in mind force pushing will remove all the history on the remote

#

but git push origin master --force

#

maybe wait though

#

yugi or someone might know a better way of fixing

dusky drum
#

okay force push worked

#

danke

#

i just hope i didnt put any pass into my code.

prisma wave
#

that happens

#

quite a lot

#

lol

dusky drum
#

lets hope i didnt do it

#

ha bot is now 30MB

prisma wave
#

nice

#

lol

frail glade
#

Ooo, SpringBoot 2.3.2 is out.

prisma wave
#

anything interesting?

frail glade
#

Lots of bug fixes

prisma wave
#

Sounds good

#

I could cry

steel heart
onyx loom
#

LOL

prisma wave
#

😎

old wyvern
#

You removed antlr?

#

@prisma wave

prisma wave
#

Oh no but I completely rewrote the grammar

old wyvern
#

ah

prisma wave
#

I'll probably change to a handmade one in the future

old wyvern
#

changed syntax?

prisma wave
#

of frigga?

old wyvern
#

yea

prisma wave
#

a little bit

#

nothing significant

#

but the grammar was a mess

#

and now it all works

old wyvern
#

ah 🍉 gg

prisma wave
#

merci

steel heart
#

Oui oui baguette

errant geyser
#

Cmere baguette boi

steel heart
#

Je vais pirater

errant geyser
#

noooo

prisma wave
#

java est mauvais

errant geyser
#

Not the hack pls

prisma wave
#

🙂

errant geyser
#

kotlin est bon

prisma wave
#

vrai

steel heart
#

Oui merci baguette

#

French programming language is op

errant geyser
steel heart
#

Lol

prisma wave
#

👀

errant geyser
#

She's also Eve from Killing Eve

steel heart
#

Ngl it’s more fancier than the coffee cup

prisma wave
#

indeed it is

steel heart
#

Like wtf java update ur logo pls

old wyvern
#

Uh its just a symbol for its name

steel heart
#

Could be fancier fingerguns

prisma wave
#

It looks ancient

old wyvern
#

I guess yea

#

it is ancient

prisma wave
#

I guess because it is

old wyvern
#

lol

prisma wave
#

Lol

steel heart
#

True

#

Well it’s very recognizable at least

old wyvern
#

But hey NetBeans would lose its reference if java changed the logo xD

steel heart
#

True true

keen creek
#

So im just starting a basic survival server for 1.16 with maybe 20 plugins or less and maybe 10 players or so, I'm wondering how much ram I would need for it

static zealot
#

4-5 GB will be enough if you follow the optimization guide

#

?optimize

compact perchBOT
static zealot
keen creek
#

ok thanks!

errant geyser
#

@steel heart am I dumb or are we dumb?

#

We have no persistence for IAL right?

#

Like items already created after a server restart will lose their abilities

#

It would be a fairly simple fix but still

#

I wanna know if I've gone mad or if we actually overlooked that

steel heart
#

I think yep, that’s why we should add the NBT stuff

#

I will make a massive recode halfly

errant geyser
#

Halfly?

steel heart
#

Full

#

But not rly

errant geyser
#

Ah

steel heart
#

I will create our own maps and some stuff

errant geyser
#

That sounds amazing

steel heart
#

It will just become more solid (:

errant geyser
#

I'll do a temp fix in the event listeners tomorrow until you're free to work on that then 😄

steel heart
#

Yes that’s awesome

errant geyser
#

Ok I've had enough of delusioned children believing they can buy "untraceable" IP addresses

#

Gn

prisma wave
#

ok

#

gn

errant geyser
#

One last thing

#

BM

#

This idiot

#

Uses ngrok

#

Thinks the IP he gets from it is untraceable

prisma wave
frigid badge
#

lmao

analog crater
#

What is a good graphing librarby for jvm (preferablly kotlin) which has good rendered ui or how would I achieve something like @compact perch's graphs

distant sun
#

java awt / graphics2d?

heady birch
#

You could give grphics2d ago

#

(awt, what gaby said)

analog crater
#

Does that have good built in data graphing capabilities ?

heady birch
#

No

distant sun
#

You will need a lib for that

analog crater
#

Thats what I was asking for lol

distant sun
#

Neither what Barry uses have graphs built in

analog crater
#

So how does barry do it?