#dev-general
1 messages · Page 494 of 1
that looks alright to me
I have dark theme enabled on my laptop but when I want to add files in chat its white
af
and its bigger than my screen lmao
have you set the gtk theme
that's literally my entire screen height in that screenshot
this is how it should look like (this is my main screen)
it just doesn't scale sometimes
what the hell is gtk theme?>
oh you mean Global Theme? then yeah
its Breeze Dark
and in most panels it works
just in the oens where I have to select to upload
I just realized, the beard looks like he had really bad chicken pox
lmao
bad ai
I can't find the zoomed in version of the pinned one 
of?
no there was a version where I zoomed in on it
nope
and it looked bad af
by me that's what I'm saying
ah
😬
good night babe
gn
sweet dreams
@prisma wave one more for the album:
lmao
I can understand quick. 1 hour later. hey cj xD
how nice
lmao
Ayy that looks nice
I'll PR it as soon as I finish all the javadocs 🥲
Is it black and white again?
What bug @half harness
Exception, error or logs Log of leaving and joining the lobby: https://paste.helpch.at/imocamerop.md The last line is a debug message to show that the location is set correctly How to reproduce Joi...
been an issue for like over a week
Why didn't you fix it a week ago?
Can I try and fix it?
..
yes please
i've got no idea why this is happening
(btw its 1.8 api)
Usage: =remindme <time> "<message>"
eg. =remindme in 5 hours "to feed the Llama"
👀
Didn't SecretX fix it?
=remindme in 12 hours "to fix dkims bugs"
to fix dkims bugs
i mean he fixed another issue
and apparently fixed that issue too
but now its not working when im testing
:/
Genuine question, what's best to use? Material or Xmaterial?
if item place becomes item placement, item take becomes what?
Itemstack?
I'm asking for the correct english conjugated form
item-takement
does that exist?
As a word?
the example is literally up there
follow the example
You are asking for the equivalent of item placement as item take?
yes
item takement
Maybe "retrieval"?
that doesn't sound right
It doesn't have to sound right
wouldn't retrieval sounds a bit weird as well (but not for the same reasons as the former)?
It would but i think it's the word
grabment
@ocean quartz I just PRed mf-gui
I'm not going to change the constructors from PersistentGui and PersistentPaginatedGui since they don't have builders, but I have adapted all the existing builders
What's your personal record?
just removed two printfs I forgot there xD
I just did Alt + O on the project to remove all the imports I wasn't using, blame IntelliJ
1
Nice
why is there no #general sadge
Why would it be needed?
Why is there no staff named Matt?
@ocean quartz intellij automatically changes java imports to import java.util.*; when there are at least 5 members of the package being used on the class
You can change it
actually, what is the difference?
Preference
Also because it's a rule on PMD code style and Codacy will scream at you for using it
and I don't think mixing GuiListener with the InteractionModifierListener is a good idea, the logic will be hard to maintain in the long run
the code to handle interaction modifier has almost nothing to do with the original GuiListener, it'll just clutter the original class with no real advantage
There are a few issues though, for example you're not even checking if the current inventory is a BaseGui
what do you mean?
oh I see, but that's because it's a private method inside the InteractionModifierListener
Ah you made them look like listeners
all the is[something] methods are just helpers to check stuff
Well, for now it's fine, but if i might join them later
ok, let me submit the version without wildcards
Hate me but this dude has a point https://discuss.gradle.org/t/why-must-gradle-be-so-frustrating/39957
It has like this groovy documentation
So I don’t know I kinda disagree
That might have been the case before
ikr

lol, and that
ive literally watched, with my own eyes, it turn colored
i did not change any line
i didn't touch intellij
Im posting about it in their forums rn becuase im pretty sure its a bug
alr
I'm sure that's just because IIJ Groovy integration is pretty poorly done
groovy poo poo
groovy poo poo
ok
No one hinders you
apache netbeans
apache = good
time to use netbeans
btw does netbeans have dark mode?
but wait, apache made maven 👀
Apache go brrr
its.. sorta being actively updated
lol
oh its 4 times a year
uh which do i use
the feature update
Lol
only losers use LTS
ok
lol
Don't use 12, use 5
Lmao
See, 5 would have been better
:p
Why is dkim downloading netbeans?
guys is it worth it to get a PS4/5 controller just to play PS Now games on my PC
conclure told me to
i really wanna play bloodborne
idek what half of these are
Did you finally choose the superior IDE of md5's choice?
oh lol didnt see that message, no its just that gradle sucks
trust me
yes, md5 has the best habits
Gradle doesn't suck
It just hates you
lol
Dkim, you don't actually have to go with jokes
too late
also sharex broke
prntscreen hotkey not working
D:
idk y
is netbeans doing smth to sharex
ok i just reenabled it
works now
nvm it doesn't
oh it only works if my selected window isn't netbeans installer
lol
time to do it
time to use the superior IDE
What a roller-coaster of emotions you're going through
looks cool
xD
Looked cool in 2009
Lol
ez
😮
they have so many themes
sorta
oh i have to restart the ide to apply themes
Dkim has found a new love
I mean you also love 1.8 so Netbeans suits you well
lol
hey at least netbeans isn't freezing
yet
AHHH
WTF
be quiet barry
wtf is this
oh well
i'll get used to it
uh
netbeans broken?
nvm its just loading
what is java se
woah
netbeans is cool
woah
it generated the main class for me https://i.imgur.com/A5AJWHr.png
i did not change anything
i want to see INTELLIJ doing this
WITHOUT a plugin
it also has the sout + tab
epic
dkim is speedrunning finding all the problems with netbeans
That looks awful ngl
that font leaves a lot to be desired
thats hideous
Lmao
y u trashing on netbeans 😔
are you using windows 7
those boxes look like something straight out of windows 7
dkim is going full classic, windows xp and netbeans
Vista tho
guys
Java 1.3
it blew my pc up when i ran it
oh
please advise
thats a shame
dkim i challenge you to use java 1.3
hey isn't this intellij ultimate only
ok
argh
i was going to intellij to copy and paste the line
to change the java version
to build
and it was so laggy
netbeans would never
netbeans looks like it was written by a bean
small price to pay for speed /s
lmao
how do i reload the gradle project
yell "hey beaner, reload gradle"
you gotta do it louder
ok
netbeans was made when mics weren't that good
@cinder flare
that's me
I took my ap exam yesterday
AP computer science A
ooh!
ez
what was it like
well
ez
but depwessed too
cause their formatting
is ASS
lol
their code formatting
did they make you use netbeans
what do u even learn in high school computer science
dkim style
how to us excel?
i dont take an hs ap cs
lol
i will prolly never either
i though ap is high school
but i dont take the class
i took the ap test
that's funny
exam
what'd you get
but i didnt take the class
lol
i just uh
ok
lmao
@ocean quartz 🥲
wot that for
ooh you get to work on a feature!
is this paper
adventure
idk kashike just went "if anyone wants to do this one" and I was like "sure okay"
help me
😖

lol
You can’t do that in kotlin (:
wha
in kotlin you would just use val and it would auto assign the right type lmao
what are captures?
Bbg said raw types aren’t a thing
huh...
@half harness basically type erasure
what if i told u type erasure never existed
oh would you look at that
You wrote nightmare wrong
lmao
not really, getAdapter is <T> TypeAdapter<T> getAdapter(Class<T>)
but getClass is always ? extends T
¯_(ツ)_/¯

and since ? extends is producer/supplier, it cannot take/consume it
super and extends are kotlin's in and out for generic types
luckily for me, I don't understand in and out 😉
isn’t wildcards like not a thing in kotlin
*
<? extends T> == <out T>
<? super T> == <in T>
<T extends Something> == <T : Something>
<?> == <*>
huh, that's very useful actually
Also what’s declaration site variance now again heh
the what
Idk bbg bragged about it the other day
@cinder flare https://stackoverflow.com/a/4343547/8083725
super well explained what that is all about
Sometimes i wonder what the fuck IJ is thinking
i mean, it might not know
the shadow knows
The shadow knows
actually i shouldn't even be doing that
mojang doesn't specify any custom actions for hover event
i'mma throw :^)
if anything kashike will yell at me 🙏
maybe use a TypeToken aa it has getRawType which returns Class<? super T>
after all the whole idea around adventure serialization is that "it replicates vanilla behavior"
Just got that on my mind but ye
oo are we talking about types
Any opinions on the naming of this?
I feel like it's kinda weird that it's both called something like listen
i have lots of experience with types
Ye just scroll up 🙂
lol
for some reason I read that as "GithubPush" -> "PushHub" -> "PornHub"
how did u get a nick here when u don’t boost
i didn't
oh
lol
Your adiction is showing, smh
guys i corrupted my classpath 🥲
idek how i did it lmao
lol it says when i decompile the code that i imported A and A exists in the file structure of the jar, but at runtime it says I tried to define an instance of B
lol
reminds me of XML/Maven
color.color.color(color.color(color).color()).color
<dependencies>
<dependency>
<name>potato</name>
</dependency>
</dependencies>```
dang that's a nice blue
I guess i could name it something like:
listener {
on<GithubPush> {
}
}
ah yeah that'd be nice
heh
https://github.com/KyoriPowered/adventure/blob/94ce70e070e10c45e9cc2908ed995016f9e02bee/text-serializer-gson/src/main/java/net/kyori/adventure/text/serializer/gson/StyleSerializer.java#L105-L107
https://github.com/KyoriPowered/adventure/blob/94ce70e070e10c45e9cc2908ed995016f9e02bee/text-serializer-gson/src/main/java/net/kyori/adventure/text/serializer/gson/StyleSerializer.java#L168-L170
why is it package private btw
unit tests
oh
lol
😮
I went into settings to set it and it was already set
I think we must have had it for a while
HC just built different
Added a new NBT tag for entities - “HasVisualFire” – which will cause any entity with this flag to visually appear on fire, even if they are not actually on fire
Yo
That's pog
I care about the tiny useless changes
is that like the paper changelog or something lol
Latest snapshot
ah nice
MC-225078 - Upgrading from 1.12.2 and below will cause items to lose enchantments
Who. The fuck. Cares
dkim, when we finally force him to update from 1.8
Lmao
https://youtu.be/cuBNQ6tiNcI?t=146 you see, it's funny because it's true 🙂
MIT best license
mit it is then
If you are linking your server to a bot, I suppose you cant connect two servers to the same bot or not?
can i license the bukkit bit under mit too?
screw it, what's the worst that could happen
its not like the bukkit devs are gonna come and hunt me down
Yeah they won't do anything
^
wtfpl > mit
how to find the bug in your code? throw 50 checks everywhere and hope one catches it 
the checks worked i worked out it was 1.8 breaking it.
https://openjdk.java.net/jeps/406
HOLY SHIT
holy shit, I know right my code is amazing !!
honest question, what is that what you're exited for..?
Pattern Matching for switch
yes
i can't work out why it's good tbh.
that would be so much better with string templates, something that Java still lacks, but that is actually amazing
I guess I don't use that thing enough
Did you actually read it
That's probably why then
probably not implemented until now
why does it take 3 years to implement?
i mean it just takes time for JEP's to be processed and approved
holy shit i love the new thing
// Old code
if (o instanceof String) {
String s = (String)o;
... use s ...
}
// New code
if (o instanceof String s) {
... use s ...
}
that is good
lmao
static String formatter(Object o) {
String formatted = "unknown";
if (o instanceof Integer i) {
formatted = String.format("int %d", i);
} else if (o instanceof Long l) {
formatted = String.format("long %d", l);
} else if (o instanceof Double d) {
formatted = String.format("double %f", d);
} else if (o instanceof String s) {
formatted = String.format("String %s", s);
}
return formatted;
}```
that
that's not what I was talking about but ok
static String formatterPatternSwitch(Object o) {
return switch (o) {
case Integer i -> String.format("int %d", i);
case Long l -> String.format("long %d", l);
case Double d -> String.format("double %f", d);
case String s -> String.format("String %s", s);
default -> o.toString();
};
}```
to that
???????
can eny1 help me with an error?
you just gave us this page to read
did you actually read it
i'm on like the top part
Or switch expressions*
oh god switch expressions are my dream
I wonder why they decided to update switches
um
because java is like the only modern lang without pattern-matching switch expressions
oh
starting to, ye
Can eny1 help me with a error?
Eh, not really, Kotlin's implementation is actually fairly simple
well it's miles better than Java's currently
Why weren't you supporting the new Damage system in pmines?
It's arguably not pattern matching at all
well it kinda does some pattern matching
where?
you can test for instanceof, functions returning booleans, in ranges, etc.
the is checks aren't technically pattern matching, it's just testing a Boolean + smart casting
yeah I'm not saying it's bad
But if we're being pedantic then pattern matching probably isn't the right term exactly
case someList of
[a, b] -> print (a ++ b)
That's a pattern for a generic list with 2 elements
and kotlin couldn't do that?
not currently
learnyouahaskell
I think java is planning on adding array patterns which are very similar
is that JEP gonna be in Java 17 or something?
oh dang
?
tf is a "line thing"
you know, when you click a number on the left and side and it makes a link to go directly to that line
how it does #L47
Oh right
yeah, i thought you could only do it from when you go through the code not but not in commits.
if (Bukkit.getPluginManager().isPluginEnabled("MVdWPlaceholderAPI")) {
plugin.debug("Trying to use MVdWPlaceholderAPI for placeholders");
if (be.maximvdw.placeholderapi.PlaceholderAPI.getLoadedPlaceholderCount() != 0) {
input = be.maximvdw.placeholderapi.PlaceholderAPI.replacePlaceholders(player, input);
} else {
Bukkit.getConsoleSender().sendMessage(ChatColor.RED + "[NametagEdit] As the error above suggests, you " +
"do NOT have any placeholder plugins installed. The placeholder API is merely an interface, it " +
"requires other plugins to function. This is NOT an issue with NametagEdit.");
}
}
// The string can become null again at this point. Add another check.
if (input != null && Bukkit.getPluginManager().isPluginEnabled("PlaceholderAPI")) {
plugin.debug("Trying to use PlaceholderAPI for placeholders");
input = me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(player, input);
}
look at that
if you have MVdW installed but don't have any plugins that use it, it spams that console message but there's nothing actually wrong
why on earth??
dunno
just kinda weird
that guy in #development and a bunch of spigot reviews have the same problem
someone called PrivateMines "luxury kindergarten with blocks to mine" 
Groovy
lmao wtf
just why
@half harness what was the bugs you had
How can I describe Minecraft plugins in a report which person who's grading probably knows of the game BUT does not know what plugins are
I'm not sure 😂
server-side extensions
@prisma wave uh i might need your help 😄
the deserialize method doesn't wanna work well.
Thank you
Exception, error or logs Log of leaving and joining the lobby: https://paste.helpch.at/imocamerop.md The last line is a debug message to show that the location is set correctly How to reproduce Joi...
the other bugs are listed too on the issues page, but thats the biggest
getting it from gh now
tytytytytyty :)))
even if u dont find the issue ty for helping :)))
final String basePackage = 'me.dkim19375.bedwars.libs' ??
yea, i just made that for relocations
how you getting that
so it'll all go to me.dkim19375.bedwars.libs.kotlin for ex
it's not a thing in gradle?
it errors up for me
groovy has variables...
huh
try reloading gradle
does the rest of the project error?
the rest loads
use def
wdym
the def keyword
👀
def means that u wont have to type the Type i think
pulling
oh
def basePackage = "..."
so its like java var
fixed
it allows the variable to be dynamic too
wait really?
i didnt even know u could use variables like how ur doing it til just then
i just copied java and it worked
lol
groovy seemed quite similar to java
man idk how you messed up this build.gradle so much lol
whats so messed up about it ;-;
it won't even build for a start
i have no knowledge of groovy
what
it does for me
🥲
are you doing gradle shadowJar
i can't even get to that point
whys it looking for annotations 
your code
https://github.com/dkim19375/Bedwars/blob/master/build.gradle#L93-L116
where do i have annotation dependency
also, i dont get any of the errors u have
Where is Project & File coming from
jetbrains annotations?
it's a class
@onyx loom
what is functional annotations
its coming from nbt api
this gradle file is a pain to sort 🥲
;-;
._.
sorry i've got to the point of not holding in my thoughts
;-;
i got good news
how good?
I completely wipped the resource from my pc
what resource
now to nuke the plugin :))
👀
what on earth is going on here
um
it doesn't have a million Objects.requireNonNull :)))
Logger its broke
wdym
ok
u love copying ideas don't you dkim19375?
you like my nick dkim
wdym?
just saying this again, but it all works on my intellij
and it all worked for SecretX too
soo uh

huh?
just saying this again, but it all works on my intellij
and it all worked for SecretX too
you* not me
13:20 Commit failed with error
0 file committed, 1 file failed to commit: Fixed logger?
gpg: skipped "UntouchedOdin0 <UntouchedOdin0@users.noreply.github.com>": No secret key
gpg: signing failed: No secret key
gpg failed to sign the data
failed to write commit object
omg how have I not seen this before?
other than commit & push
🥲
wtf was that emoji? xD
no idea
:SubnoirweirdChamp: lmaooo

i should be working on a presentation rn
for the past 20 minutes
ive done nothing
aaaaaaaaaaaaa
good
what
why r u committing
just saying this again, but it all works on my intellij
and it all worked for SecretX too
??

so you don't need my help?
why are committing fixed logger
what did u change?
https://github.com/dkim19375/Bedwars/blob/master/plugin/src/main/kotlin/me/dkim19375/bedwars/plugin/BedwarsPlugin.kt#L45
its using java.util logger
clearly not
clearly so
var SERVER_ONLINE = true
private set
lateinit var LOGGER: Logger
private set
And also disguised with conventions for constants
Why
sorry 😔
Piggy I require your assistance. I'm trying to use Dolphin for a server in Pterodactyl but I can't for some reason connect to it. All it says its connection failed or something like that. I did it for the dedi tho. so i know it should work but for some reason it doesn't. I'll just make the changes directly in the dedi for now but I have to remember which server is which every time so it takes a few seconds before I find the correct one.
you need to tag me when u need help
because there's no guarantee that i'll see ur messages
xD
show me how ur logging in with dolphin
Is this like invoking Voldemort
He turned online that exact monent
wait seriously?
pls don't hurt me. xD is my biggest sin I Know.
idk maybe xD
xD
i usually have notifications off this was just a one time moment where I had them on
The "One Who Shall Not Be Named"Piglet
wait so u heard everything we said
no
ok
i only just got on
sus
I just noticed that glare used paste.gg for that paste
weirdo
anyone know why paste.gg is better than paste.helpch.at and what I can do to make paste.helpch.at better
I go to network, add a new network folder, select Secure Shell (ssh) -> Next -> Name: Bungee, User: USER-GIVEN-BY-PTERO, Server: SERVER-GIVEN-BY-PTERO (without the :2022 part), Port: 22, Folder: / I have also tried /mnt/data/servers/BUNGEE-UUID/ as a folder but that didn't work either
this is the error I get
or message
whatever
oh yikes that sounds like a huge amount of effort
are you able to sftp using a standalone client?
hmm now I just realised I Could just use the dedi user and go directly in each folder
add language highlighting selection to helpchat paste 😌
you'll have to explain this bcz I've got no idea what that is
helpchat paste only supports like 3 languages ;-;
pterodactyl will automatically fix permissions when u use root
so if u just want to use root
that's fine
alr then I'll just make a new folder for each server and use root Ig
oh god xD
pm me the sftp details
@onyx loom I don't see an option for that on paste.gg
did lucy leave?
I can't tag her
oh
still here
forgot she had underscores before
thought they were after
lucy is your hastebin fork open source
lucks paste has it
idk I just type @lucy lol
and i think even lucys does yea
yeah ik lucy's has it that's why I'm asking her
didn't know lucks had it
is luck's a hastebin fork?
not interested in switching to a non-hastebin alternative
well for starters, shorter and more memorable name lmao
you mean "paste" blitz?
I mean... I don't even have to remember the domain
Ik its not a problem you can fix just saying xD
actually no, dont get ideas about helpchat paste, pig we need papi 3 🥲
lmao
soon™️
ah, its the best when youtube keeps recommending the same thing even though i watched it already
@quiet depot yeah it is
🥲
gonna spend some time making it super nice soon
man, imagine not being sponsored by a hosting company
has anyone ever had a experience with ovh domain & cloudflare?
you guys gotta upgrade
man, imagine being sponsored
^
sponsored by sparkedhost 😎
imagine
feeling ignored
you did ask in dev general tbf
i have 0 experience with ovh and cloudflare
shit
not much i can do
i meant to post it in offtopic
Funny because 1.8 is closer to 1.5 than to 1.16
hmm in java how would I select the path where my jar is? Bcz ../ returns the directory before. so for example if I have my build/libs/ ../ would select /build/ but I Want to select /libs/
Anyone know how to sign github pushes
Write your name at the bottom of the page
I mean, I wanna have it signed like how bm has it https://github.com/knightzmc/PrivateMines/commit/c2d571d32fa7edf4b8551ce4930831793383cbdd it looks more professional.
What are you trying to so?
I have found AlphaBot::class.java.protectionDomain.codeSource.location.path but this returns the jar file path and I know I Could just .replace but what if the jar was renamed in the process?
just declare the path to my config file
and it should be in the same directory as my jar
oh I guess I could just remove
everything after the last /
that can work as well
Can I somehow specify path to the eula.txt? When running the start.bat file for the first time
Please don't ask why lol
sorry
Lmao
urs is fine odin?
im confused
The "Verified" badge thing
I know it's $ git commit -S -m your commit message on the command line, but how do I do it in IntelliJ?
ohhh right i see it now
I think %CD% gets the current directory so you could use %CD%\\eula.txt I guess idk any batch script xD
It looks more professional to have the verified badge if you ask me.
Not quite what I meant, I figured it out though, I can accept the eula in the start.bat file which works fine
ah nice
The problem was that the start.bat file couldn't find the eula.txt file before
just create it yourself xD
Spigot has a jvm flag to accept the eula
fr?
yeah I assume that's what he did
yea
since when
why does that matter
That's what I did yeah
just curious I never knew of it.
so we know for how long we've lived in a lie smh
How can I run the server on a different port though? Changing this didnt work server-port=25565
if I have added a file to github through iij (not commited), how do I ignore it without adding its name on .gitignore?
i cant find anything in IJ for this, i might be blind tho so idk
I mean bm does it so
doesn't bm use cli..?
he prob uses command line
yea
what's up with the verified thing you guys are talking about?
Where do I put the "--port 153"? This doesnt work
java -Xms1G -Xmx4G --port 153 -Dcom.mojang.eula.agree=true -jar "R:\Transfer\SpigotServer\spigot-1.12.2.jar" nogui
Signed commits
at the end probs
verified badge
This is what I'm using
It doesnt specify where to write it though
aight
Dunno why but it works
that's a thing of the vanilla server
that makes it look like you pass those as jvm flags rather than program args...
¯_(ツ)_/¯
I know the vanilla server has a ton of args (that come at the end) for those things too, nogui being one of them
for me it says just this
leaked email
lol odin u stupid
xD
signed commits != "your signature"
make sure ur not committing directly to my repo btw
yup idk
.
i should probably change my email lol
signed commit = you used a PGP key to sign the patch
bro the best nights are the nights when you have a really dumb idea so you just start making it till like 3am
yea found it on google
intellij commit tab -> unselect it, thats the only way afaik
git rm —cached file
?
if I have added a file to github
but is not on github
What does the @ pause do in start.bat?
gpg or pgp
wait for you to press a key before closing the window
gpg is a program to create pgp keys


