#general

3141 messages ยท Page 336 of 4

woven otter
#

I liked this one better:
1.15 update: revert to 1.8.9

celest coyote
#

lock him in your office and threaten with quotas

golden gust
#

To be fair, most of the gains would be just from rewriting the whole software

celest coyote
#

unmaintainable doe

grand slate
#

what language would u choose, if u were to rewrite the entire thing?

rigid oasis
#

Assembler ๐Ÿ˜‚

celest coyote
#

x86 bytecode

golden gust
#

I mean, people forget what an impact it would have if mojang switched languages for java edition

grand slate
#

well, for 1, it wouldn't be the java edition (i'm so funny)

golden gust
#

Pretty sure that the whole community would just revolt

rigid oasis
#

No more Mods, no more Optifine..

grand slate
#

unless they provided a proper API for mods

woven otter
#

Okay so anyone want to start a plugin called "Optimaise" or "Optimizaishan"

celest coyote
#

looks over at bedrock

rigid oasis
#

that would be great @grand slate

celest coyote
#

no thats lame

grand slate
#

@rigid oasis which is why they won't do it

rigid oasis
#

๐Ÿ˜‚

celest coyote
#

we need a good name like

#

butterize

woven otter
#

What about EpicAntiLag

grand slate
#

how about ThreadBlock, it's an async scheduler t hat secretely blocks all tasks.

celest coyote
#

run your server with buttery smoothness

grand slate
#

slowing it down as much as possible ๐Ÿ˜‰

pulsar wigeon
#

i think songoda might have a trademark on "epic" being used in MC plugin names :^)

#

kappa

limber knotBOT
#

EpicScam

grand slate
#

EpicLagg

celest coyote
#

I like my name

#

something with butter

grand slate
#

or or or, EpicCrypto - uses up as many resources as possible mining

limber knotBOT
#

there's already massivelag

grand slate
#

spawns at least 20 threads

woven otter
#

Butterize sounds like some technique for cooking

azure patio
#

^

grand slate
#

Smoker, smoke your server out with all the damn intensity

#

smells delicious

celest coyote
#

oh oh oh

#

lagsmoker

#

smoke out the lag

woven otter
#

that could work

grand slate
#

but i thought we were making lagg

rigid oasis
woven otter
#

@grand slate no it's anti lag plugin

grand slate
#

well, we're pretending it's an anti lagg plugin

#

we're really making lagg

#

or am i on the wrong page here

celest coyote
#

no

#

its a placebo

woven otter
#

^

grand slate
#

ah right got it

celest coyote
#

it does nothing

grand slate
#

or, even better, use reflection, and make fake timings

celest coyote
#

amazing

grand slate
#

ultimate placebo, you think you have c onstant 20 tps, and it feels like it

wide hazel
golden gust
#

"We highly recommend spigot for your lag needs! Including features to break entities!"

grand slate
#

We highly recommend you do not use paper, too many optimisations

#

not how mojang would have done it ๐Ÿ˜”

rigid oasis
#

maybe even craftbukkit instead of spigot?

golden gust
#

Not as fun if you say cb

#

If you're going to stir a pot, stir it right ๐Ÿ˜›

worn ember
#

when using an absolute path it completely discarts the working tree lol so now it just generates in the jar root :))

celest coyote
#

butter on paper is disgusting

#

errr

grand slate
#

i love judging spigot and 1.14 for being funny, when I haven't even played the game since 1.9 and idk what's happened to it

celest coyote
#

smoked paper

#

is disgusting

grand slate
#

using my name

#

smoker

celest coyote
#

smoked water on the otherhand...

grand slate
#

get that lovely thick tar, rub it in your server, and watch the gains

rigid oasis
#

smoked water? Is that possible?

woven otter
#

LagSmoker - Smoke lag out of your server

grand slate
#

weeb

azure patio
#

1.15 update^^

celest coyote
#

you don't know if theres a weeb under there

#

there could even be a serial killer inside

grand slate
#

i guarantee a weeb is under there

#

it's a bee costume

celest coyote
#

bees are dangerous

azure patio
#

as weeb

peak dirge
#

**B E E M O V I E **

grand slate
#

1.15 update - every tick we now call the garbage collector

peak dirge
#

1.15 - lol

grand slate
#

collect the whole damn 1.15

rigid oasis
#

tps of 0.1?

dry needle
#

when's 1.15 coming out

grand slate
#

@dry needle i just made the update

dry needle
#

can u send the jar

grand slate
#

we now call the garbage collector every tick, i promise, gainsss

#

no, private

peak dirge
#

the beatings will continue until morale improves

worn ember
#

@golden gust when using an absolute path it generates everything in the root of the jar, unlike when using a relative path ๐Ÿค” but i cant get it to boot with a relative path lmao

dry needle
#

i made all my maps 1.14 now can't revert to 1.12 !!!!!

peak dirge
#

rip

dry needle
#

performance is dead until the new update comes

golden gust
#

Well, rip

limber knotBOT
#

good

worn ember
#

now wtf do i do xD

golden gust
#

Just download gitbash thonk

celest coyote
#

just copy the cached jar

#

and run that directly

dry needle
#

what is gitbash

limber knotBOT
#

you lern java 2 make serbur faster

grand slate
#

it's git

worn ember
#

so.... what i did 3 hours ago and you guys told me not to do ๐Ÿ‘€

golden gust
#

More importantly bash

grand slate
#

yes, git, with bash

golden gust
#

Well, yea

grand slate
#

hence, gitbash

dry needle
#

isn't that just git then

woven otter
#

gitbash is better than crappy cmd

grand slate
#

well, yea but u can run it with bash

golden gust
#

We kinda forgot that windows was that bad

limber knotBOT
#

WSL

worn ember
#

its just weird

rigid oasis
#

windows cmd is shit..

dry needle
#

that's what i've been doing all along

limber knotBOT
#

WSL v2

grand slate
#

i'm still using windows 7, bully me

woven otter
#

๐Ÿ˜ 

peak dirge
#

I like how CB Beta 1.7.3 uses a TreeMap for sorting the tasks. Would be a shame if I changed it to a PriorityQueue....

limber knotBOT
#

imma guess WSL2 gonna solve all dem "wow patching takes 4ever" ppl

rigid oasis
#

I like using the new "terminal preview" with wsl and ubuntu

woven otter
#

is it faster on wsl?

static badge
#

.g PriorityQueue java

limber knotBOT
dry needle
#

btw can you smart people tell me if i can run 16 mc servers on a 8 thread machine

static badge
#

since 1.5 RIP

woven otter
#

why

dry needle
#

cos i need to fit as many as i can

rigid oasis
#

@dry needle you could, but it will not be fast..

limber knotBOT
#

well you can

grand slate
#

that's a shit idea

woven otter
#

not you why

limber knotBOT
#

but it's gonna be shit

woven otter
#

leaf why

dry needle
#

even with only 12 players each?

celest coyote
grand slate
#

@dry needle there is no reason to run 16 servers, let alone 16 on an 8 thread machine

rigid oasis
#

are that many servers really nessecary?

merry talon
#

We kinda forgot that windows was that bad

woven otter
#

that guy probably has a good computer

merry talon
#

why does this happen every day

dry needle
#

yes that many is necessary

merry talon
#

which is worse, windows or developers

limber knotBOT
#

if ur bored I guess running 16 servers keeps u preoccupied

grand slate
#

@dry needle why

rigid oasis
#

@dry needle why do you need 16 servers?

dry needle
#

cos I just do

grand slate
#

lol no

#

you don't, if u can't explain why, i promise u don't

dry needle
#

I anticipate great demand

void void
#

Lol

limber knotBOT
#

me personally I'm waaay too lazy to run a proxy and jam everything on one server

grand slate
#

so much demand that you need 16 damn servers, are you running a minigame network?

dry needle
#

yes

woven otter
#

no h8 just appreci8

dry needle
#

it's minigames

void void
#

Lol

dry needle
#

hence 12 players

grand slate
#

oh damn

#

well ,gl

#

since minigames networks usually come after you're a success

#

ppl don't just join minigame networks with 0 players

void void
#

^

dry needle
#

dw worry about that

#

got it covered

void void
#

don't worry worry

grand slate
#

alright, well you worry about getting another dedi

#

because no you can't do it

dry needle
#

I didn't think so, was worth confirming though

void void
#

Big time good fuckin luck buddy

merry talon
#

oh boy the number of times I've heard about people expecting the masses on opening day

rigid oasis
#

you can not use something like multiverse?

void void
#

You're hella over your head

dry needle
#

why do you say that?

grand slate
#

yea gl with getting the players ;/

limber knotBOT
#

let ppl run their stuff, as long as they ain't complaining about time

celest coyote
#

are you running video game servers on 1.14?

#

because thats a bad idea

#

go run them on 1.12 or something

limber knotBOT
#

no

#

never suggest outdated

grand slate
#

what version would u guys recommend for a skyblock server? I'm thinking 1.13

celest coyote
#

1.14 performance is terrible

void void
#

Lol

celest coyote
#

you dont need 1.14 features

grand slate
#

1.14 is just disgusting

limber knotBOT
#

latest 4 everything

woven otter
#

hey is patching actually faster on WSL

grand slate
#

would 1.13 be good for the skyblock gamemode tho?

static badge
#

yes

grand slate
#

ok 1.13 it is

sly cloud
#

Wouldn't 1.12 be a better version?

void void
#

Hey guys, don't worry about my server, how many players there will be, or anything. Got it covered, bruh.

But what server veraion should I use?

worn ember
#

every single one of them

rigid oasis
#

1.14 is terrible.. minecraft-servers have to rent a super-computer soon ๐Ÿ˜„

woven otter
#

leaf was that response to me or rayz

dry needle
#

uh what?

#

I never asked what version to use

grand slate
#

not you duck, dw

void void
#

should the && be at the end of the first like or at the start of the second line by convention?

grand slate
#

that was me @void void ;d

celest coyote
#

@void void do you want to colab on our new anti lag plugin called LagSmoker?

woven otter
#

@grand slate u sure

celest coyote
#

its gunna be great :kappa:

grand slate
#

duck idk what u asked

#

so probs not

void void
#

Wat

merry talon
#

the latter IMO

void void
#

okay thanks

celest coyote
#

duck give him the laydown

woven otter
#

@grand slate I asked if patching is faster on wsl

sly cloud
#

Why even bother formatting

grand slate
#

yea i wasn't answering u

sly cloud
#

/ducks

woven otter
#

@celest coyote about how shit his code is?

celest coyote
#

oof, no

#

about our new plugin

woven otter
#

oh yes

#

so

#

LagSmoker - Smokes the lag out of your server

#

Make sure to use it with spigot

void void
#

I'm formatting everything to prepare for a commenting overhaul

#

adding javadocs to the entire project

woven otter
#

because it's optimized and breaks entities successfully

grand slate
#

1.13.2 released October 22nd, 2018, that's good enough for me.

woven otter
#

so what else

void void
#

now I gotta figure out how to store a boolean alongside values in an enum again, sksksk

woven otter
#

wat

#

oh yeah should probably work on DuckGaming again

void void
grand slate
#

well, that is an enum yea ๐Ÿ˜•

woven otter
#

Oh Rayz

grand slate
#

oh duck

#

?

woven otter
#

if only you knew

merry talon
#

ok but why is this an enum

grand slate
#

if only i knew....

#

knew what?

void void
woven otter
#

this guy

grand slate
#

what?

pulsar wigeon
#

holy fuck

woven otter
#

he's a meme here

grand slate
#

wait why are you returning an Optionale

void void
#

because I am

pulsar wigeon
#

cuz he's retarded

merry talon
#

instanceof

grand slate
#

he really is a memee

pulsar wigeon
#

same explanation as all his other shit

void void
#

== null triggers my ocd

grand slate
#

well, that's a shame

#

most languages have a concept of null

void void
#

and most languages also have Optional, and it looks so much better

woven otter
void void
#

and you never ever have a null pointer exception either

grand slate
#

but, like, it's stoopid.

unreal quarry
#
opt.get();```
Can't get NPEs... smh
woven otter
#

Rayz be careful though he's not like every other "student"

unreal quarry
#

ppl be dumb up in here lately

grand slate
#

@unreal quarry you don't say

woven otter
#

Billy are you new here

grand slate
#

k n e w

void void
#

why would you ever run get() without checking if it is present first, sksksk

grand slate
#

oh god he even outt here sksksksking

pulsar wigeon
#

devon

void void
#

and you set it to Optional.empty() not null

woven otter
#

@grand slate don't touch me i'm immortal

pulsar wigeon
#

you're literally fucking retarded

unreal quarry
#

why would you ever use a variable without checking if its null first

#

ffs, devon

rigid oasis
#

optionals suck..

grand slate
#

wrapping it in an optional is entirely useless

pulsar wigeon
#

Optional<?> opt = null; op.isPresent() ...

#

fucking NPE again

#

LUL

void void
#

I literally just said "and you set it to Optional.empty() not null" can you read?

pulsar wigeon
#

that wasn't the point

#

billy was literally just saying you can still get NPEs

#

looks like you didn't read

grand slate
#

@void void this is not the use for an Optional, in this case you're already checking if it's null, then returning an empty optional, why not just return null?

worn ember
#

ok got it working ๐Ÿ™‚

grand slate
#

noice

merry talon
#

wiz its bait

woven otter
#

isn't default value/exception more preferable instead of returning null unless you use nullability annotations

worn ember
#

now i need to make it so it only downloads and patches once instead of getting all servers to do it at the same time

woven otter
#

@merry talon his entire repo is a bait then

grand slate
#

perhaps duck, but in this case, with what his method does, it actually makes more sense to jsut return null imo

merry talon
#

I agree

void void
#

because if (minigame.isPresent()) { looks much better then if (minigame != null) { sksksk

grand slate
#

but it's adding extra unnecessary overhead

merry talon
#

well, he shouldnt be in the scenario where he has to figure out what to return here anyway

grand slate
#

well that's a good point, it's a bad scenario in the first place

woven otter
#

yeah true

frosty dirge
grand slate
#

one of the only times i use Optionals, not the only but one, is when I want a value to be present, but its value is null. You can use Optional#ofNullable

#

welcome

void void
#

that's a benefit for sure

worn ember
grand slate
#

i just realised i was entirely wrong, nvm

worn ember
#

or anyone really ๐Ÿค” cant seem to find it anywhere

unreal quarry
#

the only time i use optionals is when something out of my control is giving me an optional :3

static badge
#

don't know what a "patch only" flag is for

#

it's for only patching the jar

grand slate
#

yea tbh same billy, or if i'm building functionality where i want ifPresent or orElse

void void
grand slate
#

other than that, overhead,

worn ember
#

yeah

#

but idk what the JVM flag for it is

#

to set it

void void
#

I would be interested in knowing the flag too

worn ember
#

would prevent all the servers having to patch the jar in their respective dir

static badge
#

-Dpaperclip.patchonly=true

woven otter
#

-Dpaperclip.patchonly=true

worn ember
#

tnx ๐Ÿ˜‰

woven otter
#

fu

pulsar wigeon
#

-Dpaperclip.patchonly=true

worn ember
#

@pulsar wigeon omg thanks wiz

woven otter
#

@pulsar wigeon omg thanks wiz

pulsar wigeon
#

-Dpaperclip.patchouli=true

woven otter
#

"pure girl"

grand slate
#

hey

#

rude

woven otter
#

was it cat

#

good cat

grand slate
#

probs cat ๐Ÿ˜”

woven otter
#

was about to comment on that

pulsar wigeon
#

๐Ÿ—ก ๐Ÿฆ† ping

woven otter
#

I didn't ping you

pulsar wigeon
#

i'm having duck for dinner tonight

woven otter
#

that's illusion

pulsar wigeon
#

yes you did

#

ur dinner

woven otter
#

I would never do that to my favourite wiz

pulsar wigeon
#

duckboi

grand slate
#

can i have some too wiz?

woven otter
#

wiz don't be mad I wanted your attention

grand slate
#

duck you're dinner

woven otter
#

You are poopsplash

grand slate
#

woah

#

okay now i'm grilling you ๐Ÿ˜ 

woven otter
#

Okay I'm flushing you

grand slate
#

woah we can talk about this

woven otter
#

can we

grand slate
#

okay

#

i will grill you, i will not be flushed, and i am nost a poopsplash

woven otter
grand slate
#

that's a bloke, not a shit

#

you thought that my pfp was somebody taking a shit this entire time

woven otter
#

no it looked like poopsplash the entire time

grand slate
#

it's not omfg

worn ember
#

when i launch a server, and send a stop signal to it, it will stop as soon as its fully started up right?

woven otter
#

it's okay Rayz

void void
#

Imagine making a plugin purely of commands, as in every function is called with a command, so if you wanted to call a function you would performCommand the function name and args, sksksk

grand slate
#

w h a t

graceful wyvern
#

you mean essentials?

void void
#

that'd be a huge security hole but yeah

golden gust
#

No need

grand slate
#

he really is a local meme

golden gust
#

We call that vanilla

static badge
#

vanilla in general is a security hole

unreal quarry
worn ember
#

inb4 /command ;drop table users;

grand slate
#

dumb bitch syndrome

#

sksksks

graceful wyvern
#

mmmm that book exploit

woven otter
#

using sksksk is a sign of terminal retardedness

worn ember
#

.sk

pulsar wigeon
#

what is it even supposed to sound like?

#

a kobold?

graceful wyvern
#

sprinkler

unreal quarry
#

no idea, had to look it up. still dont know.

worn ember
#

hes a skript developer

void void
#

now that I have one map for all minigames, now I gotta rewrite this function so it pulls specific players out of the map that are in x minigame and store them in an array sksksk I am hating this rewrite more and more

woven otter
#

that would explain some things

worn ember
#

hes communicating with his fellow skripters

pulsar wigeon
#

I hate null
return null

static badge
#

for example did you know you could crash the server with creative mode using only the set creative slot packet

grand slate
#

@void void stop

woven otter
#

leaf is that still a thing lol

void void
#

I am still rewriting the plugin to use Optional's instead of null

static badge
#

vanilla kappa

graceful wyvern
#

wait

grand slate
#

you're rewriting it to make it worse?

static badge
#

not for spigot/cb

void void
#

so far I got a quarter of the plugin rewritten

graceful wyvern
#

is devon just a bot made to troll us

static badge
#

but in vanilla yes

pulsar wigeon
#

11:52 AM] Devon Casper: Imagine making a plugin purely of commands, as in every function is called with a command, so if you wanted to call a function you would performCommand the function name and args, sksksk
this is how command frameworks work pretty much

worn ember
#

juse use Nullable<T> kappa

static badge
#

the reason being you can make it do a tile lookup

pulsar wigeon
#

plus some useful stuff like type conversion and so on

grand slate
#

he is the local memer

static badge
#

which does a chunk load

#

and all you need to do is spam random coordinates to make sync loads :>

woven otter
#

lol

static badge
#

dumb game

grand slate
#

but we're all here

#

so it's k

#

it's our dumb game

unreal quarry
#

until hytale

#

then i'm out

void void
woven otter
#

Devon should I ask why you are returning Arraylist? but I guess I already know why

void void
#

the method name is getMinigamePlayerList

#

so that should explain why

woven otter
#

no

#

that doesn't explain it

grand slate
#

idek what hytale is, properly

unreal quarry
#

List vs ArrayList

woven otter
void void
#

because it used to be ArrayList for minigames before this rewrite

#

now it is ConcurrentMap

unreal quarry
#

i sense danger ahead, devon

void void
#

I could've had it as List, I don't remember exactly why I chose ArrayList over List I know I had a reason several years back when I wrote that

woven otter
#

๐Ÿคฆ

void void
#

I've been using ConcurrentMap throughout the plugin for years, no issue Billy

#

though I use it through schedulers and not really concurrently

unreal quarry
#

even a broken clock is right twice a day, devon ยฏ_(ใƒ„)_/ยฏ

void void
#

sksksk

static badge
#

what if it's missing fingers billy

#

then it's never right kappa

unreal quarry
#

clocks have fingers?

#

๐Ÿ˜ฎ

grand slate
#

okay so effectively, hytale looks like a huge minecraft mod, with dodgier graphics, and the name Hy infront of it. Am i wrong?

static badge
#

yes the things that point

unreal quarry
#

those are hands

jaunty oriole
#

yea clocks have hands, why not fingers?

static badge
#

oh hands

#

wtf DIFFERENCE DOES IT MAKE

woven otter
rigid oasis
#

how can I replace all whitespace with <string>.replaceAll?

unreal quarry
#

replaceAll("\\s+", "")

woven otter
#

depending where you're using that you should probably prefer Pattern over replaceAll

rigid oasis
#

@unreal quarry thanks, exactly what i wanted

pulsar wigeon
#

you don't like compiling regex a hundred times a tick duck?

#

pretty sure it caches patterns tbh, but yea

woven otter
#

it does?

grand slate
#

even more performant is to cache a Matcher and call Matcher#reset

pulsar wigeon
#

nvm, that's python's regex engine i'm thinking of

unreal quarry
woven otter
#

"or lack braincells"

pulsar wigeon
#

"very rarely said out loud"

#

because no human vocal chords can produce that sound

grand slate
#

earlier i saw a post that it's related by "dumb bitch syndrome" and i can't find it ๐Ÿ˜”

void void
rigid oasis
#

@grand slate how would I write this regex "\s+" with that Matcher?

woven otter
#

you need to use Pattern first

grand slate
#

first create the pattern, then create a matcher for the pattern. Use your matcher, then every time you want to call another regex check use Mater.reset(newString); and check the matcher again

#

rather than recreating the matcher

rigid oasis
#

and can a Matcher replace something?

grand slate
#

e.g. pseudo-code ish

Pattern pattern = new Pattern("some pattern");
Matcher matcher = pattern.matcher("");

matcher.reset("string to test");
matcher.matches();

matcher.reset("a new string to test");
matcher.matches();

...
void void
#

so much better

grand slate
#

i said pseudocode because i can't remember if those method names are correct

void void
#

and futureproof for adding new minigames

grand slate
#

i used that regex performance boost in a parser, yea ik regex in a parser disgustign, it wasn't all regex, but some had to be for my sanity

woven otter
#

oops hold on

#

i fucked up something

grand slate
#

@rigid oasis Matcher#replaceAll(String)

woven otter
#
ServerMinigame minigame = getCurrentMinigame(player);
return minigame == null ? "hub" : minigame.toString().toLowercase();```
rigid oasis
#

@grand slate thanks, allready found it

grand slate
#

ah np

rigid oasis
#

you couldnt know that

grand slate
#

:d

woven otter
#

glad I set up auto-deployment to my testserver for this website

grand slate
#

oh u reminded me

#

i made a profile service, for my server so u can look up players, and i made a version with caching and never uploaded it

woven otter
#

mc-heads

grand slate
#

lol it uses mcheads

woven otter
#

lol

grand slate
#

to get UUIDs

woven otter
#

from username?

grand slate
#

yea, idk why i used mcheads lmao

#

i could have just use mojang's

woven otter
#

lel

grand slate
#

wait why did i do that?...

#

surely i had a good reason

woven otter
#

because it's cached already

grand slate
#

oh yea that was it

#

fix's caching system

tropic flame
#

maybe the request limit

grand slate
#

and that yea

#

u guys are smart... nearly as smart as me for having the idea in the first place

#

wanna know the funny thing: i'm so chad that i then cached fix's responses ๐Ÿ˜‰

woven otter
#

yeah he has worked on that a bit

rigid oasis
#

whats a fast way of checking if one or more lines of a List<String> are contained in another String?

grand slate
#

@rigid oasis broaden that a bit more?

#

u wanan check if >= 1 element of a List is contained in a string?

rigid oasis
#

no

grand slate
#

list.stream().anyMatch(s -> string.contains(s)); if so

#

that can be a method reference too btw

unreal quarry
#

list.contains(string)

rigid oasis
#

@grand slate yes, i meant that

grand slate
#

ah right

worn ember
grand slate
#

rart

worn ember
#

pc almost died on me lmfao

grand slate
#

btw dark still haven't tested the entity name length

#

i realised that the max length would be stupid anyway, i'm making dialogs above NPCs

#

so imagine having like 100 character lmao, turning your head to read

void void
#

sksksk

rigid oasis
#

@grand slate my IDE wants to convert that to the following: list.stream().anyMatch(otherString::contains);

grand slate
#

yea i said u can use a method reference

void void
rigid oasis
#

oh, thats called method reference..

grand slate
#

yup :d

unreal quarry
#

gives devon a tissue for that wheezing cough

grand slate
#

sksksksksksks

#

oh oops

#

i meant, and i oop-

#

also no tissue acn save his cough

#

one bad thing about intellij, it's spell check. It didn't like the word "pathed"

void void
#

after, oof

#

at least I am not having 8 different arrays for minigame player storage

#

1 array for all

#

sksksk

grand slate
#

thank fuck for that, now it's 1/2 dumb

#

honestly devon, we're not being mean, just trying to get you to change your ways

void void
#

sksksk

grand slate
#

jesus

void void
#

I am dieing to see if skyfight works after this

#

since skyfight requires a minigame class and not just a minigame enum

woven otter
#

@grand slate I'm convinced that he's a lost cause

grand slate
#

yup

#

i am determined to help

#

nobody's a lost cause, although this is close

woven otter
#

contribute

worn ember
#

oof my pc crashed

void void
grand slate
#

what is that duck

#

it's a fork of something

void void
#

very different since when he forked it

woven otter
#

fork of that

void void
#

I've basically rewritten everything since then

woven otter
#

yeah maybe would be worth to start with the rewritten thing

void void
grand slate
#

wait it's written by devon

#

noty

#

also i can't even pronounce that name

woven otter
#

not even crediting duck for best advice

void void
#

you mean square

woven otter
#

gonna cry now

void void
grand slate
#

is async access to the config even allowed?

unreal quarry
grand slate
#

wait billy, is async access to the config allowed?

#

i genuinely can't remember, i'm gonna say no

woven otter
#

heh

grand slate
#

single comitt

void void
#

never had any issues whatsoever with async config access

woven otter
#

tab -> spaces isn't it?

grand slate
#

@void void any bukkit api methods accessed async aren't safe.

#

I think the config is included in that

void void
#

and this is not a bukkit api method is it

grand slate
#

the only things taht are safe are: utility methods, and packets

void void
#

it's reading a file for god sake, not using internal bukkit api methods

grand slate
#

but you're doing it async, what if somebody else reads the f ile

woven otter
#

what about Player#getInventory() tbh not sure

grand slate
#

or what if you read the file at the same time as you're writing to it

void void
#

writing to the bukkit api is unsafe, reading is safe as long as it does not trigger a write as getChunk might do

grand slate
#

but, you're writing to the config

#

whomst

void void
#

writing to a config is not the same as changing a player

unreal quarry
#

you cant help him, chris. just point and laugh now

grand slate
#

ah alright

#

have fun devon

void void
#

I should be more clear, it is unsafe to use craftbukkit methods async because vanilla hates async, but it is safe to use pure bukkit api methods like writing to a damn file

worn ember
#

Error: Could not find or load main class paperclip.patchonly=true ya'll lied to me

grand slate
#

server corrupts

woven otter
#

need to summon anyone who knows MT on this one

void void
#

i'll believe you once an issue comes up and no issues have come up at all

grand slate
#

lol ok you go and write async to the world

static badge
#

kappa "bukkit only stuff is fine"

grand slate
#

when an issue happens, come back

void void
#

I am not writing async stuff to a world omg

#

it is writing to a file

grand slate
#

oh fuck me

void void
#

did you forget that already

static badge
#

wat's going on here boys

grand slate
#

lmao

woven otter
#

someone is using something asychronously

grand slate
#

@static badge he thinks that the configuration API is safe to use async, i think it isn't, it might be, but he's pretty sure the only stuff u can't do async is world stuff

void void
#

yes, saveConfig() of all things

static badge
#

wat code is this

grand slate
#

devon, my final word, it's unsafe to write to files asynchonously, unless you're locking on the file

#

which you're not

static badge
#

do you modify your plugin's config

unreal quarry
#

many many bukkit api calls in that async

static badge
#

I should assume so given that save call

unreal quarry
#

including getonlineplayers, etc

grand slate
#

oh is he really?

#

then it's definitely unsafe

#

wait duck, is he making files async now?

#

oh and every method's static

static badge
#

if you wanted to be guaranteed about this you create the data for the file sync and dump it async

void void
#

oh good point

#

didn't realized it wasn't just plugin.saveConfig()

#

let me move that to it's own async task

grand slate
#

what

static badge
#

there are actual issues which can result in not saving some parts of your data

#

and reading player locations off main is pretty retarded

grand slate
#

devon, if you have so much data that you must save it regularly with a repeating task, use a damn database

static badge
#

wont cause shit to blow up but is sketchy

#

and is one of those things that will fail when it does

unreal quarry
static badge
#

especially their worlds

unreal quarry
#

now i'm curious wtf that does lol

grand slate
#

lmfao

#

i guarantee it calls Java's garbage collector

#

my meme earlier was, 1.15 update: every tick calls the garbage collector, he's gone and done it

woven otter
#

I wouldn't look into that project

#

My hypothesis is that it's a government project

grand slate
#

there are nuclear codes stored in there

#

holy shit his Server class is 1000 lines

#

so much scheduler used

unreal quarry
#

dies inside a little

grand slate
#

3k lines

grand slate
#

@void void please, explain what you're doing so we can at least attempt to help

woven otter
#

@grand slate don't

#

he doesn't need help

grand slate
#

nah but like 462 comitts, none of my projects have that

void void
#

I am not asking for help

grand slate
#

no but you need it

woven otter
#

everything he does is obviously perfect

static badge
#

dogpiling generally doesn't help

#

regardless of how correct you are

void void
#

if this project had been on github from the start instead of just since late 2018 then i'd have many thousands of commits, since I have been working on this since early 2014

grand slate
#

holy shit

void void
#

I only recently got into github

unreal quarry
#

wait, i was being easy thinking you was beginner.. you been doing this for over 5 years? ๐Ÿ˜ฎ

grand slate
#

i'm not regularly lost for words

#

^ yea, i started programming in 2014 i think

void void
#

it's clearing up a bit, this whole time I have been fixing the errors caused by rewriting the minigame functions

#

not too long ago that was all red

unreal quarry
#

and you use white theme in IJ?

#

๐Ÿ‘€

grand slate
#

i use light theme hehe

#

by choice, i used dark theme for 4 years

void void
#

my main laptop screen doesn't get nearly as bright as my macbook does, so white screen isn't AS bad

#

I like how it keeps me awake when working on projects

woven otter
#

I started programming with Java on 2013/2014 and look at my shitty code

grand slate
#

duck, you may be rarted, but he belongs in another plane

void void
#

I should be able to commit this soon, I don't want to commit it before it can compile

#

the only reason the latest commit was pushed as broken was because I was switching computers in-dev since I am going camping and I needed to have the latest code

grand slate
#

just stop making it worse for yourself

#

haha

unreal quarry
#

to be fair, its not really about how long you've done it. i started coding in 1995 and just look at the shit code I produce today ๐Ÿ˜›

static badge
#

1995 Kreygasm

grand slate
#

that's true, it's not, but i mean 5 years and he's made that

#

devon, i really recommend you make a new project, and focus on something new

woven otter
#

tbh he isn't grateful for constructive criticism

#

it's pretty damn valuable

grand slate
#

perhaps something not minecraft related, broaden your talents

void void
#

how so

#

you weren't paying attention to the PR were you

#

I took in all of your advice, collectively, even though I dissed on it sarcastically in here

unreal quarry
#

do what linus did. he makes things that he needs in his life that benefit him.

#

like git.

grand slate
#

^ yea

#

and linux, which he wanted to be a desktop operating system :d

void void
woven otter
#

i'm pretty sure noone understands your sarcasm

void void
#

like when I was jumping on Chris for making fun of async write to config, I wasn't trying to disprove his statement, moreover I was giving him counterclaims to see if he could prove his original statement more. I know writing to a config async is bad, but I was waiting for him to say something that actually explains why it is bad and not just the catch all "writing to the bukkit api async is bad." I promptly reverted that commit when I realized what could actually happen when we started talking about that

celest coyote
#

Dont push to master branch

#

Make a dev branch

#

Ree

static badge
#

reeee

graceful wyvern
#

oops i break that all the time

void void
#

too late for that, I was going to do that but I was in a rush and forgot

graceful wyvern
#

but mostly becuase private repos im the only one in

void void
#

so this minigame rewrite will happen on master I guess

woven otter
#

it doesn't seem like that tbh

#

but that's on you

celest coyote
#

Well like

#

Make new branch now

jaunty oriole
#

sometimes i forget i haven't branched and everyone gets mad at me

celest coyote
#

And revert all the commits on master

grand slate
#

@void void it's not a catch all btw, that is the genuine reason. The Bukkit api is not thread-safe, therefore methods must be accessed from the main thread

celest coyote
#

Pretty easy

pulsar wigeon
#

real devs push everything to master

#

:^)

unreal quarry
woven otter
#

what about private projects though

graceful wyvern
#

push to master and auto approve production deploy, improves dev effficiency by 100x kappa

void void
#

I forgot my mcmmo classic rewrite uses my api

jaunty oriole
#

any bugs that pop out in prod is a feature Kappa

void void
#

sksksk

#

I need to rewrite that as well

unreal quarry
void void
#

sksksk

woven otter
#

sounds like lack of braincells

void void
#

fine

celest coyote
#

Band

jaunty oriole
#

nice

woven otter
#

Rant

#

glad someone attempts to keep this chat sane

void void
#

it didn't even cross my mind Billy was a moderator, I was just being casual

celest coyote
#

Alwayd nice to see people read templates kappa

static badge
#

billy is just a bad mod kappa

worn ember
#

i like how that gun points perfectly at the profile pic

#

well almost perfectly

grand slate
#

i'm out here hurting my brain cells trying to model Dialogs

#

gotta have scnearios in there too, like if certain predicates are true, other paths take place

void void
#

and i'm here losing patience waiting for maven to finish resolving dependencies for mcmmo classic

woven otter
#

eww maven. Only bad experiences with it so far

quasi valley
#

how thinking_eyes

#

well at least until you get really modular or complex

graceful wyvern
#

go try work with forgegradle, then try maven again

woven otter
#

I converted 2 projects to gradle in last 2 days

graceful wyvern
#

you monster

woven otter
#

and forgegradle isn't that bad

#

but to be fair I haven't messed around with forge that much

worn ember
#

forge gradle is aids

woven otter
#

how much blame can you put on gradle though

worn ember
#

not that much

#

just weirdly designed

void void
#

Maven for life

#

Paper uses maven

worn ember
#

gradle or noob

ancient bolt
#

Flying back into ATL from Mobile, AL in a little sardine

#

Tiny ass plane

worn ember
#

lol

#

Yo demonwav you pretty much created paperclip right?

void void
#

Gotta get schwifftyyyy

grand slate
#

@worn ember blanked

worn ember
#

yup

#

ill just make an issue lol

grand slate
#

:d

unreal quarry
#

you EU folk are really sensitive to weather it seems ๐Ÿ˜›

worn ember
#

what country?

wide chasm
#

officials are comparing it to a terrorist attack
smh

worn ember
#

seems something muricans would say

#

we got so many mass murders we should make it look like other countries have that too

wooden blade
#

Authorities are still trying to determine whether the culprit was Thor or Zeus

wide chasm
#

lol

grand slate
#

@unreal quarry ay we aren't built for snow, sun, thunder, excess rain, cold. This world just hates us, giving us those things smh...

jaunty oriole
#

where did it happen

grand slate
#

We are built for mildly cold, decently rainy, not windy climates. In other words it doesn't exist

worn ember
#

i was built for mildly interesting

wooden blade
#

๐ŸŽถ Born to be Meh! ๐ŸŽถ

manic galleon
woven otter
#

Paper uses maven
I'm pretty sure that's because of spigot etc. There is/was an attempt to make a gradle plugin for paper I believe

hallow hedge
woven otter
worn ember
#

404

#

๐Ÿค”

woven otter
#

it's privated

worn ember
#

no u

woven otter
#

u

quasi valley
#

be proper communists: we

woven otter
#

our

hot gorge
#

The party's

peak dirge
#

T H E P A R T Y L I N E

woven otter
#

thin ice

fallen oracle
#

Theoretical question. Is it possible to have a simple HTTP request get sent to an endpoint, and have the endpoint forward the request somewhere else using HTTPS and then return the response from the HTTPS request back to the original place that send the original HTTP request?

void void
#

i mean, yea? just make the server send to another server, when server gets resp, send to client

#

api gateway sort of

#

you hit your api, it hits another api, then sends back

fallen oracle
#

Alright, cool.

void void
#

This api bridges to wikipedia for me

#

(and a few others)

fallen oracle
#

Hmm okay, thanks.

void void
limber knotBOT
#

(DiscordBot) He Wasnโ€™t Ready for the Hologram - Key & Peele - length 3m 38s - 49,951 likes, 704 dislikes (98.6%) - 1,474,837 views - Key & Peele on 2019.08.22

void void
limber knotBOT
#

Hello

frozen spire
grand slate
#

welcome

#

and hello

acoustic pilot
#

damn, super glue isnt strong enough

#

gonna have to use epoxy

peak dirge
#

@static badge started rewriting the Bukkit scheduler ๐Ÿ‘€

static badge
#

kappa have fun with that

peak dirge
#

yep

#

concurrency hell is fun

static badge
#

you can ref my impl if you want but it sort of requires j11 magic so

pulsar wigeon
#

beta 1.7.3 running on j11

#

imagine

static badge
#

I think it would run

#

in general that codebase though is sorta really monkaS

#

does it even use generic types

rigid oasis
#

The probably longest method in Java (without libraries): InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonPainter

peak dirge
#

@static badge it kind of does!

static badge
#

kind of kappa

slow kernel
#

Has anybody had a chance to know if 1.15 will be more stable/less laggy serverside than 1.14?

static badge
#

don't get your hopes up

pulsar wigeon
#

.pray

limber knotBOT
#

Fix Version/s: Future Version - 1.15+

slow kernel
#

I'm guessing it's probably only getting worse with the new edition

static badge
#

the trend is downwards

#

so don't expect it to be better

slow kernel
#

Yeah

static badge
#

so far we don't see improvements from the snapshots

slow kernel
#

I've just gotta decide if I'm ever going to upgrade my 1.13.2 server.

#

It's running spigot (hiss hiss, I know) but I'm gonna move it up to Paper 1.14.2 or .4 sooner or later (idk if paper is going to .4 or not, sorry!)

pulsar wigeon
#

wut

#

i dont get it

acoustic pilot
#

oh my fucking god, applied a shit ton of super glue and used a drill and it worked lmao

pulsar wigeon
#

do people just always assume that things arent updated

#

and just dont bother to check?

#

like how do you just assume that paper is still on 1.14.2?

upper flicker
#

Seems to mostly be people who only use jars from their GSP

static badge
#

.g GSP

rigid oasis
#

GSP?

limber knotBOT
static badge
#

interesting

rigid oasis
#

yes..

static badge
#

jar files from an airport

upper flicker
#

Game Service Provider

#

Or Server, you can argue about that

static badge
#

we need the petty arguments channel back

rigid oasis
#

oh

pulsar wigeon
#

GSPs that provide outdated jars should literally just be purged

upper flicker
#

Also your new profile picture is super fitting for you leaf

static badge
#

mfw fitting

#

why's that z :>

pulsar wigeon
#

seriously they all deserve to fucking vanish

static badge
#

outdated jars monkaMEGA

pulsar wigeon
#

how fucking bad do you have to be at your job to offer people a year old spigot build when your entire fucking business model revolves around hosting servers

rigid oasis
#

some GSPs even do not allow the use of custom jars..

slow kernel
#

I apologise, I last checked 1 month ago. I run the server by myself, and don't get time often to do maintenance. I'm glad to hear that Paper is at the current version!

quasi valley
#

also, there's still so many hosters only distributing CB as a preset server jar lefbad

static badge
#

CB MonkaChrist

pulsar wigeon
#

paper was updated to .4 the same day as spigot did

rigid oasis
#

CB is okay if it means Craftbook ๐Ÿ˜‚

celest coyote
#

yeah but it was a couple hours delayed

#

so it might as well not have been /s

pulsar wigeon
#

hurrdurr

slow kernel
#

I hadn't seen that spigot got a 1.14.4 update either. As I said before, I apologise, my info was out of date by a month or several. :(

celest coyote
#

you can literally goto papermc.io and check in 5 seconds

#

easier than spigot

pulsar wigeon
#

spigot came out the morning after mojang released too (australia time)

rigid oasis
#

paper is much easier to install than spigot, thanks to the guy who invented paperclip(.jar)

slow kernel
#

Well, alrighty then, ty for getting me straightened out!

worn ember
#

lmao imagine being australian

celest coyote
#

dark

acoustic pilot
#

now that i got this bitch off, can buy a cooler ๐Ÿ˜„

celest coyote
#

you are dum

worn ember
#

๐Ÿ˜ข

#

so ive been told

celest coyote
#

just use the cache file to run instead of paperclip

#

generate the cache using the args before running the servers

#

i told you this like 5 times

worn ember
#

i dont want to copy it every time tho

celest coyote
#

you dont need to copy reeeeeeeeeee

worn ember
#

????

celest coyote
#

run papclip.jar to generate cache

#

run each server using cache

worn ember
#

it generates the cache folders inside each server tho

celest coyote
#

CAUSE YOU ARE RUNNING PAPERCLIP

#

RUN THE CACHE JAR

worn ember
#

dafuq is a cache jar

celest coyote
#

(โ•ฏยฐโ–กยฐ๏ผ‰โ•ฏ๏ธต โ”ปโ”โ”ป

static badge
rigid oasis
#

the jar in the cache folder

celest coyote
#

how many times do i have to tell you

worn ember
#

calm down son โ”ฌโ”€โ”ฌ ใƒŽ( ใ‚œ-ใ‚œใƒŽ)

static badge
#

.fip a

worn ember
#

man all you told me was to copy something

pulsar wigeon
#

trying to reason with DED is like trying to reason with a retard

#

that's why i blocked him

worn ember
#

wiz ur mom is a noodle

#

oh theres a jar in there

static badge
worn ember
#

i never bothered looking in there lmao

#

i swear i'm smart (sometimes)

slow kernel
#

So, are y'all normally this frosty, or are y'all just happy to see us today?

peak dirge
#

@static badge Well, it's "working"

static badge
#

the scheduler? kappa

peak dirge
#

yes

static badge
#

nice

#

is it pushed kappa

worn ember
#

they just have issues understanding high intellectuals@slow kernel

peak dirge
#

and even if it's a bit of a mess now, it's scads simpler than the CB one

static badge
#

(tbh anything would be better than whatever the FUCK is the CB one is back then)

celest coyote
#

if by "high intellectuals" you mean "dense retards"

worn ember
#

๐Ÿ˜ฆ

static badge
#

wow

#

rolled

worn ember
#

he called me the r word

static badge
#

god even carpets don't get rolled that hard

worn ember
#

he still loves me uwu

static badge
#

even a genocide wasn't that brutal

peak dirge
#

pushed.

static badge
#

I forgot to star the repo where's it at kappa

peak dirge
static badge
#

thx

#

oh yeah CraftFuture

limber knotBOT
#

k so projectiles now kill chorus flowers. any way to stop this

static badge
#

what a clusterfuck that one is

#

thank god you can replace it with completable future

peak dirge
#

yep, so I replaced it with a thin FutureTask wrapper

woven otter
#

F for dark

worn ember
#

@woven otter everyone bully me ๐Ÿ˜ข

celest coyote
#

robo write a plugin that cancels projectile hit events maybe

#

idk if api even works like that

worn ember
#

robotoe ๐Ÿ‘€

limber knotBOT
#

no

peak dirge
#

the synchronization is a bit nasty, but it's probably more thread-safe than the original one...

limber knotBOT
#

not cancelable

#

shouldn't a changeblockevent or some other block event fire for this

static badge
#

certainly way better than the old one kappa

celest coyote
#

alright open up an feature request and ill take a look maybe

limber knotBOT
#

because eventdebug only shows projectilehitevent

unreal quarry
#

robo, you want the ProjectileCollideEvent

limber knotBOT
#

that'd be a paper-only fix for a CB plugin, but thank you. I'll do that in an addon if I have to I guess

celest coyote
#

billy isnt that only for entities?

#

Called when an projectile collides with an entity

unreal quarry
#

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

celest coyote
#

yeah that wont work

limber knotBOT
#

and ya

#

that probably is only for that

celest coyote
#

robo if you want spigot compat ask spigot

unreal quarry
#

^

celest coyote
#

don't ask us

limber knotBOT
#

r u srs

unreal quarry
#

you ask us, you gonna get paper answers

limber knotBOT
#

I'll take any answers

celest coyote
#

well we can't add spigot compat

worn ember
#

well then you cant complain lol

limber knotBOT
#

am I complaining?

worn ember
#

uwu dont bite my nose off plz

#

i still need that

limber knotBOT
#

u dont even have a nose

#

cuz u r dumcordian

celest coyote
#

๐Ÿค”

worn ember
#

why is everyone so toxic today

unreal quarry
#

i know its possible, i just dont know off the top of my head, robo. my claims plugin (paper only compat) only lets claim owners/builders break chorus fruits with projectiles

true canyon
#

Because this is the minecraft community, @worn ember

worn ember
#

true

static badge
#

it's mbaxter kappa

limber knotBOT
#

minecraft + dumcord

worn ember
#

im glad its not as bad as dota 2 though, they start shouting at you from minute 0 how they fucked yo mama and stuff ๐Ÿ™‚

celest coyote
#

I guess you could look at the blockbreakevent or something

limber knotBOT
#

nop that only fires for ur standard player break

#

blockplaceevent used to (or still is) fired for striping logs or whatever though

true canyon
#

@worn ember You don't really get that unless you have a poor behavior score yourself. Matchmaking's pretty good these days.

pulsar wigeon
#

are we talking about arrows hitting things like bells or chorus plants

limber knotBOT
#

ya

pulsar wigeon
#

cuz yea there's no way to detect that

celest coyote
#

chorus plants

pulsar wigeon
#

spigot ๐Ÿšฎ

limber knotBOT
#

kewl thx

celest coyote
#

paper has PR for bells

worn ember
pulsar wigeon
#

i went over this with electro a while ago

celest coyote
#

nothing for chorus i guess

#

yeah so some one open up an issue then

limber knotBOT
#

.g paper bells projectiles github

#

(RoboMWM) https://github.com/PaperMC/Paper/pulls -- Pull Requests ยท PaperMC/Paper ยท GitHub: "Jun 20, 2019 ... High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies - PaperMC/Paper. ... Add BellRingEvent for..."

GitHub

High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies - PaperMC/Paper

#

dum google

true canyon
#

@worn ember You swear a lot!

celest coyote
worn ember
#

@true canyon thats received lol

celest coyote
#

ah forgot about campfires

pulsar wigeon
#

yea

#

we had this whole convo already

worn ember
limber knotBOT
#

that's bellringevent, idk how that has to do with stopping it from breaking?

celest coyote
#

do they fire events for anything?

limber knotBOT
#

but thanks for links

pulsar wigeon
#

tnt has a special ignite event

#

cuz that's been in for ages

limber knotBOT
#

o rite im not in da dumcord

pulsar wigeon
#

but none of the new stuff has events or at least cancellable

true canyon
#

Where are you getting your cloud from, @worn ember - I can't get opendota to generate mine...

limber knotBOT
#

wut day was that convo

#

.log

pulsar wigeon
worn ember
#

i just went to wordcloud