#dev-general
1 messages · Page 575 of 1
Does Scottish same as British?
no
Kind of
no
Kind of?
they would say absolutely not
Why they talk like same accent
Scottish = Scotland origin, British = England origin
and you should also be saying absolutely fucking not as well smh
They really don't
Is Wessex a British or a county?
what
I am confused
I mean, Scotland does come under the Britain umbrella though
good
There is County & Country
Exactly
but England and Scotland are definitely not the same lol
What is county?
So officially Scotland is part of Britain but people usually associate British = English
Country = England, Scotland, Wales, France, Spain, ect, A county is a place in a country

Ouh like a state?
Sus Sex
Yes but smaller
kind of, just without as much freedom
same?
Heh?
lol
middle sex
when the sex is sus 
Is British can get mad easily?
🥲
people from the united kingdom as a whole can get very angy
ABSOLUTELY NOT NOW STFU
The British are born mad
Like... I watch some vid... they just smack people when they angry
yep
OMGG the bug is back boyss. we're going to make some art https://i.imgur.com/rxebnOf.png
POG
and its gone... fuck
Jess
Sad
Microsoft finally integrating paint into the wallpaper
Hmm I wonder what happened if I married with british people
lmao. yes
smh blitz
Will they always angry to their wife?
yes
why did you take down 2 of my 3 showcases sir?
they were high quality stuff
Are you serious?
British people are just angry football (soccer) fans that get drunk all the time
low effort posting bad
lucky I left one lol
Specially after a football match apparently
¯_(ツ)_/¯
Hello
they also apparently get very angry at POC aswell for whatever reason
Hmm then... do british love to cheat their wife?
🥴
which embarrassing actually
also how is this in dev general
Yes
how isnt it?
lol
As a British man without a wife I can confidently say yes
we're mostly all developers, sounds like a place for developers to talk about general subjects
because dev general is more like off topic a mere most of the time lol
Look like we were in a cafe talking
offtopic-2
@pallid gale dev general is the off topic for developers.. smh
lol
does anyone here like developing
Me
nooooo
no
no i fucking hate it it needs to die in a hole
god no
Not configuration help!
I love to developing someone to make him better
ok me too
I need help
There is no time to wait! Ask your question @obtuse gale!
There an help
I can't help you anymore
I need help
There is no time to wait! Ask your question @prisma wave!
what the
There is no time to wait! Ask your question @obtuse gale!
Lmao
I have a question
There is no time to wait! Ask your question @prisma wave!
this is a nice bot
you're a nice bot
people from the UK are British
the UK includes the 4 countries of England, Wales, Scotland and Northern Ireland
while Great Britain only describes the countries that reside upon the main island, so England, Wales and Scotland (excludes Northern Ireland)
theres a good video on it that explain it well here https://www.youtube.com/watch?v=rNu8XDBSn10
New to the channel? Start here: https://www.youtube.com/playlist?list=PLqs5ohhass_STBfubAdle9dsyWrqu6G6r
Help support videos like this: https://www.patreon.com/cgpgrey
Well... here we are... can't even chat in #883337949847121920
@pallid gale Why I can't chat there?
did you leave the thread maybe?
No?
do you see a join button when you click on the thread?
or do you even see the thread?
@steel heart Wdym about illegal dependency?
Yes!
Less goo!!!!
Get jamming
omg. sublime text 4's git integration is so fucking great.
hm nvm

ill just shade it and act like its my own classes UwU
lmao
blitz whos ur partner
no one
idk how much work I'll get done xD
so don't want to bother anyone
by acting like I will take part of the event and do absolutely nothing
oh fair
tho its 2 weeks so maybe one of these days I'll just get bored and do a couple small things
ye
@obtuse gale ^^
we can't actively force the thread to live forever? 
lmaooo
try restarting
xD
hahahaha
:))))))
cube made it 6 hours
at one point
and you talke
d
and then he changed it
and you're stuck with that
try restarting
maybe the cache will update
also. try leaving and rejoining the thread.
maybe discord is even dumber
and didn't think about that one
i tried

AMAZING
no
o?
@prisma wave
🥲
☹️
xD
then it turns out you also have covid?
@prisma wave
My experience from england: Had a really nice burger on a local place close to the windsor castle, however the breakfast i had at the hotel was the worse i've ever had, the scrambled eggs legit had no taste, and .. beans? wtf england
Innit
Sugar
wth
are u saying u dislike english breakfast
actually english breakfast doesnt have a scrambled egg, but yea
Was saying i disliked the breakfast i had, wasn't really an english one, was a mix of bunch
Wtf is wrong with beans
Beans are great, just not for breakfast
beans have to be done right for them to be good tho imo
stay away from me
wtf is that shit
What the actually BZZ is that?!
that looks like someone puked on a plate
bri'ish food
james food*
ja'es food
lol
Love that place.
Yeah it has become much better
null.equals(object) is way better
((Object) null).equals(obj)
Reminds me of my suggestion yesterday setPlaceholders((Player) null, "placeholder") 🤡
indeed
new Void();
that lasted long
(new Object(null)).equals((Object)obj))
🥰
void* gang
DeluxeCommands isn't open source right?
yeah
only 1 plugin of clip's is os
and that is bcz a few said they'll rewrite and never finished
talking about ezblocks btw
xD
wait. kinda forgot about PAPI
but that's another story
Wait what the hell
wherever he goes i follow
yes
Yooo. Anyone got any idea on how to customize the file explorer from PopOS?
I want:
- To add a new folder on the right explore bar
- To change the icon of a folder/directory
been looking into the options and there's very little customization
from what I can see at least.
Welp. found out how to put a folder on the side bar. only problem is that it is at the top. but will have to live with that I guess
im trying to implement gson into my bw plugin but its not being nice to me 😩
but im too far to go back
yes. bcz gson. is not the way
@half harness moshi is what you should use
moshi?
yes.
its made by the gson developers. but without google
I think
anyways. it is better
its kotlin friendly and stuff
smaller in size
o
default values for fields
u should take a break dkim.
I just started-
wat
I've changed my OS but I may have forgotten to make a backup of my ssh keys. need to double check.
👀
uhh if I'm doing GsonBuilder#registerTypeAdapter(World.class, new WorldAdapter()) will this work? since World is an interface
¯_(ツ)_/¯
but its looking at some nms code
Caused by: java.lang.IllegalArgumentException: class net.minecraft.server.v1_8_R3.OpListEntry declares multiple JSON fields named a
ah. 600 for the key and 700 for the .ssh directory.
and idk what OpListEntry is
u in kotlin?
World::class.java then I think?
yes
i just converted it to java
it compiles and stuff
but gson doesn't use the type adapters
I've already made adapters for both Location and World
make sure you didn't import the nms world or something instead.
im using spigot api :))
this is the exact class
im trying to serialize
https://github.com/dkim19375/DkimCore/blob/master/src/main/kotlin/me/dkim19375/dkimcore/file/JsonFile.kt#L43-L49 and this is the code to create the Gson
registerHierarchyTypeAdapter or something
ye, i found it out the moment you pinged me 👀
registerTypeAdapter is for the direct class (in this case, craftworld), hierarchy for superclasses too
I literally just read https://stackoverflow.com/a/28993838 xD
alr
ty :)
hopefully it'll work now 😄
https://i.imgur.com/vA24c6o.png what does this mean?
https://app.codacy.com/gh/dkim19375/Bedwars/commit?cid=584746319&bid=23251400& this is the exact commit if the text is too small
in the image
its just saying you are repeating the same string many times
and that you should assign it to a variable
and use that variable instead
I love how it's like "this one line" and does not show ANY context
Yeah lol
this is literally a one liner (i forgot what its called).. I'm only using it once
;-;
and i dont think this: ```kt
fun getStringIdk(data: GameData): String = "editing.${data.world.name}"
the first one ill have to look at the code since it only shows 1 line ._.
uh
the first one doesn't exist
..
I don't know if my eyes are deceiving me but now there's two lines of the same thing
lol
which is not in this class
https://i.imgur.com/Hx1kwZh.png in fact it's not even in this project?
oh
those were fixed issues
🤦
old commit?
i just saw the word "issues" ._.
lmao
💀
what exactly does sourceCompatibility in gradle config do
good one IJ xD
what's a string
so, ex. if I use Java 16 for project SDK
and I set source and target to 8 in gradle
is it even possible and if so what does it do
wtf is going on?
what build tool?
wdym?
uhh
gradle?
mentioned it here, tho went up
to set project sdk you press ctrl + shift + alt + s
yeah, I know
just asking the difference between the two
the one in settings and gradle config for target/source compatibility
does it like, allow me to use Java 16 shit in the project and it generates classes/bytecode for supplied version?
oh. wonder where I've seen that
u wont be able to use java 16 features if ur going to downgrade the java version, even with these compatibility settings
so, what would be the ideal situation to use it?
you need jabel!
because right now I just set it to the project sdk java ver
to use the compatibility settings?
¯_(ツ)_/¯
so. @half harness u bored yet? xD
finally made automatic copy of the plugin jar in local to remote
I'm a happy text typer now
😩
I'm waiting then
btw anyone know a nice yml config library like TriumphConfig that lets you do something like this: (i forgot exact code)```java
public class Settings implements SettingsHolder {
@Comment("If the plugin should be enabled")
@Path("enabled")
public static final Property<Boolean> ENABLED = Property.create(true);
}
get(Settings.ENABLED)
*but* also makes it so that you don't have to do this if you want a custom property type: java
public class SettingsClass {
private String uuid; // example, idk if triumphconfig supports uuid serialization already
public UUID getUUID() {
return UUID.fromString(uuid);
}
}
or even worse in kotlin: kt
data class SettingsClass(var uuid: String = UUID.random().toString()) {
fun getUUIDVariable(): /* kotlin disallows getUUID method */ UUID {
return UUID.fromString(uuid) ?: throw IllegalStateException("what")
}
}
or does triumphconfig support custom serialization
it needs docs 🥺
can spigot library do it?
well
a lot of ppl here don't like spigot yaml lib and it also doesn't support saving comments or property thingies
¯_(ツ)_/¯
rn im using spigot library
but i made the change to gson for data storing
and now idk what to do
and so i thought of changing config too 🙂
🥲
ok i understand 🙂
lol
plus english nubs don't know "wtf" 

Fixed! Everything besides that good?
man, multiplatform Kotlin is actually kinda cool, I just started converting my NBT library over to use multiplatform Kotlin (using Okio for multiplatform IO) because why not, and it's actually quite nice
what is multiplatform kotlin 👀
same
What is Okio
multiplatform Kotlin is where you can write libraries for all 3 of Kotlin's platforms
because Kotlin supports JVM, JS, and native compilation
and you need to write a library for all three of those?
Thats... intresting
Oh is there a kotlin to lua compiler out there?
I really wanna be able to write in kotlin for roblox games lol
you can, you don't need to
Ik there are js to lua compilers, but idk if that would work well
but I'm considering porting Krypton over to Kotlin multiplatform so I could potentially write a client in JS or native or something in the future if I wanted to
and I'm porting the NBT over to multiplatform because I can lol
MC server in JS lmao
There's already one
I can have the server use Kotlin/JVM and have a client use Kotlin/JS
or use Kotlin/Native
with multiplatform Kotlin
though whether I actually will port Krypton or not is another story
why? you can use the stuff native to a platform on its component
for example, you can have a jsMain with your JS stuff and use JS native stuff
and a jvmMain with your JVM stuff and use Java native stuff
Okio, the library I now use for IO, uses multiplatform Kotlin, and it's one of the fastest and most optimised IO libraries there is for Java and Kotlin
and what I could do for Krypton as well is define common expect interfaces like Component and then have the actual interface be a typealias of Adventure's Component on the JVM, or another impl on JS, or another on native
so you can do stuff like this, for example: ```kotlin
public expect interface TextComponent : BuildableComponent<TextComponent, TextComponent.Builder>, ScopedComponent<TextComponent> {
public fun content(): String
public fun content(content: String): TextComponent
}
and then have the actual interface be a typealias on the JVM, like so: kotlin
public actual typealias TextComponent = net.kyori.adventure.text.Component
Don't forget IOS, Android
And objective C apparently
and those, yeah
iOS is native
and so is objective C
so saying "it supports native compilation" covers those
I think a multiplatform Krypton might actually be kinda cool
or, well, a multiplatform Krypton API, the server will still be Kotlin/JVM
btw anyone know what i should add to https://github.com/dkim19375/Bedwars? :))
Dkim the Jam already started
ive got no creativity ☹️
plus ive got school 😩
btw matt
i have a couple questions about triumphconfig
so if I make a bean or whatever its called, if I do ```kt
class Test(var enabled: Boolean = true)
object Settings : SettingsHolder {
@Path("test")
val TEST: Property<Map<String, Test>> = Property.create(Test::class.java, mapOf("default" to Test()))
}
and the config.yml is empty, the config will update to yml
test:
default:
enabled: true
Yeah
is there a way to make it like something-enabled? since if this was in java, fields cannot have - in them
and also, what happens if the config is like yml test: default: enabled: "a" ? will it error? or just convert to enabled: true?
data class Test(
@Name("something-enabled")
var enabled: Boolen = true,
)
ooh 👀
what about this?
It'll be false
I mean that isn't default it's an invalid value therefore false
what would happen if the code was ```kt
class Test(var text: String = "a")
object Settings : SettingsHolder {
@Path("test")
val TEST: Property<Map<String, Test>> = Property.create(Test::class.java, mapOf("default" to Test()))
}
and the config was yml
test:
default:
text: true
A string with value "true"
man, imagine not using Configurate
smh
configurate is the best JVM config library that I have found in a while
👀
it supports object mapping and a tree based API
like in configurate, you could do this
What config formats?
a lot
@ConfigSerializable
data class Test(val text: String = "a")
yaml, json, hocon, etc
JSON (Gson and Jackson), Hocon, YAML, and XML
and it's open to support more
Sick
it's maintained by Sponge
Oooh
we use it in Krypton because it's so fucking amazing lol
and it has Kotlin extras too so it can object map data classes properly
'we' who are you kidding? :p
@half harness thoughts on C++?
you know Krypton isn't actually a one man team btw right?
uhh i haven't tried c++ before
It basically is
c# 😌
I've seen the commits
yeah it basically is, but not quite
Unity?!
BTW @oak raft why's you join my server lol
yes
And how did you find it
👀
I clicked your name and saw your about me...
Ah fair
lol
lol
It's easy to find ig
I won't take the credit away from my man DerEchteJan for spending his time adding loads of commands, the whitelist, the OPs, the user and IP ban lists, and a few more things like entity selector parsing
Ooh sick
whos gonna make the /execute command 🥲
I'll do it if you learn C++ 
You didn't believe the vanity, did ya?
:p
I really didn't 
I'm just cracked
what r u planning to use c++ for 👀
Unreal engine
Learn Go
oh
Go is sick
Plus I feel like it's nice to know
i didn't want to learn c++ just for unreal engine 🥲
What can I do with Go
but
Very very interesting
It's actually really nice though
Would you say it's worth dropping C++
I plan to build future web APIs in it
Idk lol
Since I'm trying to learn languages that are general use atm
Speaking of picking up
I heard that if you learn C++ you can pick up any other language ez pz
Thoughts?
well
i think the same goes with java
but iirc c++ is more "low-level" so it might benefit a bit more? but this also means that it's more difficult
for example
say bye bye to the garbage collector
Fair
I see
Are there any C++ gc libs?
I'm lazy
iirc theres some "annotation" or smth in c++ to handle automatic gc ¯_(ツ)_/¯
but
90% sure im wrong on that
lol
Do you use Unity dkim
unity is also nice 😌
I never use engines when making games
but i just went back to making plugins
It's nice in it's own right
since with plugins u dont have to worry about UI 🙂
🥲
JavaFX game 😌
Ohh
Delete that
Yes yes
🙂
ok
No
🙂
Cancelled
Fair enough
Anyway I should try to sleep, I think I have a concussion
Uh oh
Uh oh
Why the convussion
👀
bonk

\👀
Bonk
\🥲
Well gn
o/
gn
Last thing, @oak raft no PHP! Okay bye now
Okay, no php!
wdym?
Object mapping is what you saw there with the @ConfigSerializable
Where it can turn data in to objects
And the tree based API is its configuration node system
btw does it have properties? like the triumphconfig SettingsHolder
Also, configurate has full support for comments as well
You don't even need something like that
https://github.com/SpongePowered/Configurate/wiki/Node here's info about the node stuff
is each node like spigot ConfigurationSection?
Yes, except it doesn't suck
why does spigot's suck 
Because Bukkit's design is pretty horrible
Bukkit decided that every config section should know about its parent rather than knowing about its children
Configurate looks a bit confusing tho 👀
It really isn't
Lemme link you to Krypton's to show you how we load our config in like 5 lines
5?
https://i.imgur.com/cKQTP90.png even just this is like 10
and idek what that does
The loader is an abstraction used to load different formats and turn them in to the common configuration node objects that are wanted for Configurate
oh
so you could easily convert this from for example hocon to yaml?
Yes
👀
You could even load HOCON and save YAML
👀
Yeah that's just me adding Adventure's configurate serializer, as well as some of my own
what are the serializers?
And then you need that registerAnnotatedObjects one for the Kotlin stuff to work
Custom type serializers used in object mapping
oh
So you can have a field of type Component in this case and then define how a string is turned in to a component
wait u only have 3 serializers?
Yeah, there are loads of built in ones
also how can it change the variables even though it's val?
or is that some reflection magic
All primitive, strings, enums, and objects can be mapped by default
It does this crazy thing called calling the constructor
oh
thats a constructor
what if you want to change the value tho
like if you reload the config
You can do that too
oh wait
do u just have a ```kt
var config: KryptonConfig = KryptonConfig.load(path?)
You can set values in the nodes, and you can also just use the loader to load the node again
We have that as a var because we reassign it to apply the config values from the CLI parameters
uhhh
Look literally 1 line below that in the code
where?
You can make yours a val
what class/file/line?
Actually no, make that 4 lines below
Krypton.kt
Same file as where that load line is
If you want the config to be mutable and reloadable, you need to make your config objects use vars and reassign the config object to the newly reloaded value
uh
What
https://github.com/KryptonMC/Krypton/blob/master/server/src/main/kotlin/org/kryptonmc/krypton/Krypton.kt#L107-L111 what's this? 👀
That is what I mentioned earlier
oh
I copy the loaded config and apply all of the CLI parameters
Because some configuration options can also be configured via the command line to make some scripts easier to write
The documentation for server and api usage is a 404 btw
wdym by this?
Configurate 😍
Guys I want a custom chat & scoreboard for each world how?
I needed to send embeds so I made a discord bot in python and I was like “eh I’ll work on it a bit and finish it tmr” then I did it in 2 hours and now it’s 11:40 pm
Shame the python lib is shutting down
"[playername] does not have any rankups available at rank Fighter0"
But i have a rankup from Fighter0 to fighter1
Can any1 help me
@solid furnace are you going to post this in all channels?
u r gonna get memed in dev general
so no
not here buddy, but maybe the general plugins channel
what you talking about?
I mean what I say
oh, yeah, those are defunct, use the wiki
lemme update that
https://wiki.kryptonmc.org is what's being worked on
the KDocs may appear at https://docs.kryptonmc.org again at some point, just not yet
the wiki will be really really detailed when it's done, and should explain a hell of a lot
if I have an api module, is it possible to upload only that api module to maven central?
like how spigot-api only has the spigot api, not craftbukkit included too
and also, I'm trying to make an api module and a plugin module.. but I have an api interface in the api module and a class implementing it in the plugin module. This requires both modules to compileOnly each other which creates a circular dependency. Anyone know how to fix it?
Add maven-publish only to the api subproject
sounds like ur api contains implementations tbf
because it really should be
api -> impl and not api <-> impl
I need impl -> api so that I can implement the api interface and get the plugin instance
i guess i can just make the api a class and use JavaPlugin.getPlugin(Class.forName("me.dkim19375.mainclass")) though
wut
the api build.gradle is this btw: gradle dependencies { compileOnly project(':plugin') } and same with plugin module except that it's compileOnly api
I'm wanting to do something like this: https://github.com/jiangdashao/matrix-api-repo/blob/master/matrix-api/src/main/java/me/rerere/matrix/api/MatrixAPI.java and https://github.com/jiangdashao/matrix-api-repo/blob/master/matrix-api/src/main/java/me/rerere/matrix/api/MatrixAPIProvider.java
but how did they do that without circular dependencies?
or is it some maven thing
or wait a minute
wait a minutee
oh
ic
ty
i think i fixed the issue
by looking at that repo xD
briefs?
bruhj
api containing implementation n api exposing implementations
oh
well api can contain implementations
but it should most likely just be a composition of other api methods then
not relying on any concreteness
right?
yeah
alr
also
another question
what should i name my BedwarsGame interface?
since whenever I use BedwarsGame I don't want to select the specific import every time ;-;
its not a major issue, but i can't think of any other good name
🤔
?
and I also dont want to name it BedwarsGameImpl or IBedwarsGame
The API shouldn't have any traces of the plugin though, i mean the API should be a bridge
ye, but the BedwarsGame interface allows you to get things like the players in a game and stuff
yeah I consider even exposing the plugin instance in an api as an api breach
wdym traces?
I'm not, the api module will only have interfaces
well
I mean that the API having the instance of the plugin like that is odd
and 1 class
It can have classes
this is how im planning to "distribute" the api
but it should not be a part of the concrete implementation then probably
like a singleton might be fine
or whatever u'd need
alr
but just to make sure
https://github.com/jiangdashao/matrix-api-repo/tree/master/matrix-api/src/main/java/me/rerere/matrix/api is this a good idea or should i do smth different?
Make the API an interface with a getPlugin method if you really need it that you implement in the plugin then use the service provider to pass it
Hi, guys. I’m new to discord. Is it possible to make a complete private channel in discord
it is
Yes, this is not Discord's support server btw
but I don't think I'll need to get the plugin in the api
there's a documentation on how to manage discord stuff I belueve
only in the api impl
good
Also it possible that I can make a monthly key for my channel to add members?
ur plugin class is ur highest ordered class
ur plugin main class is the entry point, its the top of your class hierarchy
alr
bump :))
or
should I just do BedwarsGameAPI
or does that sound weird
IBedWar 🤡
regardless, the BedwarsGame is an interface, then maybe maybe have a BedwarsGameApiBridge or BedwarsGameApiProxy
👀
wdym?
like rn i have a BedwarsGame class in my plugin module
but I want a BedwarsGame interface in my api module
you could have something
(api) BedwarsGame : interface -> (plugin) BedwarsGameApi : class
then you have another class
(plugin) BedwarsGame : class
that bridges the api BedwarsGame interface from the BedwarsGameApi class
btw
oh
that was what I thought of
but if I had two classes/interfaces of the same name
in BedwarsGameAPI
I'd have to use the package format thing
//in api
interface BedwarsGame {}
//in plugin
class BedwarsGameApi implements BedwarsGame {
final qualified.name.BedwarsGame game;
BedwarsGameApi(qualified.name.BedwarsGame game) {
this.game = game;
}
}
//in plugin
class BedwarsGame {
final BedwarsGameApi game = new BedwarsGameApi(this);
}
maybe
there's a lot of ways to address this problem
but this is a way to decouple internal stuff with the api implementation
I feel like the names would make more sense inverted, API being interface and Game being implementation
ye but i need a separate interface for each game unless I do ```java
int getPlayersInGame(String game);
yeah matt, well api here is just to mark the class as an api implementer
sure
Impl 🤮
GameRegistry
<U extends GameUser<G>, G extends Game<U>> getByClass(Class<G> clazz);
BedwarsGame extends Game<BedwarsUser>
in this case
maybe something like that
👀
Any one who can guy?
uh
Need an expert here….
we're not discord experts here
This isn't discord's support server
Lolz. You’re taking api bro 🙂
❓
I don’t even know what that is ….
wet
dry
HelpChat is designed to support people all over the Minecraft community, from server owners to plugin developers.
and Impl is when u dont have a name for an implementation
whilst bridge is a design pattern
it decouples an abstraction from its implementation basically
which gives u more mobility and u can basically do a lot of stuff independently
you could alternatively using something like a the proxy pattern
they're quite similar, so I advice googling in case you're interested in choosing the most suitable design
Why are logging frameworks such a pain in the ass
it's 2021, who configures their software using .properties files anymore -.-
xml!
frick xml, I just want to change my log level dynamically, how is that so hard?!

imagine not hardcoding stuff
lol
I do. but in .txt. that's how I write my java code. in txt files.
What's the best way to get into devops?
?lmgtfy devops
thing is, there's like a ton of opinions and articles about it on the internet
so might be worthwhile reading those before coming here
My goal is to learn more about how to scale servers
I think you need blockchain
Anyone know what a -1 opcode means in java? Im getting a lot of them in compiled kotlin classes(havent tested it in java ones) when using ASM(the library).... I dont think it really matters because i can just filter them out, but its still pretty weird
https://i.imgur.com/0ybeekn.png oh jeez why did i write 642 lines in my bedwars api when i doubt anyone will use it 👀
and 100+ lines for the implementation
(btw the image is from .java files, the api is the only place i use .java, and the first number is all lines, second is code lines)
and in total my bw plugin is 7355 lines of code
👀
Can somebody help me figure out what the difference between these gradle modules is?
They are on the same level in the hierarchy
But one is being shown under the folder structure of Blocky (root) in the gradle plugin and the other one isn't
Both are imported in settings.gradle.kts the same way
Can I use player.getHeldSlot() async? Ik its not safe to use API async but just getting the slot doesnt seem to interfere with anything
https://i.imgur.com/pyQGtnr.png rip 100% kotlin 😩
(also this means that my API is 9.8% of my plugin xD)
yes
thank you emily
yes
wait
is that intellij?
just make a new command configuration (idk exact name), then scroll down and where it says Before launch press the +, another configuration then ur gradle configuration
like this
ah
shell script
wait no
batch
although i think u might need the batch plugin
idk
uhh
scp is a batch command, correct?
¯_(ツ)_/¯
so I can't just put in in a shell script
idk batch
then u should see a batch option
when u create new configuration
do u have the plugin? Im using Batch Scripts Support
where is the goddamn plugin menu
lol
I always forget lmao
ctrl + alt + s
ah, right
Update your shit smh
?
shell scripts > batch scripts



