#dev-general

1 messages · Page 602 of 1

timber oak
#

Does PlayerDeathEvent.setKeepLevel(true) make the player not drop the experience or how does it work?

cinder flare
#

if only the javadocs said

dense dew
#

Fleet looks so good when release

hot hull
#

No release

distant sun
#

if I want to have some global currency system, would Redis be ok for that? 😄

steel heart
#

Yes

#

Cache, master slave and the pub sub

rustic zodiac
#

Hi, i have problem with papi 😦
Cannot invoke "me.clip.placeholderapi.PlaceholderAPIPlugin.getLocalExpansionManager()"

sleek flower
#

@quick flume can you ban @obtuse gale it's a bot that posts invites to a server that makes you download malware

eternal compass
#

If you've received a DM recently inviting you to a "hacking/cheating" server, Please click the "Report Spam" button on the DM, and discord will deal with it.
We're currently dealing with everything on our end

distant sun
#

What redis client do you guys recommend, jedis or lettuce?

static zealot
distant sun
#

fuck off blitz 🤣

static zealot
#

ok

oblique heath
#

sql vs elasticsearch vs mongodb vs (???) for logging player messages

steel heart
#

I would very much like to say mongo

#

Or elastic search

#

Altho haven’t ever used that

obtuse gale
steel heart
#

Yeah, lettuce afaik doesn’t have pubsub

#

Or well didn’t

steep veldt
#

Does anyone have an idea how I can paste a schematic with Worldedit 6.0.0 (Minecraft version 1.8.8)?

obtuse gale
cunning oriole
#

can I use java 17 on spigot 1.16.5? If so how?

remote goblet
#

no

#

1.16.5 is java 11

static zealot
cinder flare
#

Yes you can, some plugins that do reflection poorly might break, but you totally can

rugged spear
#

whats kotlin is for?

#

because i want to learn it

static zealot
#

why the fuck is ConfigurationSection#getString(path, default) nullable?

obtuse gale
#

because default can be null 🙃

#

Paper fixes that warning by adding contract

#

@Contract("_, !null -> !null")

#

but spigot does not give a fuck and just leaves the @Nullable there

static zealot
obtuse gale
#

¯_(ツ)_/¯

static zealot
#

fortunately kotlin has my back lol

rugged spear
#

well I will learn it

#

lol

onyx loom
#

u can use kotlin for anything u want

static zealot
#

including for making fireworks

eternal compass
obtuse gale
#

basically means "regardless of the first parameter's value, if the second is not null, the result is not null"

eternal compass
#

ah

obtuse gale
#

you can communicate a non-trivial amount of behavior with it, I love it

eternal compass
#

mhm

prisma wave
#

pattern matching 😌

static zealot
#

in kotlin how do I make a new list of n length that will have the same element without using mutable list?

#

well more of, I have a list and am trying to append an element n times to it.

#
for (i..n) {
  list = list + element
}``` doesn't seem like a good idea. might be but not sure
prisma wave
#

List(n) { element }

static zealot
#

oh. thanks

obtuse gale
#

lol

#

that's dumb

static zealot
#

I was like, damn will try not using mutability when possible, kotlin be like: hell nah

obtuse gale
#

Collections.nCopies 😌

static zealot
#

mrbeast 1 million dolla influencers tournament

#

That was so close at the end I can't believe that happened!

╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝

follow all of these now
• Facebook - https://www.facebook.com/MrBeast6000/
• Twitter - https://twitter.com/MrBeast
• Instagram - https://www...

▶ Play video
#

take a look you poor mfs

remote goblet
prisma wave
#

pure

#

and good

obtuse gale
#

(How Can I Get a skull of a external page?)

'shopitemprofil':
material: (HERE)
slot: 12
display_name: '&r'
lore:
- '&7Shop example using'
- '&7view requirements!'
- '&fLeft click to purchase.'
priority: 1
view_requirement:
Can I help me?

#

GUI menus <- IN

prisma wave
#

wrong channel btw

obtuse gale
#

Oh wait

prisma wave
#

im sorry

sweet slate
#

anyone use divinci resolve 17

sweet slate
hallow crane
#

yes 👍🏻

distant sun
distant sun
#

so .. how does one actually use redis for like a global economy plugin?

static zealot
#

yes

cinder flare
#

What does that even like, mean?\

#

That's like asking how you use anything for anything

#

How does one use C for an operating system?

distant sun
#

smh

cinder flare
#

like what answer were you expecting lol

distant sun
#

nvm, will figure out xd

cinder flare
#

no I mean like, I'd love to help

#

i just don't know what you're asking

obtuse gale
#

how do i use a computer to play r6s?

cinder flare
#

hey siege is pretty fun okay

distant sun
#

I saw that some people recommend to use Redis when it comes to sync data between servers. Ignore my question. 😄

wintry plinth
#

And set to a DB etc

distant sun
#

Yeah

wintry plinth
#

Because redis is super quick vs file based, etc

#

I use redis on my server list for their uuid and I think -cache on the end, with the MOJANG api result

quiet depot
static zealot
#

anyone know if minimessages parses \n as new lines?

distant sun
#

it should

obtuse gale
#

Can use it how you wish, doubtful you run out of memory 20 years from now. For something like minecraft it could matter less.

steel heart
#

redis has an expiring option iirc

distant sun
#

nice

steel heart
#

Btw gaby

#

If you want a synchronized way of updating the economy across servers

#

Usually you use the redis pub sub to send a message to said servers telling them to refetch data from the redis cache and possibly persistent database if redis cache does not contain the data

distant sun
#

sounds good, ty conclure

gilded granite
#

Why do programmers always confuse Halloween with Christmas?

Because Oct 31 == Dec 25

distant sun
#

when creating a module in gradle, how do I mark it as child of another module than the project itself?
I want to make a module inside worldguard_compat

obtuse gale
#

there is no such thing as a "parent" project in gradle really, just add it in settings.gradle include(":worldguard_compat:whatever-subproject") (assuming that's what the dir structure is, ./wg_compat/whatever-subproject)

distant sun
#

ah, nice

distant sun
#

Man I hate when gradle is just like

Could not resolve ....
🙄

#

I gave it the repo and the dependency I need, what else does it want from me 🤣

obtuse gale
#

your guts

distant sun
#

welp

quartz stirrup
#

do you guys know any good places to learn minecraft coding and not just java?

steel heart
#

trial-error

obtuse gale
#

not sure if the right channel... but is there a way to run a command for only users in a certian permissions-group?

#

like /clear @p[group=noob] <-- ?

wind patio
#

can anyone recommend a good object serializer?

#

mainly to store data in a file to persist on server restarts

prisma wave
#

korm

hallow crane
#

configurate has good stuff

static zealot
#

serpent

cinder flare
obtuse gale
#

octal 31 = decimal 25 smh smh smh

prisma wave
#

that's surprisingly clever for a programmer joke

cinder flare
#

Oh damn that's smart

#

That is not usually the indicators for those base systems but I see it now

obtuse gale
#

line*

static zealot
#

nah. pretty sure he meant like

prisma wave
obtuse gale
#

(edited)

prisma wave
#

it's usually like "why did the programmer cross the road? they forgot a semicolon on line 35"

#

?

obtuse gale
#

Original message was deleted.

prisma wave
#

damn

static zealot
#

:kek:

prisma wave
#

if this was another server

static zealot
#

get ratioed mitten!!

prisma wave
#

😩

obtuse gale
#

hehe

eternal compass
#

sad noises

static zealot
#

NOT FUNNY

#

unless you're a kotlin user

#

:kek:

obtuse gale
static zealot
#

k emily. we don't care

prisma wave
#

ratioed by nokotlin

static zealot
#

I don't think so!

#

GET RATIOED AGAIN MITTEN!

obtuse gale
#

power abuse

static zealot
#

idk what you're talking about

obtuse gale
#

@admins detain this psycho

static zealot
#

thank you kaliber

dense dew
#

is learning kotlin worth it when you know java

#

generally

cinder flare
#

Yes

#

It's a nice introduction to modern languages

dense dew
#

java is so pain after i started w go 😔

prisma wave
dense dew
static zealot
#

bcz he is against any language that's not haskell or elara

ocean quartz
#

Elara kek

static zealot
#

yes

#

:kek:

dense dew
#

well Kotlin looks sexy 😳

static zealot
#

it is pretty nice

dense dew
obtuse gale
#

loll

dense dew
#

maybe I should use gradle instead of maven too

static zealot
#

well. that's not a maybe

#

that's a "Why the fuck are you still using maven" :kek:

dense dew
#

alr xd

prisma wave
tranquil crane
#

is anyone else having issues with dns queries failing to resolve on a hostus vps?

static zealot
#

is anyone else having issues with dns queries failing to resolve on a hostus vps?

tranquil crane
#

discord sent it twice

static zealot
#

:kek:

obtuse gale
#

is anyone else having issues with dns queries failing to resolve on a hostus vps?

tranquil crane
#

Did it really send it a third time what tf is happening

#

you are all bullies

static zealot
#

:)))

#

we are 😦

obtuse gale
#

lmao

tranquil crane
#

you are all bullies

#

WHY

static zealot
#

we're just trying to cope with our problems by bullying others

#

discord is bullying you too

#

that's sad

tranquil crane
#

???

obtuse gale
#

okay but is anyone else having issues with dns queries failing to resolve on a hostus vps?

tranquil crane
#

perish

prisma wave
#

is anyone else having issues with dns queries failing to resolve on a hostus vps?

onyx loom
#

is anyone else having issues with dns queries failing to resolve on a hostus vps?

obtuse gale
#

poor nicole lol

tranquil crane
#

aight I'm gonna go jump off a cliff

obtuse gale
#

noo=0o0oo

tranquil crane
#

see you all later

obtuse gale
#

ah okay then yeah

tranquil crane
#

ok but like

#

like what

prisma wave
#

clearly you're having issues with dns queries failing to resolve on a hostus vps

#

pretty obvious

tranquil crane
#

wow crazy

#

thanks bm

prisma wave
#

np

#

always a pleasure

static zealot
#

why is helpchat becoming stackoverflow?

tranquil crane
#

this is where people recommended me use that vps so I figured I'd ask here since I assume other people are using the same host

prisma wave
#

who is interested in a new minecraft hosting dm me if u are

static zealot
#

they also recommended contabo then said contabo is bad, they also said learn kotlin then they started bullying others for using kotlin lolx D

tranquil crane
#

I made a support ticket with them too so it's not like I'm exclusively asking here at least

prisma wave
#

kotlin bad, contabo not bad

static zealot
tranquil crane
static zealot
tranquil crane
#

nah

#

that's a fake icon

static zealot
#

I know

cinder flare
#

is anyone else having issues with dns queries failing to resolve on a hostus vps?

tranquil crane
#

nope no issues here

cinder flare
#

thank god

obtuse gale
prisma wave
#

i heard someone was having issues with dns queries failing to resolve on a hostus vps

#

can anyone confirm?

tranquil crane
#

there are still lots of issues

#

can confirm

obtuse gale
distant sun
obtuse gale
#

Loml

static zealot
tranquil crane
#

me except I haven't figured out why yet

static zealot
#

had to do 4 builds with different debugging to figure out why

static zealot
obtuse gale
#

Most people upgrade there box without knowing what’s really being upgraded and boom there shits fucked

tranquil crane
#

I haven't changed anything, it just started this morning

#

I hadn't even logged in for like 2 weeks and then it just suddenly stopped resolving dns queries this morning

obtuse gale
#

Restart your box maybe

tranquil crane
#

already did

obtuse gale
#

Damn delete idk what to say haha

tranquil crane
#

yeah idk what's going on so I made a support ticket with them asking if it's something on their end

obtuse gale
#

Yea maybe give it some time

eternal compass
# distant sun

well, sometimes it's just dumb people making things incompatible

#

or maybe I just give up earlier than most flooshed

tranquil crane
#

fixed it by just adding additional dns servers for it to try to resolve to

#

that's what they suggested in the ticket and it worked so I'm not even going to question it again

quiet depot
#

@tranquil crane I am not having issues with dns queries failing to resolve on a hostus vps

cinder flare
#

this man didn't even clear the default Ubuntu welcome banner before meming

quiet depot
#

not meming

#

that's a hostus vps

frail glade
#

Can confirm, that's all he ever talks about. ||/s||

tranquil crane
#

everyone bullies me

quiet depot
#

legit not bullying

#

that's a hostus vps

distant sun
steel heart
#

Kotlin dsl fingerguns

distant sun
#

nah

sly sonnet
#

kotlin dsl is the only way to do it

old wyvern
#

Haskell is the only way to do anything

dense dew
#

Hello, any suggestions for Kotlin YT tutorials?

quiet depot
#

no

#

stop

dense dew
#

Kotlin*

#

i just woke up

static zealot
#

xD

prisma wave
steel heart
dense dew
#

haskell is scary

prisma wave
#

it's easy

#

unironically

steel heart
#

Truth be told, it’s a bit too declarative

rugged spear
#

c--

#

kotlin or c?

static zealot
#

c

rugged spear
#

c or java?

steel heart
#

Cotlin

static zealot
#

c

steel heart
#

Cava

prisma wave
rugged spear
#

c or c#

prisma wave
#

C

rugged spear
dense dew
#

C or Rust

rugged spear
steel heart
#

Yes

#

Good

static zealot
#

C!

steel heart
rugged spear
#

java or java

quiet depot
#

java

steel heart
#

JavaSkript

static zealot
#

C

rugged spear
#

uh

static zealot
rugged spear
#

gradle or groovy

quiet depot
#

yes

rugged spear
#

hhehe

distant sun
#

So in my config I have several lists of strings, and I want to allow users to use regex (optional) by adding a regex: before the string, something like this

allowedWorlds:
- regex:player_world_*
- spawn```
And I thought about having a class with a list of strings and a list of patterns, how would you name such class?
I could turn all values into patterns and simply use a list, but I have some placeholders that would be replaced on the string values before using them
obtuse gale
#

ListOfStringsAndPatternsHolder

distant sun
#

🤣 other ideas?

obtuse gale
#

StringAndPatternListHolder

distant sun
#

try again 🥲

obtuse gale
#

no thank you

rugged spear
#

nice dude

distant sun
#

🙂

rugged spear
#

How i can make a plugin 1.8 to 1.18?

onyx loom
#

update the api dependency to 1.18 , see if it compiles, then see if it runs. if it doesn't then u gotta do some debugging

#

ull find most plugins will already work if they are just using the spigot api, but if ur using nms for specific then it'll be much harder

rugged spear
#

Oh okay thanks

eternal compass
#

And add api-version to your plugin.yml

rugged spear
#

Alright thanks

prisma wave
#

based dijkstra quote

dense dew
#

kotlin is sexy

obtuse gale
dense dew
#

:yeskotlin:

half harness
#

:yeskotlin:

obtuse gale
#

hah

half harness
obtuse gale
#

cheap ass bad scala copy

half harness
#

kotlin or java

dense dew
#

but kotlin > java

#

yds

obtuse gale
half harness
#

y

dense dew
#

no

prisma wave
obtuse gale
half harness
#

explain yourselves >:(

obtuse gale
#

no thank you

prisma wave
#

yeah I'm good

dense dew
prisma wave
obtuse gale
half harness
#

kotlin haters have no proof >:(

prisma wave
#

if kotlin is so good, and paper is so good, why does paper say kotlin is not good?

#

curious...

dense dew
#

mr mitten do u like rust

prisma wave
#

This says a lot about our society

steel heart
#

if kotlin is so good, why are people still using java

prisma wave
#

it is probably better than C but it's also extraordinary ugly

obtuse gale
#

if kotlin is SOOO good, why do 3 billion devices run java and not kotlin?

obtuse gale
#

ratioed

prisma wave
#

if kotlin is so good, why does java have a higher version number?

obtuse gale
#

yEAH

half harness
obtuse gale
#

that just means they are running out of ideas

prisma wave
#

^

dense dew
prisma wave
#

all the modern updates have just been mediocre stdlib additions (firstNotNullOrNull) and adding support for newer JVM features

prisma wave
obtuse gale
#

what's a monad?

half harness
#

😌

dense dew
half harness
prisma wave
#

Honestly objectively I'd say java is the least bad programming language

obtuse gale
#

kotlin the most

dense dew
#

???

prisma wave
#

not the best because no language is perfect but the least bad

dense dew
#

i mean

#

what 3 langs you personally like the most

half harness
#

he will edit

prisma wave
dense dew
#

why u like haskell xd

steel heart
#

Rust, or maybe scala or maybe go

half harness
#

haskell bad

obtuse gale
#

literally wrong

prisma wave
#

Go is nice but not nice enough to be top 3

steel heart
#

Hm

half harness
#
main = do {
    putStrLn("cool");
}
dense dew
#

do u rhink Go is top 3 for backend

obtuse gale
#

main = putStrLn "cool"

prisma wave
steel heart
#

Python

#

(:

prisma wave
#

Go will be infinitely better when generics finally get finalized

#

that's the only real thing holding it back

obtuse gale
#

didn't they release that like 2 weeks ago?

#

days

#

not weeks

#

i'm dumb

dense dew
#

generics? what is that can anyone tldr pls and explain why its good xd

obtuse gale
#

List<T> as opposed to just List

prisma wave
#

in go you have to write the same algorithm 500 times

dense dew
#

btw Tailwind 3.0 sexy 😳

obtuse gale
#

go bad

prisma wave
#

func sort([]int a)
func sort([]string a)
func sort([]byte a)
etc

vs void sort(Collection<T> a)

#

vs sort :: [a] -> [a] 😌

prisma wave
prisma wave
prisma wave
dense dew
#

why tf sre node libraries so big

prisma wave
dense dew
#

mitten what did xou do in haskell

prisma wave
#

what

dense dew
#

what projects

prisma wave
#

not much

#

I made a lisp interpreter

#

And started making a minecraft server until I got bored

#

Hrypton 😌

quiet depot
#

u should make a universe simulation

prisma wave
#

good idea

#

you know it's late when the australians wake up

#

gn

quiet depot
#

gn

dense dew
#

australians are not real

#

do you think there could be smth for web design like css but better that it would be worth it using more than css in future? 🤔

pallid gale
#

D:

quiet depot
#

that's what browsers are designed to render

#

but things that transcompile to those things do exist

#

sass/less

#

and I'm sure there's plenty of other frameworks/languages out there that do similar things

obtuse gale
#

Barry is racist

pallid gale
#

excuse me

obtuse gale
#

He doesn't like my new color

old wyvern
#

Oh no

#

The eye is back

pallid gale
#

👁️

obtuse gale
#

yes

#

eYes

hot hull
#

Sexy color emily

steep veldt
#

Does anyone have a tested method for Minecraft version 1.8.8 (Worldedit 6) to paste schematics?

dense dew
#

DI w kotlin is sexy

hot hull
#

bruh

dense dew
#

wat

onyx loom
#

fun PlayerJoinEvent.onJoin() {} pls

#

😃

dense dew
#

alr

#

i havent started learning it yet but it looks good thepig

wintry plinth
#

Doesn’t look.. fun to me, jokes aside reminds me of JS syntax a bit

prisma wave
dense dew
prisma wave
#

kotlin bad

sly sonnet
#

lack of skill

dense dew
quiet depot
#

hows ur regex santa

steel heart
static zealot
#

why

prisma wave
quiet depot
dense dew
prisma wave
#

it just is

steel heart
#

yeah and why not

dense dew
static zealot
#

for a few days I was wondering why I can't ssh directly to one of my pterodactyl servers... I opened the port on 127.0.0.1...

#

wait. but that shouldn't be a problem. now that Im looking at this my other server is on 127.0.0.1 as well and I can connect

#

welp back to wondering why it doesnt work

#

fuck

sly sonnet
#

maybe some things are just not for you... stitchShrug

distant sun
dense dew
#

ew

primal crystal
#

Wait AI on Js?

prisma wave
#

Sadly

steep veldt
#

Does anyone have an idea how to copy a world?

prisma wave
#

no eyed deer

#

🤣

obtuse gale
#

Or how to copy regions…. Depends what you want

dense dew
static zealot
#

😮

prisma wave
#

😮

dense dew
#

Is easier to build AntiCheat for Spigot or Minestom 🤔

half harness
#

anticheat = hard

dense dew
#

I wanna use Minestom so bad but anticheats 😔

half harness
#

whats minestom?

wintry plinth
#

^

dense dew
static zealot
#

u would know what minestom is if you were in krypton server

#

smh

half harness
#

ive heard of it

static zealot
#

active in krypton server* xD

wintry plinth
static zealot
#

you should be tho

wintry plinth
#

😏❤️

dense dew
#

for what Minecraft version is Krypton?

static zealot
#

krypton is not ready xD. but 1.18

wintry plinth
#

Tbf 1.18 is great on performance, on raw boot it Beats 1.8

steel heart
#

hmm I do still get better performance with 1.8

#

but 1.18 is great in terms of it in respect to all features added

static zealot
#

It takes 1-2 seconds to load 1.18 and something very similar for 1.8

#

but yeah that's just loading time

steel heart
#

yuh 5head

#

😛

dense dew
#

why

steel heart
#

why not

static zealot
steel heart
#

yes fr

dense dew
#

is learning kotlin worth it

steel heart
#

its worth it

#

but I mean

#

Java got everything thats necessary imo

dense dew
#

Java = pain

#

Kotlin = sexy

steel heart
#

like sure new programming languages introduce all these cool features

half harness
dense dew
#

yes

static zealot
#

bcz it makes stuff easier. that's why.

steel heart
#

but do those features belong to the solution set or problem set? Also I mean theres really nothing extremely new, like every programming language is basically just built up of sequence, iteration and selection

half harness
#

it includes an entire stdlib

#

😌

#

nullsafe

steel heart
#

kotlin comes with stuff like firstOrSecondNonNullOrNullIfNot

half harness
#

lol

dense dew
#

how kotlin method names work like
how it works that instead of getConfig I need to use just config

half harness
#

stream alternative

half harness
#

those are properties

#

lombok but better

#

™️

steel heart
#

well so what xdd?

dense dew
#

in main class

#

i could use

steel heart
#

you can make a method name named config()

half harness
dense dew
#

config.options.copyDefaults(true)

half harness
#

but what im saying

#

is that

dense dew
#

😳

half harness
#

kotlin pretends those are properties

#

since u dont use getters/setters in kotlin

#

one thing i dont like about kotlin is its secondary constructors

#

🤢

dense dew
#

what is pain in kotlin but in java no

half harness
#

coroutines

#

=

oak cypressBOT
#

@half harness, Help menu!

half harness
#

cool

#

ok barry

dense dew
half harness
dense dew
#

is that similar?

half harness
#

sounds similar

steel heart
#

Like Java is excellent because there is usually only one clear or univocal way of doing stuff, it is also stable and only adds marginally necessary things imo

#

it misses coroutines and null safety

#

thats it

half harness
#

only adds marginally necessary things imo
tihs is why i like kotlin

#

kotlin adds more helpful things

#

and utilities

steel heart
#

they're not helpful

half harness
#

for me they are

#

¯_(ツ)_/¯

steel heart
#

Ig

static zealot
#

I personally don't care. I use C#

dense dew
#

its nice to write 10 chars instead of 4 lines for DI xd

half harness
#

lol

steel heart
#

yeah well if you care about source code lines that is Ig

half harness
static zealot
half harness
#

but I am starting to love the verbosity of java.

#

D:

steel heart
#

see, finally someone gets it

half harness
#

kotlin can still have that verbosity

dense dew
half harness
#
val test: String = "a";
steel heart
#

also verbosity != boilerplate

static zealot
half harness
dense dew
#

alr, i ll, thx

half harness
dense dew
#

btw doing DI in like 20 classes for getting config is bad? xd

half harness
#
public fun method(): Unit {
    System.`out`.println("Cool");
}
#

🥲

static zealot
#

I'll go to a repo and see val test = someRandomMethod() and I have to look in 10 places to find the function bcz turns out it is inside a file not a class and when you import you just use import package.method for example

steel heart
dense dew
#

okay, thx

steel heart
#

okay I have to admit one more thing

#

first class function objects

#

but thats it

onyx loom
half harness
#

oops 💀

#

fixed

static zealot
#

kotlin is nice. but that doesn't mean I have to hate java or any other language. like some people in here like to do for no reason.

dense dew
static zealot
#

I personally still use linux. bcz it makes my life easier sometimes

half harness
#

:))

steel heart
#

untrue

half harness
#

proof

steel heart
#

:)))

half harness
#

:)))))

steel heart
#

50% of kotlins features belong to the redundancy set

#

:)))))))))]]

half harness
#

wdym

steel heart
#

firstOrSecondNonNullOrNullIfNot

half harness
#

well

#

its a utility

#

it helps

steel heart
#

applyIfFirstIsNullandSecondIsNonNullOrComputeIfPresent

dense dew
#

kotlin have 0 performance impact on code?

#

if you write good code

steel heart
#

yes

#

php is not dangerous at all

#

if you write good code

dense dew
#

well

#

for your mental health it is

sly sonnet
#

kotlin compiles to jvm bytecode iirc

onyx loom
#

some things are more performant than other areas, some areas are worse

half harness
#

some extra method calls but that shouldn't affect performance

#

in fact, it's never shown in spark report

steel heart
#

extra bytecode instruction = worse performance 🤡

static zealot
dense dew
#

time to learn kotlin 😏

steel heart
half harness
#

thats like saying java bad because it has java.util package

steel heart
#

Because there exist so many of your so-called utilities, you have to remember those all of those if you want to use those all of those and then its the decision whether to not just write it yourself or take 10 min to look it up

onyx loom
#

having firstNotNullOrNull in the stdlib adds an extra 1kb to my jar file 😠 😠 😠 😠

half harness
half harness
#

so

#

its helpful

steel heart
#

poor brain

half harness
#

thats like saying that u don't always remember everything in java.util, so java.util = useless and redunant and shouldn't be in java

steel heart
#

wat

half harness
#

well, having it there and forgetting it sometimes is better than not having it there at all
java has a bunch of stuff that you probably don't use a lot but its still there

#

it has it in case u need it

sly sonnet
#

java.util.* Kappa

steel heart
#

Java only adds necessary things so each utility stands out enough such that it is easily remembered because you don't mix it up with something else

dense dew
#

why are you talking about java.util

steel heart
#

I wonder that too

half harness
#

maybe, i don't really know about java util stuff

maybe it's just preference
I like it when theres more than enough utilities to work with 🥫

steel heart
#

and Java has specific classes for this

onyx loom
#

mix it up with something else
my brain when i realise find() and firstOrNull is literally the same thing

steel heart
#

so you can literally type the class name followed by a dot to get a list of all the utilities so you dont have to remember them, kotlin will just bomb you with its thousan higher order functions regardless

half harness
#

at least to me

#

¯_(ツ)_/¯

steel heart
#

dkim I remember when u did Java

#

that was good times

onyx loom
#

💀

#

the old days

half harness
#

💀

static zealot
#

:kek:

#

I remember when he used to not talk at all

#

good old days

half harness
#

afk

ocean quartz
static zealot
#

or at least the bad part

ocean quartz
#

Unfortunately

dense dew
#

How good is JetBrains Java --> Kotlin converter? 🤔

onyx loom
#

it does the job... kind of

#

itll do like 90% of the work for u

half harness
dense dew
#

alr

#

and approx how long does it take to learn kotlin? (whenyou know java already)

ocean quartz
#

Not too long, but you'll start writing Kotlin like Java, to write idiomatic Kotlin it'll take a bit longer

steel heart
#

It took like a week for me to get used to kotlin

#

(Learning the equivalents of what Java got and some other minor features)

half harness
#

and some other stuff (ex coroutines)

dense dew
#

why Paper is in Java and not Kotlin 😔

#

is it better for opensrc projects?

steel heart
#

Because they don’t need it to be in kotlin

dense dew
#

i dont see reason for using java if people know kotlin xd

steel heart
#

Because their entire work is made in Java

#

It’s just not easy to swap over like that

#

And there’s no point also

#

It’s mostly a set of interfaces anyways

dense dew
#

and when i want to explain kotlin for frontend people
can i compare it to SASS
basically preprocessor but for programming xd

steel heart
#

Hmm yeah

#

Altho I will find you if you tell someone kotlin is better than Java

dense dew
#

it is

steel heart
#

Actually try kotlin out

#

It should be enough to explain the inexplicable kotlin > java fiasco

steel heart
#

No because you have to experience it

#

And it’s not like learning kotlin is of any disadvantage

tepid sedge
#

How can I get my Array list from the config and send it as a message?

#

It's multi line

wheat harness
#

Did anyone can give me script to kill screen name bot always at 4 am and do cd /home/bot-dc and run start.sh ?

half harness
#

but more people know java so ig they chose to stick with java

#

thats my guess

obtuse gale
#

the only part i would see being written in kotlin is the actual paper.jar
which is minimal lol

cinder flare
#

until the hard fork!

#

wooo let's gooo

ocean quartz
tepid sedge
#

Do I have to use Essentials in order to get the Vault work with my plugin?

eternal compass
#

well, unless they don't

muted mountain
#

ups

#

sorry

#

Where can I ask the staff for help?

quiet depot
#

what do you need help with?

eternal compass
sweet cipher
eternal compass
#

👊

#

that's a punch

#

not a fist bump

distant sun
#

when breaking a pair in kotlin, is possible to assign its values to certain variables instead of defining new ones and then assign those?
So instead of this

val (first, second) = pair
a = first
b = second```
You would assign `first to a` and `second to b` directly
```kt
(a, b) = pair```
sweet cipher
sweet cipher
#

Oh wait nvm

eternal compass
sweet cipher
#

Skript really is that powerful

cinder flare
#

convert the entire codebase to Kotlin!

#

ECS that bitch up

eternal compass
#

updating would be like harder than it is right now

#

and man right now it ain't easy for paper

cinder flare
#

yeah but that only happens every few months! imagine the performance gains!

eternal compass
#

We should really be compiling it down to C

#

and write our own garbage collector

#

imagine how much better it would be

cinder flare
#

yea yea, LLVM IR

#

well you see, if we wrote it in C, we wouldn't even need a garbage collector!

#

garbage collectors are bloat, so obviously we write it in Rust

#

especially if you're doing the kind of allocations minecraft does, it's actually very feasible to not have a garbage collector

cinder flare
#

well Fred, there's this thing where you can do manual memory management

#

it's pretty cool actually

eternal compass
#

right right

#

but something needs to clear used memory

cinder flare
#

yes, it's called the stack

eternal compass
#

idk what I'm talking about though lmao
I've used Java, and Javascript mostly, with a bit of golang. tldr; I know nothing about GC

cinder flare
#

yea I read a whole lot about like how Go's garbage collector is much less sophisticated but it's because it doesn't need to be

#

very good reads

eternal compass
#

for school?

#

or just in general 👀

cinder flare
#

no no, just in general

#

have a read

eternal compass
#

Hm okay

prisma wave
#

It'd be about the same, if not slightly worse, no?

cinder flare
#

well not necessarily kotlin, just the fact that they're rewriting a bunch of stuff to be better lol

#

which they probably aren't

#

i dunno im in a fantasyland

obtuse gale
#

its obv nice for certain things

old wyvern
#

Is adventure platform agnostic?

prisma wave
#

pretty sure it is yeah

eternal compass
#

Mhm

#

They don't like spigot

#

They recommend against it

quiet depot
#

literally 1984

old wyvern
static zealot
#

idk. what did you do?

hot hull
#

You clearly used a where statement after return statement

#

duh

static zealot
#

true

prisma wave
#

"statement" 😷 💀 😭 😖 🤢

#

IDIOT

#

return is not a statement in haskell

signal yarrow
#

Anyone here got a copy of recent Fabritone jar? The gitlab site of the fabritone is I think deleted since it shows Page Not Found 404.

sly sonnet
#

use paper

plain flume
#

hi

crude pivot
#

hey

obtuse gale
#

Hey

#

Yo

#

Sup

crude pivot
#

My one account got disable

#

how i can recover it?

#

can anyone help me please

static zealot
gusty glen
#

what registrar do you guys use for your domains?

static zealot
#

cloudflare

gusty glen
#

does it provide private registration?

static zealot
#

yeah

#

I think at least. hmm

#

let me check if mine is private

#

yeah. it is

gusty glen
#

thanks, I'll order my domain

dense skiff
#

@static zealot what is this I’m confused I somehow joined

wintry plinth
#

I moved there from Namecheap, never looked back, Cloudflare is a tiny bit cheaper but I prefer PorkBun personally

static zealot
#

or just this ^

gusty glen
#

@ocean quartz how do you manage your VPS? Do you use Docker, Kubernetes, or you've just installed everything directly on the machine? 'Cause I'm looking for a good setup to set up my own VPS

prisma wave
#

Docker

#

You really really don't need k8s

gusty glen
#

I see, thanks BM

ocean quartz
#

Yeah i am a bad example to ask that, kek

cinder flare
frigid badge
#

yes docker 😊

hot hull
#

Oh hey Lemmo

steel heart
#

Frosty, you’re so frosty

dense dew
#

🥶

frigid badge
distant sun
#

I just realized something. How come md implemented a system to download libraries at run-time, isn't there a rule for paid plugins that says that they shouldn't require an internet connection? thonking

cinder flare
#

everyone else maybe?

#

kinda a rough limit if you can't require an internet connection to runtime DL libs and can't go over 5MB or whatevs

ocean quartz
#

I think he changed it some time ago, as long as you provide the libs separately for people to download or something like that

wintry plinth
#

spigot gone so downhill these last few days its crazy

#

No wonder stuff like Polymart exists these days

cinder flare
#

god I can't wait for Hangar

wintry plinth
#

Yeah I heard about that, seems nice, only thing I dislike is you can't have premium plugins, you can only charge for support

#

Which I find kinda silly IMO

cinder flare
#

Good

#

Premium plugins are silly

wintry plinth
#

Why? People should be able to be rewarded for their time

cinder flare
#

Sure, with charging for support

#

Closed-source software, especially in a short-lived Minecraft plugin context sucks

wintry plinth
#

I do agree, prime example being DeluxeChat (ironically) however I feel like forcing it to be free isn't a solution

#

IMO would of been better off allowing paid plugins, but no obfuscation

#

At least then, at worst, it can be decompiled and continued

cinder flare
#

Better would be open source plugins where you pay for support

wintry plinth
#

Then you'll find resource authors will spend less time on nice documentation

#

As a way to get those $$

cinder flare
#

Alright

#

I'd rather have that than a closed-source obfuscated plugin that nobody can use after the creator stops playing Minecraft

wintry plinth
#

Exactly why I said above

cinder flare
#

And the best part of it being open source is that someone else can do the documentation

wintry plinth
#

Allowing paid plugins, but no obfuscation

quiet depot
#

there's nothing wrong with having a download paywall on an open source plugin

#

hangar doesn't allow for that though

#

I agree with chaz here

cinder flare
#

Ah just a download paywall, sure

#

But absolutely not closed source, regardless of obfuscation

wintry plinth
#

Then people can continue it

cinder flare
#

Paid plugins != open source

#

I am arguing for open source

wintry plinth
#

In that case, for sure, yes, if forced to go FOSS, but I can see it happening guys will want to spend little time on docs

#

As a way to earn $$

cinder flare
#

Again, better than what we have now

wintry plinth
#

I suppose thats true

cinder flare
#

And I am 100% fine with a paywall on the actual website proper to download and get support

#

As long as it's open source, I couldn't care less, in fact

wintry plinth
#

Ah yeah, I like the idea of such

#

If Hangar allowed paid plugins, but it had to be open-sourced somewhere

cinder flare
#

Yeah that would be perfect actually

quiet depot
#

problem hangar has is it doesn't have anything on other platforms

#

there's no incentive for devs to move over

#

it has less features than other platforms (not allowing premiums)

cinder flare
#

Well with the hard fork, I feel that it being the home of Paper plugins as a whole would be a great boon

quiet depot
#

we'll see if that works but I'm very skeptical

cinder flare
#

And yeah hopefully they do come to something like paywall but open source, or I do think they will have a hard time

quiet depot
#

I think some big plugins that have already vowed to move over (iirc essentials was one), will, and then not much else will

ocean quartz
#

The only incentive to move to hangar is that Spigot doesn't allow Paper only plugins

cinder flare
#

I would be very happy to live in a world with a bunch of Paper-only plugins

obtuse gale
#

god i hope the file size limit isn't the equivalent of a handful of floppy disks

ocean quartz
#

Same

cinder flare
#

I don't even know why there is such a small file size limit

#

Why not make it like 100MB?

quiet depot
#

star there are a lot of plugins on spigot...

#

that would be insanely expensive

muted perch
#

hey?

obtuse gale
#

I mean pig look at curseforge

cinder flare
#

^

#

Or, even better, allow just linking to GitHub

quiet depot
#

curseforge is backed by twitch/amazon which is a much bigger company than spigot

cinder flare
#

download GitHub releases

obtuse gale
#

mods range from a handful of kb to dozens of dozens of mb

#

did it always tho?

cinder flare
#

No, definitely not

#

I remember back in the day

quiet depot
#

spigot is probably also larger

hot hull
#

y'all stuped

ocean quartz
#

It wasn't yeah, but i don't remember if you could download previous versions or not

cinder flare
#

Well who cares, if you can't provide a good enough service, then at least let us outsource it

#

GitHub releases are great, and GitHub can certainly afford the file hosting lmao

quiet depot
#

you can...

#

you can provide external download links

cinder flare
#

Not for premium plugins last I heard

ocean quartz
#

Well it doesn't really make sense for premium plugins

cinder flare
#

Well maybe not GitHub

#

but other sites

ocean quartz
#

You'd have to implement some sort of verification if that was the case

#

So you can imagine how much of a pain in the ass that'd be

cinder flare
#

Sure, maybe Spigot could have an actual API that's not literally useless

#

Spigot leaves a lot of room for improvement, is my point

wintry plinth
#

Then nobody will move

quiet depot
#

it's not just the open source issue I just don't think there's much of an audience for hangar

distant sun
quiet depot
#

like sure paper only plugins

#

but I've never used a paper only plugin lol

#

I don't even know of any paper only plugins

wintry plinth
#

You need the bigger guys to move, for others to

cinder flare
#

I wonder why Pig

ocean quartz
#

Because there is nowhere to share paper only plugins

cinder flare
#

It's not feasible now

#

^

wintry plinth
#

Biggest example of a "half market" is literally Songoda

#

Only some guys moved there, but not everyone

cinder flare
#

Yeah we kinda live in a shitty time right now

ocean quartz
#

@obtuse gale CurseForge?

obtuse gale
#

yes

cinder flare
#

I do wish we could all move to an only open-source model and every plugin you want gets to fully utilize the Paper API and all

ocean quartz
#

Have you ever downloaded a plugin from there?

obtuse gale
#

have you ever heard of worldedit?

cinder flare
#

lol

distant sun
cinder flare
#

Gaby how long did it take you to find that lmao

wintry plinth
#

WorldEdit/WorldGuard are the only plugins i'd currently ever use CurseForge for

cinder flare
#

Cause your answer there is the reason nobody uses that

ocean quartz
cinder flare
#

Hence the "I do wish" part at the beginning

#

But thanks

obtuse gale
distant sun
quiet depot
#

we'll see if it works

ocean quartz
#

What I am saying is no one goes there for plugins
And WorldEdit isn't a paper only plugin

quiet depot
#

personally not optimistic about it

#

I think hangar might have to do some changes if it wants to compete properly

#

but we'l lsee

#

i might get proven terribly wrong

cinder flare
#

I mean, all we can do is hope

#

Lotta problems right now

obtuse gale
#

With what?

cinder flare
#

Minecraft Plugins

distant sun
#

"No paid plugins"won't draw many people attention

obtuse gale
#

So don’t do them, probably less profit involved than just finding a job. Obviously depends what you sell

cinder flare
#

I'm not talking about from a developer perspective

#

I'm talking about from a server owner perspective

wintry plinth
obtuse gale
#

Ah just the average server owner. Isn’t this why servers should have developers tho

#

Eh you’re right plug-ins fucked in that sense

cinder flare
#

It isn't exactly economical to custom make every single plugin for every server lmao

distant sun
obtuse gale
#

Cause obv not all server owners will have devs

cinder flare
#

I just absolutely hate seeing plugins that are closed source, obfuscated, and charge a ton of money for something.

obtuse gale
#

How come?

quiet depot
#

morally questionable

cinder flare
#

Cause on a server I work on, we have literally 4 different plugins that add custom items and textures and stuff and all work differently

obtuse gale
#

Cause if you were the dev on the other side of that. You definitely wouldn’t agree. I mean first off never will open src be better in a sense of security. Who knows maybe there’s flaws somewhere in something you made for whoever to see. Money is money I mean they pay for what they get. Obfuscation eh could matter less.

cinder flare
#

Woah woah

#

I am a dev as well my friend

obtuse gale
#

I never said you weren’t

cinder flare
#

Security through obscurity never works

#

And money is absolutely not the problem

distant sun
#

nms

ocean quartz
#

Obfuscation makes it harder for yourself to diagnose bugs than for people to leak/copy

cinder flare
#

We have purchased a ton of plugins that are open source for support and just to help the devs as they did make a valuable thing

wintry plinth
# cinder flare I just absolutely hate seeing plugins that are closed source, obfuscated, and ch...

See, I differ to an extent, if the project itself is maintained, then damn right should the author be able to monetise and protect their work. In my example, I used to own a server spoofer, and of course I obfuscated and monetised, but for obvious reasons, if I didn't then people could steal my work and make clones. Of course, if i went inactive it would only be right to disclose source to people.

cinder flare
#

The whole point of open source software and communities is to improve on software for everyone

distant sun
ocean quartz
obtuse gale
distant sun
#

Or or lll.lllll.lll.lllllll.l.l.l.LLLLLL

cinder flare
#

I guess it all comes down to a mindset which is obviously different on a per person basis

distant sun
#

This one is devil

wintry plinth
cinder flare
#

But I just don't see a good enough reason to close source and "protect your work from clones"

wintry plinth
#

But I feel that should be a choice if they wish to do so or not

obtuse gale
#

If your goal is to make open source software than sure

cinder flare
#

I mean yeah I guess that's how you view the community

obtuse gale
#

Sometimes it doesent make sense to give the “enemy” the upper hand is all.

cinder flare
#

Oh boy

obtuse gale
#

Imagine any good mc server open src

cinder flare
#

If that's your mindset, I never want to run some code that you have written

obtuse gale
#

Since it came out

ocean quartz
#

A person compiling your plugin from github would never buy your plugin in the first place, you don't lose money

distant sun
#

You probably never made a server and wanted to do something but that plugin that stops you from doing it is closed source + obfuscated, billyb :)