#dev-general
1 messages ยท Page 470 of 1
Lets do what Luck does with his Adventure lib
He manually relocates a fat jar into his repo and downloads it at runtime, since it'll be considered 2 different libs, it won't have version issues
Like io.github.slimjar.gson and io.github.slimjar.asm
oh like bootstrapping a compiler? that's kinda cool
Basically fork gson relocate it and publish to our repo
ahh, true, but we would need some extra work, like getting shadow to relocate the references to those specific things instead of what the user sets it
MF-GSON ๐ฎ
Yeah
Nice 
Matt big brains

Technically couldn't you make it just compile only since bukkit already has it?
Or is that what matt just said?
its supposed to work fine outside spigot/bukkit as well glare
It should be able to, but the version may cause issues
hi, are configs cached?
It's cached
thanks
wait, is it really cached by default (even when using more low level stuff like snake yaml)?
Bukkit caches it
well yea, you don't want to read the file every time
which is the reason why theres a reload method
the reload method reloads/refreshes the cache
@wind bolt Add some sort of description and showcase some features
Okay
Currently working on GUIA which uses the core as its framework
I'll showcase that as well for functionality purposes
Nice ;p
yeah I was gonna ask what that even does lol
yo what other good paste bins are out there?
bcz hastebin is broken
and been like that for a while and I want to update ?paste
or sohuld I just leave paste.helpch.at
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
โข HelpChat Paste - How To Use
there we go
also changed Usage to How To Use bcz
people never actually click it lmao
why does KT @EventHandler(priority = EventPriority.MONITOR) private fun ChunkUnloadEvent.onMobsDespawn() { println("Unloading chunk") chunk.entities.forEach { if(it is LivingEntity) println("unloading ${it.name}") } } don't print any "unloading mobName", only "Unloading chunk"?
it only print a bunch of those```[17:02:24 INFO]: Unloading chunk
[17:02:24 INFO]: Unloading chunk
[17:02:24 INFO]: Unloading chunk
[17:02:24 INFO]: Unloading chunk
[17:02:24 INFO]: Unloading chunk
sounds like it isn't a livingentity
it might unload them before the chunks are completely unloaded
hmm you might actually be right, blitz, maybe there's an "entityunloadevent?"
and why the monster I've set as persistent keep despawning?
you want to use LivingEntity#setRemoveWhenFarAway(boolean)
will this keep them "persistent" in a sense that they are saved when the chunk unloads, but at the same time they don't force the chunk they're in to be loaded?
Not sure I'm afraid. The spigot docs are very bad
hello can someone help me i use this command so console tp the player to another world
/mv tp %player_name% hub
but it says there is no player with this name
%player_name% this give the playername of the player who apply it
how to fix it?
I'll try
#general-plugins please. thanks
ok sorry
oh well
@gusty glen worked fine for me lol
it was right in the middle of a chunk tho, i can try on the edge
yep, works fine on the very edge of a chunk as well
kotlin is taking over my project should i be worried? 

I have more and more files turning into kotlin files.
[22:47:12 WARN]: [FakePlayers] * There is a new version of FakePlayers available!
[22:47:12 WARN]: [FakePlayers] * Your version: 2.2
[22:47:12 WARN]: [FakePlayers] * Latest version: 2.1``` ๐ฅฒ
that's good
fakeplayers?
nothing to be worried about
ye the plugin you gave me
its pretty good
they added bungee support now
as well
tho I've got no idea how it works with bungee lmao
it just works
probably. I just didn't test
I guess bukkit hates me 
hypixel uses it ๐ฅฒ
do they really?
why would they lmao
yeah I really don't see what the use would be for them
why's kotlin so good tho
@EventHandler
fun onInteract(e: PlayerArmorStandManipulateEvent) {
val p = e.player
val entity: Entity = e.rightClicked
val id = e.rightClicked.getMetadata("id")[0].asInt()
e.isCancelled = true
p.sendMessage("entity: $entity")
p.sendMessage("id: $id")
}
look how simple it is
bruh
@EventHandler
fun PlayerArmorStandManipulateEvent.onInteract() {
val id = rightClicked.getMetadata("id")[0].asInt()
isCancelled = true
player.sendMessage("entity: $entity")
player.sendMessage("id: $id")
}```
Ah you did it faster than me ๐ฅฒ
u bad, use extension function get rid of e, p
yeah its nice. I said I would start using this but to lazy to switch old ones to this
I think I see part of the problem. Monster (agressive entities) are despawned as soon as the player moves away from them, much before the chunk itself unloads, right? Is there an event that is fired when this kind of despawn happens?
I mean yeah that's what setPersistent/isPersistent is for lmao
join or else
OR ELSE?
@prisma wave shut up weeb
Yeah, WEEB!
AAAA
me
pussy
PROBLEM?
@prisma wave
intellij is made in java, right? why doesn't it use a jar file? ik u can convert to exe, but whats so bad about a jar :p
Jar file requires jre to be installed
according to https://paste.helpch.at/gagidusuli.md and eletronicboy, "something" is marking my custom persistent entities as dead
oh ic
Ahh lovely commits ๐ฅฒ
bad commits? ๐ฅฒ
ohhh boy
but I also have good commits
cause the project is so big that if I don't commit every so often and break something, I cannot even restore or check what I've break
ah ic
so you use git as backups
basically
as the reason of constant commits*
yup, and ofc it's a private project
not closed source
๐คจ
it's only that I have to reason to make this public since one 1 person will use it
wdym
my bedwars plugin is OS even though i know that no one will contribute to it ๐ข
do you know what that is, dkim?
๐
is is 6949 lines of suffering
lul
even my bw plugin is only 5.3k lines
I desperately need to make sc-cfg a thing so I can remove about 300~400 lines from the project
stupid entity that get stupidly marked as stupid dead as soon as I leave it alone and move away, isPersistent is a joke
what is sc-cfg?
hehe
wdym by this
I actually liked this change
Yeah
ah alrighty
I have no opinions about this change
It suggests replacing the single function to that horiffic lambda
Come on man
anyone want to help me test bedwars ๐
How would you guys store an index/summary on a database? 
Example:
โ Entry
โ Entry 2
โ Sub entry
โ Entry 3
โ Sub entry
โ Sub entry 2
This is what I have, but not very happy with it ๐ฉ
Jetbrains be like: "Kotlin doesn't need util classes!"
Also Jetbrains:
๐ฅฒ
lol
fun fact: Exposed isn't official JetBrains material
Exposed bad
it's got the team badge, meaning it's made by a JetBrains staff member, not not officially maintained by JetBrains
Kotlin bad
It's in the Jetbrains org on github, it uses org.jetbrains.exposed, it's on the Jetbrains support channel on slack, it's as official as it gets lmao
not really
Still bad
Bad!
how is that bad?
Kotlin bad
Bad!
^
and BM has smol brain
Haskell has Simon, what do we have with Kotlin? This guy
breslav
does ur discovery include pdm or plumber
Kotlin was built by the russians to mind control developers!!
๐
me
me too
this is not pdm or plumber
Actually you implicitly asked when you said I was "smol brain"
Good
I love plugins that use colors in their plugin enabled/disabled messages and also make them like 7 lines just telling you that you're on x version or some shit like that ๐ฅฒ
lol
is this fixed in krypton?
at least use another color... not yellow or red ffs
2021-05-08 00:29:00 [Server Thread] INFO [TestPlugin] - ---------------------------------------------
2021-05-08 00:29:00 [Server Thread] INFO [TestPlugin] - Running TestPlugin
2021-05-08 00:29:00 [Server Thread] INFO [TestPlugin] - Version 1.0-SNAPSHOT
2021-05-08 00:29:00 [Server Thread] INFO [TestPlugin] -
2021-05-08 00:29:00 [Server Thread] INFO [TestPlugin] - By
2021-05-08 00:29:00 [Server Thread] INFO [TestPlugin] - BomBardyGamer
2021-05-08 00:29:00 [Server Thread] INFO [TestPlugin] - ---------------------------------------------
is what fixed?
big blocks of text like that appearing from plugins in console? hell no
tail -n 100
this obviously
built in console spam/error fix in krypton :new_moon_with_face:
tail -n โ
๐ฆ
TAIL
h
(haskell reference)
wdym
yeah gl
I give up with this fucking project. gonna just ask the dev to change it himself lmao
because, especially if you remove something necessary for debugging later in a report, it can be really hard to figure out what's actually wrong sometimes
I have an unhealthy urge to just type "val main" all the time
I've done it like twice now
Not even coding
Just
val main
Wait
"Just"
๐
soon
don't care
please
Don't like it you know where the door is
i do not know where the door is
then you are uneducated and STUPID
I have been banned from 2 discord as already cause I was too random (advertised Haskell) which concludes its not that great
WHAT
Yeah
they're frightened of what they don't understand
wow, banned? not even warned or muted? i guess haskell really sucks ๐
So I asked them if they knew Haskell and if they knew what a monad and monaid are
๐ May Simon forgive them in heaven
haskell bad
Yup
daily bm mental breakdown
AAAAAAA
Impurity may cure you one day
"haskell bad" - the trigger phrase
don't even JOKE about that
๐ ๐ ๐ ๐คฌ ๐คฌ
Itโs fine stateful components will be there for you when you need them
We will mutate your bad Haskell habits
MO
:DDDDD
Elixir is pog tho
elixir GOOD
Ye
it's no Haskell BUT
๐๐๐
Youโre an odd one
Cheers
ipod stuck on replay
Got my ipod stuck on wiki.bristermitten.me
Fair point
"helpful people" when someone says they would rather use java for their hello world plugin
https://c.tenor.com/ZDejV8A11u0AAAAM/zombie-horde.gif
I mean yeah sadly true
rip discord ๐ฆ
none of my messages will even send
Yea
oh that one sent
anyone want to help test bedwars ๐
Nah... I need to be testing my own plugin... I keep putting it off....
sure
Eww
๐ฆ
i have viaversion
D:
afk
Use latest ;p

bump ๐ฅบ
Why are you already trying coroutines lol
the docs introduced me to coroutines and I'm lost
Don't mess with them just yet
๐ฎ 1 min
Ok im coming
_ _
I didn't but I'm pretty sure I can guess what it said ๐
"15 minutes"
?
1.16
ahh no viarewind?
o
lmao
๐
sorry
๐
im not fast enough to move my hand to my mouse to click on them
he's right though lol
who
something called theres-a-setting-to-auto-open-spoilers ๐
lmao
if someone besides you spoilers something, I usually want to be warned about what it is
i just opened 1.16 ;-;
i thought we were testing ur server first
oh
pulse dm ur ip @lofty meadow
i can test urs if you want
AHHH
ok
lmaooo
not pulse
Ok lol
?
pulse ur breaking my mc
lol?
i love you dkim btw
@forest pecan fix dkim ๐
Lmao
oop what did dkim do to deserve such unconditional love
message isn't sending, but as a response to ur question its good
Oh
;-;
Ok
its still playing
Lmao
;-;
send me ur ip
1 sec
lmao
mc crashed anyways
thats what lunar uses
apparently
starrrrrrr
r uthere
D:
1 sec pulse ima open up mc
no bedwars
just test
ok
no i meant test bedwars
ยฏ_(ใ)_/ยฏ
aka test out the features and try finding bugs
|| aka play some bedwars ||
;-; its grayed out
i want to switch resource packssssssssssss
ok but ily
๐
nvm pressed esc it out and then it works now
that's kinda funky
it will take about 30 minutes to open my laptop + minceroft
i was gonna say how did you not understand that
we all have potato pcs
i thought you said 'low'
or my 6 years-old laptop is potato
oof
My pc is 6yo still running like a beast
yeah I made my pc in 2016, it's coming on 5 years now
its good, but so many fps drops because of 105ยฐC procressor
๐ฅฒ
isn't that like
it would shut down at that point
too hot
yeah dude that's why thermal throttling was invented
i tried to do thermal paste but i realized that my video card cover sticked to video card
Your pc should turn off around 95
its closing above 105 i guess
105 degrees celcius is insanely high
intel core i7 5500U
nvm
Pretty sure it doesn't get that hot, it'll turn off instead
Unless you turned off security
they all say 105?
yes they are say same
not exact 105 everytime
ik but what to do
@half harness 1.8 or 1.16? if 1.8, i can open it quick
1.8
thx ๐
kk
np, ily
are intel core i7 5500U and Geforce gtx930m good?
i have i5 3450
oh
i take less fps drop when i use integrated graphics in summer
huh
I mean they're ok but not great.
lol
waiting while lunar updating something useless โฐ
lol
ill dm u ip
when do u think you'll be ready?
btw @forest pecan server is up ๐
finally mojang text
pulseeeeeeeee
oK
Kotlin's simple af
I got this in the bag
Also what's a when expression
What could that compare to in terms of Java
Interesting
No
:3
only 5000 actually
server tps is at 11
lmao
i stopped server so intellij can take a breath
lmao
you can write me on lunar chat when something happens dkim
wdym
bugs:
- item unbreakable isn't working
- worlds are sometimes resetting - armor not permanent
- tools not permanent
- shopkeeper opening villager shop for a short time
nvm
no
lol
intellij = dead again
lol
Intellij hates you
true
Which version you running?
Hi
@boreal needle Damn you for updating gradle on tags
wdym
You updated gradle on tags
there was nothing there in the first place, i only added the wrapper
ah sorry
need to read through your pr and setup the actions properly but effort :3
sadly actions dont do everything i need them to do
i dont really use them for much anymore
Not sure why I'm even bothering with them for this
i just run a tc instance instead
I use a mix of both lol
I use Jenkins for master builds where I want artifacts published, but use actions for test builds where all I care about is the result of the build
yeah i do the same
oh btw, before I forget and end up with 3 days in a row of no productivity, what should I work on in Krypton today guys?
except with tc because jenkins is bad
Well what still needs to be done Bardy
might add Guava in because it might have like 3 or 4 useful things and to maintain compatibility with most multiplatform plugins that expect it there
quite a lot
could add in a flat generator to avoid you requiring a world
Well what are some major things
or could add block breaking ๐ฅฒ
lol
instead of breaking u just place air
I mean you could implement the current state of my world gen, it should generate an octave world fine
i take credit for this one
what's the artifact?
unfortunately, things like gravity are client-side
mega oof
@hot hull TerrainGenerator seems to be archived, what's the new one? Op65nTerrain?
pig remake ur rocket thing in krypton
what about falling blocks?
ye that was the goal kaliber
๐
falling blocks I guess could have their gravity altered
and other falling entities
anything that I as the server am in control of I can change
alright sure
make an issue for it on GH so I don't forget pls ๐
will give krypton a solid 10/10 if it happens
Yes Bardy
is it published to a Maven repo? or have I gotta do that bit myself? lol
It is not, once it's in a working state, I'll throw it on my repo
debating whether to fork this to KryptonMC or personal lol
I can't open an issue
oh yeah, fuck
I didn't fix issue templates
I'm stupid
gimme a min
done
try again now pig
How can I send a message to all the servers of a network through bukkit?
getPlayers from bungeecord is what you're wanting
which returns ProxiedPlayers
All servers, not all players
Bukkit wouldn't be able to get all players on all servers though? That's what getPlayers from bungeecord is for?
I want to hit you
I haven't done anything with bungee and networks yet so.... ๐คทโโ๏ธ
public abstract void broadcast(BaseComponentย message)```
Send the specified message to the console and all connected players.
message - the message to broadcast
val bannerMeta = meta as BannerMeta and then use bannerMeta or can I just do meta as BannerMeta and use meta?
Yea I know, ty
Hi !! One thing, can anyone help me with the papi in #general-plugins
no
especially not if you are too impatient to wait for someone to respond in #general-plugins
https://paste.helpch.at/mejaquqoqu.cs ffs why am I this stupid
I was wondering why my profiler didn't pop something properly
then I realised that I forgot to change the if check for rainTime being greater than 0
man using an actual profiler lmao
The most intelligent Java IDE with refactoring support.
ty
basically a lot of useless features that ull probably never use
DB integration only good thing
Go integration 
Detecting Duplicates this is interesting lol
Imagine writting duplicate code from the start sheesh
i will never know why thats not in community edition
u never know
my coding skills do be kinda sus
just adding Guava and commons-lang3 into Krypton rn because of 1. compatibility and 2. I think we could use them somewhere, but I'm just trying to decide if I should replace Caffeine with Guava's built-in cache or not
Caffeine with Guava's built-in cache or not
Absolutely not
so I should keep caffeine then right?
yes
and there's no point whatsoever of adding guava & commons-lang3 just because people might use them
nah we'll use them internally too
only add something if you need it for what you're making right now
add them when you need them
not prior to
Someone's got a cringe status ๐
there is at least one place that I had to rewrite an entire section of commons lang into Krypton to avoid depending on it, so I should definitely be using it there
and I have a few places I could do with a multimap
caffeine is actually a rewrite of guava's cache
and put simply
it's better
ah okay
oh also, you know that depending on the data fixer upper will give me Guava anyway right?
oh, and Brigadier also gives me Guava
so I might as well add it as a dependency anyway
2021.1.1

๐คฃ
First time I'm recommending someone to downgrade, but since your pc a literal potato, use something like 2018.3 (that's what I used and it ran perfectly)
2018?
Yes
or u should recommend to upgrade ur pc
That'd be the ideal option yes
well
the thing is
I was going to upgrade my pc
but i have no idea how
so i asked some ppl
and they said that my pc is crap so i'd have to upgrade it all
why do people buy my plugins in the middle of the night
so i ended up only upgrading memory
u would yes dkim ๐คฃ
4 -> 8gb
what.
Ever heard of timezones Odin?
oh ye
LOL
I swear my buyers are either A) American or B) Aussies
"Today at 2:48 AM"
or maybe they just got a fucked sleep schedule ๐คก
Said the guy with a cringe status
just like me
:p
when did you buy it โ ๏ธ
a few months ago iirc
Imagine if only we could truely upgrade our memory irl ๐
okay good
I made server jar in scratch ๐
Don't mind me, just jamming a new bit of RAM into my ear.
ram is way too expensive to consider buying right now
is this still with the celeron or whatever u have dkim?
no lol
thats my laptop
Let's talk GPU lmfao
If humans had RAM slots, where would it be?
the laptop with a lower clockspeed than my 6 year old raspberry pi ๐ข

Up your ass
yeah basically everything is insane right now
Best location
What about the back of your head
then it's going directly to the motherboard
3.1 ghz but feels like 1.5 ghz
@hot hull did it take u like 5 minutes to load a webpage on ur shite pc?
or however long it takes dkim
no
you're sus
thanks
I think I'm getting addicted to Kotlin.
The only hard thing is the lack of spigot documentation for it.
why would the spigot api need separate docs for kotlin
I mean like examples
i mean for the most part its going to be the same anyway
ur just changing a couple stuff to make it work in kotlin
git 
๐ฅฒ
i dont think it did
btw does intellij have a save button?
i'm missing a ton of files
it does
That's why I hit Ctrl S like a maniac
like, I had a kotlin folder but that's gone now
its just habit for me
i stopped the ctrl s habit a while ago
started it because of eclipse not having autosave ๐คข
Do you just not see it in IJ or is it not there in the file explorer either?
ok sorry for cursing the place out, IntelliJ didn't load the project for some reason so it made it look like i lost it.
๐
intellij saves in like 10 minute intervals
or smthing
seriously?
i thought it was shorter
like 2 minutes
I still Ctrl S like a maniac lmao
i highly doubt that
10 minutes is a long time
I mean, it legit didn't even know what the project was
well it sorta makes sense
for me its like that
Like it takes no effort so
because whenever my computer bluescreens
it always rollbacks like 5 minutes
which is annoying
Yeah
exactly that
Same goes with me when i accidently open the Material class
i lose my work
uh
Intellij doesnt save on intervals but in actions I think
Sameeee
gj
but idk how to retrieve it
but what if you write a shitload of code but dont actually run it
would you lose it all
I didnt mean run actions
I haven't had the lags in there ever since the last 2 or 3 updates
Like text blur, focus...ect
Can't trust the system, they are corrupt!
idk it still is laggy for me
ยฏ\_(ใ)_/ยฏ
๐ฅฒ
material class?
Yeet your PC
lol
Sounds like a you problem lol
I can load material easily
Mhm
lmao is that your only excuse
you got enough dedicated wam going to it?
Literally everyone else saying it works just fine
You tell me if it doesn't sound like a you problem lol
๐ฅฒ
it's been there a while anyways...
๐ฅฒ

Man died, let him be ๐ฅฒ
๐
๐ฆ
ยฏ_(ใ)_/ยฏ
I mean yeah there was a version it lagged fuck ton
I'm remembering the legend
But then it got fixed
Delete it
wat
whats the password
where does termius store passwords?
@half harness tell me the password and I'll tell you what the password is.
;-;
nah it for all versions before that oo
Uh no, I very distinctively remember a 2020 release it lagged, not before or after
Jokes aside sounds like something's wrong with your setup
then were a buncha people complaining about it
People with bad computers exist
i dont have a shitty pc tho
There are others tho
https://askubuntu.com/questions/24006/how-do-i-reset-a-lost-administrative-password
Oooooooooooooooooooooooooooo is this ubuntu only
Hence the complaining
lmao dkim
boot off a usb as root, chroot into your actual root, passwd
uh, i have no clue what in the world u said
No
i should talk here more often
no??
helpchat pog
why no
U should
its like my server but better
lol
and with less crappy plugins
ok you should talk but if any of these names start talking, stop talking. @onyx loom @prisma wave
there, you're safe.
why did you ping bm
why not
Lmao
huh
brace yourselves for that language everyone
h
Why do you hate kali?
ever heard of haskell?
Haskell!!
D: what have you done
should i make bm angry
no
ok
Kotlim bad, Hasksll good


