#dev-general
1 messages ยท Page 248 of 1
How does hypixel make my ping always say 1ms
I can only see my ping if I go to server menu
or if I'm really laggy (like above 300ms)
packet wizardry
oh
๐ค
btw any point of making packages in a util.. project (is there any other name than "plugin" and "project)? (besides the base package)
@prisma wave IMO it's better if the sentence isn't cut with in-between "uh"s (obviously), but I would prefer a silent pause instead of an "uh" lol
yeah, im trying to find the balance of pause and "uh"s
can we see it so far :>
once ive cut out the mess
uh doesnt sound bad unless theres one like every 20 seconds or something
๐ฆ
its natural
any that I might be in?
you can also hear my chair in the background which kinda sucks
yeah ive only done 1 take so far
might redo a few
Yea so you can actually cut together the best ones
Piggy atm no but Iโm striving to get this bad boy in more dev related servers
rtx voice it bm
wot
You could try noise reduction with audacity or something
Autotune
Not sure how much it would help
oh
was using it today with cube with a pedestal fan right next to my mic
he couldn't hear it
Any decent recording software should be able to do that
yeah ill try audacity first
yeah I heard RTX is very, very good at removing background audio
Audacity good
Audacity might allow you to isolate and remove specific frequencies though, which may be more beneficial
yeah just throw an EQ filter on it
Audacity specifically has noise reduction effects
You can select a portion with nothing but background noise, analyse that and remove it from your entire audio
yeah let me try that
Then the audio might sound a bit dull afterwards, which is where Compression and EQ comes in
interesting
Ok, rendering the current thing as audio-only so i can keep all of the crops, then will play around on audacity
Obv the result also depends a bit on your mic lol
when you realise a project you spent a few days on and thought you backed up apparently didn't copy properly and somehow got corrupted
:/
unfortunate
and all my documents with things I can't get back seem to have corrupted
idfk how, I literally rsynced it over to the external and it was all fine
like the 1 folder that was very, very important for me to keep
maybe it's just that Windows can't read it
Similar thing happened to me, first SSD I had brought and it died within 8 months - lost pretty much everything and only had a backup from about a year previous.
How many minutes is the video?
Well my story is a bit more complex than that. Basically, got a new M.2, wanted to move Windows to it without reinstalling, worked fine for a bit, then stopped working because the boot loader somehow fucked itself, had to reinstall
17
Quality?
i just wanted to slap the cropped audio back into audacity for compression
mp3 afaik
I can recall my raspberry pi SD card's breaking. One day just wouldn't boot up. Could still load it into a PC and extract all the files, it would just not boot
if I've learned something though, it's that as many excuses as I try and make to not, I should back up my fucking hard drives
my internet is not all that great, so cloud backups daily is just unthinkable, it'd take more than a day to backup all my data anyway
should be the R:/ drive
oh, and a Downloads.Old folder that stores all my old downloads that I don't even need
that was terrible
at least you understood the joke
literally, when my main drive used to get full, I'd just move all my downloads to that folder to clear out space lol
currently it's got 71 GB of just downloads in it
I should get more massive hard drives to backup my shit lol
Pirate joke?
yar
oh ffs I've only just got that
ah ok
:/
maybe a hard drive backup once a week and a cloud backup once a month will do
anyone got recommendations for cheap massive HDDs btw?
r/datahorder
oh that reminds me of someone who'd be perfect for this lol
he has like 6 TB of just films & tv shows
r/DataHoarder: This is a sub that aims at bringing data hoarders together to share their passion with like minded people.
@prisma wave Kotlin posted this today on twitter, this is exactly what i needed earlier this week, and it's so much simpler lol
interesting
is it worth getting NAS hard drives?
that looks really useful
Ikr
also, does that mean we can now have multiple return thingys from one function?
like return more than one thing?
or have you always been able to do that and I've just been living under a rock apparently
you've always technically not been able to do that
Kinda, that is basically destructured
you can only return 1 value but you can destructure it
^
so partition probably returns a List
and so it's just sugar for list[0], list[1]
ah okay
in MVVM the ViewModel observes the model to get updated right?
Huh, asked about the license stuff on open source stack exchange, still no concrete answer but someone replied:
The copyrightability of APIs is something under debate; could you please give a link to the exact project you're talking about? โ Philip Kendall
Shit's so complicated xD
Oh god
๐ค
I've got a 3TB one, with a mirror (backup) drive
Any idea what would make IIJ not show the sources of a lib?
( it works for @ocean quartz )
@distant sun you sure it was able to download them?
some developers don't compile the sources jar and push that to their maven repo
actually that doesn't apply here
is my own thing
but it's likely unable to download them
and sources are definitely there since it works for Matt
what's the repo link btw? or is it on maven central?
on rs?
your server
oh
you could've just copied one of the words and put it into google translate lol
Good point
so much disrespect
Uh I actually thought it was french
yeah the sources JAR is in there, I can see it
Sorry if that offended you
๐ข
so the download sources button doesn't download the sources?
no ..
7:46:25 PM: Executing task 'DownloadSources'...
> Task :DownloadSources
Attempt to download sources from MavenRepo
Attempt to download sources from maven
Attempt to download sources from maven2
Attempt to download sources from maven3
Sources were downloaded to C:\Users\dumit\.gradle\caches\modules-2\files-2.1\net.royalsaga.test\common-utils\0.0.17\9896522667ef4de99e7c541aeffc3c139629fbb0\common-utils-0.0.17-sources.jar
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 3s
1 actionable task: 1 executed
7:46:28 PM: Task execution finished 'DownloadSources'.```
you mean "Reload all gradle projects"?
yeah
yup
gradle downloaded the sources though, which is the weirdest part about it
does it work for you?
UHHHHHHHH
on a side note, gotta love fernflower "decompiler"
a n n o y i n g
because a comment that says "compiled code" is really useful isn't it
ikr?
also, another thing about decompiling, you know even CFR can't decompile whatever mess LiteBans is very well
o
but even though LiteBans' method of obfuscation is definitely against the rules, somehow Ruan gets away with it
he's not even on the list of other allowed obfuscators either, so idk what kinda program he made lol
I swear the rules clearly say that your plugin must be able to be easily decompiled and read by staff
"somewhat legible"
I don't necessarily hate the plugin, what Ruan has pulled off is pretty good, but I can't stand Ruan as a person
like what kind of dick head says this
..is that on Spigot?
he said that on the LiteBans discussion yeah
lmfao
That's directly against the tos
unless you are Ruan I guess
I'm half tempted to make a ticket reporting him for breaking the rules
as usual
if you get enough support then maybe
private object Query {
fun createTable(table: String): String {
return """
CREATE TABLE IF NOT EXISTS `$table` (
`uuid` TEXT NOT NULL,
`name` TEXT NOT NULL,
`claims` INT NOT NULL,
`level` INT NOT NULL,
`last_claim` INT NOT NULL,
PRIMARY KEY(uuid)
);
""".trimIndent()
}
fun insertData(table: String): String {
return """
INSERT INTO `$table` (uuid, name, claims, level, last_claim)
VALUES (?, ?, ?, ?, ?)
ON CONFLICT (uuid) DO UPDATE
SET claims = ?, level = ?, last_claim = ?;
""".trimIndent() // Bad way of using "ON CONFLICT"?
}
fun selectData(table: String): String {
return "SELECT uuid, claims, level, last_claim FROM `$table`;"
}
}```
open source everything
Yass
that's a nice object you got there
talking to me noob?
That could be top level constants instead noob
You're still providing the name?
nerds
Oh didn't see that, but could still be top level
HoW
Remove the object lol
wew pretty sure episode 1 is mostly ready
I dont understand @ocean quartz
Turn the object into just top level functions
That object holds no state
hmm
object Quary {
fun thing() = thing
}
to
fun thing() = thing
what's "top level" though
outside classes
so, this?
class Class {
}
fun something() {}```
Remove the class gaby, just a file with functions
that object is inside a class smh
My database system uses classes to reflectively create the instances of migrations so that's a no
gross
Wow wow
might be gross but it's super user friendly so
Need to add Kotlin extensions to my library
Oh no, the singleton is gonna trigger bm
๐ฆ
or will it idk
It doesn't
static gross
that's like the one spot I use static other than constants
static indeed gross
Is nobody triggered by my migration class names starting with an underscore
that was gross too
I was trying to be polite and avoid saying anything about that, it did indeed
we're too nice
Feel free to shred my Kotlin to pieces I know I don't have much experience with it
@tranquil crane I'm not complaining about your Kotlin, I'm complaining about your choice to use raw SQL xD
Nothing wrong with that
How else would I do that without including a massive library to build queries for me
Raw sql is speedy
^
I know, just a bit of personal preference
and also, you're more likely to fuck up with raw SQL
I can optimize raw sql like crazy though if I have to
Let me get you a super gross example
I tend to create a diagram of my sql then auto generate queries, so not that much to fuckup
also, exposed is nice
it's JetBrains' own Kotlin ORM
optimization
it's disgusting I know but it's hella fast
what is what?
nicole's "optimizations"
I just wouldn't ask any questions
probably wise
lmao
just try not to burn your eyes out
If you can find a better way of doing it I'm all ears
this is the sort of code that you just write once, put away and never ever look at again
interesting
no but that's not the point
it's still gross
I fully acknowledge that
is it fast tho
Yes
probably worth it then
I'm running that constantly when a chunk loads
Hibernate is nice
it's stupid fast, since it's JetBrains, and it's made in Kotlin for Kotlin, so it's got things that you probably won't find in most Java libraries
oh, and it's lightweight
ok but it's not hibernate
sooooooooooo
exposed does most of the stuff for you, hibernate does everything for you
hardcoding table names in code
miss me with that
doesn't Hibernate use a system very similar to JPA?
it uses JPA for its api
ah, it's an implementation of JPA
isn't Hibernate quite heavy though?
it's not light
I've only used the .net version of it though
I would love to hibernate through this pandemic
exposed is literally less than a MB
Not touching mssql with a 10 foot pole
id love to hibernate anyways
Kotlin 1.5mb, coroutines 1mb, hibernate 10mb, your code 100kb lmao
while I approve of hibernate I do not approve of its naming conventions
pdm 30kb
Just a thought
I've considered using pdm
I need to finish this plugin but it came to a point where I need to store data and I hate that -.-
Thanks
If only someone would add relocation ๐
^
Yeah piggy has really let me down
show me what a Hibernate ORM class looks like in Kotlin
@Entity
data class lol(val lol: 3)
blaming someone else for ur own project ๐ฅฒ
what can i say
ah fair enough
it was piggy's PR
therefore he is responsible to finish it and i do not have to put in any work at all
@prisma wave you should take this request, i think you'd do great in it
#783231033629212672 message
I swear JPA has some issues with Kotlin though or something
request-free? no thank you
my services don't come cheap
compiler plugin fixes that
kotlin compiler plugin?
didn't know kotlin had a compiler plugin
or is it just called the compiler plugin
the jpa plugin for the kotlin compiler
they leave a lot to be desired
it's especially annoying implementing Java interfaces in Kotlin
how so?
because you have to implement all the getter methods
unless you managed to do some whack and avoid that
in which, educate me
lol bad pc
๐
kdenlive
the what what
I would love to record a video like that, but my accent is .. something
as long as you're clear it probably doesn't matter
Could fake an indian accent to sound smarter

To sound at least
I have a russian accent lol
Kwrva
According to my fiance she can't detect where my accent is from, but she says definitely can hear it and it's neither american nor british xD
Licht
iPSK ๐
Yes
How did you came with this name
Which one?
My fiance learned german in school, she likes animals so she called herself SchattenHund so i was like nice, you're shadow i'll be light then
Aww
Brazil/Portugal
Lauren > Matt
@winter plover Wow wow ^
wait she's in here
Damn I didnt even misspelled it
uwu
Fr
yeah
salutations
Romantique mf
Wurst
ich bin gut, und du? ;p
I can feel the Hs and Ts hitting me in the face just by looking that that phrase
ich ich ich
Isnt your language close to german lemmo?
sc rat ch
speak english, where Ts are non existent in a british accent ๐
The opposite kind
๐
Jesus
Oida
imo the most iconic word i learned in my four years of german was geschirrspรผlmaschine
Literally every word is full of rage lol
i never forgot that one
Nature.. word for ambulance
:^(
Someone tried to make it
where do u think they got it from
m a t t
๐ค
You want to buy 2 breads and 1L of milk and sounds like you want to start a war
Lmfao
geschirrspรผlmaschineI'm not even going to try reading that
lmfao
and yeah german is close to my language but not that close
Hallo ๐ ich ๐ mรถchte ๐
dutch
dutch
dutch
dutchโฝ
hctud
that's correct
Max
enyone help me ?
I'm sorry, but i saw this in a meme so i have to use it
Ah! The swamp german!
m a t t
yes

Mf
Free slime ball farm
Vaishnav
Why did matt choose this out of every other options for a name? xD
right
Yea
or did i spell it incorrectly
Thats right
ayy
xD
Because i am terrible with names
India
Gaby did
efefury u ?
what for?
are u turk ?
xD
I love how every single one of us are from a different country
kardes
vadim blyat
Alecu salam
the only turkish word i know
uk
efe did u use deluxe menus plugin ?_
correct
Salaam alaikum
im not muslim
Ye you got it
๐
You just gotta wait, someone will
no
hes a bit better than trump
still doesnt mean hes good
whats wrong with that?
except for the scandal that happened at the start ๐ฅฒ
We have an app for that too, i have it on my phone, nothing wrong with that
its a good thing?
You already have one, it's called Google
that's deep, bro
meow in different languages / 2.000 subscribers before quarantine is over
https://www.youtube.com/watch?v=psnpIGOK6Co
F the wrong one
@distant sun Then you have this https://www.youtube.com/watch?v=aRsWk4JZa5k
Just a Turkish man yelling "meow" at an egg. EDIT: YES, HE'S TURKISH, NOT BRAZILIAN.
Context: This guy was doing some magic tricks at a tourist stop in Alanya, Turkey, and this is just a small out-of-context part of one of the tricks.
Wait
He's not turkish
What is it? I swore this was Brazil, oh well
Meow in different languages / Dio Brando
https://www.youtube.com/watch?v=5_KCCavPFh4
Tbh sounds fun
voice reveal ๐ค
๐
theres a few annoying sound glitches too ๐
lol bad mic
๐ฆ
toooo quiet
turn ur volume up
I had to put my volume all the way upp
this isnt the actual video
yeah join it's really good
:)
IUJSAHDiusahdiuashdiuahsd
yes.
imagine not using java 11
The video content in this course will use Sublime Text as a text editor.. because.. I like it. It's really nice. You really could use anything.. just don't use notepad
๐
couldnt be me
also why did it sound like the keyboard sounds were like super off of what you were typing
what OS is this?
some linux distro
yeah it was annoying me too, i recorded audio and video separately and they got slightly out of sync
im not sure i can be bothered to fix it tbh
thanks
an 11 minute video with nothing to do with spigot ๐ด
ppls gonna skip the episodes
their loss
You should do a video of you finishing PDM.
i agree.
ngl I've never seen javac before
thats because u dont need to use it if uve always used an IDE
^
does gradle do javac?
https://youtu.be/E_MaTIjQx38?t=590 lots of "beeps"
ep 1 lol
yeah it seems to happen whenever i cropped the audio
pretty weird and idk how to fix
he said the L word
๐ฎ
doesnt matter ๐ฅฒ
11 minutes for the setup
hello world + installing stuff + showing the commands + introducing the course
I haven't seen the video yet but even that may be overwhelming to some extent ๐
hopefully not
But again, I haven't seen the video yet so my opinion is completely invalid
but that's why i've showed it to you guys to get a feel of things
it might be shit
we'll see
btw what is better:
- AdoptOpenJDK (HotSpot)
- AdoptOpenJDK (OpenJ9)
- Amazon Corretto
- Azul Zulu Community
- BellSoft Liberica JDK
my course answers that question 
;-;
most of the time adoptopenjdk hotspot is the best
thx
unless you have a specific need for the other
ORACLE JDK
umm
yes ๐
@prisma wave
Small suggestion: The slideshow should possibly have lesser text with just the main points and you could add onto them with detail while explaining
yeah that is a good idea
Great job btw!
it was like ยฃ6 lol
xD
but i thought the audio quality was kinda wack so
not great though
Also, did not expect that voice xD
I was assuming a slightly higher pitch
๐คฃ
well i was trying to sound professional so i spoke a bit more seriously lol
xD
but yea yugi did a good suggestion
so make a quick bullet point slideshow for the video, then put the scripted slideshow in the downloads?
that makes sense
only problem is ive only got 1 monitor
so might have to print notes lol
๐
just buy a second monitor with ur pop filter 4head
good point
i agree
๐
what size lol
24
Would you consider initialization blocks bad?
uh possibly actually
๐คฃ
that's to kali
xD
i dont use them very often but i guess they're useful sometimes
ok kali my current one 24 as well so i might actually take you up on that
The kid who cant hear one?
as in?
Check out the official music video for "La la la" by Naughty Boy ft. Sam Smith
From Naughty Boy's debut album "Hotel Cabana"
AVAILABLE NOW - Download: http://po.st/HCiTunes
Watch the Hotel Cabana trailer at http://www.hotel-cabana.com
Follow Naughty Boy
http://www.facebook.com/NBoyMusic
http://www.twitter.com/naughtyboymusic
Video Directe...
This one?
oh nvm
thats the only lalala song i know too
ah
oh that one
The intro weirds me out ussually so I skip it
I dont use spotify much
Its weird here
You cant choose songs
its like a radio
oof
some music law here I think
Worked fine in India
Ah
Did that finally get banned from US?
is qatar a muslim country?
Yea
ig that makes sense then
wdym?
afaik muslims arent supposed to listen to music, smth like that
when its ramadan my friends dont listen to music
but when its not, they will. idk ๐
oh
Are you sure?
People here seem to be fine with music ussually
I assumed it might just be some law with music distribution
i guess its a preference thing
I don't know any muslim who doesn't listen to music
same
Interesting #dev-general talk though PepeLaugh
xD
yea we should probably head over to #off-topic
hmm possibly
@prisma wave The sound is very quiet
Let me leave a constructive comment on it
sure
Just a Joke btw i'll delete it xD
But nah, other than the sound being quiet i think it's pretty good, easy to understand no like background noise or anything
Oh i didn't even see lol, i was alt-tabbed
glad it's good though, i'll work on the sound tomorrow :)
Also if anyone want to join the discussion xD
https://opensource.stackexchange.com/questions/11008/software-under-lgpl-and-api-under-gpl-which-license-do-addons-follow
where can I see the video?
it's also got quite a lot of implementation code
i posted it further up a bit, lemme get a new link
it's an unlisted "beta" rn
lemme @quiet depot too
for when you wake up
val islands = mutableMapOf<IslandWorldGroup, IslandGroup>()
rosePlugin.getManager<WorldManager>().worldGroups.forEach { worldGroup ->
val islandGroup = dataManager.getIslandGroup(owner, worldGroup) ?: return@forEach
islands[worldGroup] = islandGroup
}
```feels like there should be a Kotlin function to do what this does here
any idea what it might be?
What does this code do?
gets the list of world groups and iterates over them, and then adds each one to a map where the owner is provided as a param to the method
@prisma wave kudos to you, the video is already pretty good
other than the volume which is indeed a little low, my only criticism would be elaborating on running stuff in the terminal
I think that explanation was a little confusing
do the terminal in windows ๐
I'd assume most people haven't really touched a terminal before so
Hello, where can I ask my questions about the api?
what api
kiteboard api 
PlaceHolderApi
p api?
Yeah
thanks
yeah I agree, i kinda glossed over it because I was assuming people would know how to use it already
but an explanation would be better
i dual boot so i'll record a windows example tomorrow
Good idea, was about to say if you need any footage feel free to ask us windows users
Hey BM, I know of a series (C++ tho, but that doesn't really matter) that you could use as "blueprint" to follow
It's really good in terms of teaching
well if you're more than welcome to record it and save me the effort lol
It also starts from absolute scratch
Dude started with c++ alone (https://youtube.com/playlist?list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb) to then way later on start another, separate playlist for opengl for a game engine (https://youtube.com/playlist?list=PLlrATfBNZ98dC-V-N3m0Go4deliWHPFwT) (didn't abandon the c++ one, that's dedication!)
Again, the content itself isn't what really matters, but I really liked the style he used and the general layout of things and how slow and thorough he is as well
school ๐ฅฒ
Looks pretty well done judging by the first few minutes
ยฟAlguien hablar espaรฑol ๐ค?
quizรกs
como que quizas :v
Ouais
yo hablo man
"SI es que me preguntas a mรญ"
Saite kaslo sdsf
noice
@obtuse gale ยฟMe podrรญas ayudar en algo?
I speak spanish
con una condiciรณn
My english is very bad xd
cual
me tenรฉs que decir el problema
si no sรฉ el problema no puedo ayudar
XDD
ching chong
Nuestro espaรฑol es muy malo
pero vamos a #development seguro ๐ค
je ne comprends pas mais tu parles francais?
depende, de quรฉ es especificamente?
ยฟQuรฉ pasa con eso?
Lo que intento hacer es que si tiene place holder y tenga una expasiรณn no se cualquiera, la pueda usar en caso que no tenga placeholder no salga la variable
no sรฉ si me dejo entender ๐ค
oui
quรฉ?
._.
da
nu
ยฟEstรกs hablando de alguna expansiรณn especรญfica?
supongamos que tengo el comando:
/hola
y sea configurable, entonces cuando tenga PAPI e instale una expasiรณn como vault ponga la variable
%vault_rank% se remplace, en caso que no tenga PAPI no se remplace
@obtuse gale ๐ค
idek the issue but ๐ ๐ ๐
would love to, but I'm at my family rn and only have access to a very shitty laptop that freezes with every keystroke. To whoever ends up recording it though I'd also suggest recording the installation of the JDK (including ticking the "add to PATH" boxes etc) as well as perhaps showing how to enable file extension display in the explorer
Por lo que entiendo simplemente tendrรญas que pedirle a PAPI esa placeholder? Si no existe no va a ser reemplazada, no habrรญa nada que reemplazar
Estoy diciendo que si no hay placeholder no dรฉ algรบn erorr, si estรก placeholder con la expansiรณn expecรญfica se remplace
Da error si no existe?
hice el intento de string a = Plache.... y el p.sendMessage(ChatColor.....Place..)
y demรกs, cuando no tengo el PAPI me sale error
se
Y bueno si, si PAPI no estรก instalado obvio que va a saltar un error xd
Pero claramente quiero que si no estรก instalado no de error
aunque remplace la variable
no sรฉ si me dejo entender
o
lo tengo como softdepend
Fair enough lol, maybe another time
I might be overestimating the average person here, but is recording the install process really necessary? I would hope that anyone learning to code at least knows how to install a program
trust me
they don't
๐ฌ
i agree with bm here
The thing is they need to know which options to tick
u SHOULD know how to install a prorgram, its seriously not hard
it's in the advanced installation settings
Good point, I've not installed on windows in a while so don't remember the intricacies
I guess I'll do a windows install + terminal guide
Para eso tendrรญas que:
- Poner en el plugin.yml en
softdependagregar "PlaceholderAPI" (que ahora leo que ya estรก) - Chequear si estรก instalado (
Bukkit.getPluginManager().isPluginEnabled("PlaceholderAPI")) - Guardar el resultado de eso en alguna variable y tener en tu clase donde reemplazas las placeholders algo tipo
if (isPapiInstalled) {
return blah; // estรก instalado
} else {
return otherBlah; // no estรก instalado
}
El truco estรก en no llamar/invocar mรฉtodos o classes de PAPI si no estรก instalado, bรกsicamente evitarlo a toda costa
cant do a mac version, and hopefully a linux one isn't necessary - anyone using Linux is probably gonna be competent enough
probably
hopefully
Bueno, gracias intentarรฉ hacerlo
since when does everyone speak spanish
you're absolutely right
Since google translate
if you speak spanish you are handsome

And now you have a ghost ping
ghost pinging is illegal
Idk the keybind, I usually just double tap shift and then "find"
ctrl+shift+f on windows
I meant in IntelliJ
Yeah it's ctrl + shift + f in IJ
On windows there is because mac doesn't have ctrl xD
Ah
sorry, should've been more specific
Search settings? I mean settings have a searchbar
Or are you talking about this screen?
Ey lads where do I go for support on autosell?
isnt there a #autosell
that one
Double tap shift
cheers
Was gonna ask for $10 to tell you who it was, but
well
But it's worth more than that
$3
2.5$ here
CORRUPT moderators
Can't make a better offer than that
How about 2.0$
I saw something
sometimes
i wish that when we code plugins
they can work
what am i saying lol

?
Idk like
you wish plugins would work
they way you intended them to work
but then you go back into the code
and be like bruh
Oh yeah, happens all the time.
I recently had to make a protection system for something and it took forever to find out what events were fired in certain instances. Never wanted to touch another event again.
atleast mc is easy to work with
Lol
@half harness you wanted to read a json from a URL connection, right?
If you're using gson, you can just gson.fromJson(new InputStreamReader(url.openStream()), JsonObject.class); (if it's a JsonObject that is, could be a JsonArray)
Yes Matt, I know
gson โฅ๏ธ
@quiet depot About our talk earlier today, I asked on OS stack exchange about it and someone replied this:
You describe Bukkit as an API, and I can see that their readme does as well. But I'm having a hard time accepting this file (to pick on a random example) as "API code." It looks a lot more like an implementation to me.
The file he's talking about is https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/browse/src/main/java/org/bukkit/Location.java
link me to the post
Like Philip said there, copyright for APIs is under debate
Which makes me think that it would really follow the implementation's license like you mention
Oh damn, i had 100 points here, don't remember talking on this one though
anyway that's definitely not an implementation
it's well and truly part of the api
I mean technically it is an implementation (as in it implements two classes)
but in general terms no
It's confusing xD
But i agree yeah
I'll reply tomorrow and see if someone else will comment on it
bukkit actually does a good job with making sure there's no real implementations in the api
imo
This is the first man that I see can handle all of 1.16.4 items into separate category manually... why
While I was fixing plugin for somebody
I can't sort my items into 3 separate chests and this man makes something for every material
good
only good thing that will happen in 2021
P.S: The dude's code looks crappy that I had to recode the entire classes
Every single methods, fields are all static in like 15 classes straight
Not even one thing were left non-static
Possibly yeah 
Where might be a good place to get collaborators for a plugin project?
afternoon guys, was just trying to get commit signing and stuff to work, and I used git commit -S -m "message" and my repo seems to have ended up like this: https://github.com/BomBardyGamer/punishments
there's classes there, but they have no code in them
on my end, they have code in them, and when I commit, they go from green to yellow and have all the code as green bars on the side indicating it's new
signs the commit using a GPG key
also, only seems to happen for the api module, as the common code is all there
Well did you add everything?
you bet I did
What does git status say
So the contents aren't added
and it's all the files that are empty
IntelliJ only added the file when you created it automatically, you still need to stage the changes
that makes sense actually, as these files aren't filled with green bars
how do I stage the changes?
git add --all will add all unstaged changes
If the files are already tracked (which they are here) you can also add the -a flag to your commit
says it's replaced LF (guessing line feed) with CRLF (guessing carriage return line feed) in loads of files, but that seems to not be an issue
Yeah not sure why it does tvat, so far it hasn't bothered me
right, not broken now, cheers
oh yeah, that's the code with the best object name of the year in it lol
if you look at what it's used for, you'll understand why it's called that
yeah I remember now
Can I somehow create a static extension in kotlin? For example a method that will return current seconds through System
fun System.currentTimeSeconds(): Long {
return TimeUnit.MILLISECONDS.toSeconds(System.currentTimeMillis())
}```
Yea
This will not result in a static extension though?
^
What else did he mean?
to access that I need an instance of System
oh wait yea
while #currentTimeMillis is a static method
Try System.Companion
^
I think it works
ah I see
Unresolved reference: Companion
yea
cleaner anyway
thanks
