#dev-general
1 messages · Page 589 of 1
The win 11 requirements are such bullshit lol
yeah it's literally a joke
what do you need? a 9th gen or a 10th gen Intel CPU? An i9 maybe?
9th gen up
lol
😞
i have i5 8400 and its ok
oh
ohh fuck you found out
What are server types such as fabric and sponge built off? Like are they all implementations of bukkit, spigot or just different altogether?
They’re not implementations of spigot
thank god
Lol yeah
Idrk if Sponge server jar is its entire own server eco system or if it still has vanilla nms code in it tbf.
Sponge has a Sponge API from which SpongeForge and SpongeVanilla are built on top of, and just like CraftBukkit, it modifies the core jar (although with other mechanisms, not with patches)
Ah that makes compatiblity a small issue
Allowing the plugin to run on spigot, sponge, fabric etc
I'll just have to made a core module or something with different implementations
but effort
mhm that's the way to go
A tad annoying though because the core implementation needs basic info like world size
hahah yeah I'll pass on that, I was looking through it and they literally just recreated all the bukkit objects it looks like
or the important ones
As for Fabric, it's just a mod loader, there is no server API, you "interact"/"code" with the game itself; the way a mod can, well, modify it is with mixins (bytecode manipulation made easy)
hello guys. talking to you from an ssd. only problem is I could only transfer the windows boot. anyone know how I could transfer the popos boot? I've got a samsung ssd and used their transfer tools from windows since I do not believee it works on linux
WorldEdit resembles more the vanilla structure than the bukkit one
AOMEI Backupper
Yeah well, either way as FUN as that rounds I cba lol
sounds *
or I guess its something to do
Ah pog
I'll start off writing the plugin as generically as possible and see how far I get
is that another tool I have to use?
because it says "restore and clone your windows system"
IDK I only have windows but it copies the drive directly with all file formats and partitions so its worth trying.
yeah I can use samsung's tools directly for that and they worked but only for windows.
that's my problem. I need tools that can migrate both my boots windows and pop
Any recommended GUI APIs?
MF-GUI or Interfaces; though most people in here are more familiar with mf-gui
what if i have amd ryzen....
?mf
Looking for useful libraries/frameworks?
Here are some which have been deemed useful by the community and are used daily.
-> Menus: https://mf.mattstudios.me/mf-gui/gui
-> Commands: https://mf.mattstudios.me/mf/mf-1/getting-started
-> Messages: https://mf.mattstudios.me/message/mf-msg
-> Config: COMING SOON™️
Thank you!
"menus"
Nice
lol
wdym
yeah
Well we were talking about intel
would it not work?
It would up to a specific as well, same thing as intel
F
It's great for learning right, it's awesome
im fine
Proud of you Emily 😌
it's so weird
you can't get or read the annotation directly nor its values like you would during runtime
Yeah it's really weird
How do I find the most recent version for mf-gui?
my guy
look right here
and look closely
...
Thank you...
Seems like I am lmao
@ocean quartz Sir fellow. Am I too ugly to be in your server? I am terribly sorry if my requirements do not match your kind.
Certainly I also plead apology from @obtuse gale too
no thank you
Yes
Don't see any difference
Does anyone know any good videos or tutorials for java/minecraft plugin development? I've been wanting to start for a long time just never found anything that works.
?learn-java
Online Courses:
Online courses are also great for learning java. Some websites that offer them are:
- Coursera - Free unless you want a certificate
- PluralSight - Great courses from what I've seen. Mostly Paid
- Udemy - Never used them myself but they seem to all or at least most be paid.
My first ever course was one from Coursera. - I can say it was pretty good at introducing me to the programming world as a whole not just java.
Oracle Docs:
Oracle docs can help a lot at learning and understanding java:
- Start with this,
- Breeze through this (skipping stuff that doesn't seem relevant like bitwise operators),
- Hit this.
They're the first three from this larger thing which you should definitely go through overall. But those three should be enough for slightly better understanding of what is happening here without feeling like a huge time sink.
That one is a small part of this larger site wherein "Essential Java Classes" and "Collections" also have good useful stuff
Other services:
Some other cool services that will help you learn java are:
As you can see there are plenty of good ways to learn as long as you're willing to invest the time. Have fun learning!
Man really asked to get learnjava'd
xD
did you guys see the thirtyvirus thing?
Contact SpigotMC Staff
➽ https://www.spigotmc.org/XenStaff/
I put myself in a unique position as a YouTube Content Creator AND a Minecraft plugin developer, and this puts me in the unfortunate crosshair of trolls and people who hate my guts and want to do some damage.
As you are about to see, a person can make a brand new account, fill the per...
While i agree that SpigotMC should take more into consideration about troll reviews, I don't really like how Thirty is approaching it cause the last time he made a video flaming spigot it was about how he got banned after telling his viewers to purposely put bad reviews on another plugin.
now hes getting bad reviews and made that video 💀
@ocean quartz i need your opinion
@obtuse gale Little suggestion
im trying out your annotation thing
Yes do it
eventually, take it out of the snapshots for mvn central, its super annoying
it's.. on central already
There are snapshots, and releases in maven
is there a non snapshot version?

yes... the one on central releases
lol
central is for releases
no problem, lmao
Emi
well I used it myself so yeah lol
Opinion
Matt yes, I need your opinion
What are your thoughts on anarcho-capitalism?
I mean, sorry, typo
Lmao
ugh nvm, idk, this is very subjective and preference based
why?
Use 16 lmfao
idk how gradle invokes unit testing, but so long as it uses the classes output I think it should work? no idea really, lol
too much effort to change it
this ^
16, pleb
don't use 13
17
fine, ill go back to 1
1.18 caves and clifs java
there's so many people that think java version = minecraft versions ;-;
Steams though 😌
kotlin though
also, Emily I probably asked you this, but do you know go?
you didn't, and no I don't
oh hm
😌
although tbf I don't even know how it loads classes, from what I know the class-path service deployment works on jar files only
@obtuse gale do you have a test case i can see?
for unit testing or just general usage?
it's not about "your" unit testing, but about how gradle and/or junit invokes and loads things
but just in general, annotate any class (with a default constructor) with whatever that works, @Provides(Object.class), build the jar file, then it should create the META-INF/services/java.lang.Object with the annotated class as content
ya im not seeing the service file being created, for the unit testing i dont really know how your thing works, but i have the most textbook setup(for testing) so my setup shouldnt be doing anything weird
Idk if this affects this in your system, im providing and implementing the service in the same module
just for testing
anyone have a good example of a mongodb database accessor that only updates a small portion of a database, to prevent 2 writes at the same time overwriting eachother
I can push a demo if you want me to
sure
Emi was that really the opinion you wanted or was there something serious? xD
I didn't really get to ask anything, lol
Ask on my discord then to not get buried here lmao
will do
alr can you ping me when you have that up?
Heyy guys. I accidentally removed Commit tab from my left toolbar. Like this thing
How can I add it back? xd
try to press the commit button (top right corner)
yeah but I like it on the left toolbar :/
View > Tool Windows > Git
Then just click and drag where you're wanting the Git window to be.
How do those bots work in #announcements ?
Because like they don't have any roles or anything
Its like its not in the server or something
Looks like webhook
it is a webhook, indeed
For a prison server that displays the ranks and the players current rank in a gui. I'm wondering how I should set up the GUIs. Create a gui per player or make one base GUI and then configure it everytime someone opens it so it's the correct one for them?
create a base gui that modifies for each player using placeholders
A gui per player is fine too
@hazy widget No need to copy my About Me, thanks.
Where?
Either they removed it, or it doesn't show on offline users.
Oh haha I was super confused
Time to use the same one 
Bet you won't 😆
huh what's the fuss about?
@hot hull because “Cat” used his discord “about me”, lol
huh
They already have the same pfp lol
Secret admirer?
Well not so secret
i thought u were the same person lmao
I might do a similar one I liked the style myself
Didn't know you we're mad if i copied it
And my name is litterly named cat, thats why i got this pfp bc i think its cute
I mean I copied it as well but he didn't notice cause he a nerd
Well, atleast you changed-up the format a little.
Haha true, my full one didn’t save right lol
Charlie J
▸ I’m a 20yr old web developer from London.
▸ I primarily code with JavaScript & PHP.
▸ Currently building https://analyse.net.
I recently sold my first successful business for 5 figures. I grew it to 800,00 monthly visits with organic SEO.
Weirdly discord mobile won’t save :(
¯_(ツ)_/¯
Talking of Mobile, only on Mobile Twitter can you set a PFP with transparency.
It is what it is I guess.
Scuffed mobile
@gusty glen It has been released 1.0 ;o
https://www.youtube.com/watch?v=YZ3nIhQGkNU
We're thrilled to announce that the stable release of Arrow 1.0 has finally arrived.
The team at 47 Degrees along with an amazing group of contributors from the Arrow community have been working long and hard on this release.
Arrow is an open-source family of libraries bringing functional and metaprogramming to Kotlin.
Arrow: https://arrow-k...
👀 👀 👀
they finally have updated their docs
The monad inventors
it took like forever, at least now I can see how to do some stuff I didn't know how to before
Pretty cool project
I'll reserve some time later today to read their new docs carefully, I really like the idea of this project
Also, the new sc-cfg is under construction, I plan to do some really cool stuff there, like automatically generating config file based on values of the config class, automagic reload, and all of that by using solely annotations (like Spring Boot does for the most part)
etc...
I don't get how some plugins are 1MB big or so
How much code is there lmao? And it comes to me.. are they even coded by humans?? Full of classes
libraries
Yeah I thought of that.. Can you name any?
So they just put the libraries in the plugins?
yup
NMS
ProtocolLib
Sql
Java itself 
and more
but i mean protocollib is just a plugin u can depend ur plug on
Remove protocollib
or SQL is in java
Helper be like 4MB xD
NMS you just make a reference with maven
none of those listed would be shaded lol (maybe sql if were talking an ORM/connection pool)
HikariCP, Command frameworks, GUI frameworks, some database drivers, Kotlin STD, so many more

So those you just download them as classes and add them to ur plug?
caffeine 😌
You'd use a build tool like Gradle to shade the libs
It's quite funny how LuckPerms does not shade any dependencies and it's well over the megabyte mark, lol
Luck goes ham
Then it downloads them :pepela:
luckperms thicc
altho why does LP download them actually? its a free plugin why not use an external link
Isn't it 11MB once libs are downloaded?
yeah if not more, lol
it also downloads them based on platform and settings too
Yeah makes it easier
ah true
e.g. it doesn't download hikaricp and mariadb drivers if you're using, say, json for storage
It uses okhttp for the editor stuff right?
yeah
Why the heck is AuthMe, a login plugin, 7 MB?
some are database drivers ig
a fat load of libs once again
So the password is not saved locally on the server?
Why does it matter though? 7MB is nothing
can be its configurable
shading spigot usually adds quite a lot, a necessary evil i guess 😞
mmm cant wait to add 50mb to my plugin
postgre vs mongo vs mysql?
mongo good
Different purposes
wait until you find people shading entire plugins + spigot and all that crap with it lmao
Worldedit must be insane work with minimal libs right
math
Yeah but
math is insane 
I know WE is math
Is it just me or is this immense java and minecraft knowledge
Like it seems so weird that md_5 made craftkbukkit as a uni student
is WE checking for chat event or its command with name "/wand" fe
Im a uni student and I feel like i could've never done a project like that
md_5 didn't really make craftbukkit
well a group of uni students did
Yes, one of them called Dinnerbone :kekw:
dwayne "the rock" johnson designed craftbukkit after a night out with friends
in 2011
He did write a bunch of awful code tbf
how is it working like
It's just a command
block place event for wxample
bukkit
WHAT
🌚
HAhahahaha
What??
He's asking whether the commands on WE are written like cmd.getName().equalsIgnoreCase("/pickaxe") as a result them being double slashes
At first maybe
no that was old question now i want to ask other question but i dont type it all and anyone is saying "what" just wait -.-
Type faster!
Dude, we cannot understand if you don't ask the whole thing 😂
but bukkit
i cant on mobile 😠
i said "for example" then i was typing i think its understandable that its jot whole thing
I'm sorry I'm so confused
We're still waiting on the full question
too long dont jave energx for that
LMAO he plain sent a pic of doge
it was shit about bukkit how it works with packets then send it etc
I'm legit dying from laughter rn
but nvm too long to type it again
@quiet depot Letting you know that your repo's SSL is dead
https://repo.piggypiglet.me/
yea repo doesn’t work RIP
Dang, everyone's SSL is breaking lately.
🥲
What's that API about? Being curious 👀
Application Programming Interface, it's basically any intentionally exposed module/system of a program to allow for other programs to communicate with each other
I mean the API pigglet made xD
Oh cool
I read that as "What's an API about?" lol
I'm not that bad in coding 😦
Is this the official vault API? https://github.com/MilkBowl/VaultAPI
unfortunately
Lmao aight, should be pretty self-explanatory though, right?
For the most part, yes
So how would I set up a listener for something like whenever a player earns money?
Just like regular paper events?
Make your own event?
I don't think Vault provides events whatsoever
Hmm, I just need to check whenever a player has enough money to rankup, then they will automatically rankup
I have no idea how Vault API works but maybe you can set up your own event
Vault is literally just a heap bunch of getters and setters for player data (economy, permissions)
Never really worked on custom events, would you say I should make one to check for this or what?
Just to check whenever someone gets money
well
You can make your very own event
and call it whenever someone receives money or smt
again, vault has no concept of events or event bus, so actually knowing when that happens isn't exactly easy peasy, it's just getters and setters
but
you could make your own events for this, though I would say it's incredibly iffy
okay maybe not incredibly iffy
Yeah i wouldnt create an event bus
but iffy
Is there a better way to check whenever someone gets money?
I just want automatic rankups, whenever the player has enough money
automatic is hard
Why?
I mean I could loop through all online players and check if their balance changed but it would take up a lot of performance I think
Because i dont want you to make a while loop and loop it like every tick cause what if there are a ton of players
Yeah
Otherwise you can't do automatic, only delays
Hmm, then I just need to make ONE method to send money, and everything goes through that. Then I can handle whenever someone has enough money I guess
one method to send another method to send another method to send another method to send another method to send another method for sending money

wdym
Or you just use a timer and check whether their balance is appropriate
Exactly lmao
Yeah
Bad for performance if the server has a lot of active players though
thats the only way i can think of which can make it automatic while not using too much unnecessary performance
it depends
if its every tick
yeah hell yea
just giveme 5 days 
Well if you could that simply just listen when money is being given to a player it's doone already
Well yeah, but at that point I'd rather hardcode it all, so I know exactly whenever someone gets money
thats what we literally said...
lmfao
But that's not possible right? Emily said so
That's why i'm dropping alternative choices
But the problem about making a method like that would be if the server has another pay method, then this plugin is basically broken
if you have other plugins
cheers
yea no
then

Well having other plugins was already a sure thing right? Else obviously you can listen to any economy changes of your own plugs
No
but anyways
I'd recommend using Caffeine and their expiring caches
and update the value for players cash when necessary
expiring caches?
oh fuck I forgot
caffeine exists
not sure what that is
updating caches
or what that means rather
who wants some pizza?
Caffeine is a caching api
me
gives him prizza
Oh, I thought you meant coffee.. I just made myself a cup of coffee lmao
Guess I'm getting no sleep tonight
me too

Sleeping is for the weak
oh and driving lessons, forgot that
oh gosh please do sleep
I can think of a reliable way of making your own events for Vault "actions"
Quick
quick
x0.2 gameplay speed
Just fork vault, doesn’t get updated anyways
"he"
what?
Truee fork vault
id say he or she
I’d say they
THEY!
ARE!
ded
You see, I'd say they if the stupid standarized tests actually recognized that as a correct answer
sad >I had to
the tests say he or she
Anyway, wrapping the existing service with a delegating implementation of your own, and overriding the methods for dispatching events before (or after?) calling the delegated service
its so dumb
what? Almost fell asleep sry lol
ori making questionable code part ??
Lmao
whats that?
Sounds very smart, but no idea what it actually means...
please do not tell me that it is the typescript copy in java
I think is called kotlin
No it’s Python don’t worry
yeah it's kotlin
it sounds more complicated than it is tbh
Welp...
oh sorry boi
B.A.A.S - Too many caps!
No need to shout.
Barry's Anti Abuse System | v1.4.7
nooooooooo
its just a smol method to do stuff like this for example 
I dont know i feel like im doing something I shouldn't whenever i do stuff like this
What would you say I should do to accomplish this @obtuse gale ? Multiple plugins will access vault

seems good
if u want
is it easy?
Java is easier to learn imo
I always think knowing java is way more of a priority or else you'll struggle with kotlin 
if you already know java, why not learn kotlin
I do
public static <T> T replaceIfNull(final @Nullable T original, final T replacement, final @NotNull Consumer<T> consumer) {
if (original == null) {
consumer.accept(replacement);
return replacement;
}
consumer.accept(original);
return original;
}
how the heck can I get 50 bucks before oct 25?
stocks 🌚
need to pay that bad boi called intellij idea ultimate
Debatable
yes! I'm 3$ up with tha shiba inu crap
are u in education?
I don't have to explain or show this right now but this seems like it explains it pretty well, "proxy pattern" https://www.baeldung.com/java-proxy-pattern (instead of instantiating the "object" service yourself, you get it through Bukkit's ServiceManager and DI it to your proxy)
15 years man, not yet not yet
I wonder if I can double apply for education license this year again since im in an entirely different college 
ofc, I'd just say that for people starting out with programming, Java is easier to pick up, but yeah that's just my opinion
paying for ultimate is pretty dumb imo, but if u have it can be nice
I disagree, Java bombards you with keywords that make you mess up easily cough static
the features u get from ultimate u probably wont use very often, and community edition is more than good
Mmmm not sure what you mean? I can see how this would help with all plugins using the same pay method, but is that really the best solution to solve my issue?
static messed me up for a long time tbf
Man, I still figure out new java keywords I didn't know existed
Point proven
Oh yeah forgot to mention, then put your proxy in the ServicesManager back, providing it as the economy service
yup
me too
ok mr inline reified crossinline operator infix noinline tailrec vararg
like volatile
But yes, that would be a solution, you're literally overriding the methods and getting every function call
"new"
String
or maybe, should we all fork vault into another repo and mantain it by ourself?
Overriding the methods in the vault API or wdym? So I can check whenever someone receives money
I meant new for me lmao
the keyword new?
You don't start with that
Java's first example is literally public static void main lol
🥲
I think you misspelled
public class Main {
public static void main(String[] args) {
System.out.println("Hello world");
}
}
Oops sorry
What even is ContextualKeyword lmao
volatile is there since like java 1
holy fuck, maybe I stay on 16 till I'm punched in the ass to 17
Thanks!
Piggy save me DocDex is beating me up 😫
It's not that different than 16 https://docs.oracle.com/javase/specs/jls/se16/html/jls-3.html#jls-3.9
imagine not having all keywords contextual 😖
na who cares
oh fuck
For example var is a contextual keyword; var var = new HashSet<String>();, the first var acts as keyword, the second var is the actual variable name
Var var binks
what even is var
declare a local variable with type inference 🙂
help please
okay
Helping
⌨️
🖱️
i love this gif
i cant attach images
?imgur
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.
Like JS does?
no
well js hardly has types kek
You wrote "js doesn't have types" wrong
js is dynamically typed, types do not really exist and are not resolved until runtime (that means no compile time errors for type issues, lol) but yeah in all fairness, js doesn't really have types at all
https://imgur.com/ZHU8SlE so it still lets people buy even when they have less then 8000 $
in java, var is a "placeholder" for the type of a variable that is resolved at compile time, so you get the exact same type checking as if you had typed the, well, type explicitly
Sir this is #dev-general
No Configuration help
I have a gradle project which currently has 3 modules, and them all need to be published by maven-publish, is there a way to make maven publish all modules so I don't have to manually publish each of the 3 modules individually?
probably use the allprojects block, idk tho
subprojects*
and yeah I believe once the subprojects config is set up you can just ./gradlew publish to publish to all repos listed in the publishing config
I see, it worked, thanks
fixed
Nice
this throws ClassCastException (at least with non zero element number), what is the smart correct way of converting a Set<T> to T[]? JAVA @SuppressWarnings("unchecked") public static <T> T[] toArray(@Nullable final Set<T> set) { if(set == null) return (T[]) EMPTY_ARRAY; return (T[]) set.stream().filter(Objects::nonNull).toArray(Object[]::new); }
btw return (T[]) set.toArray(); also throws ClassCastException
why are you calling distinct if.. it's a set
I mean that's not the issue
just curious
that code was slightly copied from another person modified seconds ago
yeah it doesn't make sense to call distinct there, fixed
Yo Piggy after some suffering on the bot side I figured that the issue comes from the server side 😩
Trying to set it up on localhost now
@ocean quartz what issue was this?
Parameters aren't ordered correctly in the description
Oh it's okay it's fun to debug
you need to find the metadata class for methods
oh
do you want to continue that way?
Yeah ;p
okie
Matt es raro
also if you think any code is shit along the way
Helps you learn a lot how the code works, was having a lot of issues with the bot because of guice but as I went I started understanding it a lot
Sure thing
js doesn't really have types at all
I mean it does, theres just no static type checking. Its dynamic typing. types are still a thing
then more prs for cleaning up
yeah and then in converts everything to a string and back to an object during runtime anyway
pepela
hacktoberfest
wdym?
"2" - 1 == 1
We agree to disagree
Thats type coersion matt
nO
Lol
I think so
yea
batshit insane, that whole lot makes up a string "truefalse" or some bs
Thats still type coersion emily
I think you misspelled "bullshit"
I think its groups it something like this
((!(+[])) + ([]) + (![]))
Ayy I did it, it's running on localhost now :pepehappy:
Yugi is typing...
+[] = 0
!0 = true
boolean + [] seems to give a string, cant seem to where thats mentioned tho xD
so at this point we have "true"
![] = false (https://developer.mozilla.org/en-US/docs/Glossary/Truthy)
string + boolean coerces the boolean to a string so its string + string, you get "true" + "false"
yea same 🥲
Elm for the future
lmao
?
Yugi, you are correct, we just don't like it!
exactly
Good luck!
btw matt
started naruto, got to 140 something on the original series before I got bored and moved to the next one, but I think nothing much happened between those
Sasuke still seems to be with the orachi something guy
Yugi reads manga?
Anything between 140 and 219 is just filler
naruto
ahh
on the shippuden ep 27 something now
the anime
Thank me later
Ah
😮
lol
😅
Yugi is elara-hater?
Blasphemy
As I thought
com.github.secretx33.sccfg.exception.MissingConfigAnnotationException: Could not create instance of class com.github.secretx33.testproject.config.MyTestConfig because it is missing @Configuration annotation, please annotate your configuration class with @Configuration``` hehe, it's a start at least
@obtuse gale Does c++ provide something similar to the sorts of the java stream api?
I think it does
What is it?
I believe std has some higher order functions, doesn’t it? Tho if you want lazy sequence in particular might need to use some sort of lib.
Yes, introduced in C++20, it's called "ranges"
https://en.cppreference.com/w/cpp/ranges
https://www.modernescpp.com/index.php/component/content/article/54-blog/c-20/481-c-20-functional-patterns-with-the-ranges-library?Itemid=239
https://youtu.be/d_E-VLyUnzc (I haven't seen this video but any hour long talk is good content, lol)
Ahh, alrighty. Thanks! 🔥
😂
Loser
is there a function class that takes two params and returns nothing, other than a BiFunction<T, U, Void>?
is a BiConsumer a thing?
BiConsumer yeah
ah for a second I thought consumer returns something, bruh
noob
imagine having side effects
I love side effects
Imagine thinking, what a bafoon
Can anybody help me in jpremium plugin config for bungeecord
@onyx loom
@quick flume
@ocean quartz
pls don’t tag everyone
just ask your question in #general-plugins
In this
Thanks I am new here
im confused what does this mean
https://dev.to/kiliandeca/we-built-a-minecraft-protocol-reverse-proxy-2e4f
did you try and read? seems like the post contains a lot of info that could help you understand
The windshield wiper control in my car says "int" and i looked at it today and thought "wtf does it mean by integer"
It means interval
anyone know if there's a way to push to a PR from a fork where the original branch from the downstream doesn't exist anymore?
Si si! Hablo espanol! Nah I'm greek γεια σου, τι κάνεις;
No entiendo
No understand you, okay?
Manifesto, manifesto say "deliver here", huh?
poor floyd
._. necesito un plugin, no veo ningun dev que hable español en offer-services
I mean people that don't speak spanish can code too
And that's the wrong section btw you can go to #893353492075413524
or paid whatever u wish
¡Wow, hablo español! Esto está muy bien. ¡Un traductor gratuito!
Is th-that correct?
they don't even understand me with a translator 
Well I understand you without it
is it stupid of me to create a specific function just so that i can use a method reference? 😂
Yeah Idk
Maybe
I mean it makes it somewhat more polite to the reader
If the reader just wants to read what the function does in high terms
named functions are always better
i just like the look of them
theres a reason that declaring functions in functional languages is so concise
hmm
i guess that would make it better i suppose
Kqliber
anyway
emilyydev
Ofc my apologies
method references good
😃 👍
lambdas are also good but method references best
happy kqliber. yay
blitzoffline
Manifesto
Funnyhexagon
Anywayz
any way but positive z only?
zaynywqyz?
wqy?
whqt wqy
matt. probably asked this before. but is there a way to make some commands not have tab completion with your library? even when players got access to them I mean
yeah
Probably not, make an issue I'll make it a feature on the rewrite
done
o. gitbooks changed the fonts and sizes of texts
I quite like it
also seems to have colors for code blocks. dk if this was a thing before or not
actually might've just changed the colors
ooo. the app.gitbook part is also dark themed noww
They now color .. strings! and .. =! and .. numbers!!
yes
wait. dark theme is now like everywhere? you can use it on the wiki as well?
or is that dark reader?
Dark reader
ah. man. they're at least working on improving lmao
you can change the font now if you have the premium one
Has discord removed the ability to use spaces on voice channels name?
Seems like it 😢
the smarter thing wouldve been for them to add spaces to text channels 😔
Would it be bad to have every instance of a Minion class be a listener?
Should I use a scheduler instead?
wdym?
how many minions are you gonna have?
So like for the one I put in #showcase,
right now there is a scheduler that loops the minions,
I feel like making the minion be a listener, and listens for when blocks are added in the
region, then perform an action is better than looping through them.
I don't know, could be hundreds / thousands
But probably not that many at the same time
I could have one listener class, pass an instance of that to every Minion, and have a callback for the minions
Either way the either the listeners get looped by Bukkit, or the minions get looped by me
But it would still be less than looping all the minions, because I can have some Minions
implement like BlockMinion, EntityMinion, etc.
I like this idea the most
Yeah that may be better
I'll go with that for now, if someone comes up with something better and wants to let me know, I would greatly appreciate it.
Yes
Is there a method similar to Arrays#asList that returns a List that accepts new items?
List.of? Or is that immutable as well
Yeah that's immutable
Stream will do it
😵💫
Anyone know if it's possible to push to a PR branch from a fork that doesn't have that branch anymore? (It was deleted then recreated with a new master)
I tried using GitHub's CLI with no luck
Which one looks better?
First
lmaooo. my bank
just snt me a new card bccz mine was expiring and it has thee same color and theme as thee loading screen for IJ Ultimat
e
ok
val stuff1 by config<MyTestConfig>()
```🙂
also, you can make that lazy init if you use a delegate
but there's no real gain in making the config initialization lazy, I think
but I'll add it anyway
get prefixes bad
What do you think?
actually I don't think it'll work well since apparently there's a naming clash while using it inside JavaPlugin class:
back to getConfig I guess 
oof
kotlin fans adding 500 keywords to a single line function so they can inline the crosssinline reified extension sealed suspending abstract property
"kotlin is not verbose" they said

so concise
Must be one of the most concise languages ever invented
@remote goblet hey! your crates animations look sick, I'm wondering, which math did you use the make them? I do like the circle one
what are some of the most commonly used events?
Interact, InventoryClick, Move, Join, Quit, Chat
Event
MasterOfTheFishEvent
Best event
FallenStarEvent
@Override
public void onFallenStarEvent(FallenStarEvent e) {
Location loc = e.getHittenBlock().getLocation()
World world = loc.getWorld()
plugin.getLogger().log(LogLevel.INFO, "Star fell in " + loc)
}
${} doesnt exist in java
@EventHandler
public void onFallenStarEvent(FallenStarEvent e) {
Location loc = e.getHittenBlock().getLocation()
World world = loc.getWorld()
plugin.getLogger().log(LogLevel.INFO, "Star fell at " + loc)
}
String.format (:
Nah ori
i cannot transcend further
Haven’t done a server implementation yet
minehraft
well if you go transmit me your knowledge
just stop with mc stuff
plsno minehraft
easy
locyyyyyy
do you mean me
Hey there (:
just study esophose code, my plugins are basically her plugins since I code in the exact same way
so is PDM for Java 16+
mhm
unfortunately it's hard to work on things when people keep breaking stuff
like dockerfiles, for example
lmao
runs to get her github
shush
it's profound, you'd think something as simple as a dockerfile would be hard to mess up
and yet, here we are
i don't know what it means by file or directory not found
it definitely exists, that's literally what installDist does
ok that's cool
GROSS
@bardy lol
exactly
stolen language = stolen code = shit
please
someone take the bait
i beg
im so bored
PLEASE
Should have used dart, yup.
shit != good
ewwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww


