#dev-general

1 messages ยท Page 438 of 1

forest pecan
#

lmao

dawn hinge
#

Chill with the amount of gifs pls

half harness
#

^ not a gif

dawn hinge
#

RIP my data

forest pecan
dawn hinge
#

Someone mute him!

ocean quartz
#

@old wyvern Can't figure how shadow works, trying to figure where it does the relocations, like Groovy is confusing ๐Ÿฅฒ

old wyvern
#

have I pushed the relocation changes?

#

I might not have

#

xD

ocean quartz
#

What I am trying to figure is like where does it get the files to relocate from

old wyvern
#

the jar form the build folder should be fine?

#

from*

ocean quartz
#

Hmm let me see how i can get it

old wyvern
#

๐Ÿ˜ฎ

#

now it just needs to use jar-relocator on it and generate a relocated version ig

ocean quartz
#

let's test the jar relocator

old wyvern
#

I did push it btw

ocean quartz
#

Yeah i already pulled from upstream ;p

old wyvern
#

oh lit ๐Ÿ’ฏ

half harness
#

is it normal if my mc server

#

is taking up 70% of my cpu

#

and this is my debug server

winter iron
#

down bad

obtuse gale
#

On your computer? That's probably average

half harness
#

-_-

#

my computer is dyingggggg

onyx loom
#

we know, we know

half harness
#

is it unsafe to kill mc server

old wyvern
#

kill the pc

#

Smash it

half harness
#

since i just made a loop

#

i made it teleport myself on teleport

obtuse gale
#

smort

half harness
#

i think

old wyvern
#

Delete system32

obtuse gale
#

You can Ctrl C safely btw

#

The mc server

old wyvern
#

works 1000/100 times

half harness
oblique heath
#

yes

half harness
#

i just pressed IJ's stop button

obtuse gale
#

Paper has its ways

old wyvern
#

Try plugging in a rubber ducky

obtuse gale
#

Eh...

half harness
#

AH

#

MY EYES

obtuse gale
#

idk about vanilla or spigot but I know for a fact that Paper gracefully shuts down the server when Ctrl C'ing

half harness
#

my computer just flashed white

obtuse gale
#

"gracefully" to a certain extent of course lol

half harness
#

๐Ÿ˜ฑ

old wyvern
half harness
#

HElLPPP

oblique heath
#

well ctrl c does send a relatively graceful signal to the process

half harness
#

uh

#

lightshot crashed

oblique heath
#

i think to suddenly end it you do like ctrl shift c or crtl alt c

half harness
#

so there goes my screenshots

obtuse gale
#

ok

half harness
#

ok i just killed the server

#

it wasn't stopping itself

#

back to normal

#

๐Ÿ˜Œ

obtuse gale
#

normal

oblique heath
#

until you launch minesweeper

half harness
#

normal for me

old wyvern
#

61% cpu usage and 78% mem usage is normal?

half harness
#

well

#

its at 79% memory now

old wyvern
#

Are you running something else in the background?

#

Chrome?

half harness
#

intellij is taking 1,277 mb ram

old wyvern
#

Thats normal

half harness
#

edge is taking 280 mb

old wyvern
#

Not much

#

Thats less than 2 gb in total

half harness
#

zulu = mc

old wyvern
#

Ah you have mc running

half harness
#

yes

obtuse gale
#

Fucking Zulu lmfao

old wyvern
#

Oh its fine then

oblique heath
#

what's zulu

old wyvern
#

Probably some hacked client?

#

Or mod?

half harness
#

wat

#

no

#

its like openjdk

#

a java distro or whatever its called

obtuse gale
#

But cheap chinese

oblique heath
#

ah

old wyvern
#

lmao

half harness
#

why u think i hacking ๐Ÿ‘€

old wyvern
#

Oh dkim is chinese?

half harness
#

wat

#

no

old wyvern
#

Oh

half harness
#

its lunar client

#

its what lunar uses

old wyvern
#

Why do you have some obscure jre

half harness
#

idk

obtuse gale
#

lmao

half harness
#

its what lunar uses

old wyvern
#

Screw lunar

half harness
#

oh my cpus back down at 40%

old wyvern
#

wtf is lunar anyway

half harness
#

with discord taking 20% of it

old wyvern
half harness
#

its a minecraft "modpack"/client

#

with a separate launcher

old wyvern
#

Oh ok

#

Delete it

half harness
#

left = vanilla

#

right = lunar

half harness
old wyvern
#

Throw it down the chute

half harness
#

it gives me high fps

old wyvern
#

Bomb it

onyx loom
#

sir

#

60fps is not high

#

im sorry to break it to u

old wyvern
#

Zip it and throw it in the recycler bin

half harness
#

;-;

#

its high for me

#

ok

old wyvern
#

Then empty it

half harness
#

y u hating on lunar

#

lol

old wyvern
#

60 is barely playable

half harness
#

WHAT

#

WHAAAAAT

#

๐Ÿ˜ก

old wyvern
#

It doesnt stutter ?

forest pecan
#

5 upvotes in 8 minutes lmao

onyx loom
#

oh boy, this man has never experienced high fps gaming ๐Ÿ˜”

half harness
forest pecan
#

bro i get 1200 frames

#

but

#

my moniter

#

doesnt support it

forest pecan
old wyvern
#

Lmao

onyx loom
#

once uve seen 150+fps and are used to it, theres no going back

half harness
forest pecan
#

lmao

onyx loom
#

60fps is just trash

old wyvern
#

I mean it works

half harness
old wyvern
#

But its not ideal

forest pecan
#

me and the bros

#

1000 fps

onyx loom
forest pecan
#

but moniter doesnt support it

#

๐Ÿฅฒ

half harness
#

the highest I've ever gotton is 230 or something

#

in a void world

old wyvern
#

Buy a new one

forest pecan
#

make a hot plugin

#

sell it

#

get pc

old wyvern
#

^

#

Ez

half harness
#

๐Ÿค”

obtuse gale
#

Ah, I know

half harness
#

time to sell my bw plugin for $20

obtuse gale
#

I'll make Citizens3

half harness
#

/s

old wyvern
#

Burn the plugin till its hot enough

half harness
#

fefo lemme write the readme and gimme 90% of the sales

#

๐Ÿ™‚

#

deal?

#

oh also

#

you gotta tell me what to write

old wyvern
#

๐Ÿฅฒ

ocean quartz
#

Never

#

Please do

old wyvern
#

xD

old wyvern
#

McMonkey action

obtuse gale
#

stupid discord

ocean quartz
#

I would love for something better than Citizens

old wyvern
#

Matt

#

Are you in the citizens discord?

unkempt tangle
#

Aww

forest pecan
ocean quartz
#

Nope

old wyvern
#

Rip

forest pecan
#

it will have less features

old wyvern
#

I didnt I left it

forest pecan
#

and that is a feature

obtuse gale
old wyvern
#

But i wanted to search for a message

forest pecan
#

*6.0

#

bitch

#

fite me now

#

im adding an extra feature

#

by removing features

half harness
ocean quartz
obtuse gale
#

What adventure version

old wyvern
#

One min lemme find it

obtuse gale
#

platform

forest pecan
#

are you sure you dont want to fix that console spam lol

half harness
ocean quartz
#

Ew +

obtuse gale
#

Update ViaVersions

half harness
#

i didn't know the latest version

half harness
obtuse gale
forest pecan
#

lmao

half harness
#

didn't feel like it

#

plus

#

how much harm

obtuse gale
#

As usual

half harness
#

can + bring

half harness
forest pecan
#

remove +

#

or else

#

that midget

#

will find you

#

in your sleep

old wyvern
#

Btw everything he said after the server was false

#

๐Ÿ˜‚

#

He found the server from his discord name but got everything else wrong

oblique heath
#

"you don't have access to this link"

#

๐Ÿฅฒ

old wyvern
#

Then I annoyed him around for a bit after he muted my friend

#

Lol

old wyvern
oblique heath
#

ooo

old wyvern
#

Do you want the inv link to read the convo?

oblique heath
#

yes please

ocean quartz
#

Classic

#

I do not like the dude at all

old wyvern
#

The inbetween language is not gibberish btw

obtuse gale
ocean quartz
#

What language is it? ;o

obtuse gale
#

Snapshots have breaking API changes

half harness
#

ok

old wyvern
#

Malayalam

ocean quartz
#

Interesting

unkempt tangle
#

I love how you indent your YAML

half harness
#

intellij is taking like 10 seconds to color text, remove errors/warnings I've fixed, show errors that I just typed, so annoying ๐Ÿ˜ฉ

ocean quartz
pale shell
half harness
#

AAAAAAAAAAAAAAAAAA_ _ _ _

#

i figured out why the game didn't autostart

#

i was checking the ingame player amount.. not the lobby player amount

half harness
#

still won't work

#

soooo

#

maybe my adventure is outdated?

#

hm

#

it seems up to date

#

๐Ÿค”

ocean quartz
#

@old wyvern Was testing to see if i could make our task run right after either build or shadowJar and was working for build but not shadow, I had written shadowJaw ๐Ÿฅฒ
Doing this so people don't need to do gradle shadowJar slimJar if they want to use both, also if no relocations are added to the task then it won't do anything

obtuse gale
half harness
#

release

sweet cipher
#

Is there a font that makes the == look like one = but longer, and != a crossed out = like when you click on a method and go to the class?

steel heart
#

Material theme does that I think

sweet cipher
#

Okay thanks

obtuse gale
oblique heath
#

wait am i supposed to do something besides

dependencies {
  implementation ...
}

if I want to include a dependency in the jar?

sweet cipher
oblique heath
obtuse gale
#

Assuming you are using shadow, run ./gradlew shadowJar instead of ./gradlew build

oblique heath
#

bold of you to assume I have that

obtuse gale
#

lol

steel heart
#

Btw doesnโ€™t compile include it without shadowJar or am I wrong now?

obtuse gale
#

implementation is the replacement

steel heart
#

Uh well IntelliJ hasnโ€™t highlighted it as deprecated but I guess cuz of its name

obtuse gale
#

I mean

#

No

#

I misread your question

#

No, that doesn't happen at all "by default"

oblique heath
#

ah that did it, thank you fefo ๐Ÿ˜„

steel heart
#

Ah okay

obtuse gale
#

but compile is deprecated still lol

steel heart
#

Yeye, thought luckperms used it cuz of my assumption in that question but I guess just not up to date

obtuse gale
#

Yeah well the build process has always worked and fine, and the idea is somewhat you don't change that

#

iirc it uses like gradle 5 or something

oblique heath
#

by the way does gradle shadowJar package the javadocs as well?

steel heart
#

Yeah good point keep it if it works right

#

Ivan I donโ€™t think so

obtuse gale
#

Well it can

#

But you have to set it up

steel heart
#

Yeah true

obtuse gale
#

It's like 2 lines lol

half harness
#

fefo do u know how to fix my issue ๐Ÿ˜ข

oblique heath
#

so i need the jar { withJavadocJar } still

obtuse gale
#

It's 2 lines I don't remember ๐Ÿค 

obtuse gale
oblique heath
#

gotcha, tankya

sweet cipher
obtuse gale
half harness
steel heart
#

MasterOfTheFish knows Fefo knows the answer (;

sweet cipher
#

I do

#

Fefo knows everything

steel heart
#

Does he tho

#

What if Fefo is god but in a human

sweet cipher
#

What if Fefo is human, but in a god?

half harness
#

fefo

forest pecan
#

what if ur god but im jesus

half harness
#

should i ask in kyori discord?

sweet cipher
forest pecan
#

i farted

steel heart
#

Yoda farts

old wyvern
sweet cipher
#

Is Jesus the same as Luke from Star Wars?

forest pecan
#

I am

obtuse gale
half harness
#

ok

oblique heath
#
java.lang.LinkageError: loader constraint violation: when resolving method 'org.slf4j.ILoggerFactory org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()

i cri

steel heart
#

Lolol

sweet cipher
#

What is happening in that gif?

old wyvern
sweet cipher
#

Oh wait

#

Is it just a shadow?

#

The light?

old wyvern
#

No idea

sweet cipher
#

It looks like it might be

forest pecan
#

its a shadow

#

lmao

#

or some light

half harness
obtuse gale
#

lmao

oblique heath
#

fefo

#

use your magical powers and tell me why everything is breaking

#

i'm getting linkage errors for slf4j which i believe is a dependency of a dependency

#

do I have to do anything special in the build.gradle to avoid that

obtuse gale
#

Likely an issue with versions or something

sweet cipher
#

I'm bored, what should I make?

obtuse gale
#

Are there other plugins on the system?

obtuse gale
sweet cipher
#

Thank you

oblique heath
#

well right now it's complaining about my plugin's version vs bungee's version of slf4j

sweet cipher
obtuse gale
#

bungee has slf4j already?

#

Shocking

#

Well time to wash the dishes

ocean quartz
#

Spigot 1.25 might as well

sweet cipher
half harness
#
fun Location.getSafeDistance(other: Location): Double {
    if (world.name != other.world.name) {
        return Double.MAX_VALUE
    }
    return try {
        distance(
            if (world.uid != other.world.uid) {
                Location(world, other.x, other.y, other.z, other.yaw, other.pitch)
            } else {
                other
            }
        )
    } catch (_: IllegalArgumentException) {
        Double.MAX_VALUE
    }
}
```ok i think this will work xD
#

what is that formatting

#

ew

sweet cipher
#

To show that you read it

ocean quartz
#

What would cause IllegalArgumentException there?

half harness
half harness
#

i believe it's caused by unloading/loading the world

#

so it gets a new uid

ocean quartz
#

What the actual fuck return Double.MAX_VALUE

half harness
#

i knew you were going to say something about that

#

just had to give it some time

#

what should i return instead?

sweet cipher
#

-1

#

741

half harness
#

no

sweet cipher
#

33

half harness
#

i have some checks for distance < something

sweet cipher
#

When will distance ever be negative?

half harness
#

i might as well make a try/catch if I'm catching negatives

#

so this method just makes it getSafeDistance

obtuse gale
#

Sounds like a genuine job for OptionalDouble

half harness
#

oh no

#

what is that

#

d;optionaldouble

ruby craterBOT
#
public final class OptionalDouble
extends Object```
OptionalDouble has 14 methods, and  1 extensions.
Description:

A container object which may or may not contain a double value. If a value is present, isPresent() returns true. If no value is present, the object is considered empty and isPresent() returns false.

Additional methods that depend on the presence or absence of a contained value are provided, such as orElse() (returns a default value if no value is present) and ifPresent() (performs an action if a value is present).

This is a value-based class; use of identity-sensitive operations (including reference equality (==), identity hash code, or synchronization) on instances of OptionalDouble may have unpredictable results and should be avoided.

ocean quartz
sweet cipher
#

Oh yeah, forgot about that

ocean quartz
#

You know Double can be nullable in Kotlin right?

half harness
#

this is just simple distance < 5

#

i dont need an entire nullcheck

sweet cipher
#

distance == -1

ocean quartz
#

if ((distance < 5) == true)

sweet cipher
#

lol

ocean quartz
#

It's a null safe check

half harness
#

wait what

sweet cipher
#

Why can doubles be null?

sweet cipher
half harness
#

is there a way to make World#dropItem drop the item.. centered?

#

instead of drifting everywhere

oblique heath
#

set it's velocity to 0

#

?

#

maybe

sweet cipher
#

entity.teleport

half harness
#

i dont want it teleporting everywhere ;-;

#

oh wait

ocean quartz
sweet cipher
#

Oh

half harness
sweet cipher
ocean quartz
#

Here dkim this works if (distance?.let { it < 5 } == true)

half harness
#

but

#

whats so bad about Double.MAX_VALUE

ocean quartz
#

It makes no sense

half harness
#

well

obtuse gale
oblique heath
#

if I have a main module in a gradle project

#

do i need to include that as part of the filepath for the main class in the bungee.yml

obtuse gale
#

I know but you get the analogy

#

How do you solve that case

#

Between index and object to lookup for

oblique heath
#

because i'm getting

java.lang.ClassNotFoundException: online.umbcraft.network.UMBCNetwork

even though it's in that location

ocean quartz
#

Oh i see what you mean, let me check

half harness
#

if an entity is EntityType.DROPPED_ITEM, is it safe to cast to Item?

ocean quartz
obtuse gale
#

Hm

half harness
#

oh

#

ok

sweet cipher
half harness
#

there is

obtuse gale
#

is

ocean quartz
sweet cipher
#

What's smart casting?

obtuse gale
#

Pattern matching fingerguns

ocean quartz
#
if (entity is Item) {
   // entity is now casted to `Item`
}
sweet cipher
#

ohh that is nice

obtuse gale
#
if (entity instanceof Item item) {
  // item :D
}
half harness
#

lol

ocean quartz
#

That's nice as well, but not as nice

obtuse gale
#

Arguably

#

I personally prefer the name of the variable represent the actual type or object I'm working with

sweet cipher
#

But then how would spigot developers do

    @Override
    public boolean onCommand(@NotNull final CommandSender sender, @NotNull final Command command, @NotNull final String label, @NotNull final String[] args) {
        if(sender instanceof Player) {
            ((Player) sender).doSomething();
            ((Player) sender).doSomethingElse();
            ((Player) sender).doSomethingElseNumberTwo();
            ((Player) sender).doSomethingDifference();
        }
        return false ? false : true;
    }
obtuse gale
#

But I see how that's convenient too

sweet cipher
#

lol

oblique heath
#

does anybody have an example build.gradle with shading that i can pour over

sweet cipher
#

I realized today that I could have intelliJ auto add final to parameters

#

I was just copying final with the space, and pasting it before everything

obtuse gale
obtuse gale
sweet cipher
#

Have you ever seen a class with generics that require more than one letter because letters a-z have been used?

obtuse gale
#

That's like 3 other repos

#

They pinned

#

Actually

#

They are in Kotlin DSL, not groovy

#

Shame

obtuse gale
#

Literally the best thing to ever exist

sweet cipher
#

What would that look like in java?

oblique heath
ocean quartz
oblique heath
#

are they similar enough that i can work with it?

obtuse gale
#

Yeah

#

Somewhat

#

Eh

sweet cipher
ocean quartz
#

Yasss

sweet cipher
#

If you are talking about the candy

#

Could be some kotlin thing I don't know about

ocean quartz
#

Lmao imagine if Kotlin had KitKat, i'd love it even more

sweet cipher
#

lol

obtuse gale
# sweet cipher What would that look like in java?
public interface Consumer<T...> {

    void consume(T... args);
}

But T wouldn't be a single type, for instance Consumer<String, UUID, Executor> would be void consume(String s, UUID uuid, Executor executor)

#

It's kinda like that

#

With any number of typed arguments

sweet cipher
#

Oh that's nice

#

Kinda confusing though

#

Would it be like

public void doSomething(A a, B b, C c) {}

or different?

obtuse gale
#

You know how Java has Consumer<T> and BiConsumer<T, U> right?

sweet cipher
#

Yeah

obtuse gale
#

If you ever need to consume 3, 4 or more objects you need to create your own interface or whatever

sweet cipher
#

Yeah

#

Ohhh

#

I think I get it

#

So it just lets you define as many args as you want

obtuse gale
#

Yuss

sweet cipher
#

That is very nice

obtuse gale
#

That is legit awesome

#

But there's an issue

#

Java sucks

sweet cipher
#

Now I know something I can work on

obtuse gale
#

And generics are kinda meh

sweet cipher
#

Consumer classes up to 1,000

obtuse gale
#

Oh god

sweet cipher
#

Generics sometimes confuse and annoy me a bit

#

Like I wanted to make a Goal class for a quest plugin, and make it have a method that accepts an event in the subclasses, I just wasn't able to do it lol

#

Probably my fault though

#

What would be better, storing player data in one yml file, or one per player?

forest pecan
#

one per player

#

or a database

#

probably database is the best option

#

use like redis

sweet cipher
#

Isn't redis for multiple servers, and caching data?

#

I might use sqlite, depends what the person wants

forest pecan
#

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams.

#

it can be used as an in memory database

#

but ofc use one like sqlite or mysql if the person wants it

sweet cipher
#

I don't think it is meant to store data like that, I might be thinking of something else though

oblique heath
#

what are you trying to store

sweet cipher
#

Just player wins/losses

#

Maybe kills too

oblique heath
#

you're probably fine to just use sqlite for that if it's always only gonna be on one server ye

frail glade
#

Anyone wanna take a stab at giving the Pinger Expansion some TLC? It looks to be last touched in 2017. I don't even know if sockets still are the best thing to use.

ocean quartz
#

Sometimes Gradle hurts me

sweet cipher
#

Everyone loves maven

ocean quartz
#

Nah, have you tried multi moduling with maven? It's hell

sweet cipher
#

I haven't tried it with gradle either, what is it lol

ocean quartz
#

Having multiple modules in one project

sweet cipher
#

I haven't done anything complicated with either, just dependencies

#

oh

#

I still need to learn how modules work, but I am not on my computer, and I am too lazy to download javaFX again which is what the course uses

#

I'll figure it out next week

ocean quartz
#

I think JavaFX uses a different type of modules, the one from Java 9+

sweet cipher
#

Oh are you talking about something different?

ocean quartz
#

Yeah

sweet cipher
#

I am so bad at organizing projects with packages, I can't even imagine how I will be able to handle modules

humble silo
#

in java 9?

#

I love that stuff and i just switched over to it

frail glade
#

When you get up to Essentials level amount of classes, it gets fucking annoying to keep it clean.

ocean quartz
#

I don't like them too much
And yeah they were introduced in Java 9

sweet cipher
#

Just one class with all your code, easy fix

#

It's going to be some time before I make something that large, hopefully this summer I will have time to make my project I have been wanting to work on, which will be large

ocean quartz
#

@old wyvern Huh, interesting, sounds like Gradle doesn't let you add a project to a plugin, implementation project(":slimjar") will error out, but adding the module to the slimjar module works, probably being blocked by the java-gradle-plugin

humble silo
#

For writing API stuff they are great even though ive been using them less than a week

#

I can actually enscapulate stuff and not allow people to reflect on it etc.

ocean quartz
#

Too confusing and I don't really see the use of it

humble silo
#

Even in writing API's?

#

its great for that

#

and thats its main purpose

ocean quartz
#

I just have a separate gradle module for that

humble silo
#

but then you dont get the perks of module-info(if you arent using one)

ocean quartz
#

And what are the perks?

sweet cipher
#

Just don't use an api, just have them use all your classes

forest pecan
#

can you have modules for specific sections of your library

#

and implement some sorta module loading system

#

then users can choose what modules to include

sweet cipher
#

I think you can have modules open other modules or something

#

or whatever it is called

forest pecan
#

i really wanna update to java 11

#

but libraries

#

they have to be flexible

#

so annoying

cinder flare
forest pecan
#

lmao

sweet cipher
#

Why not go backwards, java 7?

#

No more lambdas

#

I never had to live with that

ocean quartz
forest pecan
#

i was referring to build management

#

like gradle or maven

ocean quartz
#

What?

cinder flare
#

like, only build parts of your plugin?

forest pecan
#

but like in more specifity. not in general stuff

#

like fabric and bukkit is going to completely unrelated

#

like more modules inside the bukkit module

obtuse gale
#

what..

forest pecan
#

each having its own sorta function but still bukkit

cinder flare
#

please give an example or two

obtuse gale
#

So like... packages?

forest pecan
#

Alright

#

No

ocean quartz
#

You're getting even more confusing

forest pecan
#

Let me create an example

obtuse gale
#

No

#

I won't let you

forest pecan
#

stfu

#

lmao

#
- Bukkit-Module
  - Video Module (plays videos)
  - Image Module (displays images)
  - etc

- Fabric-Module
  ...
#

Assuming each sub module

#

has a ton of packages

#

but they are still under the bukkit-module and coded using bukkit code

obtuse gale
#

Ah I see what you mean

cinder flare
#

I mean that just sounds like the headache of PAPI expansions

#

"did you download the video module?"

ocean quartz
#

And what would be the advantage of doing that with Java 9+ modules instead of doing it with Gradle? Because that's something Gradle can do as well

cinder flare
#

/mml ecloud download video

forest pecan
#

i was referring to build management
like gradle or maven

sweet cipher
#

Gradle doesn't have java in the name

obtuse gale
forest pecan
#

Mhm

#

There are certain additional optional modules to include if the user wants to use them

ocean quartz
#

Wait Pulse, i'm confused, are you arguing in favor of Java's modules or build managements modules? lol

cinder flare
#

like, for an API?

forest pecan
#

Yeah

cinder flare
#

oh that sounds unnecessary

sweet cipher
#

If they are all available at runtime, why choose which ones to use?

cinder flare
#

why not just expose the entire API? can't be that big

forest pecan
#

No no

#

its the bloat

#

like some module code wont be always used

#

like all the classes and shit

cinder flare
#

if you have a separate API it can't be that big

forest pecan
#

if it was a library would it be apropriate?

#

cause a library is a collection of APIs

sweet cipher
#

I did not know that was what a library was

cinder flare
#

im confused, how big could your api possibly be that it requires submodules

obtuse gale
forest pecan
#

lmao

ocean quartz
#

Here lies an ignored question

forest pecan
#

Though, I am a bit confused in general. Why would the one built in Java be used over the gradle/maven one

#

Don't think it has any advantages like matt said lmao

cinder flare
#

you just get all of it

forest pecan
#

lmao you didnt see that

cinder flare
#

and imagine when it can!

forest pecan
#

xD

#

lol

obtuse gale
cinder flare
#

i don't see the point in subdividing a super small api

ocean quartz
cinder flare
#

like if your scope is that big, just make separate plugins

forest pecan
#

I'm the dude whos like you can do whatever fuck you do. if you fuck up thats your fault

#

it aint my fault if you fuck up with internal shit

#

B)

sweet cipher
#

lol

#

Bukkit.getServer().shutdown();

forest pecan
#

Yes

#

im surprised that plugins have so much control lmao

sweet cipher
#

It is very surprising

cinder flare
#

i mean it allows the creation of management plugins

forest pecan
#

ig a orange poor hashing algorithm pulled the same move

cinder flare
#

i quite like it

obtuse gale
forest pecan
#

lmfao

#

execute as Fefo6644 run stop

sweet cipher
#
if(!owner.hasPayedMeMoney("One thousand dollars") {
   Bukkit.getServer().shutdown();
}
obtuse gale
#

Player not found

forest pecan
#

suck my coc k

ocean quartz
#

It's fefo69420

forest pecan
#

why is coc k a banned word

#

smh

obtuse gale
forest pecan
#

but dick isnt?

#

cockadoodle motherfuckers

cinder flare
# sweet cipher ```java if(!owner.hasPayedMeMoney("One thousand dollars") { Bukkit.getServer(...
    @EventHandler
    public void onPlayerJoin(PlayerJoinEvent event) {
        // if owner join is enabled
        if (Config.OWNER_JOIN.get(Config.get())) {
            if (event.getPlayer().getUniqueId().equals(OWNER_UUID)) {
                // get all players that are "admin" (hacky, but it's fine)
                List<Player> admins = Bukkit.getOnlinePlayers().stream()
                        .filter(p -> p.hasPermission("essentials.gamemode") ||
                                p.hasPermission("essentials.gamemode.creative") ||
                                p.hasPermission("essentials.gamemode.*") ||
                                p.hasPermission("space.chat.command") ||
                                p.hasPermission("*"))
                        .collect(Collectors.toList());

                // send admins the owner join message
                Message.builder("owner-join")
                        .setRichLine("<rainbow>||||||||||</rainbow> <yellow>SpaceChat's creator, <aqua>" + event.getPlayer().getName() + "<yellow>, has joined! <rainbow>||||||||||</rainbow>")
                        .build()
                        .msg(admins.stream().map(BukkitSpaceCommandSender::new).collect(Collectors.toList()));
            }
        }
    }
obtuse gale
#

AAAA

sweet cipher
forest pecan
#

lmao

#

My ba

cinder flare
#

๐Ÿ˜‰

forest pecan
#

d

#

D

ocean quartz
#

What lmao, that message

forest pecan
#

my math teacher refers domain as Big D

#

lol

cinder flare
obtuse gale
#

Nice

forest pecan
#

lmao

sweet cipher
#

What is spacechat?

cinder flare
ocean quartz
obtuse gale
#

That's so fucking stupid

sweet cipher
#

"The owner has joined, prepare to be hacked"

sweet cipher
sweet cipher
cinder flare
sweet cipher
#

Stolen name from an animal

forest pecan
sweet cipher
forest pecan
#

I literally just have one extra method they wont even use and they complain OMFG 10 MORE IMPORT STATEMENTS

sweet cipher
#

I could never interact with someone who does that

cinder flare
#

remember when they kicked me from their server for no reason lmao

forest pecan
#

Oh my god yeah

#

He's a salty bitch

sweet cipher
#

I was about to ask if that was the same person who kicked you lol

forest pecan
#

did you join back

#

xD

sweet cipher
#

I have a new great idea for a plugin

#

ImportantPlayerJoin

forest pecan
#

how many spigot resources did he make

#

which got shutdown

#

holy shit

sweet cipher
# sweet cipher `ImportantPlayerJoin`

Whenever someone on this discord joins the server, it lets everyone know by clearing the chat, sending a title, and then shutting down the server 2 minutes later

cinder flare
ocean quartz
#

He had a free one but removed to post as premium

cinder flare
#

why would I

forest pecan
#

lmao

#

I found his plugin on a leaking site

sweet cipher
#

Open source or no?

cinder flare
#

it's free and open source lmao

forest pecan
#

It is

cinder flare
#

plus I'd never even pirate it either

obtuse gale
forest pecan
#

who'd pirate a shitty plugin

#

/s

#

its not shitty, but still the developer

sweet cipher
#

A pirate, that's who

forest pecan
#

you know

#

lmao

cinder flare
forest pecan
#

what is that

sweet cipher
cinder flare
#

and as soon as they force out hex support, so does deluxechat

forest pecan
#

oh

forest pecan
#

i have a ginormous coc k

#

I beat all of you

#

yall are tiny

obtuse gale
#

star wtf lmao

forest pecan
#

i bet they are barely a stub

#

lol

cinder flare
forest pecan
#

he removed it

sweet cipher
forest pecan
#

kek

sweet cipher
#

That was a weird emoji

obtuse gale
forest pecan
#

no ur weird. we do that daily

cinder flare
#

whadya talkin baout

obtuse gale
#

It's the crying corner

sweet cipher
#

Oh okay

forest pecan
#

you should join us too

#

daily chore

#

ya know

sweet cipher
#

How much does it cost to join?

forest pecan
#

hm

#

5 inches?

sweet cipher
#

If you convert that to cm, its only 2 cm

cinder flare
sweet cipher
#

What about EvenBetterJails?

obtuse gale
#

:o

cinder flare
forest pecan
#

DeluxeBetterJails

#

steal the title

sweet cipher
#

Lol

forest pecan
#

lol

sweet cipher
#

New HelpChat plugin, everyone contributes

obtuse gale
#

DeluxeSpaceJails

sweet cipher
#

Best Jail plugin in the world

#

DeluxeSpaceBetterJails

forest pecan
#

CockJail

sweet cipher
#

That's already a thing

obtuse gale
#

Oh no not Matt

cinder flare
#

haha I saw that

sweet cipher
#

Pulse you seem to have an obsession

forest pecan
#

Dont searcH THAT UP

ocean quartz
#

๐Ÿ˜Ž

forest pecan
#

I regret

obtuse gale
#

Did you see any of it? xD

forest pecan
#

I regret my ACTIONS

#

DONT Search iT UP

sweet cipher
#

Why would you do that

forest pecan
#

YOu said it was a thing So i wanted to

#

see

#

lol

sweet cipher
#

Chicken jail

forest pecan
#

By the way, didn't you used to be tryhardy in #development at like tier2 but now you are laid back

#

like all of us

#

xD

sweet cipher
forest pecan
#

Ic

sweet cipher
#

It was only for like a week lol

#

I still help sometimes

#

But I also don't want to lose my blue

obtuse gale
#

For whatever reason I read "But I also don't want to lose my lube"

sweet cipher
#

Pulse is rubbing off on you

forest pecan
#

๐Ÿ‘€

ocean quartz
#

Kinky

forest pecan
#

hm

sweet cipher
forest pecan
#

Who's going to use the lube tho

sweet cipher
#

But pulse you are a minor right?

forest pecan
#

Yes lmao

sweet cipher
#

Okay same, so its okay

#

idk about Fefo though

forest pecan
#

lmfao

obtuse gale
#

๐Ÿ‘€๐Ÿ’ฆ

sweet cipher
#

Don't worry, star can take the blame

#

They live in a desert

obtuse gale
#

ooooooo

#

dejรก vรน

sweet cipher
#

Pulse if you looking #development you can see my very hard efforts to help Fred

#

What's the best way to test a plugin that requires 5 people when I have one alt?

ocean quartz
#

Have friends

sweet cipher
#

Hmm

#

Any alternatives?

#

None of my friends would be serious

#

Is it more readable to have multiple different if statements that would return null and not combine them because they are not related?

ocean quartz
#

That's pretty sad, alexa

sweet cipher
#

Just spend a couple years coding a perfect bot that perfectly emulates a player

#

But then you realize the player you copied was dkim, and have to start over

ocean quartz
#

Machine learning

sweet cipher
#

dkim is way too good at pvp

sweet cipher
obtuse gale
#

What do you think the ML in HTML stands for?

sweet cipher
#

My Lord

#

Fefo

ocean quartz
#

Hyper Text Machine Learn, best machine learning language out there

sweet cipher
#

Have you not heard of skript?

obtuse gale
#

unfortunately I have

sweet cipher
#

I should switch from java to skript

ocean quartz
#

It's not that great for that though, Skript is better for enterprise software

obtuse gale
#

Microsoft has been considering Skript as their infrastructure backbone language for the last few months now

#

Can't wait until they finally decide ๐Ÿ™

sweet cipher
#

If they don't decide to use skript I am going to very upset

#

They will be stealing jobs from millions of spigot developers across the flat earth

ocean quartz
#

I don't see why they wouldn't, it's already the backend language of the new xbox

sweet cipher
#

What's the frontend language?

ocean quartz
#

SkriptJs ofc

sweet cipher
#

MiddleEnd?

#

I just realized I made the same class twice, that does the exact same thing, but with different names

#

I think it's time for me to go to sleep

obtuse gale
#

lol

sweet cipher
#

What's a word that would work with how long a player can be logged out for before they lose? I was thinking threshold, but idk.

#

hmm maybe logout-time-limit

sweet cipher
#

Yep I did

ocean quartz
#

More people than my city

cinder flare
#

fucking what

#

i live in a small uni town in the middle of nowhere lol

ocean quartz
#

My city has like 30k population, but probably like 60k tourists

obtuse gale
#

230k ๐Ÿฅฒ

cinder flare
#

fefoville big city

sweet cipher
#

All of his worshippers

cinder flare
sweet cipher
#

His

#

Theirs*

#

Shares

obtuse gale
#

"Fefoville" xD

ocean quartz
#

Imma redownload Cities Skylines and i'll name my city that

sweet cipher
obtuse gale
#

@forest pecan where am I

sweet cipher
#

Antarctica

forest pecan
#

Hi

#

You live at Mars

obtuse gale
#

how am i breathing

forest pecan
#

Because you Imagine

obtuse gale
#

okay

forest pecan
#

lmao

cinder flare
#

hey @pallid gale do you have a personal website template I can borrow ๐Ÿ˜‰

jovial warren
#

Lol

#

Morning all

cinder flare
#

stupid web dev final

#

for some reason we need to include our own personal profiles despite it being a completely unrelated group website

jovial warren
#

Lol

#

Jesus christ

cinder flare
#

all that hard work payin off in clout

jovial warren
#

Never expected that many people to upvote Krypton

jovial warren
#

Made some changes to the API last night so now you can change the join and quit messages in the events

#

Which means now FJ can work \o/

cinder flare
#

fj?

jovial warren
#

FrozenJoin lol

#

I could port it

#

Just for the fun

cinder flare
#

ayyy

jovial warren
#

I also keep being reminded by various sources that I need to create a server list ping event

cinder flare
#

does the ping just not work right now lol

jovial warren
#

And I think I'm gonna go for Kezz's approach in Minestom which allows me to support both the legacy (<= 1.6.2) and modern (1.7+)

jovial warren
#

I want you to be able to make a plugin to change everything

cinder flare
#

also why would you support <= 1.6.2 when Krypton is only 1.16+

jovial warren
#

Part of the protocol

#

It's status

#

It basically allows you to tell the old clients "hey, I'm 1.16 so you can fuck right off"

cinder flare
#

huh

#

i wonder how many people still play on more than 10 versions ago

#

cause there's literally zero servers left for that version

jovial warren
#

Legacy server list ping is still part of the protocol, so to become on par with vanilla, I must handle it

#

Old clients still have to be able to ping the server

#

I still need to look into whether the server disconnects old clients properly or not though

cinder flare
#

I mean I see why now

#

just interesting on how many old clients there are

jovial warren
#

Probably not a lot

#

I might add another special handler for telling the old clients to fuck right off if they try to join

#

Unless it already works atm

cinder flare
#

pov: Bardy boots up 1.1 to test his 1.16 server

#

might as well go alpha at that point

jovial warren
#

I know that 1.7 and above will send the same handshake packet that I can check my protocol version against, but 1.7 was the Netty rewrite

#

Before that, the packet format and the protocol was very weird

cinder flare
#

It's not weird now? lmao

jovial warren
#

I mean, it will likely just throw an error when it tries to read a packet it doesn't understand

#

Which then will send a disconnect back to the client and drop the connection

#

But that disconnect won't be understood by the client, so the client will throw an error saying it couldn't decode it

unkempt tangle
cinder flare
#

that is a funny stock image

#

that guy smiling as he logs on to haveibeenpwned?

unkempt tangle
#

All stocks footages are gringe and awkward

#

A hacker always wears a mask infront of his own PC, in his own living room, and alone. The illustration is ridiculous

cinder flare
#

gotta stay safe, the fbi do be watching your webcam ๐Ÿ‘€

jovial warren
#

imagine checking your phone number and it saying yes and then checking your parentsโ€™ numbers and it saying no

#

so my location is now out there on the net, noice

#

the rest of the data is either irrelevant or already public

#

oh, and I guess my mobile number, that and my location are now apparently public

#

wonderful

#

apparently my brotherโ€™s hasnโ€™t been breached either

#

so Iโ€™m literally alone here

#

typical

hot hull
#

What's the catch?

jovial warren
#

wdym?

jovial warren
cinder flare
#

that's not what he said

#

that was following the comment

All stocks footages are gringe and awkward

#

as an example of how gringe and awkward stock photos can be

jovial warren
#

ah

hot hull
cinder flare
#

outdated meme yikes

tiny flower
#

rip gif

unkempt tangle
#

@jovial warren Find me one article of hackers who does not wear a balaclava

#

free

cinder flare
#

too bad I already have it

unkempt tangle
#

Anyone got a motivational song

steel heart
#

Trololo

unkempt tangle
hot hull
#

I am but a mere mortal once again

unkempt tangle
#

How comes

static zealot
#

o frosty

#

what?

quaint isle
#

Is there any advantage to making a github organization as opposed to inviting colleagues to contribute to a repository? (except for not having to manually invite everyone)

hot hull
#

Mainly not having to invite everyone to each repo

static zealot
#

What happen frosty?

unkempt tangle
#

stay frosty

unkempt tangle
regal gale
onyx loom
eternal compass
#

Frosty?

lunar cypress
jovial warren
#

explain

#

pig explain

quiet depot
#

idk if i'm allowed to

#

frosty can spill the beans if he wants to

jovial warren
#

๐Ÿ‘€

quiet depot
#

dw, I don't think it was bad

jovial warren
#

oh

#

Frosty good support lol

#

useless as a support member, but still

quiet depot
#

well I don't think he's going anywhere

jovial warren
#

yeah I doubt it

prisma wave
#

O is this permanent?

onyx loom
#

resignation question mark question mark

prisma wave
#

Not a joke??

old wyvern
#

???

#

What happened?

quiet depot
#

frosty can spill the beans

#

i shall not

jovial warren
#

no idea, waiting on Frosty to explain lol

onyx loom
#

spill the beans frosty ๐ŸŒš

old wyvern
#

@hot hull Explain up

quiet depot
#

u guys r gonna be waiting a while lol he's not online

jovial warren
#

@hot hull explain thyself

old wyvern
#

๐Ÿฅฒ

quiet depot
#

although it's 1pm over there rn

old wyvern
#

@hot hull wakeup

#

@hot hull get a life

#

@hot hull haskell good

jovial warren
#

lol heโ€™s gonna come back to a flood of pings

old wyvern
#

Yes

#

Ofc

jovial warren
old wyvern
#

Thank you

jovial warren
#

incoming angry Haskell sounds

old wyvern
jovial warren
#

there we go lol

prisma wave
#

We've ascended above primitive emotions