#dev-general
1 messages · Page 598 of 1
910852797371670538
yeah i double clicked the server name and selected copy ID
well no clue then
Can I invite you to my server so you can check if thats fine?
nope
nice
I don’t think bots can see servers they aren’t in themselves
not how it works
it gets the data from the API
as there's a non authenticated (atleast iirc) endpoint for things like server banner, name, etc
maybe the server needs to be public though?
idk
Oh right
It may need to be a community server
That’s why the member count wasn’t showing
As far as I know
I have a member count
ah
being public is a thing too though
like how you can see a server through emojis
that could be it
Ohh
iirc
Yeah that’s what I meant the community thing
that's different from community
By this
community is what gives things like announcement channels
Yeah haha
Yo
hm, what's generated as a record class hashCode if it has no components? 
Maybe just System::identityHashCode
So uh
Md5 just released 1.18 pre builds
Dear All
As we mark the 9-year anniversary of SpigotMC.org, it is my pleasure to announce that development/preview builds of Spigot for Minecraft...
😳
We would also welcome the addition of a Gradle example, please share one if you have it.
👀
java 17 required nice
Please also note that current versions of Java 17 have a bug which may affect users on single-core systems. If you have such a system consider adding
-Djava.util.concurrent.ForkJoinPool.common.parallelism=1as a Java argument.
you've got to be fucking with me, right?
uh
I cannot find a single paper, blog or issue talking about a "bug" on java 17 about available core count
okay so there is this but it's been fixed on newer builds of Java 17 even https://bugs-stage.openjdk.java.net/browse/JDK-8264572
Not to shit on md5 but holy fuck
But hey
Spigot pre-release is big!
There are plans underway to change the way many enums in the API are handled so that custom content can be better supported.
about time
Okay so this is very good news

I think it's time for me to stop shitting on md5 now
What would changing enums fix?
e.g. custom biomes, dimensions, statistics etc
all those and many more things can be added by datapacks and, ideally, plugins
by having an enum you are constraining it to a very specific and unmodifiable set of values
with a proper registry system that wouldn't be the case
Yay
Theres also probably going to be separate registries for blocks/items
Hello, so i got weird question
How for example the big servers are making their rewards by chance, quantity and quality(like items,blocks etc.)
For example how the devs are thinking in vote chest for example what items should they put at what quantity at what chance
Also that question apply for /shop(buy,sell)
Is there any general system ? Or are they thinking their way
wot
Ok ill give example
Lets say we play on survival and there is a vote crate, there in that crate
There are bunch of rewards
16xSand at 76% chance
Pure example
How they think that i mean i guess they follow some system isnt just random items and random drop chances
Some1 told me about weight system but i have no clue the fk is that
yes its a weight system
search it up, the outputs are weighted
so its not completely random
but its still random
Cus i want to make coin shop, like tokens
But duno how to play with prices
The thing is i have to think how coins are gona be earned
Like slaying mobs
I need to know chances of spawning for every mob and to put base for 1
Then to calculate the chances
Ahh so complicated
Any idea how to find those weights, i searched like minecraft weight system but cant find anything useful
https://bugs.openjdk.java.net/browse/JDK-8274349 I reported this one, the fix for it isnt released yet afaik
you're welcome glare!!!
😂
Interesting for Kotlin 1.7 they are wanting a namespace-based solution for static extensions, this will be awesome, will allow for any class to have static extensions without even needing to declare companion object which should interop with Java
Also should allow something Sxtanna suggested a while ago companion val or companion fun

Interesting
🥴
Also @old wyvern 1.7 
They also said they want to add more platforms, i'd love to see C# added 
Imagine coding in Unity with Kotlin 🥺
👀
so
instead of enums
there will be registries?
and with that
making custom world gen will be easier?
You good Yugi?
where is the guy in the right corner staring at 👀
he liked it
How for a scoreboard do you show how many players are on each realm ?
already read that, I mean jetbrains runtime, it has dcevm bundled and is on for java 16
@desert horizon "no"
https://forums.skunity.com/resources/script-deobfuscator-wildskript-obfuskator-2-0-5.527/ seems like obfuscating and deobfuscating Skript is a thing
ive rewritten my entire custom enchant gui plugin fresh and now it supports custom enchantments that i may decide to create
script is cool for fast little additions to the server, but not for big-ass systems
why the f you would need to obfuscate it
but it also requires me to register every vanilla enchantment aswell at the same time which is gunna take some time but i dont mind
Failed to load staging profiles, server at https://s01.oss.sonatype.org/service/local/ responded with status code 401, body:
Does anyone know why I am getting this error when trying to publish my repository to MavenCentral?
It was working a while ago, do I need to update an SSH key or something possibly?
i dont remember getting that error ¯_(ツ)_/¯
I haven't uploaded it in a while, its my first time getting the error
what cmd r u using?
gradle clean publishToSonatype closeAndReleaseSonatypeStagingRepository
Caused by: java.lang.RuntimeException: Failed to load staging profiles, server at https://s01.oss.sonatype.org/service/local/ responded with status code 401, body:
at io.github.gradlenexus.publishplugin.internal.NexusClient.failure(NexusClient.kt:142)
at io.github.gradlenexus.publishplugin.internal.NexusClient.findStagingProfileId(NexusClient.kt:73)
at io.github.gradlenexus.publishplugin.InitializeNexusStagingRepository.determineStagingProfileId(InitializeNexusStagingRepository.kt:63)
at io.github.gradlenexus.publishplugin.InitializeNexusStagingRepository.createStagingRepo(InitializeNexusStagingRepository.kt:50)
Oh wait
I'm dumb
I think its because I had to change my password
the new jar format for 1.18-pre5 is kinda wack
everything is bundled as libraries now and loaded at runtime
it's always loaded at runtime
well what I mean is the main server jar now only contains Main.class and everything else is bundled as individual jars in the META-INF directory
it's actually a cleaner way
it is I'm just having a bit of trouble finding a way to depend against it
oh yeah it's all coming together
https://gyazo.com/84d87be1e18424714f7b6268eb45ebca
what's happening there
that's the new particle called block_marker lol
barrier and light got replaced by it and it's capable of displaying any block as a fixed texture in space that rotates with the player's camera
oh. I probably saw this somewhere but its cool
that sounds useful for a lot of stuff ngl
that was the easiest plugin update of my life
New holovid version incoming?
lol
don't tempt me
I'd have to make an rgb -> texture mapping though
mhm
which frankly sounds awful, if somebody else does it then I'll do it
I can add a new display type in a matter of minutes it's just making the rgb to block mapping which sucks
xD
nice nicole
tyty
what the hell is this monstrosity that I just stumbled across https://github.com/Mojang/DataFixerUpper/blob/8b5f82ab78b30ff5813b3a7f3906cd3f4f732acf/src/main/java/com/mojang/datafixers/optics/profunctors/ProfunctorFunctorWrapper.java
DFU is a complex piece of sh*t
I'm trying to find where the com.mojang.serialization package is hosted in and thought it was that project but apparently not
😌
is there a way to actually get a directory listing of libraries.minecraft.net
I ask because getting this error due to a missing dependency https://prnt.sc/20m4a0s
oh it is in datafixerupper
This looks scary and makes my question my knowledge of Java
probably because it is scary
Thats probabbly their, it works no one touch it ever class
I think that's used to convert chunks from the old format to the newer ones
no idea how though lmao
that's ... something Nicole
Its beautiful
is your pfp a picture of luffy dabbing.....
shh
I have no idea tbh
I just took a random avatar from google 2-3 years ago and just stuck with that
I literally searched "Profile avatar"
oh lol
I wanted to watch one piece
Its great
I got annoyed of naruto after 200 of series 1 and 252 of shippuden
probabbly cuz naruto sucks
I stopped watching after episode 7
💀
Theres a hell of a lot of annoying filler
I just started jujutsu kaizen today, 5 episodes in
only thing with one piece is the pacing sucks at some points
Thats a great anime
I need to read the manga now though
😌
welp, ima reapply for dev role, I have no idea what it does but everyone else has on and im jelly
I applied for one like 6 months ago, but I never got a responce or anything so 
You're not missing much
I will never be complete in life
Dont you TestSticker me
imagine playing without us
welp. I'm a bit late xD
dammit
I dont think I can shorten it more
welp
main=interact$show.(\(a:b:c:d:_)->max 0$a-b-sum[d..d+c-1]).map read.words
jesus christ
is there anything in there that can be shortened/simplified?
nothing obvious
that's python?
Shame
thats haskell
o
🥲
@prisma wave is the file manager u were working on earlier os?
file manager?
the one that was like mine
Oh the annotation thingy?
yes
yeah
link ples
okie thx
except the annotation processor stuff ofc
yep
good thonk
yea it's pretty cool
Worked first try too which was nice
You can inject a provider and it'll just auto update
i hate this situation
when it happens to me
i try to avoid a plural in enum names
but sometimes u gotta do what u gotta do
I use plural for utils
same
😌
it makes sense for utils because there are multiple utils in the class
whereas with enum it makes sense with both
it makes sense with plural or singular because there's two different perspectives
plural enum kinda makes sense
Yea
It's not ideal but I can't think of a better way
singular enum makes sense too though
because you can view the object as an implementation of the enum
so it's like NamingPattern.DEFAULT
you either think about it as picking a pattern from a list (plural) or referencing an implementation of a parent class (singular) - to elaborate on this think about List, it's List, not Lists, evidently the logic transfers over to enums as loads of people name their enums singularly
maybe plural is better now that I'm thinking about it properly idk
xD
@prisma wave is there still no way to specify destination?
Not exactly
Gonna add an annotation for that
Need to make the annotation processor work with the default file and stuff too
ah
It's kinda confusing because default values could either come from a static field or a default file
which takes priority?
and it needs to work with records which don't support the static fields
I've heard Moshi is nice
Using gson in mine to keep jar size down but if that's not a concern then go for it
just hope moshi can do the weird instance stuff
instance creator
well rip conversion to moshi
back to gson
You could stil kind of do it
generate a class with the required names 😷
class Human {
@FieldName("elon")
String name;
@FieldName("musk")
int age;
}
class Human$Json$Formatted {
String elon;
int musk;
}
not necessary
they have an annotation for it
@still creek
k then
yugi it's not really worth the effort
Ahh
💀
Did the dude just post his homework in #904591269005770762?
kek
I don't understand people who study CS yet don't want to do the hw projects, cause most times they aren't boring
hehe. good joke
I laughed
I have to do the same homework twice bcz both my lab and my class teacher gave me similar problems. and they're like 70 for each
also all they are, is highschool problems I did before just in C++ not C#
But I mean then again, I'm not a dweeb so I don't study CS like the rest of you losers
what did u just call me
A loser
😠 😠 😡 😡 🤬
reported you to the admins!
how dare you call me a loser
only my mom can call me a loser
loser

something awesome happened
your mom finally disowned you?
Oh yea aussies
maybe dchat as well? xD
hah
sthu Piggy
I won't lol
yeah. I also said that I won't work on the rewrite. just trying to see if I can get a quick build with hex.
Just make it from
scratch 
they were working on it but piggy is lazy af so he never finished it
ugh
man... school ends on the 24th for me
Don't blame others for you laziness, you could've made it yourself
today is the 23rd my dude
december
rip
I finish 17th jan, then I got finals in april or june or some shit
@quiet depot hello good sir
hi
The fuck is a TimTam
Tim Tam is a brand of chocolate biscuit introduced by the Australian biscuit company Arnott's in 1964. It consists of two malted biscuits separated by a light chocolate cream filling and coated in a thin layer of textured chocolate.
An old friend who lives in aus came last week, she brought me a pair of airpods and… a pack of TimTams lmao
Still gotta try them
the airpods?
You're telling me Americans don't like Vegemite???
Bunch of asswipes
my brother got the samsung buds few days ago. never thought earphones can sound good lmao but damn
ikr
do u like vegemite?
wtf is vegemite
I think I tried once? But I don't remember trying it
something you’re unlikely to like
yeah. looks like poop
also meat pies
Those I do remember eating a few times
Nothing outstandingly spectacular but they're pretty good; I should look up a recipe now
man. I had american style pie a while ago. its actually not bad. I had apple pie
feel like apple pie isn’t american
idk. but I havent tried it before
Stick a bullet and an American flag in them, now it is
what kinda pie we talking about here
can u give me a visual example of what you’ve tried
there’s different types of meat pies
they can vary hugely
i had apple pie tonight
apple pie is good
yeah lmao. whenever I heard someone say pie I always thought about this since this is what we call pie here at least in our area but its usually filled with potatoes, or/and cheese
and its not sweet
they look like munted pancakes
https://farm9.staticflickr.com/8691/16996037842_de770c9af3_o.jpg
This and I think it had mashed potatoes? Fairly certain it did
oh you can also have them with cabbage
yeah ok that’s food
those are also very good
That is food indeed
but meant to say good
idk if a recipe is the way to go
think pies are pretty hard to make
but I recommend using chunks of meat, not mince, if u do make one
or if u buy one, always ask for chunky beef
I really hope you guys get to taste thee pies at least once in life. you won't regret it.
best pie
doesn’t really matter if you add other stuff
mashed potato, cheese, bacon, pepper, mushrooms are popular additives
can also put other shit entirely in the pie, a butter chicken pie slaps
GuYs LeTS TaLk ABoUt FooD In #off-topic plEaSE 🤓 ☝️
I'm spending way to much time trying to figure out how to play a sound in C# than I should
what would be the best is if it was just my sound being on mute the whole time and it actually working
yeah idk what was happening. I was trying and it didnt play. The task was asking me to just play a sound anyways so I Just used Console.Beep which worked
I also had problems with getting the path of the sound but that I figured out in the end but for some reason playing the sound didn't work even if I gave it the direct path
yeah. I did convert my mp3 to wav. found out that it needs to be a .wav but same thing.
no sound
it doesn't matter at this point. won't even try anymore. I was just gonna play the joe biden hello sound because the tasks did not specify what sound so I thought I'd go with something funny lol
but a beep works
Damn that sucks is it for school?
ye
Is there a version for deluxechat 1.17?
yeah. #spigot-linking follow the steps from there
github, youtube tutorials, there is plenty out there for free.
?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!
My bad, anyhow - there is a list above
Which one of the three link in other services do you prefer
solo learn is good, jetbrains academy is great
pluralsight is one of the best for courses (from what I've seen personally.) tho but its paid
Ok
@onyx loom moment
HUH
LOL
I dont wanna talk about food
I feel u
Umm i just wnt in jetbrains and The lowest of starter courses there are is creating a chat bot and knowing all the things about literals etc. I know nothing of that i need some basic language learning you know some websites that have that?
you can try sololearn and google
the thing with sololearn is that the practice questions are usually extremely easy (most of the times you just have to fill in a couple blanks), and if you just zoom through it all you might just forget it the next day
https://github.com/Jenya705/mcapi/blob/main/mcapi-rest/src/main/java/com/github/jenya705/mcapi/Route.java#L10 this should be considered illegal wtf
public static Route of(HttpMethod method, String url) {
return new Route(method, url);
}```
Ok its sololearn then
just make sure to practice it too, if you don't want to setup an IDE you can always google an online java one 🤷
(although i'd recommend an ide)
If anyone here is familiar with PayPal's API, does PayPal's API only call events on a application's webhook when the event stems from the application or just all notifications...
For reference, it's in relation to my recent project seen here; #showcase message
Currently I'm trying to see if there is an error when paying an invoice that was made on Paypal's site, and not through the bot (thus, it's not in the database).... so payment notifications may break the system. Though when I pay a a invoice not currently managed by the bot, it doesn't receive a notification about it :/
PayPal 
yep that was my mistake
I learned but never practiced, resulting in forgetting a lot of things
@somber tulip looks good, just dark mode so my eyes dont burn
See the light my friend
no
dark reader 😎
what if you just copy dark reader's theme? 🥲
why is my ip in "Saved data" 🥲
why am i using the 🥲 emoji so much 🥲
🥲
does anyone know of a website that would sell like a whole bunch of random 2d item textures. tried googling the hell out of it but didn't get anything relevant
Minecraft NFTs
How would you send players across servers seamlessly?
(meaning no loading screen)
I know it's possible, just not sure how
like bungeecord, waterfall, velocity or smthing?
Yeah
Forward packets
How does that work? I'm not too much of a developer, probably going to be relaying this to someone else so just want a general idea
I don’t think it’s possible iirc
I thought that’s why people want transfer packets
Which don’t yet exist
@urban sleet It's impossible to actually transfer a user's connection from one server to another, no such functionality exists in minecraft
however you can get around it by forwarding a user's packets like yugi said (this is what bungeecord does)
as for making it seamless, there are public plugins that remove the loading screen, I can't remember their names, you'll have to google it
this is for changing worlds but I don't see any reason why it couldn't be adapted to bungee
I thought we needed the transfer packet for that?
no
transfer packet just allows you to transfer servers without a proxy (e.g. like in source games - think tf2 & csgo)
oh I see
The reason your screen swaps is when you’re changing worlds
Your best bet is to go clean it up/recode a fair bit in spigot since thats the way to lower the world transfer time/teleporting with dimension changes
I know it doesn't belong here
but please be aware
There is a new token grabbing methode
With what
Yeah I heard of it too
you know its bad when biginteger throws a stack overflow in C#
👀
I need to solve combinations, where the number of elements is an int. (positive part only) and yeah. it goes bad since basically the formula for that is
n! / (k! * (n-k)!) and this can get very big when n is big
and k is small
how big?
well as big as an int can get. 2.4B or something like that
that's how big n can get
the thing is, I was not told what types actually n and k need to be. bcz... why would I be told that 🥲
but I guess making n and k short would be better
make them bytes
what?
yeah
it wasn’t in the design brief and is therefore up to blitz
fun fact. most of the problems are copy pastes from random websites xD. I found like the full solutions with the problems on those website. in a lot of cases you lose data. for example when its power, the website are not using the ^ and so when the teacher copied the problems it became xy instead of x^y xD
ok BM. ty btw
sounds like a great uni
I probably mentioned this before but one of our teachers legit told us: "I've only been doing this for a year or so, so I'm basically learning at the same time you are"
lol
yeah 
int choose(int n, int k) {
if (k == 0) return 1;
if (n == 0) return 0;
return choose(n - 1, k - 1) * n / k;
}
should work
i think that's O(n) time rather than O(n!)
interesting. thank you
yeah i just stole it from google so idk how it works
lmao
but np
Also out of the 70 problems we got, a lot are just duplicates. and not in the sense they're similar. Theyre the exact same ones xD
So I take a class called "advanced programming" and we have to do a short 15min presentation on some software development techniques next week.
The proposed topics are unit testing, test driven development, clean code or refactoring, but we can also bring our own.
All these topics are kinda broad, you could easily fill a whole semester with them. Do you have any cool ideas what would be an interesting thing to talk about that fits into a 15min presentation?
Simplify it
n!/(n-k)! Can be simplified to reduce most of that
how would you simplify that bcz its n! / (k! * (n-k)!)
int combinations(int n, int k) {
int nFactor = 1;
for (int i = n; i > n-k; i--) nFactor *= i;
return nFactor / factorial(k)
}
Also use iteration to calculate factorial instead of recursion, should be faster
😩
what about this
oh really? interesting.
Yugi. I'm testing recursive vs iteration and seems like recursion is faster
and it seems to be quite noticeable
oh. oops
I had a mistake but corrected them and seems to stay the same
lmaooooooo. fuck me. I want to die rn. nvm you were right
i mean it makes sense as long as it doesn't do tail call optimization
wdym practice
practice what
the things you learn
^
would you say it's safe to assume that if a server has worldedit, they will also have worldguard?
i've seen servers with world edit and use other protection plugins instead
:/
GriefProtection and shit
wait
Can anyone further ecplain whats the difference between: public class main(), and private class main()
I just found out you can change mojang backgroud loading lel
color only
and with resource pack
Red to black?
public is public private is private
its monchrome setting in 1.17.1 optifine
That made no sense
1.- its vanilla
2.- no, just nvm
public means the class is accessible from any other class while private means you can only use it from within your current package I believe
since when you are a girl?
wait no
The opposite is always true, but def not that
Private for class means its only accessible from isnide that class @short adder
that's protected I was talking about here.
-_-
I didn't even know I'm a girl tbh
Blitz
yes?
To hide implementations
okay
???
learned what boolean, int, double, string, and char is
pink is cool color tho
I didnt say it was bad color right?
I also like it
yeah i didnt say you said that
rgba
any shade? but I mean purple is just dark pink so
@half harness nice
testing a plugin for someone else atm
whats a good crates plugin?
This a thing or?
yeah it is
polymart tho because it's not unique enough 
it works which is pretty unique imo
Yea sadly it is
i may end up making it free 
yeah it's OS
i put a ton of work into it so i wanted to make it premium but spigot said no
so polymart was my last choice if i wanted to keep it premium
which it's a pretty good site
they're hella fast but it just doesn't have the same audience or ever will tbh
Polymart also has built in Obfuscation tools. Can't say I'm a fan of that
they're not as restrictive as spigot is which is cool 
Only losers obfuscate their code
I open source all my obfuscated code!
That makes me okay
That... was a joke
Have a private repo with a github action to obfuscate and commit to public repo/s
10$ and I open IJ, after that 5$ a minute
I have a look at #904591269005770762 once in a while, and it reminds me of the good old days where slavery didn't need to be disguised /s
Lmao

the heck
bs
Why are they returning it if its just mutating 🥴
I almost mistook it to be creating a new location
🥴
happened to me. I wanted to die. you have to clone it to make a new one
. Fortunately gaby was around to save me
I mean makes sense for cases like:
Location new = location.add();
except that location will also be modified
so whats the point? you can just as well use location instead
why people say thst spigot/bukkit api is bad
I mean neatness sake
Also readability
The code is excruciating
guess what I got working for 1.18
https://gyazo.com/a2cb449312a4e63d5773e79faf587677

o damn
You disgust me Nicole
Hi, I am wondering which way of saving data is best (SQL, MongoDB, txt file...)
Json file 💯
Depends on use case, and what kind of data
HashMaps and other datatypes (for java minecraft plugin)
Assumed that already since you're in this discord, what's the use case
So simply: I have hashmap in main class and I need to save it on server stop and on start load it from the db
So just persistency
Yeah, maybe
File would probably do the job, but a db would also work nicely
I think file would reset with new jar file (on plugin update)
No, it shouldnt if you dont remove the file
Yoo. On github is there a way to disable pinned projects on the profile page? Because if I just remove the pinned, it changes it to Top repositories. I dont want to see that at all
am i tripping or is there literally no way to return from an extension lambda in kotlin
this doesnt work
return@outerFunction doesnt work
I am laughing out loud
Welcome to Kotlin
tf lol
Welcome to penisland

Welcome to penistone
In a small town with an unfortunate name, let's talk about filtering and innuendo. And use it as an excuse for as many visual jokes as possible.
I'm at https://www.tomscott.com
on Twitter at http://twitter.com/tomscott
on Facebook at http://facebook.com/tomscott
and on Instagram as @tomscottgo
(Thanks to James Paulsen for prompting me to do th...
scunthorpe
There is no time to wait! Ask your question @zinc plinth!
anyone knows here if is there possible to use iptables with pterodactyl panel for a minecraft network? i mean working properly to evade attacks
tag me for answer pls
as it should, why isn't Location immutable by default, like, why?
why are you using enclosing lambdas?
'cause
AND dinnerbone contributed to that later on https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/commits/73949f6d2b532ce509dab2fbfe8f9711515c2c15#src/main/java/org/bukkit/Location.java
is this what minecraft is for https://gyazo.com/216e15fa44315f88ebb2139962ec7ab2
Now replicate sound with noteblocks
eh? It's if X, return a lambda
Can you even do that?
do what?
What bm wants to
yea, you can return a lambda
Nice
@prisma wave
https://youtu.be/3wyd6J3yjcs?t=1132
Subscribe to Devoxx on YouTube @ https://bit.ly/devoxx-youtube
Like Devoxx on Facebook @ https://www.facebook.com/devoxxcom
Follow Devoxx on Twitter @ https://twitter.com/devoxx
We love our silver bullets don’t we? Constantly chasing the dream that the next big thing will solve all our past problems. It doesn’t matter if it’s a language, fram...
I just got this from work, nice @ocean quartz
please, remake that in Krypton, please 🙂
I wanna see that so bad lol
I mean, what is that even using to display that?
because whatever it is, I want to add a powerful API for it lol
or at least, an API that can be extended easily to add that sort of functionality
the actual rendering is done by just spawning block_marker particles with the texture set to the closest it can find to the image for that pixel
oh
wrong one
isn't block_marker new to 1.18?
yes
I didn't see the actual gif you pinged and just assumed it was the particle one
lol
the actual thing in the gif you replied to is just armor stand holograms updated very fast
and it's just screensharing my second monitor basically
for some reason I thought you replied to this one #showcase message
even though that's in an entirely different channel
armour stand holograms? you mean like the ones that we have support for because TAB uses them? 🙂
yes
because TAB has official support for Krypton now
and it just sends metadata packets to update their names really fast
Is krypton usable now?
define "usable"
Is vanilla gameplay implemented?*
it's usable as a lobby, or maybe as a lightweight minigame, sure
Ah
not fully, no, not really even close to being done
💀 💀
enjoy the 1.18 chunk changes
Shouldnt completion be the priority before porting plugins ☠️☠️
oh I am most definitely not lol
yeah, but I wanted to keep people interested
and people like plugins
being able to use Krypton for a lobby with a few plugins is better than being able to use it for nothing with no plugins
But how does one use the plugins without the server itself 🥲
lol
the server itself has an API, you know this
and the API is becoming more and more developed
I mean, @steel heart is starting to work on an Essentials-like plugin for Krypton
and we'll have Hangar ready soon, so we'll have a place to share plugins with others
having a good ecosystem is just as important as having a good server
oh btw, on that note, if anyone wants to make plugins for Krypton, please do, It'd really make me smile to see more people wanting to get involved 🙂
the solution is simple in cases like that (if you don't want to use blah@), instead of returning lambdas, just create a method and return its reference in the if else with ::methodName
FJ soon™️
can't wait to see it
I mean, we have the JoinEvent and QuitEvent with modifiable messages that you need to make it work
if LuckPerms and TAB can function properly with all features that matter implemented (for TAB, we're only missing the pet fix because I couldn't be assed and the wither boss bar because it's server version <= 1.8) then FJ can function no problem lol
the only thing missing from LuckPerms is a context update on world switch, but that's because we don't support world switching yet
I have an easier solution, move to haskell 😌
When and if I have time I'll make it, can't be arsed with development
Is it possible to make it so leather armor adds more armor bars above the hearts?
Just as a cosmetic since the tiers would be handled internally
Don't think you can
yeah it might be handled client side
cause that doesnt seem to be something the server has to handle
resource packs. tho that's probably not going to be an option huh
Get gud Gian
@kindred hatch https://www.spigotmc.org/threads/150294/ this maybe?
https://minecraft.fandom.com/wiki/Armor Defense points
Armor tiers. From left (weakest) to right (strongest): no armor, leather, golden, chainmail, iron, diamond and netherite. (Note that the turtle shell is not pictured. The turtle shell is between iron and diamond, having equal armor points and greater durability than iron.)
Armor is a category of items that provide players and certain mobs ...

so true 😌 😌
yeah methods would be even worse because I need it to be a closure
btw pls ping me cuz I wouldn't have seen that message if it wasn't for yugi
'kay
I wonder how the full method looks like
Anyone know if there's a way to improve the terminal Rider uses when running a C# Console Applications? Its so messed up.
I've asked before but basically, here's a few examples on how its broken:
backspaces show up as spaces
Sometimes the first 1 or 2 characters I type don't show up
tho rn I can't replicate it
here we go
and it really messes with my brain when testing shit
It's a bit of a mess, not my code so I don't really wanna change it
also. setting it to run as my bash terminal, will open an actual terminal and just won't work. I'd prefer if it were to run inside Rider and not open a new app for it
public final class Nill {
private Nill() {}
public static <T> void ifNot(@Nullable final T obj, @NotNull final Runnable consumer) {
if (!isNull(obj)) {
consumer.run();
}
}
public static <T> void ifSo(@Nullable final T obj, @NotNull final Runnable consumer) {
if (isNull(obj)) {
consumer.run();
}
}
private static <T> boolean isNull(@Nullable final T obj) {
return obj == null;
}
}
lol
👍
Optional.ofNullable#ifPresent 😵
OMG. I realised I was one version behind, I updated and its fixed in 2021.2.2
They also fixed Console#Clear
I was about to say I don’t have this problem
why are C# errors so bad
C# bad
ok. that answers my question
🥲 to use multi dimensional arrays, I need to initiate every element.
so I have to do this ```c
var next = new int[length][];
for (var i = 0; i < height; i++)
{
next[i] = new int[length];
}```
why can't I Just do new int[length][height]; 😦
AbstractRecursiveGenericArrayFactoryBase
to quote BM: C# bad
what is the difference between int[][] and int[,] in C#? I can't find anything about this
oh. found their names. jagged array vs multidimensional array
if I had a string something like Some Random string with possible multiple spaces spliting words and I wanted to get each word, I could split using this pattern right? ?
the ? means 1 ore more spaces
?
+
Inspired by yours truely, haskell
With the help of simon
He works at Microsoft 😌

Joe did
you are right
I know
Spigot rc3 out
o
since a week ago lel
Yeah lol
Smh
Did y'all see the bug with Java 17 on single core systems that it's breaking tab complete stuff in MC?
It's really bizzare, there's a startup flag to fix it, but just weird.
No? :o
Who even uses java anymore jesus
Arm Java is where it’s at
Y'all got snow yet charlie?
They released a patch right?
Apparently the JDK patch isn't till January
No sadly, have you? 😞
Yes
It's raining now tho so it's gonna be gone soon
Probably gonna get more throughout the night and the rest of the weekend tho
I’d love snow, it’s cold as fuck here tho
Lucky
British losers
I keep forgetting, do you put milk in your tea or no?
So I know if I need to remove you from my friends list
Do you not?
why the f would you want to do that
Why wouldn’t you put milk in?! ^^^^
Fucking psychopaths
What!
they changed the default parallelism level of the common forkjoinpool from the amount of processors to the amount of processors - 1 and just forgot about single core system xD
big brains as always
You disgust me
1.17 paper issues?
more like mojang issue most likely
i had a lot of issues updating in 1.16
ahh
there was this bug with like 100 watchers i had on jira
and mojang took like 4 months
to fix it
lol
lol
💀
Yup spigot gets worst by the day
worse
Wurst?
Hello I'm German, did someone call me? 👀
yes. your mom. she's worried. where have you been for the past 2 days?
I'm sorry, it's been a few busy days, mom. I will be back to ask dumb and semi-dumb questions in the dev channel tomorrow 🥺
I’m pretty sure worst is proper too
Hmmmm unless I’m comparing it to something. Which I guess I am cause old spigot 10x better
I dont think so
you'd say like spigot is the worst
Yea I guess it all matters if it’s in comparison
No you're not
@prisma wave
no its worse
it gets worse every day
sprecht du deutch?
@prisma wave
I'm gonna beat you to a pulp
@prisma wave
BetterDiscord-Windows.exe
Gracias
Brister es calvo!!!
Konichiwa 😊
💀
*sprichst
Yes very true
Bonjour motherfuckers
same shit
Bonjour*
Not really xD
Germany
Kek W
Ah
kek w
You would say kek
kek vv
Oh no
kek sthu
kek uu
kek v on my balls
No u
kek uwu
yes
chokek on my balls
I'm gonna go ride the suislide now
Lol
Ratio
aight imma go play need for speed w/ my dad's car
Too small to choke on
5 : 2
I cant blame you tho 😉
Ill fight u
I have big meat
Colorful in here today btw
Mm
more colorss
more
- Not configuration help -
help me with my config please

about time

