#dev-general
1 messages ยท Page 559 of 1
But like, what does that give you
Alright let me make my pro con case here
jk that's stupid
You're still running a standalone spigot jar for your test server, no?
I mean if you shade spigot your plug-in wouldn't even pass the first requirements for premium plugins, being less than 4.5MB
:))
Pro:
- I can link it as a dependency
- I can immediately know exactly which spigot version it was programmed for without having to go through the troublesome troublesome effort of importing NMS and finding out
Con: - It takes a littleeeeeee bit more space???
do you shade spigot or nms?
What does "I can link it as a dependency" mean
what
And reflection exists for NMS sake
I shade spigot and like I said only for my ghetto free release plugins. My premiums were properly coded ๐
Have you ever heard of Gradle? It'll be a life saver for you
Oh wait you don't use a build tool
any build tool*
That makes a lot more sense
Well I've maintained the tried and true method of including the spigot.jar in my release.jar since I first learned to program at like 12. I link it as a dependency by right clicking the project in eclipse and adding it to the build path.
poor thing
I use webstorm for node and web dev and atom for c++ if that makes you happy
You use WebStorm but not IntelliJ?
the ide is your last concern, you should use a build tool - we are not in 1970 anymore - and NEVER shade spigot jar.
That is a first
Yeah I think I can start to imagine why you might've been denied lol
You don't want to see my git repos
Nonono see I didn't do that on the premium ones
you are right, I don't
Your premium plugins use maven/gradle?
I still used the eclipse build dependence tool, but I didn't include the whole entire spigot jar in the build
what makes you think that a free plugin shouldn't be done properly, unlike a premium plugin?
Dear god
I make them as tech demos with no intention to be ran on a server
help yourself and learn gradle or even maven
Yeah dude, people not being able to build your plugin itself is a real big problem in it of itself
demo of what?
pretty sure anyone who looks at your code will stop after they see no build tool
Got any git repos of plugins you got denied for?
As suspicious as it sounds I believe I just deleted them after denial
Lmao what
good now install maven
You deleted your entire projects, like from GitHub?
You spent hours, if not days making a premium-worthy plugin
Only to delete it immediately upon being denied
No I work off projects from my local machine
Oh boy
Probably days, yes
F
So uh, some pro tips
for how long have you develop?
IntelliJ, Maven/Gradle, GitHub
Those three things will get you a long way towards getting a premium plugin accepted
If you check Java's website you might think you are ๐ฅฒ
According to my Spigot page my earliest plugin was 2015
wdym? ๐คฃ @ocean quartz
But if you count neopets html profile editor... probably like 2012
In the 70's, have you seen the website, looks so bad
Right, after 6 years the time for a massive improvement has come, TheTealViper
ah yes
my old spigot account got banned because i made a troll plugin that loops for like a million time every tick
and its literally named memory stealer plugin
wow, that uh... sounds so funny
and it was back in 2017
can't believe you got banned! /s
I've honestly never looked into the java build process and had no clue the eclipse build tools were bad
I was under the assumption they in some way just automated the maven/gradle stuff I always read about in every tutorial
Well, the fact that they're called the Eclipse Build Tools might've been a warning sign
hater ๐คฃ
Considering, ya know, a lot more people use things other than Eclipse to make Java stuff
Nonono they aren't formally called that
They aren't called anything
It's just a menu in the program
They're only in Eclipse ๐
^
The "Java Build Path" sounds pretty standard across IDE's to me
So you're telling me when I reference an external jar into the modulepath section of the program for the eclipse equivalent to intellisense capabilities, it is bundling the whole entire thing into the final build?
Final space requirements suggest that is 100% not the case
So what is it doing that is so bad
Gradle kts ๐
I do not know, but it is a very poor build tool lol
Gradle/Maven do more than just build
They also do dependency management
So they download the exact same versions of your dependencies and you can choose whether or not to shade and stuff
imagine not having to always select the spigot jar and just type the id and version
It makes your plugins reproducible on any computer with a JDK and an internet connection
And they do a bunch of good stuff I presume with the classpath and stuff
You can do relocations, etc.
But the real moral of the story, is that you don't need Eclipse
And I am willing to bet that most people at Spigot are not willing to download Eclipse just to compile your plugin
What? Why would they be compiling it? You submit the compiled .jar if anything wouldn't they be decompiling it?
Also are we spamming literally everyone at 2 AM (my time) or is this normal and people won't get mad
If you don't have notifications turned off for this server, you're doing it wrong
I guess it's not a big thing with your Spigot review, but it's a big thing for anyone looking at your code or trying to improve it
And who knows, it probably does some witchery with the compilation that makes it weird
Pretty sure it's turned off by default after 500 or so members
even then, who cares ๐คฃ
Also it's 10am lol
Let's just say, there's a reason we all hate Eclipse so much lol
(my time)
I've always heard that but I thought it was superficial rivalry
Oh no
I didn't know the build process was the disputed part
Mostly because eclipse lacks many features and it's ugly af
IntelliJ wouldn't autocomplete for anything when I tried to use it years ago
Shhh i didn't see that
But Eclipse not using standard build tools is one of the biggest
matt .. you are using atom one dark
material oceanic โค๏ธ
Yuck
Well that is certainly weird, maybe you didn't have the JDK selected or something
Blame yt tutorials
yeaaaa
Ah, it all makes sense
๐
Okay okay @cinder flare you're gonna like this one. First off the whole repo starts with a single folder everything is in. Then inside the root folder which is a very necessary click not unnecessary at all, I included the holographicdisplays AND spigot jars inside of my .jar. Then to top it off I have 3 util files that aren't used in any way shape or form. Now is that not cool or what.
https://github.com/thetealviper/Spigot_PortalGun
Now do I deserve to be #12 in the top spigot authors or what
oh my god I hope you're not
Eclipse has a cool feature called horizontal scrolling ๐
Only pro devs know about it I guess
I don't think you know why there's a 100 character line cutoff lmao
#12 and higher spigot devs only
Yeah and that bitch churns out plugins and updates as if it's his form of breathing
Nonstop all day every day
space += 8
I don't choose 8 space indent. I just ask the magic conch (eclipse) and it does what it wants
ohh boy lmao
If it tickles your fancy for web dev webstorm uses a 2 space indent
man you are a character
Star I just want you to feel reassured knowing I applied for dev role and as long as the application handling staff don't see last 20 mins of chat, I should be accepted given my download count credentials.
I will be assisting people with questions in this server with the credibility of a role most likely ๐
I don't think you realize how little that role does lol
It allows you into #developer-chat
That's it
Do you have a spigot/git link so I can see what you've made?
I've got bad news
Well now, I haven't made very much lol
But I do understand a lot more of the theory and contribute to open source projects more than create my own things
APL buddy I am # 12 on spigot I probably have a lot of pull with those guys who hate me and bully me for "using static incorrectly"
My dad owns microsoft
What are you trying to say here
o
oh alright sorry forget I said anything
The day you post your "using static incorrectly" code on GitHub for all to see is the day we validate your struggles
Or we realize they were right!
Putting aside the fact I deleted the project (which is questionable blablabla) I feel like my verbally explaining it exactly should foster some credibility
Especially the part where I followed up by saying I include the spigot jar in my releases
That should also build credibility
Anyone can verbally explain away something they did wrong with no proof lmao
And that lowered your credibility
/s
Seeing your public code has done that as well
I'm just so ahead of the curve in terms of tech I can't adhere to conventional standards yunno
Life's rough for a guy like me
Sorry to hear that
Lmao
I'm not asking this as a joke but when you get philosophical what's the difference between being run by a powerful overarching "private agency" and a powerful overarching "centralized state"
the sinking ship!!!!
Wouldn't that just be the same system with a different semantic label
It sounds like someone has a hatred against the word government but not the concept of governing
If we're getting serious, a centralised state (in theory) gives the people the ability to replace those in power, whereas with a private company there is no such potential
I am not an anarcho capitalist btw
I didn't suspect you were but regardless I think the conversation would be the same because we're just discussing objective facts (at least at this time)
Yes I suppose you're right
Also the definition I see for centralized state just says that it's a government in which executive and legislative power is concentrated rather than being distributed across multiple lower government agencies
That sounds a lot like a singular "private agency" but with a different name
Not to be that guy, but this sure sounds like an #off-topic conversation to me
You're right I've just grown so attached to this channel the past 30 mins. My bad.
Please either stick to the topic or move over to #off-topic
hey see that's what I did ^
Thank you
but with my own words ๐
Oh yeah Blitz now can do that command as well, don't think i ever seen him use it ๐ฅฒ
I used it 2 or 3 times at the start
Alsoo... Its #dev-general ... The off topic for devopers xD
Was off topic for dev off topic as well though xD
I feel like 30 minutes of roasting my coding practices warrants a solid 5 messages about good old anarcho capitalism but I'm neither judge nor jury
lmao
I'm just cough the # 12 dev on spigot cough but yeah no authority here ๐
๐คฃ
12 dev? What does that mean?
I have posted the 12th most resources out of all devs but they just ambiguously rank as far as the site is concerned
I am on the 6th page of most downloaded plugins though so that is actually credible
Unless you saw the source code
Then you'd delete the resource from the site immediately most likely
And I made FrozenJoin so I'm already superior
not even page 1
I think I was there when you went through a plugin dev stage back in the day
papi 11th rip
Pathetic
You should be sorry smh
Funny while you're here
It hasn't passed 11 yet?
That image billboard plugin is free now if you don't know
I forgot the damn name lol
bannerboard?
i'm well aware
Yep that's the one. Ah for sure just thought I'd let ya know in case.
Oh wait funny you're an officially listed contributor to placeholderapi
That is wild
Just noticed nine is on page 5 somehow lmao
it's almost as if we maintain it
I thought you only made shitty lil meme plugins
Nah I knew funny was involved with the dev team, but I didn't think he contributed
Last I talked to him years ago he was just learning how to code
And said he couldn't really get the hang of it
he still refuses to learn java
done
js is better
Sad
cube is also proficient in vbscript
he's a js peasant
Welp. We just got another national alert and it wasn't even 10 minutes and there's a storm outside
F
Trees are already starting to fall
The clear and open structure of how js handles everything behind the scenes just seems superior
There is no doubt performance wise it suffers
But in graspability and understandability italian chef kiss
All instantiations are tied to an easily accessible global variable
It is both clear and open
So clear you don't even know where values come from or what types they are
๐ฅด
You type in a variable and you get every piece of data associated with it right in front of you
prototype vars methods etc
Most things default to a legible json output
It's just sexy man
๐ฅด
While you guys are deobfuscating NMS from source code sweating profusely in JS I'd just type the object name and boom everything is accessible clearly and openly
damn that's crazy
Obfuscation isn't Java's issue
Also JS can be obfuscated as well
It was just an example to support my point of the "buzzwords" clearly and openly lol
I'm not saying it can't
But even when obfuscated, the obfuscated vars and methods are easily accessible
you know what's not accessible
deez nuts
yes
Anarcho capitalism
bm i read 1984
Mine are. You can come and eat them whenever you want
In JS if I want to know every method and variable attached to a class I just type the class and boom it spits it out in console, the whole thing.
In java if I want to know every method and variable attached to NMS I have to check source or probably do some reflection stuff which definitely won't be easily maneuvered or pretty.
it was a solid eh
i wouldn't bother
Isn't it a highschool standard
"a sold eh" love it
Tell him about the main characters
Bad stuff happens to a dancer and dude with heavy ass shackles
NOW that's all you need to know
wat
Oh and there are cameras that too
i don't remember any dancing in the entire book
unless winston and julia did a little boogie at some point
Oh I may be misremembering
i don't recall that though
the rain is over. welp. that was short.
I want rain ๐ฆ
well... do you want it to also take a few trees in the way?
bcz this one did
tomorrow it will happen again apparently
When people post pastebin links you convert it to your own domain for this reason:
"Why? - Some other paste services don't have a dark variant and we're all nocturnal."
I love that
we love that as well
1984 is when people praise JS
literally
literally just hastebin
it's just hastebin lmao
Syntax recognition fails a lot
usually ends up calling a java file .properties or something
You can't blame a foreign API's poor syntax handling on JS
I simply won't stand for this bullying of JS he is a good guy
Masochists man
ever heard of
.coffeescript
^
deadest language ever
it doesn't have yaml or other similar text highlighting
so it just calls some random bullshit most of the time
it called bash this time xD
How about the E language
I mean that's what bash functions look like
It had an idea
Let's get some fortran support up in here
also you can't select the syntax after yourself. which would be nice
I was going to add (when I was under the assumption it was custom) that it is very unnerving that I can't choose which language it thinks it is
But all you did was steal the hard work from hastebin
fortran fans vs lisp enjoyers
when you steal the open source project
time to steal luck's paste bin?
running software which is meant to be self hosted is stealing
Those poor poor souls whose work was stolen from their open source repo
Do you know how long they probably worked to intentionally make yml formatting come out as bash
They worked hard on this API and you pay them nothing
they didn't ask for anything tho
is this sarcasm that I can't understand or are you serious?
I'm being sarcastic ๐ I accused you of stealing open source and said they worked hard to make it malfunction lol
yeah. I think you also need to put a /s at the end of your sarcastic takes. bcz you, just like me, are bad at making sarcastic stuff look sarcastic.
Is accusing people of stealing open source software not a clear signal
I refuse to use tone indicators unironically
What is this 1984
hello based department?
you would be surprised to find out people like that exist.
Hey, @ocean quartz, you know a decent amount about GUIs. I'm just trying to improve the inventory type thing in Krypton to make it a registry, and I was thinking of adding rows and columns properties for each inventory type. However, most inventories don't really have a defined number of rows and columns in a grid pattern, so what should I do? should I leave the rows and columns undefined for those inventories? should I just scrap the rows and columns properties altogether?
take a geez at sponge
or I could make a new inventory type subclass called GridInventoryType that has the rows and columns properties
not actually a fan of sponge's inventory api but iirc they have something for rows & columns
I love geezing a sponge !
Can't you just transform all the inventory id ints into your own row and column system
Universally all invs use a 1d int array as id's so why not treat that as your foundation so you have repeatable row and column allotment
If I'm out of line and completely wrong and you @ 'd Matt (asking only for his opinion) sorry lol
I'm just here
Existing
u finally said something relatable. damn
ugh. u should be able to use them since you boosted
I think leaving it as just slots might be better as it's how it's basically implemented vanilla and would be pretty hard to adapt it, since it's Kotlin you can easily provide extension functions for rows/columns as an util for if people want to use it
yeah probably a decent idea
@prisma wave
ew
wut is dat
Font ligatures
o it seems very old
2016
It literally only give examples lol
Anybody know if i can make a react-bootstrap app auto update in intellij?
TIL that Lombok is an island right next to Java lol
yea an island
An island in the north ish of russia, close to Finland
i see what they did there
They posted a 20 minutes video on yt about the story of Kotlin and Andrey (๐ฉ) was mentioning that it was called "Jet" before, but it was already copyrighted so they went with Java's idea and named it after an island
you can copyright a island name lol
well. I will name the language I work on Blaagasgsagasgl. And then name my private island after the language.
someone pong me here?
$4 lol
also gotta use HTLM 
i don't get why people say like "make a plugin in java" or "website in css and html" when in the end it (at least with plugins, idk about websites) it won't really matter if you use java or kotlin
plus can you even make a functioning website with only css and html ๐ค
I mean sure but it wonโt be responsive lol
Like all the buttons wonโt do anything
o
Having to do HTML in email's is a fucking nightmare
Ayy looking nice ๐
๐
Was suffering through a lot of js to make that but then realized you can easily do it through css lol
nice
anyone know why its not possible to add a enchant glow to player heads in 1.17+ ?
you never could
Okay, why is that ?
yes
0.0
Because Mojang didn't feel like it i guess
although it would most likely look bad
okay thank you
What is that? It looks super cool!
Is it a template or something you can buy?
A wiki I am building, it's open source
Oh cool, can i see the github?
Is it in react or smth?
vue
React and Ktor https://github.com/TriumphTeam/website
oh i love typescript
i don't
would you rather use js? lol
Well it's better than JS, but still horrible
would you want to use kotlin then? Is that a pain in react?
I'd rather use Kotlin react, but it was a bit buggy so had to drop it ๐ฉ
ah ok, ya ive heard that from a few people before
still, ts is better than nothing(js)
he likes to suffer
i'm not using js
imagine knowing how to design a website in the first place though
You act like i know ๐ฅฒ
Literally just copying parts of websites I like the design of and putting it all together ๐ฅฒ
I thought that might've been the case lol
Design wise it looks very similar to gitbook
if I have a line that goes over that 100 chars limit or whatever it is called, is there any way I can stop iij from reformatting it when I use ctrl alt l?
Edit https://stackoverflow.com/a/19492318/11496439
Yeah mostly inspiration from gitbook
I went on leetcode for the first time right now and solved the daily problem. I'm looking at the submission chart and I'm seeing numerous solutions where the code is just "return true;". I'm assuming the site makes randomized test cases every check so they just brute force submitted until all test cases happened to be true? Why does the site allow for a solution that is "return true;" or am I confused and it's reasonable
Anyone else having issues with the gradle kotlin plugin version 1.5.21? 1.5.10 Works just fine but im getting some super weird errors on the newer version
Classic kotlin
Anything that works, goes
effectively this https://youtrack.jetbrains.com/issue/KT-42241
Ill try the new one again and give you the exact thing
Could not create task ':base:compileTestKotlin'.
> Could not create task of type 'KotlinCompile'.
> Could not create an instance of type org.jetbrains.kotlin.gradle.tasks.KotlinJavaToolchainProvider.
> Could not generate a decorated class for type KotlinJavaToolchainProvider.
> Cannot have abstract method KotlinJavaToolchain.getJdk().
Weird huh
But it completely alters the stats page for performance lol how tf does my legit solution compete with Johnny's brute force a billion times submission of "return true;" ๐
The testcases are the same across multiple submissions
I dont need the new version but its just kinda weird... are you using the kotlin dsl?
lol
Which IJ version are you on?
First attempt
Try updating
How tf did they end up with 46 test cases all returning true
Not possible because I can think of array setups where Lee wins and Alex doesn't
They must have literally by divine intervention of god himself gotten 46 test cases where every single one is true
Absolutely ridiculous
Give me the example
Thing is
Alex goes first
he can always choose the highest number
No
[2,200,1,1] sorry there
Same result
[2,200,1,1]
[2, 200, 1] - Alex 1
[200, 1] - Lee 2
[1] - Alex 201
[] Lee- 3
He has to make the most optimal decision
Well wait does it mean optimally relative to the full game or optimally relative to each turn
I feel like that's a very important distinction
Full game id assume
It only mentions they play Optimally
So it wouldnt be per round
Its a biased game, whoever goes first wins
That is ridiculous but far more likely than them intending optimally per turn and ending up with 46 true cases
๐
๐ฎ
Hot.
Meh, better than burning your eyes out
lol barely, though stackoverflow light theme is pretty disgusting
I have it reversed, it's off by default, then i choose which pages to turn it on on
Now before glare screams at me, matt could you do me a favour?
Sure, what's up? ;o
StackOverflow has dark theme xD
I have the next update for the lib and gradle plugin ready on the compile-time-resolution branch, could you please merge and publish it? ๐ฅฒ
I have a flight in a bit
Fancy
๐ฅฒ
I looked that up and didnt find anything, how do you get to it?!
So I change it to 1.2.5 in my gradle props?
Sure thing
Oh hot.
Click on your profile, go to edit -> preferences
The props file now manages what repo to implicitly add and if compile time resolution should be used
Bravo.
Just to double check before I merge, is this right Yugi? https://github.com/slimjar/slimjar/pull/49
found it! Idk why i wasnt able to find that before
yup
oh wait the keys might be diff for the lib now
ill dm you my key
I had changed repo to a new vps a month ago
Oh yeah i didn't think about the lib, i never published that one xD
lol
@ocean quartz Still getting the same error ๐ฆ guess im just gonna have to wait for it to be fixed
Is your project OS by any chance? I could try opening it on mine and see what happens
not the current one im working on, but ill try on another that is, one second
Also Matt don't forget to make a new Github release for it too pls.
Great it works in the open source project...
doesnt really matter anyways
ig
Published, though I can't draft a new release on GH, that has to be @old wyvern
All good
I think i had a similar issue before, it was because i had my gradle wrong, don't remember what
Oh wait yeah i can nvm
Bruh.
Maybe it didnt add the repo
๐คฆโโ๏ธ
Issue in gradle plugin I guess
God dammit
You can temp try adding my repo manually glare
I'll fix it once I reach home
Yup that was it.
It should though 
๐คท
gradle bad
gradle is a absolute mystery
We need to make our own build tool, written in Haskell!
triumph build tool
stop
Tradle
stop the monopoly
no!
Looks pretty solid.
Resolutions: https://paste.helpch.at/bitohuxiga.json
Base: https://paste.helpch.at/asevuhupom.json
oo delicious
I'm trying to add Particles to Arrows, does anyone know a tutorial or anything?
This one seems very solid. It should be noted they choose to use packets directly when you don't have to do that and there is a more spigot friendly way of doing it with the playEffect function. But yeah this should work fine assuming their packet code specifically isn't outdated (post is a bit old)
https://bukkit.org/threads/tutorial-particle-effects-for-arrows.251835/
ok
We should rewrite terrible plugin but instead just a cursed plugin, where it actually is fully functional but the code is as cursed as it gets, like for example
TerriblePlugin does contain good code snippets occasionally
you monad
Funny story. Idk if you guys have ever heard of Wynncraft but they have this bank storage system. Back in the day they had one of the GUI buttons be "search" but when you "searched" it just literally did nothing or the results made 0 sense. So I made a free publicly available open source clone of their plugin with a properly functioning search feature. After that, instead of clapping back with their own functioning search, they just removed the GUI button entirely ๐
Sauce: https://imgur.com/GKDbWLU.png
Lmao
That server is so good lol
It is the only RPG server I can stand playing on. The only downfall is their garbage garbage map system but now they have the light beams to indicate a compass guidance system.
Not as good as #mc-server-general
really depends on the use case
Hm ok
It seems actually in my case im using different types of executors and i dont have to store them in a provider for now at least
Nah like a singleton
well it depends on the use case
generally i store them as a constant
but if you needed to shut the executor down at runtime, then youโd want a more mutable solution (or di, any method which ultimately results in a fresh executor)
Ic
I love this guy saying no mods on every showcase
They factually function without mods
I think it's pretty cool to have made what was mod-only functionality before I made it
Plugins are server sided mods :d
Common mc culture would consider "mod" to imply modded client
The portal used some fancy linear algebra and spacial matrix transformations
I would definitely claim that is not basic
bAsIc
Back when I made the quarry plugin, I was one of the first to implement additional custom blocks with "custom" hit boxes
At least that I knew of
Show source, I'm in a flamming kind of mood
It's public source but I don't want to get roasted by someone with bad intent
Nah I mean constructive criticism
I like getting roasted for fun but I feel like you're malicious
Brb, work ๐คก
[as]
The biggest I know
So I got this laptop from work and when I try to connect my monitor through a HDMI cable, the image quality of the monitor is kinda poor, like 720p, any way to fix this?
๐ @obtuse gale
Lmao
don't get a second monitor if you're not cool like me smh.
I don't think the specs are the problem tbh
And no, I'm not flexing something that I don't even own.
yup it is working now

ty star
Have you seen the neural network implementation that makes it legitimately look real
Sauce: https://youtu.be/P1IcaBn3ej0?t=10
I yes. Boss. Give me laptop. I Will do a lot of work. I will watch GTA V videos.
idk I just needed a hd video
=joke
So, I heard this pun about cows, but itโs kinda offensive so I wonโt say it. I donโt want there to be any beef between us.
I'm trying to backup Nexus so i can update the docker container, in the documentation it says there should be a folder named sonatype-work but it's nowhere to be found. I found that there are blob storages which are apparently used by some repositories in the Container. Can i just backup those and replace the default blob storage in the new docker container or am i missing something?
Omg stop flexing ๐๐
wasn't there a way to start minecraft using a cli, without a gui?
not with the default client
nogui at the end
someone check my request xd
Done I have checked it
oof

@cunning oriole Mate, 3$ doesn't even grant you the perk of opening an IDE, let alone fixing a plugin
fixing one bug bruh
Let's say it's a 5min fix, good, what if it's spaghetti code and you spend an hour looking for that damn bug, what a waste amirite
20$/h and imma do it
Which requires tons of debugging, it's already hard on your plugin, can you imagine other people's plugins?
Let's say you're building a house, a wooden 30x30, and a mansion 100x100. It's just one house so the price is the same right?
you can't judge the code without even looking at it
uh
Well it's a spigot plugin I'm guessing, so the chances are 90% that the code is utter dogshit
If not higher
nice upgrade @distant sun

can you use it for non work stuff?
idk
You can, if it's not my code, it's shit, if it's my code it's also shit
maybe he was told to test whether the laptop could watch youtube videos and run discord
nothing unusual. we all have to watch GTA V moments for work
oh. Ic. my bad. xD
swf content yknow
yeah me neither
ah shit, sfw*
ugh the fucking javadocs changed again
and docdex is broke
why do they keep changing the damn html structure
only if the javadocs were as good as the kotlin docs ๐ฆ

kotlin docs are even worse iirc
yeah
yea that is what I mean
but iirc they have different formats
it is more readable I guess
not for a machine
all piggy can think about is DocDex. but problem is he doesn't even update it

technological singularity and all that
xD
amazong
would it be possible to make a spigot plugin that auto updates to new major versions? 
yes
like it changes its code by itself etc
You can make it download a new jar
Yea, build a robot that can do all that for u
I swear to got SkinRestorer or some other plugin used to do that. maybe still does
when i get gpt-3 access, it'll be the new docdex
Yeah ..
wew they hit 5+mill downloads on spigot
who
they
@static zealot I was using that video for testing smh
I was joking. smh
Stoopid
SkinRestorer
and yes @sly sonnet seems like skin restorer still has an auto updater
according to the config files from github. to lazy to go thru the code
ah yes
here @sly sonnet take a look: https://github.com/SkinsRestorer/SkinsRestorerX/tree/main/src/main/java/net/skinsrestorer/bukkit/utils

Yummy,
import lombok.Getter;
๐ฅด
yummy yummy indeed
ยฏ\_(ใ)_/ยฏ
an auto updater usually reffers to checking if there's a new version avilable for download
Ew
updating plugins automatically is very bad idea
^
yea just have fun coding ๐
legit why would u even
checking for updates? thats fine with me
but automatically downloading them is worse than satan
Reminds me of CMI lib
can we also just talk about how this guy obviously doesn't know what modules are
because you definitely need to shade XSeries and PaperLib in to a Bungee plugin
xD
yes
The worst part is they are all inconsistent
aha aha aha yeah yeah aha yeah aha
the more the merrier
Inconsistency is key
Only one you need
hold up, 5.2m downloads wtf ๐ณ
bot downloads. they're aware. they used to make announcements about that and even take down the download button I Think or something like that sometimes.
they would get 10-100k downloads in minutes
i feel like this project is one of those that work fine when developing but goes to shit after publishing
*my every plugin*
See it's user error that fucks you most of the time
is it just me or does pretty much every large bug in software seem to always be fixable in under 20 lines of diff
Since when you can't have code blocks in channel topics?
what?
I swear Discord is very strict about that sort of thing
any text box outside of the text box you use to chat is quite restrictive
I have a channel where I use diff for changelog and I wanted to put the format on the topic so everyone knows what's going on
I guess you could just pin it instead
yeah I did =/
Which one is better:
CoroutineScope(Dispatchers.IO).launch {}(in a plugin)-
Bukkit.getScheduler().runTaskAsynchronously(plugin, Runnable { runBlocking {
}})
๐ฅด
since I want to be sure that it won't run on the main thread
you definitely don't want to do that async, you might want to copy them sync to another directory first as some sort of snapshot, then read async from that
getting a list of chunks from a world, its harder than i thought ๐ฉ unless im missing something
all generated chunks
not just loaded ones
thanks ๐

There is no time to wait! Ask your question @prisma wave!
i have a question
There is no time to wait! Ask your question @prisma wave!
well
so
uh
@Override
public byte @NotNull [] toPrimitive(@NotNull List<T> complex, @NotNull PersistentDataAdapterContext context) {
//noinspection UnstableApiUsage
var out = ByteStreams.newDataOutput();
out.writeInt(complex.size());
for (T t : complex) {
out.write(singleType.toPrimitive(t, context));
}
return out.toByteArray();
}
``` i've got this
but then
NOT configuration help
well
fuck off
i don't care
no
i can just assume that each thingy is the same length and divide by length
genius
absolutely genius
is that really a good idea?
does T encode to a fixed size byte array?
it had better
or there will be trouble
but
on a more serious note i have no idea on any other way to do it
might wanna store something like PersistentDataType<PersistentDataContainer, T> or smth instead
kinda like in json an array of objects
well, an
whatttt
okay do whatever lol
all i want is to take my Point data type and store a List<Point>
well
correction: im not reading the region files, I'm reading the region file names
since the region file names has the region locations
and then i get the chunk locations from the region locations
that does not imply that all chunks in the region have been generated
i know
but i don't know how to figure out if the chunk has been generated ๐ฉ
ok discord send my message plz
what
on an unrelated note was it you that posted the article about the hashmap infinite loop thread safety thing
but i don't know how to figure out if the chunk has been generated ๐ฉ
there we go
if so please provide me with the url
it was me yes
๐ฅบ im still not in it xD
thank you so much
do u think im good enough to apply for developer role
go for it, you lose nothing by applying
you lose everything by applying
OH CRIKEY
dont worry
crisis averted
i realised there was a big edge case
however
i also realised that i do not care
lmao
https://i.imgur.com/AReP2ZV.png i don't think this is a good sign ๐ฅฒ
Yeah
Mission successful, I a Java guy was converted into Kotlin in SpigotMC :0
I thought you were a Kotlin Karen
๐ฅด
I lowkey use kotlin
But this commission pulled me back to Java
Lombok users in hell
man increased his budget for how much?
We should make a notorious list of known devs who use Lombok
imaginedev
ImagineDev
Jochyoua
Lmfao
Rack
Auxilor
Auxilor
Lol
How did I miss that one lul
Yeah he bad
He irrevelant
๐คก
/s
But honestly imagine using Lombok inside an API
Lol
Can't wait for this feature
private val list = mutableListOf<String>()
public get(): List<String>
Ye
ADTs ๐
Another feature basically stolen from certain other languages but still good
They're better off without you.
wise words
but
Hello sxtanna

