#general

3141 messages · Page 112 of 4

sturdy fulcrum
#

Sup

austere ivy
#

Hiya, clip.

unreal quarry
#

Damn, Brian. You're lucky you live in today's age. Natural selection would have killed you off by now 100 years ago

austere ivy
#

Heh, you should meet my family.

#

From two months ago:

#

My family's allergic to dogs, cats, dairy, grass/hay, carrots/celery, wheat/gluten, pineapple, onions, garlic, and we have hashimotos/hypothyroidism.

#

I have dogs, cats, dairy, my sister has dogs, dairy, grass/hay, carrots/celery, wheat/gluten, and my mother has wheat/gluten, pineapple, onions, garlic, and then everyone but me has hashimotos/hypothyroidism.

golden gust
#

So, what you're telling me is that the best case for your survival would be in a bubble

austere ivy
#

Yes.

#

Eh I'm fine lol

#

(but yes)

static badge
#

.g hashimotos

limber knotBOT
static badge
#

.g hypothyroidism

limber knotBOT
austere ivy
#

oui oui

#

we have bad thyroid issues

#

Everyone who has the hypothyroidism/hashimotos (everyone but me and my father) has to take T3 or else they don't feel quite well.

#

very cool, thank you bodies 👍

sturdy fulcrum
#

I take vodka for my symptoms

unreal quarry
#

I can't remember the last time I got sick :3

sturdy fulcrum
#

I only get sick when I drink too much

unreal quarry
#

I have to fake call in sick so I don't lose my sick time allotted each year at work

golden gust
#

once a year for me, generally one of the last to get it, and generally get it the longest too #LoveMyBody

austere ivy
#

haha, self body love, right guys?

#

all of our bodies are great!

#

#LoveMyBody

#

it's perfect

golden gust
#

ly fucked

austere ivy
#

okay I need to go wash out my eye so I can stop suffering and also take a shower bai

pulsar wigeon
#

ULPT: call in sick right after you take vacation. say you caught something from your vacation. free extra vacation days!

sturdy fulcrum
#

Wish I could call in sick

#

When I do I might as well just be at work because my phone rings all night

upper flicker
#

ULPT: do sketchy things with company finances, they will make you take PTO so they can more closely investigate, free vacation!

limber knotBOT
#

I love it when a fawe update breaks other plugins completely unrelated to it -.-

normal echo
#

why is there no fault tolerance testing plugins? I want a plugin that will randomly break stuff on my server. Oh wait nvm we have FAWE

static badge
jade light
#

Tests are for dummies

onyx briar
austere ivy
#

True men test on production

#

aka me

pulsar wigeon
#

fawe LUL

#

FastAsyncWorldException

austere ivy
#

Not even kidding, my server is small enough that whenever I'm testing or adding new features my players are always like "huh wow that broke lol" and they're my testers.

#

¯_(ツ)_/¯

#

Honestly I don't really get the fuss about FAWE.

#

I've been playing on a server that's had it for 2 years.

#

No problems so far.. maybe we're the exception.

#

At least from my point of view seems to be working well.

#

I like the brushes and patterns, that's the main reason I like FAWE.

ocean ether
#

I think that's we

peak dirge
#

I aLwAyS lOvE iT wHeN cOnCuRrEnCy Is TrEaTeD aS sOmEtHiNg EaSy AnD oBvIoUs

ocean ether
#

Fawe is just async we

golden gust
#

Concurrency is easy

austere ivy
#

No it adds patterns and brushes and stuff

pulsar wigeon
#

fawe adds a lot of masks and patterns and stuff

golden gust
#

Just do everything on the main thread

#

runs

austere ivy
#

Which I absolutely love

pulsar wigeon
#

we could just steal those back tho tbh

ocean ether
#

😂

#

Ye

austere ivy
#

do it and I will switch to w/e

limber knotBOT
#

plz do that

void void
#

why this is not in java edition -_-

limber knotBOT
#

because microsoft doesn't care about java

austere ivy
#

Because Java is wildly different.

void void
#

didn't mojang hired dinnerbone to make something similar at first ?

#

that was planned

austere ivy
#

wait

#

wait what

limber knotBOT
#

also it IS in java, you can use a javascript engine in Java, WorldEdit even has one included xD

austere ivy
#

IT USES

#

ACTUAL CODE

supple idol
void void
#

look more closely at the article

#

this is a javascript api

austere ivy
#

Like it's not even just scripting, it's legit -- oh

void void
#

you write in javascript and have access to a wide range of API

#

including modifying and creating actual UIs

austere ivy
#

still ncie though

#

WHAT

#

,_<

void void
#

just read the article for sake

supple idol
#

does anyone know when paper 1.14 would be released?

void void
#

!eta

austere ivy
#

Didn't Mojang hire Sarge just so he could add the modding API?!

void void
#

.eta

limber knotBOT
#

when it's done

static badge
#

no :>

austere ivy
#

Why is that not happening <_<

limber knotBOT
#

Anyone requesting an ETA will be fed to goblins.

supple idol
#

sick

austere ivy
#

Alright, get the goblins ready.

#

Some more fresh meat.

unreal quarry
void void
#

"I'll be mostly responsible for designing/implementing both the client and server modding API for Minecraft"

austere ivy
void void
#

that was planned...

supple idol
#

thanks

austere ivy
#

Yes why did that not happen!?

void void
#

because...

#

I don't know

austere ivy
#

Oh right, Sarge was from MCP

void void
#

but the bedrock edition "modding api"

#

is just what are datapacks today

limber knotBOT
#

MCP is basically their modding api now ¯_(ツ)_/¯

void void
#

but with actual javascript code

#

inside them

austere ivy
#

that's it

#

I'm becoming a mojang employee

limber knotBOT
#

like mappings are available almost instantly for new versions now xD

void void
#

why don't spigot uses mapped nms code so

limber knotBOT
#

it does?

void void
#

??

austere ivy
#

Look at this

#

Dinnerbone did this all in a week

#

I wonder what I CAN DO IN A DAY

#

:EYES:

#

wait

#

:hypereyes:

void void
#

working on my portaltravelagent was a pain in the ass because patches are applied and based on code that is not very mapped

honest yacht
void void
#

almost all the functions are named a, b, c

#

😂

austere ivy
#

Z7

limber knotBOT
#

server code is only mapped at places where code is actually touched

static badge
#

- Fixed godmode exploit (Thanks md_5) kappa

austere ivy
#

nice

limber knotBOT
#

that has been that way since the bukkit ages and nobody wanted to do the work of switching

#

iirc. there is some work being done moving paper over to mcp

void void
#

god please

#

yes

limber knotBOT
#

but that means mapping obfuscated -> cb/spigot mappings -> mcp

#

or reverting cb/spigot mappings to apply mcp

#

on all cb patches

austere ivy
#

Okay.

#

You know how I've been using 👀 a lot?

#

I need a :hypereyes: emoji

#

As such, everyone who has access, please add this emoji:

#

Thank ye.

golden gust
#

it basically ends up creating a set of cb > mcp mappings, compiles spigot and then decompiles it with the mcp mappings iirc

austere ivy
#

electronic

#

please add the emoji

limber knotBOT
austere ivy
#

Everything dinnerbone touches is doing great.

#

hey wait a minute

#

I started hosting paper 1.12 javadocs on my github

#

and now mysteriously

limber knotBOT
#

?

austere ivy
#

¿¡¿¡¿¡¿¡¿¡¿¡

#

ello mate

void void
#

I just realized I got the portal create event fix merged into CB and md_5 even made change to the portalcreateevent api to make it more clear and use blockstate like I wanted it on the IRC 🥳

austere ivy
#

horray

austere ivy
#

you're famous

#

I wish I could be famous :(

void void
#

no, I just have the fix now

#

😂

austere ivy
#

whenever someone even types "PortalCreateEvent"

#

they'll gasp at the wonders of what you've accomplished

void void
#

who even type portalcreateevent

#

😂

austere ivy
#

your name will echo in the chamber of those who have created what the world is

#

I don't know

#

¯_(ツ)_/¯

void void
#

😂

austere ivy
#

😂

#

wait

#

:hyperjoy:

#

if I can't get :hypereyes: I need :hyperjoy:

limber knotBOT
#

yo does lightning still make noise for all online players or was that patched out at some point

golden gust
#

Pretty sure we have a patch which adds a radius to that

void void
#

iirc the volume arg float of the play sound function act as a radius

#

and ^

austere ivy
#

How would I best cancel trampling crops

void void
#

trampling ?

#

oh

#

player interact event

#

action.physical

#

check if block is soil

#

iirc

unreal quarry
#

Cancel interact event if action is ass pressure

void void
limber knotBOT
#

( ͡° ͜ʖ ͡°)

unreal quarry
#

If it is ass pressure, then check of block is soil

#

Ass pressure is important, tho

void void
#

you really like to call it ass presure

unreal quarry
#

It's in the docs

#

Ass pressure

void void
#

I know

#

but you really like to remind everyone

#

😂

unreal quarry
#

It's funner to call it ass pressure

#

Enum should have been ASS_PRESSURE

#

Sorry, I just like the way it sounds

#

Like another alternative to fart

bold zephyr
#

do you suffer from ass pressure?

#

try this one remedy doctors hate

#

cancel it

unreal quarry
#

I suffer from ASS (ass-pressure stinky syndrome)

limber knotBOT
#

wouldn't that be APS though? 🤔

unreal quarry
#

There we go

#

Took a few edits, but got it

static badge
#

irc doesn't forget

unreal quarry
#

^_^

#

Well, irc will never know the edit. Too bad for them

#

It was a good one

#

You working on patches leaf?

red halo
#

irc always forgets wym

static badge
#

yeah just started

safe tide
#

I found the true use for dual screen YT on one work on the other

velvet stag
#

im still waiting for that "soon hot fix 1.14.1" by mojang xDD

unreal quarry
#

They said that 2 weekends ago

velvet stag
#

yea 😂

safe tide
#

shit takes time man

unreal quarry
#

Not on ex lax

velvet stag
#

they were the ones who said very shortly

barren perch
velvet stag
#

very shortly for me is less than 1 week

#

😂

unreal quarry
#

I believes dinnerbones words were "by end of weekend"

#

2 weekends ago

austere ivy
#

which one

#

getMaterial or getClickedBlock()#getMaterial

unreal quarry
#

Clicked

austere ivy
#

whaat

red halo
#

getClickedBlock

austere ivy
#

what's getMaterial() then

unreal quarry
#

You clicked it with your ass

austere ivy
#

How's that looking then

#

that's silly how on earth was it clicked

unreal quarry
#

Yup

bold zephyr
#

lul

austere ivy
#

who made this

#

it's pitchfork time

safe tide
austere ivy
#

my computer would yeet itself on fire if I had half that.

#

how much RAM do you have?!

safe tide
#

8GB

austere ivy
#

Huh!?

safe tide
#

8 gigs of ram

austere ivy
#

It must be unloading them as you go..

safe tide
#

I think it dos

austere ivy
#

My 4gb current laptop gets unbearable if I'm using like 9

safe tide
#

I've been busy and havent had time to watch and I keep opening tabs

austere ivy
#

Boomarks

#

Bookmarks

#

Just had to bookmark yesterday

safe tide
#

Keep in mind on top of that I have 3 IJ opens another chrome windows with like 9 tabs and a Visual Studio window open

austere ivy
#

I had like 6 tabs open + discord + intellij and my computer was not doing great

#

what

#

what's your CPU

safe tide
#

I cant remember

limber knotBOT
#

chrome suspends background tabs now so yeah, that's not too resource intensive ;)

austere ivy
#

THREE IJS!?

limber knotBOT
#

what IS annoying is that the tabs don't have a min-width and no scroll back like in firefox because the devs "don't think people actually open that many tabs"

safe tide
#

Yea staff+ wild and wild's addon

limber knotBOT
#

*scroll bar

golden gust
#

currently have 4 open

safe tide
#

I didnt know firefox has that I might need that

golden gust
#

my servers plugin, mcp, and two paper (1.14 and 1.13.2)

austere ivy
#

This is so strange.

golden gust
#

Generally have more than that as I forget to close stuff 😄

austere ivy
#

It's spawning it before it adds the effects and meta?

#

That just feels wrong.

limber knotBOT
unreal quarry
#

@austere ivy it's named that because whoever wrote that API originally made it for click interactions. Ass pressure was added later instead of given its own event

austere ivy
#

why

#

though

golden gust
#

spawn method takes a consumer or something which lets you do that before it's actually added to the world

unreal quarry
#

Ask dinnerbone. I think he added it

safe tide
#

Ass presure?

unreal quarry
#

It's old as dirt, ik that much

limber knotBOT
#

I think that was added by someone else than dinnerbone

#

he just made the last modification on that code after they restructured something

safe tide
#

phoenix was that firefox?

unreal quarry
#

It's still in git blame. Someone go check ^_^

limber knotBOT
#

no, chromium

safe tide
#

so chrome essentially

#

just the open source part

limber knotBOT
#

the base of chrome, yes

#

also it might've been grum, not dinnerbone ;)

#

"Deprecated momentum on player (remove tomorrow)" that's some short deprecation policy xD

#

on a method that was added 1 day previously, lol

static badge
#

hm?\

limber knotBOT
#

also as far as I can tell the getClickedBlock and physical interaction type were added at the same time... so it should've really be called getInteractedBlock from the beginning xD

safe tide
#

well this is spigot so there is no logic

limber knotBOT
#

s/spigot/bukkit

golden gust
#

This is before spigots time...

limber knotBOT
#

Correction, <DiscordBot> <13Q​ba​ll​> well this is bukkit so there is no logic

pulsar wigeon
#

grum added PHYSICAL, but getClickedBlocked was already there

safe tide
#

well was there logic at any point in bukkit's/spigot's history

pulsar wigeon
#

was too late to rename it to getInteractedBlock

static badge
#

wow that's not a lot of compile errors

#

z must've done quite a few

unreal quarry
#

Erik is my savior for calling it ass pressure \o/

safe tide
#

thats just weird

golden gust
limber knotBOT
#

(DiscordBot) ✓@github (GitHub): We believe in the power of open source and its ability to drive true change around the world. We're incredibly exci… https://t.co/z69tkeVJkc (7 minutes and 56 seconds ago)

#

🤔

golden gust
#

lol, ms deleted their tweet, then gh deleted theirs

limber knotBOT
#

tweet is back 🤔

#

ah, because the MS tweet said that it's live right nowxD

golden gust
#

ms deleted their original tweet and reworded it lol

austere ivy
#

how's that looking for editing signs

limber knotBOT
#

dude, merge these if statements into one xD

austere ivy
#

eh it's the same evaluation times

limber knotBOT
#

also use ignoreCancelled in teh EventHandler annotation instead of checking isCancelled ;)

austere ivy
#

merging just makes one suuuuper long line

mild vector
austere ivy
#

IgnoreCancelled?

#

Ooh?

#

What's that?

#

lemme look it up, but uh

#

am I forgetting something

limber knotBOT
#

well this one makes super long indents...

wide chasm
#

If set to true, your method won't be called when it's already cancelled

unreal quarry
#

You can make your listener ignore events that were cancelled

limber knotBOT
#

and you can just have your statement on multiple lines

unreal quarry
#

Default is false

austere ivy
#

Got it, done, @EventHandler(ignoreCancelled = true)

#

Do I need to call sign.update()?

#

Or does the player update the sign once they click "done"

limber knotBOT
#

also I would suggest using event.getClickedBlock().getBlockData() instanceof Sign instead of comparing the types with 1.14 adding new sign types ;)

austere ivy
#

good idea, this is for a specific server and we're not updating to 1.14 for a while but we might, thanks.

wide chasm
#

Also you can do Scheduler#runTask instead of runTaskLater if you're gonna set the delay to 0 anyway.

austere ivy
#

slightly improved

#

Should I even be using a scheduler there?

#

Is it fine to just do that outside of scheduler or should I

limber knotBOT
#

don't think that is necessary

#

opening it in the same tick as the click should be ok

austere ivy
#

When should you use scheduler, anyway?

limber knotBOT
#

also you should be comparing the blockData, not the state (or store the state) as you are currently creating a BlockState snapshot twice

#

when you want to run something later/multiple times or on a different thread than your current one

#

(you could even use getState(false) to not create a snapshot I guess)

austere ivy
limber knotBOT
#

I love how I just found a very classical mistake in the code of my OOP partner

austere ivy
turbid crater
austere ivy
#

You know what would be great? Storing any type of metadata in blocks.

#

For example, say your plugin has custom crafting benches.

#

Instead of having to somehow store where each crafting bench is and check if a player interacts with it, you could simply have a metadata in the block that's "customworkbench: true" or something.

#

That'd be cool.

static badge
#

we didn't drop the eigencraft redstone patch?

golden gust
#

I wanna say that that one just applied as-is

static badge
#

it applied fine

#

since most of its code is contained in its class :>

austere ivy
#

eigencraft redstone patch why is it not in vanilla

#

it makes no sense, if it's superior, why not

golden gust
#

Yea, just gotta deal with what breaks in terms of compile

#

Theres always something which applies but breaks \o/

static badge
#

apparently there's a new type of set air method

golden gust
#

it was just unmapped iirc

static badge
#

oh it is unmapped

#

I'm going to go ahead an add an obfhelper for that then

golden gust
#

Yea, pretty sure I was going to add one when I could, it's just getting through everything so that you can merge properly, or go break the patch enough that it stalls on it

silent lichen
finite wave
#

You guys seen the new spider man trailer?

austere ivy
#

Hek's up with these timings?

#

First one is with my plugin, second one is without.

#

I don't think it's my plugin.

finite wave
#

You only ran them for like 3 min

austere ivy
#

Yeah. I'll try for longer.

#

VotingPlugin seems to be doing something odd

#

In the PlayerJoinEvent?

#

I'm going to check it out.

limber knotBOT
#

@M​eh​Br​ia​n you can store custom data in tile entities with 1.14 Bukkit but on all blocks you'll have to use some modified server or a separate plugin

austere ivy
#

And this is 1.12

#

lol

#

I'm not subjecting my server to the tortures of a 1.14 server

#

I was playing on a 1.14 server the other day, literally crashes every 15 minutes.

#

Like consistently every 15 minutes.

#

Every time someone randomtps, hUGE lag spike.

#

Far bigger than even modded.

limber knotBOT
#

I guess you could just use aikar's patches for his server to store custom data ;)

bold zephyr
#

i was looking for the same thing a while ago, apparently aikar has his own thing hes going to add to paper for per-block-data, and mentioned maybe a 1.14 release

golden gust
#

high timings cost indicates that you're using a not-so-great server

#

most of it looks like plugins and entity ticking

limber knotBOT
austere ivy
#

Alright, this seems to have a huge toll on my server. Let's see what it is..

limber knotBOT
#

?

austere ivy
pulsar wigeon
#

i literally changed that like "no one should be using this method right? it's not API"

#

and 5 days later i find your shit LUL

austere ivy
#

Admittedly I used to do that, where, for consistency, I'd always have the Main instance in every one of my classes.

limber knotBOT
#

well I didn't complain :P

pulsar wigeon
#

that's because you have no leg to stand on

#

that was never "public" api

limber knotBOT
#

as long as there is an alternative I really don't care if API changes ¯_(ツ)_/¯

#

well "API" then :P

austere ivy
#

what happens if you cancel a PlayerJoinEvent

pulsar wigeon
#

well, point is you used the wrong method to begin with

austere ivy
#

now I'm curious

pulsar wigeon
#

it says specifically in the docs use the registry

limber knotBOT
#

was FlagRegistry a thing in WG6?

golden gust
#

Pretty sure that event ain't cancellable

limber knotBOT
#

also who even reads docs?

pulsar wigeon
#

it's not cancellable^

limber knotBOT
#

runs

pulsar wigeon
#

and fuck you too :<

#

writing docs is work you know

#

no one appreciates it

#

and yes registry was in 6, just WorldGuard.getInstance() is 7

limber knotBOT
#

would help if my intellij was able to properly load javadocs from maven I guess 🤔

bold zephyr
#

im pretty sure my wg hook is pretty shit but it works so w.e.

pulsar wigeon
#

before you did it via WorldGuardPlugin

bold zephyr
#

at least it uses the api

limber knotBOT
#

also tbh. these plugins were only for internal use before I decided to publish them so I didn't really care ¯_(ツ)_/¯

pulsar wigeon
#

FlagRegistry actually hasn't changed since it was written in 6.1/6.2

#

though it did move to -core artifact

limber knotBOT
#

some of my other plugins that do custom flags used the registry from day one ;)

pulsar wigeon
#

it's binary compatible

austere ivy
#

DerWand, thank you

limber knotBOT
#

e.g. ChestShop xD

austere ivy
#

I love it thank you DerWand

limber knotBOT
#

wait no, that one used the wrong one too

#

I was thinking of a different one maybe

pulsar wigeon
#

you know

#

i actually checked chestshop to make sure i wouldn't break it

austere ivy
#

I have too many dependencies

pulsar wigeon
#

when i removed the enable-shop flag

#

er, allow-shop

limber knotBOT
#

so is Flags#get also not supposed to be used?

austere ivy
#

how on earth does the MongoDB driver add 2 mb to my poor tiny plugin

pulsar wigeon
#

no

austere ivy
bold zephyr
#

because its a db driver?

native thunder
#

I just copied it out of the docs

#

Which is basically what I do for all WG related stuff

austere ivy
#

"RCON is a protocol that allows server administrators to remotely execute Minecraft commands." seems like it's a remote control console.

pulsar wigeon
#

the only thing you maybe should use in Flags is the actual static final instances of WG flags

austere ivy
#

oh wait

#

R(emote)CON(trol)

native thunder
#

The WG docs are great. Now if only the WE docs would catch up

limber knotBOT
#

meh, but that's so much code just to get a flag xD

austere ivy
#

or R(emote)CON(sole). /shrug

pulsar wigeon
#

if you, for example, need to do a query for queryState(Flags.BUILD, myFlag)

#

e.g. membership check with flag override

#

working on it tofuus

native thunder
#

austere ivy
#

Wiz

#

Do you have any idea how to reverse translate alternate color codes?

pulsar wigeon
#

LegacyTextSerializer.INSTANCE.deserialize

#

using kyori text :P

austere ivy
#

o_O

golden gust
#

RCON is just a standard interface

pulsar wigeon
#

because ssh doesn't allow you to run commands directly

#

you'd need to like, screen into the java process

#

after setting up an entire ssh connection

austere ivy
#

Seems kind of OP for what I need

pulsar wigeon
#

which may not always be possible

#

well, no one said you had to use it

golden gust
#

It's handy for stuff like scripting

austere ivy
#

I'm just allowing people to edit signs and color codes are making it a hassle so I just.. maybe I'll just steal a snip of their code >:D

pulsar wigeon
#

"snip"

#

i mean, if you want json, there's text-extras

void void
limber knotBOT
#

just use replace('§','&')? 🤔

pulsar wigeon
#

you didn't really ask what you wanted to deserialize into

#

or yea, if you just want the raw section sign syntax

#

like, no context here :<

austere ivy
#

I'm allowing people to edit signs,

pulsar wigeon
#

presumably, the client isn't editing json?

austere ivy
#

I have another event that onSignChange, if they have permission, it translates all the color codes from & to ChatColor.(whatever)

#

I don't think so

pulsar wigeon
#

er

#

wait that isn't reverse is it

austere ivy
#

I'm not entirely sure but what happens is that when trying to edit it, the colors disappear and the & and stuff doesn't come back

pulsar wigeon
#

& -> chatcolor is the "forward" translation

austere ivy
#

so I just need ChatColor.(whatever) to &

#

yeah

pulsar wigeon
#

why are you going backwards

austere ivy
#

so I need it to go reverse, I need it to go ChatColor.(whatever) -> &

pulsar wigeon
#

ur brain is backwards

#

how are you starting with a color

#

users can't type in ChatColor

#

they type in &, right?

austere ivy
pulsar wigeon
#

(well, they can type in § i guess)

austere ivy
#

code can explain better

pulsar wigeon
#

f u i can't read your code

austere ivy
#

signs can't use &

#

er

#

§

native thunder
#

They can't use § right?

pulsar wigeon
#

oh can they not

native thunder
#

Client doesn't allow it

pulsar wigeon
#

did they fix that

austere ivy
#

Nope, not at all

pulsar wigeon
#

LUL

austere ivy
#

So the only way to get color on a sign is from this:

bold zephyr
#

holy if statements

austere ivy
#
@EventHandler
    public void onSignChange(SignChangeEvent event) {
        if (event.getPlayer().hasPermission("tfcplugin.signcolor")) {
            String[] lines = event.getLines();
            for (int l = 0; l < 4; l++) {
                event.setLine(l, ChatColor.translateAlternateColorCodes('&', lines[l]));
            }
        }
    }
#

and that's fine.

pulsar wigeon
#

that used to be a nice party trick back in the day

native thunder
#

Or rather. I think the server kicks you if you use §

bold zephyr
#

that shit startin to look like some slimefun codeblock

austere ivy
#

if you gotta lot of checks, it's either a giant line or 5 if statements.

native thunder
#

Want to have some fun? Hold tab in game then type a message and get kicked

austere ivy
#

..?

bold zephyr
#

6 steps down into if statements and a 7th into a for loop

austere ivy
#

Tab just autocompletes?

#

Automatically autocompletes players?

native thunder
#

Nope. If you hold tab, you insert a § char

pulsar wigeon
#

huh?

austere ivy
#

what

pulsar wigeon
#

in a sign editor?

#

or in chat?

golden gust
#

that;s bukkit, paper.yml has an option to change that

native thunder
#

Chat

pulsar wigeon
#

tf lol

#

why is that a thing

austere ivy
#

uh that's strange

pulsar wigeon
#

who wrote that

#

where is that

austere ivy
#

so anyway

#

I need ChatColor -> &

#

because people editing the signs can't render ChatColor, it just disappears

pulsar wigeon
#

oh

austere ivy
#

if you edit a sign that already has color, the color disappears when you put it back

pulsar wigeon
#

you mean when a sign already has color

austere ivy
#

so I need to re-put it back to &

#

yes >->

native thunder
#

Wait wait wait. What's the option called cat?

calm talon
native thunder
#

My google fu failed me on this

austere ivy
#

I'm going to take a peek into translateAlternateColorCodes

golden gust
#

Yea, do that; You can pretty much copy and paste that

limber knotBOT
#

just replace all section signs with ampersands...

pulsar wigeon
#

^

austere ivy
#

§ does not exist in signs

#

it's ChatColor

#

so will I need to do..

pulsar wigeon
#

are you sure?

austere ivy
#

yes

#

100%

limber knotBOT
#

wtf

golden gust
#

They exist on the server

limber knotBOT
#

no

pulsar wigeon
#

chatcolor is literally just strings of §+0-9af

golden gust
#

Well, through the API

austere ivy
#

I'm literally on Minecraft

limber knotBOT
#

the Bukkit API will only return legacy color codes

#

nothing else

golden gust
#

Signs on the server use components, however

pulsar wigeon
#

if you do Sign#getLine(int)

#

it should return a string right

limber knotBOT
#

yes, it translates components to color codes

pulsar wigeon
#

that's just raw text

austere ivy
#

if I type

#

"§9hello"

pulsar wigeon
#

ur dumb

#

as fuck

limber knotBOT
#

you can't

#

the client is not able to type §

austere ivy
#

you CAN do that on book

#

YES YOU CAN

pulsar wigeon
#

do System.out.println(sign.getLine(i))

limber knotBOT
#

on signs

#

nobody cares about books here

golden gust
#

sign editor refuses it iirc

bold zephyr
#

you can actually write invisible section signs in books, but this isnt a book

austere ivy
bold zephyr
#

what u could do i suppose

austere ivy
#

typing "§9hello"

bold zephyr
#

is open a fake book for input

#

and use that?

#

lol

pulsar wigeon
#

OR

austere ivy
#

Client can most definitely type §, sign editors just don't accept it.

bold zephyr
#

use chat

pulsar wigeon
#

you could just

calm talon
#

What are the benefits to paper compared to spigot? ;o

pulsar wigeon
#

fucking give up on everything

bold zephyr
#

LOL

pulsar wigeon
#

because brian is making you lose brain cells

bold zephyr
#

wiz with the solutions

native thunder
#

wiz and wav interacting with brian is basically the best

#

🍿

bold zephyr
golden gust
#

10/10

upper flicker
#

not very good

pulsar wigeon
#

nice link

bold zephyr
#

oh wait that links fucked

austere ivy
#

Z,

pulsar wigeon
#

10/10 api usage

native thunder
#

Would love to if you linked correctly

austere ivy
#

Can you put a :hypereyes: emote for me?

calm talon
#

I comfused

bold zephyr
#

there we go

upper flicker
#

idk what that is

calm talon
#

what does Paper have Spigot don't?

bold zephyr
#

uhhhh

#

sane devs?

pulsar wigeon
#

no

#

your usage is retarded

native thunder
#

Paper has leaf code in it

#

Judge for yourself

bold zephyr
#

i figured

golden gust
#

paper adds additional API, performance patches, features

calm talon
#

is paper bungee supported?

austere ivy
#

z

pulsar wigeon
#

regionContainer.get("spawn").contains(playerLoc)

#

stop doing spatial queries

#

aaaaaaa

golden gust
#

Yes, Paper is a fork of spigot

bold zephyr
#

this is my first attempt at using the wg api

#

it works but it looks very.... unoptimal to me

tropic flame
#

imagine a fork called PaperBungee 🤔

pulsar wigeon
#

idk why but a lot of people do that

native thunder
#

I mean technically even the vanilla server supports bungee

austere ivy
#

Z

native thunder
#

That's basically what Waterfall is now that paper took over it

austere ivy
#

You know how I've been using 👀 a lot?

#

We need a :hyperthink: for eyes

#

INTRODUCING:

native thunder
pulsar wigeon
#

"i need to know if a user is in region abc", "let's get all the regions at xyz and see if abc is there!"

austere ivy
#

please add it as an emoji <3

bold zephyr
#

whats the proper way wiz

pulsar wigeon
austere ivy
#

waiT i'm confused

#

Where'd our entire conversation about chatcolor go

bold zephyr
#

oh lol

pulsar wigeon
#

🚮

#

went there brian

upper flicker
#

those look more like just blurry eyes

golden gust
#

next step, steal take over velocity

austere ivy
#

z please

#

I need this in my life

#

👀

upper flicker
#

just use those and move your head side to side really fast

pulsar wigeon
#

ineusia: pretty sure get is getRegion btw

austere ivy
#

I get dizzy

pulsar wigeon
#

and contains might take a vector not a loc? dont remember

#

easy to translate though

bold zephyr
#

yea

#

ill change it when im home

pulsar wigeon
#

yea i'm at work so not looking at actual code

upper flicker
#

electroniccat wants to take a nice leisurely stroll through poland velocity

#

what could go wrong

bold zephyr
#

wait.. brian are you the one who made a near useless clone of my bedmod plugin lmao

austere ivy
#

what

bold zephyr
#

one sec..

austere ivy
#

yeah I made that for some dude

#

on Reddit

#

he was asking "how do I cancel beds from exploding"

#

I'm like "here use this code"

#

he's like "what do with code??"

bold zephyr
#

lmfao

austere ivy
#

I make plugin, very simple

bold zephyr
pulsar wigeon
#

set sleep to deny in __global__ for nether

#

ezpz

austere ivy
#

well PARDON me

pulsar wigeon
#

i mean, unless you're not running worldguard

bold zephyr
#

just dont decompile it because i wrote it in like 30 mins at midnight

austere ivy
#

I have configurable reload messages

pulsar wigeon
#

but then you're a loser so whatever

austere ivy
#

I have this thing where I need every single string that a player sees to be customizable and I get infuriated if I can't change it

#

so I said "from now on whenever I develop a plugin, every message will be customizable"

bold zephyr
#

🤔

pulsar wigeon
#

you should make your face customizable

austere ivy
pulsar wigeon
#

it's a sore sight

austere ivy
#

as such, very customizable

#

👀

#

:hypereyes:

#

wait

pulsar wigeon
#

that config file

#

should be burned

#

with its creator

bold zephyr
#

mine or his

austere ivy
#

waoaaa so many options

pulsar wigeon
#

brian's

austere ivy
#

and his

#

right?

bold zephyr
#

literally useless config. i agree with wiz

austere ivy
#

if I die I'm taking you with me

pulsar wigeon
#

it has 30 lines of bullshit

#

"Config Version: 1"

#

as a comment

#

that's fucking useless

#

holy shit

austere ivy
#

huh

#

it is

#

interesting

pulsar wigeon
#

if you were versioning config

bold zephyr
#

all of my comments are intended to instruct the average dumbass

pulsar wigeon
#

make it an actual key

#

enabled: true/false

#

this makes no sense

#

it's true by default?

#

that means by default, beds explode?

austere ivy
#

nope

pulsar wigeon
#

or by default, you can sleep?

austere ivy
#

true means it's disabled

pulsar wigeon
#

or by default, they don't explode but you don't sleep?

austere ivy
#

just kidding no

pulsar wigeon
#

you have 30 lines of USELESS fucking comments

austere ivy
#

that's why I have 30 lines of garbage

pulsar wigeon
#

wait

#

not useless

#

worse

#

MISLEADING

austere ivy
#

huh

pulsar wigeon
#

gd your code is so stupid it gave my fingers a lisp

austere ivy
#

that is correct

#

you know it's just a config ,_,

pulsar wigeon
#

yes

bold zephyr
#

unless i counted wrong, my config is 31 lines

pulsar wigeon
#

which is bad because

bold zephyr
#

🤔

pulsar wigeon
#

that's the one part of the plugin that users actually look at

#

like the users don't see your retarded code, thankfully

#

but they see your retarded config

#

and are left wondering, "is this on or off by default? why would i download this plugin to do one single job and it doesn't work by default?"

austere ivy
#

ha my config is 36 lines

#

that means my config is +5 better than yours

bold zephyr
#

maybe hes 12 tbh

#

hes comparing config sizes

austere ivy
#

correct

#

I am actually 5 and 1/2

#

alright back to work, I'll maybe make that config better

#

keep in mind I did make it hastily

pulsar wigeon
#

also like

#

what if you want the denied_msg to literally be "disabled"

#

it's impossible

#

that disabled the message!

#

why wouldn't the disabled state just be null or empty string

#

why did you go out of your way to check if denied_message is "disabled" instead of the sensible default of nothing

austere ivy
#

I thought about that, you know

pulsar wigeon
#

and the answer is that you're retarded, i know

austere ivy
#

yeah

pulsar wigeon
jade dust
austere ivy
#

No?

#

RIP wiz's graphics card

#

What browser?

pulsar wigeon
#

electron, which i mean explains a lot

#

but idk if it's related

austere ivy
#

I don't think so I've never had that

pulsar wigeon
#

discord is just 🚮 tbh

austere ivy
#

What browser are you using?

pulsar wigeon
#

electron

austere ivy
#

wait what

#

electron's a framework

pulsar wigeon
#

it's the fucking desktop app

austere ivy
#

OH

#

ooooh

pulsar wigeon
#

i mean

#

electron is a browser

austere ivy
#

I use Discord on the web because my computer does not like the app very much

#

Uhh no it's not

#

Electron is a framework

#

it uses Chromium underneath

pulsar wigeon
#

it just can't do anything til dumb developers use it and put shit into it

#

yea well

#

that's like saying chrome isn't a browser because it uses chromium

#

or something dumb like that

austere ivy
#

hey wiz what's that one pepe emoji where he's waving around a lightsaber kinda thingy

austere ivy
#

that one yeah

sturdy fulcrum
#

Heartless comments

austere ivy
#

Who?

sturdy fulcrum
#

I’m not tagging because they know who they are

austere ivy
#

Wiz?

#

They're just rude, don't mind them.

sturdy fulcrum
#

Shame

pulsar wigeon
#

yea don't mind me, especially if you're not involved :^)

limber knotBOT
#

(DiscordBot) @Dinnerbone (Nathan Adams): @MegaVPrime We are hoping to release a test build either the end of this week, or beginning of next. (6 days and 42 minutes ago)

pulsar wigeon
#

well, they have a day or so still to meet that timeline

#

if you count "beginning" as "first half"

austere ivy
#

Yeah..

pulsar wigeon
#

never mind that they're not bound to it anyway, that's just "hoping"

austere ivy
#

Well I don't want them to rush

pulsar wigeon
#

would rather have a stable release than a 1.14.1 that's still broken

austere ivy
#

That's (in my opinon) a large part of what happened with 1.13 and 1.14

#

They had deadlines with the events and they probably didn't want what happened with the uh

#

Super Pack?

#

Or whateer.

#

Super Duper Graphics Pack.

#

So they're probably trying to be hasty but..

placid thicket
#

Imagine all the people complaining for a paper release x 300 complaining about a full release cause 'it should be so easy'

finite wave
void void
#

Maybe they’re low key trying to make people switch to bedrock edition? 🤔

pulsar wigeon
#

sounds like an april fool's joke

#

so...if a million people write dumb code, it will suggest dumb code?

#

niiiice

bold zephyr
#

that would make it dumb code

#

and not AI

merry talon
#

VS code already has an "AI" thing

#

works pretty well

austere ivy
#

These do the same things, ye?

#

lore.forEach(TextUtils::color);
and

for (int i = 0; i < lore.size(); i++) {
    lore.set(i, TextUtils.color(lore.get(i)));
}
woeful hull
#

I love getting this every time I start up my server "Warning, you've not updated in a while!" "Please download a new build as per instructions from url" like really... 1.8.8 should be the most up to date stable version

austere ivy
#

.. You should be using 1.8.9

#

Not 1.8.8

pulsar wigeon
#

1.8.9 is a client version

finite wave
#

Lol

pulsar wigeon
#

but yea tbh, 1.8 is broken af

finite wave
#

Don’t use it

pulsar wigeon
#

the message is correct, you shouldn't use it :^)

finite wave
#

Use 1.13

static badge
#

rip did mojang remove the datawatcher for zombie arm raised

finite wave
#

Maybe?

upper flicker
#

I assume they still raise their arms

#

just gotta play figure out what gibberish obfuscated catastrophe is doing it

#

Isnt there another separate entity arm raised thing

#

or am I misremembering

static badge
#

wait is there

#

yeah they still raise their arms

golden gust
#

Looks like it was moved

static badge
#

so now it's down to figure out where it went

golden gust
#

EntityInsentient.b

static badge
#

that's a bitfield monkaW

golden gust
#

Well, that's the type... I mean, method q(boolean) on EntityInsent

#

Or maybe not, am confused

static badge
#

I think you're correct

#

the path finder goal for attacking is fuckin around with that method

#

so I'm going to use that and test later

#

if mvn clean package is anything to go off of there's not many compile errors left

upper flicker
#

There werent as of the other night

#

AsyncChunkLoad API looked doable even

#

but I didnt want to diddle with that at 3 am in a haze

static badge
#

after this compiles I'mma go and figure out the new chunk system

#

and that lighting thing too

upper flicker
#

I was poking around to look at PlayerViewDistance API as well

static badge
#

so i'll use a placeholder for acl :>

upper flicker
#

I think that can happen but its gonna be painful

#

so I dont think we should hold the update for it

static badge
#

rip that method

#

those methods

upper flicker
#

the PlayerChunkTracking doesnt look too unwieldy but there's also how it fits into the chunk ticket management system and it just spirals from there

static badge
#

this'll be a good time I suspect

reef tide
upper flicker
#

I spent like an hour half-implementing it and poking around before I leaned back and went "yeah we cant really half ass this, its just going to have to be studied and then worked through"

#

Also fuck BlockData

#

just generally

static badge
#

ah IBlockData

woven otter
#

rood

static badge
#

they changed around dropNaturally

upper flicker
#

15000 random checks that all combine and point to other random checks that arent named at all and you have to get 15 layers deep before you end up with a deprecated method that is implemented somewhere else and ugh

#

yeah I saw that too

static badge
upper flicker
#

I saw Spigot's solution for that and went "ehhh is this really the right way to do that"

#

In CraftBlock

#

It looks like they were using a static method that vanilla only ever uses for multipart blocks

#

iirc

finite wave
#

Well wizjany it sounds cool if it’s actually useful

static badge
#

I didn't really look at it much :>

queen perch
static badge
#

on the bright side I think there's one last compile error now

#

2

finite wave
#

Fix the ticking chunks loading new chunks

upper flicker
static badge
#

ticking chunks loading new chunks sounds normal

#

but scary

finite wave
#

Well it tries to tick unloaded chunks and for some reason loads them

#

Resulting in a crash

#

Someone posted the issue in here

static badge
#

idk ill look at in the great chunk system investigation

finite wave
#

For 1.14

austere ivy
#

Jan, did you make your profile picture?

finite wave
#

No

austere ivy
#

Oh.

#

Well, I like it.

#

It's pretty cool.

upper flicker
#

Jan cant draw

finite wave
#

True words

static badge
#

we have methods on EntityItem for retrieving/setting thrower but for some reason we don't have the craftitem method

upper flicker
#

context?

#

not familiar

static badge
#

oh it's owner

upper flicker
#

also been up since yesterday because Im brilliant

static badge
#

wait but we also have it for owner

#

CraftItem has methods for setting/getting the owner/thrower of an item

#

from Item

#

in bukkit

#

idk wtf the difference between the two are

#

oh it's doc'd

austere ivy
#

just burn it

#

burn it all

static badge
#

anyways EntityItem has the corresponding nms shit for it

austere ivy
#

~ someone, 2019

static badge
#

but in the update process we dropped the methods in craftitem for it

#

and I'm really confused as to why :>

upper flicker
#

could just be a normal patch update issue

austere ivy
#

If Mojang ever actually goes through with the modding API, do you think Forge will just be abandoned or they'll diverge?

upper flicker
#

I found one of billy's patches that was dropped for seemingly no reason that merged in just fine

austere ivy
#

I think I heard Dinnerbone or someone from Mojang say that Bukkit already does it better than we could, so we won'.t

#

¯_(ツ)_/¯

static badge
#

which one was it

upper flicker
#

second

static badge
#

billy did some and he might've freaked out and dropped it :>

limber knotBOT
#

@T​eh​Br​ia​n data packs are mojang's modding "api"...

austere ivy
#

github's down

static badge
#

.github

limber knotBOT
static badge
#

no

austere ivy
#

hmm

#

maybe my internet went kaput

upper flicker
austere ivy
#

I can't.. connect to anythin

static badge
#

yeah I saw that one

upper flicker
#

youre on discord talking to us

#

so clearly its not down down

austere ivy
#

And now it's back

#

that's weird

static badge
#

I didn't drop that one idk who did :>

austere ivy
#

I couldn't access any websites or anything during that time

#

let me try pushing again

upper flicker
#

shit happens during these updates

#

its fine

static badge
#

just gotta find the original patch for this owner shit so I can get it in

austere ivy
#

I can't push to git

#

github

#

huh

static badge
#

oh billy did drop both of them

#

you should remove it from the 1.14 removed folder if you haven't

upper flicker
#

I didnt

static badge
#

well

upper flicker
#

if youre in there now please do

austere ivy
#

Pushing isn't working?

#

What the heck?

#

Can anyone else try to push something to github?

static badge
#

after I'm done here i'll push

austere ivy
#

Alright thanks this is weird

static badge
#

done as in applied this patch

unreal quarry
#

A few of my patches ended up upstream, like that one

static badge
#

we should still have it :>

upper flicker
#

you cant just leave the api dangling

unreal quarry
#

Also the entitytypes one

static badge
#

what about the item owner/thrower stuff?

austere ivy
#

Whenever I try pushing to github I can't connect to any websites

unreal quarry
#

And I was thinking about dropping my raytrace stuff because upstream has it now too

static badge
#

I don't see upstream using it :> did you find that the nms was fucked or something

tropic flame
unreal quarry
#

The item owner thrower looked like upstream had those. At least on the server side. I didn't look in API

static badge
#

thonk well it's getting re-added

upper flicker
#

we can mark them as deprecated if they need to be removed next update

austere ivy
#

thonk I can't connect to any servers, I'm getting Invalid session.

#

I've tried restarting my mc.

#

I'm going to restart (yet again)

static badge
#

tbh about raytracing I think upstream limits the max distance

#

does yours do that billy

#

cuz I noticed that playing with it

unreal quarry
#

Mine hard limits at 120 iirc

static badge
#

and would like to not have it do that :>

unreal quarry
#

Even if you feed it 100000000, it clamps to 120 or something

static badge
#

we have internal patches that avoid chunk loading so I think we should allow it

unreal quarry
#

I'm fine with that. I was just mimicing the limit of the block iterator version

pulsar wigeon
#

HitBlox doesn't have a limit :^)

#

just sayin

austere ivy
#

:˚)

static badge
#

yeah so we can add that later after this update :>

austere ivy
#

My tear is better than yours :D

pulsar wigeon
#

"tear"?

#

wtf is wrong with your nose

austere ivy
#

that's

#

that's a nose?

pulsar wigeon
#

oh god, it's because i told you to customize your face

austere ivy
#

I always thought :^) was like happy crying

pulsar wigeon
#

you went and made your nose round

#

it's a smug face