#dev-general
1 messages · Page 439 of 1
Emotions are impure
wat
I'm looking to create a tool that can download Minecraft server and the mappings, deobfuscate using the mappings, decompile and then apply some Git patches to fix up decompilation errors and give local variables and parameter names meaning
i know nothing i iz bad dev
Senpai
Ik there's tools to do the first two
I love how you indent your YAML
thanks
Also, build tools applies Spigot mappings and Spigot patches
separately
I want to apply Mojang mappings and my own patches
build off buildtools
Yeah might not be a bad idea
World's Fastest Hot Dog eater (original) what an epic fail.
great vid
one of my favourites of all time
How hard would it be to make server-side application, if you have raw script codes to interpret the protocols?
what
I know https://github.com/HeartPattern/MC-Remapper exists for the mappings, and then CFR for the decompilation, all I need is a tool that can apply patches lol
And I want it to be one simple command
E.g. ./patcher run (or patcher run on Windows)
Maybe I could also generate some sort of Gradle project from the sources as well
So you can just take one script and run it to download the obfuscated JAR, deobfuscate it with the mappings, decompile it to source files, apply patches that fix up decompilation errors and add some Gradle stuff, then move the packages into the correct folder, remove everything that's obtained from dependencies, and then allow you to build and run it
Now that would be cool, don't you think?
i think so but this isn’t my area so idk
Ah fair
This may or may not mean that I've now gotta learn bash, batch and git patches 🥲
dieded
well I believe that image is a joke
you see
it's made with comic sans
something doesn't add up...
🤨
lol
Oh yus
Staffn't
why :C
😮
Resigned, if you can call it that
hm :\
Resigned, how do you get fired from a voluntary position
why ☹️
why
why
Sheesh why everyone so nosy, just cba to be support anymore aka now I can finally be banned
😾
Just ruined my entire week cause I saw someone I didn't want to see
you
now we can ping frosty 😈
yeah about that
Lmfao
Frosty doesn’t need to be support now that they can sell their bedwars plugin for millions of dollars
Ez stonks
Doesn't matter
I mean I was on the chopping block anyways, so either this or eventual demotion
why so
frosty❤️uwu
uve been really helpful in recent times frosty :kek:
You've any idea how many rules I've broke recently? :kek:
go on... 🗒️ 🖊️
like?
#827055635052888075 why do people post requests with budgets in request-free
and then there are other people that post like $100 budget in #827055634586271775 and #827055635052888075
like what?!?!
because people are even more stupid
look at this request in #827055634586271775 lol
[Service] Server Advertising
[Request] If you know effective ways to get customers please get in touch, I currently need serious promotion staff
[Budget] $1.00-3000.00

"Hey, can you advertise for me"
"Sure! What's your budget"
"Hmm.. either a buck or 3 grand"
lol
lol
probably
i havent seen any docs about it
is there any "preview" of DyeColor colors?
the mc fandom probably
https://github.com/dkim19375/Bedwars/blob/master/plugin/src/main/kotlin/me/dkim19375/bedwars/plugin/enumclass/Team.kt
I put DyeColors in my Team enum.. but the colors are a lot darker than expected (when doing String.formatWithColors, in the Team.kt file)
hey wut is the name of javasciprtengine of graalvm
for example, the blue team is showing up as dark blue
even though the dye color is light blue
and the red is dark red
should i just add another field in my enum for ChatColor?
why are you using extension functions... on your own team class
no idea
just make them part of the class..?
lmao
🎵 I wonder why, I wonder how 🎵
@half harness the legacySection serializer doesn't serialize hex colors apparently (it picks the nearest legacy color)
use the builder and use the useUnusualRepeatedXPattern or whatever that's called
but i thought it would go to the nearest chatcolor
useStupidPattern
also does 1.8 support hex?
...
No lol
NamedTextColor is all you need for older versions
isn't that adventure stuff
you are already using adventure aren't you
well yes im using it for the titles
and for converting dyecolor to chatcolor
my brain just didn't think of making a chatcolor field
lol
holy
Well yes but actually no
Well yes but actually no
:p
if you're using the string to send as a message just use adventure...
plus if it's rgb and a 1.16+ client is seeing it, it'll be sent as with rgb
for older clients it'll be downsampled
That's why you write for latest and add support for older not the other way around
i wanted a hypixel-like bedwars plugin for 1.8
it already exists for 1.16 - sorta
but 1.8 is more pvp friendly
dkim what are you using the "formatted" string for
just... use components.......?
but if you don't like older versions, don't support them 
yeah we do that already lol
^
Was talking specifically for dkim
So when we banning all 1.8 users?
at midnight
Ngl I kinda like this pink color
imo writing for lower versions is better, because deprecated stuff usually works anyways, so there are less things to worry about when bringing to 1.16
No lol
Me too, I'm sad i hate the ugly orange while at the beautiful pink tier
dkim living in the past
:)
Yeah that doesn't make any sense
🥲 no you weren't supposed to do that
i started with bedrock edition, and in bedrock, theres no hit delay, which is why when i started using java, i preferred 1.8 (for pvp and minigames, ofc i used latest version for other stuff)
fuck bedrock
🥲
bedrock kinda whack tho
their anticheat is 🥶
lol
snow layers don't break when you remove the block below them
they fall
snow layers fall when breaking the block below
vouch
my message took so long to delete
my mom works at microsoft
aaaa
Oh yeah true Dkim, you should go play bedrock, that way you can play latest and still have the boring pvp
i dont have access to bedrock anymore
(which is why i switched to 1.8 and java)
actually
i started with 1.16
for a while
then I saw youtubers block their sword
and i asked my friend how they did that
lol
and they told me to use 1.8
ur friend is a brainwasher
since then, ive been using 1.8 99.9% of the time
how depressing
That's a very tragic story
😔
viarewind 
It's like a full story of a man descending into madness
when will javascript support java 15 ? or event 16 and 17
the comedian
thats like saying to use tape to fix up a broken vase instead of buying a new one
lol
17 ain't even out yet lmao
Wut?
i used to play bedrock bedwars & eggwars all the time
eggwars is much easier than bedwars
the javascript expansion
Resign, easy stonks ||don't actually tho||
Oh lol, might have been a better question for #placeholder-api
javascript expansion broke since java 15
Frosty did the admins hate you
already have no solution there
Then I shall never resign
🥺
also the bedrock pvp community is a lot.. noobier than java lol
i won like most of the games in bedrock, meanwhile i have like 11% winrate in bedwars in hypixel
you are playing on pc?
yes
lmfao
bedrock has no blocking 😦
Prolly because the pvp system is very noob friendly 
also
bedrock bridge
wtf
you can literally sprint and jump
and hold right click
and bridge
ig it makes mobile users easier to bridge
you cant do that on mobile stoopid
lol
on mobile you have to tap each block manually
mhm
lol
although since bedrock anticheats suck u can just zoooom
oh
wanna know a fun fact
You act like Java's anticheats are good
okay matt is here
I'm always here
Yeah sure
where can i submit javascript placeholder ?
without OP
i remember in an anarchy server, i used to just give myself diamond armor lvl 32k
it wasnt a backdoor

i dont think?
you sure?
Yeah. It's unknown i think how the person managed to get into hausemaster's account
but they somehow did it, got barrier blocks, and everything
they did?
oh it was a backdoor
and thats how most backdoors work in mc servers
The second major backdoor of 2b2t occurred during December of 2013. The backdoor involved iTristan and Pyrobyte designing a plugin to block access to the nether roof. The backdoor has two major features, the ability to spawn hacked items such as player heads and 32K weapons, and allowed travel on the nether roof if the player was riding a horse.
They also used it to get to the world border. The 2b2t Arms Race, was a time period in 2b2t history that lasted for 3 years, from December of 2013 during the First Valkyrian Period and ended in the spring of 2016, during the Pre-Hype Period, right before The Age of Hype. This event was a large scale search for the ominous super weapons created by Pyrobyte and iTristan during the second backdoor of 2b2t.
yea
By the way, @tranquil crane could I use how you managed to provide block highlights (debug information) for an animation in my library? I will provide the proper credits.
oh wait
you stole it from https://github.com/ArtFect/BlockHighlight
lol
/**
- Happily stolen from <a href="https://github.com/ArtFect/BlockHighlight">ArtFect's BlockHighlight</a>
*/
xD
Welcome to open source 
oh lmfao
The wonders of OS
@lunar cypress i7-7700K 32GB DDR4-3200
pro tip to any linux users, use LVM from the start
jesus fuck migrating to LVM might just be the hardest thing I've ever had to do
You smell good
This discord feels weird now not having all those smexy channels kek
welcome to the non gang
You do realize support doesn't have any smexy perms right?
some non staff can already see that, not gonna name names tho 🌚
🥲
special kids
13+
lol
helpful role people?
BD 🥶
huh
say, when Bukkit.shutdown() is called
does that happen immediately or does it give a chance for the tick it was called during to finish
I'd presume waits for the tick to finish
nice
dw @hot hull. We will still make you the most powerful man in this discord! #dev-general message
already did
no can do
😮
im looking at ur results just out of interest, and ur results vary a lot from mine
like anything my cpu sucks at, urs excels in, anything urs sucks at, mine excels
same can be said for gpus too
like ik amd cards outperform the new nvidia cards at lower resolutions
yeah
the 3000 series cards’ power only comes out at high res
wat
can use curse words
oh ?
can't
frosty wants staff back now 🌚
ok good. bcz rules say you can
or at least they did. RN I'm to blind to see where it said that
I did not know there were blocked words ;o
c word
cumbersome?
yes
charizard
Well fuck
e word
aka eggplant
contemporary
O
Wait what
trying to decide whether author tags are a good idea or not
itll just be all ur name, whats the point kek
since on the one hand, it allows contributors to be recognised for their work, but on the other, it can get very complicated when some code is edited by 10 different people, and suddenly, before you know it, you have 10 different author tags on one class
this is for Krypton btw
just doing a huge refactor rn
like every single file will be edited guaranteed kinda refactor
have 1 author tag - if u contribute over 50% of the code in that class, u get the tag 🌚
lol
i promise that wont get messy at all
he's probably using some special white space
in the middle or something
or the no space space
also, I swear I'm gonna get murdered for doing a massive refactor all in one commit
maybe Git can help me with that
dont get bluescreened in the middle of it 🙂
I appreciate it
I passed my LA exam pog
LA?
Linear Algebra
Nah, Johnny gon to Los Angeles
what Is rabbit mq used for, mostly
Messaging 
would you mind please explain in more details
Messaging
MIT license babyyyyyy
lmao
scuzzi what gradle?
happened to me as well
Use Gradle kts 
nein
Sadge
finally someone who doesn't despise it
despise what? Gradle KTS? Most people here switched to kts
One day Matt
that happened when?
Yes, but some of the code in here just makes me wanna kek
idk/ probably BM again. But yeah most switched to KTS
Let's not get too excited now, I mean we all do dodo stuff
ok good cuz groovy/gradle is horrific
groovy good
customisable guis for what?
because you get stupid ass warnings
just u
lol just look
🥲
yeah I never had problems with groovy and when I had some random issues I just refreshed and it always worked
this
I like when it also doesn't give me random warnings but yeah I guess else it's fine
imagine using kts smh
imagine not smh
ah
BM as well I think
okay
some people switched but not everyone
id like to see kts write compileOnly without using 2 extra chars!
BM doesn't
kts switch was just a thing that started it on its own afaik
ik bardy and johnny were using it way before everyone else
I went for it because was tired of the warnings from Groovy
ah alright
Bardy wasn't, just Johnny, Bardy switched very recently
well I was thinking of switching but I don't even know how to use groovy fully yet lmao
noooo that cant be true matt. i remember like a year ago everyone was bullying bardy for using kts
yeah he did use it back in the days
Also I wanna see Groovy do maven("https://repoLink") instead maven { url = "https://repoLink" }
RRRRRRRRR
idk I like =
RRRRRR
url =
RRRRRRRRRRR ?
sir id like to inform u that u are
1: adding an extra =
2: using "" (🤢 🤮) instead of '' (😍)
Ew single quotes
' is for chars, that's common knowledge duh
not in groovy!
Groovy can die!
groovy is groovy
u can die!
True
wait can i join in?
I sure hope I do
yup
@everyone
The 'everyone' mention is disabled so you can't annoy people.
just making sure 🙂
interesting.
u got a death wish or something?
Yes
I know about you. Was asking BM
why you ping me
😮
well I guess I did lmao
man the dev of UPC is actually such a cool guy. He will actually listen to requests.
I ask him to put some methods into the API and within hours it's in and on spigot
he's gonna get some $$$ soon as a thank you 
how can i make role categories in discord?
use the hex color of dark mode
and wht bot?
what?
which bot
if you’re talking about the thing helpchat has, it has nothing to do with a bot
just change the role color to the dark mode hex color
well i'm new in discord so can u help me make it pls
?hidden-roles
How to get hidden roles (categories) in discord
Create a new role with the name you want and set the role's color to #2f3136 (Discord's background color)
You may want to have another colored role above the invisible one otherwise the member name will be invisible
yea that
ok
didn’t know there was a faq
is that oblivion
java -version
-bash: /usr/bin/java: No such file or directory
``` Someone help me 😢 😢
tried installing libc6-i386
and @steel heart pls shut up. I don't want to hear your stupid voice ||jk||
ok thanks for your support
voice reveal 👀
ye
did u look in #voice-talk
nope
😔
I might have installed Krypton instead of Paper xD https://i.imgur.com/Xr8MOax.png
lol
wooooooooooooooooooooooooooooooooooooooooooooooow
huh?
Burnt
?
I don't hear you @jovial warren if you're saying anything. I muted everyone just the bot. bcz you guys took the bot as a prisoner 😢
lol
Single commit hell again?
LMAO
who the fuck was that?
its a clarinet
everyone's muted now so idk
Are you actually playing it or, just playing from some audio?
because?
Nice
lol
I want to hear Jazz
Doesnt sound like it tho
Too clear to be from an instrument
mk
blues
Yea
i think you missed a note
Yeah
1 3b 4 #4 5 7b
Does the clarinet play normal musical notes or is there any variation from other instruments?
It's normal ig
I played clarinet till 8th grade
Like violin requires a shift for the same tones
then switched to alto
Like 2 or 3 half notes up or something
Ok
Play this
😌
sight read

lmfao
@forest pecan I found you the piece of music
I was never able to play this
Transcribe it
Iceland Symphony Orchestra
Cornelius Meister, conductor
Arngunnur Árnadóttir, clarinet
Wolfgang Amadeus Mozart: Clarinet Concerto in A major, K.622 0:00
- Allegro 0:27
- Adagio 12:58
- Rondo (Allegro) 20:07
From Iceland Symphony's concert, Harpa, Reykjavík, September 10th 2015.
Is there any general minecraft support channel on here?
do you know it?
yea
i can play my concerto
Play the spiderman theme
Haha, two different channels, which is correct
kk lol
lol
Lol
Play the spiderman theme bitch
amazing
😂
ur so smart
Ikr
did IJ totally remove the possibility of opening the settings window from the main projects page?
🥲
5 years
Dyum boi
dang nice
ClarinetBeat_02
squidward
lol
@forest pecan Go bard, make music to entertain me
@forest pecan
i can play my slow movement
go
k lol
Sad pulse sounds
FUck off
don't put it on 133%
@static zealot turn it to 700
no thanks
wow
lmao
or else i will do =vol 59
ur all so nice
lol
I wasn't saying your music is bad ||it is tho|| I was just complaining about the volume smh
=play Im on a horse ksi
🥲
=seek 60
@old wyvern, Seeking!
@obtuse gale what do you think bitch
=vol 292992
@old wyvern, Setting Volume!
=seek 1000
@jovial warren, Seeking!
i muted it right before you did that
holy shit
Lmao
@forest pecan I still want Jazz

Cannonball aderly on the clarinet
welll
you can actually seek over the song length and get rid of the bot
lmao
well idk about wind instruments so I can't really opine 🤡
||blaming it on the audio quality
||
Blitz, can you dont some interpretive singing and dancing for us then?
nah that's not me
I already did a face reveal
I even stared as the principal character in a movie about me
sadge
Ill watch that too though
is the audio quality much better
Still loading
ok this is much better
it was cutting out in discord so ya
but still don't put it on 133%
lmfao
Yugi, did you see my ping from yesterday? xD
lol what did you drop at the end?
Which one matt?
i was just tapping my phone
lmao
and i hit the music stand
I may not have 😅
thats the sound
yo @humble silo here face reveal: https://i.imgur.com/D2yKBTW.png
This one xD
This one?
Yeah
very impressive 🤣
Yeah. I'm very cool you know
Oh so the gradle plugin cant depend on another module??
Doesn't seem like it
We can always release the module and implement it in the plugin xD
Yeah it work on another module
I love that feature
I think maybe we can just have a relocation module then
Oh wait no, no module works in the gradle plugin module
Oh
Rip
Ok I guess just copy paste that package in
Why has gradle done this so
Feels like an anti pattern
I was thinking about just releasing to maven local for now
Or maybe there is a way, i'll search around
But that wont work across dev environments
Everyone will have to deploy to local before usage
Maybe a lib folder with the compiled slimjar?
And have a task always copy builds there
Hmm let me see if i can make that happen as a module, if not i'll copy for now
Alrighty
@jovial warren u listening to Barry? Or can I kick?
finally
o
nice
Dont know what that is but very cool
checkstyle.xml
basically a system that enforces code styles and tells you when you fuck up
no
Scratch best language
what is the checkstyle for though
no cap
yes
who would have thought
please tell me more bardy, I don't think I've heard enough 😂
checkstyle is a plugin that you can use to detect errors in code styling
I have projects on scratch from 7 or more years ago
but why
to tell people off for writing trash code of course
ah perfect, automate code bullying
indeed
actually maybe checkstyle isn't what I want
maybe I want detekt, which works properly for Kotlin
yeah that's a good thing lol
I am very strict about my styling
oh shit bardy's going to enforce his garbage newline policies
you know the new line policy is actually a thing that's very new for me lol
this is the first time I've bothered with it
You guys are saying your page scrolls vertically and not horizontally?
I dont ussually care for a single newline being somewhere
.editorconfig will piss you off though, if you choose to use it
This guy had it set so there cant be a newline after class defs
because it uses the superior line break after class header
I mean, not having a new line after the header looks fine in Java, but just doesn't really work for Kotlin imo
it just doesn't look good
Is it bad to use brackets as formatting? like creating another scope without really a reason besides formatting?
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
ij_continuation_indent_size = 8
ij_smart_tabs = true
ij_any_block_brace_style = end_of_line
ij_any_class_brace_style = end_of_line
ij_any_lambda_brace_style = end_of_line
ij_any_method_brace_style = end_of_line
ij_any_blank_lines_after_class_header = 1
ij_any_blank_lines_after_anonymous_class_header = 1
ij_any_blank_lines_after_imports = 1
ij_any_blank_lines_after_package = 1
ij_any_blank_lines_before_package = 0
ij_any_blank_lines_before_imports = 0
ij_any_blank_lines_around_class = 0
ij_any_blank_lines_around_field = 0
ij_any_blank_lines_around_field_in_interface = 2
ij_any_blank_lines_around_method = 2
ij_any_blank_lines_around_method_in_interface = 2
ij_any_blank_lines_before_method_body = 0
ij_any_blank_lines_before_class_end = 0
[*.json]
indent_size = 2
insert_final_newline = false
[*.conf]
indent_size = 2
insert_final_newline = false
[*.xml]
insert_final_newline = false
```here's the editorconfig
Ussually its bad, yes
any reason in particular?
Doesnt really contribute to any usage except being annoying to read
wait give an example wdym
He means creating a scope
like this
what in the jesus christ
ewwwwwwwwww
Thats an init block
why would you ever do that
I mean i dont generally do it
Thats used a bit chestly
yeah some people do it
Depends on your usecase
wow
you should never do it
I've seen Minestom do it a hell of a lot
I meant in between you methods
and it kills me
Not a good idea to use it there
wow
an initializer block is fine depending on your usecase
i dont generally like those
mhm
but inside a method just as formatting
that's what constructors are for
Doesnt work always
Especially with frameworks
I would really only do it for static fields but ok
why would you put it in its own scope though
just as formatting
it looks fucking awful
really?
Its not about a separate scope but rather the ordering of fields sometimes
yes?
I kinda like it but ok
ok i just took it out
I think I hate that more than I hate opening squiggly brackets on a newline
and I didn't think that was possible
omg yes
lol ok fine
i wish i could use java 11
i love it
java 15 😎
its not that big of a difference
like i dont really use var all that often
There are ij plugins that can fold type defs if you want that lol
well it helps a lot when your working with generics
cause typing all of that shit is so annoying
You still have to type the generic out sometimes even with var xD
Its becuase im so good at java
yes
i get those once in a while
it's just, there's no reason to explicitly type 90% of variables
does spigot delete logs automatically?
like every other language has type inference
or paper?
javascript, typescript, kotlin, ruby, etc.
How come?
the reasons I just listed
javascript, type inference
V A R
When should I use var?
yeah true in JS you just don't even get to know the type
What is a Mouse over?
sounds like when you move your mouse over something
whats the different between that and hover?
hover is when you hold it still for a sec
I mean tbh I do prefer variables without var when reading
oh
mouse over is any time you touch it
i mean I quite like reading Kotlin code
you can hover over it if you want to know the type'
I dont always read from an ide, and the hover thing also has a delay
explicitly type the Type 🌚
Yea I do do that where possible
i mean do you have trouble reading Kotlin code?
val star = Star("Star", "minor");
val starsMom = StarSMom("Star's Mom", "not a minor");
star.intercourse(starsMom);
i find it quite easy and you always use val and var
Star you live in alabama right
Yea, I end up having to look through all function calls to find the type
no and i'm not a minor lol
lmfao
👀
var<String> string This should be the way it is done, much more concise
sometimes it is annoying reading kotlin from github, i know what yugi means
Even kotlin sometimes recommends specifying the type after the variable
really? i tend to not have to find the type that often
its almost always quite obvious
It really helps in large codebases
if you're naming things correctly and all that
Utah, even worse
what the fuck is wrong with utah
😦
<3
tah
It has a u in the name
bm has awoken
hello
Isnt it like 12 in the uk?
11
ah
wha
Wait till you try figuring JS 🥲
Very sad
/s
Oh god and PHP
JavaSkript
Java style is lovely to read, kotlin style is lovely to write*
Yugi isn't indian right lmao
I am
lol
Combination of the two best languages
👀
