#dev-general
1 messages · Page 148 of 1
Free & Open-Source > Freemium > Premium
Maybe one day
or just y'know quit the bullshit with all the crap code made
and do it for free with a note of that it's shit
the only reason I'd ever obfuscate is to not have people see my shit code lol
which is a bad idea
I'd probably just rewrite shit code and still make it OS
That's what I've started doing
- Commenting everything
Because everything looks 10x better commented anyway
yeah but you're missing one key part of that sentence lol
OS
OS >>>>>>>>>>>>>>>>>>>> Proprietary any day
Once I have fixed my maven structure
but that's just because idgaf about making money, I care about making a difference
The group names are all wrong
Might even convert some stuff to kotlin for the fun of it
yes
23 of 42 repos are public on my gh
I got 2 of 2 lol
epic games?
yeah that was my reaction lol
yea epic games
you work for epic games?
Probably for unreal
I'm guessing Unreal Engine is open-source
it was for unreal yea
I work for a different company
which is like 100x smaller lol
noice
I'm not even old enough to start working yet lol
I still got 3 months left
I'm guessing Unreal Engine is open-source
yeah but you have to be in the epic org for it
When you forget how to do manual DI 😦
how old are you if I may ask
me?
yea
I'm 15
ah alright
Lemmo, Imagine only having 42 repos
lol
imagine only having 3 repos and the rest being forks
a great representation of my creativity span and laziness lol
I mean I rarely do any personal stuff
it was that tiny kernel the other day and now the ecloud
but otherwise it's all work related and we use azure for that.
how many u got frosty?
47
azure devops @jovial warren
lol imagine only having 47 repos
Linux support?
Bruh
what linux support?
For only a year, I'd say that's decent Piggy
do you never work from home? lol
121 repo gang (excl repos i've made on organisations)
azure is platform agnostic?
idk how Azure DevOps works
azure devops is just a website
oh it's a CI
CI/CD & repos
ah okay
allows us to deploy our docker containers to managed vpses
Azure VPS'?
Azure App Service
but they can get away with it since businesses still pay for it
what really confuses me though is why the GitHub Student Developer Pack bothers to give you $100 free credit for it
when that literally lasts you a few months at best
you could say the same about the $50 digitalocean
yeah, and I do
You get free credit, why you complaining?
and the AWS credit

You get free credit, why you complaining?
because it's not good enough lol
not that you can use any of the credit lol
they should at least give you enough to actually deploy something good
not that you can use any of the credit lol
wdym? it's only the AWS credit I can't use (since you gotta be 16, I found that out by talking to the support team lol)
Ah yes just depend on other people giving you free shit
Ah yes just depend on other people giving you free shit
what?
the hosts usually require verification, often via a credit card, which minors don't have
true
but I get a debit card with my Barclay's Plus current account anyway
so I'm good now
but the GitHub Student Developer Pack gives you other really useful tools to make up for that anyway like BrowserStack, Datadog, Crowdin, Sentry and Travis CI
(or at least, I find all of them useful)
BrowserStack gives you 2000+ kinda VMs for all kinds of different devices and browsers so you can test your website on many different devices, and it's used by big corporations like Microsoft, Twitter, Expedia and even the Wikimedia Foundation
Datadog is a really high quality SaaS time-series database and metrics system
Crowdin is a platform for collaborative translation and localisation
Sentry is really good for managing errors and issues
and Travis is a really good CI service that integrates flawlessly with GitHub, is really easy to setup, and works like a charm with minimal configuration
wow I do a lot of talking xD
yup
I use the free namecheap domain, jetbrains, github, gitkraken pro, termius, & sendgrid from the education pack
seems like they don't offer sendgrid anymore, which is worrying
might have to switch over to mailgun
hopefully my license isn't cancelled
What's the best way to handle storing time values? I'm writing a plugin to allot x minutes/hours of being able to use certain commands. mysql seems like the best option but how would I go about updating the allotted time so I don't read/write every second
store timestamps?
☝️
I use the free namecheap domain, jetbrains, github, gitkraken pro, termius, & sendgrid from the education pack
I think I've used like three of those lol
@ocean quartz how big is ur gui lib
About 70kb because of XMaterial
Ah
That's why mine is so big lmao
Mine is 78kb
just made a new GUI lib and it works great
Though you do have to pre-register any gui you wanna use
But you can persist it
Shouldn't using XMaterial be up to the person using the lib rather than the lib itself?
Like re-open it without creating a new instance, meaning variables are persistable
Having it shaded seems like an odd decision imo
You provide an ItemStack to GuiItem instances
You can make your own or use itembuilder
Yeah the ItemBuilder uses it, plus it's more of a just one more thing in it rather than a requirement
yeah it just seems a strange decision
Been working on some cool stuff on mine
And a waste of space if you were only targeting one version
Meh
That's pretty cool though
Anyway rn the lib only has gui paginatedgui
But thats fine
I do like matts scrolling gui tho
I'll put a vid in #showcase maybe
@steel heart did you push fixing the IdentifierOption thingy you were on about? IJ says my files are even with the repo
@signal tinsel Why not try to make something noone made before, like I doubt you'll find making a gui lib interesting since there's so many out there already, you could try making the thing me and Aj discussed in #off-topic
If I weren't busy I'd help Aj 
:))
Cause not gonna lie, that'd be hella interesting to make
mmm
Gotta make that snowman with legs 
I think its a pain in the ass to make them move as well
since you gotta have them all in a map
like each "part"
@hot hull which is?
nvm, Aj is working on it, thought he wasn't gonna do it, but now he is 
@obtuse gale Once you can make it do this, you're able to stop working on it
why does the snowman have 3 arms in the last scene
It's moving up and down
oh
now i feel stupid
also ngl I was a bit concerned when I saw that last shot for the first time
So I have this, which I implement in the specific Mob Drop class, but I'm kinda not liking having this since it's repetitive, and all the methods are always the same
https://paste.helpch.at/rosegibato.cs
ie. https://paste.helpch.at/ibazehapuj.java
Should I just have a single EntityDrop object which I can instantiate for that specific type (by putting it in a map, which can then be access)
Yeah this definitely isn't great
You use instance methods to operate on a purely static state
Have a drop registry class that has a map of entity -> drops
You could do this without static entirely
sec, lemme push and I'll show you what I have at this point in time
I've changed a shit ton since the above
Or not if you're confident in a single registry across the project
https://github.com/Frcsty/SpawnerMechanics
go to api/drop, and then mechanics/MobDeathListener.java line 74
I'm currently confused af because it's pulling all drops, instead of just the mob type specific ones
Yes Niall
I usually put my api classes in same package
But a separate module
but up to you really
bruh screw design right now
I'll figure that shit out when everything actually works kek
ah yes. visible confusion. push to master
this man's commits are so shitty he could've just used google drive
Bruh everyone comments something, then just dissapears like the question just got resolved by itself or what
Stfu Lemmo
My commits are perfectly named.
imagine doing rp in commits
jez
lmao
Lmao

:Fingerguns:
Tbh @hot hull the library is mostly going to be for my own use
I just needed a GUI lib that I could use
And I wanted my own, this way I don't need to wait on someone else to potentially fix or add things
Enigner time
what?
What do you reckon is the fastest way of duplicating each char in a string
ABC -> AABBCC
linear search and replace probably isn't going to cut it lol
private String shortHand3DigitTo6Digit(final String shortHandHex) {
final char[] chars = new char[6];
for (int i = 0; i < shortHandHex.length(); i++) {
chars[i] = chars[i + 1] = shortHandHex.charAt(i);
}
return new String(chars);
}
Came up with this
it's Niall
enterprise logic is ingrained in to his brain lol
time to boot up repl.it then I guess to figure this out lol
ffs
also if you were using Kotlin that could look better lol
since you can have spaces in method names by surrounding the method name declaration with backticks
Niall, you disgust me.
This is kind of the standard for test naming
yeah
But yeah I've seen kotlin tests
but Kotlin's `` multi-word function names make them look so much better lol
I've still never implemented tests into my stuff.
I need to give that a go, it'd probably make my testing smoother
It just helps me not break something down the line
Without having to test it all manually
@heady birch I think you can use bit flips?
ok i can do bitwise stuff if you need
oh
Yeah but this wrapper serves a useful tool
Let's create a wrapper for a player using a wrapped uuid, wrapped data for each value and a wrapped class wrapper
Enimem: I'm the rap god
Niall: I'm the wrap god
😫
fun MessageChannel.send(message: () -> Message) {
sendMessage(message)
}``` I want to be able to have this extension so I can do something like:
```kotlin
channel.send {
val mes = MessageBuilder()
mes.setContent("Content")
if (someBool) mes.setEmbed(EmbedBuilder().setDescription("a").build())
mes.build()
}```
that way i can have stuff like if statements within the send function instead of making a variable outside of it and then building it later
is there a way to make that lambda actually be a message cause right now it won't compile with this error:
right which was my issue i didn't know how to turn it into a message
but that worked
yeah
thanks
what would that do?
it means that the function body gets inlined at compile time
it makes functions that take lambdas slightly faster
ah ok
basically the compiler copy and pastes the body into the call site
👍
How does inline use variables which are out of scope such as fields. Does it reference the original variable or does it create a copy
And in what way is it referenced
You cant access them in inline
if the property is accessible, it's just referenced normally
but private properties can't be accessed
wait
yea?
yeah you can't access them
mhm
Waiting. My wish order is "nearly here"
noice
merci
👏
Okay but that isn't PDM.
No it's not 😦
he makes a point
I'll come back to it in a few days
Alrighty then I will push back my updates for a few weeks.
I usually cycle between side projects and never end up finishing one
😦
I mean
it's functional
mostly
so you could try using it
It's fine, dw. I shut down my PC in 2 days for about a week since I'm moving.
I shouldn't rush this anyways.
Alrighty
wdym you shut it down in 2 days? lol
I'll try and get it done by then
I shut down my PC in 2 days to move.
so you keep your PC on all the time then?
ah okay
I see how that could've been confusing
yeah I was wondering if you were one of those lol
I usually cycle between side projects and never end up finishing one
@prisma wave welcome to my life
But you never get a reward for finishing a projecy
Meaning you have an endless goal to make it
Oh shit. That makes you the worst worker but the best student
And means your constantly working for nothing
👀
You whole life is a waste...
At the rate of constant change, the technology will be old by the time you finish requiring you to redo it but by the time that is done then bam software update

The most subtle way of calling someone a boomer
Is there a way to kill/end a loop?
break?
Does that only skip the current loop?
continue skips the current loop
break terminates it and jumps out of the loop entirely
Aight - cheers
Does anyone use eclipse
ew
absolutely not 
Kangaroo on spigot is saying he’s still having an issue with papi maven
Because of the jetbrains annotations
I don’t think he refreshed his dependencies
I confirmed myself it’s fixed by testing in eclipse
And 2 others
On eclipse, doesn't it still pull from the local .m2?
It should
I cleared my local repo
Yeah, sounds like something on his end.
yo guys how much would you say that a bot that does something like barry where in announcements would be worth? It does a few things. It has a command like =announce warn/update/etc. and then takes the player name and player photo to set it as a footer then takes the text after the command and makes it into a description and also takes the warn,update part and makes it into a title so I'm not expecting it to be super cheap. I just want an average price if possible. ty
nah just want a price for now
I'm thinking of looking into discord.js myself and make my own
jda
i use jda
i really liek it
but thats probably just cause i am used to the language
jda and use kotlin 🙂
^^
yeah maybe
I mean I know js as much as kotlin so almost not at all xD
I'm working on renovating the apartment we're moving on and also learning for 2 exams at the end of the month
KotlinJS 🙃
it's regarded as quite good
i could do my college assignment in kotlinjs
i believe
just for an idea blitz - https://paste.jaims.dev/kuzoyuvuca.pl
thats my announcement command that basically does what you are asking for
code is ass don't judge but
thats basically what it is
teacher says to use php js html for a site. but yuck
code is ass don't judge but
famous last words
lmao
enjoy 🙂
will probably lose the link by the time I get into this
lmao
going to sleep at about 5 am to 10 am
then back to construction work
then learning maths
then doing some other shit
and that's my week xD
maths is no fun
yeah
excuse me
I failed my exam
maths is very fun
lies
it is actually fun
its just I don't understand much because I didn't have someone to actually teach me
since 9th grade
went from 10/10 to 4/10 in 4 years
why do I feel like #738969312051593249 its a repost? xD
yeah but I feel like it gets reposted every day for some reason
ah because it is
its literally 5 messages above
thats why
barry broken again
lol
[Service] Discord Bot
[Request] Repost the following service request every 2 hours
its psoted 3 times ...
let's hope an admin or a trusted person is actually watching
oh man can't even remember when I last watched an episode on Netflix
im watching netflix rn lol
same but still xD
alright so after dicking with eclipse for a half hour
i deleted the jetbrains shit out of my m2
updated to the dev build
and it got annotations
from papi
clip if no one is checking can you check #staff-chat please? if you're not busy of course
ugh why do we procrastinate?
true
dilemma: ive taken over the chatreaction expansion. as its written in java, is it worth me rewriting it in kotlin as im more familiar with it?
I don't think so
yeah thats where the dilemma comes from
134 🙂
close enough
🤔
You can make Java be less yuck
yeah still not worth it imo
😦
get papi to shade kotlin stdlib 
😳
it could probably work fine if you had a java class that ran PDM, and then delegated the placeholder requests to a kotlin class
that could work
the problem is really getting past all the kotlin generated stuff rather than pdm itself
👀
make it happen
fantastic
what could go wrong?
nothing at all
exactly
ive never heard of such bugs where pdm doesnt relocate properly and it might affect 100k users
perfection
truly flawless
if i have only 2 arguments that i need to get from a string, would it be better/cleaner to split it instead of using subStringBefore/After?
itll result in more lines, but will have less chars on those lines
I don't think pdm is needed for papi3
so we can use kotlin in expansion without it being 2mb 
Jar size doesn't matter
kaliber you could do that in papi 3 without pdm
omg
dependency downloading would be ez to implement with the jar system
omg
not that it'd be officially supported
use the internal components at your own discretion
yes
☹️
Precisely
Interesting
does anybody have the nuvotifier discord server?
isnt it just moss discord?
think so, do you have that link?
nevermind, found it ty anyway
yeah I mean !! bad
but that method is also entirely useless
just override getPlugin
ur useless
getRequiredPlugin ye
How do you register a command without using the plugin.yml?
I have tried this https://www.spigotmc.org/threads/small-easy-register-command-without-plugin-yml.38036/ but it says "Cannot resolve symbol 'CraftServer'"
I assume this would be outdated
Just use a command lib lol, unless your making one in which case you gotta add it into the command map I think
which I think needs reflection
Lol
who is really good with plugins were having item id issues with legacy
Just ask your question
im trying to add a gui in 1.8 but the item ids for glass panes dont work because there item id is all the same in 1.8 for stained glass pane
scroll to 160 if your confused
does 1.8 even have stained glass lol?
yes
its 6 years old and people still use it smh
subjective but ok
where in x:y
x being item ID
y being damage
Caused by: java.lang.IllegalArgumentException: No enum constant org.bukkit.Material.160:10 a
What are you using
ssx
Caused by: java.lang.IllegalArgumentException: No enum constant org.bukkit.Material.PURPLE_STAINED_GLASS_PANE
https://helpch.at/docs/1.8/index.html?org/bukkit/inventory/ItemStack.html
Use this constructor
I already linked you that
Type is STAINED_GLASS_PANE when in legacy versions
yes
Make sure you have the right dependency if you are using 1.8
Mate look at the constructor once
quick question thou legacy id 160 and new id is by name which should i use
magenta pane glass
damage
ItemStack constructor
Already answered this
Its specified in damage
not material
the 1.8.8 has a constructor taking a byte which represents damage or durability
If you plan to make your plugin multi compatible, consider using XMaterial from xseries
i understand so what would i use for an item id as an example?
yes
i need to place it here
0: # Item in 6th slot action: 'none' online: item: 'PURPLE_STAINED_GLASS_PANE' data: 0 enchanted: false name: '' lore:
it needs to be a letter value
still doesnt tell me what value i should use for purple stained glass
🙃
ditto
new ItemStack(Material.STAINED_GLASS_PANE, 1, (short)13);
You’d change the 13 to purples number
so i inset this Material.STAINED_GLASS_PANE, 1, (short)13
Depends if 13 is the number to make it purple
fyi this is for a config file not a jar file
For the record this channel isn’t exactly made for help
what is
Wait you’re configuring a plugin?
yes
bruh
bruh
Oh my god.. this took ages to figure it out
@somber tulip Peculiar name HexiTextLib
Hm?
idk it just seems really hard to actually get something basic working lol
@quiet depot Ich need help 
gradlew - if you have the wrapper
wut
do you have gradle installed?
i KNOW
I didnt look at the thing lol
I just saw gradle is not recognised
Thanks porkchop
And Aj, just don't give up, it'll be cool in the end 
And it'll be a massive flex
ehh
wdym ehh
what'll be cool?
armour stand/pets lib
oh
I think the idea was like you could implement something and add new joints for the animal and stuff
lol me & yugi were talking about this in #development just a couple of hours ago
Stop stealing my ideas weeb
ur dumb
you copied the guide exactly
and I specifically said not to do that
also answer #papi plskthx
oh
i lied
bruh wdym
Do what exactly?
Oh shit didn't even see that
The paths match and it still doesn't recognize it, wut
Time to throw the whole computer out and get a new one
So I rewrote my gradient system
It looks alot nicer
But its less efficient
I'll probably profile see how good/bad it is
only difference is gradients exist by themselves and have no relation to length e.g
so the interpolation has to calculate some things more often
probably miniscule
or a wrapper
I’ll buy you a $100 chromebook @hot hull ❤️
Niall wraps so much we should start calling him Santa Claus
@quiet depot Still not recognizing the command
Niall wraps so much we should start calling him Santa Claus
@split talon 😐
I use literally two wrappers in the whole codebase
Is there a space after the 6.5. Or am I crazy
Make it 4 if you count inheritance
You're crazy Jax
That’s what my therapist says but I think she’s lying
It's windows7, shit is different than win10
Can someone help me I keep getting this error https://gyazo.com/1ccc6269293f2ece967a5d38f38bf45f this is my code https://pastebin.com/CvrTLEqj
and take a screenshot
It's caps
k well
that's where it goes
like I said on the guide
this doesn't change across windows versions
Ah I see, yea it has some weird ass formatting
Works now, sheesh
follow the guide 4head
Ahem Piggy, am I missing a step or?
Restart IJ then?
How do I push to GH via CLI if I have 2fa enabled? I'm getting "authentication failed" every time, the user and password are correct, but I don't get sent an auth code, and there's no option to enter one
For most, use File -> Exit on IJ
ohk apparently I gotta create a personal access token and use that as a password, thank god for GH docs
Which import is this? Because it's trying to import
JavaVersion.VERSION_1_8
it’s from groovy
@quiet depot You can't say this doesn't look nice 
@Override
public void onEnable() {
registerCommands(
new MobsClearCommand(),
new SpawnerCacheClearCommand(),
new SpawnerGiveCommand()
);
registerListeners(
new SpawnerEnableListener(),
new SpawnerPlaceListener(),
new SpawnerStackListener(),
new MobSpawnListener(this),
new MobDeathListener(this)
);
WRAPPER.getStorage().load();
WRAPPER.getActivation().run();
WRAPPER.getEntityDrops().loadDefault();
WRAPPER.getSpawnerTypes().loadDefaults();
}
java
Heresy
@hot hull but it doesn’t look nice
How so
so much going on
Another wrapper frosty
https://github.com/katsumag?tab=overview what do you guys think of the profile readme? I'm aware its cringe af but I didn't know what else to write, so I asked some people for opinions and ended up with this
<img align="left" alt="My Github Stats" src="https://github-readme-stats.vercel.app/api?username=katsumag&show_icons=true&hide_border=true" />```
interesting
very cool
something else that's cool is the dokka updates
these actually look sick
dokka?
the kotlin documentation tool
javadoc for kotlin
they gave it a massive UI update
with support for interactive examples and stuff
looks great
@heady birch Okay, Santa Claus
why won't github let me select /docs/somefolder for my gh pages
index doesn't generate in the docs folder with dokka 😦
Anyone have any suggestions when it comes to making my own block triggers? Ie. Replicating the spawner activation system
@foggy pond any updates about your hex plugin? :0
Getting
> List is empty.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.```
when i try to use dokka on a multimodule project
build - https://paste.jaims.dev/apomojuxeb.cs
build scan - https://scans.gradle.com/s/nf2go5qbqp6am
Any ideas?
That looks nice
@distant sun When was the issue popping up? What plugin were you using Iridescent with?
He was using Kiteboard
Can you send me Kiteboard's config.yml?
Or not config.yml
Wherever you define how the scoreboard looks like
The resource is premium I can't test it myself
Hope I can help you without getting the plugin myself
I mean it looks like KiteBoard supports hex colors itself (better than Iridescent does), so idk why you would use my plugin for that 😂
Kiteboard sets the prefix & suffix to null in some cases
..
In kiteboard 3.2.2 I no longer do this and use the default IChatBaseComponent
Oh KiteBoard is yours Niall 😂 I just saw that
I wasnt using Iridescent with KB
Wat
To fix this temporarily just the the prefix & suffix board isnt null
That error filled the console smh
And I thought I should report it to the author smh
private IChatBaseComponent baseComponentOf(final String legacyText) {
if (legacyText == null) {
return ChatComponentText.d; //returning null interferes with protocol lib
}
return new Adapter_1_16_R1KiteChatComponent(legacyText);
}
Anyone have any suggestions when it comes to making my own block triggers? Ie. Replicating the spawner activation system
I mean if you don't use Iridescent with the scoreboard, just disable the scoreboard iridescent colors in Iridescent's Config.yml
Niall, mind showing me the code for the chat component :))
It's not but in one of the next updates I will make it OS
Ayy OS good
Can you add me to the repo?
Klyser dw, if someone doesn't like it, they'll pr anyways lmao
pr?
Pull request
If u use it at all just mention its from kiteboard
also its nms
so its version specific
How bad is having a method such as the one shown in the image?
It's a util class
Where there is just util methods
Not too bad
you can also use static block ig
I need an instance of my plugin in my methods in the class hence that injectMainClass()
But generally a util class shouldn't depend on the plugin
Im so proud of you klyser
Why thoe
You use <#rrggbb>
That is correct? Why wouldn't I be using that 😂
Gaby, gimme regex for that one
And I said im proud of you smh
Thank you thank you sorry 😢
check my gist, im on phone
Regex for what
I think it looks cleaner
Klyser couldn't you just use JavaPlugin.getProvidingPlugin() instead?
YES @heady birch
Cause you can see where the color's hex ends easily
Eh I'll just add a converter
I mean honestly just add support for multiple Niall
I never really ever remove a feature
<#18a28b>A<#f1816d>B<#8cd850>C > a28bA&#f1816dBcd850C
I don't like &#ff00ff as it looks very crowded imo
It just gets removed from documentation and I keep compatibility within the plugin
Good good
I allow for users to change their own formatting
The default is <> but if they don't like it they can change it
And then you remove it 😈 Niall
Klyser couldn't you just use
JavaPlugin.getProvidingPlugin()instead?
Rather than yourinjectMainClassmethod?
It's when you don't wanna use DI, but know static is disgusting
Have you found it frosty?
Have you tried a DI container?
On mobile so haven't even checked Gaby :p
But it makes sense for this class 
Have you tried a DI container?
@heady birch whats that
Thanks
private static Iridescent plugin = (Iridescent) Iridescent.getProvidingPlugin(Iridescent.class); is it really this easy :0
do you have to cast it?
with ChatColor.of is that only for bungee or spigot too?
@foggy pond Use JavaPlugin.getProvidingPlugin(Iridescent.class)
I'll release Colour.java soon
Not
Iridescent.getProvidingPlugin(Iridescent.class)
Its an awt wrapper with hsb, rgb, 3digit,6digit hex, and bukkit support
Niall, I wanna see that chat component more than colour.java 
Why Frosty
Bro I sent it
also why not JavaPlugin.getPlugin()
Which ever of the two, but iirc you won't need to cast
Oh nvm I know why
getPlugin requires the name, the class is better
both require the class
One does not need casting as it returns T
Forgot how that T is called
Oh damn thanks Niall, I assume each version is different?
I am triple checking that I am not infringing any of Java's principles n shit before making it OS
/**
* A class that considerably speeds up the process of building an IChatBaseComponent
*
* (c) Niall7459 2020
* (c) KiteBoard, KiteSoftware 2015 - 2020
*/
Just put that at the top
😄
Yea no worries
But yeah its version dependent at the moment
You're already linked as contributors on FJ
/** * A class that considerably speeds up the process of building an IChatBaseComponent * * (c) Niall7459 2020 * (c) KiteBoard, KiteSoftware 2015 - 2020 */
@heady birch "Stole from kiteboard"
Just annoyed I have to basically duplicate this for each version
Nmshit
I'd like to drop everyone under 1.16
Just to focus on everything since then
Also Kiteboard is s**t on 1.8
I have no idea why
But it just seems to skip random frames
And Id like to keep 1.12 support myself so I can actually test
I'd only run 1.16 if i need to specifically test 1.16 features
hm
is ConsoleCommandSender the console?
Yes
Normalize 👏 Annotating 👏 Your 👏 Code 👏
😳
But we dk where jt comes from
in wall
“The issue will clear up in prod once you’re working with live data. No worries.“
What's the correct usage for JavaPlugin.getProvidingPlugin() if I don't have a main class for that
Like the class to pass in
Hmm?
So how does Matt do it in MF-GUI then?
JavaPlugin.getProvidingPlugin(BaseGui.class), the plugin that loads this class gets loaded in
Is it difficult to have a public repository for my plugin
I tried doing it once and it was very confusing
Maven repo I mean
My plugin's got the tiniest API ever but wanna make it easy for people
Can simply use jitpack I guess
now im wondering
Shoudl the plugin's resources be on github lol
I think I messedu p
I don't remember
¯_(ツ)_/¯
If you are talking about resources folder, yes
god damn it
If you want to host it on my nexus I'll give you some creds for it, otherwise use Maven Central or Jitpack or smth
you can somehow
git rn -r folderor smth, look on google because one command remove it from both, repo and local
should I add src/main/resources/* to my .gitignore
So the resources folder should be there wahat
Yes
yall playing tricks on me
Yes
grr
gaby why did you use StringUtils#replace instead of String#replace?
https://gist.github.com/iGabyTM/7415263c2209653ede82457c289de697#file-hexutil-java-L25
You should only not add the IDE files
It's faster
I just use it in general
like .idea in IJ
oh really?
.idea, build and a few more
mhm
My tests were about 40ms for String#replace and 1/0ms for StringUtils#replace
.idea/
.gradle/
build/
out/
*.iml
Btw do you create .gitignore before or after git init?
what would you guys say is best for kotlin guis
just found this actually https://tornadofx.io/
looks pretty good
ill check a few things out tho
ty
Added Javadocs to IAL, this is an example, the newItem function. What do you think?
You should clarify why it returns an Optional
Because ew null




