#dev-general

1 messages ยท Page 539 of 1

obtuse gale
#

yeah but i mean

#

Int::class.java

ocean quartz
#

Oh you'd do Integer::class.java if you needed that one

obtuse gale
#

what about Byte::class.java thonking

ocean quartz
#

Good question thonking

frail glade
#

Hmm I'll try it with Java.

obtuse gale
#

what if I need Byte and not byte

onyx loom
#

isnt there like a .javaClass property for smth

potent nest
#

can it be called on nullable values?

obtuse gale
#

java.lang.Byte::class.java reeeeeee

frail glade
#

Alrighty Matt, so at this point, how would invoke it then?

#

Cause currently I was trying it via

#

But I'm not sure that is going to work.

old wyvern
#

Pass in null

ocean quartz
#

Static is invoked with null

frail glade
#

Line 70, which it's complaining about, is this.

ocean quartz
#

Ooh wanna know what I think it's the issue?

#

byte instead of Byte and boolean isntead of Boolean

frail glade
#

Oh wait I forgot in Java you're supposed to use type

#

Sec lemme see if this fixes it.

#

We're getting somewhere.

#

109 is worldMap = worldMapMethod.invoke(null); Do I need to pass in null for each arg or something?

ocean quartz
#

Also btw cache the Methodhandles.lookup, since it's useful for everything

frail glade
#

Pretty sure this is only used once but I can confirm that.

ocean quartz
#

What i mean is that you can use it instead of things like Class.forName

frail glade
#

Ahh

#

So for the obj I pass in null but for args don't I have to actually provide something?

ocean quartz
#

You have to provide based on the types it needs

#

What method is that one throwing the error?

frail glade
steel heart
#

u trying to modify final field ? ๐Ÿ˜ฎ

#

looks like u dont have access, did u invoke setAccessible

frail glade
#

Might be onto something. This method passes back into the original private constructor.

#

But alas, same error.

#

It's something with that mapView being final already. Almost like this is a bug? Wouldn't make sense though that it's trying to modify the CraftMapView with the ResourceKey.

steel heart
#

what u got as of now btw

steel heart
#

oh yeah that looks odd with the assumption that your line caused the exception

frail glade
#

Yeah I need to get a resourcekey world and pass it in.

#

Sec lemme try something.

#

Getting a little tired. Been at work for 10 hours and now trying to work on this ๐Ÿ˜›

steel heart
#

๐Ÿฅฒ

frail glade
#

Alrighty so even passing in a valid world we're still getting Can not set final org.bukkit.craftbukkit.v1_17_R1.map.CraftMapView field net.minecraft.world.level.saveddata.maps.WorldMap.mapView to net.minecraft.resources.ResourceKey.

obtuse gale
#

CraftMapView sounds a whole lot like not a ResourceKey

steel heart
#

do u have the entire snippet of your code by any chance?

#

worldMap = worldMapMethod.invoke(null, (byte) 4, false, null); feels innocent here

frail glade
#

Hold up, I might know why it's doing this.

#

Okay yeah we're good now.

steel heart
#

oo pog

#

what's tha solution mr waffle?

#

from my perspective it looks like you should be using publicLookup

frail glade
#

Comment it out OMEGALUL

steel heart
#

๐Ÿฅฒ

obtuse gale
frail glade
#

I'll have to fix it at some point. The error actually is pertaining to setting a field value.

steel heart
#

trry with
MethodHandles.Lookup lookup = MethodHandles.publicLookup();

#

since its a publicly accessible method

obtuse gale
#

why are you using MH for that?

#

can't you just Class.forName(...)?

steel heart
#

I believe matt suggested it

frail glade
#

Using public lookup started causing ClassNotFound errors OMEGALUL

steel heart
#

oh, then idk. did u provide the right fully qualified class name? PC_SusChamp

frail glade
#

It is working fine without the public lookup. Let me type out an explanation for the next error.

steel heart
#

oh my bad the class is package-private maybe

frail glade
#

So now when they are on 1.17, we are using mapField = PacketManager.getNewNMS("net.minecraft.world.level.saveddata.maps.WorldMap").getField("mapView"); which sets that Field to that value. But since that stuff has changed, it would explain why we're getting mapField.set(worldMap, dimensionManager); errors because we can't set the worldmap again when it's already final.

ocean quartz
steel heart
#

not if obtained with reflection afaik

obtuse gale
#

well yeah it is, but using it only for getting a class kinda defeats the purpose of MH

#

to then get the method with the reflection api instead of mh

ocean quartz
#

Well that's why i suggested he use it everywhere ;p

obtuse gale
#

lol he isn't

#

bad waffle

frail glade
#

I'm literally working on code that was given to me in a slobby mess 4 hours ago.

#

Chill.

steel heart
#

mh is fast with something like LambdaMetafactory I believe tho, unsure if thats the case for reflection also

frail glade
#

We're at the "I want this to compile stage" not the "I want this to be efficient"

obtuse gale
#

it compiles though fingerguns

frail glade
#

I want this to run without errors stage ๐Ÿ˜ญ

obtuse gale
#

if you're using the reflection API (Fields, Constructors and Methods), you should be able to field.setAccessible(true)

steel heart
#

Yeah if you just want it to run, use something like reflection which you presumably already have knowledge about.

frail glade
#

We fix one error for a new one to appear ๐Ÿ˜ฆ

steel heart
#

now this starts to sound a lot like web dev lmao

ocean quartz
#

What I normally do is write it with the nms code and make it work then I rewrite line by line with reflection

frail glade
#

Yeah it's just annoying because this is new 1.17 sutff.

#

I kinda want to just rip everything else out.

obtuse gale
#

question

ocean quartz
#

answer

obtuse gale
#

okay cool

#

since from 1.17 nms is no longer version-specific, why don't you compile against 1.17, do the remapping thing (either with paperweight (idk how prod ready that is) or sucky sucky specialsources) and don't use reflection at all?

frail glade
#

I mean I could easily do this and just drop reflection and previous versions.

obtuse gale
#

well reflection stuff can stay for older versions

frail glade
#

Have you seen this mess?

obtuse gale
#

no and it's not in my schedule

steel heart
#

I would like to see lol

steel heart
#

shesh

#

I mean not too bad

#

but yeah as emily said I believe you could just go ahead and use Class.forName

#

methodhandles wont be any faster unless you also unreflect that method I believe (which you as of now arent doing)

frail glade
#

I think I'm fairly close. I just need to fix the mappings for it trying to apple the WorldPersistentData class to a map vs the field inside of it.

steel heart
#

fair good luck

frail glade
#

Holy crap it loaded.

ocean quartz
#

:pog:

frail glade
#

But I am still missing one thing. We'll have to see if that hurts me or not.

timber oak
#

What will be the equivalent of NBT in 1.18 when NBT will be removed?

steel heart
#

It wonโ€™t be removed ?

ocean quartz
#

NBT will be removed? What?

steel heart
#

Maybe they change the name but NBT is excellent as of now

timber oak
#

Wait I misread it, lol

ocean quartz
#

You misread what where?

timber oak
#

It's just that the same NBT used in 1.8 and so on won't work in 1.17-1.18

obtuse gale
#

??

timber oak
#

Because they'll be renaming a lot of methods etc.

obtuse gale
#

I don't really get the question

ocean quartz
#

Yeah, i mean what methods? Nbt is just set and get

obtuse gale
#

Most vanilla NBT data is exposed in API and for custom stuff you should use PDC at this point

steel heart
obtuse gale
#

im getting this error please help
Cannot invoke "Object.toString()" because the return value of "net.nukeStudios.nukeNPCS.PacketReader.getValue(Object, String)" is null

#

is this your plugin?

frail glade
#

@ocean quartz

quiet depot
#

glare

#

wym hc banner

frail glade
#

Don't need it anymore

#

Found something else to showcase with

ocean quartz
#

Ayy you did it, nice!!

obtuse gale
#

"Duplicate code"

ocean quartz
#

Amazing work IJ, I guess Eclipse is just better ๐Ÿ˜ฉ

frail glade
#

Take that back.

#

Thems fighting words.

gloomy crypt
#

Hi. I am trying to add the teams aspect to my game.

I am using the built in teams class to make a system in which when you join the game, you are put into a team and teleported to the side correlated with your team.

        Team teamBlue = lobby.registerNewTeam("Blue Team");

        Team teamRed = lobby.registerNewTeam("Red Team");

        teamRed.setPrefix(ChatColor.RED + "[RED] " + ChatColor.WHITE);
        teamBlue.setPrefix(ChatColor.BLUE + "[BLUE] " + ChatColor.WHITE);
        
        teamRed.setAllowFriendlyFire(false);
        teamBlue.setAllowFriendlyFire(false);
        
        
        
        if(Bukkit.getOnlinePlayers().size() % 2 == 0){

            teamRed.addPlayer(player);
            player.getInventory().addItem(new ItemStack(Material.RED_WOOL, 64));
            
        }
        else if (Bukkit.getOnlinePlayers().size()%2 ==1){

            teamBlue.addPlayer(player);
            player.getInventory().addItem(new ItemStack(Material.BLUE_WOOL, 64));
            
        }

(Ignore discord formatting )

The above code is placed in the create Scoreboard function I made earlier.

I want to now be able to pull this team info out of the scoreboard function and into another function startGame() so that I can use the startGame() to give the player items and teleport them to the correct side. How can I achieve this? Thanks.

ocean quartz
obtuse gale
obtuse gale
#

๐Ÿ˜ฌ

#

you should register the teams once and store them as fields somewhere

#

then add the player respectively

gloomy crypt
#

Register them where?

obtuse gale
#

anywhere, in onEnable i guess idk

gloomy crypt
#

Well then we wouldnt be able to pull the team info into other functions

#

I tried it and we werent able to

obtuse gale
#

what did you try exactly?

gloomy crypt
#

All of the code above in the onEnable

obtuse gale
#

do you know what a field is?

gloomy crypt
#

Yes.

#

We tried putting the code in the class directly as well

obtuse gale
#

register the teams once in onEnable and store them as fields

#

the key thing here is to register them once only

#

then as players join or do whatever they have to do to join a team, you add them

gloomy crypt
#

Ah gotcha

#

I'll try it. Thanks

gloomy crypt
#

Which is in the scoreboard create function

obtuse gale
#

okay so

#

idk the full context of this

#

but create the scoreboard and register the teams right after

#

wherever that is

gloomy crypt
#

Ok. So now I just have to store them as fields

#

@obtuse gale One more question (sorry for bothering so much ).. How would I define the player in onEnable?

obtuse gale
#

you don't, that's why i said you add the players to the teams in whichever event you need to add them in

#

let me re-ask my previous question: do you know what a field is?

humble silo
#

Oh my god, the spring autowiring is pretty amazing, too bad their data jpa stuff wont work with jpms ๐Ÿ˜ช

quiet depot
#

guice >

jovial warren
#

Spring DI > Guice, no cap

#

the only issue with Spring's DI is that it's specific to Spring, and Spring is fucking huge and not really appropriate for a lot of projects

quiet depot
#

so basically guice >

cinder flare
#

damn Blitz really cleared out the backlog

#

he did like 8 messages in a row each helping a different person lmao

static zealot
#

not the first time. there's many people that don't get answered and I have to go thru the entire history of messages from last night

static zealot
#

btw @cinder flare 1 more thing I Forgot to tell you about what I use middle click for

#

I use it for opening bookmarked pages

#

it opens it in a new tab without me having to right click

#

then click open in new tab

cinder flare
#

oh huh

#

maybe I need to optimize my web browsing

#

i just open a new tab and then click on it

static zealot
#

I am not one to optimize much at all but those things I kinda like

#

I'm starting to finally use shortcuts as well since I switched to linux

#

like shortcuts to open terminals, to move between tabs

#

etc.

cinder flare
#

ya I use vim and tmux at my work, so I'm trying to get more mileage out of those skills lol

potent nest
#

middle click works in other places too, like opening another explorer window on windows

static zealot
#

yeah Ik

#

I'm trying to disable my middle click from copy/pasting stuff

#

bcz its pretty annoying

potent nest
#

I started using middle click last year so much that my mouse broke

static zealot
#

same

#

I now can't just press it, I have to hold it a bit down for it to register

#

lmao

#

also did u know that if you have folders of bookmarks, you can just middle click and it will open every page in that folder in a new tab

#

which is also pretty nice

cinder flare
#

okay I am quite scared

#

my graphics card might be dying

#

there's little glitches every once in a while

static zealot
#

o

pallid gale
#

its fiiiineeee

static zealot
#

yeah it just needs a hug

cinder flare
#

I definitely do not have the moolah or patience for a new graphics card rn

static zealot
#

this was my phone yesterday

#

dw about the signal

#

xD

lunar cypress
#

My phone actually has the discord ui burnt into its display

#

I'm not kidding

static zealot
#

oh that sucks

cinder flare
#

the downsides of oled

static zealot
#

I believe you. My friend had something similar happen to him as well

#

but with youtube

lunar cypress
#

It's not that oblivious but yeah oled displays ๐Ÿคก

static zealot
#

for me was just software

#

it got fixed after a reboot

lunar cypress
#

someone also told me their friend had the instagram ui in their display

#

but in light mode

#

so it's 100x worse

static zealot
#

oh yeah same for my friend. you could only see it mostly when you had light backgrounds

#

that's how he sold it, set a dark background

#

xD

prisma wave
#

@cinder flare Emacs has a web browser I'm pretty sure ๐Ÿ™‚

#

it also has an email client

#

A calendar

#

A terminal emulator

#

Everything you could possibly need

prisma wave
#

?

#

Emacs can literally do everything

old wyvern
#

silenty unzips

prisma wave
#

๐Ÿคจ

old wyvern
#

@ocean quartz ๐Ÿ‘€ Groovy seems to have the multiple dependency configurations in one function thing. Was just going through a library and saw this and it seems to work fine

implementation '...', "..."
static zealot
#

o

old wyvern
#

yea lol, I thought that was just an extension they provided for convenience in just the kts one

proper plaza
steel heart
cinder flare
#

Okay so uh, I have removed my graphics card, disassembled it, reapplied fresh thermal paste, reassembled, and reinserted it

#

There was only a medium amount of fear and dread

old wyvern
static zealot
#

๐Ÿ˜ฎ

cinder flare
#

groovy... good?

cinder flare
#

surely not

old wyvern
#

๐Ÿ‘€ maybe

cinder flare
#

i mean I'm typing to you from my pc

#

i have yet to see any artifacts

#

but I live in constant fear

static zealot
#

yeah but you might be using the internal graphics card xD

cinder flare
#

my CPU doesn't even have one

static zealot
#

did u check if the system finds it? xD

#

ah alr

#

the peaky blinder theme song slaps

cinder flare
#

and besides, my monitors are plugged into the GPU so I don't think I'd be seeing anything if it didn't work

#

also yes

old wyvern
#

lol

static zealot
#

man deluxetags is such a mess

cinder flare
#

oof

static zealot
#

but I think I'm done

old wyvern
#

Convert it to Elara, ez

static zealot
#

only thing left is to test

steel heart
#

How does Yugi know all these open source projects

#

Maybe he is open source guy

static zealot
static zealot
#

it took me 2 days just to kinda be able to understand most of it

#

but I Think I Finally got it

steel heart
#

UserDetailsProvider ๐Ÿ˜Œ enterprise

old wyvern
#

On a scale of 10, how bad is it?

old wyvern
static zealot
#

0 - good, 10 - bad? I'd say a 5 or 6

#

I've seen way way worse

prisma wave
old wyvern
prisma wave
old wyvern
steel heart
#

Oo nice pfp

static zealot
#

lemme give u an example yugi

#

the plugin has 2 items that I am trying to make customizable from the config, the items are the next/previous page (in a gui). The gui has a page variable that's suppose to store the page the player is at but it was instead storing the next/previous page in the item name and since it was just static text, not configurable, it was just getting the number from there and opening the next/previous page like that

#

this is one of the worst examples tho so yeah, doesn't get worse than that I Don't think

steel heart
#

That doesnโ€™t sound too difficult

old wyvern
static zealot
#

xD

old wyvern
#

ez win

steel heart
#

Pretty sure Bukkit.shutdown() should do the job

distant sun
#

Guys, where can I learn spring fast? XD

old wyvern
#

Im learning rn

#

Pretty much just going through docs and blogs

half harness
distant sun
#

@old wyvern have you found anything good?

old wyvern
distant sun
winged mica
#

Basically I need to get the content of the <lang></lang> tag

I'm using regex

<lang>[a-zA-Z0-9]+</lang>

for example if the text is <lang>hello</lang> i need to get the hello key. How can I do that?

prisma wave
#

Match Groups

half harness
#
<lang>([a-zA-Z0-9]+)<\/lang>
``` then get the group
old wyvern
prisma wave
#

regexr fans vs regex101 enjoyers

dense dew
#

what are some cool languages, not much used and not that hard to learn but still useful xd

half harness
#

Haskell

#

Haskell is good

#

downside: looks obfuscated

prisma wave
#

You problem

half harness
#

upside: the obfuscation makes u look kewl

prisma wave
winged mica
old wyvern
#

Ruby is great

prisma wave
#

\\/lang

half harness
#

um, pasting in intellij should automatically escape the backslashes.. ๐Ÿค”

old wyvern
#

Especially for CoC

#

it has the most niche functions in the stdlib

#

xD

prisma wave
half harness
#

o

#

i was too late

#

lol

old wyvern
prisma wave
#

Intellij bad, clearly

old wyvern
#

^

#

ElaraStorm better

prisma wave
half harness
prisma wave
#

So, static typing

old wyvern
#

ah

prisma wave
#

And I think C interop

#

It seems nice

dense dew
prisma wave
#

all of them are useful

dense dew
#

I mean like

prisma wave
#

theyre all turing complete with big ecosystems and good tooling

#

they can all be as useful as each other

old wyvern
prisma wave
#

๐Ÿ˜Œ

old wyvern
#

๐Ÿ˜Œ

#

Nirvana

prisma wave
#

unless you're talking about being able to write plugins, in which case Scala / Clojure / Kotlin are the only ones that can

ocean quartz
#

I don't think Go, Kotlin, and Rust belong on that list because of "not much used"

#

And Scala

old wyvern
#

Wha?

ocean quartz
#

what are some cool languages, not much used and not that hard to learn but still useful xd

prisma wave
#

"not much used" is kinda hard

#

every language is used

#

the most obscure but cool language I could probably name is something like Nim

old wyvern
#

All 4 of them are fairly used in a lot of applications

prisma wave
#

or maybe V

#

but uhh

ocean quartz
#

Yeah that's my point Yugi xD

onyx loom
old wyvern
#

ahhhh Vlang, epitomy

old wyvern
onyx loom
#

๐Ÿ‘๏ธ

prisma wave
#

this is kinda cool actually

onyx loom
prisma wave
#

i thought it was different

onyx loom
#

๐Ÿฅฒ

old wyvern
#

Man went nuts

#

Yo wutt

#

Are they paying all intellij users 50$ now? xD

prisma wave
#

๐Ÿ‘€

#

link?

old wyvern
#

Email

#

Check

distant sun
#

no yugi

#

pretty sure that's just in case you win

old wyvern
#

its not a game

#

Its a invitation for a meet

distant sun
#

isn't that poll thing from iij?

#

I see

prisma wave
#

havent got anything โ˜น๏ธ

old wyvern
#

Maybe its for the open source license

prisma wave
#

possibly

#

or just a few random people

ocean quartz
#

I haven't either and i have the os license ๐Ÿ˜ฆ

old wyvern
#

oh, then probably the random one I guess

#

What can 50$s buy

#

hmm

onyx loom
#

take both ๐Ÿ™‚

static zealot
#

a lot

#

of

#

candy

#

i think

old wyvern
static zealot
#

I am

#

not

#

sure

old wyvern
#

Looking for useful stuff

static zealot
#

ah

onyx loom
#

both amazon and jetbrains license ๐Ÿ™„

static zealot
#

well give it to me

old wyvern
#

There isnt an option for both I think kali

static zealot
#

yeah

#

it was a joke

onyx loom
#

๐Ÿ˜

static zealot
#

r/woooosh

onyx loom
#

^

old wyvern
#

๐Ÿคก

prisma wave
old wyvern
prisma wave
#

Ferยทnanยทdo Pรณยทov

old wyvern
#

erยทnanยทdo Pรณยทov

prisma wave
#

not sure what you're talking about

old wyvern
prisma wave
#

hmmm

#

still not sure what you're talking about ๐Ÿ™‚

old wyvern
#

Im taking about nanยทdo Pรณยทov

prisma wave
#

explain?

old wyvern
#

anยทdo Pรณยทov with an n in front of it

prisma wave
#

"anยทdo Pรณยทov" ??

old wyvern
prisma wave
#

what's do Pรณยทov?

old wyvern
prisma wave
#

oh ok thanks

#

so it's o Pรณยทov

old wyvern
#

No

prisma wave
#

รณยทov
???

old wyvern
#

ov

prisma wave
#

v

#

๐Ÿ˜Œ

old wyvern
#

๐Ÿ˜Œ

#

Oh, I think this is only for like 27 people

#

9 slots a day, 3 days

#

Wtf is a Respondent ID?

steel heart
#

Itโ€™s a respondent id

old wyvern
#

And that means?

steel heart
old wyvern
#

Damn, Thats right!

steel heart
prisma wave
#

everything is a function

#

you are morally and ethically wrong

old wyvern
#

This man is the prophet!

obtuse gale
steel heart
#

Java pov objects it

#

Thus you wrong

cinder flare
#

i am a contributor

#

hurray

eternal compass
#

imagine contributing to papi

obtuse gale
onyx loom
#

hey i wonder if i show up there

obtuse gale
onyx loom
obtuse gale
#

or what is that

cinder flare
#

i think it's his left arm

obtuse gale
#

aaa

#

oops

static zealot
#

yeah nah. that's his leg

obtuse gale
#

oo its foot innit?

#

join

onyx loom
#

blueface ๐Ÿ˜‚

obtuse gale
#

im am having dick in my ears

obtuse gale
#

๐Ÿ”ด ๐Ÿ˜

static zealot
#

nah

obtuse gale
static zealot
#

green ftw

obtuse gale
#

weeew

#

KSI got 8 mil monthly listeners

#

๐Ÿ‘

steel heart
#

@ocean quartz give me good anime thx

ocean quartz
steel heart
#

O nice

#

And its even dubbed yay

dusk holly
#

Hello

ocean quartz
static zealot
steel heart
old wyvern
#

Nani!

frail glade
old wyvern
#

๐Ÿ‘€

static zealot
#

nice

frail glade
#

Hopefully*

static zealot
#

hopefully they didn't fix the axelotl on a leash bug

frail glade
#

I mean I think even Paper / Spigot fixed that.

static zealot
#

oh nvm then ๐Ÿ˜ข

prisma wave
dusk holly
ocean quartz
static zealot
#

I agree

#

same for most cartoons

steel heart
#

Not at all

cinder flare
#

wait 1.17.1 fixes a single bug

steel heart
#

They enhance overall emotion

static zealot
#

so a lot

prisma wave
#

if you're gonna watch anime at least do it properly

ocean quartz
#

Yeah anything dubbed is horrible, try watching an American cartoon in Japanese or in french, dubs never match the intended emotion

cinder flare
#

hmmm

steel heart
prisma wave
#

god no

simple viper
#

Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.1.0:shade (default) on project CraftedLore: Error creating shaded jar: null
im getting this when trying to package my jar
heres my pom\

steel heart
#

Ok then good

cinder flare
#

I think your problem is using Maven

steel heart
#

The inevitable truth

frail glade
#

If you're using Java 16, you have to grab the snapshot version of the shade plugin.

simple viper
#

oh, ok

drifting mantle
frail glade
#

You'll have to google that one

cinder flare
frail glade
#

Probably 3.3.0-SNAPSHOT

#

iirc

simple viper
#

alright

steel heart
frail glade
#

I mean a lot of plugins had to do extra work to update this time because of the changes md_5 did to NMS stuff.

cinder flare
#

For the better!

#

More like he didn't do his weird changes

frail glade
#

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

simple viper
#

@frail glade the 3.3.0 snapshot didnt work, and im trying to look it up but im not finding it

frail glade
#

Have you tried googling?

simple viper
#

yes

ocean quartz
#

Can always swap to kts gradle ๐Ÿ˜Œ

frail glade
simple viper
#

thank you

#

Maybe im blind but im not seeing any snapshot version

cinder flare
#

I think the issue is that you're using Maven

frail glade
#

The snapshot version is 3.3.0-SNAPSHOT

simple viper
cinder flare
#

did you reload maven

frail glade
#

It won't be resolvable by default. You need to look up how to add snapshot builds to your pom.

#

Also please turn off the ping on replies.

simple viper
cinder flare
#

you can use gradle

#

๐Ÿ™‚

prisma wave
#

ever heard of haskell btw

cinder flare
#

hehehehe

prisma wave
#

admins please remove those reactions

#

they are derogatory and unkind

#

no

#

no

humble silo
#

Does the support team not have that ability?

static zealot
#

think I'll join

prisma wave
#

enough

prisma wave
static zealot
distant sun
loud gyroBOT
#

The 'everyone' mention is disabled so you can't annoy people.

humble silo
ocean quartz
static zealot
#

xD

humble silo
prisma wave
#

nothing

humble silo
#

Besides flex ofc

prisma wave
#

we lose all forms of expression (no tier colour)

#

and gain absolutely no benefits

cinder flare
#

We can embody the color of pumpkins

ocean quartz
#

Give support, convert pastes, add faqs, etc

prisma wave
#

i am going to cry when i reach tier 9 and can't flex it

simple viper
#

Wait.. Im looking it up, and there is no reason why this shouldnt work... wtf <version>3.3.0-SNAPSHOT</version>

ocean quartz
simple viper
#

for the Maven shade plugin

frail glade
#

Did you add the snapshot plugin repository?

humble silo
ocean quartz
#

A pink or a purple

simple viper
cinder flare
ocean quartz
#

support didn't used to be orange, it was changed to orange for halloween of 2019(i think) and never changed back, sadge

simple viper
#

ahhh

#

apache.snapshots

static zealot
#

some perks

#

but some might consider it a downside

#

or a bad thing

static zealot
#

yeah matt's right

cinder flare
#

it was a pumpkin-related decision, i knew it

static zealot
#

I Wasn't here but cube said that's what happened

ocean quartz
#

Yeah, it was a sad day

cinder flare
#

huh\

#

well I'm okay with it

ocean quartz
#

I want docdex's color

#

Nah, support

#

I think trusted and support were changed to orange, trusted was changed back, support didn't

#

Helpful was always blue

static zealot
#

to be honest, I don't like the orange but I Don't hate on it eaither

#

its just a bit to bright

simple viper
frail glade
#

Please stop with the pings.

static zealot
#

@waffle pls

#

xD

prisma wave
#

for what it's worth

  1. this isn't a support channel
  2. gradle is better than maven
#

not particularly helpful comments, i know

#

but uh

#

yeah

simple viper
#

holy creap

#

sorry

humble silo
#

ngl

frail glade
#
  <pluginRepositories>
    <pluginRepository>
      <id>apache.snapshots</id>
      <url>https://repository.apache.org/snapshots/</url>
    </pluginRepository>
  </pluginRepositories>
prisma wave
simple viper
#

thought this was the support channel

humble silo
static zealot
#

<@&546940342969040923> <@&164528648873836544> <@&546940493964115979> <@&546940781143916544> <@&546940975940108299> <@&546941096270233610> <@&546941237081538571> <@&546941433719029771> <@&546941659087372289> <@&639756260874387476>

#

beautiful

#

to bad I don't know the IDs for 9 and 10

#

but soonโ„ข๏ธ

ocean quartz
#

Nice pinging everyone

static zealot
#

๐Ÿ‘

simple viper
#

Or will it see it on its own

ocean quartz
#

I accidentally did that on my discord, pinged one of the common roles and forgot it would ping lmao

static zealot
#

how nice

#

xD

prisma wave
static zealot
#

fixed*

humble silo
#

Well im pretty much hating every part of it rn, if you could compare it to kotlin it would be the exact opposite

ocean quartz
#

Tbh removing the yellow and orange the tier colors are very nice

prisma wave
#

what

#

you're joking

humble silo
prisma wave
#

you have a problem with the yellow but not this??

humble silo
#

and the xml stuff is killing me

static zealot
#

no?

#

that's a pretty color

ocean quartz
#

The pink is a very pretty color

#

Nice

#

Lmao

static zealot
#

this sucks

#

xD

humble silo
# prisma wave

lol, well its the most functional language ive ever used, i guess compared to your haskell its nothing

prisma wave
#

๐Ÿ˜Œ

#

it's better than nothing

distant sun
#

let's say I have a constructor with a string and I want to make sure it is always lower case, how can I modify the string inside the constructor?
in java you would do this.string = string.toLowerCase();

prisma wave
#

dont initialise it inside the constructor

#
class Blah(value: String) {
  val name = value.toLowerCase()
}
distant sun
#

uh

humble silo
#

smh not private

prisma wave
#

I DONT CARE

static zealot
#

WE DONT CARE

jovial warren
#

when you're writing a Kotlin code generator and you generate so many classes that the Kotlin plugin crashes ๐Ÿฅฒ

static zealot
#

I ACTUALLY CARE

distant sun
#
class Cooldown(
    dummyId: String,
    val start: Long,
    val expiration: Long
) {

    val id = dummyId.lowercase()

}```
/shrug
prisma wave
#

horrendous

#

but necessary

onyx loom
#

Long doesnt exist...? nice

humble silo
#

ngl

distant sun
#

no

jovial warren
#

what you writing Gaby?

onyx loom
#

MasterCooldowns rewrite? ๐Ÿฅบ

distant sun
humble silo
# distant sun no

alright well dont complain to me when people come back complaining about 1 millionth of a second of lag

onyx loom
#

pog

prisma wave
#

haha i am so likeable

jovial warren
#

I swear you fucked that up

#

toLower dummyId

prisma wave
#

what's wrong with that

#

assuming toLower actually exists

jovial warren
#

I swear that's gonna convert dummyId to lower case

prisma wave
#

thats what gaby wanted

jovial warren
#

wait so how does that id field work then?

prisma wave
#

?

distant sun
#

how can I add a requirement for dummyId so it can't be longer than x

jovial warren
#

I'm confused

prisma wave
jovial warren
#

no, not that, I'm confused on BM's Trashskell one

prisma wave
#

whats confusing about that

distant sun
#

inside init or?

prisma wave
#

gonna ignore the obvious bait

prisma wave
#

no way of doing that at compile itme

jovial warren
#

don't you need to take a dummyId and then convert it to the id and expose that?

prisma wave
#

that's what it does do

#

data constructors are just functions

#

so Cooldown (toLower dummyId) is just partially applying the Cooldown function

#

ez

#

Cooldown :: String -> Int -> Int -> Cooldown

distant sun
#

ok bm

prisma wave
#

๐Ÿ˜Œ

#

quite elegant i think

jovial warren
prisma wave
#

although there's probably a better way of doing it

distant sun
#

yes, like using a proper language

onyx loom
#

ooooooooooooohhh

prisma wave
#

๐Ÿ™„

#

get a new joke

#

heard that one a million times now

#
data Cooldown = Cooldown {
  id :: String,
  start :: Int,
  expiration :: Int
}

newCooldown :: String -> Int -> Int -> Cooldown
newCooldown id start expiration = Cooldown id start expiration

cooldown :: String -> (Int -> Int -> Cooldown)
cooldown dummyId = newCooldown (toLower dummyId)

adjusted for clarity (and XP)

ocean quartz
#

You know a joke we heard a million of times here without wanting? Haskell

prisma wave
#

๐Ÿคฃ ๐Ÿ™„ ๐Ÿคฉ ๐Ÿ‡ณ๐Ÿ‡ด ๐Ÿ“ญ

distant sun
#

:)))))

prisma wave
#

look

#

this channel would be dead without me

#

so you can complain all you like

#

but it's better than the alternative

ocean quartz
#

Uhu uhu

static zealot
#

you will be dead if you don't stop ๐Ÿฅฒ

prisma wave
#

Try me

static zealot
#

๐Ÿ”ซ

onyx loom
prisma wave
onyx loom
#

cya

cinder flare
#

he was right

static zealot
#

nah he wasn't

prisma wave
#

2 messages in 6 minutes ๐Ÿ’€

#

what did I tell you

onyx loom
#

more messages in dev den than helpchat ๐Ÿ’€

prisma wave
#

As usual ๐Ÿ˜Œ

static zealot
#

๐Ÿ‘

prisma wave
#

Clearly there is a correlation

#

Servers I'm admin in = Alive ๐Ÿ˜Ž ๐Ÿคฉ ๐Ÿฅฐ
Servers I'm "support" in = Dead (embarrassing) ๐Ÿฅด ๐Ÿ˜– ๐Ÿ˜ตโ€๐Ÿ’ซ ๐Ÿคช

#

๐Ÿš๏ธ

sly sonnet
#

same

lunar cypress
#

bm losing his sanity, day 234

neat obsidian
#

Why isnt Nausea a possibility in PotionEffectType ?

obtuse gale
#

โ“

cinder flare
#

does docdex show enums

obtuse gale
#

% for fields

cinder flare
#

ah

#

d;spigot PotionEffectType%CONFUSION

ruby craterBOT
cinder flare
#

ah nice

#

wait is that not an enum

obtuse gale
#

Why is it named that lmao

cinder flare
#

why is it not an enum

jovial warren
#

legacy

#

Bukkit has been around since fucking Minecraft 1.0 :kekw:

neat obsidian
obtuse gale
#

I mean the potion effect in game has always been called nausea lmao

#

Bukkit smh

jovial warren
#

yeah but it probably used to be called confusion pre-1.13 or something

obtuse gale
#

Pre-1.13?

#

Do you know how old potions are?

#

1738 EY

cinder flare
#

according to the fandom wiki, it was called Nausea even in 1.8 when it was added

obtuse gale
#

๐Ÿคก Bukkit smh

jovial warren
#

they have been around since 1.0

cinder flare
#

beta

cinder flare
#

1.8

jovial warren
obtuse gale
#

I'm on the phone, someone check git blame for that potion effect type lmao

cinder flare
#

the potions yes

#

but the effect themselves

jovial warren
#

yeah

#

oh man, you lucky bastard, you still have the actually decent old Gamepedia theme

cinder flare
#

wdym

jovial warren
cinder flare
#

damn that kinda weird

obtuse gale
#

What's that Windows XP themed notification popup doing down there lmao

humble silo
jovial warren
jovial warren
#

I think it looks too much like they did a reader view and made it more like a page

#

I hate how it doesn't pretty much cover the entire page anymore

humble silo
#

imo

obtuse gale
#

do u guys know how old the majority of people in this server?

jovial warren
#

about 10-12 maybe

#

or at least, that's what age most of them act lol

static zealot
#

๐Ÿฅฒ

humble silo
#

Comon bbg, thats insulting a 12 year old

obtuse gale
humble silo
#

not bm

#

oops

obtuse gale
#

12?

cinder flare
#

bm wtf

obtuse gale
#

imma head out

jovial warren
#

nah I'm messing

humble silo
jovial warren
#

most of the people in this channel are somewhere between 14 and 18+

static zealot
#

in this server tho, we don't know

obtuse gale
jovial warren
static zealot
#

not always true but there are some

cinder flare
humble silo
#

It is?

obtuse gale
#

omg they are illegal

humble silo
#

I thought it was 12?

static zealot
obtuse gale
#

delete the kids

jovial warren
#

it varies between country

static zealot
#

in a lot of european countires

cinder flare
#

13 is america

static zealot
#

they're 14, 15 and even 16

jovial warren
#

for example, it's 18 in Germany iirc

cinder flare
#

and that's the only country that matters ๐Ÿ™‚

static zealot
jovial warren
#

but in the US and the UK, it's 13

static zealot
humble silo
#

oops, well i guess i broke the law for a year when i first got it

#

lol

jovial warren
#

and a lot of other countries

jovial warren
#

lol

obtuse gale
cinder flare
#

imagine

obtuse gale
#

bo'o 'f wa'e

#

bottle of water*

static zealot
humble silo
cinder flare
#

i am quite hungry actually

obtuse gale
obtuse gale
jovial warren
#

wat

obtuse gale
#

bottle of water in british accent

jovial warren
#

that is not even how most of us speak lol

cinder flare
#

thirsty bardy

humble silo
#

(i think theyre making fun of you)

static zealot
#

is that the galactic language?

obtuse gale
jovial warren
obtuse gale
#

B๐™นโ„ธ ฬฃ โ„ธ ฬฃ ๊–Žแ’ท ๐™นโŽ“ โˆดแ”‘โ„ธ ฬฃ แ’ทโˆท

#

enchantin table

onyx loom
#

we have too many accents in the uk to generalize us upon 1 accent

humble silo
obtuse gale
jovial warren
obtuse gale
jovial warren
#

xD

humble silo
#

smh

obtuse gale
#

try it

humble silo
#

โšโˆท ส–แ”‘โ†ธ

obtuse gale
#

@jovial warren should understand it

cinder flare
#

and Kali

obtuse gale
#

yeye

humble silo
#

oh wow

#

thats a new button

obtuse gale
humble silo
#

how have i not noticed that before

obtuse gale
#

ooo

#

stickers

#

it came out like yesterday or somthin

humble silo
#

ya before this yugi could do it with his hacked discord or whatever

obtuse gale
#

look at his ball

#

its spinnin?

#

wierd

#

nuts shouldt be doin that

humble silo
obtuse gale
#

why?

#

its an image

cinder flare
#

embed

obtuse gale
#

embed?

humble silo
#

ah right

cinder flare
humble silo
cinder flare
#

of that

#

i just sent it

obtuse gale
humble silo
cinder flare
#

by being a tier 2

obtuse gale
#

๐Ÿงž

#

nice

obtuse gale
#

i accedentaly clicked on ur pfp

#

and saw that so i investigated it

#

and sended it and some text

#

f u dyno

#

just 8 emojis

#

๐Ÿ˜ฆ

humble silo
#

right, next are you gonna tell me my address, full name and a picture of my front door?

#

lol im kidding btw

obtuse gale
#

๐Ÿคก

#

look this TWaT

obtuse gale
# humble silo right, next are you gonna tell me my address, full name and a picture of my fron...

ส–โ•Žโ„ธ ฬฃ แ“ตโ‘ แ“ต๐™นโˆทโŠแ’ทโ„ธ ฬฃ แ’ท แ“ต๐™นโˆทโŠแ’ทโ„ธ ฬฃ แ’ท โ‘๐™น!ยก โ•Žใƒช แ”‘ แ’ฒ๐™นโ„ธ ฬฃ โ‘แ’ทโˆท โŽ“โšแ“ต๊–Œโ•Žใƒช โŠแ’ทโ„ธ ฬฃ ๊–Žโ•Ž๊–Œแ’ท โ„ธ ฬฃ โ‘แ’ทโ„ธ ฬฃ

obtuse gale
neat obsidian
jovial warren
#

line 22 of the main

#

just out of curiosity, what is it?

neat obsidian
#

this.getServer().getPluginManager().registerEvents(new Handler(), this);

jovial warren
#

so irrelevant to the error, yeah, that issue is weird

#

it's saying that it tried to find a class, but the JAR file was closed

#

I think

obtuse gale
jovial warren
#

yeah

static zealot
#

@half harness u here?>

#

๐Ÿ˜ข

#

@cinder flare ? oh wait nvm. You're sleeping in the middle of the day

cinder flare
#

no im still awake somehow

#

what's up

static zealot
#

wanna play?

cinder flare
#

boutta go to sleep actually

static zealot
#

updated dtags finally

cinder flare
#

just wondering if you needed anything ๐Ÿ™‚

#

oh nice!

static zealot
#

and don't have friends to play with

cinder flare
#

๐Ÿ˜ฆ

static zealot
sly sonnet
static zealot
#

I am eu. but no voice

#

only chat

#

oh the summer box thing started

cinder flare
#

Blitz no speaky

#

he weird

static zealot
cinder flare
#

it's true you can't deny

static zealot
#

well again. that's just your opinion isn't it? xD

#

it is not a true statement

cinder flare
#

well no it is an undeniable fact that you don't speak

#

and therefore, are a weirdo

static zealot
#

@half harness now that you're here

#

wanna play?

half harness
#

not rn\

static zealot
#

๐Ÿ˜ข

half harness
stuck harbor
#

buy one get one free i suppose

static zealot
#

I Know which one's the impostor

stuck harbor
#

amogus?

stuck harbor
#

wow

#

that is a layered and complex meme

static zealot
#

that's a perfect interpretation of what happened after his death

#

that's Abraham on the ground

stuck harbor
#

they did the distraction dance?

#

huh

#

neat

static zealot
#

this is how they did it

frail glade
#

Holy crap. In BannerBoard, the /bb reload is literally plugmanning the plugin.

static zealot
#

o

frail glade
#

That's notttt good

onyx loom
#

๐Ÿ™

static zealot
#

o u updating BB?

frail glade
#

Attempting to.

static zealot
#

oh was the spigot page taken down?

frail glade
#

It went free + open source

static zealot
#

oh that's cool

#

too bad that first result is broken page and next 4 are leaked versions xD

frail glade
#

Except that the reload command literally does this.

onyx loom
#

oh god

static zealot
#

can u give link I can't seem to find it

distant sun
#

is that bannerboard? @frail glade ?

static zealot
#

yeah

distant sun
#

F

frail glade
prisma wave
#

"Only publish resources as premium if you believe they are of exceedingly good quality"

static zealot
#

that's why it went free I guess xD

frail glade
#

This dude is literally running a force PlayerJoinEvent for every player online.

#

I think I'm more confused than anything.

obtuse gale
#

what

frail glade
static zealot
#

o

#

think its enough for today. gn boys and 1 girl