#docs-website

1 messages · Page 14 of 1

neon atlas
#

gotta spawn in a fox or something

#

with paper in its mouth

pliant canopy
#

Just hide a 5x5 image of Paper's icon in the top-right

twilit fog
#

actually thats a great idea

#

the fox one

neon atlas
#

get rekt strok

pliant canopy
drowsy zinc
#

ezgif is just goated

pliant canopy
lean venture
#

if you use 33fps (which you can) it looks better

#

but it is still limited to 800px width

drowsy zinc
#

looks just fine

lean venture
#

instead of 1920px

lean venture
#

xD

pliant canopy
#

That's horrible

#

MY WIFI DIED

#

It's way too low fps

#

For a 180hz gamer as me that is unacceptable!!!

drowsy zinc
#

it doesn't have to be 60 fps lol

#

33 fps

pliant canopy
#

Okay that's acceptable

#

Also what kind of goofy number is 33

lean venture
#

good question

#

all they allow

#

I always use webp in websites

#

I am working on a platform that allows users to upload files, I am also converting them all to webp on upload

#

storing them only as webp

drowsy zinc
#

sharp converts most of our images to webp but it doesn't for gifs I think

twilit fog
#

wow, how is that so small

lean venture
#

did ya guys try AV1?

twilit fog
#

I also use FFmpeg but it creates huge file sizes

pliant canopy
#

Somebody pls recommend a cli tool to create webp stuff

pliant canopy
drowsy zinc
#

I also used vert.sh to make it into a gif and it's roughly the same size so idk what yall's ffmpeg settings are

pliant canopy
#

Default settings shrug

pliant canopy
#

No, that's not a cli

lean venture
neon atlas
#

maybe it has a rest endpoint

twilit fog
#

alright will convert

neon atlas
#

then it is a cli tool 5Head

twilit fog
#

this is barely visible

neon atlas
#

perfect

lean venture
twilit fog
#

alright, will make webp images then 👍

pliant canopy
#

Apart from nuking the quality and fps, what does ezgif to differently than ffmpeg does

lean venture
#

also, tried ImageMagick?

drowsy zinc
#

ezgif likely uses imagemagick yea

pliant canopy
#

Read about it but never used

lean venture
#

they recommend to use it actually

pliant canopy
#

yeah imma take a look into imagemagick after I eat breakfast

#

it's 4pm and I still haven't eaten anything

#

was too busy spreading misinformation on the internet

drowsy zinc
#

priorities

#

I'm sitting in the park and answering telemarketer calls

twilit fog
#

if you ask me they just optimized their commands

twilit fog
#

Is this too small?

wintry flint
#

make it a bit closer

twilit fog
#

Okay the first round of pictures is up and I'm pretty sure ezgif blocked me for some time kekw

fair river
#

I’ve been silently following the process and I must say it has been fun and thanks for your contribution paperOhhh @twilit fog

trail jasper
#

for some reason i have been following this too 😄

twilit fog
#

hey, it's been really fun for me too haha, I decompiled client code and found some really neat stuff, INCLUDING a paper bug :D

trail jasper
#

nah thats not a bug

#

thats a feature

lean venture
#

I don't even know what he is doing

#

And I am following it

#

Lol

pliant canopy
#

@twilit fog I mean the videos just don't loop shrug

#

It runs once and then never again

#

At least for me

twilit fog
#

yeah same for me

#

but as I said in the PR, works on my machine so this is really strange

pliant canopy
#

The thing is you have to explicitely encode the webp so that it loops. You might just be using a video viewer with ignores the native video settings for looping

#

Or your browers might auto-loop them for you if you only view the raw file, but not embeded

twilit fog
#

I view them in the browser because Windows is stinky and doesn't support them

#

but it's the same browser?

#

what is going on?

twilit fog
#

i see

#

I guess I have to figure out how to encode this with ffmpeg, sinc ezgif doesn't do it

twilit fog
#

man how does ezgif do this ...., I can't get nowhere close to that

pliant canopy
#

don't do ffmpeg

#

do imagemagick

twilit fog
#

omg I figured it out

#

I was settting the encoder to libwebp and found a stackoverflow answer that said "remove that lol, let ffmpeg decide what to use"

#

106kB now

#

here is what I use: ffmpeg -i input.mp4 -ss 4 -t 2.5 -filter:v "fps=30" -loop 0 -an -vsync 0 -s 1280:720 output.webp

#

works well

#

neat, I can make them 720p and still have them in kB

#

just tell me, is this fine? (the direction) I've changed the color to yelow but am not sure if the direction is okay

#

nvm changed it

twilit fog
#

still not looping

#

what is going on

brazen moon
#

^ those test should be done in a blank world or in the sky especially for small particles

neon atlas
#

sad_cat how will we get the fox + paper in there then

#

flying fox

brazen moon
#

guess you can put a block in the middle of nothing

neon atlas
#

thats too obvious sad_cat

twilit fog
#

oh thats a great idea

neon atlas
#

but yea, visibility obvious over funny paper reference xD

twilit fog
#

this is the revised version, it's more visible

neon atlas
#

eh I still would agree that the background makes this quite difficult sad_coffee_pepe

twilit fog
#

somewhat

#

I'm more focused on the looping issue rn tbh

neon atlas
#

fair enough

twilit fog
#

there was an issue for gifs not looping in astro but webp shouldn't have problems?

mighty dirge
#

need dark/night mode xD

twilit fog
#

thankfully I didn't use fireflies anywhere

lean venture
#

this reminds me that I gotta restart work on Hangar after tomorrow's exam...

#

well... after this weekend, cause ya boi gonna be playing BF6

twilit fog
#

is there any way to test locally with embeded?

pliant canopy
twilit fog
#

Works on my machine ™

#

doesn't work on preview

#

I have a feeling astro is just straight up nuking it, I'm sure if I put it in public it will work

pliant canopy
#

When in doubt, ping @drowsy zinc

drowsy zinc
#

what's not working

twilit fog
#

webp is not looping

#

I'm 99% sure it's Astro's or something else's fault because my local run doesn't use the transformed one but rather url

#

guess I'll use public

drowsy zinc
#

use the img tag + mdx import for now, the image service is stupid

twilit fog
#

okay I've moved everything to img tag

#

it's finally looping

neon epoch
#

Love to hear it

lean venture
#

can ya send link to preview here?

#

(if there is one)

lean venture
#

hmm interesting, yeah sucks that the width is limited to 800px

#

but welp

#

overall looks nice

#

good job

neon epoch
#

It’s a nice one, the note gets a bit cropped though

#

Along the top and bottom

twilit fog
#

Wait what, what browser is that, looks fine on firefox

neon epoch
#

Safari

twilit fog
#

Ah

neon epoch
#

Hey lynx u may laugh but half the fun of web dev is making stuff work on mobile!!!

#

🫠

neon atlas
#

"fun" sob

neon epoch
#

Thank god my job does not involve web dev

twilit fog
#

How am I supposed to test on Safari ahhhh

neon atlas
#

buy a macbook for this PR obviously??

#

weird question

neon epoch
#

I mean ur browser can emulate the mobile resolution and check that

twilit fog
#

Can it emulate safari?

neon epoch
#

Unfortunately safari is not open source

#

Actually I’m not sure if that’s unfortunate

twilit fog
neon atlas
#

sucks for the macos users then

#

get a better browser

#

move on with life

neon epoch
#

If I try to remove edge from my taskbar it will magically reappear like a ghost

#

It’s a sign that it must be the best browser

neon epoch
# twilit fog

Mine was really blurry too. Ping me if u want me to check it

twilit fog
#

Could be two things really, either its the canvas operations or the image loading

lean venture
#

thought they had made it super easy to do so

#

also, agreed, no one cares about macos users

neon epoch
drowsy zinc
#

safari is so ass at image scaling ffs

twilit fog
#

I really hope copilot is wrong:

When you draw a canvas onto another canvas (as in your code), Safari often ignores the smoothing setting and applies smoothing anyway.

fair river
#

Imo, its ok if it only breaks on safari lol

pliant canopy
drowsy zinc
#

it's very accessible

#

get a better browser

vocal halo
neon epoch
#

It’s the better browser

pliant canopy
#

Nah

neon epoch
#

😂

#

I honestly don’t care much I just find opera kinda cringe

pliant canopy
#

True

neon epoch
#

If you use any of them u will get used to it

pliant canopy
#

I use Vivaldi, it works very nicely for me

neon epoch
#

Thought that was a video editing software for some reason

#

Is it chromium?

vocal halo
#

looks fine on safari for macbook wrong browser

pliant canopy
#

It's simple and it works well for me

neon epoch
#

Looks clean enough

pliant canopy
#

It's fairly customizable

neon epoch
#

Are extensions compatible with like chrome or Firefox?

vocal halo
#

i mean its chromium based

neon epoch
#

Doesn’t necessarily mean it works out the box

pliant canopy
#

I mean, I have uBlock enabled at the top

#

Yeah it works fine

neon epoch
#

Nice

#

Refined GitHub >>

#

I need to install that actually

vocal halo
pliant canopy
#

The one annoying part is that downloads and some other stuff is in this sidebar here, but you get used to it

#

It even got pretty good email integration, so that's a plus for sure

serene vault
#

deeply disappointed the note in the GIF above does not change color when you move the slider

vocal halo
#

what

neon epoch
pliant canopy
neon epoch
#

That’s fair, I just have outlook open in the background normally

pliant canopy
#

Fair enough, I don't do that usually at all

vocal halo
#

ive got thunderbird, as thats the only email app i know besides outlook

pliant canopy
#

I used to use thunderbird, but vivaldi mail is more convenient for me

twilit fog
#

okay so I think I found the solution hopefully? but I will commit it tommorow
canvasContext.webkitImageSmoothingEnabled = false should potentially fix the issue

#

I don't understand why it's still vendor specific

vocal halo
#

Apple doing apple things

twilit fog
#

there is also mozImageSmoothingEnabled, I have no idea what moz is tho. Mozilla?

#

there's more....

neon epoch
#

Probably Mozilla

drowsy zinc
twilit fog
#

Is copilot right that safari just doesnt care?

drowsy zinc
#

does the vendor-prefixed version work?

twilit fog
#

haven't tried yet

#

one sec

#

I mean the IDE is crying that it doesn't exist but there aren't any errors

#

Alright I changed the canvas logic a bit, @neon epoch it should work on safari now

vocal halo
twilit fog
vocal halo
#

Yes

twilit fog
#

okay thanks, it's better than it was

vocal halo
#

Well, it doesn’t look that bad

#

It’s just cropped for some reason

twilit fog
#

will look into it

#

actually it's not, it's the correct size and everything but your browser is doing AA for some reason

#

the top and bottom seem cropped because AA being applied there isn't visible

#

@vocal halo if you move the slider, does it get better?

vocal halo
#

No

#

It just changes the Color

twilit fog
#

ok thanks

neon epoch
#

Good work

#

Close but no cigar

twilit fog
#

Hopefully this should do it now, those of you with Safari I ask for testing :D

raven onyx
#

🎉

twilit fog
#

🎉

vocal halo
#

Nice

#

Im sure this is hella annoying to fix haha

twilit fog
#

Copilot was really helpful, he didn't write the nicest code (nor working), I just read what he wrote and did it better. First I tried googling but I didn't find anything really

neon epoch
#

Fire

fair river
twilit fog
pliant canopy
neon epoch
#

I create more fires (bugs) than I put out (fix)

velvet gulch
#

why even include negative offset in that slider? seems to be the same colors as the positive one?

#

well, same as in offset by 1 i.e. -0.75 and .25 are both red?

vocal halo
#

Because that’s probably the possible range?

twilit fog
drowsy zinc
#

@pliant canopy can you address the MM comment on the dialog PR and switch to webp for the videos

#

I'd like to merge it sooner than later

pliant canopy
#

Sure

pliant canopy
#

Jesus, magick is slow

#

Or maybe it doesn't like converting mkv to webp kek

pliant canopy
#

@twilit fog out of curiosity, what did you end up doing for the webp videos? Did you just run it through ezgif or did you manage to figure out some CLI way?

twilit fog
#

I did

#

One sec lemme find the message

pliant canopy
#

scorp linked it to me, but for me it produces rather.... unsatisfactory results

pliant canopy
#

relatively similar

#

But it just looks bad

#

Imma try updating my ffmpeg, maybe it is just wildly outdated, who knows shrug_animated

twilit fog
#

Possibly

twilit fog
pliant canopy
#

Tried that too

twilit fog
#

How about adding -vf "yadif"

#

this only applies if your mkv is interlaced

pliant canopy
#

idk lemme try that in a sec

#

Maybe it is really just my PC screwing with it

twilit fog
#

seems to be also happening on my end

pliant canopy
#

cool my video is cursed

twilit fog
#

@pliant canopy could it be the bitrate? Yours is really low, I have 2000 kB/s while yours only has 200

pliant canopy
#

Who knows shrug_animated

twilit fog
#

try rerecording with higher bitrate in OBS

pliant canopy
#

I managed to make it look not entirely shit but still relatively fine

#

Problem solved

twilit fog
#

what did you do?

pliant canopy
#

I used gifski to make a gif first and afterwards converted that to webp

twilit fog
#

hmm

pliant canopy
#

a bit roundabout, but eh whatever I don't care

#

I just wasted like 2 hours on this

twilit fog
#

if you ask me its got to do with bitrate

pliant canopy
#

I doubt that

#

As you can see, the same input video worked just fine like this

twilit fog
#

that's true but who knows

pliant canopy
twilit fog
#

Doesnt astro just convert gifs to webp anyway?

pliant canopy
#

Idk and I don't care, as long as I don't even have to touch webp again I am happy

twilit fog
#

I think your hatred for webp is unrelated to webp haha

pliant canopy
#

in that case it's my hatred for libwebp or whatever the lib name is

twilit fog
#

Okay yeah I agree it took me some time to get the wanted result

pliant canopy
#

Just dumping this here for me very quickly: ```
ffmpeg -i input.mkv -f yuv4mpegpipe - | gifski -o output.gif -
ffmpeg -i output.gif output.webp

#

Just so I don't forget it

#

Could theoretically pin it, but eh idk if that is worth a pin

brazen moon
pliant canopy
#

huh

#

Uhhh, woops

#

Weird...

#

I would have expected that scorp's thing catches that

#

I placed a dot where I should've placed a colon

#

fixed

#

oh wth main is not building. Bruh

drowsy zinc
#

fixed in the wrong branch

pliant canopy
#

Yeah I know, I was about to merge this one in

#

Why is main failing to deploy

#

What is this error, I have never seen that before

#

Did github actions run out of internet or what

drowsy zinc
#

the runner is just fucked up, I restarted the job

pliant canopy
#

Aight

#

btw could you make it so that if you make a jd link which looks like this, it get's flagged? jd:paper.org....

#

That's what had happened there

#

aka invalid project

drowsy zinc
#

it's fixed on my macbook since early july

pliant canopy
#

Lmao

brazen moon
#

hmm another weird link

pliant canopy
#

Darnit, that's why I hate merging

#

(Not really, I am just bad at it)

#

Thank you for pointing it out though foliapray

#

Before I push my patch, do you happen to anything else out of the ordinary?

#

Just so it happens all in one

brazen moon
pliant canopy
#

Btw a heads up: I am planning to also merge #631, so if you could also look over that one whilst you are at it, I would appreciate it

#

Probably going to look twice at the jd links for this one anyways, but 4 eyes are better than 2

drowsy zinc
#

"perquisites" 😭

pliant canopy
#

Did I misspell that

drowsy zinc
#

prerequisites

pliant canopy
#

Ohhh

#

That makes much more sense

#

Thanks lmao

deep spoke
#

I don't see any documentation on what MultilineOptions.create(int, int) does. Maybe I didn't see her.

wintry flint
#

Hey I think these could get grouped

#

to a menu group or something like that

sharp pivot
#

those seem like two different topics though

#

or do you mean a category?

wintry flint
#

the expandable thingy

sharp pivot
#

an inventory category could make sense

wintry flint
#

and maybe the dialog too? it is a kind of menu of some sort but not sure about that one

pliant canopy
#

I think that would make sense, but I wanna wait on scorp's opinion for that one

drowsy zinc
#

dialogs are not inventories but the rest yes

wintry flint
pliant canopy
#

I guess they are user interfaces

wintry flint
#

could also guide devs to how to make user interfaces

pliant canopy
#

Tbh I am not sure if that is in-scope for the docs

wintry flint
#

just thought about it

#

love the new docs btw

#

amazing job

pliant canopy
#

Hm, weird. Might be because I am missing an index

#

Good catch though!

twilit fog
twilit fog
drowsy zinc
#

the slug shouldn't be updated, since that warrants a redirect

#

slugs in general don't correspond to the file structure, so it's fine to leave it for the existing page

#

I'd set the sidebar label to "Introduction" or similar for the lifecycle api page though

#
sidebar:
  label: Introduction

in frontmatter

pliant canopy
#

Well, I will have to change the lifecycle page's slug anyways, but it shouldn't kill of any links as instead it will just contain the index

#

Actually nvm it would kill links and I don't need to change it after all

#

scorp, is there any way to disable the image optimizer for PR preview builds? It takes horrendously long and I hate waiting

#

It adds a whole 2.5 minutes to the build time, which is just unacceptable

#

A build time of 186 seconds, where 154 seonds are spend optimizing images lmao

drowsy zinc
#

no, preview builds are supposed to be production-grade builds

#

set up a cache on the action

pliant canopy
#

Hm, fair, but it's still kinda annoying

pliant canopy
#

Will look into that

pliant canopy
# drowsy zinc set up a cache on the action

Works wonderfully (a build takes 32s now), thought I am slightly concerned that I might be caching a bit too aggressively. Currently doing the dist, node_modules, .cache, and .astro folders. Should I remove some of them? Most notably, I assume the node_modules one is not actually reqiuired because we have the node cache setup anyways?

#

Also sorry, that was not meant to ping, mb

pliant canopy
#

Ended up removing the node caching and just doing the caching manually, because when I removed node_modules it didn't cache it fully shrug_animated

#

Works wonderfully, at least I think so

pliant canopy
#

Just a heads up, scorp, for some reason it is not caching anything on the main branch. It seems to work fine on PR branches, but not on main. It does say Cache restored successfully in the actions logs, but then proceeds to not use the cached images shrug_animated. I am out of ideas, so I am letting you deal with it in case you know what is going on.

drowsy zinc
#

you should only really cache dist/_astro/ since caching the rest will possibly include stale pages if we ever remove something

pliant canopy
#

Which is really weird, considering they should be in /astro

#

(testing this out locally rn)

#

It seems that it stores something inside node_modules. If I remove the node_modules folder, it completely regenerates them, even if they are inside dist/_astro

#

Yeah it seems to take it from node_modules/.astro/assets lol

drowsy zinc
#

then cache that

pliant canopy
#

Yeah will do 🫡

pliant canopy
#

Alright works incredibly well, both in PRs and on main

#

Finally I can sleep in peace

#

(I just woke up)

twilit fog
#

hey would an addition of Flyway and or JDBI chapter be welcome in the Using databases page?

#

Flyway seems to be problematic because it doesn't use the plugin's classloader and doesn't find the right files

drowsy zinc
#

it should be generalized to a note about using the serviceloader with the current thread context class loader

#

javalin and other libraries suffer from this as well

twilit fog
#

after wrestling with Flyway I found out the only valid classloader is the one from JavaPlugin.getClass().getClassLoader() since each plugin has its own class loader.

spice temple
#

Shouldn't getClassLoader in your plugin class work?

#

It's protected so can't use outside of that class, but that should be the class loader to use

#

A full on tutorial for jdbi and flyway seems Overkill, but mentioning them, linking to relevant resources and documenting gotchas like this seems a good idea

drowsy zinc
pliant canopy
#

this.getClass().getClassLoader() trolled

spice temple
hearty briar
#

it should end up in the same result though

frigid steeple
#

i fixed it in our fork

#

can i open a pull request

pliant canopy
frigid steeple
still apex
#

why did the colors change

scenic gull
#

Which colors?

still apex
#

download explorer

spice temple
#

Tailwind update

#

Don't you love utility frameworks?

hard quartz
#

that was not the color update when "channels" was introduced?

steady fulcrum
#

The colors matched the ones Riley picked for Fill

#

We just haven't seen the beta color so far

still apex
#

not really liking the stable color

vocal halo
#

^^

neon epoch
#

Make it unstable then

jagged pecan
#

Randomise the colour on each page load

#

Very unstable

still apex
#

thoughts on website PR 151?

jagged pecan
#

I would have thought "id" is more correct than name, which I'm inclined to treat as an arbitrary display name string

Tho I think field intention is missing from openapi docs a little, esp as fill isn't open source yet (right?)

#

Tho maybe introducing SCM URL into fill project metadata wouldn't be the worst?

#

It needs to be defined somewhere, after all, and I think centrally for all projects makes more sense than possibly n consumers of the api

spice temple
#

It did def feel weird

#

But didn't care enough to comment

#

I agree that an explicit field is always better than something implicit

#

If only fill was open source so that I could yell at you to open a PR....

neon epoch
#

Need like a “day X of minidigger asking for fill to be open source” counter

spice temple
#

I mean, I could press the button

pliant canopy
still apex
#

aren't you added to the org

pliant canopy
still apex
#

i moreso meant don't you have access to it then, not actually being able to make it pulbic

pliant canopy
#

Well, no I don't have access to it

still apex
jagged pecan
spice temple
#

Both kekw

pliant canopy
#

@sharp pivot btw I got docs#628 open for the PR you just merged. Could you give it a quick glance over if what I wrote there as a description is fine? I feel like it is a bit tangled in-on-itself due to the name change

sharp pivot
#

something along the lines of "Disables an optimization that [...], allowing remote ender dragon respawning to work again." would read better

pliant canopy
#

Yeah, thanks for the suggestion

pliant canopy
#

Thanks again, once the CI pases I'll be merging it

sharp pivot
#

that seems good

#

attempt

pliant canopy
#

yeah I know

pliant canopy
#

@drowsy zinc I am learning a bit far out of the window with this one, but do we maybe want to work to merge the Adventure docs PR soon™? We could just emitExternalStylesheet: true for the code block bug until it gets fixed (it's never getting fixed lol) and the remaining problems should be not super hard to finalize

still apex
#

what code block bug

pliant canopy
#

See how the code block is malformed?

pliant canopy
drowsy zinc
#

idk I'm not in a hurry to merge it, the current docs work fine

pliant canopy
#

It's still just annoying to have a PR laying around doing kinda nothing

pliant canopy
drowsy zinc
pliant canopy
#

idk

lilac edge
#

can i see a before and after of the malformed codeblocks? how many pages does it affect?

#

i'm with strokkur on this one - having a huge content PR being blocked by a visual bug is kinda meh

pliant canopy
#

There are workarounds: a.e. we could just not use a custom component and 1:1 paste in the dependency blocks as markdown blocks, but then those pages get +50 lines each lol

scenic gull
#

oh no 50 lines

lilac edge
#

what mbax said

#

do it as a temporary solution and then create an issue to track it

#

leave a comment on each of those pages that leads to the newly created issue

pliant canopy
#

No need to add my 50 lines (I haven't gotten around to it yet, that's all)

#

Yeah so @mighty dirge, I have taken the liberty to rebase the PR so that we can see a few of the recent changes there as well. Basically, I am not a fan of of the details extra CSS. I've been conflicted for a while, but personally I don't think it fits or is necessary. I believe we can make all of the details a bit more visible in general, but I'd consider it out of scope for the PDC PR. If you were to remove that I think we could merge it.

mighty dirge
pliant canopy
#

With that being said, @drowsy zinc, opinions on improving the clarity of detail sections as a whole? A.e. a slightly lighter/darker background color in general just so that they aren't fully skipped over if read through quickly?

drowsy zinc
#

it's supposed to be just a way to collapse content

#

if you put important content inside a details tag, that is really on you

#

such content should be inside an aside or just not collapsed

vocal halo
#

Why wasn’t it put inside an admonition in the first place?

scenic gull
#

Quick checking before a plane takes off, does our docs still say permanent block breaking unsupported config includes mushrooms? It was apparently Mojang patched recently.

vocal halo
#

It doesn’t directly

#

Whether unbreakable blocks can be broken with Vanilla exploits. This includes bedrock, end portal frames, end portal blocks, and more

scenic gull
#

Thank you. Turns out the plane has working wifi this time so I can reply sooner. Seems the user in an issue was confused. Maybe a translation issue.

sterile reef
#

where does this com.velocitypowered.proxy.connection.client.ConnectedPlayer; come from? because I found it in the Ambassador plugin but as for the docs (and my IDE) it doesn't exist

sterile reef
#

And how do I get access to them via the API?

pliant canopy
#

I don't know. I think you'd be better of asking in #velocity-dev. This channel is for the documentation

sterile reef
#

Yeah ok thanks anyways

sharp pivot
#

can we get a note on the bug fixes page mentioning tripwire duping, and how some setups are patched by other things paper patches but other ones do work with the option

brazen moon
#

hmm but this is a bug right? like the current implementation of the BlockPlaceEvent is really awful

neon atlas
#

yea

#

well, yea you'd need to redo all of BlockPlaceEvent

hearty briar
#

is the written for version modal supposed to display the version it was made in?

pliant canopy
#

Yeah, it was originally written with 1.21.7 in mind

#

Meaning the last revision was in 1.21.7

hearty briar
#

because I personally find it confusing for it to be that way, if that's its intent then something like "Since version" instead

pliant canopy
#

I mean, the reason it is not "since version" is because for example PDC is a concept that's existed for ages. So if there is "Since version 1.21.5", because something is documented there which didn't exist prior to 1.21.5, people might thing, PDC wasn't introduced up until 1.21.5, which is just wrong

#

But written for version 1.21.5 clearly means that the page was written with 1.21.5 API in mind

hearty briar
pliant canopy
hearty briar
# pliant canopy Well, what *does* it look like to you?

Well, after re-reading yesterday’s conversation, it seems like it was more of an issue with the placeholder being wrong for the registry modification documentation, it uses methods that weren’t there on the version it mentions (1.21.1)

#

Not sure if that number is supposed to be updated whenever newer methods are used or just leave it as is since the base API is there and just add a note about the method

pliant canopy
#

In that case, somebody might have just put the incorrect version number, but the version written there should be the version where all of the methods exist

#

Feel free to submit a PR which increments that version number to match the methods used @hearty briar

lucid pike
#

dont know if this qualifies for here but,
if you go to https://papermc.io/downloads/velocity, and then click on build explorer, you get a client side react exception
Brave 1.81.137 (Official Build) (64-bit)
Chromium: 139.0.7258.158
Linux x64 - Fedora 42 KDE

twilit fog
south thunder
#

Amy extensions? Works fine for me in Brave 1.81.137, Win11

lucid pike
#

aha

#

it works only the first time

#

if you click on build explorer, then go back in history to the download page, then click build explorer again

#

thats when it happens

south thunder
#

Ok, yeah, I can reproduce the error

#

Happens on Edge as well

opal flare
rich heron
#

I have two question.
in this section (https://docs.papermc.io/paper/dev/getting-started/paper-plugins/) how we register some details for a shop plugin unless the shop plugin is not loaded?

# Now, we are going to register some details for a shop plugin
# So the shop plugin should load after our plugin
SuperShopsXUnlimited:
  load: AFTER
  required: false
#

and next question, if I can omit this dependency node because I need just each key's defaults value, is correct that each node appears as follows?

YetAnotherPlugin:
SuperShopsXUnlimited:
SuperDuperTacoParty:
rich heron
#

upper case is caused by omission of server section. it is real case I want to see.

rancid bramble
#

You give it no keys in the map, so {}.

#

This isn't about the docs website itself though, #paper-dev

opal flare
pliant canopy
#

I think I just found a new side quest giggle

#

(Unless somebody gets to it first, I am not taking priority here)

opal flare
vocal halo
opal flare
#

Astro is not happening

vocal halo
#

oh ok

hearty briar
#

why did you guys give up on astro, out of curiosity

#

seemed like quite a bit was already refactored for it

eager plover
#

We have interactivety on our site

#

and astros solution for that was that either we wrote JS for it or we imported a component library

#

not fond of maintaining vanilla JS, and pulling in a component library to deal with the huge escape hatches we need felt kinda cludgy

hearty briar
#

interesting, makes me wonder of the appeal for astro if not for a site like paper's where even if there's interactivity, it isn't the main content

#

I guess just not having a good ecosystem for the things you guys are doing plays a role on it, sad to see that given it looks like a promising technology

eager plover
#

There was a level of upset over the idea of us migrating to astro AND pulling in a component library and it just felt like the thing had gotten stuck decision wise of how we would deal with that

#

Stuff like the download page is fun because stuff like the download box dropdown stuff becomes a headache when you don't have somewhere nice you can just store the selected state and disperse of it in one place

#

would of likely needed to deal with every single dropdown having its own optional "take up the entire screen" box to deal with the interactivety where

pliant canopy
#

@opal flare btw I wanted to ask how sophisticated you wanted the announcement/blog feature to be. Is something stupid, but straight-forward like "just read all files in directory X in build-time and construct some nice components statically" about what you expected or do you want a whole thing of "dynamically create a post on the website, and post it, and posts are fetched dynamically on clients, and it is all fancy and auth and woo"

#

There is a very crude line between the easy approach and the complex approach, at least if it wouldn't use some external library. Haven't looked at that yet, but just wanted to get your opinion already anyways

#

-# I suck at explaining, it is 11pm, but I think you know what I mean, sorry for that giggle

vocal halo
#

I think easiest and fastest might be to fetch from an endpoint? That way you have fast delivery and also not too much effort in terms of making an entire solution to just publish announcements

pliant canopy
#

I mean, you still need a way to post to that endpoint

vocal halo
#

That’s not the hard part. That can be a custom script with an auth token that probably already exist somewhere on the machines of people

#

Like, I don’t think they asked for the community to build such a system if they want a complete blogging solution

pliant canopy
#

There is a lot which is possible. I kinda wanna hear what riley had in mind before I start implementing a super cool system

vocal halo
#

Yeah I mean it’s a good question

opal flare
vocal halo
#

I mean the post thing can easily done with scp too

#

Ok

#

There you go

pliant canopy
#

Thanks, I will whip up a PR tomorrow soon, if you don't mind

opal flare
#

we don't post often enough to warrant some fancy system

vocal halo
#

Is this btw already a step forward to eventually ditch forums?

opal flare
#

eventually

vocal halo
#

👍🏻

serene vault
#

Markdown to some components is what we use for our server website, Svelte though iirc.
I'm no web dev at all, but I found that workflow pretty nice and convenient. Writing blog posts locally, commiting to the repo, Github actions builds and pushs it, blog post released. Doesn't need any auth or anything like that this way either

pliant canopy
#

Yeah, exactly why I asked

twilit fog
#

I'm updating my particle guide for 1.21.9 and need advice. Should I even mention that FLASH supports the alpha channel even though it doesn't have an effect since the particle instantly overrides it?

#

Might be fixed by Mojang in the future

pliant canopy
#

Just say it does support it but is currently unused

#

I think that clears all possible misconceptions one might have

pliant canopy
#

I'd love to get it merged, as it seems like a pretty sleek solution to the problem

eager plover
#

Well, assuming DNS servers don't do weird stuff that should generally work

pliant canopy
#

That's good enough for me

pliant canopy
#

lulu, if you'd be so kind as to check out docs#652 for any misinformation (primarily regarding the chunk(holder) info subcommands, I'd appreciate it

spice temple
#

Idk if I brought this up before, but an LLM.txt for our docs would be cool

#

Would be surprised if there wouldn't be a starlight plugin that generates one

spice temple
#

Many pages just dump everything into LLMs.txt

vocal halo
#

Here ya go

jagged pecan
#

Although, based on

/llms.txt of a website (or, optionally, in a subpath)
Wouldn't that mean you would need to check n URLs for an n segment long URL?

IE
Example.com/en/docs/v1/project/contributing
Needing to check for llms.txt at each level

spice temple
#

I don't expect any less from AI bros

lean venture
#

Either way they wouldn't check it or ignore it

#

Just like those asking to not be scrapped

#

They get ignored lol

pliant canopy
#

@drowsy zinc I did think about documenting the other commands as well, but the other ones which I found were basically self explanatory anyways lol

#

What command in specific do you think is still missing?

drowsy zinc
#

idk, like /restart

#

the main thing is that if there ever is a command that's not under /paper and you need to document it, you have nowhere to put it without redoing all that

pliant canopy
#

I mean, I would just put it in its own reference/commands category and add the remaining commands there, in case they are note worthy

#

Otherwise the page also just gets too big if we start putting all possible random commands in there, I kinda like its scale atm

drowsy zinc
#

category consisting of The Paper command and The Rest lol

pliant canopy
#

Basically kek

drowsy zinc
#

no

pliant canopy
#

The initial problem behind the documentation of the paper commands was only because of it containing many developer specific and highly technical/unexplained values

#

I mean sure, I can change it to general commands documentation, but then people will complain "why isn't /help documented?"

drowsy zinc
pliant canopy
#

Oh well nvm kek

#

Idk apart from /restart there really isn't any command we'd care at all about properly documenting, right?

#

And I have also not once seen anybody actually use restart before. I believe on Windows it doesn't work at all anyways? Because .sh and what not. Idk the last time I tried it out was probably like 2 years ago

drowsy zinc
#

which no one actually manages to do

pliant canopy
#

Ykw in that case fair enough, that'd require some reading material

pliant canopy
drowsy zinc
#

also the config cleanup is fine by me

#

I didn't read it all, just gave it a skim that you didn't break anything

pliant canopy
#

I still need to address the one point by lulu (and eternity also brought to my attention that there are config values which do not generate in the config? I kinda wanna document those as well), but good to know

#

Thank you for looking over that

vocal halo
#

I think it can’t hurt to document other commands

#

Even if they are self explanatory

pliant canopy
#

I mean, the only relevant commands are the ones added by bukkit, spigot, or paper. Minecraft commands are documented in the mc wiki

#

And there aren't many of those

#

Idk I will look over it

vocal halo
#

Yeah

#

That’s what I mean

#

We could add a link to the Minecraft wiki I guess

pliant canopy
neon epoch
#

Classic

twilit fog
#

why is this happening? The javadocs have been updated?

hard quartz
drowsy zinc
#

yeah just pull main

#

the newest pre doesn't have javadocs

twilit fog
#

I did

twilit fog
drowsy zinc
#

ah it's under 1.21.9 without the suffix

#

grr

#

pull main into your branch for now and I'll fix it later

twilit fog
#

I mean I did pull it

drowsy zinc
#

so that's a new class

#

rewrite the LATEST_PAPER_RELEASE constant in /src/utils/versions.ts to "1.21.9" for now and we'll revert it when there's a stable build and it can be merged

pliant canopy
#

@drowsy zinc in #1442, the footnotes seem to render really weirdly in starlight. It makes a new ToC entry and also shows the linking symbol when you hover right above it. Imo it looks a bit weird. Anything we (you) can do against that?

drowsy zinc
#

no :)

pliant canopy
opal flare
pliant canopy
# opal flare Any progress on this?

I got a general markdown parser down, but apart from that nothing yet. It kinda got lost in my way too long list of projects. Idk how high prio it is, but I doubt it will be finished before like middle october just because of how much is going on in my private life as well atm

opal flare
#

You wrote a markdown parser? If so you didn’t have to

drowsy zinc
neon epoch
#

Incredible commitment

drowsy zinc
#

org ban material

pliant canopy
#

No sadge

drowsy zinc
#

you didn't right

#

you used marked or micromark or whatever

pliant canopy
#

Yes

#

Whilst writing a markdown parser from scratch sounds like a very me-thing to do, I did not do that

opal flare
#

No I mean

#

It’s already a thing that you can use without writing anything

#

@pliant canopy @drowsy zinc

hard quartz
pliant canopy
brazen moon
#

is it just me or the toggle experimental button is full white?

eager plover
#

The problem with everybody being developers is that nobody tests light mode

#

But, yea, that is busted here too

fair river
still apex
#

GHOST PINGING

slate scarab
#

yes ik

#

fixing later

fair river
#

love you

novel hill
#

Hi, it's a bit late to ask now, but will help when Mojang does their next release cycle.

I was wondering if the elements in the response from getVersions could include a "version type" like Mojang does to differentiate the Minecraft versions that are release vs snapshot
https://fill.papermc.io/swagger-ui/index.html#/Meta v3/getVersions

such as

    {
      "version": {
        "id": "1.21.9-rc1",
        "support": {
          "status": "SUPPORTED"
        },

For comparison it would be the "type" from https://launchermeta.mojang.com/mc/game/version_manifest_v2.json and I'm thinking would track theirs. I could always cross-query from Mojang's manifest, but it's nice using the Fill API as a one stop place to retrieve latest (release vs snapshot) Paper versions, for example.

viscid thistle
# opal flare If someone feels bored and wants to help with this: https://github.com/PaperMC/w...

I'm bringing this back to life. I'm going to tag @pliant canopy since you originally showed interest in it. I've opened a draft PR that is basic and needs some work done. If you want to work off it, you can. I talked to @opal flare and he likes the POC I've presented in the PR. It'll definitely need some cleanup and some tweaks and actually needs the stuff from the forums migrated over to MDX but I don't think I have the time to commit to do it all myself.

still apex
#

is the forum getting deleted at some point?

#

or made read only

spice temple
#

deletion would be pretty bad

#

information is hard enough to find as is

#

dont need more dead links

opal flare
#

Forum will go read-only

pliant canopy
viscid thistle
#

Sounds good!

hard quartz
#

a little lost... i mean i make works but not sure why works xd
i just change the class for button from text-white to text-black looks like not affect to darkmode

spice temple
#

we love tailwind

hard quartz
#

also if remove the text-black still works xd

spice temple
#

maybe its something that got broken with the migration, as in, the old class name didnt exist

hard quartz
spice temple
#

thanks

viscid thistle
#

I pushed some more changes to the draft pr. It should be better suited to have things migrated over now.

#

If riley wants to keep the hero images we'll need to backfill / generate some for each post.

spice temple
#

cant we make them optional?

#

also, can you check they show up in the sitemap?

spice temple
#

would be cool to have filtering by tags and stuff

#

also not sure I like the blog naming, how do people feel about news?

#

are the pages pregenerated?

#

and it would be cool to link the release posts to the versions on the software pages

#

sorry, just brain dumping, lol

viscid thistle
# spice temple ah, they are

Yes we can make any changes we want. Riley just liked the look so we can do with them or without them. We can definitely add in filtering by tags and have some kind of sidebar. Yes all pages are generated at build time.

#

And we'll probably have to make some sitemap ajustments but yes we can make it show up there and I was also thinking about adding in a static rss.xml endpoint that is generated at build time as well.

spice temple
#

I personally think those slop heros which are shat out by some dum llm are usable for social media only, if at all, but that might be just me

viscid thistle
#

Riley is going to forward some of the photos I sent him here shortly so you can kind of see what we're working with.

viscid thistle
spice temple
#

we can set them as the graph image or something so they show up when being shared, I am just not sure if they look good on a website (I didnt build your branch yet)

viscid thistle
#

I think we can also just use next/og (satori) and have some OG images generated at runtime based on the blog title + tags, etc.

opal flare
#

The preview @viscid thistle shared with me yesterday.

#

/cc @spice temple

spice temple
#

thanks!

#

thats about as bad as I expeced the hero to look 😛

#

and the accent color is wrong, nice otherwise

#

and we can prolly make that release link nicer, I do like the idea too

viscid thistle
#

I'm seeing if I can get the rss route and the sitemap thing in and then you can go ham. There are some slight color changes since those photos since I added in better handling for the backtick content.

viscid thistle
#

So eslint is being removed in NextJS 16. Do we want to go ahead and move over to Biome? I've been using https://www.ultracite.ai/ which is a layer on top of Biome that has been working really well for me.

#

Alright @spice temple it's all yours if you want it. I updated the next-sitemap and also added in a generated rss.xml route. I'm like 90% sure things will need to be cleaned up, but, it's a base to work off of.

#

@opal flare Do you know if I have to change this from a draft pr to a ready pr for Cloudflare to build a preview page for it?

spice temple
#

I don't want to that this away from you, lol
I just came home from vacation, my to-do list is long enough

#

I am not sure about biome, it feels like a dead end now that everybody is betting on oxc/oxlint

eager plover
#

Going to a hospital on that list?

viscid thistle
#

I told Riley up front that I'm super busy at work and just wanted to get the ball rolling. I'm sure Strok will be taking a look at it as well.

spice temple
#

Why does my fucking code formatter need AI? Lmao

eager plover
#

don't think it does?

viscid thistle
#

I honestly don't know why it's "AI"

eager plover
#

I think that's just tpart of their wanketerring

viscid thistle
#

It's just a set of rules for Biome

eager plover
#

"look, we format the code in a manner that works with LLMs"

spice temple
#

Idk, I like biome, I just think that it's not what will kill eslint, oxlint will

viscid thistle
spice temple
#

Because it's backed by vite/evans company which everybody uses

viscid thistle
#

Guh okay.

#

I went ahead and switch the rss.xml route to be generated from the feed package because it ensures it's all organized and clean and stuff. Might need some of the info updated there but it's all in the route.ts file for it.

#
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>PaperMC Blog</title>
        <link>https://papermc.io</link>
        <description>Latest updates from PaperMC</description>
        <lastBuildDate>Wed, 01 Oct 2025 16:54:57 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <copyright>All rights reserved 2025, PaperMC</copyright>
        <atom:link href="https://papermc.io/blog/rss.xml" rel="self" type="application/rss+xml"/>
        <item>
            <title><![CDATA[Paper 1.21.7]]></title>
            <link>https://papermc.io/blog/1.21.7</link>
            <guid isPermaLink="false">https://papermc.io/blog/1.21.7</guid>
            <pubDate>Mon, 30 Jun 2025 00:00:00 GMT</pubDate>
            <description><![CDATA[What changed in 1.21.5/6/7, upgrade advice, and acknowledgements.]]></description>
            <category>release</category>
            <category>1.21.x</category>
            <enclosure url="https://papermc.io/blog/1.21.7/hero.png" length="0" type="image/png"/>
        </item>
        <item>
            <title><![CDATA[The future of Paper — Hard fork]]></title>
            <link>https://papermc.io/blog/hard-fork</link>
            <guid isPermaLink="false">https://papermc.io/blog/hard-fork</guid>
            <pubDate>Fri, 13 Dec 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[Starting with 1.21.4, Paper hard-forks from Spigot to accelerate development, ship missing API, and simplify contributions—without breaking existing servers.]]></description>
            <category>announcement</category>
            <category>project</category>
            <category>paper</category>
            <enclosure url="https://papermc.io/blog/1.21.7/hero.png" length="0" type="image/png"/>
        </item>
    </channel>
</rss>
opal flare
#

also, fyi:

viscid thistle
#

Also I did have to update NextJS in this PR for stable turbopack. It wasn't playing nice with next/mdx.

#

Which means we could try out the next build --turbopack now.

opal flare
#

09:58:52.336 ▲ Error: Cannot find module '@mdx-js/loader'

#

fun

viscid thistle
#

Oh so maybe I do have to manually install it. I thought that was a subset of next/mdx.

#

Just pushed it to add it back

opal flare
viscid thistle
#

Hot

opal flare
viscid thistle
#

Oh

#

Maybe not hot

#

I think my browser is just defaulted to dark mode.

#

Do you want me to shove in OpenNext to this PR?

opal flare
#

separate please

viscid thistle
#

kk

#

So what I'm going to do is:

  • New PR for OpenNext + NextJS 15.5.4
  • Rebase blog on the new changes
viscid thistle
#

Okay putting a hold on OpenNext. There's a bug in the current version it seems that is causing issues.

#

But yeah Blog is free to play around with.

pliant canopy
# viscid thistle I told Riley up front that I'm super busy at work and just wanted to get the bal...

You might have already done a better job than I ever could have made, just basing myself off of the past few messages. My web dev skills are greatly lacking, as I usually only do Java.

Regardless, I can definitely do some tweaks (having solid changes makes it infinitely easier to work with and extend) and migrate over the remaining announcement messages (when I do get home ofc). So yeah thanks for your work, much appreciated MahiruHeart

viscid thistle
#

For sure. Just ping me or something if you have any questions.

#

I'm sure Mini will continue to rip us apart until it's to his satisfaction 🙂

pliant canopy
#

Mini always does that, learned that when I did my PRs to adventure 😂

#

Not a bad trait though, asking questions and providing feedback is always good

spice temple
#

Haha, it's my job at work

#

I don't have the luxury to write code myself most of the time anymore

pliant canopy
#

I believe people call that suffering from success

spice temple
#

I got to rip apart two weeks of progress at work today, that was fun ^^

#

Only two things I would have done differently tho and those require a bit of work, so don't even blame my team

#

My PO had so much anxiety of me being gone for over two weeks, as if my team was a bunch of idiots that need me to tell them what to do

neon epoch
#

If you’re not the PO what job role do you have lol

spice temple
#

What best would describe it would be a lead dev

#

PO is business side

neon epoch
pliant canopy
#

@drowsy zinc is there a reason why you removed the automatic adventure versioning logic in the adventure docs merge PR?

drowsy zinc
#

the current site isn't automatically versioned

pliant canopy
#

I don't think it is bad though?

#

Maybe they just didn't think of it or wasn't possible with the old tooling, who knows

drowsy zinc
#

I figured zml and co. preferred updating it first and then bumping the references

pliant canopy
#

You figured or you asked? Just wanna make sure

#

Imma ask just to be certain. @timid cedar do you want to manually bump the dependency versions on the docs when you do an update (just editing like four values in a file), or want it to be automatically fetched on build time?

drowsy zinc
timid cedar
#

Either way we'd have to manually trigger a build right? Idm then

#

Basically the same amount of work either way

drowsy zinc
#

it's not going to be me (or you strokkur) updating it most of the time so I tried to adhere to the current workflow

pliant canopy
#

Well whatever, will keep it as it is. It can always be automated at a later time if you do decide to want to have it automated

timid cedar
#

It would be nice if the builds themselves were automated, but idk how/if cross-org github action triggers are even possible

drowsy zinc
#

we manually trigger bumps for paper too so

pliant canopy
#

Is this something we are interested in taking a look into and should I spend time investigating it, or not?

drowsy zinc
#

I don't think it's worth the complexity but I don't mind having it

pliant canopy
#

Alright, I'd love to get the adventure docs migration finally merged. I went ahead to do some final touches. (#573: feat: Add Adventure docs). @drowsy zinc @timid cedar if you could go over it quickly, that would be really great.

timid cedar
#

Giving it a good look over now! 🫡

pliant canopy
#

Well, "quickly" going over 4k lines of changes definitely ambitious, but content wise I am pretty positive that it is 1:1 with the current kyori docs, so mostly style and feel things are what should be checked

timid cedar
#

Are the URLs the same? e.g. can we just rewrite the old url to the new one easily?

pliant canopy
#

I believe the only difference is that there is no .html suffix and I also think the index.html ones are omitted

#

Apart from that, I think so? Shouldn't be hard to write up something simple to redirect it

timid cedar
#

do you want me to just spam nitpicks here or on the PR?

#

i dont have many comments

drowsy zinc
#

on the pr

pliant canopy
#

PR is better

pliant canopy
#

Alright, I've tended to the review comments (thank you kezz!). Anything else we want to do before I merge this (I'd like an explicit yes from both of you @drowsy zinc and @neon epoch before that, as this is a big PR). Minor stuff can always be done afterwards as well (like inline code highlighting), so it is not the end of the world if something is found afterwards.
-# Also sorry for the many pings scorp, I hope you forgive me MahiruHeart

neon epoch
#

Yeah I can give it a look over now, I’m stuck in a useless work call

#

I was very confused why stuff wasn’t working until i saw I was logged in with my work account 🫠

#

1 change for the releases that can come down the line, couple of small issues - impressive work!

pliant canopy
neon epoch
#

Oh damn that’s bigger than I thought it was gonna be

pliant canopy
neon epoch
#

But yeah, I think it’s good and I couldn’t see any glaring issues - nice work

opal flare
#

is it good to merge now? @drowsy zinc

#

because if so, can someone make a mapping of old -> new url? and I will apply redirects tonight

https://docs.advntr.dev/getting-started.html
https://docs.advntr.dev/community-libraries.html
https://docs.advntr.dev/faq.html
https://docs.advntr.dev/audiences.html
https://docs.advntr.dev/text.html
https://docs.advntr.dev/serializer/index.html
https://docs.advntr.dev/serializer/json.html
https://docs.advntr.dev/serializer/gson.html
https://docs.advntr.dev/serializer/legacy.html
https://docs.advntr.dev/serializer/plain.html
https://docs.advntr.dev/minimessage/index.html
https://docs.advntr.dev/minimessage/format.html
https://docs.advntr.dev/minimessage/api.html
https://docs.advntr.dev/minimessage/dynamic-replacements.html
https://docs.advntr.dev/minimessage/translator.html
https://docs.advntr.dev/serializer/ansi.html
https://docs.advntr.dev/bossbar.html
https://docs.advntr.dev/sound.html
https://docs.advntr.dev/title.html
https://docs.advntr.dev/book.html
https://docs.advntr.dev/tablist.html
https://docs.advntr.dev/resource-pack.html
https://docs.advntr.dev/localization.html
https://docs.advntr.dev/platform/index.html
https://docs.advntr.dev/platform/native.html
https://docs.advntr.dev/platform/bukkit.html
https://docs.advntr.dev/platform/bungeecord.html
https://docs.advntr.dev/platform/spongeapi.html
https://docs.advntr.dev/platform/modded.html
https://docs.advntr.dev/platform/fabric.html
https://docs.advntr.dev/platform/neoforge.html
https://docs.advntr.dev/platform/viaversion.html
https://docs.advntr.dev/platform/implementing.html
https://docs.advntr.dev/migration/index.html
https://docs.advntr.dev/migration/bungeecord-chat-api.html
https://docs.advntr.dev/migration/text-3.x.html
https://docs.advntr.dev/contributing.html
https://docs.advntr.dev/version-history/index.html
https://docs.advntr.dev/version-history/adventure.html
https://docs.advntr.dev/version-history/adventure-platform.html
https://docs.advntr.dev/version-history/adventure-platform-fabric.html
timid cedar
opal flare
#

ok, I will write a rewrite rule when I get home unless someone makes one for me

pliant canopy
opal flare
#

Yes. One for root without .html and one for all .html

pliant canopy
#

Alright, I will play around in my own cf and then send you something soon™

opal flare
#

Thanks

pliant canopy
#

Alright, the following should work:

  • Redirect Rule: Wildcard pattern. Request URL: https://docs.adventr.dev/*.html. Target URL https://docs.papermc.io/adventure/${1}
  • Another one with the same target url, but without the .html in the request URL.

Make sure to also tick the preserve query string option.

I tested it on my subdomain adventure.strokkur.net to point to the preview deployment, and seems to work fine: https://adventure.strokkur.net/migration/text-3.x#append-with-a-string-argument

drowsy zinc
viscid thistle
#

Hey @pliant canopy I might have some time today / this weekend to do more stuff with the blog. Have you had a chance to look at anything yet? Probably need to work with Riley to go over the changes that need to be done and then just migrate things over.

#

Also @opal flare to prepare for OpenNext, we need to drop next-sitemap and use what NextJS has integrated already. This is because the postbuild doesn't run properly with OpenNext so we will have to build the site once and then run the OpenNext stuff. Do you want a dedicated PR for migrating from the next-sitemap over to what NextJS provides now?

#

I already have it done fwiw. Just don't know if I can shove it in blog branch or you want a dedicated PR and go ahead and get it in.

Edit: Going to just open a dedicated PR for it.

spice temple
#

What is open next?

#

Ah, cloudflares fuck you to vercel

viscid thistle
#

The new thing that is replacing next-on-pages.

#

Working on too many branches and keep copying the wrong things over 🙃

#

I removed the blog stuff from that PR. I'll just have it marked locally to add into the blog branch when this gets merged.

pliant canopy
viscid thistle
#

Absolutely no worries. Focus on yourself first 🙂

pliant canopy
#

Yeah I am gonna take a nice bath now and then gonna to sleep

#

Eventhough it is just 8pm

opal flare
#

@drowsy zinc merge when ready and I will deploy redirects in a bit

#

Just ping me when merged

drowsy zinc
#

@opal flare

#

:)

opal flare
viscid thistle
vocal halo
#

is there a reason why its a normal merge and no squash?

drowsy zinc
#

need to (partially) revert a bug workaround commit later

pliant canopy
#

(how do you do that anyways xd)

opal flare
opal flare
pliant canopy
#

Yay!

pliant canopy
# opal flare Edit the expression and copy paste, and also give me a dynamic expression for th...

You already got it, but just for fullness, here is what I had:

  • (http.request.full_uri wildcard r"https://docs.advntr.dev/*.html")

  • wildcard_replace(http.request.full_uri, r"https://docs.advntr.dev/*.html", r" https://docs.papermc.io/adventure/${1}")

  • (http.request.full_uri wildcard r"https://docs.advntr.dev/*")

  • wildcard_replace(http.request.full_uri, r"https://docs.advntr.dev/*", r" https://docs.papermc.io/adventure/${1}")

drowsy zinc
#

advtr.dev 😭

pliant canopy
drowsy zinc
#

an issue of skill

timid cedar
#

it's a lot easier to remember when you know that it's adventure without the vowels

hearty briar
grand dew
#

but with the a

hard quartz
#

With this then make sense change the url into the adventure repo?
also i notice the discord mentined its still the one with the channels related to adventure are closed in favor of #adventure-contrib

timid cedar
#

Yes I'll do a pass updating everything and archiving the old docs repo on Monday

viscid thistle
pliant canopy
#

Ah right, checking out the blog thing

#

I'll do that tomorrow 😅

timid cedar
#

the old adventure docs repo has a few issues i'd like to migrate over, would it be worth having a tag for the project type perhaps?

pliant canopy
timid cedar
#

okie dokie, heads up for the issue spam :p

eager plover
#

misunderstands
I am an English

timid cedar
#

should've just added a [sic] to every one of @nimble marlin's issues yeah :p

nimble marlin
#

hey

pliant canopy
#

There, all labeled up

#

It's so colorful now

timid cedar
#

Yes that's already done

#

PR is ready to merge on the docs repo once I fix this typo

hard quartz
timid cedar
hard quartz
#

that has the other discord and docs urls

#

and notice mentions in class

#

i can open a PR for that things (the about not) or just tell here?

timid cedar
#

Oh right I see - I'll just update that now

pliant canopy
drowsy zinc
timid cedar
random pollen
#

about to push 6.7.0 for 1.21.9

hard quartz
hard quartz
opal flare
#

sing it with me

#

🎵 I hate css

south thunder
#

I lov
e css

opal flare
#

help

#

@viscid thistle ^

viscid thistle
#

What page is this on

hard quartz
#

not?

opal flare
#

It needs to work on both light + dark themes, and the text needs to be visible in all cases

hard quartz
#

in dark mode feels.. too.. palid?

opal flare
#

Colours can be completely changed, but the general theme is:
alpha: red
beta: yellow/orange
stable: blue
recommended: green

#

so as long as they follow that theme, any changes to the hex colours used are fine

hard quartz
#

any recommended currently?

opal flare
#

easiest way to preview is to use it locally and chage the colour for another channel pepela

#

only old builds of velocity are recommended channel

hard quartz
#

i found one xd

viscid thistle
opal flare
#

yup

#

The colours also need to "match" each other - similar kind of "tone" or whatever. Per-theme (light/dark), at least

viscid thistle
#

For the blue:

Dark:

  • bg #4DC4FF
  • text #0A192F
  • hover #37B7FF

Light:

  • bg #007BE0
  • text #EAF7FF
  • hover #006BC7
opal flare
#

You can push to branch if you want

viscid thistle
#

I have games open

#

Light:

alpha: { bg: '#FEE2E2', text: '#B91C1C', hover: '#FCA5A5' }
beta: { bg: '#FEF3C7', text: '#B45309', hover: '#FCD34D' }
stable: { bg: '#DBEAFE', text: '#1D4ED8', hover: '#93C5FD' }
recommended: { bg: '#DCFCE7', text: '#15803D', hover: '#86EFAC' }

Dark:

alpha: { bg: '#3F0E0E', text: '#FCA5A5', hover: '#DC2626' }
beta: { bg: '#422006', text: '#FCD34D', hover: '#F59E0B' }
stable: { bg: '#0D1B2A', text: '#93C5FD', hover: '#3B82F6' }
recommended: { bg: '#0F2E1E', text: '#86EFAC', hover: '#22C55E' }
#

Try that

opal flare
#

err let me convert that to modern tailwind

#

somehow

#

lol

viscid thistle
#
@layer theme {
  @theme {
    --color-alpha: #FEE2E2;
    --color-on-alpha: #B91C1C;
    --color-alpha-strong: #FCA5A5;

    --color-beta: #FEF3C7;
    --color-on-beta: #B45309;
    --color-beta-strong: #FCD34D;

    --color-stable: #DBEAFE;
    --color-on-stable: #1D4ED8;
    --color-stable-strong: #93C5FD;

    --color-recommended: #DCFCE7;
    --color-on-recommended: #15803D;
    --color-recommended-strong: #86EFAC;
  }
  @theme .dark {
    --color-alpha: #3F0E0E;
    --color-on-alpha: #FCA5A5;
    --color-alpha-strong: #DC2626;

    --color-beta: #422006;
    --color-on-beta: #FCD34D;
    --color-beta-strong: #F59E0B;

    --color-stable: #0D1B2A;
    --color-on-stable: #93C5FD;
    --color-stable-strong: #3B82F6;

    --color-recommended: #0F2E1E;
    --color-on-recommended: #86EFAC;
    --color-recommended-strong: #22C55E;
  }
}

Might be closer

opal flare
#

that format is still invalid - that makes like bg-channel-alpha-bg

viscid thistle
#

Ope

#

Are we on 4 or 3

opal flare
#

4

viscid thistle
#

That might be better

#

Multitasking atm

#
<button class="rounded px-3 py-1.5 font-medium
  bg-stable text-on-stable hover:bg-stable-strong">
  Stable Build
</button>
#

I'm a good namer

opal flare
#

ok, let me frankenstein this

viscid thistle
#

🫡

opal flare
#

because there are differences too

#

hmm

#

yeah I think someone else will need to do this

#

I am dumb

viscid thistle
#

You could work on the ISR cache if you want something to do 🙂

opal flare
#

The colour changes are required for other moving parts; a blocker :p

viscid thistle
#

Not sure I'm a fan of these

opal flare
#

too dark for sure

viscid thistle
#

We'll let someone who's good with design do it

opal flare
#

@undone drift pepela

viscid thistle
#

Can you create an R2 bucket and give me a name and I'll push something for it

viscid thistle
#

Ye

#

It looks like that's what we have to do since we switched from pages to workers to get ISR back

opal flare
viscid thistle
#

Why did the deploy instantly fail lol

opal flare
#

text: 'Could not resolve "@opennextjs/cloudflare/dist/api/overrides/incremental-cache/r2-incremental-cache"'

viscid thistle
#

Mfw

#

Why is the documentation for this wrong

opal flare
#

gotta love that

viscid thistle
#

It's only letting me import from this

#

Is it doing a bun install first?

opal flare
#

it is

viscid thistle
#

Idk how it's different then whut

#

Oh I got it, I think.

#

It was right but our tsconfig.json was still from our Next 13 days I believe.

#

Okay it deployed but it's still saying miss

#

Wonder if it's cause preview?

#

Is it tied just to production?

#

Might be. Anyways, I gotta 😴

opal flare
#

updated colours

spice temple
#

That isr stuff broke the download page for paper, it throws a 500

#

Deploying an old build

#

No clue where the fuck cloudflare hides the logs for this

fair river
#

Looks to be broken again... something is up pepela

spice temple
#

Wut

#

No new build tho

fair river
#

yeah I dont know what's wrong.

spice temple
#

It doesn't log stuff

#

This is so dum

#

Serverless ftw!

fair river
#

That's indeed frustrating

opal flare
#

it worked for a minute before, wtf

fair river
#

it did work for me when Mini said it was fixed.

#

then it broke again when I check shortly when I saw a report in #paper-help

spice temple
#

I'll get to my PC in a bit and just disable isg somehow

opal flare
#

restored for now

spice temple
#

What did you do?

fair river
#

rieThumbsUp can confirm that

opal flare
#

reverted to an older deployment

spice temple
#

That's what I did too kekwhyper

opal flare
#

probably mobile being dumb

spice temple
#

Let's see if it breaks again

opal flare
#

I'll see if I can fix the ISG

#

deploying a new version atm

opal flare
#

deployed ISG again @spice temple

#

site working for you?

spice temple
#

Ye

#

People will notice it being broken soon enough I guess

opal flare
spice temple
#

all I see is how much I hate tailwind nowadays, lol

#

why are these blues different?

opal flare
#

i can try using that blue for the stable channel i suppose

spice temple
#

thats the only thing I noticed, other than our light theme being really meh to my eyes, but my room is also kinda dark since the sun isnt up yet, lol

#

I think I prefer the darker one, but generally, just keeping the color palette limited (and I think the dark blue is our brand color?) is a good idea

opal flare
#

fair

#

it looks good, just tested it

spice temple
#

are the alpha and beta colors used anywhere? I only really see primary and the red

#

oh and eol