#dev-general
1 messages ยท Page 593 of 1
I'm giving options, how is shadowJarTask.finalizeBy(copy) non-reproducible? 
alright. will be looking into this tomorrow or next. week. thank you very much
because it'll break if the copytask fails, no?
No
you can also set the copy task to depend on shadowjar
huh
You can? Bruh
So you only run one task, and it auto does the rest?
yes you just call gradle copytask or whatever its called and the tasks it depends on are called before executing the copy one
finilizeBy does that
It means once shadow finishes runs copy
This is so nice
yeah. either finalize or depend. does the same shit I guess
can you have it so when you run Gradle build, it does shadow and then copy?
Like havs those depend on build
Instead of manually specifying Gradle copyMyShit
you can but ๐ท
wait @eternal compass never worked with cf workers. where is this shit stored after that? do I need to have a server to host it?
Ohh, thank you lots all, only thing I need to research now, is a dank light way I can send a JSON payload to an api with Java.
Like with multiple keys inside each other, then Iโm good to go
like the pastes
I thought CF host it
Like serverless stuff
Iโve never used them myself but they seem so cool
and its just 18:54 ๐ฆ
That CraftHead api is hosted on CF
Crafthead is a highly scalable, serverless Minecraft avatar rendering solution built on Cloudflare Workers.
hmm. but that also means I have no saying on deleting paste bins. so I guess is cool but not as cool as self hosted ones.
I know it would be effort but I guess you could add an admin thing for deleting, but by that point you may as well just code the thing yourself
I mean even so. its pretty cool. and might do it. just so I can show how cool I am by having my own paste service
anyways. to much documentation to deal with today.
@half harness wanna take a break?
ok
alr. will try and see if I can get lunar to work on pop.
yo how do you launch an appimage without the console output? I know you use ./IMAGE-NAME to launch it but if I exit from the terminal it terminates the app as well
I remember there being an argument but can't remember what it was
oh it works. @half harness alright. joining now.
oh fucking hell. it does that again. where it logs me in but when I go to play multiplayer I'm not actually logged in
@half harness join
No, it's serverless.
The page is stored in a cloudflare CDN,
The worker is also stored in a CDN,
The content is stored in Cloudflare's KV storage (key:value)
gorgeous
Tried to use Flutter + Dash, Flutter wouldn't connect to my phone. Time to look at React Native ig, (and learn TS, the second language I'm learning today).
wouldn't connect to my phone
oo what happened more specifically
Tried flutter attach. It said something along the lines of it's trying to connect, and didn't do anything.
I even tried to fluter attach to my own computer, and that didn't work either.
Why can I only get version 2.10.4 of PAPI with maven?
I believe your friend can simply logic and it would reactivate if it was disabled with 7 days
Oh yes sure, please ๐ฎ๐ฎ
I dont have the source to older versions tho, just 1.3.0
Could possibly go back a few commits to fetch the older versions
Oh ๐๐
Wait I'll just make you an account so you can do it
Alrighty
hello is placeholderapi 2.10.10 compatible with 1.8.8? because I have an error
I decided to add renovatebot to github and uh
is there a way to see open issues on your github repos or something
oh wait nvm
Lol
after 25 minutes i finally finished ๐ค
๐ฆ damn I need to build a tournament system for a 1-time event ._.
anyone know if there's some sort of OS tournament manager that I could look into?
I can provide it with data and such, but it would deal with telling me when to start games, with who, etc. (and maybe even a discord bot? ๐)
and this is a multi-server tournament (I'll use smth to generate them on-demand), so a spigot plugin won't work :p
How do you make a gpu accelerating anti cheat?
do you have a server that has a GPU in it?
GPUs are almost exclusively for mining, rendering, and user computers
and anyway I don't think that would be too efficient
๐คฆโโ๏ธ
Bruh okay stop being mad
You donโt know what async is so why should I? :(((((
This guy lmao
Not funny, didnโt laugh
๐ท๐ท๐ท๐ท๐
Anyways back to my question
How do I make a gpu accelerating anti cheat
?????
choose your fighter
Bruh
I just want some help
"ASyNc"
gpu accelerating anti cheat
On client side?
Lots of servers won't even have gpus
I mean to run code on a GPU you need to dispatch compute shaders
and hope the server has a GPU
Hmm maybe I just mean async
xD
GPU is not async
It is
uh
Man
the CPU will still have to wait for it to finish lol
^
much better than trying to use a GPU
lol
@prisma wave album content
xD
most servers won't even have discrete GPUs lol
FYI async != gpu.
He left lol
Forget gpu acceleration, I dont think the dude has any clue what hes doing
it has the new to discord thing
I don't think he was troll at all, which makes it more funny
ikr xD
I think it was
its new
noone makes a new account, joins helpchat, and asks to make a GPU accelerated anticheat
xD
lmfao
They are in paper and spigot as well
tryina cause chaos there
also look at that profile picture
probably just google discord profile picture
You'll need about 6 million toasters
no selfies in #dev-general
lmfao
on another topic, anyone want to help me build a tournament managing library for java?
basically just an interface that other plugins can use
and connect via
(a bracket one)
Budget?
._. os
thats fair
tbh I dont think I even have a single commit this whole month
lmao
My course is almost over so they are forcing us to take like a lot of placement courses
Im doing one rn
Oh I have 1 commit
Oct 2
I feel like that question didn't need the context that they're musketeers haha
gg
Yea competitive coding ussually introduces some narrative
for example most problems on codechef is related to cooking and chef's problems
Yeah, I've been doing some technical exams for placements too and tbh they're mostly worded horribly. Like half the question is me understanding what's relevant and what's not. Although, some are relevant to the position I'm applying for
yea xD
You had to do any where you're under the 'exam conditions' and you have to record yourself with a mic, screenshare etc yet? Those aren't fun
oo nice 100% gg
๐
Can't lie impressed with gradle
7:55:53 pm: Executing task 'shadowJar'...
> Task :compileJava
> Task :processResources UP-TO-DATE
> Task :classes
> Task :shadowJar
BUILD SUCCESSFUL in 376ms
3 actionable tasks: 2 executed, 1 up-to-date
7:55:54 pm: Task execution finished 'shadowJar'.
what would be the best way to setup sort of something like a "communications hub" since only 1 server can port forward, the rest can't, so I can't do what I usually do since it'd require ports opened on all the servers
I've already done this before (with ktor) using websockets, could websockets also be handly in this too?
Yes
The other "servers" should be clients in this case and connect to the one that can port forward
and once connection is established you can continue 2 way communication
@half harness
perfect :D
Each will be a separate connection
hm
The server should mediate the interclient messages
interclient?
client to client
ah
Imagine a chat service
User A sends a message to User B
The server mediates the message to User B from User A
๐ฏ
๐ฅด
kotlin isn't always better though
explain ๐ค
look at your bedwars plugin vs bedwars 1058 /s
Yeah, explain yourself
Where is that? I believe they need to be taught up
Minehut maker discord :p
Just people who publish paid skripts basically
I know pop (one of the admins), and wanted to publish some of my stuff there so I got in
lmao
Imagine using a dependency manager ๐
Pdm ๐
Actually I dont think course really needs an ide
they have an integrated one
Not sure why they have that there
From spigot playerjoinevent, can you get the domain the player logged on from?
no I think but PlayerLoginEvent yes
ty
Actual scam, we aren't even in 2023 yet ๐ค
Thats the batch year, not the current year
My course ends in 2023, so 2023 batch
wait what
@forest pecan https://www.youtube.com/watch?v=kNMMS_WknOk
?
Bro that was in my recommended but I just didnโt watch it
XD
If I am working on a 1.17 plugin, can I use Java 16 for it?
I just found out about the enhanced instanceof and I love it
of course
all 1.17 servers are required to use java 16
so
yes u should

btw yugi
is there any fix for slimjar?
i remember u talking with bm about his repo or something
but i have no idea how to set it up or what repo it is
no
because theres like a billion more features
ffs so people are still sticking to those two versions?
or is the number of those people finally going down
i doubt anyone is on 1.8 because of performance
idk about the stats tho
performance really isnt as bad as everyone thinks
Yeah I think it's blown out of proportion a lot
1.8 is 7.8% - which is a lot more than I thought tbh since if you google "how to make a minecraft server" it'd probably show 1.15+
1.12 - 8.3%
๐ค
interesting
I see a lot of people saying "omg I tried running a 1.16 server with 5 people and it was lagging like crazy"
where's that from
bstats
if u cant run a server with 5 players then thats definitely a you problem lmao
with my other pc it took me 40 seconds to startup 1.16 and 5 seconds to startup 1.8
on the test server, so probably similar plugins
ยฏ_(ใ)_/ยฏ
I ran a server with ~20 players on a 1.16 snapshot last year and it ran perfectly
Using the vanilla server
exactly
With 16gb of dedicated ram
now do that on 1.17
u can still do it
Let's see
startup times are very similar to 1.8 now
took 30.370 seconds
with 23 plugins
Plugins (23): AntiDisconnectSpam, CleanroomGenerator, Essentials, ItemEdit, LastLoginAPI, LuckPerms, Multiverse-Core, Parties, PlaceholderAPI, PlugMan, ProtocolLib, SkinsRestorer, spark, TAB, TCPShield, Vault, ViaBackwards, ViaPotions, ViaRewind, ViaRewind-Legacy-Support, ViaVersion, WorldEdit, WorldGuard
vs 1.8s 6.701 seconds
with 19 plugins ```
Plugins (19): AntiDisconnectSpam, CleanroomGenerator, Essentials, HolographicDisplays, ItemEdit, LastLoginAPI, LuckPerms, Multiverse-Core, Parties, PlaceholderAPI, PlugMan, ProtocolLib, SkinsRestorer, spark, TCPShield, Vault, ViaVersion, WorldEdit, WorldGuard
Those plugins are slow as shit then ๐
1 sec
plugins ๐ฅด
Plugins (18): AntiDisconnectSpam, CleanroomGenerator, Essentials, ItemEdit, LastLoginAPI, LuckPerms, Multiverse-Core, Parties, PlaceholderAPI, PlugMan, ProtocolLib, SkinsRestorer, spark, TCPShield, Vault, ViaVersion, WorldEdit, WorldGuard
```they both have these same plugins
1.8: 6.306 seconds
1.17: 14.998 seconds
Yeah with no plugins 1.8 is ~2.5 seconds and 1.17 is ~3.5 seconds
Not sure how to get exact times
oh
btw this is with different plugins which is why its a bit different
This is 1.17 with no plugins then
seems like this plugin is making it go from 14 -> 30 seconds
And this is 1.8 
xD
To me base paper is faster on 1.17
ยฏ_(ใ)_/ยฏ
nope
now its 16 seconds
with the plugin
Plugins (23): AntiDisconnectSpam, CleanroomGenerator, Essentials, ItemEdit, LastLoginAPI, LuckPerms, Multiverse-Core, Parties, PlaceholderAPI, PlugMan, ProtocolLib, SkinsRestorer, spark, TAB, TCPShield, Vault, ViaBackwards, ViaPotions, ViaRewind, ViaRewind-Legacy-Support, ViaVersion, WorldEdit, WorldGuard
same plugins, very different time
weird
lol
The fact that 1.17.1 is faster than 1.8.8 on my machine is wild tho
bad pc
๐
Yes by ~0.2 seconds but still
and 1.12 would probably make a slower result
so
i assume its a gameplay thing
that slows it down?
ยฏ_(ใ)_/ยฏ
instead of just startup time
idk
i haven't ever ran a 1.12 server before
maybe once for compatibility check before but i dont remember
I just wish everyone used servers post-1.13
Wasnโt 1.14 bad?
btw
wouldn't you be able to make a custom 1.17 jar to recreate 1.8 pvp on 1.17
if someone made a fork for that then that'd be a huge thing ๐
sorta afk
Probably already is
hmm
WHAT
then there would be 0.01 reason to use 1.8
then plugin developers don't have to think about 1.8 stuff
๐คฉ
since you just have to do OldCombatMechanics + new kb (preferably not vanilla kb tho, not in OCM because you need custom server jar) + blockhitting (could be achieved with packet listener) + reducing (idk if its in 1.17 idk)
...
who can give me an ItemsAdder plugin please? I very need it, but cant buy
๐คจ๐ธ
๐คจ
Caught in 4k
I am getting this weird error when building my plugin Unsupported class file major version 60
full error?
I didn't get this when I was writing with Java 8, now that I moved to Java 16 I am
That's all it says
is it a gradle error?
a maven error
o
60 is java 16, so wherever the error occurs, you're running something below that
Not sure I follow
<properties>
<java.version>16</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>``` my java version is 16 tho on my pom
My pom has this weird error however
what is ur jdk set to in project structure
What is this error though
idk, can u show the pom?
Yeah im dumb
There was a - character somewhere
The problem is still here tho
What I notice is that mattstudios commands plugin does not get shaded into my plugin due to this error
That's my pom either way
Could it be that Mattstudios commands does not support Java 16 yet...
I'm fairly certain maven-shade does not support relocations for Java 16+
does that have anything to do with the issue
Ah so I cannot really use Java 16 in my project then
if I am shading a library
You can not relocate if that works for you, but it's a really bad idea
Or use gradle
What
What what
gradle +1
Better?
It's already huge to go from Java 8 to Java 15 anyway so I'm fine with not using Java 16
Too much effort to migrate my project from maven to gradle
Easier to just use Java 15 till maven fixes the issue ๐
Lol as if they will
gradle will automatically convert 90% of it for u
Also that
What am I supposed to do then?
gradle init ๐
Alright I ran that command
Well I did that
Now what
I still have the maven window on the right and not a gradle window
do u have all of the gradle files now
I got gradlew and gradle.bat
no build.gradle?
probably not
I was supposed to select yes or no
๐
Should I pick groovy
I have got no clue what either of those are
Should I load
all I have is this though
Gotten some "inspiration" recently to start messing about with development again, but got little time cause so many other things to do 
same
whats in ur build.gradle
Just publish slimjar to local for now ig
@prisma wave uh have you made that nexus account?
oop
lol
Btw i think ill have to create a new instance from scratch
Like it was disabled earlier
Now its terminated
๐ฅด
Fuck you oracle
Gotta figure out a ready to deploy solution woth frequent backups
Who knows for how long ๐
Im waiting for my account termination now, any day
should've guessed it was a scam
Yup
But I can abuse their service till that day atleast
Ill make sure termination is useless
Look at this beautiful code: https://paste.helpch.at/oxogalivas.cs !!
it's the sort of code I love, smart use of OOP and methods
It makes a nice pattern as you scroll down
most organised OOP code vs least organised FP code
least organised FP code >>>>>> most organised OOP code
Tbh, I'd love to abuse that implemntation and spam tab completions till the server dies with an OME
=))))
no
no
hi dkim
Looks similar to exposed but not ugly
do you think exposed is ugly? ๐ค
It's pretty ugly most of the times, specially with complex queries
Though i really like it
oh, I've only used it a bit for small queries so I don't really know much myself, but it felt really good to create tables using kotlin object, through I would prefer if I could relocate it to be able to use it properly on bukkit plugins (https://github.com/JetBrains/Exposed/issues/1353)
hi
is there a way to make it so that wheat and grass and other blocks that you can mine instantly have a mining time?
e.g you have to spend time to mine a wheat crop
guess it's not, because it's decided clientside
New video from Sebastian Lague 
https://www.youtube.com/watch?v=sLqXFF8mlEU
A little experimental game I've been working on recently, where you fly around a tiny version of the world and deliver packages to various cities. Would love to hear any ideas you might have about how this could be taken further!
The source files for this project are currently in early access to patrons of the channel, but will be made public l...
cool
who?
dr. who?
dr dr
Still D.R.E.
cool
random question
but
with public/private keys, would both the client and server have a private key?
so 3 keys in total?
or 2 keys in total - the client just uses public key?
If there's 3 keys - then how does the client make a private key?
If there's 2 keys - then how does the server send the client encrypted data? since wouldn't hackers be able to use the public key to decrypt it ๐ค
There are two parties in this: sender and receiver:
- receiver publishes out to the great World Wide Web a public key, that others can use to encrypt messages to send to the receiver; said public key only makes sense when used to encrypt, not decrypt (think of it as a "lock" anyone can use)
- receiver also has a private key counterpart, that will decrypt any message that they receive encrypted with the public key; no one, absolutely no one on the entire face of the Earth has this private key other than receiver (this would be the "key" to open said "lock")
- senders want to send a message to receiver, but they want it to be secret so they encrypt it with the public key and then send the encrypted message to receiver (they "use the lock" on the message so no one else can open it)
- receiver receives the encrypted message and uses the private key to decrypt the message (they "use the key on the lock" to open it and read the message)
Asymmetric encryption
I personally suggest watching these interesting videos explaining, demonstrating and showing the details on RSA specifically:
The RSA Encryption Algorithm (1 of 2: Computing an Example) https://youtu.be/4zahvcJ9glg
The RSA Encryption Algorithm (2 of 2: Generating the Keys) https://youtu.be/oOcTVTpUsPQ
๐ alr, ill take a look :)
so the public key encrypts, and the private key decrypts
but then if the decryptor is private, what if the receiver also wants to send information back to the sender?
does the sender also have its own private & public key? ๐
ah
Yeah the other party would publish a public key and have their own private key as well
nice
This gives a very good explanation
The goal of pretty much any encryption standard is to make something easily encryptable but hard to go back. The video provides an example of a math equation which conveys this.
Usually RSA is paired up with symmetric encryption like AES
To pass the keys, cause you obviously dont wanna fly over to the person you want to send the message to and give them the password irl lol
why not?
True
I wanna go to Argentina some day
imma fly there and just hand you slip of paper lol
how do u know what the port of a server is?
is it the "rcon:port" in server.properties?
or the "query.port"
or the "server-port"
server-port
k thx
Just use it
i'm gonna
oh so kms
college is forcing me to learn python 
i don't want to learn your shitty language, pete
he does python & c# 
most professors know jack shit so
hes telling people to do it in
pseudo code 
because in 7 weeks of a programming class
he has taught no actual programming
bruh in our country I got a friend whos in year 3, all they've done is simple methods you could learn yourself in like 10mins time. They have databases this year so not surprised if they teach jack shit of that as well
they taught databases in a separate class
mysql? no
microsoft access? absolutely
still very basic stuff I'm guessing
kek
Not surprised you failed math so
Nah I mean cause you gay, and you said gays can't do math so
So just you then?
but it's really on two different sides

you either can't do maths at all
or you're fuckin alan turing level smart with maths
cause let's remember that he was gay 
that's generally how it works
no in between

material?
hi guys i made website
please check it out
link is
gud website ples check it out yes

do you like the websit

do u
You might aswell go check out http://192.168.0.1/
and mine http://172.0.0.1/
hm your websit not load
did you hak me
no pleas man dont hak me
please undo the hak
i dont want a be hak
Howโd you find my site ๐คฏ๐คฏ except port 8000
hm it no work

its a server hosted on your pc
a local host
rigt?
wat is a pc sir
try this
but linux not laik dat lol
anyway
do yu guys like my websit?
also ori can yu unhak me pleas i dont want a to be a hack
cd..
cd..
format C
okay sir i will run da commend

what is a svhost.exe
alright im gonna stop being intentionally stupid now lmao
lmfaoo
mission success
I was just dying inside.
the horrible grammar and the fact that i tried to send a localhost to you
and pretending like i didnt know
brain hurt was a success
The fact you're now explaining it to us like we didn't know
is hurting my brain
please..
:V
lmao i dont have a svhost.exe B)
fuck off barry
all my homies hate barry
i dont have a brain 
i do B)
can I borrow it for a sec?
noep
Added an โAllow Server Listingsโ option to opt-out of having your name displayed in server listings
From latest snapshot
Hmmm, i wonder how this will work
yeah. me and gaby are wondering as well
I can imagine
Server list packet gets added a boolean whether or not it contains the player name list
oh, or not? at least nothing in the packet structure changed
odd, as they tend to do that (the boolean thing) a lot
I'm already seeing "fixes" for that in form of packet modifications
hm?
I was referring about the addition of a boolean on the server list packet, and how I think server owners will ask for "fixes" cause they don't want this feature
I would asume this means no more hover for players slot?
that's fucking stupid
if I don't want my nickname to be listed, then so be it
and if the owner/admin does not care about it and wants my nickname to be listed anyway, then they should be napalmed
Im wondering if this is per client or server
that option sounds to be from the client
Yeah thought the same
but it's also listed an option to enable/disable the list as a whole in the server.properties
maybe a system property?
it's not particularly explicit where that is
Probably server properties
is that already doable with packet listeners on 1.17?
It's doable with this already https://papermc.io/javadocs/paper/1.17/org/bukkit/event/server/ServerListPingEvent.html
don't know why the iterator would be immutable tbh lol
oh it's interesting:
- if the server option is enabled (so it hides names) it simply does not populate it (though yeah.. can be manipulated with something like protocollib)
- if the client chooses to opt-out, it just replaces their gameprofile entry with
new GameProfile(Util.NIL_UUID, "Anonymous Player")
Interesting
new GameProfile*
Yeah. Users can opt out from being listed by servers
Theres a button in the options menu
A new one
I wonder how big the optimization for entity collision is
At least this big ๐ค
:))
Imagine if its not that big tho. An optimization that actually makes performance worse
I have just migrated my project from a maven one to a gradle one
Where do I find my plugin.jar file with gradle?
I know with maven it is in target in my project's folder
What about gradle?
./build/lib
maven/gradle?
send build script
https://mf.mattstudios.me/mf/mf-1/setup/gradle Trying to follow this guide on how to use MF but none of what it says on there works
It says I need to add this line here apply plugin: 'com.github.johnrengelman.shadow' but idk where I should add it
allman user :AHH:
plugins {
id 'com.github.johnrengelman.shadow' version '6.1.0'
}
stop
no u
It likes none of that
It is in my plugins {}
plugins {
java
`maven-publish`
id 'com.github.johnrengelman.shadow' version '6.1.0'
}```
kts?
yeah, id("...") version "..."
ah, its kts
Ah alright
What about the shadowJar part
I am getting errors for everything now wat
Should I send my build.gradle
The dev should update that page 
๐คจ
๐คจ
Wa
?
So I can just remove the publishing section
But either way my whole gradle file is giving errors everywhere
ยฏ_(ใ)_/ยฏ
It doesn't recognize compileOnly and implementation
or shadowJar{}
From what I am seeing gradle init is the opposite of perfect ๐
kotlin bad
7.1
hmm
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
i'll try
alr
That hasn't done anything
Ffs I should have just downgraded to Java 15 and stuck to maven
._.
wait
if you reload gradle
does it just say not recognized
only thing i can think of is sending my gradle folder along with gradlew/gradlew.bat
unresolved reference
compile bad D:
and it broke my project it seems
you cant put just shadowJar like that
lol
its not groovy
ooh true
the kotlin dsl is different
I have no idea what the difference is between the two
soo, wtf is this, anyone has an idea?
remove compile
different languages
Yes, switch that compile config with implementation
compileOnly too?
tasks.named<ShadowJar>("shadowJar") {
}
not looking too good
You didnt import the class
You need to import the class too
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
add that to the top
It doesnt give me the option to
of your gradle file
upgrade shadow version
u can't use shadow v6
What version should I use
I'll try invalidating caches/restarting
use this build.gradle.kts
Klyser, gradle is like literally pretty much a language. In fact it is.
um
its better than maven cause its closer to an actual language-like build configuration approach
ehhhhh
Not a language
what
Its still just a build tool
I hope my github doesn't crap itself now that I changed from a maven project to a gradle project
So does maven ๐ฅฒ
Okay invalidating caches/restarting solved it
as long as you configured ur .gitignore correctly it should work :)) || by adding /build/ to it ||
But mf is still not shadowed into my plugin
Well the difference is you can actually write for loops and shit in gradle
idk how to explain that properly
lmao
well
in groovy
and kotlin
someone might be able to make an [REDACTED] dsl for gradle
No
but with that you can't add loops and stuff
What am I missing
use this
I guess the difference could be said as build configuration (maven) vs build scripts (gradle)
Yeah
Alright, dont scream at me later
YUGIIII
๐
Okaay
yml dsl
btw implementation = compile scope, compileOnly = provided scope
What task should I be using to build my plugin, just build?
Okay
gradlew shadowJar
gradle shadowJar
or gradle tab -> shadow -> shadowJar
ยฏ_(ใ)_/ยฏ
yes, maven bad
i assume you were shading the other stuff
Was I
to compileOnly
Now that confuses me
halp pl0x
I'll see what I did in my pom.xml
shade = include in jar
compile scope = shade
default scope in maven = compile/shade
so
i assume u forgot to make it provided scope
anyways i gtg
cya
gl
[22:47:33 ERROR]: [MobMadness] Plugin MobMadness v${project.version} has failed to register events for class com.github.klyser8.mobmadness.game.items.WeaponListener because de/tr7zw/nbtapi/NBTItem does not exist.
ah that too
I guess I need to shade in the NBT library too
yes
idk how to do ${project.version} in kts
Yeah alright
yes
yes, maven bad
So what's the equivalent of v${project.version} then ๐
Maven good
well, I don't know how it's in .kts, but this is how I do it in .gradle
sourceSets {
main {
java {
srcDir 'src/main/java'
}
}
}
processResources {
inputs.property "version", project.version
from(sourceSets.main.resources.srcDirs) {
include 'plugin.yml'
expand 'version': project.version
}
from(sourceSets.main.resources.srcDirs) {
exclude 'plugin.yml'
}
}
that replaces ${version} in plugin.yml with project version
What should I have in my gitignore you recon
https://paste.helpch.at/esewebinez.shell this is what it looks like rn
Just.. those three?
I guess you can add gradle/wrapper or just gradle
nothing else is needed for me at least
What about the .iml, .mdj files etc
as I said, it's up to you what you want to push in the repo
I guess I should also ignore .xml files now
Since I dont want my pom.xml anymore
Also I don't think I want any of those files except for the build.gradle in my repo right
well, you can exclude gradle folder
and gradlew with gradlew.bat.
personally I just leave them
Only one of those things is in the gradle folder
Should I keep my settings.gradle.kts
what's in it
@half harness
Here you go skim https://paste.helpch.at/duhequfele.xml
Man just this took like 20 minutes
lol
20 minutes?!
spare me
what does this mean
eh 10ish
I went to talk to someone inbetween
but yes
๐ฅฒ
Time for monthly renewal of lord simon's prayer
what!
!
Cursed

I think its good, i hate it when people dont do that in libraries i use, from a standpoint of generating docs idk what it will do
the /***/ is javadocs

useless to me 



