#general

3141 messages · Page 573 of 4

olive garden
#

😐

void void
#

hm interesting

#

nouveau driver has gotten a lot better

#

manages to run minecraft 40-60fps on geforce 710M

olive garden
#

I swear I thought that was related to vehicles at first

#

sounds like some french car

#

or a misspelled game title

wide chasm
#

I think 'nouveau' is 'new' in French, but that was 4 years ago, so...

olive garden
#

wait, have you learned French?

worn ember
#

yeah nouveau is new

olive garden
#

what now, does everyone speak French?

worn ember
#

half my country is french kekw

#

i hate the language tho

olive garden
#

oh

#

how many languages do you speak?

worn ember
#

3

olive garden
#

that's nice

worn ember
#

yeah, cba to learn german tho

olive garden
#

German ist sauber Krebs

#

💯

worn ember
#

i dont like how they use capitals in the middle of a sentence

limber knotBOT
#

am learning german

#

capitalization is nice

#

contrary to some other more inconvenient things in German :aaa:

pulsar wigeon
#

yea capitalization is straightforward

olive garden
#

yeah, that should be least of your worries

limber knotBOT
#

all nouns and names are uppercase, not that hard to remember ;P

#

nominalization can be a bit harder to learn I suppose

olive garden
#

what does that even name?

#

like Futur I and Futur II?

limber knotBOT
#

turning words into nouns, run -> the run

#

rennen- das Rennen

#

or well no, the run isn’t the same

pulsar wigeon
#

also make sure you use sie and Sie correctly

olive garden
#

ooohhh

#

sie vs Sie is pretty easy as well

#

at least for me, as a Hungarian

#

I imagine it's a lot harder for English speakers, since they don't differentiate as much between the formal and informal addressing of others

#

(there is no you vs You)

limber knotBOT
#

the running* is nominalization

pulsar wigeon
#

well yea i mean even people "fluent" in english constantly fuck you they're/their/there etc

limber knotBOT
#

top 10 anime plot twists is people saying “your stupid”

pulsar wigeon
#

"you're stupid"

olive garden
#

*ur dumm

#

this is Paper, after all

potent warren
#

IRC 🤢

#

You're already on Discord bruh

#

oh

#

Thought you were talking about a client

upper flicker
#

Im sure it probably could

#

irc is a super simple system

slim nymph
upper flicker
#

looks like youve got a blog post to update

slim nymph
#

yep just trying to concrete the tuning

#

i know how to make it even lower now, just comes at cost of risk to other servers with different memory patterns

#

so gotta keep it balanced to be good for everyone

green mulch
upper flicker
#

that's what an 'advanced' section is for

slim nymph
#

lol

pulsar wigeon
#

implying anyone reads

upper flicker
#

I mean, yeah youre not wrong

#

then again the whole thing is reading so

pulsar wigeon
#

the amount of people who copy the whole thing, then reduce xms because ptero etc can't allocate the full heap...

slim nymph
#

im sure most go to the blog, copy the box and run away

#

so in the end not going to be dropping that G1Mixed flag, just gonna be tuning it in the proper direction this time lol

#

actually likely gonna be reversing direction on the SurvivorRatio too

#

what im finding is that survivor is actually whats hurting pause time

#

so, before my flags tried to optimize avoidng garbage getting to old. im finding that its actually more effecient to let it have fewer passes in survivor, let it promote to old, and then let old collect incrementally through mixed and stop having so much evacuation.

#

curious what a single tenuring might look like

rough delta
slim nymph
#

im doing it lol, MaxNew 80, MinNew 70, max tenuring 1, survivor space 10

#

ALL OF THE FUCKING EDEN

#

basically, every eden collection will say you get 1 shot, 1 opportunity, do you take it, or do you let it slip, and fall into old gen.

void void
#

aikar, considered trying zgc?

#

or shenandoah?

slim nymph
#

i might look at zgc sometime, but im sure there are trade offs, probably in cpu cost

#

one concerning factor I see about ZGC is it introduces additional cost to reads vs G1 has cost to writes

void void
limber knotBOT
#

does anybody have an idea why lava would damage someone? xD

olive garden
#

🤔

#

maybe because that someone isn't gordon freeman

limber knotBOT
olive garden
#

do you not believe me?

pulsar wigeon
#

wut

#

have you ever tried standing in lava phoenix?

limber knotBOT
#

yes

pulsar wigeon
limber knotBOT
#

it was worldguard! ;_; xD

void void
#

Unless you meant "why lava wouldn't damage someone", p sure it was minecraft

pulsar wigeon
#

yea, WG doesn't cause lava damage

limber knotBOT
#

uh, yeah, lol

patent path
#

hi! anyone knows a plugin that makes animals invulnerable when they have a name (with a nametag)? I used to use Stables but it's old and not working anymore

ember crag
#

If I knew java well enough, I would think it would be pretty simple to throw one together. When a mob damage event happens, check to see if that mob has a name set. If it does, then cancel the event.

peak dirge
#

@slim nymph keep me updated, I may tweak my OpenJ9 tuning recommendations based on your results

#

if I decide to do this then I'll probably switch to the balanced garbage collector instead

patent path
digital jasper
ebon sentinel
lost eagle
jolly isle
feral radish
#

Hey, I don't know if this is the right channel but is a i5-4440 enough to run a 1.15+ Survival-Server with ~10 Players comfortably? thonk

azure spade
young gate
void venture
#

I believe so

#

I mean, with the right config, I am running a 1.15 server on a celeron

void void
#

oh boy.

jagged egret
#

there are also a freaking monton of other factors besides just the processor

void void
#

i5-4440 has less than 2000 single thread rating, so it might be okay it might not be.

#

Doesn't look great tho.

#

Make sure you pregen your world and follow the full optimization guide BEFORE any players join.

#

Might be ok.

void venture
#

You don't need that much power for 10 players though

void void
#

Aha. That's where you're wrong.

#

In 1.12 sure.

#

In 1.13+

#

LOL

void venture
#

I have a 1.15 server with 10 players

jagged egret
#

chao performance

void venture
#

hence why I am saying it

#

yeah, 1.15 has shit performance compared to the older versions

#

but you can get around it

void void
#

Alright, whatever.

#

Good luck with that.

void venture
#

with a low player count, of course

#

as the player count grows, glhf

latent valve
#

I7-3770
30 ppl survival 20tps rocking 30-45mspt if they loading chunk

feral radish
#

I'm running a 1.16 Snapshot-Server on my 4,2Ghz Ryzen 2600 with no Problems but I don't want to let my PC run 24/7. And a friend would sell me a mainboard, i5-4440 and 8gb ram for 75€

void void
#

@latent valve even that i7-3770 is better than the i5-4440

#

with re to cpubenchmark

latent valve
#

I mena not by much

void void
#

at least it's over 2000

latent valve
#

2060 smt on bench v9

#

The old one not new

void void
#

yea

#

im referring to old

#

the new cpubenchmark is intel shill

#

what did they mean by this

feral radish
#

And what would be a server setup you would recommend?

void void
#

the full optimization guide including world pregen

#

.optimize

limber knotBOT
void void
#

the entire thing is important. do ALL of it.

#

the world pregen is not skippable.

#

do it.

#

too many people skip that then come here crying about lag, and im over it

worn ember
#

If you have a void world do you still need to render chunks?

void void
#

idk dark

feral radish
#

Yes I did it to my waterfall network but now I am running a snapshot server

worn ember
#

Idk either that's why I'm asking

void void
#

idk m8

worn ember
#

Idk either m8

void void
#

nice m8

worn ember
#

Ok m8

void void
#

Ok

worn ember
#

K

void void
#

k

void venture
#

there are some things you may also consider for optimization

#

such as EntityTrackerFixer

void void
#

that's in the optimization guide....

void venture
#

is it?

void void
#

indeed.

void venture
#

haven't seen it last time, my bad

jagged egret
#

why aren't the optimizations done by default

latent valve
#

because default is vanilla value iirc

limber knotBOT
#

because some people like to play as close as vanilla as you can get

#

not everybody is running a 100 player server xD

jagged egret
#

ah fair point

void void
#

found the netherite block dimension

#

i am richest minecrafter

woven steppe
crisp talon
half nymph
distant turret
#

4.1% of servers are using 1.15 and 1.15.1, is there a reason for this?

jagged egret
#

it be slow

distant turret
#

as apposed to 1.15.2 i mean

#

doesnt .2 just fix bugs? why use those 2 over ut

#

it*

jagged egret
#

ignorance? no se

#

*i dunno

distant turret
#

okay

jagged egret
#

but I just got back to the country two days ago, take whatever I say with a grain of salt lol

distant turret
#

xD ok

cosmic raft
#

Oh lord.

#

I found a bad world on the new snapshot

#

It has hung my desktop for 5 minutes now

jagged egret
#

oof

cosmic raft
#

Dunno if it will be the same

#

but

#

/warp kittens on 20w14infinite

jagged egret
#

so what's even in 1.16

magic ice
#

Nether update

#

new nether biomes, blue fire, few new mobs

#

new material called netherite

jagged egret
#

interesting

humble moss
turbid birch
magic ice
#

this is what /warp kittens looks like for me

slim nymph
#

"the world pregen is not skippable."

#

i dont pregen?

#

cant pregen an unlimited world lol

void void
#

when you're aikar you can do whatever you want

golden gust
#

with the async stuff, unless you're a super large server with metric fucktons of people tryna gen the world at once or on a toaster, pre-gen is generally a non and completely overstated issue

shell vine
#

imagine not pregenning your infinite world

void void
#

ok, if any of you bother to read rather than trying to just show up and one up people

#

youd see he was trying to run it on a toaster

#

which is why i said it was not skippable

shell vine
#

.rekt

limber knotBOT
#

☑ sudo apt-get REKT

shell vine
#

.rekt

limber knotBOT
#

☑ REKT in pieces

golden gust
#

am just sayin generically u fuq

void void
#

am just saying it rekitcally u fuq

golden gust
#

listen her u fuq

#

wait, picard out in a few hours

cosmic raft
#

@magic ice yep

golden gust
#

I'll let u lib 4 nao

void void
#

no its not, its over

#

s1 anyway

cosmic raft
#

and if you move a certain way it makes all those things update

golden gust
#

oh fuq

#

yea

#

shit

#

dude, that's how zonked my brain is

magic ice
#

huh

shell vine
#

i thought picard ended Thonk

golden gust
#

It did

magic ice
#

yea

golden gust
#

am just more simple than simple

magic ice
#

ending was great

shell vine
#

i wish they made that ai better than some cheesy tentacles

void void
#

i need a dockerfile starter that has a recent version of node and yarn

#

:(

#

eh fuq i guess i can just install yarn in the dockerfile

golden gust
#

mek ur own

#

ye

void void
#

wtf their docs say to use yarn to install yarn

#

what i dont fucking have it yet

#

wtf it wants me to install yarn 1 globally and then install yarn 2 with that

slim nymph
#

eh id stick to yarn 1 for now

#

im scared to try 2 lol

jagged egret
#

woh it's a cat

void void
#

oh my prod machine does use 1

#

ok 1 it is

slim nymph
#

yarn 2 breaks some modules

#

they made some opinionated choices. ones i dont disagree with, reasonable thoughts, but im sure it pissed people off whos modules broke

#

modules must now explicitly declare deps in package.json, doesnt allow "see if its there then use it"

#

if its not in your package.json, you cant see it

void void
#

hmm, can i FROM node:10 and still get yarn without starting my Dockerfile from scratch with alpine or smth

#

and wtf

slim nymph
#

sudo npm install yarn -g btw

void void
#

o nice

slim nymph
#

doesnt have to be yarn lol

#

and they have a bash shell script

jagged egret
#

pokes @zzzCat how are you it's been forever

#

can we not at people

#

@golden gust ahi estamos

void void
#

iso broke the rules!

#

lynch him!

jagged egret
#

hay reglas??

void void
void venture
#

están* since it is plural

void void
#

i dont speak spanish

#

thats just what i remember from high school

void venture
#

That's pretty accurate tho

void void
#

wtf why cant i access my app thonkingsan

simple@simples-MacBook-Pro ~/Documents/Workspace/philteam/web/flashcards-frontend$ docker ps -a                ✭master 
CONTAINER ID        IMAGE                          COMMAND                  CREATED             STATUS              PORTS                    NAMES
2a1640ad6da7        philteam/flashcards-frontend   "docker-entrypoint.s…"   36 seconds ago      Up 35 seconds       0.0.0.0:3001->3000/tcp   ecstatic_leakey
#

am trying localhost:3001

#

should be working

golden gust
#

what's an iso?

void void
#

oh i get it, it's running on localhost in the container thonkeyes

golden gust
#

mfw

barren latch
#

Hey guys if you were new to a server how would you prefer to be taught its mechanics? I'm leaning towards making a /tutorial command that links to a webpage. And on that webpage are short and to the point video tutorials.

void void
#

thonk

golden gust
#

Think about the people on potatos

jagged egret
#

no me recuerda, gato electronico? :p

void void
#

stop you're scaring him with the language of the south

jagged egret
#

eh, that wasn't worded right, haha. but oh well

#

Hahaha

void venture
#

Nunca voy a dejar de ver raro algún mensaje en español en un chat Inglés jajaj

#

Not that if often see them anyways

jagged egret
#

justamente regrese de argentina hace como 2 dias entonces hablando espanol todavia es habito jaja

void void
#

weirdos

void venture
#

I am from Argentina lol

jagged egret
#

en serio?? Que parte

void venture
#

Chaco

jagged egret
#

fua, yo estuve cerca de Florencio Varela

void venture
#

Buenos Aires, nice

#

The "state" (not really sure if I should call it that) I am in isn't the most known by far

jagged egret
#

oh entendi mal, hay algo cerca de buenos aires se llama chaco segun las mapas de Google

#

Province, no?

void venture
#

I guess

#

And Chaco is a province of Argentina from the north, yeah

#

one of the most boring imo

#

It's near Corrientes though which has some nice places

jagged egret
#

I only got to see a few parts of Buenos Aires

void venture
#

You're missing a lot

#

Kinda hard to know every place as a tourist though, I get it

#

the country is rather big after all, for better or worse

jagged egret
#

Yeah for sure

ripe meadow
ancient bolt
#

Woah intellij can render java-docs inline with code now

#

fucking dope

#

oh doesn't let you text select, that's a bummer

fallen oracle
#

Example?

potent warren
#

Well, on the April fools snapshot, I've read they added block tints (?)

#

Ermmm.

ancient bolt
fallen oracle
#

Oh that's cool

#

In that in 3.4?

potent warren
#

"I use Arch btw"

cosmic raft
#

how @ancient bolt ?

ancient bolt
#

button on the top left of the javadoc in the gutter

#

on EAP

cosmic raft
#

ah EAP

#

ok

potent warren
#

It's not even a surprising feature. Seen it already yesterday

ancient bolt
#

I mean, it's new in the latest preview

potent warren
#

Again, already seen it, thus it's not new

cosmic raft
#

cool story

potent warren
#

Like you ;)

jagged egret
#

ah yes because the fact that you have seen it must mean that no one else has yet to see it

potent warren
#

Lmao. Guess that having an implicit /s ain't enough.

fallen oracle
#

Have they hinted when they are releasing 2020?

pearl ibex
#

Some spanish talk over here. :P

ancient bolt
#

It's soon, they are in the release candidate phase now

fallen oracle
#

Ayy

#

Awesome

pearl ibex
#

What a nice time to have Ultimate Edition. :>

potent warren
#

Or, just use EAP. Haven't gotten many problems with it before.

#

Maybe some plugins don't work on EAP versions, but it's up to the plugin devs soooo....

keen terrace
#

Anyone here found a solution to villagers all being killed by zombies? I'm looking for a fix that will not disable zombie infecting villagers entirely as I still want it to be possible so that villager trading halls can get discount by curing zombie villagers

fallen oracle
#

Wdym Landis?

pearl ibex
#

About what?

fallen oracle
#

"what a nice time to have ultimate"

pearl ibex
#

Oh.

#

I just wanted to brag about it. :>

#

Damn, I'm bored.

#

I think imma update my plugins to 1.15...

fallen oracle
#

Okay

cosmic raft
#

and people say I write bad commit messages

#

Refactor label filter to allow filtering label action context from any, old, and new to prevent automatic unlabels when a bot-managed label is manually applied

cosmic raft
#

stop picking on me

static badge
#

maybe don't wrote dum commit messages

ancient bolt
#

I hate commenter tests in intellij so fucking much

#

ill look at it later

#

currently in the process of a massive rewrite of that whole section of the project so not really worried about it

void void
#

aka fuq ur pr

twin lagoon
#

what's the correct way to upstream a BYOF?

golden gust
#

up up

vestal jasper
#

Up up up up up

cosmic raft
#

@still smelt I see you forking

twin lagoon
#

up we go

fallen oracle
#

I finally understand Kotlin so now I can make a PR to that resource.

cosmic raft
#

what are you up to

vestal jasper
#

Kotlin nice

ancient bolt
#

oh wow that was an easy fix for the commenter test I'm a dumbass

ancient bolt
proven hedge
void void
#

why dont you just go make issues

ancient bolt
#

you can in the issue tracker

cosmic raft
#

@ancient bolt yike

wary panther
ancient bolt
#

lol I was trying to figure out why my teamcity wasn't building my plugin, turns out my teamcity is still configured to build Paper and eyyykar just pushed

#

I don't see any reason why I should still be building paper tho

safe barn
blazing owl
#

plz give me paper 1.8

void void
#

plz go look at the bottom of the downloads page for yourself

polar sonnet
cosmic raft
#

@still smelt well?

#

i'm waiting

static badge
#

lol which if you idiots

#

fucking moved waterfall github

#

INTO PAPER

quasi valley
#

heh thought that was intentional even

void void
#

who did what

quasi valley
#

is in the paper category

static badge
void void
#

o lol

quasi valley
#

oh back it is

#

sneaky yoink I see

limber knotBOT
#

ah yes, viper has caught the stream virus

static badge
#

using streams

limber knotBOT
#

but aside from streams being streams, it doesn't fit the rest of the methods of that class

#

every single other sum method uses indexed for loops, then yours crash in with their streams

static badge
#

streams are disgusting

#

is the only reason you need

limber knotBOT
#

how haven't you had a heart attack working with the mc server yet, leaf?

#

giving your excessive love for streams of course

static badge
#

I have patches to remove streams

limber knotBOT
#

in his heart

static badge
#

tuinity

limber knotBOT
#

AA is a scream for help

#

empty line means empty line

#

kash you monster why don't you have spaces between if/for and the brackets

void void
#

i do that when shortcircuiting

limber knotBOT
#

I do that too for early returns 👀

void void
#

wait

#

yeah shortcircuiting is the wrong term there

#

could've sworn it had another name than early return though

cosmic raft
#

@still smelt I left such methods out because of boxing :)

limber knotBOT
#

fastutil is bae

cosmic raft
#

however

ancient bolt
#

That's usually called fail fast

#

Also Mojang streams don't come close to the shit I've seen in my professional career

static badge
#

what horrors have you witnessed

ancient bolt
#

someList.stream().first().orElse(null) being not the worst, not even close, but probably the highest ratio of shit / line of code I've seen

static badge
#

there's some like that in mojang's

olive garden
#

someone must really need those one-liners

ancient bolt
#

I worked for a client that always always preferred streams over for loops

static badge
#
            ChunkSection chunksection = (ChunkSection) Arrays.stream(achunksection).filter((chunksection1) -> {
                return chunksection1 != null && chunksection1.getYPosition() >> 4 == finalI;
            }).findFirst().orElse(Chunk.a);

literally chunksection[i]

ancient bolt
#

In every instance

#

Literally for loops were flagged in code reviews

static badge
#

good grief

ancient bolt
#

So instead they would do list.stream().forEach() - not even the decency of list.forEach()

heady spear
#

.mapToInt(i -> i) 🤢

#

this gross y this? yucky mcyuckyuck

static badge
#

the fuck is that shit

heady spear
#

vipers PR

#

Integer::intValue 👍

cosmic raft
#

My repo has been tainted

static badge
#

close the pr

#

oh wait

#

u use streams too kash don't u

#

or is it just lambas

heady spear
#

orrrrr use flatMapToInt and IntStream::of

#

like i -> i is ew and should be illegal

static badge
#

streams should be illegal honestly

#

how much devtime went into something so garbage

left swift
#

Close twitch

heady spear
#

that too

#

no wait where would I get my thot fix

static badge
#

thot fix?

#

oh twitch

left swift
#

Utube

#

Or that egirl site

#

Or leafy

heady spear
#

k then it's settled, we're shutting down twitch

left swift
#

¯\_(ツ)_/¯

static badge
#

get display name

#

what fucking garbage

#

why are you switching on that

left swift
#

So mean

heady spear
#

is day of week an enum

#

ur switching on something that depends on the locale

#

do you hate foreigners

#

you're racist

left swift
heady spear
#

you can be italian and racist

static badge
#

can't be italian and alive rn

ashen cliff
#

^

heady spear
#

some of them are still alive

#

the spanish however

unreal quarry
#

🍺

void void
#

dream come true

#

chicken attac

#

pig sheep cow attac soon

heady spear
#

wait can u kill people on april 1st if it's a prank

void void
#

IRL or minecraf

ashen cliff
#

China: It's just a very early April 1st prank.

heady spear
#

who plays minecraft lmao nerd

void void
#

true i just download plugins

heady spear
#

minecraft is for losers and germans

#

wait same thing

limber knotBOT
#

racist smh >:(

heady spear
#

no, just sensible

static badge
#

he's not wrong

heady spear
#

viper is the racist

static badge
#

germans lose all the world wars

ashen cliff
#

You forgot to add Italy to that list.

limber knotBOT
#

yes you are

heady spear
#

yes u r u hate foreigners you're xenophobic and basically trump

#

italy is just a stinky shoe with bad cheese

left swift
#

Germans won the final war

void void
#

now i just need dwarves in minecraft plugin

#

play as dwarf

heady spear
#

everyone under 6' is a dwarf

#

and basically worthless

void void
#

i got noodle arms so i look taller

heady spear
#

don't call me god

limber knotBOT
#

everyone not using metric units is worthless

heady spear
#

metric is for poor people

#

meters r super unintuitive

limber knotBOT
#

your nose is counterintuitive

heady spear
#

also celsius is dum

#

Sweden invests dum shit, celsius was the worst

#

and dynamite, dynamite was also dum

#

no u need to know how many horses you can get rid off if you buy a vehicle

north valley
#

Clearly duckpower is the way to go.

heady spear
#

ur dum go suck an icicle

#

also dumasses calling water h2o it's fucking water lmao imagine

#

everyone is so dumb like imagine using kinesiology to describe ur mollucales

limber knotBOT
#

but imagine being a sweeb

#

swedish weeb

heady spear
#

if you didn't hate foreigners u'd understand

limber knotBOT
#

smh

heady spear
#

am i gonna eat tacos or air today

#

like tacos r nice but being skinny is nice too

limber knotBOT
#

wow accepting italian stereotypes

#

racist

heady spear
#

Pasta is a Chinese invention

#

first you steal their noodles, then you steal their virus

#

how about you guys do something original for once

void void
#

um sorry city did u mean dihydrogen monoxide? lol sweaty...water??? wtf...

heady spear
#

i don't speak scientific wtf read a fucking bible

void void
#

its hydroxic acid ok

weary briar
small fjord
#

people in #paper-help told me to ask my java-only question here, so thats why Im asking here. Basically, I am saving objects which implement Serializable to a File using a FileOutputStream and an ObjectOutputStream. Would the loading of these objects be faster, if I saved them as one Base64 string in the file?

void void
#

no

#

you're eventually encoding them into base64

#

which is (a bit) more expensive than simply OOS->FOS

small fjord
#

and the decoding would also be more expensive than FIS -> OIS?

void void
#

yes

#

i mean

#

what would be the benefit of base64 in the end?

small fjord
#

I dont know, it was just a thought I had. thank you!

void void
#

Is it possible to enter a command args with a space?

#

Like "Foo Bar"

#

I tried <> "" `` '' [] {}

grizzled hearth
#

wat

olive garden
#

no

golden gust
#

Bukkit just does a string split

olive garden
#

the best you can do is join all arguments at the end

golden gust
#

the plugin needs to ^ itself

void void
#

Well thats pretty dumb that there is no escape character

#

Could that be added to paper?

wide chasm
#

I highly doubt it

void void
#

Or is there a reason its not implemented?

golden gust
#

it's up to plugins to deal with

limber knotBOT
#

joining the args is the same as giving the entire string, just that most people don't ever need it and it'd be another arg to pass

#

so you're not missing anything

#

Hell

#

o

void void
#

I mean the ingame command args

#

Ah nvm I got it what you mean

fallen slate
next crane
fallen slate
#

i have a question

#

what jar should I add to the build path to use the paper api

limber knotBOT
#

use maven for dependency management

fallen slate
#

how do i use maven

worn pivot
gusty tiger
#

how do i update a plugin on spigotmc.org? i want to put out my newer binary but the only way i can find is uploading a new resource and that doesn't take advantage of the 'version history' tab

limber knotBOT
#

that will then also update your history

jagged egret
#

Does anyone know a good guide/tutorial on multithreading in Java?

little forum
olive garden
#

oracle's

#

Oracle's fo starters, concurrency in practice book or what for in depth

dawn current
tropic flower
steep acorn
limber knotBOT
#

somebody here do c#?

#

having generic issues

#

I have 0 clue about c# and just trying to do stuff without having to learn c# :D

pulsar wigeon
#

lul

jagged egret
#

how does one disable the particle on an area effect cloud

limber knotBOT
#

actions is a List<Action<Packet>>, I add a new Action<StatusResponsePacket>, where that packet is a subclass of packet, my java me things this is alright, c# seems to disagree

#

Action is c#'s consumer

pulsar wigeon
#

that's not valid

#

you're mixing up covariance and contravariance

limber knotBOT
#

mmmh, any other idea so solve this then?

#

I want a Map<PacketType, List of actions for that packet>

pulsar wigeon
#

you can't cast Action<StatusResponsePacket> to Action<Packet> because then someone could do action(someOtherPacket) and your Action<StatusResponsePacket> would break

jagged egret
#

nvm

weak totem
#

How much does a MC world take on average? are there any stats for this?

olive garden
#

you can probably do a List<object>

limber knotBOT
#

more than 1

olive garden
#

lol

limber knotBOT
#

and at least 2 bananas

olive garden
#

C#'s generic aren't retarded, they actually support variance (in and out parameters on the generic type iirc)

fallen jungle
#

That escalated quickly. First Mini was making a cute little tower defense and now suddenly a Minecraft client

limber knotBOT
#

guess I should actually learn that then

pulsar wigeon
#

can you declare in/out on a variable type?

#

thought that was only for classes

limber knotBOT
#

I think you can

pulsar wigeon
#

that would work then

limber knotBOT
#

this strange trygetvalue thing seems to do that

olive garden
#

I think that's only for classes

pulsar wigeon
#

you essentially need List<Action<? extends Packet>>

olive garden
#

yes wiz

limber knotBOT
#

ye I know, thats what I couldnt find

pulsar wigeon
#

which means if what i thought and what trigary seems to confirm is right, you need a custom action class

#

that defines that using in/out

#

(i forget which is which cuz fuck covariance/contravariance)

olive garden
#

doesn't the built-in define that already?

pulsar wigeon
#

idk

limber knotBOT
#

the build in does public delegate void Action<in T>(T obj);

pulsar wigeon
#

yea

#

cuz it takes any packet type ok

#

ez way would be make them all Action<Packet> and check type on input :^)

limber knotBOT
#

meh

olive garden
#

I think it's easier to make it a List<object> instead

jagged egret
#

does anyone know why Player#setSpectatorTarget would not be working? It just teleports me to the entity

void void
#

what gamemode does the spectating player have?

jagged egret
#

spectator

#

will throw an illegalstateexception if not

void void
#

true

#

i remember having to mess with packets in 1.8.x...

#

because of not being able to set the specator correctly

#

how are you trying to set the spectator overall?

#

in my old kitpvp plugin codebase i see that i schedule setting it one tick later

#

so there must've been a good reason for that...

jagged egret
#
    @EventHandler
    public void onSneak(PlayerToggleSneakEvent e) {
        if(!e.isSneaking()) return;

        Block b = e.getPlayer().getTargetBlock(null, 10);
        b.setType(Material.AIR);

        AreaEffectCloud aec = b.getWorld().spawn(b.getLocation().add(0.5, 0, 0.5), AreaEffectCloud.class);
        aec.setRadius(0);
        aec.setParticle(Particle.BLOCK_CRACK, Material.AIR.createBlockData());
        e.getPlayer().setGameMode(GameMode.SPECTATOR);
        e.getPlayer().setSpectatorTarget(aec);
    }
void void
#

maybe indeed try 1 tick later

jagged egret
#

aiight

void void
#

let me know if it worked

#

because i'm going to bring that old codebase back to life; and if specating does not work then one major part of it will be unimplemented :(

jagged egret
#

spectating has got to work somehow though because there's /spectate in 1.15, right?

#

nope still doesn't work

limber knotBOT
#

oh ffs

#

this doesnt work either 😂

pulsar wigeon
#

action.GetType().GetGenericTypeDefinition() is Packet :^)

limber knotBOT
#

thats so intuitive, lol

pulsar wigeon
#

c# isn't erased

olive garden
#

I'm kind of starting to like type erasure lol

pulsar wigeon
#

every type maintains its generic type info

limber knotBOT
#

yeah, I get that, thats cool

#

but I kinda miss the freedom java gives me here

pulsar wigeon
#

yes type erasure is nice cuz you can just cast anything to anything and deal with issues later :^)

limber knotBOT
#

I am finally coming to an understanding why ppl love js

#

runs

upper flicker
#

take it back

jagged egret
#

@void void one tick didn't work, 20 ticks did.. ¯_(ツ)_/¯

limber knotBOT
void void
#

interesting...

#

what about 2 ticks?

limber knotBOT
eager nexus
void void
#

did you try any other options besides 1 & 20?

#

@jagged egret

jagged egret
#

not yet

#

also i'm trying to spectate an areaeffectcloud so that may have something to do with it

#

although historically with the mc client that should not

limber knotBOT
#

action.GetType().GetGenericArguments()[0].BaseType?.Name == nameof(Packet) works, lol

#

now I only need to cast action so that it lets me pass a Packet...

jagged egret
#

@void void 2 ticks works sometimes but not consistently

void void
#

hmm

jagged egret
#

my laptop has become a potato

#

i have no idea why

#

battery doesn't last at all and it freezes up a lot

latent valve
#

try plant it u might get food for the rest of the month

median leaf
woven otter
#

umm I rebased a branch but there was another branch based on it and there was a one commit. What now?
I wanted to merge it into another branch but looks like it took all commits from the old version of base branch but they are the same (well other than changes caused by rebase).
Any suggestions

jagged egret
#

what do y'all think of datagrip

golden gust
#

I basically use datagrip exclusively for mysql stuff

#

Saying that, that's more a "avoid the clutter" type thing

#

(I also run without tabs too)

woven otter
#

😦

golden gust
#

either merge or rebase that branch

jagged egret
#

in plugin.yml is it depend or depends

upper flicker
#

depend

jagged egret
#

oops

pure flint
jagged egret
#

was it changed?

woven otter
#

hmm cat it shows that the now merged branch is ahead by 8 commits even though I only had 1 commit in that branch and those are the previous commits

twin lagoon
#

"Synchronous writes
Region files are now opened in synchronous mode to prevent data loss and corruption after crash.

Dedicated servers can disable that by changing sync-chunk-writes inside server.propeties"

#

interesting

limber knotBOT
#

(DiscordBot) It's a Zoglin now! Snapshot 20w14a is out! : Minecraft - 14 comments, 29 points - sliced_lime, 10m ago

twin lagoon
#

Attributes are now added to game registry, similar to items, sound events, etc.

Region files are now opened in synchronous mode to increase reliability

#

and Zoglins basically

golden gust
#

IO is already done on another thread in paper, but, their logic for that is just

#

sync mode is more just ensuring that the data is actually written out properly

#

should be fine, there is still some level of caching in play at a lower level

ruby knot
woven otter
#

maybe it would've been better to merge and then rebase 🤔 can't revert it now can I

golden gust
#

oh, actually... I shoulda maybe...

#

See, I do that in auto-pilot mode these days, rip

#

but, you can abuse the reflog for cases where you need to go back

#

git reflog will basically show you a list of commits where head was, find the commit you wanna go back to, and git reset --hard #####

woven otter
#

I mean with rebase I just edited the commit messages that's all. I'll check out the reflog

golden gust
#

oh, if you just changed the commit message, just do the merge and then rebase

woven otter
#

sure. how should I rebase? should I do something to those commits I changed or something else

golden gust
#

git rebase branchyoucamefrom

woven otter
#

that was my branch. Vic has been doing something else I guess

#

wait branchyoucamefrom is referring to the branch I'm merging into current right?

ruby breach
ashen cliff
#

Congrats.

limber knotBOT
#

Time to use IRC I guess

ashen cliff
#

Got to flex somehow.

vivid ivy
near vortex
twin lagoon
#

mason is unbanned 😳

#

why in godsname is my :flush defaulting to flushedclown

blissful rune
pulsar wigeon
#

cuz ur a clown

limber knotBOT
#

oof

woven otter
jagged egret
#

this is the fastest i've ever updated mlapi 😎

limber knotBOT
#

a new registry for attributes, thats nice I guess

#

new registries are always nice

#

registry for mob goals next pls

#

goodbai ignoring new tags with via, the client now crashes if it's missing them

pulsar wigeon
#

client needs tags for the new ladder thing right?

limber knotBOT
#

yeah

#

tags are wonderful

#

you can add air to the ladder tag

#

we can mage players climb air :D

#

and can fly :D

#

no "Material" tags

#

yes we can make players climb air with nametags

#

ofc

jagged egret
#

i've somehow got a 'dev' local branch and a 'master' local branch without realizing it, how do I merge the changes on 'dev' into master?

#

it's been too long since i've used git lol

limber knotBOT
#

progress

#

wooo

upper flicker
#

are you writing a client or a server?

ashen cliff
#

Both.

upper flicker
#

could just be writing both I suppose

#

ye

limber knotBOT
#

primarily a client right now

#

I use my own server for testing

#

thats why you dont see chunks and shit

#

I wrote a client + server in java earlier this week

upper flicker
#

maybe thats just the assets he had laying around

#

or maybe thats what itll be

limber knotBOT
#

oh because it has the dyescape texture pack

upper flicker
#

cool though ¯_(ツ)_/¯

limber knotBOT
#

was testing that earlier

ancient bolt
#

is it written in arnoldc?

limber knotBOT
#

the server list is faked, but the functionality does work

#

I guess I could spin up a offline mode server and see if I can join

#

its the godot engine and I use c#

#

this is pretty much my whole client impl right now, lol

ancient bolt
#

have you heard of C#?

limber knotBOT
#

c# is like java

#

until its not

#

and you try to do stuff like java and it doesnt work

#

generics are really different in c#

ancient bolt
#

LINQ is dope

limber knotBOT
#

one might argue they are way better

upper flicker
#

most would

limber knotBOT
#

but I dont understand them yet :D

ashen cliff
#

I see someone iswas bored AF.

ancient bolt
#

well they are reified rather than erased

#

so yeah they are better

limber knotBOT
#

ye

#

but this introduces so many issue for me as a java dev

#

as am used to wildcard generics and shit

ancient bolt
#

oh yeah C# uses in and out variance

limber knotBOT
#

and I have no fucking clue what that is :P

#

and I cant really bothered to learn that right now

ancient bolt
#

accomplishes the same thing but in a different way, definitely tough to jump back and forth between the two mindsets

limber knotBOT
#

I will eventually tho

ancient bolt
#

That doesn't have anything..waht

limber knotBOT
#

c# is just what godot offers me for scripting

#

the alternative is c++ or their own python like gscript

#

so that was an easy choice

#

kek

woven otter
#

sorry cat if I may are any issues with just cherry-picking that commit since it's a single commit anyways

wicked crater
winged oak
limber knotBOT
#

yeeeaaah joining a real server is harder

#

lol

analog prism
#

Can anyone recommend a "one person sleeping makes it daytime" mod, MC version 1.15.2?

#

Also a site where mods are collated please

pulsar wigeon
#

mod or plugin

#

we don't do mods here

woven otter
#

we do drugs here

left swift
#

Meth drugs

analog prism
#

Sorry, plugin

merry talon
#

.com

left swift
#

Actually don't think that's the url is it

jagged egret
#

wooo

analog prism
#

it's .org

left swift
#

Org

#

Ya

analog prism
#

thanks gang

potent warren
jagged egret
#

if the server sends a block action packet saying a piston extends, and said piston has a spawner in front of it, what would happen

limber knotBOT
#

yes

#

they are also defined by whoever works on the project

potent warren
#

C# is not Java, so do not make it look like it is.

limber knotBOT
#

so I can use whatever the fuck I want, as long as I am consistent

potent warren
#

sure....

#

I'd rather have you use Java, than my precious C# /s

limber knotBOT
#

if thats the only thing you have to contribute, you might as well just shut up

upper flicker
#

oh no the c# guy is here

potent warren
#

wrong. The C# guys

#

There are two people here that use C#

upper flicker
#

good lord theyre multiplying

potent warren
#

lmfao

woven otter
#

Taco taco where's your taco

left swift
upper flicker
potent warren
#

100% multiplication rate rn

jagged egret
#

oh look it's a taco man

pulsar wigeon
#

two?

limber knotBOT
#

something is very wrong with my packet parsing and I dont see why

pulsar wigeon
#

i think there's a lot more than 2

jagged egret
#

gives taco to Z750 cuanto tiempo

limber knotBOT
#

"Got packet with id 0x3 and state LOGIN, len is 3"

#

this makes zero sense

#
  1. there is no packet with id 3 in login phase
#
  1. packet len 3 is most likely too short
potent warren
#

I'd say to check packet encryption, but then I remembered that you're using offline mode

limber knotBOT
#

the packet after that I can read as login disconnect, with reason "$9"

upper flicker
#

speaking of encryption nickac 👀

jagged egret
#

he ignored my taco

upper flicker
#

no I accepted it graciously

potent warren
#

lmfao

#

speaking of encryption nickac 👀
shush. That's still on my backlog

upper flicker
#

cant remember anything useful, but I can still remember that lol

potent warren
#

If I ever get a bachelor's degree, I'll add encryption to NotifSync.

#

Still too far

limber knotBOT
#

fun thing is, when I get connection throttled, I can properly read the kick

#

Got packet with id 0x0 and state LOGIN, len is 72

#

Kicked: {"translate":"Connection throttled! Please wait before reconnecting."}

#

and I dont get that weird login 0x3 packet

#

wait

#

there is login 0x03, its set compression

#

but I just ignore that

ancient bolt
#

C# has the worst naming conventions of all the Javas

wide chasm
#

Not gonna lie, sometimes when I read C# code at work I'm thinking to myself "who turned this into a class, this should clearly be a method", but then it is a method, but I'm still thinking of Java's naming conventions.

potent warren
#

C# has the worst naming conventions of all the Javas
Well, it's Microsoft Java, what do you expect?

#

They couldn't copy it 1:1

upper flicker
limber knotBOT
#

why would a client get kicked with $9 as reason? 🤔

jagged egret
#

truth

naive swan
ancient bolt
#

gotta pay bitch

potent warren
#

MiniDigger maybe you've not been a good client. Clients aren't always right!

limber knotBOT
#

server sends a login success if I read me debugger directly, but my client reads 0x00, not 0x02 :/

#

server only enables compression if I aggree to the compression, right?

potent warren
#

If the server is weird, don't tip it.

left swift
#

Server enables oppression of rights by default only an uprising turns it off

slim nymph
#

very well played noman

jagged egret
#

how many ticks does a piston take to extend/retract?

slim nymph
#

1 or 2 normally

#

the glitch lets it do it in 0

jagged egret
#

bukkit has the server gui in 1.15 :o

upper flicker
#

yes

#

1.15.2 they added it back

#

so many people were confused we have this now

#

.gui

limber knotBOT
#

The server will now show the vanilla GUI by default on supported systems. If you do not want this behavior, use the --nogui argument after -jar paperclip.jar. We are still trying to determine if this should be the default or if it should be hidden by default. Poll: https://www.strawpoll.me/19289384

potent warren
#

I just add nogui and it works

upper flicker
#

yes that one works as well

tawdry coyote
#

github down for anyone else?

#

nvmbackup

left swift
#

Look closer

grizzled hearth
#

Is github ded?

merry talon
#

finally

dense moss
merry talon
#

all hail our atlassian overlords

upper flicker
#

gross

#

bitbucket bad

fallen oracle
sonic oasis
merry talon
#

ur bad

limber knotBOT
#

gh>gl>shitbucket

void void
#

gh is down as well

#

throws 504 here

jagged egret
#

works fine for me

worn ember
#

ur bad

limber knotBOT
#

KennyTV: gitea or gtfo

void void
jagged egret
#

dep

void void
#

:(

limber knotBOT
#

heh

worn ember
#

peepeepoopoo

autumn dome
limber knotBOT
#

what is the next thing I should implement into my client, now that chat is kinda working?

#

I guess I could do the whole UI thing

jagged egret
#

are there blocks?

limber knotBOT
#

I never wrote a 3d game before

#

I dont even have real UI yet 😂

#

I got server list ping

#

and I can join

#

I need to do packet compression (I just ignore compressed shit for now, lol) and I need to work on the UI

delicate smelt
jagged egret
#

i need to figure out how to read and write all of the block information packets for a project so perhaps we can work together when you get to the blocks part lol

limber knotBOT
#

I did that in java before

#
#

It's hell

#

minicraft

#

what a name 😂

jagged egret
#

how complicated would it be to edit outbound chunk packets and add mob spawners

limber knotBOT
#

Chunk packets are the most complicated things in the mc protocol

#

depends how you go at it - edit the server, use something like protocollib, inject your own handler

#

At least I would say so

jagged egret
#

I'm going to be using ProtocolLib

limber knotBOT
#

server edit is probably the easiest, protocollib is unbearable

jagged egret
#

oh

limber knotBOT
#

I modify chunk packets by overriding nms.world.gettype

#

Lol

#

not that PL is bad, but for that complex case it is

jagged egret
#

Then I'll probably inject my own handler

limber knotBOT
#

then look at chunk formats at wiki vg, read the buffer accordingly. but that will also take a bit of time, just so you know :p

jagged egret
#

good, i need something to do haha

#

can't leave my room for another 11 days

limber knotBOT
#

have fun then 😂

#

I think I'll try to work on UI tomorrow, and then implement moving and rendering blocks on the weekend

#

Without trying to read whatever the server sends yet

coral yarrow
jagged egret
#

where is magmaguy these days

woven otter
#

banned

worn ember
#

Everyone: lockdown
Murica: iTs cHiNA's FauLT

limber knotBOT
#

and still, trump's support has only risen for some reason

#

politics is just beyond me

worn ember
#

more like retarded muricans

left swift
#

If you make the people think you're working for them they'll follow u even to a grave

jagged egret
#

why was he banned

#

also the chunk data packet is even more fun in 1.15

#

it has biome data too

#

(separated)

limber knotBOT
#

he asked wiz out for valentine's

#

maybe a bit more than that 😂

jagged egret
#

how difficult would it be to use bytecode to modify the server so I can change the outbound chunks

#

i.e. be able to say, change every diamond block to an iron block

limber knotBOT
#

you can do a lot with fucky reflection, it being anything than ugly is something else 👀

#

or not reflection but bytecode manip

ancient bolt
#

sounds like you want protocollib

hoary kite
limber knotBOT
#

reading full chunk packets with PL is a nightmare

#

what isn't

jagged egret
#

seems like reading full chunk packets in general is a nightmare

pine robin
#

Whats the command to killall skeleton horses? Since /killall all didnt work

mild beacon
limber knotBOT
#

kill @e[type=skeleton_horse] or something similar

void void
#

it's not nightmare with protocollib tho

#

i replaced signs few years ago like this

limber knotBOT
#

a few years ago

pine robin
#

That didnt work

void void
#

the plugin still works perfectly though

limber knotBOT
#

you might be iso's saviour then if you can dig that up

pine robin
#

Any other commands to kill skeleton horses?

jagged egret
#

if that command didn't work, something is preventing it from working

#

i'm confused; is that a plugin you wrote?

#

ah noice

#

why not use Citizens?

#

has an API

#

uh

upper flicker
#

think they have denizens for that

#

but its cool you made your own thing

jagged egret
#

^ that's right, couldn't remember the name

#

🌮 Z750 here

upper flicker
left swift
#

U give him too much taco he will become a taco

jagged egret
#

wait you gained 40!

upper flicker
#

for loop

#

meme'd me up real good

jagged egret
#

o

#

I think I want to make a netty handler to intercept outbound chunk packets, how would I go about that

#

it's been like 6 months since i've done anything programmey and i can feel it lol

#

does buildtools not install craftbukkit anymore?

limber knotBOT
#

not by default, there is an argument for that

jagged egret
#

:( so many changesss haha

slim nymph
#

what do you need cb for

upper flicker
#

buildtools makes it but it doesnt move it to the main folder anymore

#

I think it still puts it in local m2 but tbh I havent used buildtools in ... a year or so now probably?

ancient bolt
#

fuck python

#

I hate it so much

upper flicker
#

at least its not batch

limber knotBOT
#

fair point

#

why would they thonk

#

because players aren't literally any entity

pulsar wigeon
#

players are special because they are controlled by a network connection

#

what most people want (for npcs) is the ability to spawn a human entity, not a player

jagged egret
#

zAikar I use it to look at packet structures

pulsar wigeon
#

this is the reason citizens is such a fucking shitshow. npcs that are actual players are actual players. they throw player events, etcetc

limber knotBOT
#

you can also do that in Spigot?

#

@iso

#

just use disguises

#

runs

left swift
#

Just pay players to be pretend npcs all day

pulsar wigeon
left swift
limber knotBOT
#

god tier level

crystal trench
arctic cargo
#

problem with Vault

jagged egret
#

pshhh it's just a warning

arctic cargo