#dev-general

1 messages ยท Page 578 of 1

ocean quartz
forest pecan
#

lol thanks

ocean quartz
#

Literally best plugin ever

#

That one and rainbow brackets ๐Ÿ‘Œ๐Ÿผ

terse tundra
#

ngl I switched to eclipse a while back when I had like no ram

#

I still to this day try use intellij shorcuts on eclipse

forest pecan
#

why did you switch

#

๐Ÿ˜–

obtuse gale
#

Then you'll get memory consumption similar to that of eclipse

vital creek
#

Hello one question. Does anyone sell or know a robot plugin for prisons?

obtuse gale
potent nest
#

a robot plugin for prisons could be a lot of things

obtuse gale
#

There is one thing it could not be

#

A not robot plugin for not prisons

soft remnant
#

Hello everyone, could you help me with a little something

#

in theory this is a quick way to get the chunks i need.

But in the process I realized that a lot of these chunks that are saved in the LinkedList<>, are saved repeated, so 3 chunks saved in the list is 1 really, making the list even bigger than it really should be . any way to fix this?

obtuse gale
#

That doesn't look like there should be any repeated chunks? thonking

prisma wave
#

@redempt Linkedlist

potent nest
obtuse gale
#

Well

#

That is not a not robot plugin for not prisons

#

It's out of scope of the resolution of this design

potent nest
#

Makes sense

soft remnant
soft remnant
obtuse gale
#

Messy? How would it be messy?

prisma wave
#

um

#

Yeah I'm not sure what you mean there

obtuse gale
#

An ArrayList would be better since you know the size of the scanned area, you can pass that as initial capacity

#

Although for something that small it doesn't really make a huge difference lol

old wyvern
#

Does it need to be ordered?

prisma wave
#

Poor Linkedlist

#

Always neglected

old wyvern
#

๐Ÿฅฒ

soft remnant
# prisma wave Yeah I'm not sure what you mean there

Excuse me, my English is not very good, but I already tried with arraylist, and when saving to a .json file or database they save messy, and by themselves they are not a 100% problem except for other things I do in the plugin.

prisma wave
#

Can you show an example of what you mean

old wyvern
#

they save messy Define messy

soft remnant
#

omg... xd

old wyvern
#

We need more info on whats going on

#

How does it serialize "messy"

soft remnant
#

I can't find the way to say it... I mean it's not in an orderly way, but the contrary.

old wyvern
#

It should serialize in the same way as your have in the arraylist

#

Can you give us an example output?

soft remnant
#

wait

obtuse gale
old wyvern
#

:typing:

#

๐Ÿฅฒ

#

Corporate discord

obtuse gale
#

Lmao

soft remnant
#

but well, as I said, it's not a problem in itself, I still know how to get the chunk I want even if the list is messed up.

but for the command and to know how many chunks are stored in the file I was forced to use linkedlist.

empty flint
#

Is there an elegant way to make a variable immutable after a certain point in the code?

prisma wave
#

copy it to a final variable?

empty flint
#

Like declare a var at initialization and after a certain method is executed, it cannot be changed anymore? (or only privately changed)?

prisma wave
#

no way of enforcing that at compile time really

empty flint
#

Yeah I know

#

I was just wondering, thanks ๐Ÿ™‚

prisma wave
#

UNLESS depending on the logic you can do like val blah = function()

#

Function does all the mutable stuff

#

And then RETURNS value

empty flint
#

Yeah but that's still final at initialization

#

what I was looking for was something like

#
var blah = ...
init {
  manipulate blah
  do something that depends on blah
  doSomething()
  lockDownBlah() to bake in final value (or make changing it only possible from inside the class
}
#

Because

#

doSomething() is open fun and I want anybody implementing it to have access to blah, but not be able to change it after initialization of the object

#

or rather, it's a function that is provided as a parameter to be exact, not open fun, sorry

#

It's not a big deal tho

jovial warren
#

I've been thinking about creating my own OS from scratch a bit, and realised I've got quite a few things to think about

#

First, whether I should actually bother creating my own boot manager or not
Second, how I should design the system. I'll probably go for something UNIX-like, but I'd rather not just copy something else
Third, what architectures I should support. I'm thinking of working on supporting x86 and x86_64 first, but I also want to try supporting ARM too, because I think it might teach me some more things

#

The issue with working on my own boot manager is that I want this to run on modern UEFI systems rather than legacy BIOS systems, meaning I have to read a few hundred page manual explaining how UEFI works lol

#

I also need to learn both C and x86 assembly (probably NASM) better

#

I mean, wanting to create my own OS is probably not the best first project to learn C and ASM, but hey ho, I ain't got any other ideas lol

wind patio
#

but why tho

jovial warren
#

Yeah

wind patio
#

Reinventing the wheel

empty flint
#

Does anybody know how to set up IntelliJ so it does not open the contents of the file in project explorer and only points to the currently opened file?

#

it always opens the current method I'm working on and clutters the whole project view

jovial warren
#

I was reading up about I think it's called APIC earlier

#

yeah, advanced programmable interrupt controller

jovial warren
#

lol

lunar cypress
#

every time i see this meme it's more cropped and jpeg fried

static zealot
#

lmao

obtuse gale
#

ah yes, jpeg

#

needs more jpeg

#

this website is awesome

static zealot
#

๐Ÿฅฒ

#

soon we'll have a 16 x 16 minecraft texture

obtuse gale
#

wow okay so I was doing

jar {
    metaInf { from(license.header) { into("$group/$name") } }
}

intending it to put the license file under the project group and project name, but for "whatever reason" it was putting the license file in META-INF/build/jar lmao
turns out that DefaultTask has a getGroup and a getName functions, showing the "group" ๐Ÿ™ƒ the task belongs in, and the task name

#

TIL kek

jovial warren
#

why tf is it so hard to find out how to just write some text to an HDMI monitor in C lol

onyx loom
#

ur actually going through with ur idea? ๐Ÿฅด

jovial warren
#

you mean to try and create my own OS? you bet

onyx loom
#

u seem to like enduring pain

#

hats off to u tho

jovial warren
#

lol

#

man, it's always the fucking peripherals that cause the problems lol

#

most modern day CPUs for desktops use the same architecture, x86 (or x86_64 for 64-bit)

#

you don't need any of this driver BS

obtuse gale
#

Hey, speaking of things from scratch, how's Krypton going? PepeLa

jovial warren
#

not bad

hot hull
#

Been on vacation for a week, holy fuck does looking at a monitor feel weird

jovial warren
#

apparently, CEA-861-F is copyrighted material and costs money to access

#

which is just fucking beautiful

#

unless I can find a free version, because I ain't paying for this lol

jovial warren
#

man these standards are fucking expensive

#

since when did you have to pay to access a standard

lunar cypress
#

you can definitely pirate important standards somehow

#

in a video game

jovial warren
#

probably

#

because I was thinking of trying to go for a POSIX system, since it seems like one of the most common and most agreed upon standards for compatibility

#

but these standards are like $800+

obtuse gale
jovial warren
#

get outta here

hot hull
#

Anyone need a quick plugin made for like 5$ cursed_fingerguns

prisma wave
#

Sex plugin

hot hull
#

You going ham on a bed?

prisma wave
#

Yeah man

#

You got a problem with that?

hot hull
#

Not necessarily

prisma wave
#

good

steel heart
#

Make me hypixel plugin

empty flint
#

I am having a brain meltdown with the simple things again

#

How do I read a file from the "root folder" of the plugin jar?

#

I am trying this:
YamlConfiguration.loadConfiguration(File(BLOCKY_YML)) but it doesn't seem to work ://

obtuse gale
#

well calling the File constructor with a relative path, it will be relative to the jvm execution (usually at the server folder... usually, not always)
you should do something like File(plugin.dataFolder, BLOCKY_YML)

empty flint
obtuse gale
#

what

empty flint
#

I tried with getResourceAsStream as well

#

this shit

obtuse gale
#

you want to load a yml file inside a jar?

#

a resource

empty flint
#

blocky.yml

#

yes

obtuse gale
#

oh boy you should be relocating a lot of that stuff

#

are you shading the entirety of a server jar?

#

anyway, plugin.classLoader.getResourceAsStream(path) should do it

empty flint
#

nah just didn't get around to doing the shading and relocating yet. I'll get to it, no worries

empty flint
#

I don't get it

obtuse gale
#

well it sure does work for me lol

#

any code in hand to review and check?

empty flint
#

Is it possible it doesn't work from an abstract class the plugin main class descends from?

obtuse gale
#

well I don't know the context

empty flint
# obtuse gale any code in hand to review and check?

lmao I butchered it now trying out stuff but...

  val configContent = classLoader.getResourceAsStream("blocky.yml")?.bufferedReader()?.use(BufferedReader::readText)
      .also {
        println("READ BLOCKY CONFIG: \n\n$it\n\n")
      }
  open val blockyConfig = YamlConfiguration.loadConfiguration(InputStreamReader(IOUtils.toInputStream(configContent)))

obtuse gale
#

so I can't really answer that

obtuse gale
empty flint
#

yes

#

in a superclass

#

I'll try in the main class

obtuse gale
#

assuming classLoader isn't a kotlin thing and is actually calling Plugin::getClassLoader(), then it should work?

#

unless these classes are in entirely different jars loaded by independent class loaders

#

which ccatrainbowshrug

stuck harbor
#

nice

empty flint
#

It works now and I have no clue why

empty flint
#
  /**
  * Load blocky.yml config from jar
  */
  open val blockyConfig: YamlConfiguration by lazy {
    YamlConfiguration.loadConfiguration(InputStreamReader(classLoader.getResourceAsStream(BLOCKY_YML)!!))
  }
#

this worked all of a sudden

empty flint
#

Hm

jovial warren
#

man, imagine using Bukkit config in 2021

#

use configurate

static zealot
#

yes. imagine not using matt's library or at least the original (configme)

jovial warren
#

configurate > triumph config

static zealot
jovial warren
#

the best configuration library I've ever found for the JVM

static zealot
#

interesting.

jovial warren
#

with support for JSON, YAML, HOCON, and XML natively, and open to more, commented configurations with ease, object mapping, a tree-based node API

obtuse gale
#

it's the best because zml's on the team

#

zmlpat uwu

jovial warren
#

lol

#

really tempted to ping zml because you said that

obtuse gale
#

@tiny tartan hi :3

jovial warren
#

and configurate has Kotlin and Guice extras too

#

it is literally the ultimate configuration library

#

no questions asked

ocean quartz
jovial warren
#

because Blitz mentioned your config library

static zealot
ocean quartz
#

I mean they function completely different, ConfigMe is about having constants

jovial warren
#

yeah

#

Configurate is about trees and POJOs

prisma wave
#

AQUABAMABEASSSSSSSEEEEEEEEE

static zealot
#

u alr?

jovial warren
#

he's BM, he's fine

#

he's always crazy like this

static zealot
#

k

prisma wave
#

the programmers hangout smells

#

and sucks

jovial warren
#

wat

#

Alex what are you on about

prisma wave
#

40 MINUTES since i asked a very important question and NO response

jovial warren
#

where is this?

static zealot
#

k. good

prisma wave
#

the programmer's hangout

#

WELL KNOWN discord server

#

they are

static zealot
#

lol

prisma wave
#

xD

#

XD

jovial warren
#

lol

#

forgot that counts

#

which channel?

prisma wave
#

haskell

ocean quartz
#

Understandable, who would want to answer in that channel ๐Ÿ˜ฉ

prisma wave
#

๐Ÿ˜ก

prisma wave
#

grrrrr

static zealot
#

is there like an easy way to convert integers to roman numerals? Like is there a kotlin method or something? or do I have to make one? ๐Ÿ˜ฆ

empty flint
#

Yeah I'm not adding that massive API to read 2 lines from my yml file, f that

static zealot
#

lmao xD

half harness
static zealot
#

welp. found a method online. hopefully it works

half harness
#

u can google for a better method

#

ye

static zealot
#

yeah. found one with all numbers support

#
fun convert(number: Int): String {
    val numbers = linkedMapOf(
        1000 to "M",
        900 to "CM",
        500 to "D",
        400 to "CD",
        100 to "C",
        90 to "XC",
        50 to "L",
        40 to "XL",
        10 to "X",
        9 to "IX",
        5 to "V",
        4 to "IV",
        1 to "I"
    )

    numbers.keys.forEach {
        if (number >= it) {
            return numbers[it] + convert(number - it)
        }
    }
    return ""
}``` with a bit of recursion as well. I edited it a bit but basically what I Found.
empty flint
#

I grabbed this from somewhere long ago, it's in javascript but you could probably figure out how to translate it to java or kotlin

function printRoman(number)
{
    let num = [1,4,5,9,10,40,50,90,100,400,500,900,1000];
    let sym = ["I","IV","V","IX","X","XL","L","XC","C","CD","D","CM","M"];
    let i=12;
    while(number>0)
    {
    let div = Math.floor(number/num[i]);
    number = number%num[i];
    while(div--)
    {
        document.write(sym[i]);
    }
    i--;
    }
}
forest pecan
#

use a map instead

#

or smthing

#

to store digits -> characters

steel heart
static zealot
#
private val numbers = linkedMapOf(
    1000 to "M",
    900 to "CM",
    500 to "D",
    400 to "CD",
    100 to "C",
    90 to "XC",
    50 to "L",
    40 to "XL",
    10 to "X",
    9 to "IX",
    5 to "V",
    4 to "IV",
    1 to "I"
)

fun convert(number: Int): String {
    numbers.keys.forEach {
        if (number >= it) {
            return numbers[it] + convert(number - it)
        }
    }
    return ""
}``` ye this is what I ended up with.
forest pecan
#

you'd actually be surprised how few libs actually do this

#

xD

steel heart
#

lol

static zealot
#

haven't tested it and it will take a while until I Will xD

forest pecan
#
public Plugin getPlugin(Class<?> clazz) {
  return getPlugin(Bukkit.getPlugn(clazz).getClass());
}
steel heart
#

I can no longer let you live

wind patio
static zealot
#

yes. intentional. not a mistake

obtuse gale
# wind patio

the one reason you would need to learn how to invert a binary tree is to pass an exam that asks how to invert a binary tree

onyx loom
obtuse gale
#

yes

onyx loom
#

public Plugin getPlugn(Class<?> clazz) {
return JavaPlugin.getPlugin(clazz);
}

steel heart
#

static also

onyx loom
steel heart
#

but myes

urban sleet
#

Would it be possible to have a second line on an actionbar?

obtuse gale
#

probably not, does a newline component not work?

#

actually action bars are weird as fuck

#

there are like 2 different packets that can show action bar messages, but they "mean" different things?

obtuse gale
#

๐Ÿฅฒ

onyx loom
#

๐Ÿ˜ตโ€๐Ÿ’ซ

prisma wave
#

๐Ÿ˜ตโ€๐Ÿ’ซ

static zealot
#

hmmm

#

why tho?

ocean quartz
#

Idk, that was a piece of code posted in development

prisma wave
#

has anyone seen the new intellij "dependencies" tab

static zealot
#

yes

prisma wave
#

i think it might be my new favourite thing in the world

#

it's so good

wind patio
#

yeah it's nice

static zealot
prisma wave
#

YEAH

#

and it can automatically upgrade all of them ๐Ÿ˜

static zealot
#

can it?

#

where do I enable that?

tiny tartan
prisma wave
static zealot
#

oh. ok

#

cool

winter iron
#

Intellij ๐Ÿ˜

#

So intelligent

wind patio
#

I noticed it doesn't work with some dependencies

#

Where there is an actual newer version but it doesn't show up

prisma wave
#

what in tarnation

obtuse gale
#

kotlin bad

prisma wave
#

evidently

wind patio
#

k ๐Ÿคฎ tlin

prisma wave
#

i'd like to see the kotlin shills "explain" this one!!

#

VVVVVVVVVVVVVVv

static zealot
#

bcz matt's command framework works, same for gson and kotlin but not with the config or paper api which are both not on maven central

#

which is a bummer. but hey. it at least does some things

#

I think I broke it ๐Ÿคฃ

#

someone recommend me a lightweight screen capture for linux please (using popos)

half harness
#

or at least i think a version string that is like 1.032176598712983798217439821 is unstable

static zealot
#

this shit funny as hell

static zealot
#

oh right. I Think I've used that one before

half harness
#

wait

#

no

static zealot
#

... xD

half harness
#

wait

#

kotlin stdlib works

#

its on central

#

right?

wind patio
static zealot
#

installed kazam now. used it before resetting everything

#

man this shit funny as hell.

#

it like auto refreshes or something xD. I enabled the Kotlin multiplatform thing and it broke

ocean quartz
static zealot
#

at the bottom

ocean quartz
#

Hmmm i don't have that, time to search

#

Found it

static zealot
#

lol

half harness
static zealot
#

what?

ocean quartz
#

It only searches on this repositories

half harness
static zealot
#

right.

static zealot
half harness
#

lol

wind patio
ocean quartz
#

23M artifacts holy

wind patio
#

lol

#

2004

#

one

half harness
ocean quartz
#

On the website

half harness
static zealot
#

ok kazam... xD

#

there we go. finally

#

so this is something that's happening lol

#

xD

jovial warren
#

unless that somehow is not an ID-10-T

#

which seems extremely unlikely

prisma wave
#

well i havent done anything to cause that issue

#

so it's either DCEVM or kotlin being bad

jovial warren
#

how did it come about?

#

because obviously, kotlin/Result isn't being bundled in to the runtime properly

prisma wave
#

it very much is

#

i have checked the jar and it definitely exists

ocean quartz
#

Is it hotswap?

prisma wave
#

yeah

#

only happens in debug mode

ocean quartz
#

I've had it happen before

#

Even in Java

prisma wave
#

very annoying

#

also wtf why does kotlinx.serialization break when a Collection is a Set

#

like

#

im trying not to circlejerk but this unironically seems like kotlin bad

obtuse gale
#

lmao

prisma wave
#

stupid

wind patio
#

is that even possible

prisma wave
#

well no

#

but it's a Collection

#

DAJDAIJDAIDJ

#

???

obtuse gale
#

I mean I can see, but why

prisma wave
#

idk!!!

#

it makes no sense

obtuse gale
#

I guess all collections are lists ๐Ÿฅด

prisma wave
#

i can only conclude that kotlin bad

wind patio
prisma wave
#

only rational explanation

obtuse gale
wind patio
#

finally, some wise words

prisma wave
#

theyre taking the piss

#

they hook us in to the "better" option and then it BREAKS

obtuse gale
#

lol I was looking for json libs for scala

#

regex BRO

wind patio
#

\\\\\\\\\\\

obtuse gale
#

\\\\\\\\\\\\\\\\\\\\\\\\\\

prisma wave
#

oh my

wind patio
#

how would you name it

#

escape of an escape character which escapes escape character which escapes another escape character

obtuse gale
#

literally regex

wind patio
#

hated regex back in the day

#

||still hate it||

prisma wave
#

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaa

#

FUCK YOUOUUUUOIUEQOUEQOUEQ

wind patio
#

that's what you get for using kotlin

prisma wave
#

it actually is

#

this was working fine with gson

obtuse gale
#

why are you shading guava lmao

#

caffeine ๐Ÿ˜Œ

prisma wave
#

i

#

BAKMDLKADMADLKMASDLKM

#

pardon me

obtuse gale
#

B.A.A.S - Too many caps!
No need to shout.
Barry's Anti Abuse System | v1.4.6

prisma wave
#

no, i am not shading guava

#

i just uh

obtuse gale
prisma wave
#

WTF

forest pecan
#

caffeine op

prisma wave
#

kotlin can do indescribable things to my genitals

#

fuck this

#

fuck this dumb language and dumb library

prisma wave
#

it's coming from guice

#

which has a newer version than spigot

forest pecan
#

your genitals contain guice

obtuse gale
#

and you are relocating com.google ๐Ÿฅด

prisma wave
#

no

#

com.google.common

#

and com.google.inject

obtuse gale
#

why are you relocating guava lmao

prisma wave
obtuse gale
#

exclude it altogether

prisma wave
#

because otherwise it breaks

#

no

obtuse gale
#

meh

prisma wave
#

cant

#

fuck you too

obtuse gale
#

my pleasure

prisma wave
#

you're just as bad as kotlin

obtuse gale
#

wow

#

that's

#

quite an insult.. a new low

prisma wave
#

FUCK YOU ITS A FUCKING ENUM WTF

prisma wave
#

THIS STUPID ASS LIBRARY

#

DOESNT DO ANYTHINF RIGHT

obtuse gale
#

๐Ÿคฃ

prisma wave
#

IT ADDS ABOUT 50 MB JUST TO BREAK

ocean quartz
#

I'm saving this

obtuse gale
#

@bardy

obtuse gale
#

MATT

forest pecan
#

@prisma wave

obtuse gale
#

best of helpchat!!!

forest pecan
#

add that image

#

yessir

ocean quartz
#

Yes!!

prisma wave
#

xd

#

in a minute

#

im busy

#

oh

#

i figured out what was happening

obtuse gale
prisma wave
#

STUPID kotlin serialization has a seizure when a polymorphic thing has a property called type

#

and so we get this

#

good job

obtuse gale
#

lol

prisma wave
#

no error raised, i might add

#

not until it tries to deserialize later

obtuse gale
#

gson ๐Ÿ˜Œ

prisma wave
#

to be fair, kotlinx is nicer with sealed classes and stuff

#

but holy shit is it dumb sometimes

ocean quartz
#

Yeah only time I think kotlinx is better than gson is with sealed classes

#

You can change the type btw, so it's not the package, etc

prisma wave
#

i dont know what that means

obtuse gale
#

kotlinx:

static zealot
#

๐Ÿ˜ฎ

prisma wave
#

LOVE IT

#

GOODEST ANALOGY

#

HAHA

obtuse gale
#

lol

static zealot
#

i want to die. :)()()()()()()()()(

ocean quartz
#

Same

obtuse gale
#

tbh

ocean quartz
forest pecan
#

what do yall think of functional java

static zealot
#

OMFG. First time in forever that the math I learnt in highschool helped me

obtuse gale
#

what did you do lol

obtuse gale
static zealot
forest pecan
obtuse gale
#

blitz

#

omg

obtuse gale
#

what library?

forest pecan
static zealot
obtuse gale
obtuse gale
forest pecan
#

lol

obtuse gale
#

vavr good

static zealot
#

also. I'm so fucking confused. why does spigot's Location#distance use sqrt(distanceSquared) ?????

#

oh wait.

#

nvm

#

fuck me

#

please

#

but hard

#

like I Want it hard

obtuse gale
#

because that's how you calculate it..?

forest pecan
# obtuse gale vavr good

the only i dont like sadly is that it conflicts with that java classes and it can be annoying sometimes

#

like List

obtuse gale
#

you add the squares of each component together and take the square root

obtuse gale
#

I've used it a few times and only encountered an issue like that once only, with Future I think? I opted to fully qualify Java's Future

#

I could have easily avoided it tho

static zealot
static zealot
#

oh man. I love @ruby crater

obtuse gale
#

Lmao

eternal compass
#

lmao

onyx loom
#

@ pig fix ur shit

static zealot
#

well. no. they should not use the command. smh

onyx loom
#

sarcasm is hard to sense sometimes

static zealot
#

yes. especially when it is used as answer to sarcasm

forest pecan
#

in slimjar, do I have to specify relocation as a requirement?

ocean quartz
#

Wdym?

forest pecan
#

Relocation isnt handled by slimjar automatically right. I have to do it in the slimjar block

half harness
#

yes

forest pecan
#

Kk

half harness
#

so u can just move all relocations to slimjar block

#

including slimjar itself

static zealot
cinder flare
#

yeah I already did

static zealot
#

but u didn't answer. do u know em?

forest pecan
#

I seem to be getting a NoClassDefError. I am making sure I ran the ApplicationBuilder first before I even defined an instance of any of my dependencies classes

#

does it have to do with imports?

#

Do i have to create some sort of bootstrap class and then call the onEnable code

cinder flare
static zealot
ocean quartz
forest pecan
#

oh oops

#

?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

forest pecan
#

Im running gradle licenseFormatMain shadowJar slimJar

ocean quartz
#

Remove the slimJar from it

forest pecan
#

Oh ok

#

I seemed to get the same error, but I feel like its something referencing my dependencies even tho there is nothing in my onEnable that references it

#

i have to keep it in a different class to be safe

#

i also have no static blocks or vars either

ocean quartz
#

Might need to invoke yugi

forest pecan
#

invokedynamic @old wyvern

onyx loom
#

yugi.invoke()

static zealot
#

yes. hello

half harness
#

OH

#

YUGI

#

TRUSTED

#

๐Ÿ‘€

static zealot
#

clearly

half harness
#

GG

static zealot
#

yes. I am waiting

half harness
#

yes plz wait

forest pecan
#

Yugi

#

TRUSTEd

#

Aiyo

static zealot
#

Crazy!

obtuse gale
#

WOAH

#

what happened :0

static zealot
forest pecan
#

why did i expect that

half harness
#

lol

static zealot
#

I mean. it is me we're talking about.

#

for those that have not noticed yet, welp first of all I feel bad ||sorry|| and second of all:

forest pecan
#

oh my

#

god

forest pecan
#

i really did fall for that

half harness
#

i clicked the profile

#

but

#

still thought it was yugi

forest pecan
#

^

half harness
static zealot
#

clearly my tactics are to good for you fools

half harness
#

but deleted it

#

but blitz didn't delete his message

#

so now it looks weird ._.

static zealot
#

yes. you are weird dkim indeed

onyx loom
#

"trusted" role yet always breaking the rules

half harness
#

lol

static zealot
#

||hehe||

#

idk what you're talking about tbh

#

help

#

I need help

compact perchBOT
#

There is no time to wait! Ask your question @static zealot!

static zealot
#

there we go

onyx loom
#

I need help

compact perchBOT
#

There is no time to wait! Ask your question @onyx loom!

static zealot
static zealot
onyx loom
#

please do

obtuse gale
#

No

static zealot
#

๐Ÿ˜ฆ

obtuse gale
#

He's ugly

static zealot
#

๐Ÿ˜ญ

half harness
#

oof

onyx loom
#

I need help

compact perchBOT
#

There is no time to wait! Ask your question @onyx loom!

onyx loom
#

help

static zealot
obtuse gale
#

No, that is indeed identity theft

static zealot
#

Kaliber why are you awake? its like 2 am for you

onyx loom
#

and it's 3am for u

static zealot
#

4

onyx loom
#

so how about u go to sleep

#

same thing

#

3 = 4 now

static zealot
#

but all my ideas!!!

obtuse gale
#

@onyx loom hello

#

STaff

#

Support

onyx loom
#

@obtuse gale hello

static zealot
#

well. I have a trello for them. so. maybe. I can go to sleep?

#

but I clearly will not want to work on this for another month

onyx loom
#

is this for plugin jam?

static zealot
#

yes

#

!

onyx loom
#

wtf why u so organised

static zealot
#

idk. I spent the past like 4 or 5 hours on this

#

a lot of reading mostly since I want to do stuff I never worked with

onyx loom
#

๐Ÿฅด

quiet depot
#

hello

static zealot
#

hi

onyx loom
#

hi

ocean quartz
#

Heyo

quiet depot
#

๐Ÿธ

onyx loom
#

๐Ÿฎ

static zealot
#

I actually have some cool ideas. probably have been done before but still cool

#

but no time or experience to get all of em

#

in 6 days

onyx loom
#

learning is learning

static zealot
#

true

#

I don't mind

onyx loom
#

u will come out as a new man

static zealot
#

I'll probably finish this even if its after the event ends

obtuse gale
#

@quiet depot ily

quiet depot
#

i remember saying that about my plugin entry

obtuse gale
#

I'm low-key drunk emoji

quiet depot
#

gets drunk but still hasnโ€™t eaten the seeds

static zealot
onyx loom
#

๐Ÿฅด

obtuse gale
static zealot
obtuse gale
#

It helps me depression

#

It enhances it

static zealot
#

today meaning the entire night. bcz its 4 am

quiet depot
#

iโ€™m sure these seeds have some sort of anti depressive shits in them

#

looking at those chemicals, itโ€™ll probably cure ur depression

onyx loom
#

native to South america

#

Emily just go outside ur house and cure ur depression, ez

static zealot
#

I tried

#

then saw how much better life is going for others

#

and made me even more depressed

onyx loom
#

๐ŸŒž

static zealot
#

I really hope matt won't judge commits lmao.

#

bcz there will only be one

#

well 2 with the initial one

ocean quartz
static zealot
#

....

#

welp fuck

onyx loom
#

๐Ÿ˜ฌ

static zealot
#

wasted 5 hours

#

good buy

#

not participating anymore

#

lmao. gonna name this "Preparing everything" and then start from there

#

xD

half harness
static zealot
#

k. u use those then

#

I Don't care enough

forest pecan
#

Ok so i managed to get slimjar working, but it cant find adventure for some reason hm

#

?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

ocean quartz
#

Is it the bom?

forest pecan
#

wdym

#

(im doing the loading in a static block)

ocean quartz
#

Uh, idk

humble silo
#

kinda hard actually since theres no documentaiton

#

hmm

#

give me 30 mins

forest pecan
#

turns out the reason is due to snapshot versions

#

net.kyori:adventure-platform-bukkit:4.0.0-SNAPSHOT

#

i have to shade that

ocean quartz
#

That should still work, pretty sure snapshot work

forest pecan
#

thats odd
implementation("io.github.slimjar:slimjar:1.2.6")
id("io.github.slimjar") version "1.3.0"

obtuse gale
#

I think spigot is trying to send me a message...

half harness
#

๐Ÿฑ

remote goblet
hot hull
#

All you're missing now is Submissive

steel heart
old wyvern
hot hull
#

The sky

jovial warren
#

unless that's not what kind of mixins this is for

steel heart
#

Mixouts

hot hull
#

@jovial warren That's a C not a K

wind patio
#

gradle borken

steel heart
#

that looks like visual studio code theme kek

wind patio
#

yeah, it actually is, I like the color scheme more

forest pecan
#

I tried one and I got an error

jovial warren
wind patio
#

isnt there a player collide event

#

or entity

hot hull
#

not necessarily, there's better ways to do it probably tho

wind patio
#

Custom hitbox class perhaps

hot hull
#

@wind patio I dislike you for the fact that you use lombok.

forest pecan
#

lombok users -> ๐Ÿ—‘๏ธ

hot hull
#

ontop of lombok, also allman

ocean quartz
#

I thought you liked allman

onyx loom
#

do u want to die

hot hull
#

What's your github

wind patio
hot hull
#

So it is you!

wind patio
#

If it's lombok, then it's someone elses resource I'm fixing

#

I don't use it lmao

#

where did you see lombok usage

hot hull
#

Pastebase

wind patio
#

it's not my plugin, a server owner requested me to update his plugins from source

hot hull
#

Ah okay, you're off the hook for now

#

until next time.

wind patio
#

allman good tho

#

shush

ocean quartz
#

C# convention was a mistake

half harness
#

ur back on the hook ๐Ÿฅฒ

wind patio
#

๐Ÿ˜ฉ

hasty cloud
#

Does the DeluxeMenus plugin have the applicable version 1.17 yet?

wind patio
#

but, probably yes, afaik

compact perchBOT
#
Deluxemenus - Version List
Spigot:

1.8.8
1.12.2
1.13.2
1.14.4
1.15.2
1.16.5
1.17

Version:

v1.10.5
v1.13.3 - Latest
v1.13.3 - Latest
v1.13.3 - Latest
v1.13.3 - Latest
v1.13.3 - Latest
v1.13.4 - Dev Builds

hasty cloud
#

yes, thank you

ocean quartz
forest pecan
#

those package names

forest pecan
#

no encapsulation either ๐Ÿฅฒ

#

๐Ÿ˜ฌ ๐Ÿ˜ฌ ๐Ÿ˜ฌ

half harness
#

๐Ÿ˜ฌ

#

still static fields

#

whyyyyyyyyyyyyyyyyyyy

forest pecan
#

so much static abuse

#

lol

half harness
#

if you're going to do a singleton

wind patio
half harness
#

at least don't static abuse

wind patio
#

it's a fork of the previous plugin

#

I just updated for 1.13+

#

didn't bother fixing everything

half harness
#

hmmmmmmmmmmmmmmmmmmmmmm

forest pecan
#

but you have it on the spigot site

wind patio
#

the original repo is down

forest pecan
#

also regardless why do you use C# conventions for package names

#

you still use static abuse too

#

dont tell me that is another fork right lol

half harness
#

rip liskov

hot hull
#

Man be getting roasted, I apologize

forest pecan
#

in general, all package names should not start with an uppercase letter

ocean quartz
#

Ikr poor guy

forest pecan
#

you should rename them to something like utils rather than Utils

wind patio
#

Hey, I've been doing this for only year+, my apologies for not knowing 20+ conventions of java

half harness
#

same

forest pecan
#

same

hot hull
#

You should be sorry indeed!

half harness
#

ive only been learning java for just over a year

wind patio
#

I just use what I'm used to

forest pecan
#

we all get the roasts sometime

#

its part of tradition

ocean quartz
forest pecan
#

lol

wind patio
#

I don't mind, I'm not a professional java developer

#

I just do this when I have time off studies

#

and what works - works

hot hull
#

M0dii, quick question, did you test your fixes for the PasteBase plugin?

wind patio
#

no, still working on it

hot hull
#

Oh so it's not finished

wind patio
#

why, what's up

#

also, how do you even know about it lol

hot hull
#

I know everything :3

#

Except, where to find happiness

wind patio
#

ah, alright, just found out how lmao

hot hull
#

I told you, I know everything

wind patio
#

yeah..

#

about that

hot hull
#

Closed the project, since no point in looking at it if it's not finished

wind patio
#

huh

humble silo
humble silo
ocean quartz
#

Plus, even if one exists it's fine to make another, works differently etc, plus learning experience

jovial warren
#

fair

jovial warren
humble silo
jovial warren
#

I mean, not sure why you'd want to apply them any other time tbh

humble silo
#

What if i wanted to load in a mod while they are in a game? And i want to apply its mixins then?

jovial warren
#

true

humble silo
jovial warren
#

also, if this is an API, I'm going to recommend 2 things:

  1. add a tool such as detekt or ktlint so you maintain consistent styling and (with detekt) miss less bugs
  2. enable explicit API mode
humble silo
#

explicit api mode?

jovial warren
#

also, <pre> won't work in KDocs btw

rare fulcrum
#

Heyyy I need pro minecraft mini games server developer ๐Ÿ™‚

jovial warren
#

it's markdown, remember

ocean quartz
humble silo
rare fulcrum
#

Need to pay developers?

humble silo
#

I guess i can look em up

jovial warren
# humble silo explicit api mode?

requires all access modifiers and return types to be explicitly specified, except for a few cases:

  • overridden members
  • Unit for block bodies
jovial warren
wind patio
humble silo
#

ah alr

wind patio
#

what

humble silo
#

Oh, in the api module

#

ya that used to be java, alr

jovial warren
#

I personally use and recommend Detekt, because it actually incorporates all of ktlint's rules, and does so much more

#

and it's really configurable

rare fulcrum
humble silo
#

alr cool

#

ill get it

half harness
ocean quartz
half harness
#

oh

#

i didn't see

rare fulcrum
wind patio
#

my JAVA_HOME path is fkd fsr

#

wtf

jovial warren
#

Detekt is kinda like Checkstyle and FindBugs but for Kotlin, you tell it what you want and it spanks you when you fuck up xD

rare fulcrum
#

lemme ask is there is free work

onyx loom
wind patio
#

still the same error

half harness
#

@rare fulcrum are you looking for someone to make a plugin or ur server?

#

or both?

rare fulcrum
half harness
#

no one will make your server for free

#

especially with lots of ppl having school now

humble silo
#

oh i see

#

alr thanks

jovial warren
#

yw

gilded granite
#

buying the AX51 tonight ๐Ÿ‘€

#

I still can't believe its only โ‚ฌ67.50/month

empty flint
#

Does anybody know how Spigot pipes the logs from plugins to the console and to a file? I am guessing they are reading from System.out and System.err?

static zealot
#

no

prisma wave
#

it uses log4j internally, which just has 2 appenders setup

static zealot
#

^

#

I am smart

#

I can point to what others said

empty flint
prisma wave
#

i guess it does pipe stdout in some places

#

but that's probably left up to the logging framework

empty flint
#

Is it the "Minecraft" logger or the "" logger? Do you know?

#

I'd like to intercept those logs and add my own handler to it, so it uses my formatter as well and sends the logs in JSON format to my log file.

#

But it should include the exceptions and stack traces

#

Any idea how to do that?

prisma wave
#

you can probably just get the root logger, and add an appender

empty flint
sweet cipher
#

What license should I use if I want people to be able to use the source code of a plugin / edit it,
but not sell it? Or should I just not worry about that?

obtuse gale
sweet cipher
#

Thank you

sharp monolith
#

is that correct server to ask for discord voice help ?

ocean quartz
#

There is no server for that

#

Discord doesn't have a server

sharp monolith
#

maybe someone can help me from here ? can i ask a question ?

obtuse gale
sharp monolith
#

oh ok sorry

empty flint
#

(and all other logs as well of course)

#

But not stuff printed to console unfortunately

#

so I'm still wondering, how are they reading the System.err and System.out streams, and formatting them to the appropriate format for their own log files?

old wyvern
#

on latest

#

But not recommended

#

Some repositories have the habit of deleting old snapshot ids

forest pecan
#

ic

#

im currently just shading snapshot versions rn (adventure-bukkit-platform)

#

is that fine?

old wyvern
#

I wouldnt recommend it, you can programmatically try resolving the latest snapshotid* tho

#

Or that could be a built in feature tbh

#

Maybe an issue or PR if you're interested

forest pecan
#

Oh ok

wind patio
#

and don't all licenses include that

obtuse gale
#

Idk I grabbed the site and put it here lmao

#

You can always use a modified version of a license to disallow that so long as the license itself allows it ccatrainbowshrug

#

Meta licensing

wind patio
#

Basically put a line of text that says "Don't sell or else" you mean

half harness
prisma wave
#

?

ocean quartz
#

?

half harness
#

nvm

#

i can't type

#

๐Ÿ˜ฉ

#

๐Ÿ˜–

wind patio
half harness
#

uhhhhhh

sweet cipher
#

What

#

Oh

half harness
#

embed

sweet cipher
#

On the spigot page?

half harness
#

yes

sweet cipher
#

It doesn't seem to let me

#

Do you know how to?

half harness
#

for embed

#

oh wait

#

it doesn't support imgur?

#

._.

sweet cipher
#

I tried that before and it wouldn't work with imgur

#

Should I try dailymotion?

#

Maybe I'll try making them a youtube video later

#

I think its because the sizes are over 5MB

half harness
#

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

half harness
#

what if you press upload images

#

oh wait

#

๐Ÿคฆ

#

nvm

dawn hinge
#

dkim

half harness
#

wait

#

yes

#

it'll work

#

it supports gif

sweet cipher
#

The file is too large it says

ocean quartz
#

Upload the gif to imgur and use it in the page

sweet cipher
#

I tried that

#

Also, now I can't remove the image lol. It just shows an image icon

#

I'll figure it out later

lavish notch
#

@sweet cipher are you having issues getting your gif to display?

lavish notch
sweet cipher
#

Oh ok thank you. Do you know how to make gifs smaller? I might just make a YouTube video for it instead.

lavish notch
#

There are web-based gif optimiser you can try.

sweet cipher
#

Ok thank you

sweet cipher
#

I just realized how bad the gif is in showcase lol

sweet cipher
terse tundra
#

i made website

#

big funny

distant slate
#

Dear all I am requesting help on Discord nitro payments - it says the payment is below minimum charge amount and does not let me get nitro (First month is free...)

pallid gale
#

Believe you have the wrong server

empty flint
#

How do I add custom properties to my gradle build execution in IntelliJ?

I tried with -DmyProp="my prop" and -PmyProp="my prop" and it just won't work :/

barren oar
#
                    for(int i = 0;i<24;i++) {
                        skilloc.multiply(1);
                        world.spawnParticle(Particle.CLOUD, skilloc,1);```
isnt this supposed to launch something like a spell? instead it bursts on my face
empty flint
#

you can set the location of the spawned particle

#

by default it is spawned at the player location

#

which is to say inside the player head

barren oar
#

im trying to spawn particle on a spesific location

#

i think the problem is skilloc.multiply(1);

#

something looks sus

#

like it wouldnt work

#

let me check

#

skilloc.add(direction.normalize().multiply(1));

#

yeah this works

jovial warren
#

isn't multiplying by 1 redundant?

#

yeah, that's just gonna multiply each value by 1, which is gonna give you the same values

barren oar
#

but somehow works

jovial warren
#

it should work fine without the * by 1

barren oar
#

i wish i was able to send screenshots

wind patio
#

Use imgur

hot hull
#

get gud

empty flint
#

Has anybody tried the 1.17 spigot library loader?

#

md_5 says the kotlin runtime should be added via it but that doesn't seem to work well for me

hot hull
#

So IJ is suggesting a listener to be a record, would that make sense or no

static zealot
#

you don't make any sense frosty

hot hull
#

Okay sad_fingerguns

static zealot
#

โค๏ธ

prisma wave
#

I usually ignore / disable that warning because it's a bit overenthusiastic

hot hull
#

Indeed it is

static zealot
#

it indeed is

brave atlas
#

hello

#

can anyone help me

empty flint
brave atlas
#

Skywars bug

#

i own a server and people dont die after falling in void

#

I use skywars reloaded plugin