#dev-general
1 messages ยท Page 530 of 1
be prepared to push 100 commits to master just trying to figure out how it works
nah I'm not even there yet
this bad boy is like $7 a month
Doesnt github have a built-in ci sort of?
I earn $-7 a month
i consider it an investment in my knowledge plus it feels cool
yes but I want to learn! ๐
Imagine spending so little a month lulw
ew
/s
dude my town doesn't even have recycling
im joking lmao
at least not for dorms
F
You what
this mf really bear grylls out here
Leading water preservationist
@hot hull Do you have any recommendations for alternatives to FrozenJoin now that it's discontinued?
FrozenJoin ๐ฅฒ
I just need a good lightweight join/leave customizing plugin
for 1.17?
Essentials?
Yes 1.16 into 1.17
I mean I'm sure I could fork FrozenJoin and make it work on 1.17 in like an h our
Does essentials have that many options though that support different group options
I dunno probably, take a look
If you really want FJ, I can probably do it for ya in a bit
Doesn't have to be FJ but it was nice while it was on Spigot
oh dang why'd he remove it
It's only on Songoda now
oh well what's wrong with that
ah I see
alright hold on I'm having a hard time with this other plugin, I'll take a break and work on FrozenJoin ๐
You don't have to, I'm sure I can find something else so that you don't have to spend time on this
Though I appreciate it
I mean Frosty's a good pal of mine, can't hurt to help him out
plus it'll give me more practice migrating plugins
True
The source is on GitHub too, will also give me a chance to see how plugins are migrated since I have very little experience coding with the bukkit/spigot API
Oh yeah that's how I'm migrating it lmao, would not be doing this if I had to decompile
Gotta love open source software, it allows others to carry the torch for you when you quit lmao
ah true true
What would be the most optimized way to check the distance between entities, (a pet system where the pet will teleport to you if you're far away) Would it just the be move event?
I would have an async timer task that runs like once a second
because every single move event is murder on server TPS
yeah that was what i figured lol
honestly for pet teleporting, you could probably get away with like every 30-40 ticks
yep seems to work well!
thanks :D
any of y'all seen a gradle duplicate config.yml thing before?
I don't really understand it because there's only one, but it happens when it has the version filter thingy
Did you define a duplicate strategy in the processResources task?
Wait a second, how could there be 2 files with the same name? 
Lolol
okay I see that now
but it took me a bit to realize that swapping out the version identifier makes a new file, it's not mutative
so then you set the duplicate policy and it replaces the old one ๐
which is also extremely helpful because I wanted to do that in my plugin but couldn't remember how
so uh, shoutout to Frosty
I thought you typed / instead of *I* lol
lmao
mfw git is kidding me ๐
why and what is that
the old spigot patches that remapped everything to net.minecraft.server
then md5 decided he'd had enough so stopped doing them on this version
Speaking of changes. Be prepared to update your paper plugins soon.
oh I literally just noticed that actually
I was updating FrozenJoin and I was like "huh, that's weird url". Went to it, redirected me to the papermc.io, decided to change my repo link ๐
it's getting closer and closer though ๐
I know I can't wait
mf-gui breaking soon ๐ญ
frozen... join...? ๐ณ
You haven't seen the movie?
How much I've missed groovy gradle
die
IJ did it for me bro
tell it not to
Ktor be like
what the fuck
why is that part of the style guide
no what
why the fuck would they do that
Uh no it's not lol
It'll just import like any other
The wildcard will only import everything from a path
PepeLa
woah woah @ocean quartz there's a triumph gradle plugin??
Yeah
what it do???
Adds utility for adding common dependencies, like spigot, paper, adventure, etc
And auto generates plugin.yml
oh woah
man at some point you're just making an MF plugin if you use all of the MF utilities
autogen plugin.yml, auto import paper, autogen config, autogen menus, autoget messages
All the utilities to make creating plugin easier and yet never finish a plugin ๐ฅฒ
@old wyvern Managed to get the pluginManagement stuff working on my plugin, i'll see if i can for SlimJar too, probably won't since it's such a mess with shadow ๐ฉ
Ayy main class detection working on Java 16 :pog:
:ping:
๐ฎ
Sheesh
lmao
im stealing all Frosty's clout
Lmao
xD
I'm expecting 10k downloads by the end of summer.
Haha sure and I'm expecting to be alive by my 30s ๐
Nah, heart failure at 25 is what I'm betting
Hmm, that seems familiar...
Oh boy...
Classic j2v8
why doesnt intellij idea want to print errors?
https://images.virtusdevelops.eu/dAk3Wg.png
it just fails
Pretty sure you can run it with like โstacktrace (double dash my iPhone keyboard is just fucked)
Selecting the topmost element on the fail tasks list on the left also ussually shows the stacktrace
that's the one thing I hate when I read up on Ktor lol
I mean, it kinda makes sense, since Ktor has a hell of a lot of functions that need to be directly imported, but just no
๐ฅฒ
Functions ๐
I saw peacocks yesterday
It was very cool what do you think
Awesome lol
weird looking frog

@boreal needle I just went to the link and the colors you showcased are different. I gotta say I Like the showcased one more
theyre different for each project
Double slash
yeah ive just found that
why is "Nouns" capitalised
Pro
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
no ๐
reckon mc 1.17.1 will change protocol version
๐คฆโโ๏ธ
for (Thing thing : things) {
thing...
}
i do not care
.map(|t| {
});
^ i dont know how you use this
๐
oh, that looks weirdly close to ruby's lambda
yeah they look very similar
nope
its Caucho's Quercus
Quercus is Caucho Technology's 100% Java implementation of PHP 5 released under the Open Source GPL license. Quercus comes with many PHP modules and extensions like PDF, PDO, MySQL, and JSON. Quercus allows for tight integration of Java services with PHP scripts, so using PHP with JMS or Grails is a quick and painless endeavor.
With Quercus, PHP applications automatically take advantage of Java application server features just as connection pooling and clustered sessions.
you need to be put to death
public static Optional<Config> load(Configuration config) {
//noinspection unchecked
return Optional.ofNullable((List<Map<String, String>>) config.getList("Patterns"))
.map(patterns -> patterns.stream().map(pattern ->
new BanPattern(
pattern.get("Pattern"),
pattern.get("Replacement")))
.collect(Collectors.toList())
)
.map(Config::new);
}
``` i both love and hate this
What libraries help you develop plugins faster or save you time? I'm currently using MFGui & MFCommands. Any other libs that you can recommend me?
People ussually end up making a tiny library of what they commonly reuse
yeah honestly making your own is probably more productive for the smaller stuff
then just find frameworks for the bigger things
Alright, thanks.
?mf
Looking for useful libraries/frameworks?
Here are some which have been deemed useful by the community and are used daily.
-> Menus: https://mf.mattstudios.me/mf-gui/gui
-> Commands: https://mf.mattstudios.me/mf/mf-1/getting-started
-> Messages: https://mf.mattstudios.me/message/mf-msg
-> Config: COMING SOONโข๏ธ
config: coming soon ๐ค
@ocean quartz should i change this? ik u still want to add to it but atleast its ready for production i guess
i just hate it
suggest something better
automation with gson
overkill
hardly
this will be literally 5 classes
is it a minecraft ploogin
mhm
spoonfeed me
Patterns:
- Pattern: "(?i)actbab"
Replacement: "account created to bypass a ban"
- Pattern: "cheat()?"
Replacement: "you used illegal modification"
you've already seen most of the relevant code
need config and ban pattern
public class BanPattern {
private final String replacement;
private final Pattern pattern;
}
where's the constructor
public class Config {
private final List<BanPattern> patternList;
}
cba to copy that
boilerplate
it's just a standard constructor with the this.blah = blah
you'll need a custom field naming policy with that god awful naming you've got there in yaml
or you could just use a respectable format
i recommend lower case with underscores
Piggy
hello
is there a way to retain a class between expansion reloads
brister if you fix the naming it's like 1 line of code
j2v8 is trolling rn with a classloader leak, which makes it very hard to load the library again
๐ฅฒ
I was thinking of returning true in the persist method, but that retains more than needs to be
give me a sec
i have to check papi 3 to see how it loads files
can't remember how to use snakeyaml
what happened to quickjs yugi
also what's going on with javet
new Yaml(map)?
Javet is unlikely to work, its on V8 9, which requires a library installed on linux
J2V8 and QuickJS seem to work on both
what did the author say
Looking through j2v8, it seems to use v8 8
so yea, what he said was true, this is an issue from 9
private static final Gson GSON = new GsonBuilder().setFieldNamingPolicy(FieldNamingPolicy.LOWER_CASE_WITH_UNDERSCORES).create();
private static final Yaml YAML = new Yaml();
// in method
return GSON.fromJson(GSON.toJsonTree(YAML.loadAs(yamlString, Map.class)), Config.class);
He just pointed us here (https://github.com/caoccao/Javet/discussions/26), which is for instructions to install the required libraries which is likely not useful for this case
fak
how do i get bungee Configuration to a string
Works, was trying to get both quickjs and j2v8 to a useable level so we could test both of them and select what works the best
method scales to any config type
I always write my configs like this
i haven't used bungee/bukkit config api in yonks
so does this not happen on newer linux vers?
not likely without some hack
make an issue for it in papi 3
at this point I'd just continue with quickjs
since javet doesn't work without gcc and j2v8 has memory leaks or whatever
Alrighty
Can keep ot for now let me finish my new wiki first
๐
Yes the old broken way of shading libs, SlimJar does it better, using Shadow ๐
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
no
not true
you are LYING
not_lucy_mc
nah thats even worse
Lmao
i did look at losing the underscores at one point but the github name is already taken
and id look like i copied you
the
why the?
why not?
:>
seriously i have nothing at allllllll
Hm
IHasShoulders
Disguised Hamster
SpikyLegsLOL
Lmao
HamsterMilk
lmao what are those
No don't do it D:
IHaveARazor perfect
it has history and personality
you did and still have a razor and its your razor
๐
that's now how my name was made xD
damnit no nick perms :(
I made it for my brother first, He wanted a name that's not taken so I just put in Blitz for some reason then I said, he's a gamer so BlitzGamer works, and then just added 88 at the end to make sure it really isn't taken (also I like 8)
yeah. boosters only
brb buying a boost
then I Took his name and added a _ so I was BlitzGamer_88, then I realised I'm not really a gamer lmao
so changed it
omggg
I can set my nickname without boost
that's cool
Just change your actual name
new pfp ๐ฅฒ
is that a dev general meme now
wait are you not changing your name to that?
no lmao
๐ข I like it
i was joking
ok bye then
nah i have some slightly more cutesy ideas
if i survive whatever you're about to do to me that is
lucyy-dev ๐
here some better ones: Razorrex IHasRazor Razor Razor Razor Razorasaurus Rex Razor Razor Uber Razor Razor Disguised Razor RazorRazorOMG RazorRazorLOL RazorRazorLMAO IamRazor RazorMilk MindOfRazor GamerRazor The Razor Gamer DrRazor RazorRazorpopper BigRazorRazor ItIsYeRazor R4z0r Razor Boy Razor Girl Razor Person Captain Razor Total Razor The Razor Razor Dude The Gaming Razor Gaming With Razor Mr Game Razor Ms Game Razor
please no razor
RazorMilk lmao
we're not getting anywhere here lmao
Razor Razor Razor
brb imma go look for free github usernames
xd
BuggyLucy
Crolucy
Dollucy
Extenlucy
FizzLucy
Gatelucy
GorgeousLucy
HopeLucy
Inuslucy
LucerneLucy
LucreLucy
LucyAgcy
LucyAlly
Lucyanti
LucyBen
LucyBlab
Lucygn
LucyLunacy
LucyLurker
LucyMarcs
Lucymter
LucyPac
LucyStories
Lucyte
LullerLucy
LunesLucy
LungyiLucy
OneLucy
Ontelucy
OracyLucy
xD
LucyLurker
Microsoft OneLucyโข๏ธ
\โจGorgeousLucy\โจ
no
Yes
its gotta be at least factual
Flucytosine
How about "Krypton"
beautiful
go on
Uwu
seeing as that's the only contribution ive ever made to someone elses project
Why did I randomly get a tweet notification of someone that I'm not even following what
Hi, is it possible for me to register to the ecloud!
@pallid gale ^^^
ask cube
funnylucy
funnyrazor
Apparently the JarFile class is system dependent for some reason
hilariouslucy
lmao stop with the razors
Java bad
Clearly
TheRazorOfRazors
stop_w1th_th3_raz0rz
;-;
It fails to find file path on a specific configuration
__razor
"Write Once Run Anywhere"
__razoryy
Java Bad
__razor_uwu
Absolute lies by this menace of a man named gosling ๐ฅฒ
java_bad
absolutely no uwu
no_razor_no_underscores_no_uwu
sue him for false advertising
make him PAY
Yes, Simon will be our lawyer.
๐
simon cowell ?
its a no from me.
Simon YourMum
oh. who's your mum?
I would let Simon dominate me (in a court of law)
๐ณ
i almost met simon cowell once
me2_razor
my steel band auditioned for bgt
razor_haz_met_simon_cowell420
Simon Cowell is the irl name of the howard guy from bbt right?
uh
lmao
bbt?
omg are u on tv?????
no
โน๏ธ
Big Bang Theory
i missed a few opportunities
time to google lucyy razor simon cowell on tv
I don't think so
you dont know the name of the band :)
no thats definitely not simon cowell @old wyvern lol
xD
well maybe they have the same name idk, but this isnt the same person for sure
The Razors
There's only 1 real Simon
and that's Simon Razor
Simon Razor-Jones
what have i started
lmao
maybe
Regex espacing be like
\\\\\\\
why havent they yet!
That reminded me of this gem
https://www.youtube.com/watch?v=eXwszwz0dF8
๐คฃ
I wonder, does the path look like this on linux too?
/
Hmm if it does than this would break ๐ฉ
You can quickly test on WSL, can't you?
But I mean \ joined paths is a Windows construct for whatever reason :^)
thank you windows very cool
Probably not too quick to test
Does anyone here have linux and want to do a quick testing for me?
how quick are we talking
Just run this
fun main() {
println(File("any file here please").path)
}
And tell me if it's \ or /
sure 2 secs
Huh yeah it takes from FileSystem separator
Paths ๐ ๐ฉ
Kek
yeah @ocean quartz its a forward /
Ah yeah that would definitely break this, thank you!
I found a way that should work on both now
thoughts on personal .net domains?
im thinking about getting one for this new username when i get there
just waiting to hear back from github about usernames
I'd say depends on the domain, some look nice with net some don't
fair enough
!>!>!!!!
!
Can someone please explain to me why there is two of these? This is so dumb
Fair enough
this is so dumb
bukkit be like
Like, author: "Matt" and author: ["Matt", "Yugi"] are both allowed by yml iirc
well it doesn't matter if yaml allows both or not, I'm pretty sure that bukkit configuration api turns one element into a list if you call getXList
and even outside of bukkit api, you can 100% check the value type (if it is an array or a single value) and then process it however you want
so it is just a stupid thing made by whoever designed plugin.yml
Just use File.separator or whatever it is?
Smart Matt ๐
Either way, it's a good Matt
Nothing better than a infinite gc loop ๐
Its happening specifically with J2V8
This is why you should use SQL
QuickJS probably doesnt have this issue, but it irks me that this cant be fixed
There must be some way
What?
Looking at the heap dump, there may be a phantom reference somewhere
But I cant find it in any of the V8 classes
Hmm
SQL is the best GC ๐
Yep
Oh is that a reference to the Vision guy?
Yeah xD
xD
@boreal needle i just got a notification saying @someone replied to a message from The Razor Razor dude and I was so confused for a second :)))
Yeah why is that your name lol
What razor
E-Razor
lmao
so im looking for a new username
and blitz suggested a load and fsr loads had the word "spiky" in them
I would suggest star but that's already taken
Ah I see
robocop?
i have ideas tho
Try Xx_ElaraUser_xX, if that fails try Xx_ElaraUser_1_xX or Xx_ElaraUser_12_xX or Xx_ElaraUser_123_xX
Such as?
Bro
Lucy asked for a new nickname and i used a generator and found a lot of random names like HamsterMilk, spikylegs and things like that. Then lucy said I have a razor and Mitten said that a nickname should have a backstory and whatever and I said IHaveARazor its a good name and now it has a funny backstory as well
That reminds me of that regular show episode
Then i used the same generator to generate nes based on the word razor
DustBoat? or something like that
And got this one and a lor of other funny ones
Gotta boost
Can't
:(
haskell > elara because -> > =>
Can only change my own
I like hamstermikk
Elara has both ๐
No perms for that. Sorry
i am considering buying a boost just to change it for the month
It sticks tho
yeah i dont want it forever
So if u don't change back you get stuck woth that one until you boost again
Heh
oh, it needs a backstory? OopsIHadADemonInMyBasement
Dk if it was backstory or whatever he said
Lmao
The perfect amalgamation of History and Personality
Such as????
reeeeeee
I think it's cause you used js
this worked literally 10 seconds ago
Exactly, js is a fickle Mistress
๐
does elara has bindings?
Holy cursed formats
๐คข
what is the equivalent of kt with in java?
what is cursed af, I like sometimes doing spaces between names and = to align them, but not between types and names, I mean, wtf
none
Both are quite weird to do in Java. Go conventions accept them tho
is it cursed as well?
yes ๐ท
in a language where you don't have to specify the type, might not look that bad but yes, it's horrible
what is the time complexity of bubble sort? I read it was O(n^2) but that is not true
How so?
bubble sort boils down to (pseudo kotlin)KT for (i in indices) { for (j in 0 until lastIndex - i) { if (shouldSwap J with J + 1) { swap(J, J + 1) } }so if I had a list with 2 items and ask the algorithm to sort it, by the logic of O(n^2) it would take 2^2, or 4 swaps (at most), but look, the outer loop will loop 2 times, and the inner loop will run twice for the first item, but only once for the second item, totaling 3 loops instead of the expected 4
totaling 3 loops instead of the expected 4
this discrepancy grows as the list growls
There isnt a expected 4
When you generally speak of time complexity, you are reffering to the upper bound time complexity, i.e, Big Oh, this is a bound, not an expected value
You mentioned it yourself in your sentence, it would take 2^2, or 4 swaps (at most)
(at most)
yeah, the loops bubble sort make does not vary in the same list size
what I want to know is why 3 is not 4 in this case
if you have a list with 10 items, the time bubble sort takes is not 10^2, but 10 (first loop) + 9 (second loop) + 8 (third loop) ... 1 (last loop)
then why is bubble sort classified as O(n^2) if it's not n^2, why?
nยฒ at worst, n at best I think
it is just n if the list size is 1 I think
it's linear time if the list is already sorted I think
Not exactly, the one ussually used uses a flag to optimize it. Even so, I dont think you get what Big Oh means, a big O(n^2) gives no promise of the time units taken to be n^2 at any point, it takes only the higher degree* variable in the running time equation and discards the coefficients and constants
So for all you could care, an O(n^2) might be referring to an actualling "running time" of (0.1 * x^2) + (5 * x) + 2 or whatever
In case of the common optimized bubble sort, it is n(n-1)/2
mhm
is n(n-1)/2 == nยฒ?

n(n-1)/2 != nยฒ
n(n-1)/2 = O(nยฒ)
read this
it takes only the higher degree* variable in the running time equation and discards the coefficients and constants
idk what that means :/
what is a higher degree variable
That is slightly worded wrong ig, the degree is the equation in the highest power of the variable in the equation (in 1 variable)
So here you have n * (n - 1) / 2 which simplifies to (n^2)/2 - 1/2
I have a question about this implementationCPP void bubbleSort(int arr[], int n) { int i, j, temp, flag=0; for(i = 0; i < n; i++) { for(j = 0; j < n-i-1; j++) { // introducing a flag to monitor swapping if( arr[j] > arr[j+1]) { // swap the elements temp = arr[j]; arr[j] = arr[j+1]; arr[j+1] = temp; // if swapping happens update flag to 1 flag = 1; } } // if value of flag is zero after all the iterations of inner loop // then break out if(flag==0) { break; } }
Yes?
shouldn't the flag be set to zero before enter the inner for loop
cause if the elements have not being swapped in one full iterations, that means that the list is already sorted, correct?
if ( hours < 24
&& minutes < 60
&& seconds < 60
)
{return true
;} else
{return false
;}
what is that?
i am looking up coding styles on google, found this on some wikipedia page
it looks like shit
I gotta do some diagrams describing a spring boot app, what kind of diagrams better represent this kind of system?
Haskell indentation style
apparently when IJ runs a console app, it doesn't have a console since System.console() returns null
That looks like Haskell style ๐
not that it's really supposed to be used in imperative languages
that don't look that great with all those brackets yeah
Really the only time you'll use braces in haskell is records
Whatโs the best way to swat off people who ask for 1.8 support or something under 1.16
Someone give me a line lmao
"That version is not actively supported nor my targeted audience, if it works it works, if it doesn't I'm not gonna go out of my way to make it work"
"wOw HoW rUdE"
"Fuck off with your dinosours"
"Mojang does not support it, why should I?"
I think you mean under 1.17
Java 16 only gang
Well yeah ig 1.17, but tbh i wouldnt be surprised if some people were on 1.16 still cause some plugins still need to be updated
Assuming you head over to the valorant section, is it possible to make a discord bot that displays that kinda stuff?
If it returns JSON data, of course.
It's an API it'll like 100% be JSON
Itโs probably xml
html api gang
wtf did you shade in bro
lol
spigot api lol
did you shade the entirety of minecraft lmao
no i didn't
nah yeah the whole server jar
btw these are all the relocations
more than u think 
half of them are jda libs
then other is stuff where i have no clue where they came from
i don't have many dependencies
those depends are big tho
listOf(
"lib.package.one",
"lib.package.two",
"lib.package.three"
).forEach { relocate(it, "my.package.lib.${it}") }
๐
๐
also the server im helping developing for is using skript and the antixray skript always spams console ๐ฅฒ
might not be antixray
thats what they told me
ยฏ_(ใ)_/ยฏ
i should probably use slimjar sometime
but its midnight
and i should sleep
smh second image didn't load
oh i had to move the slimjar below shadow
Ayy finally adding commands that work :kek:
nice
Nice
lol
should i relocate slimjar or no?
i feel like i should
but i dont want to break anything
who support this plugin ? https://www.spigotmc.org/resources/guilds-30-sale.66176/updates
Head to #spigot-linking then #guilds
What happened?
1 sec im in the middle of getting the exception
https://paste.helpch.at/ayawiqohef.apache
btw pebblehost is the server host.. might be related to that?
also replaced the server name with PLUGIN
PLUGINPlugin.kt:54 is ```kt
ApplicationBuilder.appending(description.name).build()
i have no idea what to do
Wtf is that error lol
Any idea @old wyvern? ^
its 12:30 midnight so ima go to sleep, but if u find a solution plz ping me ๐
@half harness update to 1.2.2
Make a gradle.properties files in yiur project root and add slimjar.version = 1.2.2 there
Already discussed this with the pebblehost staff earlier. They have their java executable renamed for security purposes so bytebuddy has trouble finding it.
I have a question, how do I get staff before I start a server? Like I need some programmers and builders but I just don't know how. Maybe you can help me?
Wrong channel. #minecraft
dm me a username and email you'd like and i'll create it
lol
Yes
You should delete it
hi
hello
lol watch me ask a stupid question
uhh I come from javascript and c# and I can't figure out how to set up a java project any way someone can help me with smth so basic? (I am using VSCode for my code editor but ig if I understand how to do it I could aply it to any code editor... this shouldn't be important I think?)
you should use an ide for java. most recommended one here is IntelliJ
but like uhh that's paid... I think? wait I gotta fact check this
nah. there's a "Community" edtion
is what I use, and a lot of people do
or you could get the ultimate version if you're a student or I think with the OS license as well
I am a highschooler so idk if that's still like gonna get me the sudent pack? idk what to call it sorry my english is kinda bad I am really strugling at times to express myself
I am not 100% sure how the student pack works but I'm pretty sure you get it if you're in highschool as well. but I think you need an email of your school to confirm you're going to their school
but if you don't want or know how to do all that, believe me the Community edition works just great
ok got it
you can learn more here btw https://www.jetbrains.com/community/education/#students
yeah found the page eventually
ah alr
time to sudo make install and hope I don't have to do more googling I will be back once I got it installed
if I got any other questions
they do have great docs and usually when you search how to something in intellij their docs pop up first
There are also pre built binaries for IntelliJ
you don't have to build it yourself
yeah found there's a snap repo that's much more convenient than folowing the intructions they provided :) thanks!
should also be in most package managers
not in the linux mint one odly enough
I know it should but I searched it and it didn't know up and comand line apt install intellij-idea-community did return no package found
I actually have mint on my laptop, I don't remember if I installed IntelliJ there though
I jsut finished installing it now :)
I personally installed the toolbox manually from the website then installed IntelliJ from the toolbox
and that was because the one from the package manager didn't show my activity status in discord xD
had to do the same with discord, install it from the website
Oh yeah I had that issue with Discord on mint I think
the RPC apps wouldn't work, had to use the tarball
thanks for the support starting up :)
tyy ๐
@static zealot Mood
weird question how tf you rename a file in intellj idea
cuz I been looking for the rename button for ages oof
right click -> refactor -> rename
Select it, shift F6 ๐
thanks :)
wtf. discord just sent a notification for this. xD
took it a while
I don't think i'm missing anything else right?
Taking from the wiki:
permissions:
test.foo:
description: Allows foo command
default: op
test.*:
description: Wildcard permission
default: op
children:
test.foo: true
Hmm now that i look at it, the children thing looks bad 
Would this look better?
children {
child("test.foo", true)
}
children(
"test.foo" to true,
"test.bar" to false
)
default = DefaultType.OP
``` ๐
ew
๐คฎ ๐
default = OPERATOR
or forgetting what default types there are, plus then there can be KDocs
why use enum when you could use sealed class + object ๐
elaborate
dkim bad
Haha
slimjar
Yes?
uh
https://paste.helpch.at/mucuzujotu.m
do u know what this means
something's not relocating or smth
i think it means slimjar bad
pdm bad
Send me your build file
slimJar {
relocations.forEach { String first, String second ->
relocate first, second
}
}
```this is the slimjar bit
Send your jar
I had that, but requires import ๐ซ
lol
Me like it
I need atleast the slimjar.json or your entire build file to verify if you're doing something wrong
Therefore I write good Kotlin ๐
hmmm
You also build with shadowJar task, correct?
lol
Looks like a relocation mismatch between slimjar and shadowjar
so you most likely have something wrong between those
๐
also this is the log with relocating both shadowjar and slimjar: https://paste.helpch.at/ufatokevuz.m
gasm
lol without slimjar my jar is 47mb
Also Yugi, testing with the pluginManager is so fast, all i do is publish to local then refresh on the test project and it's already updated
Ooo, that looks nice.
๐ฎ
Thats awesome, the buildscript way is so fucked
Ikr
At some point I just started testing on the gradle portal with cryptic versions and then deleting
๐
https://paste.helpch.at/ihasizakil.json @old wyvern ๐ฅบ
Amazing, i'd do the same xD
You dont have a relocation specified for kotlin there dkim
yea i removed that one since i was using kotlin classes which called kotlin functions in init {} so it threw error
so uh
shadowJar {
relocate 'kotlin', "${basePackage}.kotlin"
relocate 'me.dkim19375.dkimbukkitcore', "${basePackage}.dkimbukkitcore"
}
```so i put this
final def basePackage = 'me.dkim19375.PLUGIN.libs'
You need to relocate both to the same packae
relocate 'kotlin', "${basePackage}.kotlin"
Specify this in slimjar
You dont really need to specify any of the relocations in shadowJar
just apply them all in slimjar block
oh
its transitively applied to shadowJar
"sPeCiFy tHiS iN sLiMjAr" ๐ ๐ ๐ค ๐ค
okay but pdm doesn't have relocations ๐คก
Im assuming the issue here was that
The kotlin package was relocated in jar,
relocation not provided to slimjar,
therefore kotlin class references in kotlinx wont get relocated, so it still refers to the original one
would this fix it or do i have to implementation kotlinx?
actually
where is kotlinx coming from
coroutines
uranus
oh its coming from dkimcore
Just move all relocations to slimjar block and test first, we can move from there
You got a problem with that huh punk??
I swear bm's pfp is changing like every minute
No more weeb smh
DefaultDispatcher-worker-3/WARN java.lang.IllegalStateException: No language and polyglot implementation was found on the classpath. Make sure the truffle-api.jar is on the classpath.
anyone know how to fix this? ```gradle
implementation 'org.graalvm.js:js:21.1.0'
implementation 'org.graalvm.js:js-scriptengine:21.1.0'
implementation 'org.graalvm.truffle:truffle-api:21.1.0'
Give me that weeb
weeb will be slain
๐คฃ ๐คฃ ๐คฃ slim bad
actually
there
i edited message
i didn't test with slim
forgot to replace to implementation
Dkim
Pulse
Do you need a weight loss program
wat
Is that why you are using slimjar
yes
Lmao
gotta slim down from 47mb to 5mb
does anyone know a bstats alternative that works for cross-platform
That's actually more of an issue with Graal itself. I originally got that working on an update for the Javascript Expansion. Ended up throwing in the towel because it required on-demand classloader hacks to make it load.
bStats has multiple modules.
classloader hacks
uhhh what should i do?
yeah i have to create separate stats pages for each platform
id like to have them all as one
i dont really want to do hacky stuff
i might end up doing that
How are you supposed to test bungee plugins, I open 2 instances of MC and suddenly I have less than 30MB of ram left
Please help
get more ram
^
?download-ram
^
Lmao
Lmao
i can comfortably run two paper servers, one proxy and two clients on 16gb
I have 16 gb ram and an nvme ssd โน๏ธ ๐ตโ๐ซ
with i3 mind you so no de overhead
I can't even change window to see what's taking up all of the ram
set ur mc instances to just use like 500mb
yeah
What
Can you not just give each client 1GB of RAM and then the server like 3?
Probably
"Do YOU need a weight loss program??" TV advertisment
screw it imma write a stats module for my website
Paper is probably stealing like 8 GB or some bs
did y'all know that singleplayer is basically a server?
lmao
Unfortunately
Got that would be funny if you advetised Slimjar like that.
lmao

