#dev-general
1 messages Ā· Page 54 of 1
you are wrong
woohoo! I am so happy about this information šš
has anyone ever experienced issues with gradle where intellij shows red unresolved imports of classes in another module however gradle is happy on compile?
I've looked everywhere online; everything bloody says "this was fixed in version x" and I'm still having the issue :/
delete the project from intellij and open it again
done that
also tried invalidating caches
also tried re-cloning the entire project
deleting .idea
deleting .gradle
no luck :/
š
opening the project in something like VSC (both gh workspaces and local) shows no problems
tried repair IDE too
which did nothing 
I really don't want to re-install IntelliJ so thought I'd ask here first
it was working fine yesterday
opened up the IDE today and it complained
IntelliJ literally just says "Cannot resolve symbol 'someclassname'"
compileOnly(project(":common"))
compileOnly(project(":modules"))
(someclassname would be in the common project)
same issues with the modules project
Just going to reinstall IntelliJ :/
Average IntelliJ install .exe being 650mb
well this is bloody useful
I uninstalled, told it to remove all settings and plugins
and when I reinstall it opens my project right up
with all my plugins installed??????????
wonderful
re-uninstalled and all the files are still there.
Thanks IntelliJ, very cool.
Still no luck.
Exact same issue
okay
I have confirmed it's not a me issue
A friend of mine is experiencing the exact same issue
So... it's gradle??
99.99% my configuration issue -> I prefer maven but paperweight forced my hand
and Oraxen
Delete the .gradle and .idea folder on the project while intellij is closed, then re-open the project and see if it works
Already tried that, but I just tried it now and still experiencing the same issue...
I can't tell if this is a gradle config issue or an IntelliJ issue.
This is happening on both Ultimate and Community versions of IntelliJ which suggests a gradle configuration issue however VSC is completely fine and discovers all classes
can you share the project
Also is there any error on the sync task?
nope
Starting Gradle Daemon...
Gradle Daemon started in 2 s 499 ms
> Task :prepareKotlinBuildScriptModel UP-TO-DATE
BUILD SUCCESSFUL in 31s
Happy as larry
ignore the very poor code
oh
@ocean quartz refactor branch is where I am experiencing this issue
sorry, forgot to clarify that
it's plastered in errors but if you head to the JavaPlugin class (SkyFactionsReborn class) you'll see unresolved imports
what š
shhhh we don't talk about that!
the common moduile fails to build for me because paper/packetevents arent listed as a dependency?
yeah...
the entire purpose of that branch is to make all code platform independent
well it's not finished yet i guess lmao
yeah absolutely not
but the missing unresolved classes issue that I'm experiencing is unrelated
and is confusing as to why myself and another person experience the same issue but y'all... don't
can you give an exact reference to some code that ij errors for
SkyFactionsReborn class in the paper module
try see if intellij can resolve SLogger
huh........
I just love all the plugins that have Deluxe, Reloaded, Reborn, Ultimate, Mythic prefix/suffix
Matt what kind of black magic are you running
truly shows the uniqueness

got to get those Uppercase words in there
guess I'll just use visual studio code!
but like
https://img.bristermitten.me/wPNWpZf1l4dt
i get this when reimporting which might have something to do with it
wait did you say it builds fine with gradle?
why is the static at the bottom and why is it public and why is the method "permission" when it returns a list
I phrased that wrong
I just meant to say that gradle syncs fine
I did have a similar issue in the main branch where my NMS module was doing the exact same thing and gradle did actually build
Didn't think much of it however this is slightly more annoying
hmm
To be brutally honest, this is my first time using multi-module gradle
So there is absolutely a chance that I've just screwed it all up...
it can be a little finnicky
I want to start naming plugins by just transcribing Russian words in English letters
nobody understands the purpose from the name but it sounds cool!
ok i found a kind-of workaround
add the idea plugin to the root project and apply it to all the subprojects
then delete .idea, run ./gradlew idea and open the project again
it breaks if you import the gradle project
but if you just skip that then everything works
i have no idea why this is happening ngl
well
just before I do that
something I found peculiar
If I go to the Project Structure > Modules section
and look at the common/main module
under sources, there's nothing there
wait
hold on
nevermind
oh my god I fucking love you
thanks so much
ā¤ļø
-# pardon the language
that's 3 hours and 31 minutes of my life gone LOL
classic
i recently found you can customize mac! this is what i came up with today after a few hours of frantically editting configs and googling
i think it is a decent improvement over what i had before!
the thickness of those borders would drive me insane lol
I like it like that š
The transparency would drive me insane
Using a mac would drive me insane
eh, besides homebrew being slow as fuck, it's pretty nice
the m-chips are superb, i can't think of a better choice for a laptop unless you like needed to game on it
Tbh a Mac is the only Apple product I'd buy; not that I need a laptop, hypothetically speaking
Do you still have to pay double the price for 32GB of ram or you can add your own?
yeah you still gotta pay more
but idk, i had a minimum spec M1 Macbook Air for my work laptop and it was superb, could run IJ and everything great, used it for all my school stuff too no problem
Agreed, the power is insane
You can even play cyberpunk on it now š
my laptop is usually not at full brightness so it never bothers me
but icwym
I did bring these down and like it more
^
my laptop is quite small, it's very portable everywhere and I get 32 gb ram and good performance
just realised that hotswap is broken 
actually dying
Maybe gradle will work then
yeah
@prisma wave sorry but do you know what IntelliJ ver you run?
alright, cheers 
Spent time making this thingy here...
A download fetcher for my codeberg repository and Modrinth plugin page.
that's awesome
What would be the best way to provide backwards compatibility for pre 1.21.3 attributes? They not only changed the names but the whole class that goes along with it. I need to use the newer API version because of the new equippable components
Welp. 100 lines of reflection fuckery later everything works again :)
this is the type of work AI needs to replace
and that's exactly what it did
Anyone know why ChatGPT goes into sweary-teenager mode whenever I try to get it to generate complex SQL? 
probably does not have many "samples" of the thing you want to generate
and from which it does it has that kind of gibberish
my assumption at least
or these are just queries of the average sql user
True, forgot about that.
this feels like your temperature is set too high
in my experience setting gpt's temperature to anything over the default causes stuff like that, its really not worth increasing it at all
if your temperature is set to its defaults, then lower it, you can try like 0.75 or 0.5
Temperature?
Measurement of how hot something is
0.75 Celsius = very cold (so the ai doesnāt overheat)
Itās water cooled
100 celsius = very hot, water boiling temperature
1000 celcius = very very hot, you will die
Usual boiling temperature.
At higher altitudes is it lower
my bad
I mean on average is it 100
on average in the universe?
100°C at sea level
100°C at standard atmospheric pressure, which is approx. 1 atmosphere (101.3 kPa) at sea level *
1013,25 hPa to be specific
you could also say 1013,25 mb (millibars) to be more specific
What I wonder what it would be at the challenger deep, assuming atmosphere there is higher
Hmmmm.....
Water at this depth is well above the critical pressure so instead of boiling it will turn into a supercritical fluid at a temperature of 374 degrees Celcius. The critical pressure of water is 218 atm while the pressure at the bottom of the Mariana Trench is over 1000 atm.
So additional pressure would be:
10m / 10,900m * 101.3kPa = 110,113 kPa
hence total pressure:
101.3 kPa + 110,113 kPa = 110,214.3 kPa or 1,102,143 hPa or 1,102,143 mb.
The formula for water boiling temperature:
Tb = (b * ln(P / P0)) / (1 - ln(P / P0) / a) + T0
We define constants:
T0 = 373.15 K (boiling point at P0 = 101.3 kPa)
a = 5.3
b = 0.97
P = 110214.3 kPa
P0 = 101.3 kPa
Calculate ln(P / P0):
ln(P / P0) = ln(110214.3 / 101.3) ā 6.798
Substitute into the formula:
Tb = (0.97 * 6.798) / (1 - (6.798 / 5.3)) + 373.15
Simplify:
Tb = 6.59406 / (1 - 1.283) + 373.15
Tb = 574 K. (approx)
°C = K - 273.15
Tb = 574 - 273.15 = 300.85°C
So the boiling temperature is approximately 300.85°C.
You are very welcome.
did you ask chatgpt this? :P
On the topic, cool video
https://youtu.be/sEK6wZWMbCY?si=1RI-PK-V8Q8JeNyh
No Dumb Questions Episode - NDQ 187 "Songs of Ascent"
https://www.nodumbquestions.fm/listen/2024/8/22/187-songs-of-ascent
https://www.youtube.com/watch?v=OTLmyV8MSz4
Brady's Video: https://www.youtube.com/watch?v=JTL4dj3Gx1o
Checkout the Independent Media Initiative: https://www.theimi.co/
ā Click below for more links! ā
Youāre one out of two people who havenāt had the issue
Everyone else Iāve asked are on latest IntelliJ ultimate and have the issue
LOL
bloody IntelliJā¦
My IJ is built different I guess
Bit late but welcome to the club

I have IJ or gradle "forget" what dependencies are like every second month
Maven is completely fine however
Just gradle who has dementia
Well gradle has severe dementia in my case
an apparently permanent case of it
Yeah, some projects of mine don't get any resolving.
Not even after clearing cache and reopening the project
Yeah :/
And everyone is like āmaven sucks! XML is bad! Just use gradle!ā
would never have to deal with this if I stuck with maven
paperweight forced my hand
how so?
if you don't want paper to remap your plugin, just have it as a paper plugin
On an unrelated note did I add a large warning for when the paper server was reloaded
It's not my first big wall of error
I use paperweight for NMS
I donāt support spigot :)
Sure, thereās an unofficial maven plugin for paperweight but it was causing me grief
Plus iirc jOOQ and flyway do not have maven plugins
ā¦.
@prisma wave it was a bloody sourceSets issue
sourceSets {
main {
java {
srcDirs 'src/main'
}
}
}
all I had to do was add that to my common module build.gradle
ššššš
funny it should do that automatically
guess the multi module setup confused it
that looks wrong
your java sources should be in src/main/java tho
and you wouldn't need to specify that
Also what I thought
and this
And yes, my module is in src/main/java (src/main/java/net/skullian/etc)
but it⦠worked
<3 Roman from IntelliJ support LOL
yeah itās annoying asf
I got fed up and decided to port the interactive chat discord srv addon to chatcontrol w/ chatcontrol LOL
HAHAHAHA.....
A bug/glitch or whatever caused Codeberg to display 1 PR when I had 2 open ones... And now that I merged both is it at -1
Not kidding
I owe them a PR now it seems
ive returned to it because i got bored with the actual totem not moving.
it spin (bonus funky mode)
This looks amazing!
Im modifying Dynmap and Dynmap-Towny to have a custom popup ui instead of the default popup marker they have atm, does this mean the marker itself which does support HTML doesn't support JS? Is that a thing for security reasons?
<div class="infowindow"><span style="font-size:120%;">%regionname% (%nation%)</span><br /> Mayor <span style="font-weight:bold;">%playerowners%</span><br /> Associates <span style="font-weight:bold;">%playermanagers%</span><br/>Flags<br /><span style="font-weight:bold;">%flags% %allies% %enemies% %leader_image% %flag%</span></div><script>window.onload = () => document.querySelectorAll('.infowindow span').forEach(span => span.innerHTML = span.innerHTML.replace(/[\s\S]+/g, 'tree'));</script>``` (Just changing every text here to "tree" just for testing)
Are there any other methods I could do intercept this and have my own trigger while setting placeholders as my parameters for a JS function?
I had to modify Dynmap(to not sanitize the <script>) and Dynmap-Towny's code and it still doesnt work? Am i doing something wrong? Or is this a limitation
Donāt use dynamp. Problem solved!
Ye. Plugins like BlueMap are often times better
Yeah but im working for a server and they want that instead
I would had used BlueMap Long ago
But i found an alternative way by just doing a websocket i guess
why not?
I hate AI being squeezed into every part of life
Sigh
Just let users to go copilot instead of needlessly baking it in
One day AI will implode and we have to pick up the pieces
Like, it can be useful, but pushing it everywhere will only result in overall quality of stuff declining... Why should one learn by themself how to iterate through something when chatgpt is giving you the code free house?
It will dumb down people is what I'm saying.
Kinda too late. People have been dumbed down since musicly became a thing lol
(/tiktok, and before of course but I feel like the dumb downedness is increasing quickly l)
I agree to an extent - CoPilot is actually one of the useful AIs unlike crap like Rabbit.
I use CoPilot daily for my 9-5 and it is super useful.
True
True
Pretty sure it's written Copilot, without that capitalization in the word.
That gives me flashbacks of people calling Codeberg "CodeBerg"
co operate
You got bigger problems than a capital letter haha. 
If thereās codeberg, there also must be deberg
i like to read it as "codiverge"
Speaking of codeberg, there is now a... "scam" going around... Tho it's weird
š Heads-up: There is currently a #phishing campaign targeting #Codeberg users.
If you receive a notification that insults you and your project for poor code quality, combined with an offer to "fix" the problems when you send some money, please ignore and report to us: Mention "@moderation" in response to the issue or forward the email to abuse@...
Like.... they insult your code and then say they can fix it for money....
dead chat?
yes
obviously
no
Kinda want to add unit tests to my plugin, but I'm not sure what I can actually make here...
Looked into MockBukkit and it doesn't really work with my plugin, due to various reasons...
What may those various reasons be?
We'll never know. It is not for us to know.
One that stops me is not being able to load dependency plugins, or I didn't find out how 
Shouldnāt you just be mocking them anyway?
huh, how not?
Then it is the later, I didn't find out 
Can't simulate a player ping a server.
Also, this looks really good for me.
too much imo
I'd assume that's debug on
No. The text before was the same but without the [.] text and color
adding proper documentations to plugins is so exhausting š
it must be done but by golly does it suck balls
I like doing it.
I think my plugin's docs are very detailed.
Even KasaiSora mentioned it was extremely detailed.
š
looks very nice but I think it would be nice if you condensed the āloaded file ⦠as Faviconā to just something like āloaded 4 files as Faviconsā or whatever
Ye, I usually just send Loaded X Ys: (list here)
Or just.. not have them at all
I rather be more clear about what my plugin does, or else people will complain again
Also, MiniMessage added <pride> tags in 4.18.0. Sadly, the Paper builds rn don't use that version, yet I wanted to use it, so I manually added it myself...
Can't wait for people to complain when this is shown in June
As long as that means we don't get awful movie adaptions of it...
Kinda want to use text shadows, ngl
ChatChat can/should support this for real.
(Also, is it me or does that text give Hotline Miami vibes?)
Also, just fyi. Full list of the pride gradients MiniMessage gives
When straight month?
Never because straight is boring
found it
Why you reply to a year old post?
January, February, March, April, may, July, August, September, October, November, December
What kind of reasoning is that
Nobody cares when the events are loaded
Showing errors, okay, makes sense
But the default should be everything is working
Why would anybody want a wall of text with useless information and the plugin name printed in a big ASCII version??
Have one line printed if you so wish that informs the user of the successful initialization
Although the servers themselves already provide that with "Plugin XY enabled successfully"
So again, why?
Personally the less flashy the better
I understand where that urge to throw your plugin into the user's face on startup, I love me some nice and fancy prints as well as a dev. But as a user it's the most annoying and useless shit a dev has ever spent their time on seriously:)
totally agree
Yep, agreed. I feel the same with all this āhappy pride monthā, personally the console should be informative, not bloated with crap
it might be useful for debug modes, but by default it should not be enabled.
Also, fully agree, that flashy big LOGO is just spamming the logs
At that point you may as well have āmerry Christmasā, or āhappy new yearā, etc. I find it too much having my logs filled up with huge logos and stuff
And also agree, pride month should not be taken into the logs nor any other event (although I have never seen anyone do anything else besides pride month tbf), hell "Happy pride month" is barely readable in some letters lol
Happy ride month
Yeah, I just find it too much mixing sexuality stuff with business, itās there to be informative not plastered with this stuff
besides, is it really in anyone's interest in pushing someone's "agenda" into logs of a plugin that should be informative? I get and understand all the lgbtqia (and whatever other letters, can't remember of anything else) but at this point, like I have pointed out I think, it went from a month of celebrations to a month that feels forced AF and far from celebrations. Politics/Gender/whatever else should not have any effect in information that should be factual, logical and informative.
Everybody might have a different perception of pride month but one thing we can all agree on is that it doesn't belong in the console
Itās ok, Iām adding āmerry Christmasā and āhappy Halloweenā to my plugins now /s
since when do you have plugins
Beer day
Next year ;)
oh no, let me know if ya need anything, I myself am entering that world and I already wanna get out lmao (not rlly)
Really haha, Iāll definitely keep it in mind. I just acquired a domain recently for a cool new venture Iām working on next year.
I want to finally get back into plugins
politics and whatever aside, the logs do look fancy and I would 100% use it for my debug mode, but not by default.
Also no big logo either
the amount of information shown should be for debugging only...
ofc you gotta have a domain for it haha
i am of the opinion that big fancy logs are bad except when i do them and in that case theyre really cool
lmao
This is so real
Domain is the first thing I do first š
well that's always the case, because it "highlights" your own plugin, and who doesn't like seeing their own plugin being the center of attention?
I assume it's a domain for a store/studio that makes plugins?
Nah new SaaS, been out of it for 2 years, it isnāt the Bug one, Iām gonna sell that due to its valuation
broooo F bug
how do you come up with so many SaaS lmao
analyse 2.0?
I have so many ideas not enough time
give me one of them š
I acquired this domain last week, was a tad bit but guy couldnāt budge
don't tell me it's a SaaS where you sell subscriptions for plugins lmao
Itās a SaaS that adds a message for holidays, like happy Easter etc
/s
Time to add a field to every json response that congratulates our clients with the current on-going event
I am sure our clients with love that
jokes aside, would be quite cool to have dynamic messaging/broadcasting to plugins
can easily be done tbf
you just send a request to get the message of the day
from github or smt
welp time to go take a shower
merry Christmas everyone btw
But yeah, keep the logs clean
Imo they should only contain critical information about whats going on with the application
Yesss, __HOLIDAY_MESSAGE__ json field
Not only for users but for devs as well (I guess there is some sort of exception for applications ran by the users themselves)
Itās cool that Iāve got https://bug.io, I wanted to make it an error tracking thing for game mods/plugins, but monetisation was my only worry
So Iām prob just gonna sell it
Merry Christmas buddy
yeah not sure how you'd monetize it tbf
time to pronounce Christmas as Christ-mas
KRIESTmas
Yeah, would be cool as an open source thing, but monetisation would be so hard :(
Legit just a sentry remake?
Not to be mean or anything but probably not as sophisticated or just straight up something entirely different
Sort of, but more niche. Similar to what https://flareapp.io is, where itās focused on Laravel.
I see where youāre coming from, I think simple always wins though especially when solving a core problem
true that
even better, detailed but shown in a simplified way
Yeah exactly, I always believe itās possible to build something new that backs off an existing idea.
Thatās mainly why I love those SaaS that are niche, such as that Flare one. Itās basically a simpler version of Sentry aimed at Laravel, and they do so well
Well.... why not?
Nobody complained about this so far.
We did? We gave you enough reasons to not do that
Are you using it?
I agree, sometimes we take simple things for granted
for ex. Jira is really good app, but they are mostly oriented for big teams (from my pov), I was looking something simple, Trello is also good, but I decided to built my own little kanban board
yeah I wish there was an open source self-hosted project planning thing like that, the server I work for ended up just using a Discord Ticket Bot to manage stuff and it's pretty horrible lol
but we couldn't find any project planning things like that that weren't like $12/user/month, and we have like 90 users so that's not really an option lol
by no means it's a crazy good app, but I like the learning experience (still WIP)
Yeah, itās so easy to build something simple and go āthis feels way too basicā, but I find that people often only care about a small % of features.
Same thing with plugins, people bend over backwards to cover every possible feature and it ends up bloated. Whereas if you focus on the core for your niche, youāll often get the $$ from those people.
What about https://planka.app/ ?
Planka
Elegant open source project tracking
That flare app feels so so simple and basic, yet it solves a solution, and itās proof that simple works
If the user base is huge and each project (customer) requires different tools and integrations then most of the time that leads to a very "bloated" software
Some of the services kind of "solve" this by having their "marketplace" and "plugins" and what not
Yeah, I see it a lot with plugins, like youād end up with a tags plugin that hooks into a pvp plugin to change the tag. And I think.. surely youād just use the api and build the integration yourself.
Or even an āexpansionā thing like PAPI and the others have
We use it in one of the servers I work for
Reminds me of Trello, almost 1 to 1 lol, but you can self-host this
And funnily enough, owner wants to either replace the plugin or me to write a filter for the logger
I use linear and it's REALLY nice
log4j filter configurations 
thanks for coming to my ted talk
vouch for linear owo
Did yāall hear about the Spartan fiasco?
(The anticheat)
No š®
So Iām sure youāre aware that Spartanās ābaseā framework for their anticheat is open source (however the actual checks arenāt).
Spartan includes built in integrations for plugins like ItemsAdder, and other premium plugins⦠of which these jar files, which were purchased by Vagdedes himself were present in the repo.
Fully functional premium jarfiles. ItemsAdder, crackshotplus, vehicles, real dual wield etc
š
he started messaging plugin devs about his mistake and then said it was all fine with 2 screenshots of author responses from the plugins that were either open source (eco) or smaller premium ones
oh mythic mobs was another
the big ones were IA and MM
fun, right?
so anyone could just download it?
damn, missed out
like a month ish
tho isnt it still present
true
for some reason not using maven dependencies
yepā¦
lowkey this is the plugin authors own fault for not providing a proper api
the issue is
someone was bound to do something like that eventually
mythic mobs and items added have their own APIs???
literally
most of them have their own APIs
like maven APIs that donāt include the actual plugin code
and he decided to include the physical jarfiles
and forces you to manually add the dependencies in the pom.xml 
well you should still, well, do not push them to remote
and add a notice that you need to purchase those plugins yourself if you want to work on the code
but that's just my take
the thing is
he literally said in the readme
ensure you have the local dependencies in the repo
āInclude all local dependencies already included in this folder.ā
Find it weird how people can complain so much about some simple lines in a log... Pretty sure they don't complain about LP...
Also his Spartan vs. Vulcan video is funny
he also had them in /src/main/resources lol
ššš
And depending on the plugins used are there sure some more offending ones... Like Pretty sure ChatControl Red is an awful example (Last time I checked it was not better than mine with ASCII art)
Most offending I recall tho Are Iris and Wormhole
My plugin startup logs are bloody huge, and rather colourful
mine also has giant ascii art at the start
Tho, for the happyness of many will I see to add an option to hide the banner, and make the messages less I guess...
Tho, it would require to move the config loading stuff around a bit...
sure, but when you force people to use clunky dependency methods like this someone is gonna eventually fuck up
youād think vagdedes, a premium plugin developer themselves would know better
and have maybe just a shred of common sense
Dude... If a guy like Mr MineAcademy can't do things right....
he took so long for CHC v11.
I find it insulting that this guy is a jetbrains partner... Guess their standards are rather low...
It's sad that Spigot doesn't support it... Not even in the form of converting it or whatever...
Guess they love their Bungee API so much
I asked a question about CHC.
He responded to someone who asked a question after me.
I bumped my question, no response
No idea what CHC is honestly
for some reason the velocity version of chat control makes you disable bungee plugin messaging
Chat control red by kangarko
CCR, CHC whatever
sorry should have clarified that
Not sure how good my plugin's API is tbh... But I have one I guess
i mean if it's open source it doesnt matter anyway
It's useless spam
ChatControl is also bad, so, explained
not really
Just make it debug mode.
default enabled 
mehā¦
We use chatcontrol and itās been generally fine
Once you configure it, itās great
Alternatives like carbon chatā¦? Sure⦠but Iāve heard awful things about their channels and duplicate messages
zelchat? Too many features, unnecessary bloat
Iris was so much worse tbh.
sure, CHC has tons of features as well
Like instead of a text, they printed an entire logo...
Would you say informing about migrating config is something that should be mentioned by default?
By that I mean stuff like "Detected old config.yml. Trying to migrate..."
Feels bad
Chatchat
Press x to doubt, anything made by kangarko sucks by factory
Yes, I need to be informed on changes made to the config file not made by me
Otherwise I would open the config, and I things wouldn't be on the same place and I'd wonder why
might suck by default but you can sure as hell make it not suck
we have multiple thousand lines of filtering rules which was fun
You obviously are blind to see the point
But it's christmas, so idc
to each their own I say.
chatcontrol has been fine for us. It works. It doesnāt lag us. Tons of customisation. Works for our dual proxy setup.
Actually a nice API too, used it for our chatbridge
Merry christmas
No filtering nor proxy support from the looks of it
merry Christmas to you too
To be truthfully honest, I see it as useless spam as well. Itās a plugin for server list stuff, I donāt need to see a huge banner with āhappy pride monthā.
You support people like kangarko, my "merry christmas" was purely to end the convo as I know speaking further won't lead to anything and since it's christmas, I prefer to be sane
merry Christmas!
you too
you too
There
(Has the option to disable the banner too.)
If you want it any more clean, make it yourself, because I seriously find this nitpicky
had to make a pull request to a plugin with 54k downloads to stop them from granting players to upload any image onto the server to players by default
the stupidity of spigot developers constantly astounds me
imageframe when i catch you
If you don't want to argue with us, just say that :)
Why are you telling the user their platform and version? I sure hope they know that.
If you really want to tell the user that they loaded x profiles, why have it print "Loading profiles..." before? I'm guessing that takes 100ms max, so you could just leave that out. If you really insist on having that big banner and more information than necessary, I recommend this:
- keep banner if you want
- backup infos are nice
- no need for double the migration success message, otherwise nice
- no need for platform
- just keep "successfully loaded x profiles" (w/o the line above)
- same with x local favicons
- no need for the command registration
- players cached isn't relevant either ig, leave that out
- ready print, you can leave it
- remove looking for an update, just say something when there is one
I think this would be a nice compromise, between having your plugin spit out very much unnecessary information and spitting out only necessary information. And if you want to be really nice, remove the banner entirely without a user having to disable it, they see the name often enough.
Just so you know, I don't mean any of this offensively. I just try to provide some objective feedback, but seeing you react without counter arguments, except this being "nitpicky" is just useless.
- I have platform as a more detailed info for myself, in case people report only snippets of info, as they often do. It's not unusual to see this being included. Just look at LuckPerms or ItemsAdder which both print this (ItemsAdder even more so by including OS and dependencies)
- The reason I keep the loading messages for profiles and version checks is, that I want to be transparent on what the plugin does.
Suddenly getting a update notif out of nowhere in the console is nothing I like. I want the user to know the plugin performs an update check, or that it loads profiles. - Player caching can be relevant if there would be cache-related issues (Like players not being cached for some reason, which could be bound to same IP being used or whatever...)
I'm generally just frustrated that nobody has complained about his in the 1+ year since it was like this, yet when I share it here, complaints get raised everywhere...
In addition do I also dislike the negative reception of just wanting the pride colors to be displayed... While I understand it's not meant to be offensive is a part of me also feeling it is. Can't a plugin support a community like that? Would you also complain aboue PermissionsEx displaying as PermissionSex during april fools? It has a similar feel to me.
i dont want to join this conversation too much because its quite pointless, i will note that luckperms startup logs are quite minimal relative to the one you've showcased.
complaining about pride showcase is also quite irrelevant, they're just colours lmfao
That makes it quite unreadable
It's just spam
yeah but also like it doesnt matter
Exactly, then why is it present in a place that should only contain important info
it doesnt matter either way
it doesnt matter whether its there, it doesnt matter whether it wasnt there
its a non criticism
now if it was like a huge ass wall of text that was like 50 lines long, you have a point
but its really not
Hell, plugins like MythicMobs and VillagerOptimiser have giant bloody logs on startup
MythicMobs just ends up logging a crap ton of spigot configs or whatever with no meaningful information
Server startup itself outputs a hell of a lot of logs
spigotlibraryloader / mavenlibraryresolver too
yeah, I hate all of that 
and yet we live with it

nothing we can do
time to fork paper and remove all of that shit and maintain it forever!
unfortunately
oh well
every time I have to look at someone's log and it looks like a fucking forge log because it's full of startup garbage
To be fair the library resolved thing is fucking ridiculous
I would rather just stick with
āLoaded [20] librariesā
I wanna just say good luck man with your issue
oh modded is so much worse than paper / spigot logs
so many errors / warnings half the time
Thatās the issue with modded
You could have 300 errors on startup and everything works fine
itās one of those things where if it works you donāt touch it
an unspoken rule so to say
Imagine if CTRL + F didnāt existā¦
Even worse, MythicMobs still uses STDOUT for whatever reason... Not sure if it is some kind of debug or intentional...
But man, the logs I have to look through when MythicMobs or ModelEngine are present....
That's why I started to ask people to give bare-bones server setups when reporting issues (Not for my plugin. Talking about ItemsAdder I give support for)
I feel like that's simply due to whatever spigot uses for dependency loading, which I assume is probs what Paper exposes in their bootstrapper system.
Also, I personally feel like that library loaders need to be like this... Else could someone just have malware being downloaded without any hints in the logs. It adds a level of transparency that is needed.
Oh absolutely.
Paper classloader uses MavenLibraryResolver, the normal spigot plugin.yml libraries list just uses SpigotLibraryLoader
but still, it outputs each library for each plugin with spigotlibraryloader
not so much for paper but it still outputs a crap ton of logs when initially downloading libraries
(also goes for spigot)
Certified MythicMobs moment.
Iām fine with this because itās one time
Not so much for this.
Iād rather it just be
āLoaded [12] libraries for plugin ___ā
or just āloaded [24] libraries for all pluginsā
sure if it fails then throw an exception
but thereās no real valid reason to output every loaded library for every plugin that uses spigot library loader
What I find funny is, how it says like "loading 4 libraries" but then has like 16 lines because it obviously doesn't know about and include dependencies of these libraries.
oh my god I know š
Was kinda my point before... Why complain about some lines in the console? I would understand if it bloated the file by a few GB or made it generally unreadable (i.e. constantly spamming it), but this shouldn't really affect the logs nor console that much...
But whatever. Changes have been made.
Issue is "if he can do it, why can't I" situation, if all plugins start doing the same, then spam will be quite noticeable, also, errors cam happen on start and maybe too many messages that are useless may hide actual important messages. At least that is how I see it.
That's why you should use proper log levels. Warnings and errors are highlighted in a different color - at least when you use a console that supports this - so it should be more noticable in the end. Only logs may be an issue, but here could you do a Ctrl+F search for "WARN" or "ERROR" or similar. And if you use a good file editor could there even be highlighting for that.
I can understand a lot of text can be frustrating... But does it hurt that much to maybe scroll once or twice more to get past these lines? Ori is right in that this is a non-issue. It's a convenience problem at best.
On an unrelated note, The fedora project seems to switch their Git hosting to Forgejo, which is neat
https://communityblog.fedoraproject.org/fedora-chooses-forgejo/
The Fedora Council is pleased to announce that we have chosen Forgejo as the replacement for our git forge! That means youāll see Forgejo powering our package sources (src.fedoraproject.org) as well as our general git forge (what pagure.io is today). It has been a long road to get here, and we cannot thank the Fedora [ā¦]
I can see both (all?) sides regarding this topic. For developers or the people who actually read the logs: the less - the better and logs should only contain important and critical information.
For the plugin author? I assume its a preference, really. The more logs the easier it is to follow what is happening with the plugin, even if it's only at startup.
And as for the server owners, I don't think they really care.
Honestly, if it's only once and at the start-up, fine by me
But personally I like to keep it clean
If you want to know more info about the system, etc., just put it all on a long line
that way you get all the info you want from logs, and the console is not spammed ig
well, couple other options is having a log file for your plugin at, say, /plugins/MyPlugin/logs
or just log it to console and not in the logs via Bukkit.getServer().getConsoleSender().sendMessage() or smt
or System.out.println() š
or a custom console logger
Ye, like
The plugin is running on Paper whatever-version-dump with 27 other plugins, 3 are supported soft-dependencies. Command was registered, the profiles default.yml and you-are-banned.yml got loaded successfully. Config is v7 right now and was migrated from v6 with backup config_whatever.yml being created.
Well, my plugin just uses ComponentLogger which is integrated into Paper since like 2 years
This is a convenience problem, yes, but it's like putting a rock in a path people easily can go around. But it's still there for no apparent reason
You said that you wanted to let the user know what the plugin is currently doing as if that wall of text isn't printed within 100ms of each other, all these operations don't take long enough for the user to start wondering what it's doing
Also, suddenly getting an update notification is nothing out of the ordinary, many plugins include an updater. As for the important information? I have an extra command that uploads all necessary information for debugging in a paste so the user can just copy/paste the link it put out, very useful. Information is only shown when necessary. I have also implemented mclo.gs support which uploads any log you want in its entirety. Also quite useful.
If you really need the information displayed there, then do that in a one liner. I quite like that. And the banner? Well that's just bloat, we can agree :)
Agree with this
but also at the end of the day itās not that deep
what domain register do people use nowadays
cloudflare š„ š„ š„
Porkbun, it's as cheap as Cloudflare but you're not locked in to CF's name servers
Always got told namecheap is the cheapest haha
One of that most expensive more like haha
Once a domain I had was $150/ye on namecheap and $90 on Porkbun
Time to check for the domain I wanted to buy in porkbun
Cloudflare Registrar.
Sadly no .ch support yet. Is the only one I not have on it rn...
Usually for the first-time buy
But recuring payments become way more expensive later on.
could still be worth it to use namecheap or any other registrar that has a good first time deal
you just switch to a good normal price registrar after the lock in period is over
Uhm......
Yes, you canāt change the name servers your domain points to
The way this point is shown tells me they use CF behind the scenes for DNS
And using CF for your DNS requires usage of their nameservers
Youāre forced into Cloudflareās name servers, so in my case if I decide to switch to Vercelās NS, youāre screwed
Plus the 60-day lock in between registrars, so if you suddenly need to switch youāre screwed
That's more a general issue tho and not specifically to CF
I know, but I'm talking about being locked into CF's name servers, which is specific to them
No other registrar does this
š¤·āāļø
I just prefer flexibility to be honest, I hate the thought of being vendor locked
I have all my domains registered w/ Porkbun, great company
dead chat sadly
nothing much from the looks of it
@wintry plinth hey, sorry for ping, stuck between a rock at this point, can't seem to figure this one out on my own lol
is there a chance you've used pusher and laravel echo?
public channels seem to work correctly, having some issues with client-side messaging via private channels
I don't have any authentication for this particular instance, I've tried:
Broadcast::channel('deck-changed.{roomId}', function ($user, $roomId) {
return true;
});
in channels.php
And I am using this on my client-side:
const handleDeckChange = (event) => {
const newDeck = event.target.value;
setSelectedDeck(newDeck);
window.Echo.private(`deck-changed.${roomId}`).whisper('deckChanged', { deck: newDeck });
};
My DM's are always open if you ever want to ask questions š
Maybe https://stackoverflow.com/questions/41728930/laravel-broadcasting-auth-always-fails-with-403-error will help, as its guest-based auth which is prob disabled by default
Private channels require you to authorize that the currently authenticated user can actually listen on the channel.
yeah, tried everything at this point it seems like
just decided to not use private channels since it seems you cannot you them without auth
though it's pretty fun to play around with, I guess, technically sockets?
seeing the page live-update to every client is satisfying lol
there might be some better approaches for this, but pretty satisfied with the outcome so far (not done with styling and what not)
Yeah, I didnāt realise looking on the docs you can trigger events without needing an actual class, thatās going to be so useful when you need to trigger a page refresh
currently I am updating the state of variables in the component itself when an event is triggered.
do you reckon its possible just to "reload" the whole page (seamlessly without any actual page reload) to update all the required data?
for example I have different events for each action, ex. when player picks a card, an event is triggered that updates "players" state on each client.
I am wondering if I could just "re-render" ("reload") the component for other clients and just pass the new data from the backend.
now that I thought about it I probably could have just used Inertia.reload() or router.visit
Anyone else here wishes you could have updating lines in the console of your server?
Like how you can have it in a terminal where it updates the line with a download progress...
Would certainly help in cases like the lib loader spamming in the console. And I recall the plugin BungeeUtils doing something funky like that (Can remember wrong tho).
Yeah, BungeeUtils hooked into the ConsoleReader of the proxy and probs achieved this stuff through that...
yeah I was about to say something along these lines, but there's no real/native way to do that. Once the line is flushed there's no way of editing it.
The only way of achieving something like this is probably by using ANSI escape codes, clearing and re-writing the screen. Either way it involves some hacky ways of doing it.
Also each terminal in itself is probably different, so there may be some implementation caveats to properly work everywhere
Yeah, pretty sure some "terminals" - especially on hosts - just read the log file as it updates... Wouldn't be surprised if there really are such
@half harness š¬ https://github.com/srnyx/gradle-galaxy/commit/1d011a29be55486e1d74b7dd615a843e396e3206 bottom changes
just checked github, no one else uses it š
probs for the best
I could be pulling a blank, but I wanted to mess with Kotlin extensions (Since I made the commit of wanting to learn more Kotlin)
Whenever I try to use the method it just doesn't show as available to import.
Not sure what I'm missing, but I know it's something lol.
Heres the file, any feedback is appreciated š
are you able to write Bukkit.findPlayer and see if it shows up by force
it's because you need a Bukkit instance - not static
but Bukkit.getPlayer already does that
Ah okay
or actually not the contains part
but it checks if the player's username starts with the parameter
here I guess you could do Server.findPlayer
and then Bukkit.getServer().findPlayer()?
not sure if there's a more "proper" way that it should be done though
ĀÆ_(ć)_/ĀÆ
fair
yeah that actually makes sense
just dropped the bukkit part and it worked
well good enough lmao
first project im trying with kotlin, its a bit different but interesting to learn
fun Bukkit.static.myExtension() one day they'll finish, one day .. it has only been open for 8 years
On what repository can I find this commit?
(Sorry, couldn't resist the bad joke)
I swear thereās a method like this in bukkits api already
yeah Server#getPlayer(String) already covers the first two matches there
but personally I'd consider anything that isn't an exact match short of a bug tbh
exact match is the only way
// Find partial match within name a lot of things can go wrong with this
Tbf, I havenāt had any issues with it and have been running it for over 6 months+-
Was in a different language before but ye.
Does anyone know a good place to learn Java Spring boot or whatever? I've fairly experienced with java already I'd say
Just spend some time making a CommandStringBuilder class to create a /<command> <args> [args] ... string with Hover text using MiniMessage...
https://paste.helpch.at/eqacemifes.java
It's certainly something...
Here's an example use I have for /asl profiles <add <name> | copy <profile> <name> | list>
https://paste.helpch.at/ehunohakem.java
neat
Does anybody know in which version this was added? https://hub.spigotmc.org/javadocs/spigot/org/bukkit/inventory/meta/ItemMeta.html#getEnchantmentGlintOverride()
declaration: package: org.bukkit.inventory.meta, interface: ItemMeta
Can't you go back to previous versions and check?
But I'd think that is newer than 1.18
Yeah
I wonder if there is anything like a sound approximator with Minecraft sounds. like a Fourier Series type of thing
Iād love if there was some collection of specifically tuned mc sounds that.. can actually be used in a mc server for nice sound effects
Rather than messing around with sound pitches for hours
Yeah agreed, especially for GUIs and such
absolutely yeah
I'd also LOVE for a nice collection of NBS music for mc but
we can't have it all haha
Native mc, no. With texture packs you probably could
As you can do custom sounds with them
well I'm more talking about MIDI files or NBS files that can be played server side with something like NoteBlockAPI or Jukebox
Ah okay
I wanted to ask something here, but completely forgot what I wanted to ask.... I love my brain /s
Mood
please i beg someone
on intellij new ui, does anyone know how to change the colour of the toolbar 
my ide just has a streak of green piss and i dont know how to change it š its ruining my mental state
setting project colour just makes one part a gradient
apparently its because of system colour
I think I remember what I wanted to ask... Namely about some feedback on my Plugin's wiki... Mostly about its structure.
I feel like I could improve it more, but I'm not sure about what exactly....
https://asl.andre601.ch/
Also, working out a possible structure for when I actually figure out how to make a Javadoc Doclet to create JSON from javadocs....
https://gist.github.com/Andre601/3904ed37acac73d19111faf52934b9fc
i reset my entire .idea folder and its still piss coloured............. but it changes on each project so i have no fucking clue
Try these settings? Not sure if they'll fix it but that's the only thing I can think of
It's all locked for me but I don't have the issue
How do y'all provide backwards compatibility for Spigot changing a few classes into interfaces? I'm having issues with the InventoryView and its methods not existing anymore because it expected an interface instead of a class
Yeah I had to do that for the last issue I had with that change, ChatGPT my saviour, lord imagine if I'd have to write that myself
Just for some ambigous reason the simple solution doesn't work and I wanted to ask if there maybe is a good solution for this
Basically just interacting with an InventoryView like getting its type or an item in a certain slot
The error seems to have vanished
Changed nothing
Way to go
epic
Only have to move 5 other methods to reflections... (everything will be fine (fucking hell I'm passing the InventoryView as a param which means that won't work either (wtf md_5 you never break stuff)))
easy solution would be don't š
i wish i shouldn't have to
MethodHandles 
MethodHandeez
probably
let me guess "UwU I wanna post my plugin in spigotmc"?
without the UwU and already happened
2 years anniversary actually lmao
anyways, life moves on
pretty much yeah
You donāt :)
screw the old versions!
I try to at least support one major version behind, updating servers is sometimes really hard and time consuming, especially for people that do this in their free time
They don't work for this use case since I have to define the return type, to which I don't have access currently
that's understandable
pretty sure paper does the same
I agree with that
besides supporting spigot
cause fk no
you can unreflect Method objects
you can also compile against the oldest version you are willing to support
I decided to not do this since I would have to then use reflection for all the new APIs including equippables. Ultimately I decided that backwards supporting these few methods is easier
Seemed to work, thank you!
No problem
@cerulean ibex Uppercased methods are criminal
š
it's only the industry standard yk
jetpack compose does them uppercase
React being React, typical
just because another one doesn't respect industry standards does not mean you should do it lol
yes it does
kotlin and jetbrains like officially supports jetpack compose so is it really against the standard if they make the standard
why wouldn't they support a widely used library
this looks wrong imo https://imgur.com/a/i0ZCnEk
i think its react brain
also idk if anyone can help me without some source code but here at the end i'm clicking it multiple times and it only worked once https://youtu.be/VVqXMxz5D5c?t=78
its very inconsistent sometimes it doesnt work at all other times it works perfectly fine
it is
much better
u fr?
ok if i get a name for the lowercase For component ill consider changing it
currently just the regular for loop is fine but thats its not reactive so eventually ill need the component
Yeah it's the standard for compose to use uppercase functions because they are components
Also slap a delegate to that Signal
val count by Signal(0)
So you can do count++ instead of count.value++
i would but that requires weird tracking
because most libraries track calls inside createEffect
which is rly weird and imo just super hacky
yeah thats another approach
similar in hackyness imo
u get the advantage of rerendering each time though which can be useful
itās kotlin, thatās what looks wrong 
you are a python user, shush
it is useful
for mundane tasks
Uses it recently for some json generation bullshit
kotlin is also useful š
arguably, there is no programming language that isn't
Fail
oh absolutely
that was god punishing you for disliking kotlin
They all suck in their own way, and they are all good in their own way
š
I just like hating on
kotlin hate in 2025 š“
i alone dictate when things can be hated on
wha
we should be shaming yaml users
Unless you agree we can always hate on spigot and 1.8 users
how the fuck are you sending gifs
then I agree
simply better bro
u just have to be tier 2+
I use kotlin
crap
I also agree on that statement
like 3 or 4 more levels
hating spigot isnt really worth the energy imo
if you mean for development
hold on
it's fine
tell that to @ionic gust cough
it's missing some nice paper qol but it still works fine
thats a virus
I canāt upload photos
ok thats kind of funny
:/
I swear I am gonna support spigot on my plugins
just so that I can disable the plugin and send that message
why
lmao
LOL
if I make it paper only, it will send the default exception :/
recursively remove the world folder if booting on spigot
it's kind of funny like even if you think paper is worse theres no way you're winning this war
might as well just take the L
funniest part is the guy sounds just like a spigot 1.8 fan boy that loves backwards compatibility
I dreamt of paper's hard fork
now I dream about the first game breaking api change
breh
gonna be so satisfying seeing a huge wave of spigot plugins suddenly stop working
what is this measuring
search ads on desktop cost like 10x that of mobile
this is my ad performance
i feel like theyll keep backwards compatibility for ages
what types of ads do you do lol
impression percentage by device, as well as clicks and how much i paid
I don't think so
ads for my baby saas
Fake Multiplayer. Real Growth. Maintain user engagement at all hours with convincing player data.
it doesnt really achieve anything
apparently people in india and pakistan are interested in this
why are you advertising something that you cant sign up for
marketing emails
i see
this yours?
yes
gib me 10 bobux and I do a new design for the website
take my money.
shit I am no logo guy
anyways i ended up spending $40 on essentially nothing because the site does not convert well on desktop
because of how bad it looks there
however i now know better
i do get conversions on mobile
and it is also a lot lot lot cheaper
so thats the plan
in regards to posting on spigot or compiling against spigot š
is it essentially a spoofer?
wdym by spoofer
you spoof player counts, aka put fake players in your server and make it do fake interactions to make the server look active
ah i see
no yeah thats pretty accurate
it doesnt directly spoof but this is meant to make bots as not obvious as possible
maybe not very ethical but people already do it so i figure may as well try and make monies off it
basically what many spoofers do
integrate with AI, make them say random shit
to make them more
ārealā
ai would cost money to operate
true
true
ai is going to be one of my offerings
instinctively it's unethical but also i cant think of an actually compelling argument for why it's bad
sneeze
not if you train your own
Bless you
AI 
misleading players
reminds me of westworld "if you can't tell the difference, does it matter?"
electricity bills for running LLM
why is that a problem?
you don't need an extremely good one for it
if the player gets a fun experience
if they're still having fun it's not that bad, maybe like
simulating peer pressure to purchase things?
spigot site gets me a lot of downloads!!!! + it has reviews!
compiling against spigot (this is just my plugins):
in my mind this is also not meant to be a permanent solution for games
but like again it's kinda on the player
those 40 servers would be lost!
its more to just pick up slack for low pop games
good
that would be a problem but i dont think thats necessarily happening
WOW
you can read the "why?" section on the site for my thoughts on it
tbf it also depends on your server. in some types of gamemodes it makes perfect sense to have bots
yeah like all the .io games are only playable because of bots
so that I can say "good" again
Hopefully devs will make the right decision and move to paper support only
https://img.bristermitten.me/I5Tx03BimDik
no it's not
