#dev-general

1 messages ยท Page 143 of 1

hot hull
#

It's just tedious having to store data

tranquil crane
#

store them in yaml and you get stabbed though

prisma wave
#

let's not think about that

hot hull
#

I mean runtime they can be in a map so that's not an issue

prisma wave
#

just ObjectOutputStream it

hot hull
#

Meaning it only has to be persistent during reloads

prisma wave
#

who cares about readability

hot hull
#

PersistentDataContainers :C

#

if only

#

Although KM, if I use kotlin, I could actually add my own fields, but how would that work with persistency, and would it actually function properly?

prisma wave
#

no

old wyvern
#

Or use a pairing function on x,y,z and use that for keys

prisma wave
#

it doesn't actually add fields

heady birch
#

Lol

prisma wave
#

they get compiled to receivers

heady birch
#

Laughs eviliy

hot hull
#

Ah GWvertiPeepoSadMan

#

A map with a location and an object it is fingerguns_reversed

old wyvern
#

PAIR

prisma wave
#

that's not so bad

hot hull
#

Yea no clue what you mean Yugi

old wyvern
prisma wave
#

a function that takes x y and z and makes a unique number representation

old wyvern
#

^

prisma wave
#

not really worth it when Location#hashCode exists tho

old wyvern
#

๐Ÿ˜‚

hot hull
#

Yugi, how's that persistency lib or what ever you've been working on coming along fingerguns_reversed

obtuse gale
#

1.8 has the smoothest knockback & hit detection, ngl

old wyvern
#

It works rn, just need to add handling fields that are part of another table

tranquil crane
#

it's also missing ~6 years worth of security updates and features

hot hull
#

Who needs security and features anyways pffft

old wyvern
#

You can use it for simple data structures rn

obtuse gale
#

But for some people, they don't care about new features or blocks.

#

I assume only creative/towny/survival players care about new blocks/features. People who play PvP oriented gamemodes/minigames are more focused on the pvp aspect of Minecraft.

old wyvern
ocean quartz
#

some
So you mean everyone expect pvp? lol

old wyvern
#

๐Ÿ˜‚

obtuse gale
#

?

ocean quartz
#

There is absolutely 0 reason to use 1.8 other than pvp

obtuse gale
#

No, that's not I'm saying.

#

and the pvp isnt even that good imo

tranquil crane
#

some people use it for performance reasons I guess

obtuse gale
#

just a bunch of kids deepthroating their mic and spam clicking

#

Also performance is a huge factor, yeah.

old wyvern
#

Actually you probably shouldnt use it rn tbh frost

tranquil crane
#

I won't argue on that one at least because it's true 1.8 has better performance

ocean quartz
#

Performance difference between 1.12 and 1.8 is pretty negligible

tranquil crane
#

But I'm not giving excuses on the rest

obtuse gale
#

I said "some people", referring to the people who don't care about the new blocks being added, and mainly focus on competition, competitive.

hot hull
#

Matt, for factions servers it's not just that, it's the fact that tnt in 1.9+ doesn't function the same without a heavilly modified jar

obtuse gale
#

Ah yes that as well, cannoning is horrible on latest versions.

ocean quartz
#

I mean that is part of pvp

old wyvern
#

Isnt factions dead?

regal gale
#

It's already horrible since 1.8

obtuse gale
#

?

hot hull
#

Not really Yugi

obtuse gale
#

SaicoPvP doesn't look dead to me.

old wyvern
#

oh

obtuse gale
#

TheArchon doesn't look dead to me.

#

They make tons of money daily 100%.

onyx loom
#

it's also missing ~6 years worth of security updates and features
@tranquil crane as long as u got smooth knockback and hit detection, who cares okayChamp

hot hull
#

I mean yea by scamming litle kids fingerguns_reversed

obtuse gale
#

true

tranquil crane
#

the logic hurts my head

obtuse gale
#

You could always apply custom patches to spigot? Some people just don't care about the new features/blocks specifically.

#

Also another reason why some users use 1.8.8, is because if they want to support 1.8-1.16. It's less buggier & more efficient than using 1.16, and supporting 1.8-1.16.

tranquil crane
#

It's more of how lacking the spigot api is for older versions like that

#

makes me refuse to support anything below 1.13 anymore because the stupid magic value metadata stuff

obtuse gale
#

I encountered multiple bugs when using plugins like Viaversion/Viaviarewind/Viabackwards/ProtocolSupport when using it on a 1.16 server, compared to 1.8.8.

ocean quartz
#

Same

obtuse gale
#

My issue with it is the more people that use it, the bigger the 1.8 community grows

regal gale
#

Who cares thonking

obtuse gale
#

Let it grow ๐Ÿ˜Ž

tranquil crane
#

The % of people using 1.8 has gone down a lot

obtuse gale
#

I mean

#

it was released 6 years ago...

#

and the latest was like a month ago

ocean quartz
#

MC became just like Java, jesus, people refusing to update

onyx loom
#

๐Ÿ˜‚

ocean quartz
#

And both on 1.8

onyx loom
#

๐Ÿ‘€

#

coincidence?

hot hull
#

kek

tranquil crane
#

conspiracy

#

big Java is out to get us all

ocean quartz
#

Oh no

old wyvern
#

My issue is when you join a server on 1.16 and expect 1.16 combat and people start jittering the hell out of you ๐Ÿ’€

regal gale
#

I really hate the fact that i have to set the compile level to 8 for every single time making a new plugin project

old wyvern
#

or any 1.8+ client tbf

regal gale
#

The default in IJ was 14 btw

obtuse gale
#

In general, 1.7.10 pvp is actually the best client version if your deciding on pvp.

onyx loom
#

1.7 security kapp

tranquil crane
#

I cannot fathom anyone claiming 1.7.10 is better for anything other than mod packs

obtuse gale
#

The hit detection is different between 1.7.10 & 1.8.8, 1.8 adds a hit delay/calculation which adds a few seconds or ms of delay to hits. If I recall correctly.

ocean quartz
#

And working on my GUI lib was fucking awful, had to have 3 servers, one for 1.16 one for 1.12 and one for 1.8, everything worked on the new ones except 1.8, so i just threw exception if they try using unsupported features on 1.8

regal gale
#

That was 1.9

obtuse gale
#

No, that was added in 1.8.

#

Look up videos of the difference between 1.7.10/1.8 pvp.

#

Should be from that guy Tenebrous.

tranquil crane
#

My GUI lib doesn't even work on 1.8 for some reason, the click actions just.. don't work. makes no sense

hot hull
#

You mean a dumb youtuber fingerguns_reversed

obtuse gale
#

imagine trying that hard at a kids blocky game

#

I mean a p3do.

hot hull
#

The same guy who cried when he was banned for hacks iirc

regal gale
#

@obtuse gale you're not qualified for this chat k thx

obtuse gale
#

just sayin

#

There's nothing wrong with grinding what you enjoy doing in a game?

#

Who says its a kids game?

onyx loom
#

PEGI 7

#

๐Ÿ™‚

tranquil crane
#

block game spam click attac go brrr

hot hull
#

kek

regal gale
#

Even a 8 yrs old can be on cahoot with mouse

obtuse gale
#

yall nerds wanna play a kahoot right here right now?

#

jitterclick 15 ๐Ÿ˜‰ while maintaining form & accuracy

regal gale
#

Oh btw speaking of pvp

#

That interaction event click on coding sucks

#

Hold left click can be called multiple times, even on air, while right click only executed once

#

That's why I can't actually make a CPS papi expansion just yet

obtuse gale
#

boi

#

I just found a kotlin kahoot

#

idk what im doing with my life at this point

#

712467

#

Join my game

#

This is what the true gamers play

#

no ๐Ÿ™‚

#

im waitin

onyx loom
#

fuck kahoot

#

overrated

obtuse gale
#

im vibin to this music tho

onyx loom
#

dont @ me

prisma wave
#

kotlin

obtuse gale
#

we going with a grand total of 3 people

#

aight

#

wait let me join pls

#

you can probs join mid game

#

mhm

tranquil crane
#

are there even questions here because I'm just seeing colorful shapes and clicking them at random

obtuse gale
#

join the stream in room 2

#

you gotta look @ my screen

tranquil crane
#

outstanding

pastel imp
#

sooo.... bungeecord, waterfall, flamecord, travertine, and idk what

#

what's the best

obtuse gale
#

you guys all definitely checked in ur IDE

#

that took way too long for you to answer thonking

prisma wave
#

2nd ๐Ÿ˜Ž

obtuse gale
#

1st ๐Ÿ˜Ž

prisma wave
#

cheat

tranquil crane
#

game sucks

obtuse gale
prisma wave
#

dead game

tranquil crane
#

hey look my mom got third

obtuse gale
#

WOAH

#

My mum also got third

pastel imp
#

so you guys are saying bungee or waterfall are better than flamecord and travertine?

#

oof?

tranquil crane
#

what are all these words

pastel imp
#

what about aegis?

tranquil crane
#

???

ocean quartz
#

Travertine sounds way too close to another word xD

tranquil crane
#

tangerine

pastel imp
#

^^

#

facts

heady birch
#

Ah Aegis

tranquil crane
#

I feel like you're just making up all these words

heady birch
#

The Aegis Combat System is an American integrated naval weapons system developed by the Missile and Surface Radar Division of RCA, and now produced by Lockheed Martin. It uses powerful computer and radar technology to track and guide weapons to destroy enemy targets.
Initiall...

pastel imp
#

sooo.... bungeecord, waterfall, flamecord, travertine, and idk what
@pastel imp OR aegis

obtuse gale
#

My favourite one is ayubsajayks

pastel imp
#

chooooseeee

#

My favourite one is ayubsajayks
@obtuse gale just react to the message

#

that would help me out

#

lol

obtuse gale
#

never used any of the other ones

#

so imma say waterfall

#

but idk

prisma wave
#

waterfall is made by paper guys so it's probably better

pastel imp
#

aegis ^^

tranquil crane
#

as per usual the developers in this server provide their infinite wisdom of fingerguns

prisma wave
onyx loom
hot hull
pastel imp
#

ooof

#

I feel like this aegis is gud

ocean quartz
#

ANTI-CRASH FEATURES
I wanna see this one

heady birch
#

Lol

#

try { carch

tranquil crane
#

putting bullet proof in the title automatically makes it 10x better obviously

onyx loom
#

(CrashException crash)

ocean quartz
#
if (cashing) dont()
obtuse gale
#
fun onCrash(event:ServerCrashEvent){
  event.isCancelled = true
}
onyx loom
#

kotlin Guns3

pastel imp
#

lol

ocean quartz
#
fun ServerCrashEvent.onCrash() = isCancelled = true

There made it better Aj

tranquil crane
#

what is this cryptic gif I'm looking at and why does it pertain to me

hot hull
#

Man legit just had a value increase making it seem like it's doing shit fingerguns_reversed

onyx loom
#

lol

tranquil crane
#

exactly

prisma wave
onyx loom
#

i love the way he just types nolag

prisma wave
#

this is the future

hot hull
#

Lmao KM

#

Time to not worry about spigot's upload limit fingerguns_reversed

tranquil crane
#

I also enjoy how the CPS jumped up to 1240 when they literally were not clicking

onyx loom
#

why the fuck it took 3minutes

ocean quartz
#

Protection against EVERY BungeeCord/Proxy side/layer attack.
EVERY

hot hull
#

lol Nicole

prisma wave
#

I think there's a recursive transitive dependency somewhere

onyx loom
#

downloaded 5gb dependency fingerguns

prisma wave
tranquil crane
#

time to invent a new bungee/proxy side/layer attack or whatever that means

prisma wave
#

don't bother

#

it prevents EVERY attack

tranquil crane
#

shit you right

prisma wave
#

even the ones that don't exist yet

analog crater
#

Does it protect against server fire?

tranquil crane
#

if it's attacking the server then yes obviously

#

About to smash the hardware with a bat? blocked

analog crater
#

Heres my money for this

heady birch
#

Lmao

ocean quartz
analog crater
#

Some sexy ips

prisma wave
#

he's gonna get hacked!!!!

hot hull
#

Lmao that blurring kek

heady birch
#

Hmmm

#

I mean

#

The server gonna handle these packets anyway lets admit

hot hull
#

Dude didn't even try

heady birch
#

It's gonna throw an exception

#

Not come tumbling down

#

Unless?

ocean quartz
#

I don't even know if he's underlining something or trying to censor something

tranquil crane
#

I'm like 95% sure the server rejects all those invalid packets by default

prisma wave
#

probably

analog crater
obtuse gale
#

Travertine is a fork of Waterfall that supports 1.7, and Flamecord is a fork of Travertine that fixes netty exploits.

#

I guess you could try Flamecord, and see how it works out?

remote goblet
onyx loom
#

o

remote goblet
#

ez plugin

prisma wave
#

Instantiating the main class

#

Smh

onyx loom
#

SRP

remote goblet
#

well idk how else to do it so shush

#

unless its literally this, this

old wyvern
#

yes

remote goblet
#

ah yes

steel heart
#

Oh Jesus imagine if I wouldnโ€™t violate srp

hot hull
#

Any suggestions for a hologram lib fingerguns_reversed

analog crater
#

Suggestions for one to use or features to add to one?

hot hull
#

One to use

#

Cba to make my own

#

HD it is fingerguns_reversed

hot hull
ocean quartz
#

my brain hurts, can't figure this lexer stuff out

onyx loom
#

call upon sx fingerguns

hot hull
#

I'm so confused, when I have only one entry it puts it in line properly, but when I have more it just shits itself

ocean quartz
hot hull
#

Nice

static zealot
#

what is this?

ocean quartz
#

Lexer for a JSON lib with markdown syntax

static zealot
#

nice

#

pretty cool

ocean quartz
#

pretty painful

hot hull
#

1.8-1.16 or just 1.16?

static zealot
#

xD

distant sun
#

pretty painful
@ocean quartz ๐Ÿคฃ

ocean quartz
#

1.8-1.16, it'll convert hex to the nearest legacy

#

It is though

hot hull
#

Sweet

static zealot
#

make sure to add something so you can just use * and in your text

ocean quartz
#

You mean like *this* without turning italic?

static zealot
#

yeah

ocean quartz
#

Yeah, scaping will work

prisma wave
#

Markdown processing in MC would be pretty cool

#

you could use #text for titles and ##text for subtitles

ocean quartz
#

ooooh, more ideas ๐Ÿ‘€

distant sun
#

i m a g e s

ocean quartz
#

also doable

distant sun
#

xd

static zealot
#

xD

obtuse gale
#
final long usedMemory = ((Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory()) / 2) / 1048576L;
#

Why is /2 there? When I used the server placeholders from placeholdersapi for total ram usage/max ram usage, the total ram usage was x2 the amount of ram shown in the spigot's /tps command. I assume the author did this to scam the person into thinking memory usage is less than what it normally is?

prisma wave
#

it does seem strange tbh

#

this is why magic values are bad

hot hull
#

Very bad

obtuse gale
#
final long usedMemory = ((Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory())) / 1048576L;
``` So that would be the normal one?
prisma wave
#

possibly

#

there might be an actual reason idk

obtuse gale
#

joel is a weird guy in general, he works for big servers, but is also quite sketchy

timid niche
#
final long usedMemory = ((Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory())) / 1048576L;
``` So that would be the normal one?

@obtuse gale why do you divide here?

prisma wave
#

displaying bytes in MB

analog crater
#

Mibibytes*

prisma wave
#

bruh

#

that's not misleading at all

#

it says "MB"

remote goblet
static zealot
#

CP

#

probably

hot hull
#

You don't

old wyvern
#

you dont. Eclipse intensifies

hot hull
#

You smash the hardrive with a hammer

#

Ez claps

remote goblet
#

You have to burn it alive

#

drown it in water

#

or delete the folders

#

that is an alternative

prisma wave
#

jokes aside, eclipse doesn't install in the traditional sense

#

it's just in a folder

static zealot
#

maybe it has an uninstall or something?

remote goblet
empty flint
#

What is the plus-operation equivalent of a multiplier? An adder? A bonus?

prisma wave
#

adder probably

#

"binary adder"

static zealot
#

you Ori

#

you got the offer of your lifer

#

life*

#

you can't miss it

hot hull
#

Lambsauce is actually a server owner so fingerguns_reversed

empty flint
#

"In addition, an augend and an addend are added to find a sum."

Who knew...

old wyvern
#

yea, That was in my brother's textbook as well, never remember being taught that

#

What is the plus-operation equivalent of a multiplier? An adder? A bonus?
Depends on the context @empty flint

#

On what are you operating or what function does it serve?

empty flint
#

In what way does it depend on the context though? It's a mathematical term and pretty clearly defined as it seems...

old wyvern
#

I assume you are not building a circuit and rather working on a score or something?

prisma wave
#

the new splash screen

static zealot
#

oh no you didn't update

prisma wave
#

it's out

#

stable

#

why wouldn't you update?

hot hull
#

I wouldn't know KM :(

#

I've been looking at the 2018.3 one for far too long

old wyvern
#

Anyone up for a clash?

prisma wave
#

absolutely

#

@hot hull ๐Ÿ˜ฆ

#

so sorry to hear that

hot hull
#

Yes :(

ocean quartz
#

Is there a regex to match everything else that wasn't captured?

#

This is what I have so far, but I feel like just matching words isn't gonna work, cuz will special characters and stuff won't do it

pastel imp
prisma wave
#

@ocean quartz your solution is a lot nicer than mine lmao

ocean quartz
#

Oh? What do you have? xD

prisma wave
#

I shared code

#
fun main(args : Array<String>) {
    val input = Scanner(System.`in`)
    val r = input.nextInt()
    val g = input.nextInt()
    val b = input.nextInt()
    println(("#" + r.toString(16).pad() + g.toString(16).pad() + b.toString(16).pad()).toUpperCase())

    // Write an answer using println()
    // To debug: System.err.println("Debug messages...");

    // println("#123456")
}
fun String.pad() : String {
    if(length ==1) {
    return "0" + this 
    }
    return this
    }```
#

truly an elegant and future proof solution

ocean quartz
#

Oh! Thought you were talking about the image i sent above xD

prisma wave
#

oh no lol

#

in regards to that, I would probably just replace(regex, "") and the leftover is everything that wasn't captured

#

there's probably a nicer solution, but that should work

pastel imp
#

yup I am gonna use Waterfall

#

not gonna use flamecord oof

old wyvern
#

ay matt, did not think of that ๐Ÿ’€

ocean quartz
#

I used that one when working on Holovid xD

old wyvern
#

ah gg ๐Ÿ˜‚

pastel imp
#

but yeah, 1.16 is still hella unstable for servers oof at this moment, I asked myself... should I really use 1.16.1 for my prison server?

#

try having 50+ players on 1.13+ server (any version after 1.12.2 basically) and you'll se how "stable" it is ๐Ÿ™‚ I mean... kinda true?

ocean quartz
#

I have no idea what a narcissistic number is

prisma wave
#

the description was a bit vague

ocean quartz
#

A number with a mental condition that inflates its sense of their own importance

prisma wave
#

lmao

old wyvern
#

welp

prisma wave
#

:/

old wyvern
#

while ((t/=10) > 0)

ocean quartz
#

Dw i couldn't either

old wyvern
#

(t/=10) This failed me

#

Im just gonna do java now

#

๐Ÿ˜‚

ocean quartz
#

Reverse.. my favorite

prisma wave
#

this one is weird

ocean quartz
#

I have no idea what this one is

prisma wave
#

me neither

#

yeah i got nothing

#

@old wyvern you know?

old wyvern
#

yea

prisma wave
#

๐Ÿ‘€

old wyvern
#

n positive bits

#

4 = 1111 = 15

prisma wave
#

ohhhhh

#

damn

#

how did you get that

old wyvern
#

1 -> 1, 4 -> 15

#

But ofc, kotlin pow function keeps failing me

#

๐Ÿ™ƒ

prisma wave
#

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

#

i'm so sorry

old wyvern
#

test#4 failed

#

Did you have any issues with test4?

prisma wave
#

only at first when I was using integers

#

using longs fixed it

#

you kinda deserve the win

#

mine is just ||println("1".repeat(n).toLong(2)||

old wyvern
#

oh fuck I was trying to do the binary addition

#

๐Ÿ˜‚

prisma wave
#

lol

#

overengineering

#

it doesn't need to be optimized

old wyvern
#

๐Ÿ˜†

pastel imp
#

ok oficially going to velocity

old wyvern
#

oh

pastel imp
#

seems good, api for devs, very good performance

old wyvern
#

the issue was overflow

pastel imp
#

atleast from what I saw from my research

prisma wave
#

oh

#

strange

old wyvern
#

FUCK ME

prisma wave
#

using Int?

#

or Long

old wyvern
#

I used int

#

xD

#

moved to long was it went smooth

#

rewrote in java tho

#

welp welp

prisma wave
#

java bad

#

lol

#

nah i'm done for now

#

got stuff to do

#

gg

old wyvern
#

Alrighty

#

iao

#

Ciao*

ocean quartz
#

Another confusing one

#

Meh, back to the lexer xD

old wyvern
#

got it

#

ayy

#

finally

topaz bay
#

@ocean quartz wheres the repo

#

let me at it

#

:)

ocean quartz
topaz bay
#

How fun

ocean quartz
#

I know, my brain only hurts a bit now

ocean quartz
#

Though it breaks pretty easily **this example** is completely broken** since it'll ignore the middle **

heady birch
#

You making a text lib now?

ocean quartz
#

yes ๐Ÿ‘€

heady birch
#

Comptetion time ๐Ÿ˜ผ

ocean quartz
#

You're making one? ;o

heady birch
#

Not yet

#

Lol

#

Maybe

ocean quartz
#

I wanna make it markdown like will also support images

heady birch
#

Hm

#

Images?

ocean quartz
heady birch
#

Lol

#

that will be cool

topaz bay
#

@ocean quartz I'm having trouble thinking of the logic for compound matches

#

Given the regex for matching specific keywords, I need to allow it to not just stop there

#

Oh you know what... I just got an idea

ocean quartz
#

Yeah having trouble figuring that too
Oh? ๐Ÿ‘€

topaz bay
#

I think this is a job for our good old friend...

#

Graph Theory

ocean quartz
#

Oh boy, research time

topaz bay
#

Could maybe store regexes in a tree

#

the most generic ones at the top

#

and ones that extend on them, in their branches

hallow yew
#

The method getCurrentPrestige(Player) in the type PrestigeManager is not applicable for the arguments (OfflinePlayer)

Can you get this applicable for online players?

ocean quartz
#

@topaz bay This is better https://regex101.com/r/JWHNP9/5, only breaks in one situation, continue *to* be* **more** text**! the added single * in the be will turn the more into italic instead

#

The priority might be needed here yeah

remote goblet
prisma wave
tranquil crane
#

bruh indeed ori

remote goblet
pastel imp
#

hmm it's a youtube link

#

not gonna open

tranquil crane
#

you already know what it is

pastel imp
#

yes

#

snapchat qr reader

#

xd

#

it shows the link

#

doesn't open it directly

topaz bay
#

we're getting somewhere

distant sun
#

Shit man.

ocean quartz
#

Ooh nice

topaz bay
#

Ah yes...

#

Right parenthesis

#

That is 100% correct

twin yoke
#

(Sorry in advance for shit joke) is it a coincidence that PAPI sounds like PPAP

distant sun
#

eh

regal gale
#

wotยฟ

lost edge
#

Whatโ€™s your guyโ€™s opinion on ppl wanting to repost your plugins on MCBBS saying they will link it to spigot and give credit?

distant sun
#

Nope

remote goblet
#

i dont entirely trust they'll do that

#

i dont see the point in it either

lost edge
#

Yea same. Iโ€™ve gotten a few and Iโ€™ve always told them no.

remote goblet
#

i mean none of my public plugins are like

#

amazing

#

the best one i have isnt even out yet

regal gale
#

Java bully

remote goblet
#

java EmiCross

prisma wave
#

Not enough clojure

#

Smh

regal gale
#

Not enough clojure
@prisma wave shush :p

topaz bay
#

Not enough functional programming

regal gale
#

I purposely do such terrible functionality :p

#

To trigger someone a little

topaz bay
#

Thats...

#

No, thats not what that term means

#

lol...

prisma wave
#

not enough Elara fingerguns

regal gale
#

Anyway, anyone still want to play language guessing game thonking

prisma wave
#

Sure

regal gale
#

It would spoil everything for java ._.

prisma wave
#

not with var

ocean quartz
#

@regal gale, make it work with code block, and get the language from said code block
Like:
w.eval

final String requiredTarget = "Ori";
// etc

apologies edited to ping just in case you didn't see ๐Ÿ‘€

prisma wave
#

oo

versed ridge
#

Should I use org.jetbrains.annotations.NotNull or javax.annotation.Nonnull or do they both do the same thing?

topaz bay
remote goblet
#

emojiplead why am i being mentioned

prisma wave
#

Technically they both do nothing, but yes in practice it's the same thing

topaz bay
#

@versed ridge use the jetbrains annotations

regal gale
prisma wave
#

Jetbrains annotations better though

regal gale
#

Js or Kt

prisma wave
#

Js

versed ridge
#

Alright

prisma wave
#

Kotlin doesn't use new

topaz bay
#

^

regal gale
#

It's too easy since it's only 1st round lol

prisma wave
regal gale
#

Js or Kt

prisma wave
#

hmm

#

It could be either

onyx loom
#

kotlin

prisma wave
#

I'm gonna say JS?

regal gale
#

It's js Star

onyx loom
#

It could be either

prisma wave
#

yay

onyx loom
#

were both right ๐Ÿ™‚

prisma wave
#

lol

regal gale
#

kotlin
@onyx loom thonk

prisma wave
#

Kotlin would have compile times so probably would take longer than 8ms

#

That was my thought process anyway

regal gale
#

Sometimes kt can be 8

prisma wave
#

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

onyx loom
#

idk how fast js is

prisma wave
#

depends

#

on quite a lot

regal gale
#

Therefore

prisma wave
#

lol

onyx loom
#

o

#

js good

regal gale
#

jAvA is bEttEr

onyx loom
#

kotlin bad

prisma wave
#

add clojure eval pls

#

it will be really hard to tell which language (println "Hello") is

onyx loom
regal gale
#

Lol

#

Big brain 101

#

I swear to god, I don't even know 1 bit of the clojure piece of code in the tutorial..

onyx loom
prisma wave
#

you do now

onyx loom
#

that sounds about right

prisma wave
#

(println "Hello")

onyx loom
#

๐Ÿคข

prisma wave
#

everything is a list

#

Well most things

#

function calls are lists

#

So is definition

topaz bay
#

Why is github fucking stupid

#

They say to just use your user account

#

But you also have to specify the repository in the publish url

#

Otherwise you just get a 404

#

Why must they half ass EVERYTHING

ocean quartz
#

@topaz bay Should be behaving correctly now, though had to join the bold and italic together to be handled separately

topaz bay
#

nice

ocean quartz
#

Kinda done in a hacky way but for testing it's fine, this is the parsing of the bold/italic

#

Needs a lot of optimization though, yikes took - 40ms

#

But hey, this is just a test

topaz bay
#

console does NOT like that

#

lmfao

opal breach
#

It's not working, you push this update into eCloud ?

#

@topaz bay

topaz bay
#

@opal breach absolutely not

#

lol

#
  • even if I did, it would take a couple of hours for it to be available
#

I'm doing testing rn, the update for it will be up later today

opal breach
#

Okay. Im waiting

topaz bay
#

big

steel heart
#

Give me

topaz bay
#

there

#

be happy.

#

๐Ÿ™„

#

For the record, I make 0 guarantee that that will work anywhere outside of chat.

steel heart
#

Idm you generally want that for an eternal flex.

topaz bay
#

....

#

WHAT

#

I comprehended literally none of that sentence

steel heart
#

Oh thatโ€™s just lifestyle

obtuse gale
#

big rip

analog crater
#

I believe you may have a problem

hot hull
#

2 weak warnings fingerguns_reversed

obtuse gale
hot hull
#

48 kotlin warnings seesh

analog crater
#

Looks like someone doesn't know their kotlin

obtuse gale
#

i won the kotlin kahoot last night.... pretty sure that means im a pro

errant geyser
#

Who was in it tho

obtuse gale
#

er

#

cant remember exactly

#

BM I think

#

maybe Yugi - not sure tho

#

fixed it :))

hot hull
#

2 weak warnings

obtuse gale
#

:oof:

#

oh i see

#

any command you make with matts framework IJ says Function "thing" is never used

empty flint
#

Hm so I'm having trouble deciding how to make the plugin gui configurable. Should I do it via the config or via an inventory gui?

#

like make a gui to configure another gui?

hot hull
#

Hell nah, deffo config

empty flint
#

right, right

#

what about a gui to manipulate business objects like user data?

#

say the permissions a particular user gets or whatever

hot hull
#

Hell nah

empty flint
#

config base everything?

hot hull
#

Yes, never use a gui for permissions, otherwise you're just as bad as ultra perms

empty flint
#

What do you think about the way luckperms handles this issue?

#

Command-line everything

#

like it's an apple II or some shit

hot hull
#

commands are better than gui's for permissions

#

Or ya know, just make your own website with a ui where they can manage them fingerguns_reversed

errant geyser
#

LuckPerms intensifies

empty flint
#

What's so bad about UltraPerms then?

errant geyser
#

LP is better

#

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

hot hull
#

Everything

#

It's dogshit

empty flint
#

rofl

#

right right

errant geyser
#

Imagine expecting an actual explanation

#

I've never used it, I just know LP is better sooo

hot hull
#

It's made for 12 year old kids who can't read and need "images" (in this case items) to look at

quiet depot
#

i mean I doubt ultraperms is that bad

#

looking at it's ratings

hot hull
#

ratings don't mean shit

quiet depot
#

they do on bigger plugins like this

empty flint
#

idk what to do ๐Ÿ˜ฆ

steel heart
#

Idk why you would have ultraperms instead of lp

quiet depot
#

just use whatever you're comfortable with

steel heart
#

I think LP should be shaded into spigot fingerguns

quiet depot
#

that'll never happen

steel heart
#

Yeah sadly

quiet depot
#

it's not a bad thing imo

#

spigot provides a platform for permissions

#

however it's expectedly bad, which is why vault exists lol

hot hull
#

vault should be included into it imo

#

smh Piggy

quiet depot
#

sponge does everything right

steel heart
#

Yh

quiet depot
#

move to sponge

hot hull
#

Never seen how sponge does it, but everyone keeps saying that so fingerguns_reversed

steel heart
#

Sponge is better ngl

quiet depot
#

sponge's api is better*

steel heart
#

^

#

Though spigot is more maintained

#

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

quiet depot
#

which is actually surprising imo

#

see how many contributers sponge actually has

#

maybe they're all just inactive

#

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

empty flint
#

In what way is spigot's api worse than sponge? what does it not do as well? never used sponge so genuinely curious

hot hull
#

It does everything shitty fingerguns_reversed

quiet depot
#

well the main difference is that sponge seems to have been thoroughly planned out

#

it's api is very well made

#

spigot is sort of just built on top of

#

not really planned out

#

might not be fair to delegate that to spigot actually, let's blame the original bukkit developers

hot hull
#

Too late to change everything now fingerguns_reversed

errant geyser
#

Or is it

hot hull
#

Well I mean, if he's doing it alone it is yea

errant geyser
#

if we make our own server implementation we could have our own GODLY API

hot hull
#

Written in kotlin ofc fingerguns_reversed

errant geyser
#

Or if MD_5 lets other people actually help him we might get somewhere

#

ofc

steel heart
#

Does spigot event accepts prs

earnest narwhal
#

prs?

steel heart
#

Pull Requests

obtuse gale
#

How would one disable git integration so all my things arent red?

steel heart
#

Ignore them?

empty flint
#

Do you guys know any other plugins that have a gui to edit their config? I'd like to see how other plugins do it to see if I wanna do it or not

steel heart
#

Never thought of that lol

#

Hmm I mean they probably have a paginated GUI of some sort

obtuse gale
#

I think there was one in #showcase the other day?

empty flint
#

Oh ty

#

Can you trigger the chat to open for a player?

#

like make the player type something?

errant geyser
#

iirc no, you could probs use the sudo command tho

empty flint
#

what sudo command?

errant geyser
#

It might be added by essentials actually

#

Might wanna check how they do it

empty flint
#

where do they do it?

errant geyser
#

But you can run sudo {player} say {message} or sudo {player} {command}

#

No idea

regal gale
#

My mind is about to be exploded from looking at Clojure tutorial...

#

It's not even wordy at all

distant sun
#

probably Player#chat @errant geyser

empty flint
#

@errant geyser So you know how there's a method to suggest a command to a player if they click on a link in chat?

#

Can I trigger that suggestion without the player clicking somewhere?

errant geyser
#

I have no idea, sorry

hot hull
#

It's a json message, so just send the suggest thingy to the player and it should trigger it

empty flint
#

I tried, it didn't trigger it

hot hull
#

I assume they have to have chat open then?

empty flint
#

/tellraw BlockyBorzan ["",{"text":"","clickEvent":{"action":"suggest_command","value":"open your chat you fuck"}}]

You try it and tell me how it works for you ๐Ÿ˜›

#

for me it just pastes a new line

hot hull
#

Invalid json: Unterminated string at line 1 column 79]

#

Your json is wack

empty flint
#

ah well

#

Do you know how to construct it properly then?

hot hull
#

I've no clue when it comes to json fingerguns_reversed

empty flint
#

are you sure it's invalid? jsonlint says it's fine

hot hull
#

Yea gives me an empty line, soz I'm on 1.8 so chat copying is disgusting

obtuse gale
#

AHHH

#

REEE

regal gale
#

/tellraw BlockyBorzn {"text":"","clickEvent":{"action":"suggest_command","value":"open your chat you f**"}}

#

Maybe that

#

@empty flint

empty flint
#

yeah no, that's wrong anyhow. it seems that this only displays the text and the trigger to actually open the chat and suggest a command is entirely client based

#

The thing is though that UltraPerms seems to do it in one of their gifs that showcase the plugin and I was wondering how

#

I don't want to spend the money on the plugin to check it out though

lavish notch
#

UltraPerms bad

empty flint
#

Why is everybody saying that? ^^

obtuse gale
#

I wonder

#

maybe perhaps because its true?

empty flint
#

alright then what makes it true is what I am actually asking

lunar cypress
#

Enough people saying it

empty flint
#

Does anybody actually have UltraPerms?

#

I'd love to get my hands on the jar to check out the gui they use

#

#freeloader

barren cloud
#

just make your own

#

and done!

tranquil shadow
#

What API version do I need to put in my plugin.yml when using 1.16 materials?

errant geyser
#

He's trying to .-.

#

1.13

tranquil shadow
#

thank you

barren cloud
#

is it possible to do everything with js?

prisma wave
#

1.15 should work too, not sure if there are any differences

barren cloud
#

I'm thinking it's actually possible but in the other hand, no...

prisma wave
#

@barren cloud a plugin?

barren cloud
#

it's possible to make plugin with js

old wyvern
#

Not really any difference, only thing that matters rn is 2 sections rn (less than 13, greaterthan or equal to 13)

#

I guess maybe they plan something more for that?

prisma wave
#

@barren cloud not 100%, but theoretically mostly in JS

barren cloud
#

If you consider to make compiler ,which is java library, that converts js to java

#

yes, it's 100% possible haha

prisma wave
#

I'm not sure that's a thing

#

Would be difficult too

barren cloud
#

I didn't expect there's a plugin like what I said...

prisma wave
#

Although some of that plugin would still be in Java so it's not 100% JavaScript fingerguns

barren cloud
#

illusion 100

regal gale
#

My chunkbuster is made of JS :)

steel heart
#

Lunchbuster

onyx loom
#

gimme ur lunch money, now

obtuse gale
#

how would one disable github integration with IJ

prisma wave
#

Remove the Git plugin?

#

Why would you want to do this

obtuse gale
#

no like I have a project that IJ reckons is with github

#

so its marked all the files as red

#

but theres no .git or anything

#

Its giving me options to commit and stuff and like ive got no clue where tf it wants to commit to

prisma wave
#

the .git directory is hidden

#

type git status and it will say

obtuse gale
#

if I just like

#

delete that .git directory should i be good

#

or do i need to do smthn fancy

prisma wave
#

should be fine

obtuse gale
#

paypal support just told me to use the deprecated api lol

empty flint
#

would the opposite of "to link" be "to unlink" or to "delink"?

onyx loom
#

delink doesnt sound right

hot hull
#

unlink

obtuse gale
#

remove thy link

hot hull
#

Yeetus thy linkus

empty flint
#

link yeetage?

steel heart
#

Delink

#

Lol

#

Dejoin

#

Deaccept

#

Op

onyx loom
#

๐Ÿ˜ฌ

obtuse gale
#

deconnect

steel heart
#

Deattack

#

Dedefense

obtuse gale
#

remove

steel heart
#

Deremove

obtuse gale
#

link'nt

steel heart
#

dekill

onyx loom
#

someone rate my extension function usage fingerguns

    return ChatColor.translateAlternateColorCodes('&', this)
}

fun setMessage(player: OfflinePlayer, message: String): String {
    return PlaceholderAPI.setPlaceholders(player, message.colourise())
}```

`sender.sendMessage(setMessage(player, message))`
hot hull
#

"colourise"

onyx loom
#

YES

hot hull
#

You trully want to start a crusade don't you

onyx loom
#

UK ๐Ÿ‘‘

#

fuck america ๐Ÿ–•

hot hull
#

Also why not just inclue the placeholder method within the color?

#

Also where's that sexy rgb support boi

onyx loom
#

๐Ÿ‘€

#

let me try that

#

but no not rn

#

f rgb

#

im too dumb

hot hull
#

@kindred hatch Crusade

#

I hope you all can appreciate my variable naming skills

onyx loom
#

val daddy: Plugin? = Bukkit.getPluginManager().getPlugin("PlaceholderAPI")

#

appreicated ๐Ÿ‘Œ

hot hull
#

๐Ÿ˜

kindred hatch
#

wut

hot hull
#

Kali said fuck rgb

#

You're supposed to start a crusade

kindred hatch
#

๐Ÿ˜ฎ

onyx loom
#

nono

#

for me

#

im too dumb for it

#

i like it

#

but too stupid

kindred hatch
#

Kotlin, smh

onyx loom
#

excuse me sir

hot hull
#

Kotlin masterrace

onyx loom
#

are u trying to start a crusade?

hot hull
#

While you're here Gian, any suggestions you want included in the next update?

kindred hatch
#

Gradient, no expansion hax

hot hull
#

Oh come on

#

:((

remote goblet
#

Frosty

#

Just steal Esophose's Hex Utils

hot hull
#

Why tho

remote goblet
#

because its a big brain

hot hull
#

I can just force Gian to use Sx's gradient expansion fingerguns_reversed

remote goblet
#

or

#

you use a utils class that supports multiple hex code formats, gradients and rainbows EmiCool

#

Matt discovered it recently

onyx loom
#

also frosty, imagine not depending on papi
if (daddy != null && daddy.isEnabled) {

remote goblet
hot hull
#

Ori, link fingerguns_reversed

remote goblet
hot hull
#

@ocean quartz I just remembered, any luck when it comes to command aliases? I still haven't figured out why it doesn't work, and I don't remember you mentioning anything more for it

remote goblet
#
``` small regex
hot hull
#

very sm0l

#

I'll look into adding it since I need to add multiple format support anyways

#

The amount of shit I got to add smh

ocean quartz
#

Oh shit i forgot

hot hull
#

Yea I saw my aliases in the config and randomly thought of that :p

remote goblet
#

you can also add like numbers on the end of rainbows for pastel rainbow

steel heart
#

Okay so first

#

Light theme

half harness
#

I don't like light theme

steel heart
#

You can tell by that itโ€™s wrong

half harness
#

I use dark theme in eclipse

steel heart
#

then the ui

#

Still 2013

heady birch
#

@remote goblet What's pastel

#

Do you wan't my regex

hot hull
#

@jovial warren People complained so it was removed :((

jovial warren
#

what?

hot hull
onyx loom
#

or just install daddy expansion :)

heady birch
#

@remote goblet

#

Pastel

#

someone redesdign this

hot hull
#

put, get fingerguns_reversed

heady birch
#

๐Ÿคข

hot hull
#

obtainHolyUser

heady birch
#

Pico container is pssing me of

hot hull
#

Better?

heady birch
#

I hate you so much

#

Give Me Traits In Java Please

#

Not Just Interface With Default Methods

heady birch
#

Mojangs chat serializer

#

Vs custom:

steel heart
#

Oof

hot hull
#

still 1.6% too much Niall fingerguns_reversed

heady birch
#

Replaceing pico container with plexus

ocean quartz
foggy axle
#

regex is beautiful

empty flint
#

what the fuck is a rainbow/gradient pattern?

onyx loom
#

are gee bee

rotund egret
#

A rainbow is a spectrum of lights in combination to make a 7 color combination, commonly referred to (for children) as ROY. G. BIV (Red, Orange, Yellow, Green, Blue, Indigo, Violet)

In context to MC, this is usually using that idea, and making a gradient with all of the letters you're using.
@empty flint

empty flint
#

can you give an example of a rainbow color code? I'm too stupid to unregularize the regex

rotund egret
#

It looks like he's just using hex values for "color codes"

#

#ffffff "White text"
#000000 "black text"

empty flint
#

<(rainbow|r)(:\d*\.?\d+){0,2}>

versed ridge
#

<rainbow>Rainbow text

empty flint
#

<r:123.12332:123453:12312:123124>

#

what kind of rainbow is that?!

ocean quartz
remote goblet
#

did i get the url right

#

no

#

ok

#

ah

#

its /blob/master

ocean quartz
#

It's different than that though, it's not only for colors

heady birch
#

What does it mean blue text

#

Its not working properly

lunar cypress
#

@prisma wave eggsblain

Unable to load class 'com.google.gson.Gson'.
This is an unexpected error. Please file a bug containing the idea.log file.
prisma wave
#

gradle plugin broke

#

it needs the kotlin plugin declared for some reason

lunar cypress
#

๐Ÿ˜ณ

#

now it doesn't find the plugin at all

prisma wave
#

๐Ÿ˜ณ

#

the gradle plugin portal lowkey sucks

lunar cypress
#
> Task :pdm FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':pdm'.
> java.lang.NullPointerException (no error message)

```and they don't stop coming
prisma wave
#

well this is embarassing

lunar cypress
#

Should I open an issue?

prisma wave
#

yeah probably a good idea

old wyvern
prisma wave
#

what's annoying is I pushed an update, but it seems to have been corrupted. It says 0.0.2 is already uploaded but it doesn't even show as pending review :/

old wyvern
#

rip

lunar cypress
#

actually I might not even be able to use pdm here

onyx loom
#

sad face

prisma wave
#

tragic

#

can you open the issue anyway?

lunar cypress
#

yeah

prisma wave
#

thanks

lunar cypress
#

or wait no I might after all

prisma wave
#

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

lunar cypress
#

hope it works if I move the code from my static initialiser to onLoad

prisma wave
#

possibly, but isn't that a problem with the gradle plugin?

lunar cypress
#

yeah yeah different issue

prisma wave
#

ah ok

lunar cypress
#

Also is this normal? ```
No repository found for dependency Artifact{groupId='org.apache.maven', artifactId='maven-artifact', version='${maven.version}', repoBaseURL='null'}
No repository found for dependency Artifact{groupId='org.apache.maven', artifactId='maven-core', version='${maven.version}', repoBaseURL='null'}
No repository found for dependency Artifact{groupId='org.apache.maven', artifactId='maven-project', version='${maven.version}', repoBaseURL='null'}
No repository found for dependency Artifact{groupId='org.codehaus.mojo', artifactId='animal-sniffer', version='${project.version}', repoBaseURL='null'}
No repository found for dependency Artifact{groupId='org.apache.maven.enforcer', artifactId='enforcer-api', version='${enforcer-api.version}', repoBaseUR
L='null'}

prisma wave
#

it shouldn't be, but it is

lunar cypress
#

Also this

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by me.bristermitten.pdm.util.ClassLoaderReflection (file:/F:/inf/eclipse/minecraftserver/plugins/presents-0.1.0.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of me.bristermitten.pdm.util.ClassLoaderReflection
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
```but I guess you also know about that
#

or it's a wontfix because it just happens in newer java versions without jigsaw lol

#

other than that, happy to announce that it works

prisma wave
#

great(!)

#

I'll probably try and fix it eventually, but as long as Java 8 is still mainstream probably not

pastel imp
#

someone knows a programm or another way to host a local network?
(Proxy, lobby, and actual server without needing to have like 3 cmds opened, etc...)

#

I want something like a real host panel but for localhost??

analog crater
#

I use craft controller

#

Craftycontroller

ocean quartz
#

@prisma wave If you wanna judge too ^

prisma wave
#

It would seem Sxtanna is no more

#

So I'll have a look :/

old wyvern
#

He left?

ocean quartz
#

Yeah ๐Ÿ˜•

onyx loom
#

wait wot

#

why

prisma wave
#

drama down in papi discussion

#

A tragic loss

onyx loom
#

:c

old wyvern
#

which papi discussion?

onyx loom
#

hidden chat

#

for papi3 maybe? i think

prisma wave
#

@ocean quartz I've never made a Lexer before but one big regex seems like it could be difficult to maintain?

old wyvern
#

oh

prisma wave
#

I will say no more though because idk enough

old wyvern
#

What happened that made him leave?

#

oh ok

prisma wave
#

idk

old wyvern
#

nvm then