#docs-website

1 messages · Page 8 of 1

spice temple
#

looks better without the responsive mode, lol

#

ok, implemented the injection, now to figure out how to fetch the latest version, mmh

#

uff javaducks is on java 17

#

can't use getLast, lol

#
Name 'getLatestVersion' must match pattern '^(?:(?:.{1,3})|(?:[gs]et[^A-Z].*)|(?:(?:[^gsA-Z]..|.[^e].|..[^t]).+))$'.
#

ah yes

#

is get banned?

neon epoch
#

thats like... eyewateringly red KEKW

spice temple
#

its literally red

neon epoch
#

wild. but yeah as long as it isn't sticky and a better colour i have nothing against that

spice temple
#

its sticky

#

the whole nav is sticky

neon epoch
#

oh

#

on mobile that may be kinda ass

spice temple
#

its really not that bad

#

and thats worst case

#

any preference for color?

neon epoch
#

Javadocs > JavaDocs. But yeah, that is fine I suppose. font looks funny. probably a darker shade of red

#

these are personal opinions though

spice temple
#

darker looks weird with the white text somehow

neon atlas
#

what does our legacy thing use? (legacy downloads page)

spice temple
#

font is the same for rest of javadocs

neon atlas
#

iirc that is also white text in dark mode at least

spice temple
#

#ef4444, ill yoink that

neon atlas
gilded sparrow
#

ef4444? iirc that's tailwind red 500

spice temple
still apex
neon atlas
#

it is yea

gilded sparrow
#

so works for me

neon atlas
#

the fact you know that worries me

gilded sparrow
#

let's just say that I'm a fan of the tailwind color palette

spice temple
still apex
#

What part of the message is clickable? "here"?

gilded sparrow
spice temple
still apex
#

Paper

#

?

spice temple
#

thats hard

#

I just fetch the strings from the endpoint names

#

I guess I could capitalize

#

mmh, in backend or in frontend? 😄

still apex
#

How are you doing this?

#

also is there a pr for this yet?

#

idk if you're using the injection stuff

spice temple
#

yes

#

ill just push to that

neon epoch
#

what is seiama

still apex
#

fake kyori

neon epoch
#

Looks like some sort of dumping ground for riley

spice temple
#

ufff

#

at some point the javadocs changed their html

#

from class="topNav" to class = "top-nav"

still apex
#

I'm guessing around java 16/17?

#

so probably 1.16 somewhere

#

could do a version check then

spice temple
#

or just check for both, lol

#

but this is why we write tests people

lean venture
gilded sparrow
#

So you currently injecting the warning inside the nav? Or why do you need to know the nav class?

spice temple
#

just pushed

#

@opal flare for visibility

#

ok what else do I need to work on?

still apex
#

I kind off had a dumb idea to have some sort of rest api(if that's the right term?) to get the available javadocs

spice temple
#

why would you care about that?

#

oh I still have the function mode for the converter thingy open

#

that doesnt sound like fun to work on

#

dinner instead sounds very fun

still apex
spice temple
#

wouldnt that page be better served by javaducks directly?

drowsy zinc
#

is it just me or did lynx's userdev bump PR get reverted as well

spice temple
#

did i say I hate non linear history?

still apex
spice temple
#

time to add thymeleaf, lol

still apex
#

and I also kind off figured that was out of scope for javaduck

spice temple
still apex
#

done

#

title doesn't really make sense but whatever

vocal halo
#

What’s the history behind seiama?

still apex
#

kyori’s evil twin

vocal halo
#

Makes sense

neon epoch
#

i mean it isn't a word

opal flare
neon epoch
#

fun

spice temple
#

@opal flare idk if a classpath resources is more pretty, unless you know a better way:

#

I guess it is nicer because no requirenonnull and stuff

drowsy zinc
#

I think I fixed my pr

spice temple
#

pushed

neon epoch
neon atlas
#

Changed it on my first try NODDERS

#

but yea, 1.20.5 itself looked wrong there

opal flare
spice temple
#

looking good

still apex
#

for the config is it rootRedirect or root-redirect

#

or does the thing accept both

spice temple
#

I use -

opal flare
#

production config for reference

still apex
#

ty

#

ig it accepts both sinds hashTypes works

opal flare
#

let me know once squashed mini

spice temple
#

oh you want me to squash

#

soryy, brain mush

#

done

opal flare
last bear
last bear
#

The rest of the world will smack you back

neon atlas
opal flare
last bear
#

disgusting LMAO

#

ACTUALLY horrible omegaroll

vocal halo
#

you can even disable it in settings

#

ah you are in settings

#

lol

spice temple
#

do you have a way to add the favicons?

#

I dont know how to upload files via ssh, lol

#

actually, well, this is more ocmplicated

#

we would need to add them to infra and mount them as volumes?

spice temple
#

but doesnt help

spice temple
#

oh you already do it

#

want me to commit?

opal flare
#

well, should probably add a separate one for these assets

vocal halo
opal flare
last bear
#

the only other person would be zml omegalul

neon atlas
#

I wonder if comment support in configurate will be merged via merge commit

spice temple
#

well maybe it does still work

opal flare
spice temple
#

ah config maps can be binary

#

well, lets see

opal flare
#

which is why I despise them

spice temple
#

I just rebase nowadays

#

and squash manually on the feature branch

still apex
spice temple
#

mmh the favicon is there on the disk

#

but I also dont see a warning in the logs

raw breach
#

i feel like having the entire banner or at least the entire text clickable would be nicer

still apex
#

cache?

raw breach
spice temple
#

thats why I wrote code to add one, lol

raw breach
#

ohh

#

nice

spice temple
#

oh the 404 might be CF

#

but the file is broken

#

ok so what I uploaded wasnt a ico file, lol

#

its a png

#

actually that should be fine

still apex
serene vault
#

Seems like the 1.20 redirect is broken now. going to e.g. https://jd.papermc.io/paper/1.20/org/bukkit/inventory/InventoryHolder.html just sends you to the 1.20.6 main page, not InventoryHolder.
That breaks all JD links in the docs

still apex
#

iirc not merged yet

#

was “fixed” but the docs commit got reverted

spice temple
#

we have an icon, woo

spice temple
#

actually lemme rebase that

#

ok just one easy conflict

#

rebased

#

actually lemme use a classapth resource here too

violet bough
#

People only fall back to authority figures like "the creator of git does it that way!" when they don't actually have a valid argument to support their beliefs

#

It's like rule #1 of debate, authority figures are not arguments

still apex
#

yes locahost link

spice temple
#

project_id name seems inconsistent when its called project everywhere else, no?

still apex
#

i just copied bibliothek stuff lol

spice temple
#

also trailing slash pls

#

for uri

opal flare
spice temple
#

What's the difference?

#

Also they don't depend on each other

opal flare
#

not a "omg linus is god"

violet bough
opal flare
opal flare
#

my real reasoning

#

and github's key is used in many cases - web-editor commits, etc. nothing that proves "user xyz did this"

violet bough
#

Rebase and fast forward is better than squash, but losing signed commits is orders of magnitude better than a shitty commit history filled with merges

opal flare
#

fair to a point - at the same time, for security, not yeeting signatures from commits is good. people are getting hacked left and right, and it's easy to slip something into a commit

violet bough
#

Well if that's important to you then it would still apply since you could verify the commits are signed prior to merging the PR

#

That's one of those areas git could be improved

#

rebases don't maintain the context of the commits they came from, and they should (mercurial does it)

spice temple
opal flare
#

yeah, github's UI doesn't help either, since it shows "Verified" even though it's not an actual user that signed it, it's signed on GitHub's key which just means it was done on a PR merge or web-editor commit

violet bough
#

Which would even allow you to rebase public branches and people could just git pull and git would "do the right thing", but right now that's not how it works (probably never will) 😦

opal flare
spice temple
#

I am only the executive here

#

If master of docs says they need a revert, I revert, lol

drowsy zinc
#

it would shove the latest versions into links/other version references in older versioned pages

opal flare
#

I didn't see any older pages with javadocs links, but maybe I am blind

#

@neon epoch?

violet bough
spice temple
#

I am not the master of the docs, lol

opal flare
violet bough
opal flare
#

exactly what I said - I looked through older docs version pages and didn't see any obvious javadocs links

neon epoch
#

The problem wasn’t with older versions, it failed to account for when 1.20 is no longer the newest.

still apex
#

but that could’ve just been fixed without a revert no..?

neon epoch
#

So I said at the time

still apex
#

especially considering it didn’t break anything yet

neon epoch
#

^

opal flare
#

ah

#

@spice temple 🔨

drowsy zinc
#

it's fixed now tho :)

neon epoch
#

Yeah and we can get rid of the ugly merge (I did read the convo, I’m joking 😂)

#

I’ll grab my laptop and review it from bed

vocal halo
#

i support ollie for wanting a clean commit history

neon epoch
#

Ahha

#

Awesome, doc versioning is merged now, so we now have working javadoc links lol

still apex
#

look at dis beauty

opal flare
#

heh @still apex, you're kinda revealing my longer-term plans a bit there :p

fair river
still apex
#

O_o

vocal halo
#

whats that?

still apex
#

whats what

opal flare
#

well

vocal halo
#

ah you just made it to an api

#

i see

opal flare
#

we have bibliothek on the papermc side, javaducks over there, and a branch on javaducks which expands the functionality to be more dynamic

#

where it can load any javadoc from maven

#

/javadoc/io.papermc.paper/paper-api/1.20.5-R0.1-SNAPSHOT/index.html ex

still apex
#

is my thing """good""" enough to make a draft pr?

opal flare
#

in json form

vocal halo
#

the secret channels

neon epoch
#

😂😂

#

I didn’t realise that channel was private

vocal halo
#

Apparently it’s only for the elite

green kernel
#

Yeah, true but sad. 🙂

marsh river
#

Download release times are doing a thing, just incase yall didnt notice

marsh river
spice temple
#

Is that an integer overflow in dates? Lol

#

What timezone are you in?

spice temple
#

At le as dt it's all the same exception,

still apex
#
  test { // cba to fix the test atm
    isEnabled = false
  }
``` (:
marsh river
vocal halo
#

Try another browser?

still apex
#

t doing it in multiple browsers so not sure, not a big deal

vocal halo
#

Oh

marsh river
#

Yeah, chrome and firefox doing it

drowsy zinc
#

try resyncing your os's time

marsh river
drowsy zinc
#

clock drift is natural, so just make sure you have the automatic sync enabled

#

if it drifts despite automatic sync, it's possible it's something more sinister

still apex
#

get a nuclear clock

marsh river
jolly field
#

Why is the slogan recommending the use of Linux missing? I think it's good to have hints

#

I remember when I chose Windows before, there would be a prompt for me to use Linux to get the best performancepikoh

vocal halo
#

True

neon epoch
#

Yeah, we removed it for some reason. There was a discussion about it

#

Think it’s cause it was Linux / Mac and we aren’t recommending Mac

spice temple
#

Let's add a warning for Windows instead then

#

Bla bla we don't recommend using windows for production deployments

vocal halo
#

but maybe as an admonition?

#

not in the generator itself?

spice temple
#

Well, once you select windows

neon epoch
#

I’m pretty sure that is what it was before

lean venture
#

Yeah it was part of my PR

#

we had spoken about it

#

.

#

this is where the whole convo started basically

#

tried switching the message to descriptions

#

then the argument that mac isn't recommended came

#

and we ended up deciding to just not put that label

#

Noah recommended it

vocal halo
#

I think it was miscommunication

#

Well which Noah do you mean lol

lean venture
#

the blue one

lilac edge
#

too 👏 many 👏 noahs 👏

still apex
#

i agree lets get rid of the one who banned me

vocal halo
#

i think they should promote me to paper maintainer so its even more confusing xd

lilac edge
spice temple
#

Just detect windows?

lean venture
#

idk, I am just happy I did my first PR to paper

#

just waiting for the hard fork to MAYBE actually make a PR to paper itself. Sincce I do not understand a single fk how patches work

vocal halo
#

whats your pr again?

drowsy zinc
#

ollie has nothing to do

still apex
#

make a big pr that is horrible to review

#

ollie likes those

drowsy zinc
#

ya

#

someone reconfigure prettier, because it SUCKS

#

it's formatting my beautiful

const result = await fetch(`https://api.papermc.io/v2/projects/${project}`)
  .then((r) => r.json());

into

const result = await fetch(`https://api.papermc.io/v2/projects/${project}`).then((r) =>
  r.json()
);
jolly field
#

When someone around me wants to set up a Minecraft server using windows, I always give them a screenshot of the text that suggests using Linux to get the best performance, but recently I noticed that the prompt has disappeared

raw breach
#

linux is just better than windows for server hosting on so many levels

#

i am honestly surprised only around 7 % of servers use windows though

raw breach
jolly field
raw breach
distant swan
spice temple
#

No.

lilac edge
#

:P

opal flare
#

2024-05-15T01:53:34.192-07:00 INFO 51620 --- [ scheduling-1] c.s.javaducks.service.JavadocService : Preloading javadoc for Artifact[groupId=io.papermc.paper, artifactId=paper-api, version=1.20.6-R0.1-SNAPSHOT]...
2024-05-15T01:53:34.398-07:00 INFO 51620 --- [ scheduling-1] c.s.j.service.maven.MavenServiceImpl : Resolved snapshot for ArtifactRequest[groupId=io.papermc.paper, artifactId=paper-api, version=1.20.6-R0.1-SNAPSHOT, timestamp=null, buildNumber=null, classifier=javadoc, extension=jar, hash=null, signature=null] to Snapshot[timestamp=20240514.060805, buildNumber=55]
2024-05-15T01:53:34.408-07:00 INFO 51620 --- [ scheduling-1] c.s.javaducks.service.JavadocService : Successfully preloaded javadocs for Artifact[groupId=io.papermc.paper, artifactId=paper-api, version=1.20.6-R0.1-SNAPSHOT]
wheee @spice temple

spice temple
#

Nice

still apex
#

neat

lilac edge
eager plover
#

not every server has a plugin reporting to bstats

lilac edge
#

oooh okay i think i understand

last bear
#

(it's because Paper is faking its numbers ofc)

#

but yeah unfortunately the bstats api numbers are only half useful

jagged pecan
spice temple
#

-1 is just my error number

#

Idk why I didn't set it to 0

distant swan
#

-1 makes it clear theres an error

spice temple
#

But nothing found shouldnt be an error I guess

vocal halo
#

Just crash the browser on error

vocal halo
#

Is the brig api exclusive to paper plugins?

still apex
#

doesnt look like it

lean venture
#

oh really?

#

thought it was only for paper

still apex
#

I think Noah meant paper-plugin.yml

lean venture
#

thought spigot does not have the brigadier api

lean venture
spice temple
#

#394727 of people getting confused by the term paper plugin

lean venture
#

well....

#

change the term

#

xd

spice temple
#

I know, I am just not super happy with alternatives

#

What I like the best so far is legacy vs modern

still apex
#

owen-plugin

lean venture
#

we need a name for plugins using the paper plugin system and for plugins simply using the paper api instead of spigot api

raw breach
spice temple
#

Issue is that the paper plugin system is still a bit experimental and stuff

lean venture
#

isn't it stable enough?

#

I have had no issues with it

spice temple
#

We don't wanna make the same API guarantees

#

Plus until now it missed a good way to write commands

lean venture
#

fair

#

when we getting an update on the roadmap?

eager plover
#

I mean

#

the entire API missed a good way to write commands

#

runs

lean venture
#

Maybe in the first version of "State of Paper"

#

(unless.....)

spice temple
#

Roadmap?

vocal halo
#

Maybe something with bootstrap in its name? PaperBoot lol

vocal halo
lean venture
lean venture
eager plover
#

using the lifecycle API lets you inject in at a point where datapacks, etc, can use your commands

lean venture
#

think paper plugins are only when you want to use bootstrap, loaders or anything similar

lean venture
eager plover
#

I'm not sure what you mean by that

vocal halo
green kernel
spice temple
lean venture
spice temple
#

We have the GitHub board

vocal halo
#

Can’t wait for the day

lean venture
spice temple
#

That sounds like effort that could be spend elsewhere

#

When only a handful people will watch and understand anyways

vocal halo
#

Yeah

#

I also think it would be overkill

#

If I want to know something about it I would just ask here

spice temple
#

If you don't see us talking about stuff then we aren't working on stuff rn

vestal valve
#

Go poof

spice temple
neon epoch
#
remote: Permission to PaperMC/docs.git denied to olijeffers0n.
fatal: unable to access 'https://github.com/PaperMC/docs.git/': The requested URL returned error: 403
#

eh?

spice temple
#

Sorry you had to find out this way, but

neon epoch
#

oh well!

#

i nominate cat

#

There we go

raw breach
#

demoted kekw

still apex
#

finally

still apex
#

the link on the website goes to 3.0.0

lilac edge
drowsy zinc
#

no.

last bear
neon epoch
#

i will review it

still apex
#

reviewing ur own pr smh

neon epoch
#

my work = Flawless

neon epoch
#

Hey, can someone apply this patch to the branch please. My Git has decided i'm not authed to push again

odd harborBOT
neon epoch
#

nvm, used the web ui...

echo canyon
#

did you like delete your ssh key from your gh account or smth?

neon epoch
#

no i haven't touched it lol, i had an issue with my laptop had the issue before, which i fixed somehow, and now my pc is doing it too :)

still apex
spice temple
#

Huh?

still apex
#

got fixed / rerun

bronze portal
#

is paper multithreaded

#

cause im running it on my 6 core server and it's got the cpu at 98% util the entire time

fair river
delicate sluice
#

i found a typo in the docs:
"if" instead of "of"

neon atlas
#

If you want to, feel free to PR it 🙂

#

We have a patch for this kind of stuff you can add onto

still apex
fair river
#

FIX IT @still apex

still apex
#

@neon epoch fix it

neon epoch
still apex
#

ask my friend from 8 years ago

drowsy zinc
#

i'm asking you

neon epoch
still apex
#

please do not ping staff members @neon epoch

drowsy zinc
#

@still apex please do not ping ollie

still apex
#

[@able]

drowsy zinc
#

no

still apex
#

yes

drowsy zinc
#

just to make sure, people should use teleport if they know that the chunk is loaded, otherwise teleportAsync?

#

@neon epoch

still apex
#

@drowsy zinc

neon epoch
#

Yes, and also that to note that if you call .get() on the CF, if the chunk is not loaded it will deadlock your server

#

cause it wont tp till next tick

drowsy zinc
#

done

jagged pecan
last bear
#

@spice temple a site for remapping obfuscated stacktraces to mojmap would actually be great lmao

#

though it might also need fabric intermediary -> mojang

spice temple
#

Doing that shit in the frontend is hard

#

Remember mini mapping viewer, that was a mess

#

So just some dum spring backend again that hooks into Lorenz is prolly easiest

#

Wait for just Mojang we can just use pro guard, they have a thing to deobfuscate, right?

#

Oh and paper had stuff too, right?

last bear
#

Paper has StacktraceDeobfuscator yeah

#

so we can throw an endpoint into the spring app we already have, either via copying that functionality or proguard

lean venture
#

wasn't there such a website already?

still apex
eager plover
#

read it now

drowsy zinc
#

cas there's a dependency management page

eager plover
#

The docs really just need more streamlining

#

it's a fairly common issue with the docs is that their followthrough (hehe) kinda sucks

#

and so you end up in a tizzy to do anything

still apex
#

well should still be added to the main page

#

@drowsy zinc rewrite velocity docs

eager plover
#

Not saying it shouldn't

#

I'm saying that the docs really need rewriting to solve these type of flow issues where something is doc'd but in a weird place

still apex
#

imo at least a link or something should be added

drowsy zinc
still apex
#

yes

fair river
#

ok I see two volunteers slavewhip

vocal halo
#

I see 3

fair river
unborn flame
neon epoch
still apex
#

?

#

idk wasn't me

neon epoch
#

it was OMEGALUL

#

and warrior tho

neon atlas
#

clicking on the add tasklist button just to fuck with ollie

neon epoch
vocal halo
#

lmao

raw breach
#

add more...

neon epoch
#

let's not

drowsy zinc
still apex
lilac edge
last bear
#

Not stacktrace remappers though

#

I'm not going to manually type in class and/or method of multiple lines, multiple times there PepeLa

drowsy zinc
#

there is a stacktrace remapper in the picture?

last bear
#

oh only looked at the link, mfw it's an unnamed button

#

but the obfuscated Mojang mappings one also just keeps hard crashing omegaroll

#

The fabric to mojang one is working almost wonderfully though, thanks for linking it

#

Except nevermind, the fabric one is also half broken

lilac edge
#

strange

#

i've actually never used it myself, only noticed that it was available

fervent fractal
#

Hello, dose anyone know how can I make when I jail ( THE JAIL COMMAND IS FROM someone he's can use the command's like anthor plugins commands?

can anyone help me please!!!???The jail plugin is from essentials !!!

neon atlas
neon epoch
latent yoke
#

Nvm

still apex
#

@neon epoch i have a complaint

neon epoch
still apex
#

why can I not just paste in the paper config

#

also smh whoever removed thsoe options not opening a docs pr

#

@ cat U TOO

eager plover
#

what?

still apex
eager plover
#

eeerrrr

#

well, you see, quite simply

#

I am core team, bow down to my existence, or something

still apex
#

"see"

eager plover
#

QOQ

#

WOW

neon atlas
#

damn

still apex
#

someone review my pr and suggest a description

neon epoch
#

Someone write an action for paper to check if there is diff to the paper config patch and nudge them to check if docs changes are required OMEGALUL

neon atlas
young matrix
#

I had done this at some point, but never actually implemented

#

it's posted in one of the staff channels. would have been mid 2021

#

iirc based around the old config system

drowsy zinc
spice temple
#

(also, apprently we are back to 2020's mini who leaks internals :D)

young matrix
#

oh lol

#

well I definitely don't have it now

neon epoch
#

Outrageous 😂

still apex
neon epoch
#

i think it is very rude that i cannot approve my own pull requests

still apex
#

which one

neon epoch
#

both top ones

raw breach
#

just merge without approval kekw

still apex
#

dn't think that's possible

raw breach
#

someone should give ollie admin permissions on the org

sharp pivot
#

just push to main

neon epoch
#

i can do that

still apex
#

no

#

i found a big mistake

neon epoch
raw breach
#

tf how does that make any sense? able to push to main but not able to merge pr without approval?

neon epoch
#

i can do both

#

lol

raw breach
#

ah

raw breach
neon epoch
#

he does that

drowsy zinc
#

I don't like this powercas

still apex
#

why is Recipes called Recipes and not Recipe API like most of the others

#

naming isn't consistant

neon epoch
#

ur not consistent

#
Some plugins that you install are not a typical plugin, but a library. These are installed like plugins,
however tend to offer few user-facing features and are relied upon by other plugins for their
functionality. If you disable a library, plugins that depends on it will not work properly. Common
examples of these libraries are ProtocolLib, Vault providers, permission plugins, etc.
#

better?

drowsy zinc
#

plugins that depend on it

neon epoch
#

thx

lilac edge
#

Not all plugins you install are standard plugins; some are libraries. These libraries behave like plugins and are essential for the functionality of other plugins.?

still apex
#

that you

drowsy zinc
#

ultimately doesn't matter

neon epoch
#

too late :P

#

think its fine

lilac edge
still apex
#

wow not even waiting on a review

neon epoch
#

CI passed

vocal halo
#

That’s crazy

neon epoch
#

unless you are gonna review a lockfile

drowsy zinc
#

sure

lilac edge
#

holy crap the lockfile version went from 6 to 9

#

that's a big change ollie

neon epoch
last bear
lean venture
#

failed (jk)

vocal halo
#

I have some local changes. Generally input of others wanted. The gist im taking the info from still has some values I’m not sure if we want to take 1:1

#

It says “not necessarily to vanilla“ do we want this or not?

last bear
#

Putting it into an extra section at the botom might be fine, the watchdog one can be omitted

vocal halo
#

Alright, I will update it 1:1 like in the gist and add an extra section and bottom for such things

#

I’ll just come here if I have questions

raw breach
#

also paper-global/unsupported-settings.allow-grindstone-overstacking was removed at some point afaik

echo canyon
#

yeah, vanilla fixed that themselves

still apex
drowsy zinc
#

pr or shut up

still apex
#

not the code

#

the ugly highlighthed lines

drowsy zinc
#

yes

still apex
#

where is it even doing that

drowsy zinc
#

you just have to change the value of --docusaurus-highlighted-code-line-bg

vocal halo
#

ok I updated the vanilla changes PR to the latest gist. Also added a little text. LMK what you think.

fair river
#

I will take a look later

echo canyon
#

would be super nice to have instructions for hotswapping

#

the caution about using jmp's lib for reobfuscating reflection feels outdated, should just use mojang names always

drowsy zinc
#

I mean, there is a whole section about 1.20.5+ changes there

echo canyon
#

right, but it seems too combined together

drowsy zinc
#

cc #408, why's that called the minor version?

#

I come from semver land, where it's called patch

vocal halo
#

In Minecraft terms it’s minor version since they never change the 1.

scenic gull
#

MC isn't semver, but craftver. 😄

drowsy zinc
#

what if they incremented the 1 though

vocal halo
#

A major Minecraft version is also only changing minor version number

eager plover
#

The entire community generally considers them to be minor releases

still apex
#

yeah scorp

eager plover
#

applying semver terminology when it's not semver is just cope

drowsy zinc
#

I mean I already applied it on the docs' automatic versioning scheme :p

#

since that deals with semver'd velocity

vocal halo
#

Do we want to have the old sentence there or not?

drowsy zinc
#

it's fine imo

vivid garden
#

Hello guys,
the Item Command Converter is awesome. I have hundreds of datapacks and with this tool I have saved so many time
https://docs.papermc.io/misc/tools/item-command-converter

But I have found an bug on this converter:
If you try to convert potions with potion datas, the converter don't convert the old data to the new data:

give @a minecraft:potion{CustomPotionColor:100000000,CustomPotionEffects:[{Id:11,Ambient:false,ShowParticles:true,Duration:2000},{Id:5,Ambient:false,ShowParticles:true,Duration:2000},{Id:26,Ambient:false,ShowParticles:true,Duration:2000},{Id:12,Ambient:false,ShowParticles:true,Duration:2000},{Id:13,Ambient:false,ShowParticles:true,Duration:2000},{Id:3,Ambient:false,ShowParticles:true,Duration:2000},{Id:22,Amplifier:5b,Ambient:false,ShowParticles:true,Duration:2000}],display:{Name:'{"text":"Magic potion","color":"gold"}'} }

The result is this:

give @a minecraft:potion[minecraft:custom_name='{"text":"Magic potion","color":"gold"}',minecraft:custom_data={CustomPotionEffects:[{Ambient:0b,Duration:2000,Id:11,ShowParticles:1b},{Ambient:0b,Duration:2000,Id:5,ShowParticles:1b},{Ambient:0b,Duration:2000,Id:26,ShowParticles:1b},{Ambient:0b,Duration:2000,Id:12,ShowParticles:1b},{Ambient:0b,Duration:2000,Id:13,ShowParticles:1b},{Ambient:0b,Duration:2000,Id:3,ShowParticles:1b},{Ambient:0b,Amplifier:5b,Duration:2000,Id:22,ShowParticles:1b}]},minecraft:potion_contents={custom_color:100000000}]

is it possible to fix this bug?

neon atlas
#

No, your datapack was out of date. Since 1.20.2 that field was called custom_potion_effects not CustomPotionEffects

echo canyon
#

yeah, confirmed that as well

vivid garden
#

oh ok.

still apex
#

i saw

#

haven’t looked at preview

last bear
#

Do we not have docs for all possible paper-plugin.yml fields?

vocal halo
#

We do

#

admin/reference/

drowsy zinc
#

paper_-plugin_.yml

#

we have whatever owen wrote, more like a diff on top of plugin.yml than a per-field description

echo canyon
#

we should throw together a complete schema

#

I'm not a huge fan of the bukkit plugin yml page, I'd rather it looked like the configuration pages, structured likje the file with openable descriptions

#

although... its a lot more description, so idk

last bear
#

For most of it it's enough to just know which fields exist in a concise way

echo canyon
#

can look at the json schema kinda, those are annoying to read tho

last bear
#

it's only the dependencies that need a lot of info (or even any at all for most), which the field description can just redirect you down to

echo canyon
last bear
#

Is there anything to read json schema into some readable description?

#

otherwise something a lot less detailed is still fine, but there needs to be some kind of overview in the docs themselves

neon atlas
#

Atlantis had something

rigid bluff
still apex
#

I don't think this example here is sh compatible? At least with sh script.sh

still apex
#

@neon epoch SCORP SAID IT WAS FINE

drowsy zinc
#

I said that the install procedure was fine

#

force pushing over your branch to keep it at one commit is evil

still apex
#

why

#

it gets squashed anyway

drowsy zinc
#

makes it hard for me to incrementally review your changes

still apex
#

it was a lockfile and a package.json

drowsy zinc
#

I'm talking in general

coarse roost
#

The nametagedit plugin does not work on my server, what other version can I use, my server is paper-1.20.6

drowsy zinc
#

ask their support, this is not the right channel

coarse roost
#

ok

#

cual es?

drowsy zinc
#

no idea, use a search engine

distant swan
#

<@&748618676189528155> 👀

#

its always this damn channel

scenic gull
#

bonk

normal ginkgo
#

Hey, is there like a web page with a list of plugins that are cross-play compatible? I have a friend on Playstation and all others on PC but has both java and for windows users. Any tips and or advice would be greatly appreciated as I am extremely new to server setup

radiant summit
normal ginkgo
#

I am trying to set up valhallammo plugin but I'm having issues with the resources not working. Was looking for any kind of help but whatever I'll leave I guess

eager plover
#

Yea, we don't document stuff that has nothing to do with us in a sense

#

anything that relies on resource packs will not work, as they both use two different systems there

#

(and then theres the differences in terms of how those both handle interactions, etc, geyser does a good job of getting "close", but, for the most part it is still a "glhf" sorta deal)

normal ginkgo
#

Ok, thanks.

still apex
#

can pencil hide versioned docs? or at least make them show last?

lilac edge
#

i'm surprised it's not already doing that

young matrix
#

I will not be at a computer realistically until the end of july

still apex
#

<@&748618676189528155>

mental sleetBOT
#

(666ab9f4bb3b0c6d8b810299) // @orchid sleet (@.shauryakumar / 1023222367692001371) has been banned by @neon atlas (202850073812402177)
Reason: Quick-banned for sending a message in #docs-website

still apex
#

@neon epoch

neon epoch
#

Yes Cas

still apex
#

start working

#

or you’ll be replaced by owen

neon epoch
#

No one wants that

#

Bro can’t string together a javadoc

still apex
#

@burnt ice

burnt ice
#

@neon epoch bag my fries

radiant summit
#

chips

neon epoch
#

No it’s fries

still apex
#

from vercel to what?

#

cloudflare? self hosted? gh pages?

opal flare
#

cloudflare most likely, looking into it right now

#

for context, vercel is apparently ending their sponsorship program

fair river
opal flare
lilac edge
#

is fetch-depth set to 0?

still apex
#

Converter doesn't work I believe

opal flare
still apex
#

the last updated commit is 'broken'

still apex
#

yeah item converter is broken

#

ah wait that's cors

#

rest seems to work besides the status but guessing that's because of what granny said

opal flare
#

in the process of fixing

lilac edge
opal flare
#

going to be, yeah

still apex
#

can't cloudflare pages do that w/o the action?

lilac edge
viscid thistle
#

We have to do a direct upload

still apex
#

ah

viscid thistle
#

And use GitHub as the CI for full depth

still apex
#

didn't read that

lilac edge
#

smh

still apex
#

i was doing my duolingo

lilac edge
#

no multitasking allowed

lilac edge
opal flare
#

can someone do a PR to docs to yeet the vercel analytics, sponsorship stuff, etc? and reference my ticket

still apex
#

does cloudflare have an alternative for vercel analytics?

viscid thistle
#

They do

#

Well they have a few. By default you can enable analytics on your pages project or integrate analytics engine for more in-depth tracking.

still apex
lilac edge
#

feel free

#

i gotta procrastinate on updating plugins for 1.21

vocal halo
#

L Vercel

still apex
#

wait

#

redirects

#

they're currently handled by vercel.json

still apex
#

quick someone branch name

opal flare
#

"hell"

opal flare
#

so inside of build

viscid thistle
#

You either gotta drop the action to install pnpm or drop it from the packageManager in the package.json

opal flare
#

no, the action itself is needed

#

but the version isn't

#

great documentation

viscid thistle
#

Ahh

still apex
#

the build folder gets cleared on each build and is ignored by git

opal flare
#

correct

#

need to copy them in prior to deployment

#

so just edit the github actions workflow I added, and before the last step, just cp those two files into the build dir

viscid thistle
#

Damn that client takes a fat minute to compile

opal flare
#

that's better

lilac edge
#

yippee

still apex
#

What's the replacement for env.VERCEL_ENV

#

Can't find one in cloiudflare docs

#

unless you add a custom one

opal flare
#

just do something like

#

env.CF_PAGES_BRANCH !== "main"

vocal halo
#

Did vercel already publicly communicate this? I couldn’t find any resources in my 2 minutes search.

opal flare
#

via email

#

fucking one day notice

#

they can fuck off

vocal halo
#

Ah I thought they mean new applications are paused

drowsy zinc
#

the site should probably build with node 20 rather than 18 considering that's what's used everywhere else

vocal halo
#

Always those shit promises

opal flare
#

vercel was configured to use 18

#

I matched that

#

the github workflow likely needs changing to properly to PRs etc

opal flare
#

I'll do that here

still apex
#

Probably also need to actually tell cloudflare that it's a preview somehow somewhere

opal flare
#

it already knows

#

anything not main is preview

eager plover
#

I would ponder if this is a case of, "we need to renew", but, idk what the entire thing is

opal flare
#

it isn't

#

their sponsorship program is paused

eager plover
#

but, this sorta thing is exactly why I was eary on hosting our stuff elsewhere in the first place

still apex
eager plover
#

weeb detected

still apex
#

wat

eager plover
#

||"my dear friend prettier" - more of a self report joke, I guess||

opal flare
#

not sure if that will work

#

want to rebase @still apex?

still apex
#

@drowsy zinc is not happy with the inconsistency in workflow files

#

yes

opal flare
#

.yaml is correct

#

thanks for fixing

#

Resource not accessible by integration

#

eat poo github actions

#

lol

#

"this action cannot be used if PR is raised from forks."

opal flare
#

yeah saw that too

#

pushed

#

if you want to rebase again

#

bonks @drowsy zinc

#

bonks @still apex

#

leave my step names alone!!!!

still apex
#

he held me at gunpoint

serene basin
#

lol

drowsy zinc
#

only thing I want for christmas is node 20

opal flare
#

power can bump to node 20

serene basin
#

🍓

drowsy zinc
#

those comments be looking good on discord

opal flare
#

yeah I stole the one from the cloudflare-pages app

#

it looked nicer

#

on discord it looks trash

#

on github it looks nice

#

github is what matters

still apex
#

is the node version only in the workflow?

#

only one i can find at least

opal flare
#

yeah

#

well that's fun

#

RequestError [HttpError]: No ref found for: hell

#

does it not work for PRs then?

#

ah

#

hm

#

gitHubToken value of publish step is problematic

#

it should be set for PaperMC/docs, but not for PRs

still apex
#

add 2 steps with an if statement? lol

opal flare
#

the id has to be unique, which means then duplicating the comment step too

#

lol

drowsy zinc
still apex
#

"at ${{ first }} or {{ second }}" (: /s

#

or just 2 workflows

opal flare
#

sure

#

pushed

still apex
#

i don't like merge conflicts

fair river
#

@still apex you can sleep now

still apex
#

there's a good chance i broke something

#

nvm (:

opal flare
#

you forgot the version bump for pr

#

I am dumb too

still apex
#

beautiful preview url

opal flare
viscid thistle
#

Shaved a whole 20 seconds off the client compilation by upping to Node 20.

opal flare
#

I discovered how to quickly become a top contributor of the docs repo

#

it worked

still apex
#

uh

opal flare
#

uh?

still apex
opal flare
#

oh what

#

it's not using the PR branch

#

lol

viscid thistle
#

Kinda seems like the official action isn't maintained as much

opal flare
#

this is jank

viscid thistle
#

To tag or not to tag the top contributor for that action who is in this Discord

opal flare
#

that actually works for PRs

viscid thistle
#

Could just ping Walshy

opal flare
#

who

viscid thistle
#

He's a cf employee

still apex
#

cloudflare person

viscid thistle
#

He is the top contributor for that action

still apex
#

top contributor there

opal flare
#

hi @main orbit! the action works good except when it doesn't! pull request support is really hacky! can you help at all?

#

tada

#

otherwise for now I think I'll just merge your PR

#

and we can see what still needs fixing

#

PAPIER

still apex
#

oh right

opal flare
#

ollie is going to wake up and see all of this and smack all of us with a broom, @still apex @drowsy zinc

still apex
#

i'll smack him back

opal flare
#

works

viscid thistle
still apex
#

I think i’m listed on every page bc of the footer change?

#

unless it broken

viscid thistle
#

Great job stealing the spotlight.

lilac edge
#

it broken

opal flare
#

lol

#

my fault or yours

still apex
#

owen’s

lilac edge
#

the pages link is fine

#

so riley's

opal flare
#

its the same thing

viscid thistle
#

Don't forget to uh unlink the project on Vercel.

opal flare
#

docs. is a cname to the pages link

west finch
#

how is the work going with 1.21 engine?

outer elkBOT
#
__There Is No ETA__

Updates to Paper do not have any sort of estimate for when they release, ever. Any and all updates will arrive when they are ready, and the only thing to do is wait for them patiently along with everyone else.

lilac edge
west finch
#

yeah i see

#

but i am not programmist and i dont understant on what stage is the process

opal flare
#

ok

#

still not the place to ask

west finch
#

oh

#

wrong chat

#

sorry

opal flare
#

Last updated on Apr 11, 2024 by Matouš Kučera in 416d78b

#

that's right, no?

lilac edge
#

it just fixed itself

#

cache ftw

opal flare
#

lmao

#

love that

viscid thistle
#

Site loads soooo much faster

opal flare
#

well, that was worth it

lilac edge
#

oh shit you can really tell with the category icons not jumping

opal flare
#

PR previews are broken, but that's because the action is janky atm

still apex
#

website next

#

(not today for me at least)

opal flare
#

well, website previews

#

but yes, not as big of a thing

#

website does not change often compared to docs

still apex
#

is website still hosted on legacy stuff

#

or am i thinking of a different thing

lilac edge
opal flare
#

it's more tricky

#

because of the legacy papermc.io/api/ and papermc.io/repo/ routes

eager plover
#

that is doable inside of the LB afaik

#

We just need to move the other stuff into the infra to do that nicely

opal flare
#

yeah, not impossible to do

#

just tricky

still apex
#

aren’t those routes supposed to be removed in some time

fair river
#

good time to break them Clue

eager plover
#

The sad reality is that they're still used

#

killing /api will be much easier to justify than breaking /repo

still apex
#

redirect on cloudflare ?

fair river
#

not until you break it rieevil

still apex
#

dunno if that works

eager plover
#

redirects tend to break stuff

fair river
#

we can just put the blame on owen

still apex
eager plover
#

Well, yea, ideally we however do put out final warnings or something before doing that thing

viscid thistle
#

Give em a month or they start paying the Vercel bill.

still apex
#

@ everyone old endpoints may or may not work anymore starting tomorrow at 8:33am

eager plover
#

the site isn't on vercel

opal flare
still apex
#

perfect if i say so myself

#

i vote to break it june 20th

opal flare
still apex
#

auto correct fucked me over

#

2 years and 1 month

elder jetty
#

@here Im making a fork of paper website and i was wondering if its using umami for analytics or any for that matter and if how to implement

fair river
spice temple
main orbit
still apex
#

@neon epoch does it make sense to create a branch for 1.21 so people can make pr's for that

vocal halo
#

if you have something in mind just add it and create a PR

neon epoch
#

I can if you want

opal flare
#

@neon epoch didn't murder me yet!

neon epoch
#

It’s still loading

still apex
#

who is

neon epoch
#

Nah I haven’t read this channel I’ve been on work experience

#

Idk why I’m murdering

still apex
#

riley broke production docs

neon epoch
#

I expected better for you

still apex
#

i told you

still apex
inner kestrel
#

is there something wrong with it?

still apex
#

A Sentence Like This Is Very Ugly

eager plover
#

That wording is also dumb

spice temple
#

granted by default

eager plover
#

should just be like "defaults", and then false/op/true

still apex
#

ok someone else cna fix that too much brain power required

#

@vocal halo ^ Since you created the pr you understand the stuff

vocal halo
#

let me investigate

still apex
#

ah so it's ollie's fault smh

eager plover
#

I mean, I blame the person who trusted ollie

#

Like, that was the real mistake here

vocal halo
#

i have little time to work on docs atm. I can change it when i have time whenever that is. I also need to finish the vanilla changes pr...

still apex
#

you're invalid english

still apex
#

@opal flare do you have time to merge/review a pr that updates the current CF action to that apparently working one?

still apex
opal flare
#

Merged

still apex
#

docs favicon/project icon should match paper's for every june

hidden igloo
#

how long will paper 1.21 will be out?

outer elkBOT
#
__There Is No ETA__

Updates to Paper do not have any sort of estimate for when they release, ever. Any and all updates will arrive when they are ready, and the only thing to do is wait for them patiently along with everyone else.

hidden igloo
#

oh alr

still apex
#

@neon epoch !!!

#

can you force update that pr

#

before u merge

neon epoch
#

I wasn’t planning on merging it

#

But why

still apex
#

so that cloudflare updates the preview

#

and i don't have to open a 1 character pr

neon epoch
#

You mean like that?

still apex
#

yes

#

ok well it failed

#

Error: Input required and not supplied: githubToken

still apex
#

oh that action auto makes a comment

#

adding gitHubToken: ${{ secrets.GITHUB_TOKEN }} fixes it, I also added

          ref: ${{ github.event.pull_request.head.ref }}
          repository: ${{ github.event.pull_request.head.repo.full_name }}
```to the `with` section in actions/checkout according to their exmaple
#

not sure what the checkout does? Maybe run the action on the main repo instead of on the fork?

opal flare
#

Ah can probably remove my custom comment stuff

still apex
#

what was the initial problem with the github token?

opal flare
#

ie, a fork

still apex
#

Can test if it works by updating an exisitng PR, I told ollie to test my first pr on #416

#

Works (:

opal flare
#

hm

#

I have an idea if you want something to do @still apex

still apex
#

sure

opal flare
#

display in the footer the git hash (with a link to it) for both prod+preview

still apex
opal flare
#

yup

still apex
opal flare
#

Perfect

still apex
#

trying to have an icon there which doesn't show but properly has the text on the same line, if I remove it each thing is i'ts own line cat_what

#

https://i.imgur.com/mqz4b8a.png

  copyright: `Copyright © ${new Date().getFullYear()} PaperMC and Contributors. Built with Docusaurus.<br> <a href="https://github.com/PaperMC/docs/">PaperMC/docs</a> @ <a href="https://github.com/PaperMC/docs/commit/${currentCommit}">${currentCommit}</a>`,

vs

  copyright: `Copyright © ${new Date().getFullYear()} PaperMC and Contributors. Built with Docusaurus.<br><Icon icon="material-symbols:commit" /> <a href="https://github.com/PaperMC/docs/">PaperMC/docs</a> @ <a href="https://github.com/PaperMC/docs/commit/${currentCommit}">${currentCommit}</a>`,

https://i.imgur.com/Y0CbdYo.png

fair river
#

paper icon and make it 1% chance to show paperOhhh icon rierunrunrun

still apex
#

no

still apex
#

Is the commit footer something that should also be added to the website?

neon epoch
#

Just as an FYI for everyone requesting reviews, I’m in Barcelona until Thursday and not free until at least the Monday after :)