#dev-general
1 messages · Page 182 of 1
Yes 
So you can use interpreting in development but once you're ready you can compile for speed
Project Elara
skript is kind of dead now
u guys are thinking really far into the future when u barely have a working language 😆
Did someone say the S word
xD

You hecking sinners
I mean technically we have all the logic we need till parsing down
Moving it to go shouldnt be too hard I hope
Awesome
Go is super clean
Also km I need opinions on something
Would something like the js placeholders make sense/be a good addition so people can easily add in actions without the need of another plugin (FJ)
Bruh, go big or go home
Touché
So I was working on a Skyblock plugin, Initial plan was to force create a "Member" wrapper for all players even if they arent part of a Island, as in the IslandID field and Rank field would be null.
Alternative choice would be to delete records of a Member when they leave and island and not have a Member for players without an Island.
First option introduces 2 nullable fields inside Member
Second option makes Member itself nullable.
I feel like Second option should be the choice I should go for but at the same time feel like first option is more managable
It's not the plugin, it's the fact that it's a good learning experience figuring that out
What do you recommend?
First is better imo Yugi
First is definitely more manageable
You couldn't set it to null everywhere
So you'd end up with "invalid" members
or have a PlayerWrapper with a nullable Member field or something
Oh member is supposed to be the player wrapper here
Currently, I guess, Bukkript is the only script project for Bukkit that really compile to bytecode / jvm
And its use PDM
soooo its great!

we'll bring in the competiton souz
xD
😭
I don't have much time to improve it
And its opensource
improve it
if you do in will
if you are talking about Elara
You think Im sitting around free all day? xD
I will love to see it on Bukkit as well
Thanks bro 🍉
The Citizens folks done a scripting language as well, right?
But Elara looks like a real language, not a scripting
Yes denizens
never use it
I don't like scripting languages so much
because it is a real language
Ugh denizen
😂
🤢
Elara is the ultimate scripting language


If you want a real language, why not make a wrapper for javascript?
It's easy to learn, relatively performance effective, and java already has some javascript engines implemented
TypeScript 
so what's the point in creating another language which is less widespread and maybe even less advanced
Why make a wrapper for javascript when you already have a lot of work done for the language?
if not just use the javascript engines
No need
and some plugin to load the scripts in
It's easy to learn, relatively performance effective, and java already has some javascript engines implemented
and encourages bad coding practice, uses duck typing, and is a very premature language
js isn't duck typed?
oh sorry, I forgot, it's worse
and I wouldn't say any of those things are true
it's definitely more mature than it was
The main driving force behind skript was that it was easy to learn and you didn't need to know programming to be able to understand
^ exactly why it's awful
if you create a programming language that is more complex and more viable than java, you're already driving away off the path a looong while
It is awful for large networks, as it's not intended for use in production
it's cool for school projects or anything at a small scale
Go for TypeScript over JavaScript
not to mention it's mature and widely explained
if you want something high performance then why not directly go for java development
or maybe java-native for paranoid people
if you want high performance then why not go for elara
^
we plan for it to be the fastest language ever made
😂
solving fermat's last theorem in approximately 10ms
10ms? oof nah, 10ns
Do it in 1 plank time
it also supports every single cpu architecture
Yes. Orrrr lets make a smaller unit of time
even the ones that haven't been invented yet
😂
1 elara, approximately 0.1 planck time
0.01*
😂
quantum computing made redundant after the elara language discovers the mysteries of the universe in 2ns
🍉
2ns what about 10^-100?
The main driving force behind skript was that it was easy to learn and you didn't need to know programming to be able to understand
@unreal briar KotlinBukkitAPI and Bukkript is kinda like that
So easy to use
I could do better
hopefully in the future this could replace Skript
I friend of mine is working on a Skript to Bukkript converter
lmaoo
it wont replace skript at all
not even then
lol
some people won't leave skript
is kotlin sooo, I can't
Skript is like a virus infecting people
This is exacly what happens with Java as well
I mean, if they wanted to, they would have learned a real programming language
I know people that just don't like Kotlin because they don't know
Bruh y'all fuckers sinning again smh
I used to dislike kotlin, then I tried it
everyone that tries it, loves it
People who refuse it will never understand it's beauty 🙏🏻
it's proven to be psychologically impossible to hate elara
it is a good language
lmao
They have a Kotlin and a No Kotlin emoji
the paper people are weird
Cuz no java is common sense
"Pro skript!"
lol
The circlejerk is back bois
its already here
I'd do a no Skript emoji but their icon is already enough to get people away
good god
who made that bloody shit
The Bukkript icon is just easy
How many fonts in our logo? Yes
that is seizure inducing
Is a Kotlin in a Bucket
what?
You should have called it Bucklin
oh nvm
I didnt see your last msg
Bukkript ! Bukkit Kotlin Scripting!
I got you
Fail
:elaramoon: 
where are the brackets coming from?
Fail
Not really, logo not ready xD
Jetbrains Mono
kotlin script?
Didnt sx have something like that?
Take it back young man!
Did he delete it or something?
Never! They are pretty similar, but Fira Medium is thicker
I have this project for 2 years+ I guess
But Kotlin scripting is really imature
two years ago
currently, still, but is better, with better IntelliJ support as well
Fira Code Medium > Jetbrains Mono
yes
Yugi, don't think he ever finished it
Can't find on gh so idk what happened
Also supporting Compiler Plugins that currently I do not add to Bukkript because it breaks IntelliJ
ah
The first commit we never forget https://github.com/DevSrSouza/Bukkript/commit/d1eb2ae8e20bd6c74a38cd92c09aa38a2a0cc07e

@prisma wave what would freeCompilerArgs = listOf() be in Groovy DSL?
is it just [] or what?
also can you push a devel branch or something to the main project so I have somewhere to PR that isn't master?
yea 1 sec
alright
and we can kinda just merge W.I.P shit in there and make a draft PR to merge in to master to track progress or something
done
great
you can check it out if you want and request changes where you feel necessary (which I encourage you to do if you have time)
also you should create a milestone
hoho my plugin is growing:
http://images.virtusdevelops.eu/shareX/b8e68sy5.png
yep
what's the plugin called?
ah HolographicPlaceholders
7k downloads as well
all i wanted was baltop on holograms and i couldnt find any working plugin so i made a one
XD
and i was thinking of implementing animations that Niall has in his plugin but kinda need to wait for HD to add hex support
Caused by: java.lang.NoClassDefFoundError: org/jetbrains/kotlin/psi/KtTreeVisitorVoid 
oof
oof
I need to do a better abstraction for my menu preview
because if you add a forloop, it will not get
Perfect finally working again
um whats this
Kotlin inspection for IJ plugin
innnnteresting
Since the base is working, time to make a gh repo yay
:3
i gotta update my dinamic and static line handler tommorow :3
and then add all the commands and there we go plugin ready for public muahaha
I actually love IJ's PsiViewer, it literally gives you everything
Yesss
psiviewer?
Allows you to view psi elements (basically the code you're typing)
https://i.imgur.com/XBbyrgi.png Does anyone know what this auto complete thing is called in intellij?
It's unbound so I can't press enter to accept the completion or whatever it's called
Pretty sure it's just Code completion
nah, it opens up this: https://i.imgur.com/ and none of those work
Was replying to this
Does anyone know what this auto complete thing is called in intellij?
Not how to fix it xD
Idk how to fix that tbh
brUh
it was "Complete Current Statement" under Editor Actions if anyone has this issue
@ocean quartz soooo that means it's literally 20x easier to do the GUI viewer now
welp depends.. you need to images with different amounts of rows and edit the "chest" name out and now you can just check for the row number and just use the image you need
then draw the title in the correct position
and then.. you would kinda need to access a db with all the items xd
that's the mheee part
I don't see how you are actually gonna draw the items
Finally.. it's been 2 weeks now that I will start to convert my AdvancedTP to kotlin for the sake of

Well, ofc i might suck at kotlin in a direction
For example, no idea how to use object properly.
singletons
Objects are basically static, but everything is static
Internally they compile to singletons
I miss using enum singletons in Java 😂
And no idea how to use ?: either ._.
Thats an elvis operator thie
If lhs is null, rhs becomes the result
val test: String? = null
println( test ?: "Welp" )
That would result in printing out Welp since test is null
extend Result<T> {
let ?: = (T other) => {
return if this is Some {
this.value
} else other
}
}```
pretty sure this will work
Anyway, I just used a kotlin converter tool in IntelliJ, and it showed me the solution. Between
var sbTeam: ScoreboardTeam? = null
private set```
and ```kotlin
private var sbTeam: ScoreboardTeam? = null```, which one's better?
You forgot the arrow
Whoops
There we go
@regal gale they're different things
The first is public with a private setter, the second is totally private
So it's acting like only getter in the other class?
I srsly hope kotlin separates them at some point
yes
Thie its basically a property implementation from other languages
Ok thanks
Oh nvm he was using fields in both wasnt he
Yea thats really fucked up 😂
"accept" -> {
if (tpr.state == TeleportState.NONE) break```
In this fragment of code, break is not allowed in a when statement. So what to use instead?
probably nothing since it's an expression so every branch has to return a value
You could return unit if using it as a statement i think
I'm sad, IJ doesn't like JavaFx so I'll have to use Swing 
Rip
im with u matt
Was so excited to use css and boom it didn't work
Now i need to have java in my project
😔
gonna try jfx one more time actually
last time it didnt work for me, hopefully my luck is better today
If you're not doing intellij plugin use tornadofx
just been trying to get it working with no success 
bed time for me now so ill be back to pain tomorrow 
Huh, weird Mutual Friend
Small world, I guess
Hi Im using deluxe tags but I would like the format to be [rank] [tag] [name] but I cant seem to get tag in the middle as its always either [tag] [rank] [name] or [rank] [name] [tag] format
I'm using Luck Perms
what do I do?
Basically it's not java ( it's lua )
script.Parent.BrickColor = BrickColor.new("Alder")
end)```
or
```script.Parent.ClickDetector.MouseClick:Connect(function(player)
if player.Name == "MyUsernameHere" then
script.Parent.BrickColor = BrickColor.new("Baby blue")
end
end)```
If anyone know then pls help me
Somewhy it doesn't work
woo!
I saw that, seems pretty cool
yeah, was on the roadmap
although that's only a part of it
you should be able to generate indexes for any project
not sure if that's been implemented yet
but it'll help plebs like @hot hull
@quiet depot Why you bully me
Kotlin Main Kts was only one problem, transtive dependencies
I need to go into the Maven ou Gradle from the project to get the dependencies
@ocean quartz if you want to use as well to retrieve all items renders
To your version of preview 😄
yo I know EM told me how to use PDM a few days ago but I kinda left and forgot how to do it and can't find a message. I'm using kotlin and I get this error: https://paste.helpch.at/tidetetofa.cs and this is my onEnable(): https://paste.helpch.at/dasezudeho.cpp . I remember him saying something about the libraries not existing which is true becasue the folder did generate but the libraries are not inside. Btw this is my build.gradle: https://paste.helpch.at/ihigeyaboz.cs also I did not modify anything in settings.gradle and I compiled the jar using gradle build. Anyone can enlighten me? Ty 🙂
I do it in one line but according to bm !! was also meant to fix it
I think the problem is that kotlin adds in a null check somewhere
so just do this? PDMBuilder(this).build().loadAllDependencies() instead of the 2 lines ?
"Loading dependencies".print()
PDMBuilder(this).build().loadAllDependencies().join()
"Loaded all dependencies".print()```
Thats what I had
ohh I forgot .join()
that's my bad
welp the libraries work now. time to see how much I messed up the code. I already have a 2 page error 😦
Remember to always use join
and and to the loadAllDependencies() be the first thing that your plugin does
@astral quiver Oooh nice, thank you! ;p
If only it was Swing 🙂
Did it work with gradle by any chance Kali?
tornado only seems to work with maven for me
Yoo Kali, I just found something super cool for UI
hello
Did it work with gradle by any chance Kali?
@old wyvern yeah
i just installed the tornadofx IJ plugin for it to create a template for me, as i was stuck for like 4 hours trying to get it to work 🌝
JCEF
using Swing.
🌝
But swing is awful
But swing is awful
Please indicate your statement was only to invoke humour
Swing + infonode + JIDE
looks cool tho matt
No lol
Outdated technology, with way too many limitations
i just installed the tornadofx IJ plugin for it to create a template for me, as i was stuck for like 4 hours trying to get it to work 🌝
I have the plugin but it doesnt seem to work fine with gradle for me
🤷♂️
Immature technology, with not enough restrictions
Every thing falls apart
are u using openjdk?

👀
I wonder if i need to make a website for it to load or if i can create a local one and it'd load from file, but this is amazing already
Ooh you can read straight from a file 
@quiet depot made a reply to your Issue
wtf is open class in kotlin? and like object (not class)?
oke
kinda interesting
1 more question so i have hologram should i make runnable for each line and run that task repeating?
okay since atm i have 1 for all the holos.
Holographic extension rip off 😦
?
i mean i have leaderboards in my plugin not the animations @heady birch
im making packet based holograms plugin atm?
Im only kidding
update the info then :=?
time to play around with ktor again 
interesting
alias?
Yes
Working on it, the rewrite's abstraction is almost done

@frail glade The latest post in #750658588766371953 is a troll.
I got rick rolled
I even told the dude to use a valid budget smh
the funny thing is, is that actually works lol
@ocean quartz how did you pull that off?
Magic
nah man I wanna know lol
Lots of magic
oh wow you cheat
I cheat?
actually that's your project nvm lol
lol
oh and @heady birch im gonna make my packet based hologram plugin realy easy to move from HD api to mine so you'll easily make your HoloExtension compatible muahaha
ok
now to find out how this thing works by digging through source code lol
Nah, OnlyFans in MC 
wat=?
Discraft
lol
CraftCord
Ez Yugi
hand reveal 👀
Ok bois time to move to Discraft
@dusky drum What you gonna name it?
no idea XD
I might have to make my own 😼
Lol. I'll probably contribute to yours at some point
a bit of a improvement:
http://images.virtusdevelops.eu/shareX/lrnx5d93.png
Not that hard to do it, though the project is kinda paused i lost my way into it when people started contributing good changes xD
but i have no friking idea whats happening here
http://images.virtusdevelops.eu/shareX/livz6hc6.png
😂
142 ms
yes
what are you doing lol
expand it
it only happens first time
or go to hotspots and filter
thats akari
you cant expand this
i kinda think it constructs classes for first time.
i just do this
VisualVM
for loop
okay those for loops might be your issue
Not really tho, unless you're looping through thousands
^ true
what else are you doing?
it only happens for first player
How are you storing them btw?
^
A map or a list?
mutablelist
Cause like, map go brrr 
have you tried using sequences?
whats sequence?
sequences are basically Kotlin's replacement for streams
how does it look?
they're supposed to be really fast but idk whether they make much difference
how does it look?
wdym?
how do i use it never used it.
asSequence to convert to a Sequence
then forEach to iterate?
holograms.asSequence().forEach
yeah sounds about right
yeah
oka gonna see
idk, might improve performance, not sure how much of a difference sequences make
Do something like this
println(
"Time - ${
measureTimeMillis {
// put your register method here
}
}ms"
)
To see how long it takes for your register to run
yeah that will work
It's literally just debugging no point in using logger
Why?
Logger - Plugin messages
Println - Debug
This way you can get rid of debugging pretty easy when it's ready
logger.debug > for debug stuff
true
if logger.debug even exists in Bukkit logging
Literally just search in path for println and delete everything
No point in overcomplicating it
it exists in java.util.logging and SLF4J
bruh I just killed a big ass fly and it was everywhere
Like the fucker legit exploded
yeh apparently first time it does it, it uses friking 150ms
next time it uses 1ms
wtf
That's kinda normal, first time it runs it caches stuff
^ and that
wait so register calls register?
okay so it's putting in to a map, which has to be instantiated if it isn't, and then creates the hologram and puts that in to the map
yeah sorry I think that's what I was on about lol
and this is why we don't use Java
no
thats in kotlin
wait
nvm
its cause i remove user from map that is constatly being run thru foreach
for loop i mean
I was gonna say
it's either in Java or you're doing some horky borkyness by trying to access something within an init block which is defined underneath the init block
(very specific ik)
yes
should i clone viewers on each loop?
And anything static
Iterators
static {} blocks
And signal queues or something
anything static can be put in your companion object
and if it's required to be static, use @JvmStatic
Yeah but Im saying when you first use that static it will be initialized. incase you have anything heavy happening in static blocks e.g
oh
you should rewrite your stuff in Kotlin Niall
so i should probably use iterator?
No
or are you one of those nuts who thinks Java is better
No
But things I've written in java work fine for now. But i have more java experience and it would take a great deal of time to upgrade years old code to kotlin
true
Also, Nothin wrong with Java 🤷♂️
I mean, it wouldn't take you as long as you think due to Ctrl+Alt+Shift+K
muh idioms
@old wyvern I didn't say anything's wrong with it lol
or are you one of those nuts who thinks Java is better
Sounded like it
Anyway
Ctrl+Alt+Shift+KIs not a great way to convert
yeah ik
i d i o m a t i c
many java design patterns are not idiomatic to kotlin
^
ctrl alt shift k will not account for that
like getters and setters
And the shortcut litrally converts it
it can convert getters & setters
even ones that aren't fields like in interfaces?
There is no point to direct conversion of something to kotlin with that shortcut except it adds the 1.5ish MB to your Jar
btw converting to elara will actually reduce the jar size
^
will it?
yes
Yeah cos there's no jar 🤦♂️
by an average of 3.4mb
also why is JDK included in Kotlin code?
?
(if you don't use Java thingys)
because you're targetting the jvm?
and also why is JDK not one of those things that's provided by runtime
then why do you shade it
you don't
You shade the kotlin stdlib
^
not the jdk
yeah true
XD
the jdk is provided by the user's JRE
It has extensions for standard java stuff
why does Kotlin runtime not provide Kotlin stdlib then?
Because there is nothing or that sorts
because that would be annoying
because there’s no such thing as kotlin runtime
Kotlin runtime isn't a thing
yeah true
it's the java runtime
it’s the java runtime
Kotlin uses library of whatever it compiles to
and unless you want people to have to install something else
you can't have the stdlib provided at runtime
smh bm we talking the same stuff
¯_(ツ)_/¯
yay now i kinda broke stuff....
i won't let you steal my potential xp lmao
lmao
or Elara 
says the guy who knows jackshit about it
unless you’ve been learning a lot lately, you’re still figuring out what traits are
tbh Go's interface typing is kinda like our contract generics xD
or you finish the pr smh
I have ironically paused the project I was working on but got round to using Mutexs and guards and lifetimes and stuff
impl Annoying for Lemmo
lmao
Have any of you seen Primer CSS? Githubs css, It actually looks very nice
@old wyvern yeah they are lol
lol
why use rust when you could use insert language here
burn
Have I just found the best thing ever
no
oh jeez
i kinda found a problem using iterators.
what is it
"98.css" oh no
lol
i mean am i doing it right
http://images.virtusdevelops.eu/shareX/6wo1kcll.png
absolutely nothing
hehe so am i doing it correctly?
I havnt read it yet
oke
But it looks like big lag
lag?
arrow code
?
About migrating Java code to Kotlin, this wrong
i did try to migrate it but it didnt work
One of the most importants features of Kotlin is Interopbillity
what thats how we do it
ew
its easier to read.
You should not migrate your previvous code, you should create API for better usage in Kotlin
KotlinBukkitAPI is basically that, I do not create a new Bukkit in Kotlin
why da fuk wouldnt you use indents?
I just create a set of better APIs for Kotlin
you think arrow code is better than no arrow code? what?
yes
?plsnoarrowcode
arrow code is an anti-pattern
oh my god
i wont fucking use
if ()
{
}
that's not what I'm suggesting
thats what page says
No he means the amount of times you nest if's. Early returns e.g = better
I do not like
if()
{
}
as well
is not the Kotlin or Java convention
C# and C++, yes, but not Java
arrow code refers to when your code looks like this: ```kotlin
if (a) {
if (b) {
if (c) {
if (d) {
}
}
}
}
i mean
yeah allman is the worst style ever created in the history of bad programming styles
okay maybe not that bad
but K&R better
allman is actually against Kotlin conventions
i cant make 1 big if statement
Take that back!
no
not what I'm suggesting
Kotlin conventions is ❤️
i friking broke my plugin somehow
there is always, and that's so important let me say it again: ALWAYS a way to fix arrow code
Extracting code to a function for example
is a good way to prevent arrow code
I should be done
iterators can also fix arrow code issues in some cases
Uncle Bobs says that A function should have 3 lines
i have no idea how i broke my code.
(I don't agree, but, he was a point)
Uncle Bobs says that A function should have 3 lines
the three other functions it calls?
I'd just abuse the fact that Kotlin allows you to use ; to separate statements on the same line and just write a shit ton of code on 1 line
because I big brain
lol
but I'm used to writing things on a single line anyway
I'm one of those who completely abuses expression functions to stop me having to specify the type explicitly
So folks, I need to work, sad, but I need :c
want an example of "it looks shit, but hey, it works"?
I really don't have any example in mind
/**
* Converts an enum value name to it's common name
*
* e.g. "AREA_EFFECT_CLOUD" becomes "Area Effect Cloud"
*/
override fun toString() = name.replace("_", " ")
.split(" ")
.joinToString(" ") { string ->
var foundFirst = false
string.map {
if (it == string.first() && !foundFirst) {
foundFirst = true
it
} else it.toLowerCase()
}.joinToString("")
}
I wrote that yesterday
does exactly what it says in the title lol
it mixes imperative and declarative programming, completely abuses expression functions, takes a few minutes to understand what it does, overall I give it about a 3/10 readability
and it's performance probably isn't great either, but as I said, it works lol
allman is actually against Kotlin conventions
@jovial warren it is in Java too... Doesn't make it bad
it's bad enough to be against convention
Bruh that entire function probably breaks at least 10 conventions
Convention isn't always great, following conventions blindly is even worse imo
not saying I follow convention either
You can't complain about a brace style when you're writing stuff like that
I spend time making my code contain the least amount of content possible
convention is great, be cause make all codes the same, helping new developers to join any company without need to learn a new convenction
basically I spend time making my code unreadable
Like, using k for constants and m for member properties
I do not like that, but this was when I do not have IDEs like IntelliJ
With time, your brain do not read the k or m, just know that this property is a constant or member of the class
this is why conventions exists in my opnion
is much easier to learn how to read the code when you continue to read the same code format
wdym k and m?
kFactor = 50 = "konstant"
I agreed with you,
I believe that's probably one of the main conventions I follow: naming
though doesn't the standard entail that I is supposed to prefix interfaces and Abstract supposed to prefix abstract classes?
You can now if is a member or not by the color that the IDE shows
@jovial warren there's no convention for that
ah it's just something that people do
Yes
I really don't know whether that's a good idea or not
Yes, is a BAD PRACTICE that people do
dumb
why? don't know
adding I conveys nothing
is it bad practice to prefix interfaces with I and abstract classes with Abstract and so on?
The proper way to name interfaces would be something like <Something>able ...ect...
Not sure what you call it in english grammer
The proper way to name interfaces would be something like <Something>able ...ect...
not exactly, interfaces aren't always there just to represent capabilities
It is, you should have something like Name = NameImpl
yeah
I thought you were talking about the convention
The "convention" is to use interfaces for that exact purpose
The issue is all use cases wont obviously fall under that
Is there a hover over Create class for this.
I guess we are talking about code conventions
okay apparently you should not use Util in class names, even though literally everyone does for their utility classes lol
Progress 
howly animated?
👀
for getCommand("test").setExecutor(new testCommand()); In Intellij. Is there a way to hover over and press Create class (name) Just like in Eclipse
okay apparently you should not use
Utilin class names, even though literally everyone does for their utility classes lol
Util makes no sense in Kotlin
Not in kotlin
true, but say for example you were for whatever reason using a util class in Kotlin, you'd be left to that
I'm not liking this!!!!
😭
@ocean quartz have you like seen trMenu?
Util pattern exists in Java because all functions must be in a class in Java
That is not the case in kotlin
Thanks
@dusky drum What is that?
I'm sad
er...
Don't be sad!
Yes
its kinda animated Matt :3
Im pretty sure I told you that when you were working on Punishments last time
literally nobody follows that convention then
Speak for yourself again
The extensions should be in the Client file
or maybe it's just me who doesn't lol
Also I think that's for classes that you've made
@dusky drum Oh, this is different though
the extensions should be in the file where they're used or what?
the extensions should be in the file where they're used or what?
@jovial warren
Yes
@astral quiver Mine is only gonna be for my lib so dw, yours is still better ;p
what about if you use them in say 10 different places?
It makes no difference?
Oh, this is different though
i can see that you actually change like size of inv thats kinda noice :3
mhm
Though this is a website not in game
It is, but.. also website 
what's the convention for the factory pattern?
oh now
a function with the same name as the class seems to come up a lot
It's great!
I'm really sad right now
I'll have the backend in ktor and the plugin to read from it
I could use React or something :c
what's the convention for the factory pattern?
@jovial warren in regards to what?
Is there a Build Artifacts shortcut
So, this is not being render locally ? @ocean quartz
you are sending to a backend ?
@obtuse gale I believe you can make one
@astral quiver I could make it render locally, but thought it be easier to be done with a backend
or there might actually already be one idk
Yes :S
uhhh
Using ktor to make that i legit only needed this
<div class="inventory">
<#list 0..rows as i>
<#if i == 0>
<div class="top inventory-part">Test</div>
<#elseif i == rows>
<div class="bottom inventory-part"></div>
<#else>
<div class="row inventory-part"></div>
</#if>
</#list>
</div>
how
What template engine is that?
How do you make a shortcut @jovial warren
What template is it?
go to keymap in settings
html template, I mean
Not exactly thymeleaf
thymeleaf?
@astral quiver Freemarker
Why such a hater Niall xD
I was just about to say "since when did thymeleaf generate templates" before I googled thymeleaf and it said:
wat
i don't remember getting any anwser (i applied for developer role #role-request )
How is the IChatBaseComponent serializing? That was a big hotspot for me (Only due to using it excessively)
how do you serialize IChatBaseComponent often enough to worry about performance lol
kiteboard animations
ah okay
probably makes hundreds of them a second
is that done in adapters?
?
yeah
ah the one that handles hex stuff yeah
the one that you said is "pretty unique to KiteBoard" xD
Yeah
is it really all that unique though?
it just processes &#FF0000 in to an NMS hex colour
It's not that simple
I mean I'm not complaining I'm just curious
actually, the way Niall does it, is pretty simple tbh
well, the way Niall processes it
I could not put color in mine yet
You are thing in add hover as well?
#DoNotKillMyProject :c
Item Hover
Sounds complicated, but maybe xD
Yes, I do not do that because the user can put alot of different stuffs in the Item
with differents APIs
and for support it with PSI is really hard
maybe impossible
This is how it looks on IJ now, JCEF is amazing
That main class name tho, sheesh
wait is that a photo or is that a live preview?
I mean, it's an application, ofc it'll be called Main
Live preview
^
oh that's cool
Yea IK, but still, it hurts
unless that's a different language lol
actually yes it's portugese
I let my portuguese there? offuck
