#dev-general
1 messages ยท Page 498 of 1
serialize or serialise
depends where you live
Or the day of the week
lol
private static final UUID SPRINTING_SPEED_BOOST_ID = UUID.fromString("662A6B8D-DA3E-4C1C-8813-96EA6097278D");
private static final UUID SOUL_SPEED_BOOST_ID = UUID.fromString("87f46a96-686f-4796-b035-22e16ee9e038");
tf is this lmao
yeah I'm pretty sure cs:go is unplayable
on linux
omg how have I not seen this tho?
I can just select and drag text
this is amazing
that is how you call a constructor, wdym /s
every attribute has a UUID tied to it
can't remember why
I can do that too
I feel like I should be executed for my war crimes
val reference = listOf(1, *IntStream.range(1, binary.length).map { 2.toDouble().pow(it.toDouble()).toInt() }.boxed().collect(Collectors.toList()).toTypedArray())
linux good. well unless I want to play some csgo..
if i3 has it, it's really not that special
I Literally get an average of 5 fps in csgo
what the fuck
I get better FPS in CS:GO on Manjaro than win10 kekw
๐
well I'm on kde neon and it really is bad. ON win 10 it was actually playable and without interruptions or anything like that
val reference = listOf(1, (1.0..binary.length.toDouble()).map { 2.0.pow(it).toInt() }).toTypedArray()
```?
Hey Bardy, it does work though
I swear that works
oh riiight i forgot about that
omg what
impossible
lemme fix
val reference = listOf(1, (1.0..binary.length.toDouble()).asSequence().map { 2.0.pow(it).toInt() }).toTypedArray()
```ez
At least my solution works smh
asSequence doesn't existo
Once again my war crime prevails
oh this isn't an IntRange is it
val reference = listOf(1, (1..binary.length).map { 2.0.pow(it.toDouble()).toInt() }).toTypedArray()
```?
kinda works
[1, [2, 4, 8, 16, 32, 64, 128, 256]]
val reference = listOf(1, *(1 until binary.length).map { 2.0.pow(it.toDouble()).toInt() }.toTypedArray())
``` yeah I fixed it for you
Or me, I suppose
there we go
I kinda liked my attempt
no
It wasn't pretty but it did work
smh
uh ok still haven't figured out what the best way to store player homes in SQLite would be lol... per user tables??
.-.
any suggestions?
that's up to you lol
what about just shifting? Can be even done by using generateSequence...
ideas != always good ones
A table called Homes with 2 colums, UUID and homes is how I'd do it. Though you should do it how you want to, and based on the code above my suggestions are not trustworthy
no need to use doubles and pow
Didn't even know that existed
I mean but lets say I have a column named uuid and another for the home name for ex. if I have 2 homes, 2 rows will have the same uuid nha?
what u prefer
In homes I'd have a base-64 encoded string of player homes that gets pulled into a cache when they join, but that's probably not the best way to do it, as I've said
wait what? now you are just confusing me
lmao
Just go for it, do what you think is right and if something doesn't work, google it
z
seems about right
excuse the bad quality but I don't have sharex on linux
so had to use phone
xD
but that's how many fps I get in csgo
with absolutely everything on lowest
settings
also the sound of the keyboard lmao. its a very old 5$ keyboard
What is binary? I wanna try making it shorter
can you even create as many tables as you want in SQLite without any performance issues?
String
But what string
10011001
generateSequence(1) { it shr 1 }.take(binary.length)
or
(0 until binary.length).map { 1 shl it } with ranges
Seems like fold would work nicely here too
Would it be useful to store data in a temporary var instead of getting and looping everytime in the database when I need it?
My solution: binary.indices.map { 2.0.pow(it).toInt() }
But if you want to use something similar to SirYwell, this would be even shorter without needing the range binary.indices.map { 1 shl it }
Ah didn't know what binary is but that works well to
Oh hello
@old wyvern I just figured out who the next mascot should be. GABE.
also @quiet depot remember that black screen? It turned out to be just the nvidia driver's fault. I got it again and just switched back to the default one xD
I Didn't have to fully reinstall kde 
well this sucks bcz apparently that could improve my fps or just performance in general 
https://paste.helpch.at/izusudatuv.coffeescript now that is what you call configurable translations lol
not actually sure if I need the krypton prefix in there or not for the resource bundle to work properly
shouldn't you be '' the '? 
I'm not even half done yet either
wat
using two single quotes for single quotes
I never worked with property files but I've seen a few do it and idk lol
nah you're right
I set up a crowdin too if anyone's up for doing any translations at some point lol
there will be quite a lot to translate lol
o
atm it only has a few languages that I know I can translate, but if anyone's interested, let me know and I'll add your languages
and yes, as you can see if you clicked the link, there will be LOLCAT translations lol
what languages do you guys speak btw?
just out of curiosity
other than English ofc lol (before one of you says English)
Spanish
I mostly speak Java and Kotlin
I've had a pretty seamless experience with drivers fortunately
even though it took me opening one gh issue for one driver to find the documentation I was looking for
ffs why can't I ever get good answers lol
you got one
oh yeah
I wish I could say I still speak French
is that a motherfuckin brazil reference
lol what
matt:
98% java/kotlin
1% portuguse
1% english
lol
come to brazil
https://paste.helpch.at/efokamelum.xml lol I think this is already too much and I still have more to do
nah he's actually portuguese
oh that is config
no
what
it is translation
same thing
there will be more dw


right, there's a few more now
๐ฎ
COME to BRAZIL
Damn, i'm 24 and I still haven't started coging

coging is the new craze
yea matt
its more of a genz thing
ah
Joke's on you, I am both
See my brain still works to some extent
th java.lang.invoke.WrongMethodTypeException: cannot convert MethodHandle(PathfinderGoalSelector,int,PathfinderGoal)void to (Object,Object)Object?
@gusty glen
what was the result
was methodhandle faster
or was reflection faster
it was emilyy who was testing
the results
lmao
so basically it doesn't matter since both have same performance for invoke
mhm
Though, i wouldnt say methodhandle is "better reflection"
they are each their own purpose
method handles allow composition of reflected methods
but normal reflection is more versitile if you want to make a broader search on the class
Yeah
I think I'll just pretend methodhandles doesn't exist
until I have to use one of them for sure, and when the time comes I'll use lambdametafactory which seems to have a performance closer to direct call
LMF is great for.. well.. instantiating functional interfaces
MH in general is great for (pseudo?) code generation
That you cannot do with reflection
Try static final MethodHandles
Do user defined fille attributes change the hash of a file?
don't think so
MethodHandles should be a lot faster ๐ค
Alrighty, thanks piggy
Hi, I have a problem with the plugin deluxemenus, namely, I would like to order in requirements was something like that takes the item from the inventory and gives something in return
Sir, this is #dev-general
@prisma wave how can I make a function like this
function {
this = "this"
that = "that"
x = 25
}```
:what:
does haskell have builders
kotlin.
absolutely not
oh well you shoulda specified
inline function taking an extension function
why would I ask about haskell smh
So much haskell circlejerk
i dunno, that's BM's favorite lang
inline fun function(blah: BuilderType.() -> Unit) = BuilderType().apply(blah).build()
``` for example
ew
yeah I cant do that, welp
ยธlol
ok
what does reified mean for a generic?
the type of the generic can be used at runtime
ic
inline fun <reified T> blah() {
println(T::class.java)
}
blah<String>()
so I have a class from a lib that has a builder but I can't use this and do property = value but instead I have to use setProperty(value). Would be possible to create my own builder like function for that?
return Option.builder("p")
.longOpt("page")
.argName("page")
.type(Int::class.java)
.desc(description)
.build()```
This is how the builder looks
it would
you could just add an extension property
var BuilderType.property
set(value) = setProperty(value)
get() = // whatever
option("p") {
longOpt("page")
argName("page")
type<Int>()
desc(description)
}
Yw
https://paste.helpch.at/hunoseyuse.xml I wonder if this is too much
that is hideous
I'm considering dropping the networking ones, since having to look up translations for those could slow it down
what's so wrong about it?
you're meant to use properties files for localisation
because I want them to print separately
as separate logging lines
if I use \n, I get a message that doesn't have the logger prefixes for the subsequent lines
then print them as separate lines?
that's a shout
just split by \n
you smart
right, fixed that now
what do you think about my thoughts on the networking ones?
https://paste.helpch.at/kudajixane.coffeescript this is the new properties file btw
maybe emphasise the security implications of krypton.bungee.no-direct a little more?
nah there's not much more I can really say there
think of it like this
how many newbie server admins see the old "if you wish to use ip forwarding, please enable it in your bungeecord config as well" and dismiss it as nothing without realising that it's literally a uuid spoof waiting to happen
I put a warning up in the console to warn users that someone attempted to connect directly when BungeeCord mode is enabled
same problem there
true
but... type erasure
how does it bypass that
It doesnt
reified only works for inline functions
Its handled at compile time
it also doesnt work if used on a "generic" that isnt available as reified
You need to know the class at compile time to use reified
yeah like yugi said, because it only works with inline functions it compiles to something like println(String::class.java)
what are inline functions ๐ฉ
You dont use kotlin?
i do
functions that are inlined at compile time
but im confused what they are
you don't actually call them
The place where you call them in your code is replaced with the content of the function
can u give example?
forEach
fun main() {
sayHello()
}
inline fun sayHello() {
println("Hello World")
}
would be converted to the equivalent of
fun main() {
println("Hello World")
}
๐ฎ
Its ussually only useful when working with higher order functions
To reduce the overhead
ic
dependsOn is supposed to block till the other task completes right?
dependsOn declares the dependencies of a task
which means when you run the task, the tasks it depends on are run first
At what point can I expect that other task to be complete?
hmm
Ok so say I have shadowJar of my moduleA depending on jar of moduleB, is it a good assumption to think jar's output will be present before something I handle is shadowJar's finalizedBy? I thought this would be the case, but it doesnt seem to generate the output jar of moduleB
@quiet depot any idea about how I can resolve this?
are you os

Yes
link
what's module a and b
piggy, can my subreddit and helpchat work together
no
slimjar is A
slimjar-external is B
I havent added the task to it yet
i have it on local
but the idea is
it compiles B, copies it as resource for A (with a diff extension so it doesnt get extracted), and them compiles A
no
so as a file
or the jar is literally in the other jar
he means bacon
odin please stop
slimjar-external.isolated-jar to be specific
?
yes
push ur gradle updates pls
I think it'd only work if slimjar-external:jar was actually meant to run
like depending on it is one step
actually calling it is the second step
Like manually invoking it in the commandline?
ah
I mean this seems to work on the second shadowjar run
but
that just feels a bit inconsistent
how are you building the project?
on clean shadowjar, it doesnt find the jar as its generated even after this runs
:slimjar:shadowJar
try this
tasks.register('copyExternal') {
it.dependsOn(':slimjar-external:jar')
final File externalJar = project(':slimjar-external').getTasks().getByName("jar").outputs.files.singleFile
println(externalJar)
println(externalJar.exists())
if (!externalJar.exists()) return
final File resourceModule = layout.buildDirectory.file("resources/main/slimjar-external.isolated-jar").get().asFile
resourceModule.getParentFile().mkdirs()
if (resourceModule.exists()) {
resourceModule.delete()
}
Files.copy(externalJar.toPath(), resourceModule.toPath())
doLast {
shadowJar
}
}```
alrighty, testing
and remove ur shadowjar task
and run copyExternal
so call copyexternal directly
if that doLast doesn't work just get rid of it and run shadowJar at the end
files.copy
shadowjar
}
shadowJar
all of what
The copying
okie
tasks.register('copyExternal') {
it.dependsOn(':slimjar-external:jar')
it.doLast {
final File externalJar = project(':slimjar-external').getTasks().getByName("jar").outputs.files.singleFile
println(externalJar)
println(externalJar.exists())
if (!externalJar.exists()) return
final File resourceModule = layout.buildDirectory.file("resources/main/slimjar-external.isolated-jar").get().asFile
resourceModule.getParentFile().mkdirs()
if (resourceModule.exists()) {
resourceModule.delete()
}
Files.copy(externalJar.toPath(), resourceModule.toPath())
}
}
it seems to copy even on shadowJar
u know gradle/groovy has nicer shit to copy
That flattens it
wym
you mean the from into right?
yes
copy?
alright, let me try that
piggy can i ask a quick question about gradle
You should definitely extend the Copy task
yes odin but how hasn't previous conversation hasn't demonstrated my lack of knowledge with gradle
lol
oof
i mean, i just wanted to know can i move a jar from my build/libs into the plugins and use a plugin to autoload it or some shit?
wym autoload it
i tried following all the tutorials to debug the plugins but they don't work
piggy, can copy copy to a renamed jar?
no clue
oh ok
yes.
and what went wrong
it didn't work
did you read the text or just look at a couple of images
Odin you trying to hotswap or what?
I'm a visual learner
I think that's what its called
Did you install dcevm
???
dce virtual machine?
i think you've identified the source of the problem
I'm sorry
so i obviously can't do it then?
well you can still setup a server in ij and have gradle export ur plugin to it
you just can't use dcevm
Ah yes the less nice hotswap ๐
Indeed
(or just use java 11)
I mean.... Why don't they support Java 16?
Isn't Java 16 better?
it's newer
because it's maintained by like one guy, who's probably busy with other shit, and who doesn't think a non-lts version is worthy of his time
and you can have more than 1 jdk installed too
it'll probably be updated for java 17
Can I install java 11 and java 16?
I didn't know that
i just said you can
but i just said it's possible?
I thought it would only support 1 ver
got it piggy
copy {
from project(':slimjar-external').getTasks().getByName("jar").outputs.files.singleFile
into layout.buildDirectory.file("resources/main/")
include('*.jar')
rename ('(.*)-(.*)-.*.jar', '$1-$2.isolated-jar')
}
Thanks
you have to sign up to install it now??
oracle
that's the only place to get it from no?
even oracle doesnt need to signup
I'm following it step by step
evidently not because somehow you ended up downloading from oracle
how did you get the tree command? It no longer exists
what guide are you following...
p
oh
use the one piggy sent
Okie
it says it only supports Java 11 but there's no place to install Java 11 officially you have to sign up to oracle now to get it? wtf?
lol
oh my god
?
but you need to install Java 11..
...
"As of right now, DCEVM only supports java 8 & java 11"
I have Java 16.
stop
the problem is you're using your intuition
don't do that
just blindly follow the guide
well i think i got it sorted but idk
how?
good
what about it
I don't have that
have you read the text on the guide
yes
which text
I mean it says you can add them manually but I'm worried if it's not picking them up did i do something wrong
no
just add it manually
like the guide says to
and stop worrying
I told you to stop thinking
just follow the guide blindly
oh so that detected thing was moved in new IJ
What has moved there?
the setting
That isnt for detected sdks
Thats to change your jdk homepath like the label suggests
Its not on windows I think
it is, I'm on windows and I ust found it
Found what my guy?
it doesn't matter lol
just keep following the guide
didnt you say you're on a comically outdated version
ss of your detected sdks please
2 secs
sure
add haskell sdk ๐คค
weird
Error opening zip file or JAR manifest missing : C:\Program\Files\Java\dcevm-11.0.11+1\lib\hotswap\hotswap-agent.jar weird ๐ค (yes that's the right directory)
no it's not
I just checked tho?
C:\Program\ Files, not C:\Program\Files
oh for real?
yes
oh ty I got a new error now
Error occurred during initialization of VM
agent library failed to init: instrument
did you install java 11 or 8?
oh yeah i need to install java 11 don't i
8 or 11 works
i still had 16 my bad
?
well when i type java --version in cmd it says 16.
that doesn't answer my question
in the windows install section
did you download dcevm 8 or 11
11
๐
ok
so then why did you follow the usage instructions for java 8
see
clearly labelled 8 and 11
show me your run configuration
why is the path to jar set to your plugin j9ar
isn't that what it means?
read the guide
it says hotswapdemo-all.jar
time to set up hotswap on sublime text 4 hon hon
there is a very explicit link on how to setup the run configuration for minecraft
i mean it's running something
ok so, one last issue i have is it's not loading the plugin onto the server?
am i supposed to put a pre-built jar into the plugins first or?
https://github.com/Conclure/NamedNonamer started a new discord bot project, feel free to give criticism ๐
it seems quite... botish.
urite
looks to see if you accidently leaked the token
not using my lib, 0/10 /s
World Record PR?
wdym
I made a PR within like 2 minutes of him posting
yes
but you shouldn't leave that there tho
yo piggy you here? I got one last question, do i need to build a jar of the plugin put that in the plugins folder within the server in the project and then debug or does it do it automatically?
you'd need to configure gradle to do it
there's a link on the guide to another guide on how to do it
ok ty so gradle does that automatically as well?
if you configure it to
ah got it ty
then u add shadowJar.dependsOn taskNameHere
ยธdisgusting
(.[0-9]+, [0-9]+.) ๐
(.\d+, \d+.) ๐ฅฐ
i love regex
it does my job for me
I can go through a whole file removing what's needed with just (.[0-9]+, [0-9]+.+)
yes but 0-9 does the same as \d fyi
um, I just found out something cool.
you can use \n in replace to add news line in intellij
yup
when you think you found something new but no, its known already.
I mean I never use regex to replace stuff in intellij so thanks for enlightening me about it
did you not know it was possible or?
just forgot about it
hmm, any ideas/improvements for https://github.com/dkim19375/dkim19375JDAUtils ?
I've already added some sort of config system with triumphconfig btw, just didn't commit the change yet
alan turing ๐ https://www.youtube.com/watch?v=HeQX2HjkcNo
Not everything that is true can be proven. This discovery transformed infinity, changed the course of a world war and led to the modern computer. This video is sponsored by Brilliant. The first 200 people to sign up via https://brilliant.org/veritasium get 20% off a yearly subscription.
Special thanks to Prof. Asaf Karagila for consultation on...
send all the tokens to me?
?
You're using Kotlin and you're using threads instead of coroutines 
Learn it
dkim smh
what are you doing with your life
also why do you duplicate your name in your packages
lol
i'd probably refactor it to jdacore or smth ๐
before it just used to be java util classes
lol
https://paste.lucyy.me/abudajokej#kotlin trying to decide if this is a sin or if it's actually good
Lucy's Pretty Pastebin
yeah I thought I'd use it since HC's one is just pure haste which sucks at both syntax highlighting and figuring out languages from files
HC paste doesn't support kotlin ๐ญ
where did you get this theming and this syntax highlighting from btw?
theme is my own
yeah I thought that might be it
highlighting is prismjs + prism live
but no way you wrote the parsers yourself
lol no
yeah I didn't think so lol
https://squirtgun.docs.lucyy.me/en/latest/ do you reckon this makes any sense?
I mean, you're using 8 spaces for indentation in the examples so...
apart from that, lgtm
oops
using 8 spaces indentation = executed for war crimes
nah they're fine
I read some articles after we had that debate a week or two ago in your Discord and it kinda said that the tabs vs spaces argument is just a bunch of BS anyway
using 8 spaces for indentation though will get you executed though ๐
Why does that doc software only use half the page?
https://paste.lucyy.me/abudajokej#kotlin I designed most of this around LuckPerms' Message btw, just made the objects to allow me to get messages in the same dot notation used in the keys
Lucy's Pretty Pastebin
ยฏ_(ใ)_/ยฏ
Imagine having to encrypt package names in strings to survive relocations ๐ฅฒ
or just do what Luck does and do "com{}google{}guava".replace("{}", ".") @old wyvern
iirc you can also build a string from a byte array
yeah you can
oh true ๐คฆโโ๏ธ
neither of these solutions mean you can declare these as compile-time constants though ๐ญ
wait for kotlin
if i want to run code that will block, do I use launch {}? so that it won't block the thread
bbg up for coding review?
oh god
but ye
Bardy
lol
won't that block the thread?
what i mean, like rn i have ```kt
thread {
val scanner = blah
etc etc it blocks the thread
}
what would i replace that with?
oh he edited it afterwards
uh
use GlobalScope.launch to launch a new coroutine
Dont use globalscope
๐ฅฒ
what are scopes for?
GlobalScope.launch(Dispatchers.IO)
```is fine Yugi
The scope matters bard
awuygdjshd
GlobalScope is for tasks that might run indefinitely through the lifetime of an application
the contexts are combined anyway, and the default context for GlobalScope is EmptyCoroutineContext
You can use your own scope to handle how it manages exceptions and such
so you end up running with the context Dispatchers.IO anyway
what is coroutineScope {} ?
otherwise all tasks in that scope get cancelled
im just reading https://kotlinlang.org/docs/coroutines-basics.html#scope-builder
clicks the link to the FUCKING DOCUMENTATION LITERALLY 4 LINES DOWN
wat
literally click the link to the documentation
click where it says coroutineScope dkim
then read
oh thats a hyperlink
๐คฆโโ๏ธ
Yo @boreal needle your pretty paste makes it very hard to read, the pinkish doesn't fit well with the background color
is that the offwhite
i have taken it out of some places where i used that scheme
ill do it now actually
Yeah this, from Bardy's link
yeah that one
dark reader ๐
i originally designed the scheme for a blue background and it worked quite well
Design it for Atom one dark ๐
wheres the fun in that
Also @half harness println for logging 
what lib should i use?
JDA already provides that
The same way you use Bukkit's logger, it's the same thing
Don't tell me you use println with Bukkit as well
https://github.com/dkim19375/Bedwars see for yourself ๐
but println is convenient
which is why i made a function to log
top level function its called iirc
At least you're not using it there, but also, wtf Dkim, you're always calling getPlugin on every single log

should i store the variable? i dont want to DI every time i want to print ._.
Yes?
I'm trying to write a discord bot what will help find bugs before people complain to me about them 
It's usually one of those small things
End users are the best bug hunters
They'll find bugs in the weirdest fucking places
no i mean, it's mainly down to people not reading what the messages say
why do u have log and logMsg
Why not use DI?
^
one is extension function
like "Please have two block locations for the mine"
then just use the extension function one?
ยฏ_(ใ)_/ยฏ
Its like youโre advocating anti patterns
having 2 of the same function here is just confusing
๐ฉ
Probably a dumb question but how can I have it so I can store a list of errors and alongside that the fix? like
"Couldn't find two corners" : "Do this to fix it" ?
data class Problem(val error: String, val solution: String)?
is that only for Kotlin?
write a similar POJO if in java?
records ๐ฅฐ

thought you were using kotlin, but I would assume you know how to do this in java
interoperability
...
why
is it os?
I have absolutely no idea
I think it's fake I can't find it
That can't possibly be real lmao
It's not
amogus
I can't find it anywhere so It's fake
thats not how that works...
one person can make something, doesn't mean its fake
ig that might just be a theme with a self-written neofetch
It's just https://linuxmint.com/ rethemed
Linux Mint is an elegant, easy to use, up to date and comfortable GNU/Linux desktop distribution.
it could just be ubuntu or debian re-themed aswell
yea the mint-x-theme from the image seems to be a gnome theme (https://www.gnome-look.org/p/1102853/)
so could I in theory take a shop that is already in place.....take it's menu and add onto it and change it however I'd like?
Ayy, none of the tests broke this time
Cause I'd like to have a central /shop command that allows you to see everything on the server...including the spawnershop and minion shop and all that under one command
Im not sure I understand what you're asking
What exactly do you want to do?
add items onto a GUI?
is this code related?
Well there's a plugin called auto tune...and it's got it's own shop gui menu but I'd like to have that kinda "wrapped" inside another menu plugin that allows me to make that a submenu on a greater menu that has other shops
As in with your own plugin?
no, as just I'm looking for a plugin that allows me to take existing menus and parents them in such a way where they are all available with one greater gui menu...
idk how to word this
lol
Then like previously stated, you'd have better luck asking those channels
.
Hello
HI TRUMP
Mhm
how are you my favourite president
Me too. I was worried after not greeting my fellow citizens
Oh of course, that sounds terrible
bm
yo
If a classloader returns a class other than the one asked, is there any check performed for verify that?
o good question
idk
maybe not explicitly, but it would probably cause problems with method invocations and things
I should probably provide more context, I seem to be getting a very weird stack trace, had to manually print it out because cant use debugger with this part but heres the general issue.
I have a isolated classloader with non-relocated counterparts of a few relocated classes, so I have a classloader that returns the relocated class's reference if the class asks for the non-relocated version
Ignoring the sysout calls, this is what I have for loading
https://paste.helpch.at/sipekuyoqa.cs
It seems to print "Found"
but then throws a classdefnotfound
Specifically, im not sure how it ends up calling the parent method after returning control already
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at my.random.app.injector.loader.MappableInjectableClassLoader.loadClass(MappableInjectableClassLoader.java:27)
aaaaa how do i do this - i got the groupid on maven central, but im stuck on the signing part
Iโm making 2 plugins.
CasinoPlus
Games
- 3 kinds of poker
- Blackjack
- Slots
- War
- Roulette
Features
1.Placeholder Api
2.Partyโs
3.Custom Games
MinigamePlus
Games
1.Spleef/Splegg
2.Parkour
3.King of the hill
4.Kit-PvP
5. Custom events
Features
- Party invites
- Rule customization
3.GUI
4.AI
Please give me some suggestions on the name and some features. Direct message me them or I wonโt see them
lol
matt
๐ฅฒ
plz help me
No
Because i have never published to central from gradle with success
They were maven
Yugi did u solve the thing ?
What thing conc?
This
Nope
Im not sure if thats a possible solution anymore, jvm witchcraft is at hand.
Looking for other options
Hmm yeah
I always had an issue where artifacts would be staged but not published, and I had to manually publish them
It's not exactly easier just wouldn't work for me, i am sure if i tried now i could do it better, but back then i had no idea how to use gradle
Maybe abuse the gradle plugin a bit more to have it perform the relocations

conclusion: maven good?
Nay
where do i get the key id, password, and ring file??
No, the correct conclusion is "Prolog good"
prolog ๐ ๐
You ask before opening
right as i got pinged at the same time in #dev-general and #development ๐ฅฒ
i didn't open it when i asked
i didn't google it
๐
That's what i am saying, you ask before googling 
https://paste.helpch.at/ugaqogaqat.js not sure if I should be executed for this or not

What the actual fuck is that Bardy?
I've based it off of Luck's Message from LP
it's for translations Matt
I might just stop using Adventure's translation system for this and use the resource bundle stuff tbh
since using components here isn't really what we want
Itโs good Matt?
https://github.com/lucko/LuckPerms/blob/master/common/src/main/java/me/lucko/luckperms/common/locale/Message.java here's what I totally didn't completely steal from
I doubt he was the one to invent it
wtf
Itโs a fine approach imo
4110 lines Jesus
Demonic
got a better idea btw?
Lmao
Rewrite that properly?
Be more concrete rather than just saying itโs a complete mess. What is a mess? How can you make it less messy then?
I mean sure it arguably is messy but everything has pros and cons
You seem to retain a lot of the weird parts. Havent read through it, but the multi arg functional interfaces are probably not the way to go
I am thinking that maybe it's not such a good idea to use components here
Id suggest reading through and organizing this a bit more
since that's not actually what we need
what do you guys think btw? should I replace components with just strings here?
I like strings
uh should i use maven plugin or maven-publish?
maven-publish
Given that their special syntax addition I guess it could be a reasonable change bbg
So yeah less verbose
Just copy paste the one I sent earlier and modify it dkim
You'll pretty much have the same
ok
uhh im getting like a million warnings
lol
what do i put here https://github.com/SlimJar/slimjar/blob/master/slimjar/build.gradle#L66 ?
just added the latest translation file to Crowdin btw if anyone is bored and wants to translate some stuff https://crowdin.com/project/krypton
if you speak a language not listed btw, lmk and I'll add it lol
i speak Shakespearean english ๐
yeah that, pirate english and LOLCAT are for the memes lol
ya i found it now
so i put that
but how do i publish to mvn central?
i also changed all the values and stuff
change the property names to what you like, then create a gradle.properties file in your project root (make sure to add this to your .gitignore) and provide the repository credentials there with the properties you used earlier
That should be it, you can just run gradlew publish to publish then
i also just realized i dont have a license
Remove whatever you dont want
i did that, but it's not showing up โน๏ธ
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
oh wait
uhh
You need to configure your signing
Im not using central
oh
๐
lol
uh
i have ```gradle
signing {
useGpgCmd()
sign configurations.archives
}
i have no idea what to do
Execution failed for task ':signMavenPublishPublication'.
> A problem occurred starting process 'command 'gpg''
๐ฉ
๐ฆ
๐ฅฒ
๐ญ
absolutely hideous
remove the / before bull and shit
oh
thx
Execution failed for task ':signMavenPublishPublication'.
> Unable to read secret key from file: key.gpg (it may not be a PGP secret key ring)
``` D:
This video is giving me anxiety
It splashed into the motherboard 



