#dev-general
1 messages ยท Page 433 of 1
Doesn't work, it'd create it with newLine
only 1.4k gold smh
Here is your string method
๐
No need to prove that are noob @ocean quartz
Talking to matt, idk what you want.
who?
@ocean quartz fyi imma fork your lib and make it better
Do it
Yea yeah I like it, is it lore(Component line) or lore(Component... lines)?
There is a list and a varargs one
Thinking about adding a ItemBuilder.skull() which would expose the skull only methods
And good point i can change that
I need to learn from my own advises ๐คก
wtf is that symbol called again? The one you use for color codes in spigot
not & the other one
Section symbol
MD's symbol
Isn't that ยถ or some weird shit?
Yeah ^
I remember alt+2+1 used to paste this symbol and yeah the name is section indeed
but rn alt 2 1 doesn't work
oh nvm? now it worked
its alt + 21 lmao not alt + 2 + 1
Lol
Ctrl + Alt + M
no thank you that's probably going to break everything
Ctrl + A, Shift + Del, Enter
Should I leave ItemBuilder.etc().addEnchantment(enchantment) or change it to ItemBuilder.etc().enchant(enchantment)? 
what is .etc()?
Second one
used at the end of a list to indicate that further, similar items are included.
And to remove should I do removeEnchant or desenchant (if this even is a word)
disenchant
^
Ah nice time to deprecate more things
Stop deprecating, just remove it
Maybe enchant could be replaced with "withEnchant"
That makes more sense with the builder pattern
I think i prefer just enchant
Alrighty
eh I personally see no point in methods that remove elements in builder patterns though
I mean, you are creating something, not modifying, why would you want to remove stuff from a builder though?
A very very slow one? Kind of
Why the fuck would you use discord as a database
Not that there is no point, I see it almost as an anti-pattern
What kinda shit are you smoking efe?
Just use sqlite
The thing is that my builder actually allows you to change an item for a new modified one, for example:
val item // an old item you got from somewhere
ItemBuilder.from(item).removeEnchantment(enchant).asGuiItem() // Removes the enchantment and turns it into a gui item
But I understand what you mean, it is anti-pattern
if you're gonna use google suite stuff at least use sheets instead of docs
You snorting then?
Well no shit, do you hear what kinda random shit you been saying lol
White stuffs not good for ya
Ah right well I guess that's valid
What problem are you trying to solve?
just use ur host
i just use a data folder in my rpi for my bot
then a serverid.yml
um
you know that all variables are stored in memory, right?

what's the other 99%
Or maybe they DIED
But you can't know for sure
Maybe they did die
Who knows
He wished
I like this so far
glow ๐ and dim ๐
Hmm currently it's glow() and glow(false) xD
Basically, dead inside
I bet Simon Peyton Jones isn't, right @prisma wave
Yeah he's the definition of alive
what if I made a candle out of earwax
name("Name")
Boy
Use the deprecated setName for strings
no
Yes, i'm not gonna mix them up, that'll get way too confusing
Why should I shade adventure on 1.12 just for that smh my smh
You won't need if you use the deprecated method .-.
You say that until you try it xD
is it tho? ๐ข
true
would be cool if we for instance could use "" for creating components
but sadly not
Any idea what this is?
Caused by: java.lang.ClassCastException
[20:13:19] [main/INFO]: [STDOUT]: Negative index in crash report handler (0/25)
[20:13:19] [main/WARN]: Exception loading entity:
u: Loading entity NBT
at aqa.f(SourceFile:1663) ~[aqa.class:?]
at aqe.a(SourceFile:473) ~[aqe.class:?]
at x.a(Util.java:426) ~[x.class:?]
at aqe.a(SourceFile:472) ~[aqe.class:?]
at aqe.b(SourceFile:535) ~[aqe.class:?]
at aqe.a(SourceFile:516) ~[aqe.class:?]
at bqz.d(SourceFile:254) ~[bqz.class:?]
at ecp.a(SourceFile:22) ~[ecp.class:?]
at ecp.a(SourceFile:12) ~[ecp.class:?]
at ecd.a(TileEntityRendererDispatcher.java:128) ~[ecd.class:?]
at ecd.lambda$renderTileEntity$0(TileEntityRendererDispatcher.java:101) ~[ecd.class:?]
at ecd.a(TileEntityRendererDispatcher.java:174) [ecd.class:?]
at ecd.a(TileEntityRendererDispatcher.java:99) [ecd.class:?]
at eae.a(WorldRenderer.java:1815) [eae.class:?]
at dzz.a(GameRenderer.java:1022) [dzz.class:?]
at dzz.a(GameRenderer.java:693) [dzz.class:?]
at djz.e(SourceFile:1048) [djz.class:?]
at djz.e(SourceFile:681) [djz.class:?]
at net.minecraft.client.main.Main.main(SourceFile:215) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_281]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_281]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_281]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_281]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
Multiple people on my server, including me, have this problem. The error is being spammed tens of times every second and logs become gigantic
looks like nbt file corruption
The world?
hmm idk for sure
I see smth related to Tiles
I mean Minecraft no longer uses raw strings and/or legacy strings anymore
whats so bad about raw strings
It's literally just md5 and his stupid "no breaking changes at all costs" philosophy that keeps pushing them in Bukkit
They aren't a thing anymore
Not the right moment to spark smh fefo
It's not that they are inherently bad, they just aren't a thing in the actual game
And as the game evolves, so should the modding platforms
wait
then how does spigot sendMessage send the message with legacy?
does it convert?
Raw strings can hold hardly any data
Components are more complex, where with strings you'd need stupid things like ยงcHello ยงxยงfยงfยง0ยง0ยง0ยง0There
With components it'd be
Hello There
^ ^
Color=red Color=#ff0000
So more data and well organized
CraftBukkit has a converter for that
Besides, with components you get a heap bunch of very fancy things I mentioned the other day :P
Does aventure have a deserializer for doing that with a string?
Yeah
LegacyComponentSerializer
Json or?
There is all sorts of serializers
And if you want human readable to component use my lib ;p
YamlComponentSerializer when ๐ฉ
And you can do things like translations using user input (config)?
You can do that, yes, you can register your own translations to use in translatable components
stop drooling fefo
ok what does that have to do with it all?
net.minecraft.class_638 cannot be cast to net.minecraft.class_3218 the fuck is this
Looks like Fabric?
what are you doing gaby
Uh there was an online tool to remap fabric stack traces
I can't remember the name unfortunately
oof
๐ฆ
why does sharex screenshot time take like 4 seconds vs lightshot taking like 0.5 seconds ๐ฉ
and the editor takes even longer
Add slash commands as documented here: https://discord.com/developers/docs/interactions/slash-commands
Sad
Dude is lazy
lol
is there any way I can find what all these classes and packages mean?
Gab you gave me an idea
But you could send that in the fabric discord to get help any faster than I'll do to sit on my computer lol
intellij being mean ๐
I am going to commit a war crime
again?
Yes
trying @obtuse gale
:+1: @distant sun
๐ฅฒ
Is slash commands too hard to implement?
rip
Werent you using it day before yesterday with djs?
Or was that a separate package?
That's not part of the "official" API
Just with the websocket and stuff
The sending is done with a 3rd party lib
ah
I do
3
All brothers lol
1 of them is a step brother
And then 1 half brother and then 1 normal brother
just bad / good luck

likely
Whats a half brother
Oh isnt that what step brother means as well?
Step brother has no biological relationship
oh so like adopted?
Oh TIL
lol
why does forge without optifine runs better while near a farm with 100 spawners than fabric with optifine ??
OptiFine + Forge don't go together
How am I supposed to know
Uh.... Optifine is a forge mod
since OptiFine is proprietary, like 0% of mods bother to try and add support for it
https://paste.helpch.at/ehotetanot.hs this is a new error though
also, might do some cleanups of Krypton's code style
but at least the file is no longer 10gb
kinda got convinced that wildcard imports are a bad idea
and I'm kinda starting to like explicit API mode
IJ auto adds them at some point
There's a setting for that
not if you set it to single names
Somewhere
Yea probably
editor -> code style -> <language> -> imports
I had an issue with that and a projects checkstyle config
I have it set at like 9999 or something lol
Just used sublime for it
why use wildcards when you could just import Package.Child
lol
hi
why does that remind me of a meme
import Package.Child (functionA, functionB)
Hey
lol
hello
Sup Jared
incoming question about a plugin
how can i get the Chanel id
I mean jawad
hello (ever heard of haskell?)
Right click, on channel, copy id
with developer mode enabled ofc
nope why
@prisma wave please refrain from asking configuration help in #dev-general
oh btw, explicit API mode requires explicit visibility and return types
thank you
I AM NOT
Thanks
leave now, circlejerk incoming
Awesome!
You, gtfo
??
๐
they're gonna circlejerk Haskell to you lol
Hes trying to demotivate you!!
you can find an explanation at https://wiki.bristermitten.me/why-haskell-is-the-best
Yes please!
they're gonna tell you how a trash language is somehow "good"
lmao
Perfect
No, I wont promote kotlin, dw
cool
Can I turn this kt if (blah == null) { stuff() continue } if (blah !is Blah) { stuff() continue } into this: ```kt
if (blah !is Blah) {
stuff()
continue
}
sorry
๐ ๐ ๐
What did he say?
cool man
and then GONE
you should add prolog to FP prank
Prolog isn't FP tho ๐ฅด
Another paradigmn
doesn't matter
add yaml to fpprank
Prolog good
Need to learn it a bit before jerking
Yes
thx
indeed
https://cdn.discordapp.com/attachments/695431668944732270/823918793402744862/1616507924294.mp4
why is this one of the links
it would be unfair to tell people "Prolog good" without prolog knowledge
Because Simon
you forgot to add the like 3% chance to get a rick roll BM
lol
Beautiful man
Just spitting facts
lol
Simon actually has over 30 confirmed kills
What website did it take you to (just curious)
Imagine, guys
You have logged into a support server
I asked if I could transfer my discord money to Robox
He told me we have no income and do not do forbidden things
I heard it could be converted and asked
And he told me to express your opinion about the service. I wrote, the thought has worsened Vin 5/10 with respect
He did something that I could not write and delete my opinion about the service
And I told one of the servants why he did this that it was unjust and I expressed my opinion with respect and someone supported me and they silenced me and he
And they said, "You understand the issue," and the supporter said, "You only want praise."
What's wrong with them
what do you think
crikey
wdym?
Sounds like a bit of a cockup
Looks like copypasta
Just add at the end "now that you've read up until here, send this message to 10 people in your friend list or your mom will die in a week"
๐
yo on ubuntu how can I see the total storage I have?
lsblk
I'm confused af rn bcz this is what I get https://i.imgur.com/r1Ri5jm.png but according to the provider I should have 2 Tb
seems you have 931GB lol
yeah that's why I'm confused
maybe sudo lsblk?
df -h
might be a hidden drive or suttin
nah sudo is same. I'm root rn
wtf
๐
this is df -h https://i.imgur.com/0hRGSZR.png
df -h sucks wth
I have no idea what those overlays are but I don't have 4x914Gb
I mean why not just check on your file explorer
probs a vps with ubuntu server
ugh I'm sshd rn
its a dedi
Is there nothing more?
It should show used and available
Isnt that what you wanted?
well yeah but I have 2 TB according to the provider but according to the command I have 1 Tb
well actually acording to them its 2x1TB so idk wtf that means
Probably sda1 and sda3
sda1 is 400 MB lol
the total of all taht is definitely more than 2 terabytes
yeah I think the overlays are just the same as sda3
i think that command sucks lol
okay I don't see why you wouldn't just use lsblk
because I have no idea what this command means
and why there's 4 overlay filesystems or something
well this is lsblk https://i.imgur.com/ITBIREc.png
This just shows diskspace in human readable format
lsblk definitely shows it more readable
ofc, it doesnt include the info from ds
okay well that doesn't matter right now
what matters is that blitz only has one drive that's a TB
well the thing is I wanna buy another dedi and this one says 2 x 120 GB. Now with 1 TB I could live but with 120 GB I can't. I need to make sure its 240 not actually 120
and I'm worried
whatever that mirror shit is called
oh so backup or something like that?
A way to prevent corruption and stuff
Multiple disks store parity info
I see. well I'll email them anyway but I probably won't be getting this
well I've mailed them just to be 100% sure and I'll be waiting for 2-3 days now xD
Is it possible with the bungeecord api to create a new server on a specific port as if you entered one in the config.yml and restarted
Or how do large servers easily scale up and down? do they just define all the ports in the config, then as they turn on/off their minigame servers, the port is already in the config as a subserver, so they can easily send the player
I believe you actually can achieve that, I'm not sure how willing the API itself is on that but I know there is a plugin that does that
Maybe reflection?
I don't remember the name ๐ฅฒ
sad
Have they mentioned that its for raid architecture on the disks?
ElasticCreeper maybe @obtuse gale
InetSocketAddress socketAddress = new InetSocketAddress(ip, port);
ServerInfo info = ProxyServer.getInstance().constructServerInfo(uuid, socketAddress, "lolhax", false);
ProxyServer.getInstance().getServers().put(serverName, info);``` time to try this :)
๐ @oblique heath
๐
they have not
oh yeah you might be on a RAID 1 there
that would make sense as to why they specify 2x1TB instead of just 2TB
Writing benchmark code is so liberating
You can just go wild, write the shittiest stuff ever and claim it's all for performance
:p I remember reading this in a SO answer
The optimizing compiler's job is actually to generate the code you would have written if you were an expert on platform-specific optimizations and did not care about maintainability, just performance.
The fun part is you have to fight against compiler and jit optimisations
oh now that you mention that
I remember watching these two talks very vividly, if you haven't watched them already it's super super interesting and I suggest you do
https://www.youtube.com/watch?v=2EWejmkKlxs
https://www.youtube.com/watch?v=nXaxk27zwlk
Well at least they are not using allman in the videos xD
The first one is funny though, because it goes over specifically how spectre/meltdown were able to be a thing (this was before they were discovered), and at the end on the Q&A someone asks about exactly that!
Thanks for the recommendation
I watch a few Kotlin conf once in a while too, they show so many interesting things in those talks
Is there an api for deluxechat? I can't seem to find it anywhere
lmao hi
oh whassup lol
It's in the jar
so theres no maven dependency for it?
I don't think so
anyone know if there is a way to export a module to another module using jigsaw in java 9? I just want part of my project to be available to java.base and not to anything else
nvm figured it out
๐
@obtuse gale I wonder does it matter if i create a LegacyComponentSerializer with the builder every time it's needed or if I should make it a constant
God my english in that sentence
lol
Well there's nothing inherently bad in that but it sounds like it should be statically available
Unless there's some builder-specific things ofc
WHatever that might be
e.g. the hex format used
But you could probably have a selection of static serializers and choose from those on the fly, idk
Yeah it'd be the same always, hmm
Gonna have to move it to a different class to not mess up for the legacy noobs
They are trying to pull a Forge lmao
a whole 5KB lol
pog
finished bw plugin
๐
doubt anythings gonna work
ill be surprised if the setup actually saves
ah i forgot to add bedwars stop logic
oops
lol
Hello,
is here someone familiar with NamelessMC, I need apache server config block for /etc/apache2/sites-available
for https of course (not very related to it)
I feel acomplished, my test server has 10 plugins in it :p
(They're all by me, they're just also all dumb)
frosty just a popular boi
I still don't get why player leave doesn't get triggered on server shutdown
probably player kicked or something
Cuz Bukkit
they are kicked after plugins disable I believe
so that's an issue ๐ค
so you do all your shit in onDisable lol
Or better
override fun onDisable() {
Bukkit.getOnlinePlayers().forEach {
it.kick(Component.text("Fuck you"))
}
}
at least you used adventure! ๐
Fefo, I'm aware, shitty design tho
Players should be kicked beforehand so the plugins can do their shutdown sequence ie. data saving, while not necessarily cramming it into the disable method
can you check if the server is shutting down in your plugin?
@jovial warren Do make sure the above isn't an issue in krypton <3
U dont have to... Thats why the onDisable method exits but still pretty shit. Its not enough to have a quit listener to save data but you also have to do it on plugin disable so you just repeat yourself fo no real reason
I thought you were going to bed ๐
oh but I mean stuff like plugman can disable your plugin when the server's not shutting down
dude blitz just double-timed me
tagged me in two separate channels back to back lol
Me? Nah you trippin
Ah my bad
blitz no sleep
If you use plugman you deserve the worse this world has to offer
Yeah true. Well 2/3 until age 18
Bcz you sleep better and more when you know you have to go to school
Should I rewrite the PersistentGui into StorageGui? And actually have a serializer method on it to allow you to save it? ๐ซ
Yes ๐ฉ
Ugh, work ๐ฉ
Bonus points if it works with triumph config out of the box ๐ฉ
It probably will give you a base64 string or something like that
ye that makes sense
Wait y'all haven't gone to sleep yet? I've already woken up :kek:
Ugh oh shit
Haha sleep
One is unbreakable the other isn't, what
lmao what
Delete the one that isn't and re-copy paste it and see what happens xD
classic
Ofc it was
@distant sun Fixed this for you, you better be happy, look at this stupidity
IsOldShit. Love it
how old is old shit?
wtf is isOldShit
Anything but latest is old shit.
1.8 old shit
1.12+ I'd assume
Ah anything above 1.11
ah
Close enough
odd
The method was added in 1.11 for some reason
So you use VersionHelper to add support for older versions? Is that the standard?
Spigot added ItemMeta$Spigot#setUnbreakable but guess what, they fucking removed it lmao
So much for supporting legacy
Also @ocean quartz https://jd.andross.fr/tools/versions.html very helpful site
Idk if is standard, i just made my own, since there is so many things to check
That's exactly what I had open xD
lmao nice
I mean you can just use the ItemMeta.Spigot method instead lol
that's what I'd do but w/e
I assume you are compiling against latest
You can't because it's not present in the 1.16 api, and I ain't adding 1.fuck api
lol
d;1.8 ItemMeta$Spigot
public static class ItemMeta.Spigot
extends Object```
ItemMeta.Spigot has 3 methods, and 1 extensions.
d;spigot ItemMeta$Spigot
public class ItemMergeEvent
extends EntityEvent
implements Cancellable```
ItemMergeEvent has 1 all implementations, 7 methods, 1 implementations, and 1 extensions.
Yeah removed
d;spigot ItemMeta#spigot
void setGlowing(boolean flag)```
Sets whether the entity has a team colored (default: white) glow. nb: this refers to the 'Glowing' entity property, not whether a glowing potion effect is applied
flag - if the entity is glowing
Players are disconnected first, plugins are shutdown later iirc
Lemme bring up the stop code
That's the line that disconnects all players
Then the plugin manager is shutdown later
Or should I say, the ploogin manager
๐ฅถ
Lol
Funnily enough, I never stop Netty myself
Netty stops itself
So technically, players can reconnect after being disconnected before the server fully shuts down
Hot
Should probably fix that
I let my benchmarks run on my server over the night, and it skipped Clojure data structure addition for some reason lol
@ocean quartz is that ItemNbt thing available to use or?
Yes Gaby
jmh generates interesting code
You don't need to be Stephen Hawking to know a thing or two about black holes ๐:smirk:
Yeah I'll add it to the big long list of bugs I need to fix
I still wanna learn JMH at some point
Wanna benchmark some Krypton whack
ah rip my 1.16 compatibility
Also gotta unit test
Unit testing ๐ฉ ๐ซ
It's not a bug, it's a feature!
My thoughts entirely
I don't remember the problem
Imma send my pc specs later, and I need some suggestions in what order to upgrade and to what
it's definitely a bit more to learn than I initially thought
there's a lot of things you can do wrong
go bench 
stack bench ๐ญ
its ok gaby ๐ฅฒ
gaby, the more reviews you'll get, the better you'll be at ignoring them
Gaby, take a wild guess why
refresh the page gaby โฅ๏ธ
Wow!!!!
๐
bruh I'm boutta drop a -5 review cause you using maven
I would like to see how "javavm" performes against out great haskell
our*
๐
Oh you're a haskell user too?
No
Need to write a hello world so I can add it to my resume
go on
bm I think I cleaned up most of hasklash to understandable stuff
Yes
And language selection, mode selection as well
As well as a scoring system if I can manage to get things working
Ooh huge
That's what she said
it wasnt ๐ฆ
Yea she said it was small 
dev general is beginning to drown in self pity again
good
Ban me already jesus fuck
lel
The amount of times I was supposed to be banned, if any of y'all were in a decision making job, nothing would get done
the ideal job would be president then
@donald trump ๐ฆ
kek
Where is he
@serene cave
i consider myself fairly decisive on real matters ๐ฆ
until?
end of my internship
does the end result in a promotion or a haste escort out of the building, which is followed by a ban from entering that building again and using that companyโs services
Why
then combine that money and ur paycheck to buy a ps5
ps5 
But I need the pc for development?
nah g
But I get paid :sadge:
but why would u get paid
when u can play ps5 fortnite with no one else because no one plays it anymore
Ah you smoking crack again
just post the damn specs in #off-topic
task manager :)
windows?
Yes
use speccy
OMG it finally compiles
pathetic
bm
does a env variable have to be exported in linux for applications to be able to fetch it?
Will they get removed after the shell session?
ah
so anything exported is just local to the session
I was imagining without export was local, and export added it perm
Im not 100% sure on the difference
Actually
Export might be per user session
so it goes away when you logout
Ah
i went from 3 stars to 10 ๐ฎ
I'm gonna need someone with decent hardware again to run my benchmarks, to get better results or at least something to compare
Is this considered better? https://i.imgur.com/Ay3sT9c.png
benchmarks of what? rendering your sex tape?
I'll clean some stuff up, they will take a couple of hours though just so you know
Single core
ok
Idk if it will run into 100% for you, but for me it does
my cooling isn't adequate for a few hours of 100%
lmao mine is not even for 50% xD
why does it take so long johnny?
i can do it if u want
could throw it on the dedi, but It'd probably catch fire
because it's a lot of benchmarks
if it asn't for the external cooler my laptop would probably mlt
got a ryzen 5 3600x if thats good enough
It basically tests all significant operations from all major collections from 4 different libraries
also, what cooler u got kek
definitely
idk kaliber
just hmu whenever u want me to run it johnny
for sure
do you still want me to run it if kaliber is running it?
for reference I have an i7 7700k
The more results the better
i doubt itll overheat
I'll need to write some script to analyse it anyway
cba to plough through the, what, >50 results myself
also I wanna find out what the hell is going on with the results file containing thousands of null bytes
Initially it didn't bother me but now I feel like those are supposed to be the interim results
@quiet depot If I set the ram frequency to more than it supports, what will happen? Rn it's at 2666
boom
well then u would be over overclocking ur ram
So if I set it to like 2800 I should be fine yea?
Ah yea nah I'm good thanks
If I set it to 4800 then will it go boom?
yes
hopefully I go boom with it
๐ ๐ ๐
nah ur pc will just shut off lmao, if it keeps failing to post after, then ull just have to reset the bios
and hope that u didnt fuck up the ram in the process kek
ลhame
no
:(
Because it's superior
its actually horrible
I want some of what you're smoking
you are DELUDED
ikr
idk it just feels weird
why do i need to clutter my repo with some wrapper thing
Maybe it's cause you're weird
So people can build without having gradle installed
To maintain versions between people
It means anyone can just clone and build without having anything installed (except a jdk ofc)
And you have to install maven to build something
You'd be surprised
And also it's for stuff like CI services too
It's quite hard to get my tech illiterate classmates to install maven to build our group projects
yeah but i dont have tech illiterate people working with my code
https://www.spigotmc.org/threads/how-to-fix-redstone-lag.311245/#post-2966064 is that option no longer a thing?
I mean that's the dream, but reality often differs
Maven and Gradle comes with IJ so doesn't matter too much, the wrapper is more important to make sure you're using the right Gradle version
It just makes it easier for everyone and helps eliminate the version mismatch
.gitignore the wrapper jar, the wrapper exists so the build is 100% reproducible across all systems since it's basically a single version, regardless of whether you have gradle installed on your system or not
seems a little overkill imo
Until you have version mismatch issues
Good luck diagnosing that
Maven never had that issue because the last time maven was updated was like 50 years ago
oof
Yea he makes a good point
But for real though, has anyone ever seen a project with model version higher than 4.0.0?
3.8.1 was released on the 4th of this month
they just dont make breaking changes
avoiding the issue entirely
That's why maven is stuck in time and still sucks
So basically like Spigot
You need breaking changes to make improvements
the breaking changes lie in plugins
which are versioned and updated as part of the pom
Still doesn't fix how slow it is
windows 10
gradle 6
Lmao
how would u know windows 10 ๐คจ
what dont u like about gradle?
:md5:
really weird ass syntax
files everywhere
this wrapper thing
compared to xml?
๐คฃ
xml at least makes sense
You think XML is good?? ๐คก๐คก๐คก
literally a script??
What kinda shit you smoking
better than having 3 different ways of assigining values to stuff
with only one correct way
if groovy really bothers u, theres always a kotlin dsl 
๐
how to get bullied in helpchat 101
bet maven doesnt have a kotlin dsl!
alright its time for gradle project #2 with kt
idk i like java
all the cool kids use Gradle
Kotlin dsl good, groovy dsl okay
I just use both dsls and hope for the best
What's so hard about it?
<repositories>
<repository>
<id>spigotmc-repo</id>
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>${spigot.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
Vs
repositories {
maven("https://hub.spigotmc.org/nexus/content/groups/public/")
}
dependencies {
compileOnly("org.spigotmc:spigot-api:1.16.5.$spigot_version")
}
Oh no
what ๐คฃ

weird stuff didnt work
"https://repo.lucyy.me/repository/maven-" + (version.endsWith("SNAPSHOT") ? " snapshots" : "releases")``` for example
I mean it's totally normal to have issues once you're first trying something, i'm sure everyone here struggled to swap to Gradle, but once you get the hang of it it's awesome
You just need to learn it a bit like any other technology
yeah i am really trying
Probably cause you have two dashes??
oop
that wasnt a copypaste
it flat out just refused to work though and fell back to a file
I'm thinking of doing something I haven't done in a bit
Is that in groovy
gonna jump in general and screen share Krypton
Cause I dunno if groovy can do that
Kotlin gang ๐
java dsl when
no
someone come and join room 1 lol
no u
no it doesnt
more like semicolon efficiency
What's the point of semicolons when all they do is sit at the end of a line doing nothing
Jesus, is there anything you aren't going to complain about
ah
facts
innate
understandable have a nice day
JavaDsl.repositories(manager -> {
manager.setMaven("url");
});
JavaDsl.dependenicies(manager -> {
manager.compileOnly("spigot:blabla")
});
not me ๐
die
Matt get out
dependenicies
thats the worse thing ive seen all week
grammar police are out 
That just makes it better ๐คก
๐ฅฒ
he's lost and alone

More like spelling police lmao
facts ๐
I mean, at least this gives you some entertainment
come and see the chaos
nah you actually gotta come and see this
how do i do gav with gradle kotlin
how do you do what?
gav
wat dis
group artifact version
'group:artifact:version'
dependencies {
implementation 'group:artifact:version'
}
Someone send this person their example config
oh wait ur using kotlin dsl actually
yeah
so itll be with ("")
i mean for the project itself
dependencies {
implementation("group:artifact:version")
}
root project name is set in settings.gradle
rootProject.name = "Name"
then in the build, group = "my.group" and version = "1.0.0"
"they"?
imagine
IntelliJ sets the name in settings.gradle.kts for you anyway
no point moving it
True
also, thinking about it @hot hull, the chances of someone being able to reconnect in time before the server shuts down are very slim, as the server shuts down very fast
plugins shutting down would make it take longer though
here's an example of my config https://paste.helpch.at/reqavulesa.makefile
you can remove the Kotlin compiler stuff if you're in plain java
imagine not grouping dependencies
me.lucko.luckperms:luckperms-api:4.4
๐ฅถ
Well I mean you could just halt the shutdown entirely by blocking the thread
which technically could allow a player to join
you combine them into a thicc jar?
yeah but I group them in the dependencies block to make them easier to read
๐ฌ
Siccness for the thiccness
Indeed
ok this is actually starting to kinda make sense
Ayy nice!
๐
now
install gradle on your system
open your terminal emulator of choice
cd to every single maven project you own and run gradle init and follow the instructions on screen ๐
ah gee I need to make a core/common lib of my own lmao
I literally have too many things straight up copy/pasted from project to project
i mean has anyone ever become relevant as soon as they started learning a new skill
but uugh ๐ฉ
ive been doing this for like 6 months now
actually
i just realised how stupid and stuck up that sounds
ignore me
my projects are completely different from each other
lmao
one day im working on among us
another day i have this media library shit
the among us project thing was a mess
I mean I've been doing this for over a year and I have one publicly released plugin with a bit over 3k downloads lol then I have like 3 or 4 I made for specific networks
not exactly relevant or popular
thankfully
don't want to deal with a 10k+ members guild
I already do that ๐ฅฒ
"unlucky"
=flex
Here are some guild wide stats for your eyeballs. :eyes:

18,760,480
20,434
47,204
128,449
69,633
65,097
4,185,192+
9,084
Mar 29 2016
We're getting there
so close
=flex
Here are some guild wide stats for your eyeballs. :eyes:

18,760,480
20,434
47,204
128,450
69,633
65,097
4,185,196+
9,084
Mar 29 2016
=flex
Here are some guild wide stats for your eyeballs. :eyes:

18,760,480
20,434
47,204
128,451
69,633
65,097
4,185,198+
9,084
Mar 29 2016
:o
maybe not?




green team
yellow team
red team ๐ฅถ blue team
Generics can sometimes be so ugly holy xD
๐คฎ green team ๐ก (piss circle) yellow team ๐ฅต red team
blue team
lmao
whos that in
Yeah but we from blue team got fucked during the event
u stalking lucys github or smth? ๐คจ
yeah
I literally said I was gonna
lmao she just doesnt care for spigot
lucy github actually has a super easy way to add a license to a github repo
i do know
i just cba
fair enough lol
why would i add a license to 20 lines of java
for practice ๐
Gradle has a plugin to add license to your files ;p
Blocked mirror for repositories: [mvdw-software (http://repo.mvdw-software.be/content/groups/public/, default, releases+snapshots), sk89q-snapshots (http://maven.sk89q.com/artifactory/repo, default, releases+snapshots), placeholderapi (http://repo.extendedclip.com/content/repositories/placeholderapi/, default, releases+snapshots)
Can someone help me figure out what this means?
literally 1/5 are blank newlines
for all of the sick apps you'll be making in the future
intellij can do that lol
so everytime you create a new class
it does it for you
no need for extra build time
๐
:O
The plugin is better, means if someone creates a file and PRs it'll add it without you needing to do it yourself
intellij converts java to kt
ya
you never knew that lmao?
omfg I'm actually stupid