#dev-general

1 messages ยท Page 567 of 1

cinder flare
#

๐Ÿฅฒ

prisma wave
#

however you choose to give access doesn't really matter

#

Although that is definitely the worst possible option

solemn coyote
#

I like to keep my work from git xd

sweet cipher
#

I would like to send you my code in screenshots of notepad files

quiet depot
half harness
#

closed source ๐Ÿคข

cinder flare
quiet depot
#

git is the thing thatโ€™s gonna save all your work when your drive decides to commit suicide one day

solemn coyote
#

Ye ik

#

Use onedrive

prisma wave
#

๐Ÿ’€

solemn coyote
#

Idk why Xd

quiet depot
#

thatโ€™s more effort than git

#

also not as useful

prisma wave
#

And worse

cinder flare
quiet depot
#

git allows you to go back to any previous state of your code

solemn coyote
#

๐Ÿ˜‹

cinder flare
#

i have a feeling you might not be getting that developer role lmao

solemn coyote
#

xd

quiet depot
#

i have a feeling no one is getting it because no one is reviewing them lel

prisma wave
#

Well I don't think it will hurt your application necessarily but using the proper tools is definitely a big bonus

cinder flare
#

ayyy

obtuse gale
#

The application still going?

prisma wave
#

Uh

solemn coyote
#

Iam used to onedrive donno why

prisma wave
#

Haha

sweet cipher
#

Poor dkim

quiet depot
#

we bring on new support staff that can somewhat code in the hope theyโ€™ll take over role requests

sweet cipher
#

Dkim I hear if you pay $2,000 it speeds up the process by a day

quiet depot
#

literally nothing changes ๐Ÿ˜ฆ

cinder flare
#

๐Ÿ˜ฆ

quiet depot
#

honestly heartbroken ๐Ÿ’”

ocean quartz
#

Oh shit, i missed this ๐Ÿ˜ฎ

All of Tuinity's projects and patches will be merged into Paper and moved to the Paper organization soon

quiet depot
#

fun

prisma wave
quiet depot
#

yes

#

1 or 2 hundred to go

solemn coyote
#

Who decides if you get the role?

prisma wave
#

Easy

cinder flare
#

i would do some if someone would give me my role ๐Ÿ˜ 

quiet depot
prisma wave
sweet cipher
half harness
solemn coyote
cinder flare
solemn coyote
#

Star no developer role ๐Ÿคจ

obtuse gale
#

Who is the best staff in here?

solemn coyote
#

For sure Reset

quiet depot
#

best staff for what

#

nicest staff?

obtuse gale
#

For me piglet

quiet depot
#

biggest peen?

solemn coyote
#

Give him the credits its hes birthday xD

cinder flare
prisma wave
#

Well

obtuse gale
#

Also help

prisma wave
#

well we have a few that are "funny"

obtuse gale
#

Funnycube

sweet cipher
prisma wave
#

lmao

#

^

cinder flare
#

yeah pick 2 lmao

obtuse gale
#

Hmm

#

Lol

solemn coyote
#

Lol

sweet cipher
obtuse gale
#

Helpful & Nicest

sweet cipher
#

Probably because you're staff

cinder flare
#

๐Ÿ˜‰

sweet cipher
obtuse gale
#

No answers mean no one?

prisma wave
#

yeah we all suck

obtuse gale
#

Yeah

solemn coyote
#

Ye prob

obtuse gale
#

List all of em and vote

ocean quartz
#

Shouldn't bm have had the helpful role removed when he became staff? thonking

sweet cipher
#

Winner gets to go inactive for a week

cinder flare
#

i think we should go by the pink indicators next to their names

obtuse gale
#

Or get a role of monthly staff ig

prisma wave
half harness
#

oof

sweet cipher
#

Matt's waiting to be promoted to admin

obtuse gale
#

Lol

ocean quartz
#

Just wondering lmao
Cuz I think Blitz got his removed

prisma wave
#

snitches get stitches

#

Watch your back matt

ocean quartz
#

๐Ÿ‘€

sweet cipher
#

Now we know who isn't the best staff

obtuse gale
#

@static zealot ?

sweet cipher
#

Just a random ping

quiet depot
#

watch yourself bm

obtuse gale
#

Oh sheet I just ping

quiet depot
#

matt is organizing the contest

obtuse gale
#

Sorry man

prisma wave
#

hmm

quiet depot
#

he might become biased against somebody

ocean quartz
#

^

obtuse gale
#

Should I list all staff?

prisma wave
#

then we will have reached an impasse

cinder flare
obtuse gale
#

Imma list them all lol

sweet cipher
#

I think you should have a sumo duels to settle it

solemn coyote
#

Nah no duels thats boring

cinder flare
sweet cipher
#

Server hosted in Antarctica for fair ping

obtuse gale
#

Why who is Skylar#1234

ocean quartz
sweet cipher
#

I haven't heard of it

obtuse gale
#

Lol

sweet cipher
obtuse gale
#

Grand Judge?

prisma wave
ocean quartz
#

Life is fake

obtuse gale
#

All these are fake

cinder flare
prisma wave
#

oh lmao

sweet cipher
#

Blitz usually has the mouse over it though right?

ocean quartz
#

Actually no, i took it from my discord lmao

cinder flare
#

oh damn, it's fresh!

obtuse gale
prisma wave
#

ah that's what I wouldve guessed but

prisma wave
obtuse gale
#

Nah

ocean quartz
prisma wave
obtuse gale
#

Hahaha !

#

More relaxed area

cinder flare
#

this is off-topic but for developers!

half harness
#

server developers ๐Ÿ˜Œ

quiet depot
#

yaml devs

sweet cipher
#

Skript devs

ocean quartz
half harness
#

๐Ÿ˜’

sweet cipher
#

lol

prisma wave
#

Isn't "yaml dev" an actual thing

obtuse gale
#

Huhh

prisma wave
#

Like devops and stuff

cinder flare
prisma wave
#

well

#

You know

#

Github actions and stuff

#

People get paid a lot for that

quiet depot
#

no

sweet cipher
#

Config dev

cinder flare
#

oh you mean docker compose editor lol

prisma wave
#

Yes exactly

#

The more yaml you have, the more devops it is

#

Infinity eta

cinder flare
#

now that is not what you wanna see

obtuse gale
#

Lmao

quiet depot
#

is that epic games

prisma wave
#

nah

#

Some android app

quiet depot
#

phew

onyx loom
#

poggers download speed

obtuse gale
#

Who staff is online? I guess all staff is online

cinder flare
#

nah we missing like 3 trusteds

#

and mr. piglet

#

tho he lurkin

prisma wave
#

and the other 2 admins

#

Who barely exist nowadays

cinder flare
#

glare? never heard of him

onyx loom
#

clip ๐ŸŒš

obtuse gale
#

Who is it?

#

WaffleKing?

cinder flare
#

yeah that's Glare

obtuse gale
#

Ouh

#

Clip?

ocean quartz
#

One support missing too

cinder flare
#

really? i thought there were 7

ocean quartz
#

Aboo

prisma wave
#

Omega

#

oh

cinder flare
#

oh

ocean quartz
#

Oh yeah omega as well

obtuse gale
#

Who is Omega lmao

cinder flare
#

is aboody still a support?

prisma wave
#

I genuinely forgot aboody existed

ocean quartz
#

He's been gone for a while, still support though

obtuse gale
#

Aboody is staff?

#

Ig all that

#

Noice

obtuse gale
prisma wave
#

Evidently

obtuse gale
#

What that mean

cinder flare
#

Evidently

obtuse gale
#

Bruh

cinder flare
#

It's a different form of "It is evident"

#

Which is similar to the word "evidence"

#

basically, it's a fancy way of saying "it seems so", or "yes"

sweet cipher
#

"Evidently so"
Could also be used

#

Sounds even more fancy

cinder flare
#

yeah I guess "Evidently" is just a shortened version

sweet cipher
#

Wow staff is taking shortcuts

obtuse gale
half harness
#

why are you so persistent in getting a list of the "best staff" thonking

sweet cipher
#

They have their own discord server and are looking to steal staff

cinder flare
#

what are you asking me for

sweet cipher
#

Staff get paid $1 / hour

cinder flare
#

i wish

obtuse gale
#

Heh $1

half harness
sweet cipher
#

The highest

half harness
#

mhm

cinder flare
#

wtf I'm #11

onyx loom
#

wtf im 9

#

this is outrageous

ocean quartz
#

Not ranking

#

He's asking people to vote

obtuse gale
#

That is not ranking lmao

cinder flare
#

oh

half harness
#

alright but who's "green apple"

#

and "banana"

obtuse gale
#

Count

sweet cipher
#

You should add the emojis next to the name

obtuse gale
#

XD

#

I don't have nitro to add custom numbers

sweet cipher
half harness
#

|| plus i feel like if anything it would just offend people ;-; ||

obtuse gale
onyx loom
#

lol

obtuse gale
onyx loom
#

plus u missed a few other staff members ๐ŸŒž

obtuse gale
#

Just kidding, you're second

#

Matt is #1 ๐Ÿ˜Ž

#

For god sake who is it

ocean quartz
#

I thought Luck was #1 ;o

onyx loom
#

a lot of the trusted team

obtuse gale
#

I don't have perms to bypass bot emojis lol

obtuse gale
#

Who is HC

ocean quartz
#

It was, I was just throwing stuff in the middle cuz it's stupid lmao

obtuse gale
#

idk lmao

obtuse gale
ocean quartz
#

Joe

sweet cipher
#

But who is Joe?

obtuse gale
#

Joe mama

#

Nice

cinder flare
#

๐Ÿฅฒ

ocean quartz
#

Lmao

obtuse gale
#

Trying to bypass it lmao

cinder flare
#

i think this is a sign

#

we're humans okay, we can't be ranked

obtuse gale
#

Staff is immortal

ocean quartz
#

Star is bestest

obtuse gale
#

Matt is

#

Uhm

#

Epic

sweet cipher
obtuse gale
#

Where to get roles

cinder flare
obtuse gale
#

Oh nvm

sweet cipher
obtuse gale
#

How to have a gf?

cinder flare
#

god I wish I knew

#

ask Matt, he has experience

sweet cipher
obtuse gale
sweet cipher
#

I'm sure once the staff bribes come in for the rankings you will be rich

obtuse gale
#

Maybe

onyx loom
#

how did u know ๐Ÿ‘€

obtuse gale
#

Paying $0.50 per/day

#

Buying CraftingStore/BuyCraft theme then sell it a scam?

ocean quartz
#

Most likely against the license of the theme you're buying

sweet cipher
#

Also just a scummy thing to do

#

That would be stealing someone else's stuff and reselling it

obtuse gale
onyx loom
#

๐Ÿฅถ

sweet cipher
#

That's like the people who buy a plugin jar then redistribute at a lower price

#

This blue is so nice

obtuse gale
#

Can he be banned?

sweet cipher
#

Banned from what?

obtuse gale
#

Ouh lmao he already banned?

#

Cuz his name is Tiptronic#4005

steel heart
#

Noob

obtuse gale
#

Resell a product.

obtuse gale
steel heart
#

The bamboozled guy

#

I consider not celebrating his birthday also

obtuse gale
#

Lol

simple viper
half harness
ocean quartz
#

Asking to go check, which makes me want to not go check

eternal compass
old wyvern
#

๐Ÿ˜ฎ ๐Ÿ˜ฎ ๐Ÿ˜ฎ

obtuse gale
#

Lol

obtuse gale
young kettle
#

Is it possible to make an item (lets say a specific block) in which players can only hold one item of at a time in their inventory, and cannot be put into chests/hoppers/dispensers etc?

hot hull
#

So I'm trying send a message using a bot, but I keep getting a 401, I've tried legit everything and can't find the cause of it, anyone got any suggestions?

lunar cypress
#

Any context at all? Lol

#

Sending a message how? To where? With what parameters?

hot hull
#

By any suggestions, I mean what things I should look at that could be causing problems, not really sure what context to give since it's the same for all methods, but I guess sending a message using DiscordGo, into a channel, using a single string

lunar cypress
#

what context to give
Well saying that you're using the create message of the Discord API is quite vital information

#

401 means unauthorised

#

Which means you either didn't set a token or you set an invalid token

hot hull
#

Well that would mean the listeners wouldn't work right? Cause they do

static zealot
#

Rudy

lunar cypress
#

The websocket connection is independent from the REST API

#

So if the library separates the two it's possible to set the token for one but not the other

hot hull
#

hmm

hot hull
#

Oh that's annoying, so it has a "deprecated" token variable which you also need to assign for it to work

distant sun
#

Is there a way to run mc in a cli or some shit? I only want to see the chat

quiet depot
#

minechat

distant sun
#

for pc though

ruby dew
#

its called mineflayer

#

oh you only want to see the chat..nvm

quiet depot
#

could still use it

hot hull
#

console client?

ocean quartz
static zealot
#

o that's cool

#

you could also use potentially like a mobile client or whatever its called. those allows you to log in with your account from a phone app basically and you can see the chat execute commands as if you were online. bcz basically you are you just can't control your character

hot hull
#

Pickaxe chat

sly sonnet
#

minecraft console client (c++ or c# or c, idk lol)

jovial warren
#

console clients are so easy to make lol

static zealot
#

he doesnt need console

#

...\

jovial warren
static zealot
#

he wants to see exactly what a player would see

#

what Matt gave him is perfect

jovial warren
#

I swear he said he only wants to see the chat...

#

or am I somehow seeing things

static zealot
#

exactly. just the chat. not console

#

by what the player sees

#

I meant what a player sees in chat

jovial warren
#

a console client is not a client for a Minecraft console lol

static zealot
#

o

jovial warren
#

a console client is the name given to a client that runs in a command line environment

#

it's called a console client because it runs in a console

static zealot
#

o

#

mb than

jovial warren
#

lol

distant sun
#

d;spigot player#sendblockchange

ruby craterBOT
#
void sendBlockChange()```
Description:

Send a block change. This fakes a block change packet for a user at a certain location. This will not actually change the world in any way.

Parameters:

loc - The location of the changed block
block - The new block

distant sun
#

would lava damage them? If not, is there any way to?

sweet cipher
#

The easiest way to check would probably be to try it lol.
I would assume yes, because the client thinks it is a block.

reef maple
#

Hi, I need to use a string to double evaluator, so I want to use javaluator from fathzer. I've added it as a Maven dependency, and it works well on my IDE. I can use the classes, the functions etc.

But when I calla function from this dependency on server, I got a ClassNotFoundException. Did I miss something ?

        <dependency>
            <groupId>com.fathzer</groupId>
            <artifactId>javaluator</artifactId>
            <version>3.0.3</version>
            <scope>provided</scope> <!--compile-->
        </dependency>
distant sun
#

Because you mark it as provided and nothing provide it on the server

#

Remove that line to add it in the jar

cinder flare
#

you also need the maven shade plugin too

frank lichen
#

please

#

i need help

compact perchBOT
#

There is no time to wait! Ask your question @frank lichen!

distant sun
#

Is there an event or smth for slime bliock jump?

#

d;paper playerjumpevent

ruby craterBOT
#
public class PlayerJumpEvent
extends PlayerEvent
implements Cancellable```
PlayerJumpEvent has 1 extensions, 1 implementations, 8 methods, and  1 all implementations.
Description:

Called when the server detects the player is jumping.

Added to avoid the overhead and special case logic that many plugins use when checking for jumps via PlayerMoveEvent, this event is fired whenever the server detects that the player is jumping.

distant sun
#

Will probably do it

reef maple
distant sun
#

No

reef maple
#

Alright, thanks you Gaby and Star ^^

obtuse gale
stuck harbor
#

e

half harness
#

e

cinder flare
#

c

static zealot
#

D

eternal compass
#

b

static zealot
#

The D

#

The Dentist

steel heart
#

h

#

a

#

P

#

p

#

y

#

b

#

D

#

A

#

Y

eternal compass
#

g

steel heart
#

(:

eternal compass
#

happy bDAgY? whats that

steel heart
#

You ruined it

#

๐Ÿคฌ

obtuse gale
sweet cipher
#

Does it matter if I don't put in my exact graduation date for intelliJ student products?
I don't know what it is.

onyx loom
#

doesnt matter

#

as long as its close enough probably

sweet cipher
#

Okay thank you

distant sun
obtuse gale
#

I mean that's the official name, HideFlags, lol

#

Or you mean the 1, 2, 4, 8 ...?

distant sun
obtuse gale
#

Bit flags

distant sun
#

So basically an enum

obtuse gale
#

I suppose

#

Enums in Java are way more than just named numbers

#

But an analogy would be enum constants in an EnumSet I suppose.. because it literally uses bit fields lol

distant sun
#

Yeah ok

distant sun
distant sun
#

any idea what would make my server and/or pc download from ptero with 1.3mb/s?

sly sonnet
#

"server/pc"

prisma wave
#

This is cuter than your furry filth

steel heart
hot hull
#

ew

prisma wave
prisma wave
old wyvern
#

๐Ÿ˜ณ

steel heart
#

Cursed

prisma wave
#

Apparently it's because LLVM will optimise away all infinite loops if they don't have side effects

#

Which is a ๐Ÿ˜Œ moment

old wyvern
#

ew

#

I mean really

#

i wonder if someone ever ended up with a impossible to debug piece of code because of something like this

#

Speaking of which

#

Anyone here familiar with Flutter?

steel heart
#

I tried touching it but went with react native instead

old wyvern
#

Hmm

steel heart
#

I kinda already know react thatโ€™s why I didnโ€™t bother lol

prisma wave
#

i used it a tiny bit

old wyvern
#

ok wait nvm, somehow rerunning it the 10th time fixed the issue

prisma wave
#

๐Ÿ™ƒ

steel heart
#

Lol

distant sun
#

I will never understand how timings works, how does it connect these two which are unrelated??

#

Or other stuff that has nothing to do with players or player movement

hasty saddle
#

Hey

#

Code:

            PacketPlayOutGameStateChange packet = new PacketPlayOutGameStateChange(new PacketPlayOutGameStateChange.a(5), 0);
            ((CraftPlayer) target).getHandle().b.sendPacket(packet);
distant sun
#

Hey code

hasty saddle
#

xDDD

#

Wait the image is uploading

#

How could I fix this?

distant sun
#

It expects 2 params

hasty saddle
#

Wdym?

#

I don't know how to fix it it worked

hasty saddle
#

??

ocean quartz
#

??

hasty saddle
#

Can someone help me?

hasty saddle
hot hull
#

By inputting the right params?

hasty saddle
#

Yeah but how should I write it then?

#

It requires A and I gave him A

obtuse gale
#

Whatever you're calling new ...a( does not exist

hasty saddle
#

Hmm but then I get another error

obtuse gale
#

It's either not a class or it is a class without a constructor you are trying to use

hasty saddle
#

I just want to send a PacketPlayOutGameStateChange

obtuse gale
hasty saddle
obtuse gale
#

???

hasty saddle
#

The code works

#

But it is showing me an error in the IDE

ocean quartz
#

How does the code work if there is a compile error?

obtuse gale
#

Remember Matt eclipse can compile anything lol

hasty saddle
#

I really don't understand

#

Nope it's IntelliJ

obtuse gale
#

There's no way you have that ugly color theme in IJ

#

Anyway

hasty saddle
#

It's Material xD

obtuse gale
#

Go to the constructor

hasty saddle
#

Wdym?

obtuse gale
#

I mean go to the constructor

#

The definition

#

The signature

#

The method body

#

Do you know how to use an ide?

hasty saddle
#

public class OTroll extends JavaPlugin {?

ocean quartz
#

Do you know what a constructor is?

hasty saddle
#

idk

#

But what has the constructor to do with my IDE theme? xD

ocean quartz
#

What?

obtuse gale
#

Nothing, it was just a comment

hasty saddle
#

It works in minecraft but in the IDE it shows an error

half harness
#

|| invalidate caches? ยฏ_(ใƒ„)_/ยฏ ||

hasty saddle
#

Why do they even implement such an A shit?

#

Why can't I just do new PacketPlayOutGameStateChange(5, 0)?

obtuse gale
#

Because that's not how Java works

#

How do you even know you need "a"?

hasty saddle
obtuse gale
#

Ctrl + Click the constructor

hasty saddle
#

Which constructor? I have no main in my class

#

Or what do you mean?

obtuse gale
#

I mean the only constructor involved in this situation

#

The packet constructor

#

Please learn Java

hasty saddle
#
public PacketPlayOutGameStateChange(PacketPlayOutGameStateChange.a var0, float var1) {
        this.r = var0;
        this.s = var1;
    }
obtuse gale
#

Okay finally

#

Now Ctrl + Click the a class there

#

And send the damned class in a paste

#

?paste

compact perchBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
โ€ข HelpChat Paste - How To Use

hasty saddle
obtuse gale
#

By the way how are you building your plugin? Because if that shows as an error it shouldn't even compile

hasty saddle
#

I really don't know it just works

#

"Build completed successfully"

obtuse gale
#

Right but that doesn't answer my question

hasty saddle
#

What do you want?

obtuse gale
#

To know

how are you building your plugin?

hasty saddle
#

Build -> Build Artifacts

#

This whole package thing is just weird

obtuse gale
#

Hm?

hasty saddle
#

I somehow need a PacketDataSerizalizer for the a

#

I remember the times when you could just write (5, 0)

#

But now like (a(serializer(anotherthing)))))))))))))))))))))))))))))))

obtuse gale
#

What version is this btw?

hasty saddle
#

1.17.1

#

They fucked up everything with this a b c d e f g h i shit

obtuse gale
#

Eeh yesn't

#

Blame md_5

#

@hasty saddle I think I figured it out

#

This "error" might just be an IJ bug or something

#

Add to your imports
import net.minecraft.network.protocol.game.PacketPlayOutGameStateChange.a;
then call new a directly instead

#

should get rid of the error

#

On an additional note, may I DM you about something?

half harness
#

ohhhhh noooooo ๐Ÿ˜ฉ

obtuse gale
#

:^)

prisma wave
#

L

old wyvern
#

bm

prisma wave
#

Lol

old wyvern
#

any idea how to get spring jpa to not auto-generate a field if its specified?

#

rn the id is beign auto generated after I save even if I specify a id

prisma wave
#

that seems sus

#

Why do you need to specify one

old wyvern
#

The client needs to be allowed to specify a id, if not specified, auto-gen

prisma wave
#

But if they specify the id won't it already be in the database?

#

That doesn't seem like a good idea

#

They could specify an id that already exists, or it would break auto increment

old wyvern
#

If its already specify it should just reject the request ig

#

hmm

#

I cant force them to use auto-generated id's since they might already have values for them

prisma wave
#

If the client specifies the id, doesn't that imply there is already an entry in the database?

#

In which case you wouldn't need to make a new entity

#

Just look up and edit

old wyvern
#

For example:
Lets say they have the id 1782 in a written copy, if they want a matching entry, they want the same id

half harness
# half harness ohhhhh noooooo ๐Ÿ˜ฉ

anyone know why this happens?
I have 4 modules:

  • compat gradle dependencies { compileOnly 'org.spigotmc:spigot-api:1.8.8-R0.1-SNAPSHOT' compileOnly project(':v1_8') compileOnly project(':v1_16') } - plugin gradle dependencies { compileOnly 'org.spigotmc:spigot-api:1.8.8-R0.1-SNAPSHOT' compileOnly project(':compat') } - v1_8 gradle dependencies { compileOnly 'org.spigotmc:spigot-api:1.8.8-R0.1-SNAPSHOT' compileOnly project(':compat') } - v1_16 ```gradle
    dependencies {
    compileOnly 'org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT'
    compileOnly project(':compat')
    }
#

(had to create 1.16 module because of nbt api's lack of backwards compatibility ๐Ÿ˜ข)

obtuse gale
#

why does compat depend on itself ?

old wyvern
#

lmao

obtuse gale
#

this looks like copy-pasting lol

half harness
#

wait

#

oh waht

#

ok edited

obtuse gale
#

. ...

#

of course

half harness
#

hm?

obtuse gale
#

compat depends on the other two modules

#

and the other two modules depend on compat

half harness
#

how should i fix it?

#

I need it because of this: ```kt
fun getInstance(plugin: JavaPlugin): NBTUtilitiesAbstract = if (MinecraftVersion.isAtLeastVersion(MinecraftVersion.MC1_16_R1)) {
me.dkim19375.bedwars.v1_16.NBTUtilities(plugin)
} else {
me.dkim19375.bedwars.v1_8.NBTUtilities(plugin)
}

#

and if i put that in plugin then I need to depend on both 1_8 and 1_16

#

which i bet will create the circular dependency again

#

the only thing i can think of is using reflection... ๐Ÿคข

prisma wave
#

Oh yeah you'll probably need to use reflection at least once

obtuse gale
#

mhm

half harness
#

oh

#

welp

#

alright then

half harness
#

I'll have to use reflection either way

#

soooooo

steel heart
#

Can someone tell how to turn this mother fucker into not gray with underlines

static zealot
#

no

obtuse gale
#

That legitimately looks like a stock image lol

steel heart
#

Oh lol it does

#

Emily gradle pro

#

Pls help

static zealot
#

I'm so confused. Does your PRT SC button not work? or what? xD

steel heart
#

I canโ€™t open discord when I vibe with IntelliJ

#

Too much ram

#

And then

#

Crash

sly sonnet
#

apply changes

steel heart
#

?

sly sonnet
#

press the button

steel heart
#

I nuked that button like 3 times

#

Letโ€™s try again

static zealot
hasty saddle
obtuse gale
#

sweet

half harness
eternal compass
#

11/10

steel heart
#

Thanks

static zealot
obtuse gale
#

It's like super incomplete lmao

humble silo
obtuse gale
#

It has an Automatic-Module-Name ๐Ÿ‘€

humble silo
#

ew, do it right ๐Ÿคฌ

#

lol

#

There is a way to release jigsaw projects for versions before java 9 right? I found tons of things on it a couple months ago but now im getting nothing

obtuse gale
#

You can do multi-release projects

#

I'm not exactly sure how that works

ocean quartz
#

We're slowly converting Emily to Kotlin!

onyx loom
#

๐Ÿ˜Œ

static zealot
#

slowly

stuck harbor
#

slow and steady wins the race

obtuse gale
ocean quartz
#

Still counts!!!

prisma wave
#

๐Ÿ™„

#

Emily is based and clojurepilled

#

You can't change that

cinder flare
#

๐Ÿงค

#

damn

#

bm's emoji don't look like that in his name

prisma wave
#

๐Ÿ˜”

cinder flare
#

can't come soon enough ๐Ÿ˜Œ

obtuse gale
stuck harbor
#

hm

#

nah

#

its like what happened with xp

#

they needed to force people to switch over

#

cause they kept it going too long

cinder flare
#

yeah exactly

prisma wave
cinder flare
#

we need to force adoption of new versions

#

"11 is LTS, don't forget!"

#

yeah it's LTS for the multi-million dollar company, not your shitty minecraft server

prisma wave
#

You know what else is LTS?

cinder flare
#

your mum?

prisma wave
#

No, your mum

cinder flare
prisma wave
#

I will see you in hell

hot hull
half harness
static zealot
#

I can

half harness
#

oh wait

#

i just messed something up while committing

#

uh oh

#

oh nooo

#

what is this

cinder flare
#

that's a git diff

half harness
#

whys it in my code ;-;

cinder flare
#

well it sounds like you messed something up so it left the merge remnants

half harness
#

oh

#

D:

ocean quartz
#

Git conflict

prisma wave
#

merge conflicts :))

steel heart
#

git reflog ๐Ÿ˜

half harness
#

welp blitz

#

ig you'll have to wait some time

#

thankfully intellij has a local history option

#

that thing has saved me like 10 times

#

ok @static zealot u still up for bedwars?

static zealot
#

y

#

e

#

s

half harness
#

ok

#

im on hypixel

#

:)

static zealot
#

yo

half harness
#

yo

static zealot
#

what's the default chat witdh?

half harness
#

uhhh

static zealot
#

320?

half harness
#

yes

steel heart
#

try
Focused Height: 1px
Width: 1px

static zealot
#

looks pretty good

#

except its limited at 20 - 40

steel heart
#

you can override it in the options.txt or smtng I believe

static zealot
#

k

#

me and dk on a roll

#

we beat the shit out of those kids

half harness
#

lol

#

3 winstreak is probably one of my highest winstreaks

#

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

static zealot
#

lmao

#

I had like 5 or 6 winstreak. and lost to teamers

half harness
#

rip

frigid badge
#

F

static zealot
#

they got banned tho

#

so I'm happy

onyx loom
half harness
#

no i suck at bedwars

static zealot
#

who dkim? I carried him

#

last game, we almost lost at the start but I won a 2v1 which changed the game and at the end I got the entire remaining team. there was just 1 guy without a bed

#

I'm to good xD

half harness
#

I killed that 1 guy

#

๐Ÿ˜ค

#

well

#

sorta

static zealot
#

sorta xD

#

I fireballed you both but I think you got the kill

obtuse gale
static zealot
#

xD

static zealot
obtuse gale
#

No one

static zealot
#

k. thank you then

#

no

half harness
#

๐Ÿฅฒ

frigid badge
#

if we all report blitz he'll get banned by fc

onyx loom
#

i agree

static zealot
#

k

flint cipher
#

where to report

obtuse gale
#

DM @compact perch

#

say "blitz has been talking non-dev stuff in dev-general pls ban"

static zealot
#

imagine not even saying hi to barry.... just "work! work! work!"

frigid badge
#

programming is ass

wide thunder
#
Caused by: java.lang.ArrayIndexOutOfBoundsException: 4
        at duder.dudercondense.commands.MainCommand.onCommand(MainCommand.java:29) ~[?:?]

Why am I getting this error when the array index is in bounds?
https://paste.helpch.at/ikirajajiw.java

half harness
cinder flare
#

yeah, if the length is 3, the indices are 0, 1, 2

dense dew
half harness
#

also dont catch Exception

#

catch NumberFormatException

#

and

#

returning false ๐Ÿ’€

#

static ๐Ÿ’€

#

public fields ๐Ÿ’€

#

using a util to send messages to a CommandSender thonking

obtuse gale
#

Ints.tryParse ๐Ÿ˜Œ

static zealot
#

toIntOrNull() ๐Ÿ˜Œ

half harness
#

and use < instead of == 3 times

#

and return instead of elses

#

ok ill stop

wide thunder
#

no no continue

#

its good that you're butchering ill fix all of this

half harness
#

oh ic u have sendFormattedMessage

#

oh wait

#

u spelled formatted wrong

#

๐Ÿฅฒ

obtuse gale
half harness
#

you don't need the extra isOp check, since OP has all perms by default

cinder flare
surreal quarry
#

null safety though ๐Ÿ˜ฉ

static zealot
surreal quarry
#

doesn't tryParse just return null if it cant parse it

cinder flare
obtuse gale
#

yeah

onyx loom
#

i do remember matt saying that so yea

surreal quarry
#

or does it throw an exception

obtuse gale
#

it returns null

cinder flare
#

it better not throw an exception lol

half harness
static zealot
cinder flare
obtuse gale
#

generating exceptions is slow as fuck, Ints.tryParse is pretty fast

wide thunder
half harness
cinder flare
surreal quarry
obtuse gale
cinder flare
#

oh I see if you don't specify it's default to op

#

huh

half harness
#

๐Ÿฅฒ

half harness
#
/somecommand arg0 arg1 arg2 arg3 arg4 etc
wide thunder
#

yeah ik

ocean quartz
half harness
#

i'd have to see the code of givePlayerItem for that

cinder flare
#

I would advise printing out the arguments you get

half harness
#

also why make a public static variable for uses?

#

just make it a local variable

wide thunder
#

temporary for rn

#

yeah

cinder flare
#

why is uses even a variable ๐Ÿฅฒ

half harness
#

idk

cinder flare
#

just pass it when you create the item or whatevs

half harness
#

wrap this in try catch

#

in line 29

wide thunder
half harness
#

|| also make the variables final which mean that they cannot be changed ๐Ÿ˜‰ ||

ocean quartz
half harness
#

oh i didn't know it was in spigot

ocean quartz
#

It's in guava, guava is in spigot

half harness
half harness
jovial warren
#

literally look

half harness
#

oh its not final?

#

wait what is @Immutable

jovial warren
#

with those spherical shaped things in sockets just below your forehead, they're called eyes

jovial warren
half harness
#

no i mean whats it for

jovial warren
#

have a guess

half harness
#

;-;

jovial warren
#

alright

cinder flare
#

I presume @Immutable is a promise

jovial warren
#

it's a marker annotation used to mean that a class is immutable

cinder flare
#

And the actual variables are mutable

jovial warren
#

like has no state changes

half harness
#

like @EventHandler = listener

jovial warren
#

no, it's just designed for static analysis

half harness
#

oh

cinder flare
#

I mean if something changes yeah

half harness
#

wat

cinder flare
#

Or if like the accompanying Kotlin code doesn't think it can be

#

So it'll throw an exception

jovial warren
#

I mean, I guess it is kinda immutable

#

the only thing that can change those values is the really weird MutableBlockPos

obtuse gale
#

The way Mojang defines mutable vs immutable elements is really weird

jovial warren
#

yeah

obtuse gale
#

For instance, Component is what I like to call virtually immutable

#

It has no methods that allow you to mutate the Component

#

But the very first direct subinterface is MutableComponent or something like that

#

Which... does

#

And every component impl is mutable lolol

#

It's more so you get it as a param or return, you can't just change it but have to make a copy to get a mutable clone

#

"unmodifiable view"

#

Reminds me of MatchResult v Matcher

jovial warren
#

the only direct subtype of Component is MutableComponent

obtuse gale
#

yeah true lol

jovial warren
#

Component is an interface that is created to fool you in to believing the delusion that you are working with an immutable object, when in reality, you are actually mutating it

#

lol

prisma wave
#

ok can someone explain to me why BossBar#getTitle doesnt use a component

#

in paper 1.17

#

utterly ridiculous

obtuse gale
#

BossBar#title?

#

oh ๐Ÿ’€

prisma wave
#

DOESNT EXIST

#

FAHHHHH

#

they are taking the piss

#

they make me use this SHIT api and it cant even be used everywhere

obtuse gale
#

I know adventure has its own bossbar system

prisma wave
#

oh

#

so it does

#

that's cool ๐Ÿ˜„

obtuse gale
prisma wave
#

no

#

it's not fair

#

what's unfair is how i have built my entire system around components and now i have an edge case

obtuse gale
#

lmao

prisma wave
#

if i ever meet one of these kyori "developers"

#

ill make them wish they hadnt been born

#

FQJQID ive got to change my whole config system now too

#

because they really had to go and invent their own enums for the exact same thing

#

corporate wants you to find the difference between these two images

obtuse gale
#

lol

#

There's probably am ""

#

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

#

There's probably a "proper" way, does Color have an Index NAMES field?

prisma wave
#

yes

obtuse gale
#

well there you have it

prisma wave
#

ive changed it now

#

cba to change it back

obtuse gale
#

bitch

static yacht
#

hello

#

you guys totally don't know me

prisma wave
#

WHAT THE HELL

prisma wave
#

you know what

compact perchBOT
#
๐Ÿ“‹ Your paste: emilyy
https://paste.helpch.at/wusulezaqo

A member of staff has requested I move your message to a paste,
Most likely because it contains a config/error/code snippet.

prisma wave
#

yeah

#

thats what i thought

#

sit down kid

obtuse gale
static yacht
#

you

#

and brister

obtuse gale
#

no

prisma wave
#

idk who you are

obtuse gale
#

who tf asked ๐Ÿ’€

static yacht
#

๐Ÿฅฒ

obtuse gale
#

lol

prisma wave
#

1 task that updates every game vs 1 task per game

#

which is better

#

from a code structure + performance perspective

#

both are pretty easy to implement

#

1 task per game would mean the game can manage its own timer

#

which is probably a good idea

#

ok

#

thanks guys

#

ill do that

static zealot
#

yw

#

always here for you

obtuse gale
#

I'd do a task for all games and probably a callback or something idk

prisma wave
#

AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHh

#

yeah

obtuse gale
#

One task per game sounds kinda GC unfriendly

prisma wave
#

1 task per game will also require AssistedInjection which is cringe and bad

obtuse gale
#

Unless they all run parallelized

prisma wave
#

uh idk

#

it's a bukkit task

obtuse gale
#

lol

prisma wave
#

hmm but

#

idk

#

no

obtuse gale
#

lol

prisma wave
#

i will go 1 per game

#

i think that's better

#

ughhhhhhhhhhhh

#

but

#

assisted injection

#

WAAA

#

wait no

#

i got this

#

GWFWF

#

no i dont

#

circular dependencies

#

fuck me

#

what

#

i

#

ok

#

right

static zealot
#

yes bm

#

yes

#

!!!

prisma wave
#

i was thinking Game class takes a GameWorldUpdateTask which it can then manage on its own, but the GameWorldUpdateTask requires a Game (and some guice'd dependencies)

obtuse gale
prisma wave
#

so that wont work

prisma wave
#

so 1 per game it is

#

sorry it had to come to this

#

thanks for being my rubber duck

#

๐Ÿ˜ณ

#

oh my

static zealot
#

what a nice day

#

am I right? xd

prisma wave
#

lmao

#

yep

#

holy shit this is the most elegant thing ive ever made

static zealot
#

just 2500 xp until tier 9 bm!!

static zealot
prisma wave
prisma wave
#

just a very nice "design pattern" i guess

static zealot
#

design panter?

prisma wave
#

ima get someone to code review this once it's done

obtuse gale
prisma wave
#

i actually think it's flawless

obtuse gale
#

oh wait

prisma wave
obtuse gale
#

I mis-

prisma wave
#

blitz already made that joke

obtuse gale
#

I misread lol

#

LOL

prisma wave
#

oh

#

lmao

static zealot
#

well.

#

It wasn't a joke

#

smh

#

xD

prisma wave
#
    @Override
    public void onEnter(Game game) {
        game.getPartiesInGame().forEach(party -> spawn(game, party));
        game.getTimer().start();
        gameWorldUpdateTask.submit(game);
    }

    @Override
    public void onLeave(Game game) {
        gameWorldUpdateTask.remove(game);
    }
static zealot
#

idk what you're talking about

#

smh

prisma wave
#

๐Ÿคค

static zealot
#

that's some good looking java code

prisma wave
#

dude i think it's genuinely perfect

#

like if you ran this shit against the SOLID checklist it would probably fill all of them

static zealot
#

lmao

cinder flare
#

BM making the next triple A game in Java following SOLID?

static zealot
#

triple M game*

#

for minecraft

cinder flare
#

ooh what's it about?

prisma wave
#

cod warzone remake lol

static zealot
#

lmao

half harness
#

btw how come most people use \ublah instead of the character itself?

obtuse gale
#

?

half harness
#

d;spigot ChatColor%COLOR_CHAR

ruby craterBOT
#
public static final char COLOR_CHAR```
Description:

The special character which prefixes all chat colour codes. Use this if you need to dynamically convert colour codes from your custom format.

half harness
#

for example

static zealot
#

He's talking about the utf code or whatever

obtuse gale
#

Mostly because people are too dumb to figure out how to properly fix encoding issues

static zealot
#

Oh nvm

half harness
#

public static final char COLOR_CHAR = '\u00A7';

obtuse gale
#

yeah md5 falls in that category

static zealot
#

Lmaooo

half harness
#

so using \u00A7 instead of ยง fixes the encoding issue?

static zealot
#

No

obtuse gale
#

It's a dumb workaround

static zealot
#

It ends world hunger

half harness
#

๐Ÿ”

obtuse gale
#

Google style guide suggest you should use the actual character

half harness
#

oh-

obtuse gale
#

Tip: Never make your code less readable simply out of fear that some programs might not handle non-ASCII characters properly. If that should happen, those programs are broken and they must be fixed

static zealot
#

Lmao

wind patio
#

did anyone else run into an "issue" like this?

#

I have three "installations" (different versions) of IJ IDE

#

is it safe to just delete the old ones?

static zealot
#

That's why you use toolbox

wind patio
#

argh not more installations

obtuse gale
#

you'll manage all that with toolbox

#

jetbrains toolbox

static zealot
#

I only have IJ xD

wind patio
#

if I don't run out of disk space fingerguns