#dev-general

1 messages · Page 184 of 1

onyx loom
#

what project is for the rewrite?

ocean quartz
#

Cmds

onyx loom
#

up to u then ig

hot hull
#

@ocean quartz AlIaSeS

onyx loom
#

if u feel the cmds code is garbage then rewrite it

ocean quartz
#

fRoStY

#

The code isn't that bad, it's just not abstract

hot hull
#

Heh

astral quiver
#

About 1.8 and newer versions, is pretty hard

#

Is a discussion does not have a better

#

is just what you want to do with your server

obtuse gale
#

Would spring ever give me incorrect line numbers on errors because kotlin?

astral quiver
#

You want alot of players, 20 tps and a good player base? 1.8 is your guy

#

You want to do new things, explore new possibilities that the client provide to you? newer version is your guy

#

Is impossible to run a server with 100 players in 1.14+

#

With 20 tps

obtuse gale
#
org.springframework.orm.jpa.JpaObjectRetrievalFailureException: Unable to find org.aj3douglas.coolbot420.database.Request with id 3; nested exception is javax.persistence.EntityNotFoundException: Unable to find org.aj3douglas.coolbot420.database.Request with id 3``` Springs giving me this error on this line
```kotlin
                            var user = userRepo .findByDiscordUserId(member.id)``` which returns a User, not a Request, so something dodgy seems to be going on here ![ThonkingButCool](https://cdn.discordapp.com/emojis/356941058078277633.webp?size=128 "ThonkingButCool")
astral quiver
#

Is pretty hard to argue with 1.8 server owners

ocean quartz
#

Pretty sure Gian did 100 players with 20tps

obtuse gale
#

Is pretty hard to argue with 1.8 server owners
cos most are kids

distant sun
#

300

astral quiver
#

But 1000? You will never do that

ocean quartz
#

Was it 300?

distant sun
#

Iirc

onyx loom
#

it was more than 100 for sure

astral quiver
#

How? with Tunity?

onyx loom
#

yea

astral quiver
#

But and the gameplay?

onyx loom
#

thats gians signature

ocean quartz
#

And yeah no one says 1.8 is bad in performance, it's just that performance is it's only feature

astral quiver
#

I mean, they remove all stuffs? like mobs

heady birch
#

@obtuse gale Show repository class

onyx loom
#

no pretty sure it was close enough to vanilla

ocean quartz
#

Nah everything functional iirc

astral quiver
#

yes, performance is not the only feature, but, Performance and Player base is a big thing

#

I really prefer 1.9+ because of the Resource Pack thing

obtuse gale
#
@Repository
interface UserRepository: JpaRepository<User, Long> {
    fun findByDiscordUserId(discordUserId: String): User?
}```
astral quiver
#

but I know that "profissional servers" will run in 1.8

distant sun
#

Meh

astral quiver
#

Why Spring and not Exposed ? 🤔

heady birch
#

What user import is that? Check its your packages and not the org.springframework....user

distant sun
#

Survival on 1.8 or anything else than latest it's pointless

obtuse gale
#

its not

#

its mine

#

idk why its decided to bring the Request class into it and point to a line that has no connection to that

onyx loom
#

true gaby

heady birch
#

What is Request? Likely some relation to the User object?

onyx loom
#

1.8 survival is dead

ocean quartz
#

1.8 has only 2 reasons, pvp and performance, everything else is boring

astral quiver
#

Pure survival? Yes, it's, but Minecraft is big because of multiplayer, not because of it Survival mode

#

I agree

distant sun
#

?

obtuse gale
#

What is Request? Likely some relation to the User object?
no

astral quiver
#

Java Edition I mean

distant sun
#

Survival as in exploration, land claiming. The gamemode

astral quiver
#

Because if you want survival, just play the bedrock edition

distant sun
#

lol

astral quiver
#

And you are playing? no

distant sun
#

They are two different things

#

Nobody said minecraft it's just pvp

onyx loom
#

survival doesnt have to just be single player

distant sun
#

Or multiplayer means only pvp related gamemodes

astral quiver
#

No

obtuse gale
#

I used to be a big fan of SMP servers, find them boring now tho

astral quiver
#

Multiplayer means that you can play with your friends

#

justs that

#

I'm not talking about PVP

dusky drum
#

multiplayer = multiple players

astral quiver
#

Exacly lol

obtuse gale
#

by that logic does multiplier = multiple pliers Thonkeng

astral quiver
#

The fact is, minecraft server community is focus on PVP

pastel imp
#

Survival on 1.8 or anything else than latest it's pointless
@distant sun that's just facts

ocean quartz
#

SMPs are pretty great in 1.16

pastel imp
#

srry for ping btw

astral quiver
#

Sad? yes, but it's

dusky drum
#

by that logic does multiplier = multiple pliers :Thonkeng:
brain work very well?

distant sun
#

Because pvp can be used for a lot of minigames

astral quiver
#

We need to live with the truth

quiet depot
#

SMPs are pretty great in 1.16
@ocean quartz smps are best in modded

ocean quartz
#

Yes!!

dusky drum
#

if you really want to know what meaning of multiplayer is
denoting or relating to a video game designed for or involving several players.

obtuse gale
#

I dont like un-whitelisted smps

distant sun
#

^

obtuse gale
#

Whitelisted smps are pretty good tho

astral quiver
#

1.16.2 have biomes custom color

onyx loom
#

helpchat smp fingerguns

astral quiver
#

do you folks did see that?

obtuse gale
#

I was on one for like a year and a half, made a few plugins for free for the owner just cos i liked the server then found it boring....

pastel imp
#

souzaaaa

#

help me

onyx loom
#

wholesome

ocean quartz
#

So hard to read smps without reading simps instead lmao

pastel imp
#

they are saying that 1.8 is bad

#

help me

onyx loom
#

so true matt lmao

astral quiver
#

Is bad

dusky drum
#

wtf

astral quiver
#

1.16.2

pastel imp
#

Is bad
@astral quiver it is but tell them what you told me last time

astral quiver
#

I already told they

#

Performance only matters when running a "profissional server"

ocean quartz
#

Like let me get it straight, we all agree that 1.8 is bad, we also agree it's widely used

obtuse gale
#

yes

onyx loom
#

indeed

pastel imp
#

oh ok

obtuse gale
#

unfortunately

pastel imp
#

yes

#

we all agree 1.8 is bad

obtuse gale
#

yes

onyx loom
#

theres no real need to run 1.8 unless u have like 100 players

pastel imp
#

BUT it's good performance af

#

.-.

onyx loom
#

or unless ur gian, 300 fingerguns

astral quiver
#

AND we all agree that mojang do a really shit in 1.14+

hot hull
#

I mean Gian ran 300 on latest sheesh

ocean quartz
#

They did Yeah

distant sun
#

The game was just not ready for all these changes

pastel imp
#

1.8 you can run 1.5k

#

.-.

#

ooof

distant sun
#

It was poorly made since begin

onyx loom
#

^^^^

astral quiver
#

Yes

ocean quartz
#

Though they did a pretty good job on 1.15

onyx loom
#

no multi threading :(

dusky drum
#

yo how do i shift vararg args: String?
like to get substring from index 2 to size of it?

obtuse gale
#

wasnt 1.13 shit for performance and now its getting better? Or am i wrong

astral quiver
#

But I guess now they are focus on "Java news stuffs" that uses ALOT OF MEMORY

#

Like using lambdas everywhere

hot hull
#

copyOfRange iirc

ocean quartz
#

They started listening to Aikar and the server community

onyx loom
#

ya aj i think 1.15+ fixed itself a little bit

astral quiver
#

Using immutable stuffs

#

that produce alot of garbadge

#

Wait, when @ocean quartz ?

dusky drum
#

thanks frosty

ocean quartz
#

On 1.15+ iirc

pastel imp
#

now you guys make me ask myself if I should use 1.8 or not

#

lol

distant sun
#

They should just hire the paper people

pastel imp
#

fu@

onyx loom
#

yes

distant sun
#

now you guys make me ask myself if I should use 1.8 or not
@pastel imp ONLY pvp - yes

astral quiver
#

Depends, what type of server do you want?

onyx loom
#

who needs microsoft / mojang devs when u have papermc

old wyvern
#

They had a meeting with paper team earlier this month right?

static zealot
#

several people are typing ...

old wyvern
#

I wonder whats coming

quiet depot
#

not paper in particular, just key community members afaik

ocean quartz
#

I'm not sure when but paper team did talk with dinnerbone i think

old wyvern
#

ah

pastel imp
#

Depends, what type of server do you want?
@astral quiver prison

distant sun
#

We need to talk to bill

astral quiver
#

1 Mod developer > 1 day add 355565656 new Mobs
Mojang team > 6 mouths 5 mobs

ocean quartz
#

And Grum to ask him to make bukkit MIT

quiet depot
#

that's impossible

obtuse gale
#
                            var user = userRepo.findByDiscordUserId(member.id)
                            if (user == null) {
                                user = User(discordUserId = member.id)
                                userRepo.save(user)
                            }``` Can I make user a val somehow? Maybe something fancy with the elvis operator?
dusky drum
#

yeh mojang is slow with updates..

ocean quartz
#

Yeah

distant sun
#

We will vote for a new mob on oct 3rd

quiet depot
#

license changes require every individual contributer to agree to it

old wyvern
#

Souza, the company probably has a lot more going on underneath than a mod dev would think

astral quiver
#

yes, I know

ocean quartz
#

Licensing is pretty annoying

pastel imp
#

but I mean

#

BLOCKS

#

and blocks

onyx loom
#

change the T&Cs of bukkit, ez license transfer fingerguns

pastel imp
#

many blocks

old wyvern
#

Mod devs ussually dont have game designers and other staff ensuring quality and stuff

pastel imp
#

cubes

#

and blocks

#

what's sooo hard about it?

ocean quartz
#

That's why we just roll with it

astral quiver
#

Model 3d

distant sun
#

Not everything can be added in the game itself imo

astral quiver
#

they need to support new blocks

distant sun
#

Even if we want

astral quiver
#

that you can be able to change the HIT BLOCK of the block

#

Blocks and entity is more hard to add than items

#

because of the HIT BLOCK

distant sun
#

hitbox?

dusky drum
#

i mean mojang could make 100 of mobs in 1 month if they wanted but they are just like no thats to much content.

old wyvern
#

Afonso, adding new changes to a active game can sometimes backfire, its important for the company to do things slowly

astral quiver
#

Yes

#

Yes

#

lol

#

Hitbox

old wyvern
#

Users dont ussually like quick changes

distant sun
#

^

static zealot
ocean quartz
#

What i would love would be an official modding platform similar to bedrock's marketplace, where you'd make a server with mods and players would download them instantly on join without them needing all sorts of mess to play

distant sun
#

They do a nice job with the game itself

old wyvern
#

Mhm

distant sun
#

They added a tone of cool shit to bedrock

quiet depot
#

bedrock is still trash

ocean quartz
#

I would love to have a modded server, it's just hard to find players willing to go through the installing process

distant sun
#

Yes ofc

astral quiver
#

This could be really cool, but I don't now if mojang will do that with Forge or Fabric

quiet depot
#

matt, you sure about that?

old wyvern
#

bedrick just barely has all the feaures of Java at right?

astral quiver
#

And I need to say, I don't want a shit mod API

old wyvern
#

And there was a bug with them using floats instead of doubles or something?

ocean quartz
#

A bit, i know modpacks on twitch and technic makes kt much easier

quiet depot
#

yeah they use floats for things like health afaik

old wyvern
#

Block colliders having a large offset at high x,z coords

obtuse gale
#

how do IJ breakpoints work? Do I just chuck them there then the code will stop there?

quiet depot
#

yep

obtuse gale
#

(Discord bot)

astral quiver
#

Heres back I really want to build a mod client that downloads the servers mods when you join it

obtuse gale
#

can I then like "press play" on the code and will it go from where i stopped it?

quiet depot
#

yep

obtuse gale
#

can I add code in while its stopped?

quiet depot
#

with hotswap

pastel imp
#

sooo prison server... 1.12.2? 1.8? for lobby? suppose 1.8 is better as I don't need features...?

old wyvern
#

Go error handing is... eh....

distant sun
#

Imagine if the client wasnt losing connection that easily if sending a texture pack takes a bit longer 🙄

old wyvern
#

I may be doing this wrong, or this is just annoying in general 🙃

quiet depot
#

go doesn't have exceptions right?

old wyvern
#

yea, errors are normal types

#

multiple return values can be provided

#

that way you can propagate the error back

obtuse gale
#

If I do that will the println run or not

old wyvern
#

Since it doesnt propagate back to a try catch or something it requires manually returning the error everytime you expect one

ocean quartz
old wyvern
astral quiver
#

I saw that, the fade affect, uff

#

I'm kinda sad right now :c

pastel imp
#

sooo?

sooo prison server... 1.12.2? 1.8? for lobby? suppose 1.8 is better as I don't need features...?

astral quiver
#

Try Glowstone for lobbies

ocean quartz
#

I know i know!
What i want is to do some interesting animations for it, but gotta do JS i think

astral quiver
#

Yes, JS is pretty neat to do that

ocean quartz
#

Kotlin JS blurryeyes

astral quiver
#

My problem is that I render everything everytime

#

Kotlin JS ❤️ 👀

onyx loom
#

have u used kotlin js before?

pastel imp
#

Try Glowstone for lobbies
@astral quiver glowstone? never heard about it but will check it

#

what about the prison?

distant sun
#

Paper ?

pastel imp
#

ye

astral quiver
#

I don't know much about prision servers

pastel imp
#

just gotta know the version

astral quiver
#

have alot pvp?

pastel imp
#

not much

ocean quartz
#

Yeah, though it's not that big of a deal for me, since all it does is pass the GUI's to the backend via JSON

astral quiver
#

if not, then choose your version

pastel imp
#

but it does have some

ocean quartz
#

@onyx loom I haven't yet, curious to try though

distant sun
#

1.8 for pvp, 1.12.2 if you need more blocks for mines imo

onyx loom
#

me too

pastel imp
#

idk if I need more blocks?

#

as I am gonna support 1.8

ocean quartz
#

Would 1.16 be bad for prison? You don't really need mobs/worldgen right? (idk much about prison servers)

distant sun
#

Not sure

#

Probably not the best option

pastel imp
#

Would 1.16 be bad for prison? You don't really need mobs/worldgen right? (idk much about prison servers)
@ocean quartz it's not just about that

#
  • plotworld?
#

gotta be generated

ocean quartz
#

Because if those things aren't needed, i don't see why not 1.16, it's like Skyblocks

onyx loom
#

i mean u could implement mobs

ocean quartz
#

I mean with paper the generation is not a problem

#

async mob pathfinding when

onyx loom
#

👀

distant sun
#

Never™️

ocean quartz
pastel imp
#

as said I plan in support 1.8

#

means any 1.9+ mobs and blocks

#

won't be supported

#

I am just searching for the best option

distant sun
#

I dont even bother with anything lower than 1.16.1

#

Why play on 1.16 with an 1.8 client to see bats instead of bees

dusky drum
#

XD

distant sun
#

For real xd

pastel imp
#

Why play on 1.16 with an 1.8 client to see bats instead of bees
@distant sun IT'S PRISON

#

that's first thing

#
  • more versions you support
#

the better

distant sun
#

Im talking about my server

pastel imp
#

I don't wanna make players need to use 1.12.2

#

or so

#

just cause yes

#

I want all players to be able to play

#

oooohhhh

#

oooof

distant sun
#

Supporting newer versions it's nothing comparative to supporting older versions

dusky drum
#

then add bedrock mc support to have all players able to play ha!

pastel imp
#

Supporting newer versions it's nothing comparative to supporting older versions
@distant sun exactly

#

that's my point on why to use 1.8.8

#

it's easy newer version support

distant sun
#

Which is invalid imo

ocean quartz
#

let's make a server that allows multi server processing, 4 servers, each takes care of an axis! Woot woot

distant sun
#

haha

compact perchBOT
#
✳️ Global Multiplier Expired!

The global multiplier has ran out and has been reset!

onyx loom
pastel imp
#

wait wdym by axis?

ocean quartz
distant sun
#

w x y z

ocean quartz
#

Like -x x -z z

old wyvern
#

w?

pastel imp
#

yes but wdym by

#

4 server for each

old wyvern
#

-x and x are a single axis matt

distant sun
#

Exactly

old wyvern
#

😫

distant sun
#

w x y z > +- x +- z

ocean quartz
#

It's just a dumb idea xD
Shhh, i know but mc doesn't need Y so let's split x and z in 2

old wyvern
#

😂

#

4 dimensional minecraft

#

actually, Euclidean minecraft anyone?

ocean quartz
#

Like server 1 - takes care of positive x, server 2 - positive z, server 3 - negative x, server 4 - negative z

#

Yas!

distant sun
#

Lmao matt

old wyvern
#

🍉

ocean quartz
distant sun
#

"Welcome to the server negative x"

old wyvern
#

Holy shit someone actually did it?

ocean quartz
#

Yeah xD

old wyvern
#

Thats a mod right?

ocean quartz
#

I love non eucladian stuff

old wyvern
#

xD

ocean quartz
#

Yeah it's just a nether mod

old wyvern
#

ah

frail glade
#

There's a plugin for it too

#

If that's what I think it is

#

Been around for a few years

ocean quartz
#

There is i think

old wyvern
#

I assume they are rendering onto a map or something?

frail glade
#

By the same dev of react

ocean quartz
#

Sethbling did it with command blocks like 6 years ago too

onyx loom
#

thats so trippy lmao

old wyvern
#

damn

pastel imp
#

ok so I am probs gonna use 1.8 cause performance and I don't think I need features or blocks

astral quiver
#

Sethbling done alot of great stuffs

#

with any plugins

pastel imp
#

ok I don't rlly understand glowstone that you said @astral quiver

astral quiver
#

I guess the one that he uses was with the XBOX thing

ocean quartz
astral quiver
#

@pastel imp Glowstone is server implementation from the ground, it have more performance that minecraft server native have but does not complete have the gameplay mechanics of the minecraft

#

Item frame + map, right?

pastel imp
#

it's holograms

#

and... I completly did not understand you

ocean quartz
#

Armorstand names yeah

pastel imp
#

with the "but does not complete have the gameplay mechanics of the minecraft"

quiet depot
#

cuberite is a complete impl souza iirc

astral quiver
#

no wayyyy

#

But cuberite does not have Bukkit API @quiet depot

quiet depot
#

good

#

fuck bukkit

astral quiver
#

👀

quiet depot
#

glowstone should've implemented sponge, not bukkit

pastel imp
#

I still don't understand glowstone

#

oof

astral quiver
#

I don't think that way, Bukkit is not the greats API

#

But Sponge have a great API but not performance friendly

quiet depot
#

says who

#

mind you sponge vanilla isn't really designed around performance iirc

#

unlike spigot/paper, whose primary purpose is performance

astral quiver
#

Minecraft native server already does not have great performance

#

In the newer versions

#

and use Sponge?

#

Just for do fun stuffs

jovial warren
#

Bukkit is horrible for a lot of reasons

ocean quartz
#

If Sx had finished his Go server it'd be pretty nice

runic flume
#

Is there a XMaterial.java class for 1.16?

quiet depot
#

probably codiq

jovial warren
#

It's concurrency is a joke

runic flume
#

okay, ty

astral quiver
#

There is a Rust implementation really good

prisma wave
#

Rust 👀

onyx loom
#

elara 👀

jovial warren
#

Rust implementation of what?

prisma wave
#

^^

#

Mc Server

quiet depot
#

the mc protocol bardy

astral quiver
prisma wave
#

It's no Go but...

jovial warren
#

MineKraft 😎

prisma wave
astral quiver
prisma wave
#

The well designed server impl that works

silk kite
#

🔫 blob0w0

jovial warren
#

MineKraft is the Minecraft protocol in Kotlin

astral quiver
#

Modular server design?

jovial warren
#

It's a W.I.P but it's getting there

astral quiver
#

adding gameplay mechanics with modules?

#

👀

jovial warren
#

Modular? What a great idea

old wyvern
#

Honestly, I wish go had normal exception handling

#

this feels gross

astral quiver
#

I have this idea for years, minecraft server impl modular

old wyvern
#

😢

astral quiver
#

that you add modules to increase your server gameplay mechanics

quiet depot
#

I don't really see any benefits of what you're describing souza

pastel imp
#

you don't?

jovial warren
#

It would scale for big servers Pig

pastel imp
#

^^

astral quiver
#

Big servers and specific servers as well

jovial warren
#

Being able to just remove unused mechanics

astral quiver
#

like Lobby server

jovial warren
#

^

quiet depot
#

o ok

astral quiver
#

Limbo server

#

Like hypixel does

pastel imp
#

Being able to just remove unused mechanics
@jovial warren that's literally the missing thing and why custom jars are sooo gud

jovial warren
#

Yeah

quiet depot
jovial warren
#

@prisma wave we be doing that now xD

old wyvern
#

@astral quiver
You mean like a barebones server impl?

#

yea

#

Was going to link minestom

#

lol

#

welp

quiet depot
#

I believe one of the selling points of minestom is modularity

#

unless I'm thinking of something else

old wyvern
#

Yea, but its a server API

quiet depot
#

oh, no impl?

old wyvern
#

something to build your own server software off of

quiet depot
#

i see

astral quiver
#

That looks nice

old wyvern
#

It does have a VanillaImpl version in a sep repo

#

its not quite complete yet

#

or atleast last I checked

quiet depot
#

surely it doesn't use nms?

prisma wave
#

@prisma wave we be doing that now xD
@jovial warren sounds good

old wyvern
quiet depot
#

yugi, isn't the point of a lack of exception handling, is because you're simply not meant to use or have errors? If something goes wrong, you pass a default value

jovial warren
#

Ours will me MBM rather than NMS

old wyvern
#

error does exist as a type

quiet depot
#

for use, or compat?

old wyvern
#

and im dealing with a case where I have to propagate the error back for reporting

jovial warren
#

me.bristermitten.minekraft (for now anyway lol)

astral quiver
#

MineKraft -> Multithreading made easy with coroutines fingerguns

prisma wave
#

I like it

jovial warren
#

MineKraft -> Multithreading made easy with coroutines fingerguns
@astral quiver yep

prisma wave
#

lmao you realise it literally only works for me rn

ocean quartz
#

MBM - mitten.brister.mitten

old wyvern
#

The parser needs to log tokens at which errors occur so we can use that for IDE integration at some point

prisma wave
#

Because I hardcoded my username and uuid

jovial warren
#

Yeah I saw that

quiet depot
#

o is minekraft an actual thing?

#

link

prisma wave
#

kind of

jovial warren
#

My draft PR will probably fix that at some point

old wyvern
prisma wave
#

knightzmc/minekraft on gh @quiet depot

#

^

jovial warren
#

^

prisma wave
#

It's barely functional

jovial warren
#

^

prisma wave
#

My draft PR will probably fix that at some point
@jovial warren you gotta query mojang API

quiet depot
#

make sure to add ur impl to wiki.vg, if it goes anywhere

jovial warren
#

But I have a draft PR

#

Yeah we will

prisma wave
#

when it goes somewhere yeah

#

Bad idea atm

jovial warren
#

@prisma wave can we use Retrofit pls

#

xD

astral quiver
#

I need to add kt-mc-packet

#

when its get more complete

prisma wave
#

retrofit is kinda meh

distant sun
#

Reminds me of this @prisma wave

jovial warren
#

can multiple people contribute to the same draft PR btw?

prisma wave
#

I'm pretty sure we've all thought that lmao

#

Might change the name

#

It was just the only thing I could think of

jovial warren
#

@distant sun Hitler's autobiography eh?

distant sun
#

ye

quiet depot
#

what u using maven local for

prisma wave
#

nms

#

To reverse engineer some of the stuff

quiet depot
#

what

#

o

prisma wave
quiet depot
#

lel have fun with world gen

jovial warren
#

We can just use the mappings

prisma wave
#

😬

jovial warren
#

Mini's Mapping thingy

prisma wave
#

@jovial warren I needed to see the implementations

#

eg for the packet formats s

#

Some of them weren't updated

quiet depot
#

wow

#

not even a custom logback config

jovial warren
#

I have a decompiled version of 1.8 to go from so I good

quiet depot
#

you're slacking dude

#

wtf

#

don't decompile it

#

generate it from buildtools

jovial warren
#

Yeah I did

prisma wave
#

soz

astral quiver
#

This is actually decompile

jovial warren
#

But you gotta decompile it to view it

quiet depot
#

no you don't?

jovial warren
#

Wdym?

#

Oh yeah you get source dirs

quiet depot
#

buildtools generates the decompiled nms sources for you

jovial warren
#

I big brain sometimes lol

prisma wave
#

effort to view those in the IDE though

quiet depot
#

I believe those sources are also unobfuscated

distant sun
#

Mini's Mapping thingy
@jovial warren thats for 1.13 and above iirc

quiet depot
#

anything below is irrelevant

prisma wave
#

^

#

I would rather shoot myself in the foot than attempt to support multiple versions

distant sun
#

"MainKraft - 1.17 and above"

astral quiver
#

Supports the latest version and being FAST

#

I good enough

#

because the 1.14+ is a really shit

#

in performance

prisma wave
#

pretty sure the only reason someone would want to use old versions is performance yeah

#

So fix that and profit

distant sun
#

And pvp

pastel imp
#

still going for 1.8.9 probs

prisma wave
#

1.9 pvp can be disabled though

#

Could probably be a module

#

in this specific structure

pastel imp
#

so isn't paper the best anymore?

astral quiver
#

Tuinity

onyx loom
#

if ur on 1.15+ tuinity

astral quiver
#

for new versions

prisma wave
#

or any of the other 300+ forks that exist for some reason

pastel imp
#

I mean for older versions

#

pretty sure the max I will go is 1.12.2 besides survival

prisma wave
#

:/

#

Your loss

onyx loom
distant sun
#

or any of the other 300+ forks that exist for some reason
@prisma wave $500 fork, mhm

prisma wave
#

yep

astral quiver
#

1.13 vs 1.12, what paper has more performance 🤔

prisma wave
#

Just for slightly faster cannoning or something

#

Probably 1.12 tbh

astral quiver
#

1.13 adds multi thread chunk loading? right?

prisma wave
#

Iirc performance started to decrease after 1.13

dusky drum
#

wtf my core has wierd issues on kotlin

distant sun
#

1.13 it' shit

prisma wave
#

:(

dusky drum
#

how da frik:

ocean quartz
#

1.13 is the worse performant server version

dusky drum
#

works completly fine in java plugins

astral quiver
#

Why mojang does that with us :c

prisma wave
#

@dusky drum what's wrong with that lol

dusky drum
#

everything is doubled

prisma wave
#

oh

old wyvern
#

The actual problem is.... minecraft was never made to be huge

prisma wave
#

Lol

dusky drum
#

and its missing like half of commands

prisma wave
#

probably a problem in your code?

old wyvern
#

It was just a random project someon worked on

#

until it blew up

dusky drum
#

i tested it on java plugin works just fine

prisma wave
#

Doesn't mean you shouldn't optimise it though @old wyvern

prisma wave
#

If you do have millions of people using it

old wyvern
#

I dont think he probably cared at the beginning

prisma wave
#

ofc not

onyx loom
#

BM why does pdm shade in kotlin on 0.0.27 sad

prisma wave
#

But he's not working on it anymore

old wyvern
#

At some point things become irreparable without a rewrite

#

Yea exactly

distant sun
#

Doesn't mean you shouldn't optimise it though @old wyvern
@prisma wave you do with a $500 server jar

prisma wave
#

@onyx loom evil bug, try 0.0.28 or whatever is latest

old wyvern
#

They did start rewriting by small portions I believe

prisma wave
#

@distant sun I'm not spending $500 on a server jar that'll become obsolete in about 2 years

old wyvern
#

1.13 itself was a rewrite of some major stuff

onyx loom
#

what if i told u 0.0.27 is latest

prisma wave
#

uh oh

distant sun
#

But .. :(

prisma wave
#

hmmmmmmmm

#

I'm like 80% sure I fixed that

onyx loom
prisma wave
#

Hmmmmmmmm

#

This might be a problem on your end

#

Send buildscript?

onyx loom
#

its never an issue on my end OMEGALUL

prisma wave
#

I feel like it might be

onyx loom
prisma wave
#

Glare said it was fixed

#

And his word is law

distant sun
#

So, I create this wrapper / sdk for tebex abi and the jar it's 2.8MB (gson and okhttp3), should I be worried or do anything ab that?

prisma wave
#

pdm fingerguns

#

@onyx loom it's Kotlin's fault

astral quiver
#

is a SDK, so, if anyone do not want this, jsut use PDM fingerguns

prisma wave
#

I believe

onyx loom
#

how so sad

astral quiver
#

can you send your dependencies?

prisma wave
#

As of 1.4 it automatically adds an implementation dependency on the stdlib

astral quiver
#

noooowayyy

prisma wave
#

Which interferes with pdm's mini shading

astral quiver
#

noway

#

noway

onyx loom
#

what the frick

#

kotlin bad

astral quiver
#

how to fix that?

prisma wave
#

I'll probably look into using a different configuration for pdm's runtime so stuff like this won't get in the way anymore

astral quiver
#

Yes

#

Could add it to the README ?

#

good to know about that

ocean quartz
#

Imma wait for Hacktoberfest and i'll contribute to PDM blurryeyes

onyx loom
#

it still shades it 😭

astral quiver
#

I was thinking that this default dependency was only for Multiplatform projects

prisma wave
#

😕

astral quiver
#

not for standard jvm project

onyx loom
#

btw ori is experiencing the same, so its not just me

prisma wave
#

@frail glade sorry for ping but you said it was fixed for you, did you keep the gradle.properties thing?

#

odd

onyx loom
#

idk if ori is also using kotlin 1.4

#

but is using 0.0.27

#

@remote goblet

prisma wave
#

that seems to be the root cause

old wyvern
#

Whats Hacktober?

prisma wave
#

I'm like 99% sure that it will work fine with 1.3.72

remote goblet
#

i'm using 0.0.26 now mmSitStareMocha

prisma wave
#

Try it perhaps unless you're using any 1.4 specific stuff

#

o

astral quiver
#

Can you downgrade to test it @onyx loom ?

onyx loom
#

are u using kotlin 1.4 ori?

remote goblet
prisma wave
#

so it's a bug in 0.0.27?

remote goblet
#

yes

astral quiver
#

what I have done 😮

prisma wave
#

lmao

#

You've doomed us all

onyx loom
#

😠

astral quiver
#

Nooooooo

prisma wave
#

Probably accidentally changed some tiny feature in the gradle plugin

onyx loom
#

im sure ur contributions were good tho, no one wouldve expected this (maybe?)

prisma wave
#

Yea

#

It's also one of those things that's almost impossible to unit test

#

Annoyingly

onyx loom
#

yea 0.0.26 is fine

prisma wave
#

So it's gonna slip through really easily

#

interesting

onyx loom
#

back to 90kb fingerguns

prisma wave
#

Will have a look at what changed when I get home

onyx loom
#

are u back at school now?

#

or college

prisma wave
#

sixth form

#

So yea college I guess

onyx loom
astral quiver
#

I will look as well in the lunch

prisma wave
#

ok ty

#

Probably a 1 liner somewhere

ocean quartz
#

Let's find something to debate there is a 8x multi going

prisma wave
#

also your fork's upstream might have been 0.0.24 where it was a problem

onyx loom
#

kotlin is stale

prisma wave
#

very stale

#

The industry needs something fresh and new

#

Aka elara

onyx loom
#

elara is too premature rn

ocean quartz
#

BM have you tried kotlin for js?

prisma wave
#

😔

#

not for anything major

#

Tried it once and got bored

#

It seems like it's still in infancy

ocean quartz
#

I wanna give it a shot for this viewer

astral quiver
#

I'm working with branchs @prisma wave

#

The branchs is updated

prisma wave
#

hmm

#

Check the diff I guess

astral quiver
#

I will check it

prisma wave
#

I will mention the gradle plugin in particular is a delicate bunch of spaghetti so it's probably going to be difficult to find the root cause

#

Which is going to be great 🙃

astral quiver
#

KotlinBukkitAPI has a great feature that generates helps commands message

dusky drum
#

man

prisma wave
#

subtle plug

dusky drum
#

?

prisma wave
#

lol

dusky drum
#

i dont get whats wrong with it.

prisma wave
#

It seems like it's more likely to be a problem in your code

dusky drum
#

but where?

prisma wave
#

The duplication is probably because you're registering them twice somewhere

#

Incidentally this is why Set > List

dusky drum
#

true

#

gonna change to set

#

oh

#

my bad im using linkedhashmap

prisma wave
#

Impossible to say where the bug is coming from without seeing absolutely everything though

#

That's fine

dusky drum
#

so there is no way to have duplicates

prisma wave
#

LinkedHashMap won't allow duplicates no

dusky drum
#

since i save it string - command

prisma wave
#

what about subcommands?

#

The same?

dusky drum
#

thats it

prisma wave
#

Ah

#

Hmm

pastel imp
#

ok I am back

#

soooo

pastel imp
#

paper 1.8.9

#

best version for performance

#

thx and goodbye

ocean quartz
#

nestedCommands.children.get() public field PepeHands

prisma wave
#

that's a disturbing lack of Liskov too

#

lol

dusky drum
#

()=?*

prisma wave
#

looks like a regex

#

Liskov Substitution Principle

#

Program to the interface

onyx loom
#

?solid

compact perchBOT
onyx loom
#

🌝

dusky drum
#

i dont understand

prisma wave
#

use Map instead of LinkedHashMap

#

List instead of ArrayList

#

Etc

dusky drum
#

oh that you mean

#

yeh i know

ocean quartz
#

Basically Map<?, ?> map = new LinkedHashMap<>();

prisma wave
#

Do it then fingerguns

dusky drum
#

okay done

prisma wave
#

Ok that won't fix the problem

#

But good

#

Send the full code

#

Everything that you think is relevant

dusky drum
#

okay sec

#

its kinda not my code but ok XD

prisma wave
#

?

dusky drum
#

should i send pics or code?

prisma wave
#

Whose is it then

#

Either

ocean quartz
#

Should have used MF fingerguns

#

Shameless plug

dusky drum
#

i mean i could but i added kinda a lot of shit in my core so i dont want extra core in my plugins

onyx loom
#

not shameless plug if its a worthy plug reversed_fingerguns

prisma wave
#

Redundant streams btw

#

And you could condense the varags method to just call the single arg method

#

Where are you doing the registering?

dusky drum
#

in actuall plugin

prisma wave
#

It's probably not a bug in the framework as opposed to where you're using it

#

send that then

#

I have a feeling I know what's happening already

dusky drum
#

thats the register

#

or do you mean commandmanager?

prisma wave
#

just send the full class containing that function

dusky drum
#

im not registering commands twice :3

prisma wave
#

are you testing with just those 2 plugins?

#

Or others

dusky drum
#

like 4 plugins

prisma wave
#

If so, try testing with just those 2

dusky drum
#

and only 1 has problems

prisma wave
#

Also kotlin linkedSetOf<FileLocation>( FileLocation.of("holograms.yml", true) ) this is why we use Liskov

dusky drum
#

:?

prisma wave
#

you shouldn't need linkedSetOf

#

You should just be able to pass a Set without worrying about the implementation

dusky drum
#

true

#

idk why i even used linkedhashset here

prisma wave
#

exactly why you should be using Liskov

dusky drum
#

gonna change that

prisma wave
#

Unless you specifically need the contract of LinkedHashSet, it's infinitely better to just take Set

dusky drum
prisma wave
#

There is a pretty high chance you don't need it

dusky drum
#

okay

#

i still cant fix duplicates

prisma wave
#

Also that class is doing way too much

onyx loom
#

srp principle now

dusky drum
#

why is it doing way to much?

pastel imp
#

Should have used MF fingerguns
facts... he should...

prisma wave
#

Single Responsibility Principle

#

Your class is handling copying files, loading them into memory, and walking directories

#

Too much

dusky drum
#

no

jovial warren
#

noice

dusky drum
#

idk how it happened but it did

#

i kinda think that one command had same syntax and it just broke the collection

prisma wave
#

odd

dusky drum
#

i kinda forgot to change it so

#

like list cant take 2 same values right

#

i mean

prisma wave
#

it can

dusky drum
#

no it can

#

wierd

prisma wave
#

The contract of List is to allow duplicates

dusky drum
#

oh

#

im gay

#

stupid

#

like

#

if it had same syntax

#

it showed as same

#

since it was same

#

my brain 200000IQ

prisma wave
#

lol nice

frail glade
#

@prisma wave no

prisma wave
#

Alrighty

#

I think we narrowed it down to Souza breaking something lol

frail glade
#

Hmm?

#

I'm still on 25

prisma wave
#

In 27 it gets shaded again

distant sun
#

ignore the weird toString() methods, will be removed

prisma wave
#

The second is more consistently declarative

#

But of course it's also kinda ugly

ocean quartz
#

Same

distant sun
#

how would you make it less ugly?

prisma wave
#

I'm not circlejerking here but you kind of can't

distant sun
#

I thought about using map(JsonElement::asJsonObject).map(Category::new).collect() but that's two loops for the exact same thing

prisma wave
#

Declarative / functional programming in Java is not particularly elegant

#

I guess the 2 maps are better

#

Not sure about stream implementation but it can probably condense the 2

#

It had better anyway

#

They'd be dumb not to

distant sun
#

wdym?

prisma wave
#

Ideally it would condense the 2 map calls into a single operation

#

I'm not sure if it actually would

#

But if you're using streams I doubt you need to care about performance anyway

distant sun
#

mhm

#

tf luyten can't decompile it 🤣

prisma wave
#

I don't mean the compiler

#

I mean the Stream implementation

distant sun
#

m h m

#

should I send the error message to console?

prisma wave
#

That's what printStackTrace will do?

distant sun
#

Ah, talking about the error message provided by tebex when !response.isSuccessful()

prisma wave
#

I would expose it in some sort of Result type

#

Let the caller handle it

astral quiver
#

I still does not know what I done in the PDM

#

I will debug

dusky drum
#

any idea how i could implement API, like how can i make instance of api get the plugins main class file and so on?=

astral quiver
#

DI

distant sun
#

idk how @prisma wave

#

pushed latest changes if you want to take a look :0

prisma wave
#

@distant sun I would make a Result class with a nullable value and nullable Throwable

#

Or something

#

Return that instead of an optional

distant sun
#

was about to say that

prisma wave
#

You might want a String instead of a Throwable

#

Since the API will probably return a String for an error

distant sun
#

( I suck at naming, I know )

dusky drum
#

okay yay i made basic API

#

its kinda garbage (built into the plugin)

prisma wave
#

I'm not sure the successful field is necessary

#

Since that could be asserted just by the fact that the error is null or not

dusky drum
prisma wave
#

illegal lol

dusky drum
#

rly?

prisma wave
#

I think so

#

Pretty sure distributing craftbukkit binaries is illegal since the DMCA

#

which is why BuildTools exists

dusky drum
#

idk

pastel imp
#

lol bombardy flexing ultimate

prisma wave
#

Ultimate is free for students

dusky drum
#

just 1 question how do pepl make APi like external project?

onyx loom
#

imagine not having ultimate 😄

pastel imp
#

Ultimate is free for students
@prisma wave I am a student and I don't have it?

dusky drum
#

omg

onyx loom
#

github student pack

pastel imp
#

or maybe idk where to exactly get it

onyx loom
#

ez

dusky drum
pastel imp
#

thx

#

verifying my school email rn

astral quiver
#

@prisma wave really don't know what could be this issue

prisma wave
#

hmmm

#

i will have a look soon

lavish notch
prisma wave
#

execute whoever that is

#

they clearly don't realise that personal preference is in fact illegal

dusky drum
#

mine already works ha!

#

kinda love full RGB support 🙂

ocean quartz
eager fern
#

Any ideas on how to get instagram profile picture from a username?

Tried:

  • __a=1 (Anti-bot blocks unless I setup proxies and other sketchy stuff which makes the project too complicated)
  • Official API doesn't return it unless you have a user ID which is only returned when user authorizes the app through OAuth (OAuth is not possible for us)
  • Also scraping the webpage is not available due to the anti-bot measures ig takes.
wanton sentinel
#

Anyone epic at deluxemenus

pastel imp
#

idk?

#

^^

#

@eager fern

eager fern
#

naw @pastel imp

pastel imp
#

?

eager fern
#

Read what I have tried

pastel imp
#

last link I sent?

#

.-.

eager fern
#

Wouldnt work

pastel imp
#

uhm

#

isn't that what you asked?

eager fern
#

Not like that though 🙂

remote goblet
#

Sometimes you take a moment

#

and realise

#

how fucking sexy kotlin is

#

like holy shit

ocean quartz
#

Ikr!

remote goblet
#

Lemme just like

#

show you this

#

ive sent it to about 60 different servers and people

#

because im just like slpyGasm so much

ocean quartz
#

Lovely

#

Let me show you one i love as well

#

If my IJ decides to finish updating indexes

#

NMS is no longer a pain to work with

#

Type alias is just 👌🏻

remote goblet
steel heart
#

Anyone knows if IJ is capable of replacing a string in a bunch of json files

ocean quartz
#

There is find and replace in path

#

Which will do it in many files

steel heart
#

ah yes ty, yet today I love IJ

ocean quartz
static zealot
#

xD

ocean quartz
#

Perfect, time to publish it in spoogot

steel heart
#

spagootiyy

normal talon
#

oh my xd

obtuse gale
#

Make ||this|| show it obfuscated 👀

ocean quartz
#

That's already a thing

obtuse gale
#

nice nice

ocean quartz
steel heart
#

bruh

astral quiver
#

Markdown in chat, thats looks nice @ocean quartz

distant sun
#

where is that from @ocean quartz

astral quiver
#

You wrote a REALLY markdown parser or just simples markdown?

oak coyote
#

Why no lambda 😢

distant sun
astral quiver
#

I really sad

distant sun
#

?

astral quiver
#

I waiting the Jetbrains folk to give me a awnser about the Kotlin Scripting

#

for like 3 days already

#

Just next week now :c

#

I can't continue the project :c

#

F

obtuse gale
#

Theyre normally pretty fast for responses for me

#

Like really fast

steel heart
#

Matt I wished you could make that for forge as well :8

obtuse gale
#

( I normally get responses within a few hours)

astral quiver
#

in Scripting channel?

obtuse gale
#

na

#

but still

astral quiver
#

Scripting channel is only the Ilya

steel heart
#

I mean just tag someone if it's important

astral quiver
#

basicly looks like is only one guy for scripting

obtuse gale
#

wait what

astral quiver
#

Maybe he is in vacations

#

I don't know

obtuse gale
#

I was just talking about jetbrains support lol are you talking about something else?

steel heart
#

call him on zoom

astral quiver
#

Kotlin support

#

in Kotlin Slack

obtuse gale
#

ah

astral quiver
#

I need to finish the relocation on Bukkript

#

to be able to publish everything in Spigot

ocean quartz
#

@steel heart Shouldn't be that hard to do that, it's pretty abstract
@astral quiver It's a REALLY markdown parser

astral quiver
#

lol

#

What parse that you use?

ocean quartz
#

Modified commonmark to be like discord

astral quiver
#

Some time ago I was wondering in make a Markdown support for Jetpack Compose

#

out of the box

#

Oh nice

#

I guess tomorrow I will start a thing for Bukkript, Is really cool

#

I ask for this on Kotlin Main Kts

#

The idea looks like this: A library can ship a file inside meta-inf that will provide to Kotlin Main Kts the implict imports for the library public API

#

Like a DSL thing

#

and the scripting needs justs to put its as dependency and use it without need to import anything

steel heart
#

Hmm Matt maybe push a pr for that

ocean quartz
#

Check if adventure has forge

quiet depot
#

adventure is bukkit, bungee, and sponge

steel heart
#

I mean sponge

distant sun
#

adventure?

quiet depot
#

used to be called text

ocean quartz
#

Wait you want sponge or forge @steel heart? xD
If it's sponge, then just wait a bit cuz i'll add adventure support

steel heart
#

Add sponge (: I can make the forge parts if it’s not too complex

ocean quartz
#

There plugin is done now, selling for $2.99 on spoogit

oak coyote
#

You forgot some 9’s

ocean quartz
#

Aight $99.99

oak coyote
#

👌🏻

#

Could throw in 1 more for good measure

ocean quartz
#

Might make it cost $100 and give people 90.01% discount

#

Special offer!

distant sun
#

shit man @ocean quartz

ocean quartz
#

Now for real i might make this a thing xD
Just need to learn about the channels stuff

distant sun
#

channels are just a collection of players

#

or just players with a certain perm for things like staff chat

ocean quartz
#

Oh, i thought it was something more