#hangar-dev
1 messages · Page 16 of 1
Yes but better, and for paper plugins 🙂
nice
Tbh, I just didn't think about it, I kinda assumed ppl know
But announcements reach way more ppl
We really need a place where we can put just a small bit of info which people can read
A hangar command would be a start too I guess
Yeah, I think like 30 people total know what hangar is
means im special ;)
Well, not great if you want people to use it, but that comes a little later
Did you write the hangar bit of the announcement?
No, but we all drafted the announcement in general
The “many people” part was kinda funny to me. We’ve been trying to get it to many people and… no luck so far
I think once there’s a legit beta up, that might attract more contributors
No ik, but I wouldn’t qualify the contributors there are, as “many”
My 2c as a outsider that has not looked into hangar that far. This might be just because we already have spigot, maybe advertise a bit more on what you can deliver over platforms like spigotmc.org
Because i can't easily see what the difference would be other than devs having to upload to two different platforms now
Yeah we gonna make like a fancy ass announcement with explanations and the differences and feature and stuff for when we launch beta
That's gonna be a good time I guess
The main thing @graceful radish: spigot decided to be dicks and ban paper plugins, that's when this all started
Ah, spigot being spigot again xD
I have mixed feeling about them
but i hope you can get hangar up and running, good luck on the project!
Thank you!
I mean spigot oof I saw a thread yesterday about Java 16 and people complaining about the legacy shit
And how the API is dinosaur
Issue is that you do anything and people complain
We finally went component first and people started crying
But we just let them cry and most did suck it up just fine
And the rest I don't care about really, that's what progress always brings
The refusal to move the API forward has created a bunch of devs who are scared and even incpable of adopting to change to move forward, one of the most prominent devs in this community literally started asking for a code handout, meanwhile charging people for lessons...
But, part of hanger has been a long term desire, just, never been a super imminent "we need it now" until spigot started going against stuff like "this plugin has additional features/performance on paper" messages and in general our desire to split away from the complatency of this API
I really can't wait for sane mappings, I have so much shit in my todo list pending on that
Wait who did that lol
MineAcademy
Lmao
Kangarko xD
But yeh paper needs to hardfork from spigot
To get some real modern API
I can finally fully ditch spigot then
what is hangar
see the channel description
Did they actually? what the hell
plugins published on spigot need to run on spigot, what a surprise lol
it's dev bukkit all over again ¯_(ツ)_/¯
Yeah, I mean it’s not crazy. Plugins that work fine on both are allowed, even ones that only work better on paper iirc, it’s the ones that require paper for all main functionality
less so, but also those using paperlib's SuggestPaper functionality
but, I mean, makes sense still to a point
yeah, even if it wasn't about a competing fork, such advertising would still not fly
Wait, you can’t use paperlib suggest? 👀
you cannot advertise ingame or in the console
I think there have been issues with plugins getting removed for that in the past
doesn't Ess do it lol
:>
we don't use the suggestpaper stuff but there is a message which says you're running on a server that has limited api functionality
i forget if we link to paper
I mean you could just not show the message when downloaded from spigot ¯_(ツ)_/¯
if they come for support we usually always suggest paper
also I think if you actually attempt to use a feature that needs paper we say get paper
could just not enable the feature 👀
yeah, ChestShop does too 👀
pretty sure the blocking of fork stuff on dbo ended when the original bukkit team stepped down though
ess didn't compile against the spigot api until md_5 forced you too too
mini, idk how much thought you've put into cache stuff, but what should make use of springs cache system? cant really do that for anything that changes a model right?
Well, we can invalidate
so is it just for GET stuff?
The getters in the services should be cachables and the other methods most likely need to invalidate
ok, so thats a reason to have methods in various services to update models. can invalidate anytime those are called I would imagine
Yep
Which is why in theory no dao should be injected outside of it's "owning" service
Cause I am not sure if we can or should have cachables on dao
does that work if the method is called from another member method of the service? I seem to recall seeing somewhere that the cache wont work in that situation
Nah, spring ignores calls to sister methods
I think the overhead would be too bad or skrh
ok, so might have to have additional invalidates on other service methods
We also could seperate logic to other classes or smth but that sounds like overkill
yeah, if its just updating, idk if thats needed
And like, we don't even need to cache everything, just like the shit that gets called all the time when you visit pages
yeah, users, projects, pages, versions, project channels
I think that's it?
the home page
oh, I guess can get more specific, like version dependencies and stuff
Permissions for users I guess
is it only declared sister methods? what about ones elsewhere on the inheritance tree?
Not sure why that latest ci failed
Mmm ok
who are the stargazers?
ppl who clicked "star"
exactly how github does it
And what are the flags?
flagging a resource or user is basically the same as reporting them
like about some bad staff?
ok, thx
idk what am doing wrong that the lang doesn't show up
like it shows up, but the strings dont
heh got it
i wonder when hangar is finished if there'll be a discord bot logging plugin releases/updates
yeah, could be fun, like how we have the forum feed
well, actually
its technically covered by the forum feed already since hangar releases are posted to a forum section
oh that's neat
https://hangar.benndorf.dev/ language switcher with support for Chinese is now deployed
if somebody can double check those make sense that would be really appreciated, lol
footer
damn, you have so many messages
its a big project ^^
such project, many wow
@pallid yoke how does it work when there’s no equivalent Chinese key, Like if we add a new English one? Does it fall back to English?
Yep
Ok good. Better that than showing the translation key
Speaking of cookies and the locale one, do we need some “agree to cookies” thing?
Do we have any non-functional cookies right now?
Maybe just steal what the website has
got this, I imagine this is smth you have to do mini
Pretty sure we talked about this before and thought no
oh, maybe
Yeah that's sponges client ID
Haven't looked into sso yet
Ah yes, it's Monday
aight so i figured out that I can get further if I use mvn spring-boot:run but it still failed
something about flyway now, and I did start the dev db in docker https://paste.gg/p/anonymous/1fb140a3275a4576863cb915fbb531cc
Drop and recreate the schema in the db
There were incompatible changes since you last did so
We aren't good at writing migrations yet ^^
lmao
went into datagrip, deleted the public inside of hangar (idk pgsql very well) and now this: https://paste.gg/p/anonymous/65aea0b8da0c4689818442e8e4474879
did i drop wrong?
and this got created https://static.jacobandersen.dev/shared/Similar-Megalotomusquinquespinosus-9e.png
thought so as well
Try deleting that schema again
And then manually creating a new schema
It's all possible via UI
And name the schema public
I think $zser, public is your search path and that got flyaway confused
Wooo
The migrations won’t create the public schema. If you delete, you have to recreate it empty afterwards
Hey, you know what should take travertines place in the 6 pinned repos for the org…
Heh I'll bring it up
Actually, now that am core team, I think I have full org perms ^^
Yep I could change it ^^
Yeah, “bring it up”. Hangar has infiltrated the core team, just do it. 😛
But we gotta uphold the myth that paper is a democracy
Ugh, why is it only doing like a few dependabots at a time? I tried finding a setting for it last night, but couldn’t see anything
There is a max limit
Lemme see if I see a setting
open-pull-requests-limit
Set that to 10 per language?
Or higher?
There a reason not to set it to 999999?
Mmh
Default limit is 5
Security updates are excluded, they have an internal limit of 10
I guess what whatever the max is then
The reason you don't set it to smth excessive so that they shouldn't pile up when ppl dont look at it regularly I guess
Lemme set it to 20 and we will see how next Monday goes
casually unpins hangar when he sees it
I didn't ping yet, go give you option in <secret internal channel> smh
Pretty rude to post channel mentions that people can’t join you know… 😛
There, edited 😂
"PaperMC’s pins have been updated. Drag and drop to reorder them."
Now we gotta bike shed the order 😂
“Bike shed”?
"The act of wasting time on trivial details while important matters are inadequately attended is sometimes known as bikeshedding. That term originates from Parkinson's observation of a committee organized to approve plans for a nuclear power plant. As Parkinson noted, the committee devoted a disproportionate amount of time to relatively unimportant details -- such as the materials for a bicycle storage shed -- which limited the time available to focus on the design of the nuclear plant. "
There a reason vue is even in the package.json? I assume it’s a dependency of any number of the other packages we have
Cause dependabot isn’t gonna upgrade the compiler at the same time since it’s not in package.json
I honestly have no idea how transitive dependencies with npm work
Nuxt should depend on Vue so we shouldn't need it, right?
I think I added it to try and get rid of the “missing peer dependency” messages
It worked fine before, I just always try and remove warning msgs whenever I see them
So that would indicate that it wants us to have the transitive dep ourself?
I think. Actually, I think there still is a missing peer dep msg for the template compiler.
I can’t check rn tho
Neither can I
Someday I will invest time and learn how this shit works
I just know that all transitive deps are in the lock file
can you manually force dependabot to do its thing?
I don't know
I don't think so?
they don't have a website like renovate, right?
oh they have
cause I added the missing peer deps, and vue and vue-template-compiler need to be updated together
oh wait, it totally handled that
LOL
didnt realize it had special conditions for deps that had to be bumped together
yeah the website is just for the old dependabot
oh thats interesting
I wonder how that works
im guessing its just manually defined presets
I remember when dependabot was new and I would just ping the dev on a PR and he would fix stuff
those were the days
well, idk whats going on with that pr, it says it updates both, but the versions still seem to be mismatched
mmh, its the same version for both now, 2.6.14, no?
vue-server-renderer@2.6.12
heh
thats another one
thats not template compiler
which is fun, cause thats transitive again?
no its not transitive of vue or vue-template-compiler, maybe of nuxt?
I didnt see any other warnings given?
@nuxt/core@2.15.6 -> @nuxt/server@2.15.6 -> @nuxt/vue-renderer@2.15.6 -> vue-server-renderer "^2.6.12"
I didnt even realize it was a different one 😅
so dependabot just needs to bump vue server rendered, it should be allowed to since its ^
dependabot only updates stuff in package.json right?
well, adding that as a dep seemed to fix it.
show off @pallid yoke
typing in a restricted channel
Oh lmfao
This is why I can't be trusted with permissions
Let's me go to sleep before cat sees that 😂
can a mod delete #760946492483043342 message
its ruining the whole channel

I'm tempted...
I did
oof
good. I'd say grounds for expulsion from core team if you didnt
😂 😂
oh you totally can manually check btw https://github.com/PaperMC/Hangar/network/updates
spring 2.5.0 supports java 16, although idk if all our other dependencies are there yet
instead of trying to divine the platforms the project supports based on what platforms various versions support, suppose we have that as a setting that project members can change?
can obv be changed, but require an input on project creation. I think that'll be more concrete than relying on promoted versions to determine what the project supports
In the project list
Like, on the home page
Ore uses promoted versions to show that, but idk if there’s smth better
That language switcher is really cool. Doesn't even need to reload the page.
javascript is magic, eh
^
apparently "Documenter" isn't a word, what's a better word for the role?
documentarian
CEE
A Documentarian is someone who makes documentaries
The Story of PaperMC, now streaming on Netflix
another one of mini's projects
i'll edit it /s
Mini, why don’t you use the existing json object stuff for discourse over the one you just recently added to the pom.xml
I think I was lazy and didn't wanna create objects and I like that particularly api for chaining stuff
I just noticed that when I was messing about with fixing the tests that it was giving a warning for overlapping classes
I mean, if you are bored you can rewrite that to use object mapping, but I just really couldn't be bothered to do that, it was ugly enough to get discourse to play nice
overlapping classes is smth by maven shade, right? that doesn't really matter
nah, I didnt think it did, but thats part of my thing against warning msgs. I try to get rid of all of them
you can't get rid of all warnings in maven shade
it also yells at module infos and stuff
if you wanna get obsessed with warnings: do you have the sonarlint plugin for IJ?
I had it, but then I got rid of it
I have at for yelling at my code, when am bored at work I just start tackling sonarlint warnings
I feel like thats one you have to configure a bunch
like theres warnings for having too many constructor arguments
yeah, but those we also don't call manually
constructors with many args that you call manually are painful, thats why that warning exists, but its hard to tell it to ignore all the automatic cases
Are we gonna want to have tests for a bunch of stuff? After fixing the meta tests, I was thinking about maybe doing some more
test ALL THE THINGS
after that its much easier and the benefit is undeniable
minimessage has 100+ test cases and I fucking love it
I am really bad at writing tests, but I wanna improve cause it makes stuff so much nicer in general
I expect spring tries to make it super easy to do, and baeldung will certainly be frequented while I figure out this
Well, there are multiple ways to test stuff
You can boot up a test spring and use DI and stuff
You can boot up an almost complete spring and test rest stuff
You can do what I did for the meta and do normal unit tests
We most likely want a mix of everything
well, its not entierly normal unit tests for the meta
you use di to find/load the various handlers
(this is the msg I was talking about btw)
Ah
Well, we want smth like that, unit test still, and also some at high level with the REST stuff, cause those are Integration Tests
Test pyramid and stuff
yep
well, sonar lint has introduced be to Cognitive Complexity
complaining about a very lengthy method VersionFactory#publishPendingVersion
can someone tell me when 1.17 is coming out for paper
thx
.eta
(See also #❗-1-17) Paper updates have no ETA, ever. See the following for more information: https://github.com/PaperMC/Paper/issues/5785
+1 hour of delay
can i ask when u think it will be out?
ok thx
Yeah, I refactor stuff into multiple methods at work often after seen that and create more readable code as a result
Traditional I would subdivide methods by comments
Into sections
But methods obviously are better for bigger chunks
I mean the thing is… none of that code is like for anything but that one thing. Idk, just feels weird to split it up, only to chain it together.
Will hangar have better ui than spigot resource
Gettin kinda tired of your questions in various places
Wdym
Think about your question, and think about the relationship between paper and spigot already
Yes and no, splitting stuff in methods creates easier to digest chunks of code when reading it
Paper does what over spigot? makes improvements wherever it can
Ok, maybe it’s your kekw emote usage that’s annoying me idk
Hmm sry
No, we will obviously go out of our way and create something that's worse
What kinda question is that?
If you got nothing to contribute to this channel, please just mute it and leave it alone
didnt you disable tests somewhere mini? can probably re-enable those now
I think it's disabled in the action
Not sure if you copied that when you refactored them
😡😡😡 I have been trying to make this work for a few hours now… https://stackoverflow.com/questions/61526870/spring-boot-custom-bean-loader
beans!
Maybe I just need a break or smth. I keep getting an error saying that it can’t get the jdbi bean cause it’s still being created
Whatever, I give up. It’s working, but only cause I bypassed the DataSourceAutoConfiguration
Doubt I get to take a look this week, never touched that stuff before
Ill look thru GitHub at work later
But I don't care if we don't use that auto configuration, that's prolly just fine
Well, idk how to have it use the values in the application.yml. Like, to change the password later on?
If in doubt we use our own values 🤷♂️
can i use hangar on cpanel
this
can i run it on cpanel?
hot take: hangar should support premium plugins, but require the source code to be published publicly (under GPL) and have solid quality standards - no obfuscation, no shitty licenses, nothing like that
AFAIK the plan is to support plugins with premium support.
And I believe most if not all requirements you mentioned not necessarily will be hard requirements, but will be clear indicator and warnings if for example plugin is obfuscated etc.
Nothing is set in stone yet.
And rules will be made later, but the general consensus seemed to be that premium support good, pay to download bad.
I have toyed with the idea of a itch.io like pay what you want kinda thing
Idk we will see
Initially we will launch without any of that
I like it too, it's really nice
I mean, technically it's all open source already 👀
nothing solid decided yet. its been talked about having a special label for open source projects, prioritizing them when searching, or just requiring open source all together.
not remotely an authority but my ideal marketplace at least would be:
- force open-source
- allow premium pay for download (stripe support)
- high quality standards
- no obfuscation
but thats just my 2 cents
Some badge can/will be beneficial in searches & results differing from non oss.
I don't think we are in a position were we can ban closed source or obfuscation
We can penalize it tho
I 100% want a scary warning when you download smth obfuscated
Yeah, I don't think we can outright ban that either, but employ other methods to encourage those things
yeah thats a great idea
A source code field being mandatory 
^^^
But, going oss is a decision/standard you follow. Not a (maintenance) burden something/someone puts on your shoulders for sake of publishing your resource on xy spot.
would be great to have hangar be a place to download/buy high quality resources
That's not the main goal
what's the main goal out of interest?
The main goal is for hangar to be a place for paper plugins in general
Cause there is no other place
the forums 
paper specifically, assuming especially after the hard fork that no-one shuts up about on spigotmc?
well right now, you cant post plugins that only work on paper on spigotmc
paper adds quite a bit of API that wont work on spigot servers
you can make paper exclusive plugins on spigot but you can't do premium paper-only iirc
but yeah paper API is great
especially if you don't like poking around in nms
No, Plugins that don't work on spigot yet yoinked
iirc you cant put paper exclusive plugins on spigot, regardless of premium status
oh mental
your plugin can have paper-specific features, but if it entirely relies on paper, no
yeah thats what i do with ecoenchants
or at least used to do before spigot added the api feature i wanted
like lots of plugins make use of paper api, but also work on spigot, but some only work on paper
and those dont have a place to live
if(running paper) {
do shit
}
i haven't seen the announcement about paper dropping API support, is that a thing that's happening?
like not being fully compatible with spigot anymore
that might happen eventually, but its not on any calendar
ahh ok
for now, all* spigot plugins will still work on paper
*k, not literally all, but almost all
there's some PR's i'd love to make to spigot but i can't since they'd break backwards compat
which is 
yes, that is one of the benefits of paper hard-forking, is it can make some breaking changes that people have wanted for a long time
our stance is to not break API for the sake of breaking API but to start doing the things which shoulda been done years ago and will likely break stuff in the future when mojang requires it
e.g. the biomes API which bukkit was working on replacing years ago
like reworking the entire potion system to get rid of the fucking potiontype enum which sucks dick and balls
and has no reason to exist
problem with enums is that you can't even reflect your way around them fully
Death to all enums
you can add to an enum with enough reflection but it breaks with gson which checks fields
which means that there's literally no way to fully register custom potion effects
and since learning that i've stopped using basically any enums in my plugins
getting rid of enums is a key goal, especially as we are sorta pushing on mojang to data drive stuff
any plans to make the paper jar include the NMS mappings?
thats a shame
(fight me @barren shale)
someone's got a project for that already right?
But devs can still use them for their plugins
first goal is not at runtime but to map the server back to spigot
but when writing code that uses NMS we would be able to use the mappings?
Paperweight can do both runtime and compiletime mojmap already, yeah
tooling will help will mojang > spigot mappings for plugins, i think is the goal
I will 
long term plan is for runtime mojmap and translate for spigot until we drop that
thats sick
because Couldn't has a ' in it
prettier auto-reformats it to use " in that case
basically, just do whatever you want, and prettier should reformat it for you 🙂
Uhi, you figured out the bean resolving, nice
I still dont quite understand why I had to manually do the DataSource bean...
but it works 🙂
and I'm glad there aren't any more IJ warnings about cant find those beans
Yeah ^^
I can't really figure out how to do unit tests on like even the simplest stuff
like I looked at ChannelService thinking I could easily figure out a way to unit test creating invalid channels
based on already existing channels, but ugh
cant autowire the ChannelService without adding like 20 classes to the ContextConfiguration annotation cause there are so many autowire deps for every service
That's what I mean about the start being the biggest hurdle
i changed my username and my data is lost in my own paper server what can i do
This isn't the Paper support channel; ask in #paper-help
!warn @main lava Do not flood questions across the discord
:raised_hands: Warned ZoopyZanas#4527 (Do not flood questions across the discord) [1 total infraction] -- electronicboy#8869.
Sorry if I disturb, how is the hangar project going, are there any ETAs? Couldn't find these informations anywhere else
There's no ETAs, but it's getting worked on and getting ready for beta release. When it'll be - no one knows.
Might want to read the linked conversation as well as take a look at https://github.com/PaperMC/Hangar/projects/1#card-57873120
I hope there is dark mode xd the blinding light theme on spigot one hurts
there is 🙂
i love you
it's dark mode by default iirc
Yeah, works for me out of the box: https://hangar.benndorf.dev/
@_@
if you want every website to be dark mode use browser extension dark reader lol
Can Anybody create me a plugin that logs every packet that is sent
This isn't the place for that
I've one 
is hangar planning on allowing the sale of paid plugins?
not at launch
is it still early in dev or is there a release date set in mind?
Tho you can donate to plugins
thats a poc and not a polished feature yet
its in pretty much the last state of dev, no date or anything tho
Read the channel topic please.
🎉 🎉 30% OFF 💯 SALE 🎉 🎉 LIMITED TIME ONLY
HAPPY PRIDE MONTH
ULTIMATE KITPVP 

plugin is actually always at that price
Unicode emojis are fine.
paperchan emoji or riot
discourse supports custom emojis
tbh i'd deal with emoji if there were some guidelines about excessive use and using the title for non-title shit
that's already crap tho
Yeah, idm emojis but excessive use or zalgo is ass
🔥 BLAZING 🔥 FAST 🔥 ASYNC 🌐 WORLD 🌐 EDIT 🎉 SO 🔥 LIT 🔥 UR SERVER 🖥️ WILL EXPLODE 💥
imo stuff like that should be limited to a tag line
"⚠️ XRay Detection [1.8-1.17] ⚠️ 24/7 Support | SQLite | Frequent Updates | Easy To Use | GUI Support" 👀
yea that's what i meant by "using titles for non-title shit"
maybe I should just do something against that on spigot 
i mean, does spigot have rules against that?
afaict there's only premium resource guidelines?
But if they don't have a bunch of emojis, how will I be able to distinguish between the hundreds of ClearChats? /s
🚮 YET 🚮 ANOTHER 🚮 GENERIC 🚮 TRASHCAN 🚮 PLUGIN | GUI SUPPORT | SUPPORTS MC ALPHA 1.2.6 - CUBEWORLD 3.6 🚮 🚮 🚮
That's better
there are no rules against it besides common "spam" ones
honestly as a user I would prefer clean titles and then maybe a second-line field where they can add those tags/"attractive" things (i really have no clue who chooses a plugin because of such annoying titles, they rather scare me off)
Hangar has a plugin name and a tag line
Name is tightly restricted to be an actual name
Tag line is Unicode
why is there no version? smh
Good catch, should also be the same component as the user page list
But yeah, version would be nice
Issue please 🙈
I am already in love with it then ❤️
@pallid yoke which version, the MC version?
Can be multiple tho
Like latest for each platform, and MC version don’t matter really for waterfall/velocity
Hey guys do tnt duplicators work with paper?
It does, it's just a config option. Disabled normally as it is a exploit.
Go inside paper.yml
.tnt
BLOW THE PLACE UP -- DemonWav
oh
.tntdupe
Having problems with TNT Duping, Bedrock Breaking or Sand Duping Vanilla Exploits? See: https://github.com/PaperMC/Paper/issues/3854 for information.
But, wrong channel. Go to #paper-help
what is this
Read the channel topic please.
so no more spigot?
No more Spigot!
.
I should try to find a few hours next week to help out with some CSS tweaks, assuming someone isn’t already working on that
Handful of obvious issues on mobile, such as the signup/login buttons being pushed off-screen
Nobody looked on that yet because we are not sure how to proceed styling wise
Currently it's just the default vuetify style and quite frankly it doesn't look nice
So we wanna write a theme for it or smth to give it a fresh coat of paint
But giving mobile a bit of a treatment already will not hurt
Ah okay makes sense!
I think
It annoys me that other plugin repositories aren't set up like this
Who all is actually downloading plugins on mobile?
wat
I think the mobile interface should be set up so that there's a smaller download button and instead a larger share button
Because if I'm on mobile, all I really am doing is copying the url and sending it to someone on discord to download
you can do that without a share button?
A copy button would be a lot nicer imo
there isn't even a download button 
mobile browsers suck
thats what i mean
since its not really all decided thats my idea for handling mobile
also mobile is freaing broken anyways: https://i.phoenix616.dev/gcS6jqXB.png
nice
idk on mobile it's always been, not necessarily difficult, but annoying to copy links
you have to first scroll up, then click on the link, but oh wait, that deletes the text and you have to press a little share icon, then click copy
at least in chrome
i think you're just nitpicking 
oof, hangar doesn't even show login/singup buttons in the bar
and pressing cut
yeah sort of
what do you mean by "scroll up"?
to show the browser search bar
uhm
is this a ploy to get me to send you a screenshot of a mod view of spigot or something?
lmao no
works like a charm
I think I'm just being difficult because I like to download plugins directly thru ssh
well you didn't say that...
tru
cloudflare will of course block non-browser downloads
that's the whole reason for cloudflare to exist
easy
and that's what I hate about cloudflare & co but as always it's a small group ruining it for all the rest
Definitely
more people should employ stuff like ipfs
I would love seeing hangar use that for distributing resources 👀
Bukkit and Spigot are more or less the same, one just isn't as active and the other doesnt let you have direct links lol
Googling
one also doesn't show ads to logged in users while the other as a dumb ad-screen before downloads/external links but at least gives authors a cut
*has
Oh that's where the ads are, I was wondering where the money cam from
like if people don't want ads, they're gonna use ad blockers anyways, don't make it a feature if you donate lol
I don't think I have ever seen a curseforge ad
oh, there is one https://phoenix616.dev/📷/genyh0Pb.png
it's just advertising their own things though
yeah, it's not showing me ads on teh download 
maybe they still get blocked by my network?
Do you have a Pi hole or smth?
getting a bit off topic though ^^
I have a host block list on my openwrt router
Yeah we are
but yeah, no idea where the money on dbo/curseforge is coming from right now lol
ads there also ads in the launcher
for plugins?
oh plugins no idea
I think all the money goes into a pool then it split by game, then project with some magic formula
odd
I'm not submitting my personal data for a 5 dollar gift card though lol
lets see how much chestshop made lol
actually it's 10 bucks now 
Do you still need to submit your info now they are overwolf?
I don't think I needed to submit much more than just my PayPal last time, but maybe I already gave them all my data
you had to provide your tax information at some point
Was that also for PayPal? I thought that was only for the Amazon gft cards.
I thought it was for all of them
also I would've assumed that more for paypal than anything else seeing as that's real money from a bank rather than just a gift lol
Yeah, I only started using the PayPal options after the five dollar option got added to PayPal
meh, I can't find the page to get the per project reward information on anymore lol
I know....
(and points per day which is the interesting part)
well time to annoy them to hell I guess 👀
Isn't that on your dashboard?
nope
Oh, did they (re)move it, I thought it was there last time I checked
Yes they removed it
is there some official place they talked about that?
no idea, Curseforge discord?
No point in bike shedding the mobile layout when not a single dev minute was spend on mobile
Hangar will use b2
That's distributed enough
Curseforge site is a mess and they (overwolf) know it it just a lot to fix a site like that
so not better than what spigot/dev bukkit does -.-
gotta love random outages due to centralized failure
Got CloudFlare in between
just use ipfs and I'll run a node mirroring all the resources :P
(+ you can just use cloudflare too if you really want)
I don't feel like learning that kinda stuff tbh
Using industry standard solutions is way easier
ipfs is industry standard
if your industriy is free decentralized web
it also enables people on mars/really high latency to easily download stuff without having to wait minutes/hours
My industry is Webservices and I haven't heard of anyone using that
Plugins are small, if you can't download a plugin in a few seconds you ain't running a server
These problems don't apply to us so the solution doesn't make sense
you realise that the ping to mars is something like 16 minutes?
Again, not a problem I care about since last I checked nobody installed paper on a Mars Rover yet
it was just a counter argument to your point, your "few seconds of download time" do not matter there
if you take a couple of minutes of even reaching the server
ipfs enables easy local caching as soon as someone requested it once
which is how you can do distributed, community provided cdns with it: people just setup ipfs and mirror all your files
and your ipfs gateway just gets the file from a random node (of course it does hash validation)
and cloudflare's gateway also caches it itself for a couple minutes/hours
It doesn't solve a problem I have, so why would you use it?
it does: cost
I would still have to host all my data myself, right?
and you also involve the community into it which helps adoption and long term usage
To make sure it gets never lost
you can host it wherever you want
So storage is still there
but you don't have to pay as much for traffic
And bandwidth is free since backblaze and CloudFlare have a partnership
you also avoid the single point of failure issue
B2 + cloudflare has zero download transit costs
since when is cloudflare free?
Since years?
last time I looked you had to pay once you reached a certain amount of data
can you really just pump petabytes over their netowrk? lol
Paper serves tens of terabytes per month without any issues
You cant use it as a file host without them complaining after awhile
paper has the open source free pro thing
den was talking about it the other day
oh so it's only because they "like" open source 👀
We served 40Tb in the past 30 days no issues
Pro most likely just gives us more page rules then I guess
Anyways ipfs is a cool toy but it doesn't solve any issues we have
I mean they are also heavily invested into the ETH infrastructure so I guess they are kinda the good gueys ¯_(ツ)_/¯
it still solves the "remote location download issue" :P
and the "single point of failure issue" ;)
if cloudflare or backblaze go down then good luck
There is no remote location download issue with hangar
(which they already did multiple times so yeah)
If cf goes down half the internet goes down
If CloudFlare goes down ppl have other issues than our site
why do people not see that?
at least you don't intend to run stuff on aws I guess but still...
cloudflare is part of the centralized cancer that the modern web is
I don't disagree that it's an issue, but you are spouting shit about industry standard. Cf is industry standard. If CF is down people being able to download a plugin isn't a concern at that point because they most likely can't reach their hosts panel either.
We ain't solving that problem here tho
so just because the majority does it wrong the minority which does it right and doesn't rely on centralized services should suffer, Caleb?
centralized failures blabla no one fucking cares
all I see is the "everyone is doing it so why shouldn't I?" argument
there's more centralized failures to worry about than hangar dying for a minute
please cry to the millions of other pages that use CF
This
or pay for the infra hangar would need to not use it
if cloudflare dies we've got bigger problems than hangar dying
cloudflare is the most bang for buck service you can get for stuff like this
the caching is great
I literally said that I would host an IPFS mirror, JROy
literally no one cares about ipfs
cloudflare does
Can that handle tens of terrabytes?
which is apparently you guys god or something
I don't think anyone disagrees with you that there is (or at least could be for some) a larger issue here, but I personally don't see how hangar going through much more trouble to deal with this is worth that effort at all
if you use ipfs I would invest the money,y es
Cause that's how much traffic CloudFlare handles for us
and yeah actually ipfs can as an idea, just a minority of people are using it now
also I'm not saying that you should take cloudflare completely out of the equation, I am saying that alternative access should be possible too
why though
the majority of users will go through whatever is on hangar's main site / cloudflare
scroll up
if you have ipfs installed then it will select the best server for you
99% of users would still use CloudFlare, I don't care about the rest, it's not worth it for me
ipfs / decentralized file storage is a very small minority to care about
99% will use it until 0% use it when cf is down/unreachable/too far away, yes
This is a free time project, I gotta think how I allocate my time, so I create the best experience for the majority of the users
good thing CF has 90% ish uptime!
CloudFlare will be up in 99% of the time so still good enough for me
Yeah, please call me then
phoenix i want a postcard if you goto mars
you have to ask mini, I will most likely never leave this planet unless they manage to get 1G starts and landing
U got glass bones or smth?
back problems :S but who knows, maybe they eventually find a good way to fix them which isn't putting screws into my spine
because this really doesn't look like "fun" to me: https://is.papr.best/gchZhtYe.png 👀 (although mine isn't as bad lol)
curved in two axis, yeah
how would i go about making a command that temporarily removes a players permission
oops
scoliosis seems fxxked up
Old message I realize, but my wife had to get a spinal fusion done on a few of her lower disks. It blows my mind that they hardware put in place just stays there forever even after the fusion is complete.
Hold up. I am confused. Are you a bot or not a bot.
It's an irc bridge
almost done with translating hangar to dutch 👀
@lost pasture too late 
You guys should compare and discuss your translations :)
feel free to make changes though, my translation isn't perfect
I doubt that I could translate it into any needed languages, german and english should be covered already
they aren't
english has some small spelling errors/missing letters
and german doesn't exist
french only has one line 
hf
French was just created to demo that it worked back when I added the system in the first place
I was going to say I could offer up extremely broken French
hon hon hon oui oui baguette
Bonjourno!
t'aimes aussi du papier?
<.< Oui
it's honestly better to have no translation than bad translation
If you have bad translation, it'll annoy someone enough to fix it!
That's why hangar has so many bugs!
Am french, can confirm, 100% annoyed at google translate french
But I guess we'll be able to PR translation files
Do you want to pr in French ? If yes ping me when you have done it so I can review it ^^
guys, how should I handle that case ? ^^"
I think using double colons on the outside works as well, assuming that's just normal JSON
That's the translation file of hangar so idk :/
yes use "
you can also escape the apostrophe with \ like \'
but prettier will autocorrect that to use double quotes
yep exactly
It's typescript but yeah, lenient json basically
json depends on the parser you use
good parser will ignore comments
parsers that stick 100% to spec are annoying
Yeah I was describing the spec
https://github.com/toinouH/Hangar/commit/c45ad0d4e09715bdb55765162c7b2d3f93453314 I'll delete comments at the end.
No, parsers that stick 100% to spec are good
knowing where to diverge is important
if the parser can deal with stuff like useless meta which humans love to have, that's better than not
I mean, if you want human stuff you could probs argue that something actually designed for humans would be better, but, 🤷♂️
Not if the spec is trash
JSON spec is terrible
I mean at this point json5 is a good option
Hopefully gson will eventually support it
I guess I should not translate that
you should
🙂
Yeah, the part inside the <a> tags
Hangar should be kept the same tho
Like, that’s the name of the site, I don’t think that should be translated anywhere
Just like you don’t translate Paper
excuse me, I call it Papier on my German server!?!
yes but germany is dumb
watch your language
I'll keep generic names like Spigot and Paper because Robinet and Papier have never been used to refer to Spigot and Paper (that sentense is confusing I know)
They're names, I think they should be kept the same
I'm not sure to understand the meaning of "Slug" here
slugExists: 'A project with this slug already exists'
(ping me)
@ripe leaf "A slug is the part of a URL which identifies a particular page on a website in an easy to read form. In other words, it's the part of the URL that explains the page's content."
basically: a page with this shorthand already exists
Ok thank you
Good luck translating that 😉
With the context it will be much easier. I have already a few ideas for that
yeah, maybe a (?) information on hover box could be there?
🤷♂️
would be quite easy to add
"https://github.com/PaperMC/Paper" Paper = the slug. I forgot if Hangar allows special project names, but the slug of a "Hello Me" project would be "Hello-Me" or whatever similar
Thanks
I think I should not translate those things
they're variables ofc
Yeah, def don’t
You can move them to a different place in the message if it makes sense to have it somewhere else grammatically
Those will be replaced with a “name” or “msg” that will not be translated from whatever it is.
right, i gotta change some stuff in my own translation
At some points github is mad...
But I have completed it. Tell me if I can open a pr.
you can always open prs, it's open source xd
you're using " in some places and ' on others
that's why the formatting looks kinda inconsistent on the page
and in some parts, githubs formatter is just trash
facts
fixed some errors in my translation
think i found the language switcher code (nuxt.config.js, right?)
great, broke the build again xd
Yeah I had to do it as it was said above :/
ooooookay should be fixed now :D
I'm looking at the translation strings and does 'flag' mean 'to report something' in this case?
Btw I'm also unable to register an acc
I mean it can be intentional. It's just easier to translate things when you can see the actual pages you'll translate
from what i can tell, they're reports/fixme labels
Yeah flagging something is reporting
Hangar auth database is fucked since I only imported data and not the sequences
If you ping me tomorrow I can prolly setup an account for ya
Flag as in, mark it as something
Thank you, it would help having more context
oooh that would be nice
Would plugins already on spigot be on hangar too?
it's up to plugin developers where they put their plugins- hangar won't just take everyone's plugins from spigot and mirror them or anything
I was under the impression that hangar is for plugins only for paper and it’s forks, i guess I was wrong then
like plugins that work exclusively for paper not spigot or craftbukkit
no
well, yes in the sense that it will provide a place for those plugins that previously went on github/I guess kinda sorta devbukkit now as they don't care as much
but not in the sense that only those plugins
Hangar will take plugins that work on paper. If those plugins also work elsewhere, that’s fine.
Hangar won't take plugins build with eclipse though
So, just filter plugins with the unresolvable compilation exceptions?
are you meant to be able to create projects at the current point? I've just set up an instance myself and am getting 400 with nothing useful in the logs. There's likely something I'm doing wrong but I'm not sure what
yeah, everything should pretty much work locally
so you are signed in to the fake user account right? called paper or smth
what request 400s?
oh using it w/hangar auth ok.
{"category":"admin_tools","settings":{"license":{"type":"Apache 2.0","url":""},"donation":{},"keywords":[],"homepage":"","issues":"","source":"","support":""},"ownerId":2,"name":"neatproject","description":"neat project","pageContent":"look at my amazing project"}
with this body
and it just responds with this with nothing logged
{"timestamp":"2021-06-29T02:55:17.413+00:00","status":400,"error":"Bad Request","path":"/api/internal/projects/create"}
although I don't have debug logging or anything on for the backend- I should see about that
yeah, try that. in application.yml, uncomment that big setting all logging to DEBUG
the logs will get spammed a bit, but that'll give you a better indication of what's wrong
ok thanks for pointing me in the right direction
a 400 response w/no error message points to an exception thrown not by code in hangar but by smth in spring. cause I think all error responses (except not founds and unauth, forbidden) have more descriptive messages
like, if it was an issue with the POST body, the form validation would tell you exactly what was wrong in the 400 response
I didn't fill in every field, not sure if it expects that
but it just said "bad request" not anything else
yeah, not an issue with the POST body
but anyways I'll get on debug logging and see if that gives anything useful
feel free to copy/paste the debug logs into a pastebin and post here if you want me to take a look
I just got this, so I assume it's having trouble with the db so will look at that https://paste.gg/p/Pencil/2ffdebd8785f4e3bbc682428e5f001a3/files/492d44391a974ece89e45344f53a549b/raw
hmm, ya looks like it. Any logs in the docker db service?
no but I'm going to try enabling debug logging there as well
it created all of the other stuff fine though from the looks of it
Can also try adding some debug statements ProjectFactory#createProject to see where stuff went wrong
looks like it's not the dbs fault https://paste.gg/p/anonymous/8cd23ed82a6649c8bb8a0b8813cebbfe/files/136b5e2323854ca9ac06718152c4d579/raw
when I have time tomorrow I'll try to debug this some more
db_1 | 2021-06-29 03:17:26.453 UTC [28] LOG: execute <unnamed>: DELETE FROM projects WHERE id = $1
db_1 | 2021-06-29 03:17:26.453 UTC [28] DETAIL: parameters: $1 = '7'
backend_1 | 2021-06-29 03:17:26.461 DEBUG 1 --- [ XNIO-1 task-2] o.s.jdbc.support.JdbcTransactionManager : Initiating transaction rollback
rollback?
that's hangar doing that for some reason
Yea, but, more the fact that it's doing that
at least that's how I see it- I don't know why or really feel like figuring it out right now
something for tomorrow
Oh, the things transactional
chances are some exception was throwin in createProject is what am guessing
oh wait no nevermind
ok no I was right I thought I had messed up my db but it does the same thing when I nuke it
anyways will figure this out tomorrow
@pallid yoke it has been about 9 hrs :p
what do you need? email confirmation?
oh, thats broken too?
Yeah hangar auth db in general is fucked, maybe I should just drop it, idk
I just woke up, I'll be at my pc in an hour or so to look at stuff
I should be able to check those boxes
although TOS is a group, but I think I can do that
gl MM
@radiant raptor what is your username?
don't have one yet hang on 👀
@ripe leaf and let me know what your hangar acct username is if you were trying to make one
and @solemn zenith let me know what your username is
it's MrsHerobrine
ugh, why don't I see your account anywhere
If there was a rollback because tos acception couldn't be logged I guess there is no trace of the accounts?
naomi said she just created it tho
Can you manually increment a sequence in SQL? Cause then we just need to reset the sequences in those tables
Looked like an exception was thrown from what I can see
you can mess with the auto insert counter if that's what you're asking
hmm, when I try to see what the current value of a sequence is, I get currval of sequence "xxx" is not yet defined in this session
do we just need to set the value to whatever the next one should be?
you could try, see if that fixes it
well, if you just keep sending post requests, the ID is being incremented, so... could just do that 13 more times
idk if that'll mess anything else up tho 😆
I did try to make one (it failed) and I would like to use toinouH as a username :)