#dev-general
1 messages · Page 599 of 1
i need help
There is no time to wait! Ask your question @forest pecan!
i have a question
There is no time to wait! Ask your question @forest pecan!
i have a question lol
i have a questionx
(╯°□°)╯︵ ┻━┻
sad
why disabled lol
why not
What do you do when you see a space man?
Park your car, man.
Bc boring
Lmaoooo def not
Lol u dont know me then
More like most of the questions asked in the development channel can be found on google within 5 seconds
By adding spigot to the end of there question
anyone wanna help test a bedwars plugin
like join and play on it? sure
Yeah
@half harness you on?
You wanna compare this persons bw plugin to yours? lol, only mostly kidding
mine has so many bugs :(( (as the last commit was sep 22)
uhh not atm
Are minecraft servers slowly getting less players or are the big hub severe soaking up more of the players?
I’ve seen a good amount of well made smaller community severs with fairly unique gameplay just die out
With no one on and players here and there popping on and leaving
Ah my bad. I was kind of intrigued to get answers in relation to perhaps development issues or genres of servers
Dev issues in terms of types of servers or advertising etc
But I can throw it in mc
Ah okay
Opinions from devs would be ideal but I can move it
devs != server owners
Ah yeah true. I’m forgetting some servers have dev teams etc
i mean you're developing a server
right
it can be used in different ways
I was talking about this way
ok
I wasn't giving the general definition
- Not configuration help -
Why does IJ suck so much at debugging kotlin 🥺
found your issue straight away.. 😂
me being born into this cruel world?
so true
kotlin
hahhaha, funny man
hahaha
he's laughing but he's a php enjoyer 

nice try


How could you????
Both suck but PHP sucks more
explain
then you must... swallow
I have grown up and stopped being childish
nothing beats C# tho. its the best
Maybe i want to stay childish...
its just good in general
makes me feel alive
tbh
very tru
C# is horrid
agreed
I tried C# hated it
me when using C#
PHP is despicable, kotlin is boring
php with laravel is next level hot tho
Yikes
Nah some actually love haskell, like 2 or 3 people
SPJ and Yugi

Haskell would be A tier probably
so S means shit?
No
right
S means Silence child
B means beta
Honestly the only one I can think of is java
I wouldn't put any language in S tier
Kotlin, Rust, A tier
Java B tier
nah java deserves higher than that
lets make a tierlist of all the people in helpchat
Only language without any gimmicks / gotchas
K so how far above everyone else am i gonna be?
You'll be at the bottom
You will be negative tiers up
Damn, poor Chestly
lol
Am I at F then?
Hmm
im an A now
actually
Ill take C
C is pretty good
Atleast i beat you
or is P a pass
P means alpha
No
and haskel 😳
wdym boring
not enough problems and bad code
hot garbage
what problems?
but why do u call it so bad
unironic opinions
As a counter to all the people that call it the 2nd coming of jesus
It's fine, but nothing special imo, hence the B tier
they hated jesus because he told them the truth
what
oh
but you still didn't say why its bad
;-;
Did you just put scratch in S tier?
Obviously
It's fine, but nothing special imo, hence the B tier
ah
There are a few nice features but in terms of language design I would say that java wins overall
It's just more consistent, some of the kotlin gimmicks are nice but they're basically just gimmicks
Unironically think js should be together with php, there's 0 point in using it when TS exists
The best things about kotlin are null safety and coroutines, and coroutines require a super overcomplicated library to actually do anything
And function extensions
true tbh, but I still think JS is slightly less bad than PHP
Doesn't change the fact that it is a good feature though
Right yeah
It's nice but I wouldn't say it's game-changing, just a nice syntax sugar
lol why php at bottom
Yeah
its not horrendous
overall I think I prefer something like F# with currying and the |> operator, because then there's nothing magic about the functions
and they work with "normal" calls
also tiermarker is s tier 
obviously
Languages like that, Haskell, f#, Clojure lose points for complexity and beginner friendliness imo
To a degree
Id say Haskell is the only really complicated one
F# and clojure are both pretty simple, as long as you know the basics of functional ideas
Well you have to assume beginners know nothing so wouldn't know functional ideas either
Well, I'd say if you're starting from 0 experience then learning FP is just as easy / hard than learning OOP
if we talk about beginner friendliness, python and js should be listed higher up
Yeah but talking about objective things
Yeah python and js would gain points on it
But those would definitely lose
Same to Java to some degree
if we're talking purely about beginner friendliness, then Python is S tier, F# and Kotlin probably A, the rest are lower
whats F# 👀
I maintain that F# is very simple and I will die on that hill
C# but functional
functional but C#
let main = printfn "Hello world"
Technically simpler than a "real" python hello world
🤧
Anyway as I've said before, comparing things on how easy they are for beginners is useless
quite true
assembly 😌
It's like saying a nuclear reactor is bad because a 6 year old can't use it
I mean i wasn't talking about ways to compare it
But as one of the criteria to consider when ranking languages
it's something to consider, sure, but it's a pretty low priority
it's like, the least important factor
I'd SAY most important factor, is it Java or not?
wat
jesus
Most tier lists most important factor is "I don't like it"
so true
i did try to be mostly unbiased in mine though
still sus how clojure got S
clojure is goated
🤢
my criteria was basically "how many things can i think of that i don't like about it"
java and clojure, not many
ah fair
One thing i really dislike about Java other than the boilerplate when for example comparing to Kotlin is that the stdlib is kinda .. lacking
Or not as simple
it's not so bad in modern versions
there's a concise equivalent to most of the kotlin functions
Yeah, it got better
most lovely feature regarding kotlin is the nullability and returning desired scopes
but like java can manage that, decently
i cant find much to complain about in java 16, apart from very specific stuff
returning desired scopes ?
oh yeah
labelled returns
they're neat, but again can become really messy if you're not careful
true
EA
Sports
preview feature whatever
if else 
Yeah only on 17 preview

I think if we have another HC code event, we should just have all the code be generated by https://copilot.github.com/
but that limits it to ppl that have access ☹️
After running it through my opengl texture applier(hint, this is not what it should look like...)
Original image
Idk why the images sent like that, but ok
I need help with the roblox server it won't let me verify my account.
this discord doesn't have anything todo with roblox
I thought this was a help server sorry
Well I still need help :/
with minecraft or coding?
yeah on minecraft I cant play on servers
do you have a premium account?
I think so
well did you buy the game?
what happens when you try playing on servers?
it kicks me out everytime
what does it say?
we need to know the error
did you try other servers such as Hypixel?
do you use badlion/tlauncher?
I'm making something with a friend and somehow after 2 days of looking we haven't found what we're looking for. Does anyone know how to activate a piston? I have a block at specific cords and I know that block is a piston but I dont know what to do with that
Get the block data, cast it to Piston, do Piston#setExtended
dont use badlion lol
it blocks certain apps for no actual reason
https://youtu.be/h_WMvX5ynGg?t=147
hello everyone
please watch it help me (lower your volume )
just give me an idea how to make the slime wall moving thing with holes and stuff
ping me if u have any any idea
Has anybody used a compound to run multiple IIJ configurations one after another? I made one for building the jar and starting the server and it doesn't work all the time, like it skips the building part.
On the jar application configuration add the build configuration to the "before launch"
hmm, let's see
I just went to the copilot page and it said I already had access 👀
I had no idea
😦
only requested access few days ago. probably gonna take a few weeks to get access
if I ever do
ye
It took me 6 months to get it
gl
oh is it been out for so long? xD
yes
yeah. I heard it came out a while ago but didnt think much about it. just the other day matt was showing how good it can be and I was like "why don't I have that?" xD
I can live without tho. but looks nice
6 months?
Wow
I requested it apparently, but that was max 2 months ago
I do this, and mine works
24 days for me so far :(
@ocean quartz can you help maybe? So I have a fork of deluxemenus, and when I PRed, glare squash merged the PR so now I'm 16 commits ahead. is the only way to fix by making another PR? I have git kraken since I couldn't find commands for this but can't seem to find anything in there for this either
Do you want to reset the commits or something like that?
I want my forked master branch to be the same as the original master branch
ok I might've figured it out with commands. need to double check
got some conflicts aparently
You can right click the origin and there should be a reset to this commit then you can hard reset or something like that
I am not great on git stuff so idk
On GitHub you can now sync to upstream
Only pull iirc
But i could be wrong
If you fork something there’s a button on your fork
well. that fetches. I'm ahead with 16 commints. I want to rebase
Fetches, not syncs though, just pulls doesn't delete if you're ahead
no
because
Genuinely shocked none of clips stuff is open source by this point, even at the least deluxe menus or something
I think I fucked it all up.
ezblocks is os
papi is os
What about everything else tho
idk. lol. you said none. I corrected you
Oh haha, I mean PAPI sure, would be a bit silly if it wasn’t open sourced, EZBlocks eh I guess, DeluxeMenus would of been cool to open source
I fucked it all up. I need to reclone the repo now. 🥲
Sure
user error 😉
👀
😔
https://paste.helpch.at/umihuquziw.sql
Anyone know how to fix this?
It works fine on my PC but not my pi :(
https://i.imgur.com/IK9uXCP.png and this is what happens when i try using sdkman to install java :(
I HATE GRADLE.... Literally half the time i run my tests they work, then the other half they dont... Its just stupid resource stuff and gradle can only seem to get it right after i manually run clean then jar
always worked fine for me
lol i'm not
in Rider, is there a way to make the .NET Core documentation show? Because rn when I hover the summary and all that doesn't show and yes I've been googling but couldn't find anything on this
I'm not sure if its the Rider decompiler that breaks this or if its just the core not having documentation maybe?
and yeah it works for the methods I wrote
I'm having trouble figuring out how to do this without creating my own map class.
val myMap = <T : MyClass> MutableMap<KClass<out T>, T>()
This doesn't work obviously. but can somebody help me figure out how to write this syntax?
I have a sealed class MyClass and subclasses A, B and C.
The map should store KClass of type A, B and C and return their respective instances so I do not have to cast them.
Oh damn, sounds very similar to vscode ;o
Yeah!
But the fact that multiple people can edit the same file at once could be crazy.
The spaces integration seems really nice
finally reason to delete one of microsoft's bloatware
yeah file explorer smol, you have to install 959594 extensions to have basic syntax highlighting 
do you?
Hi I need someone #904591269005770762 :)
This already exists in jetbrains IDEs already, but it’s now in a slimmer form factor
Yeah I know, but it's still pretty cool the concept.
Yeah, it reminds me of https://tuple.app
What program you guys suggest to create Minecraft textures?
Possibly one that supports palettes layers etc
Paint .net isn't ideal
aseprite looks nice
Anyone know whats wrong with this build.gradle? (https://paste.gg/p/anonymous/b8da3b3cb867480eb23370d9713c76d2) Getting this error when compiling:
Could not find spigot-api-1.17.1-R0.1-SNAPSHOT.jar (org.spigotmc:spigot-api:1.17.1-R0.1-SNAPSHOT:20211116.043434-99).
Searched in the following locations:
https://hub.spigotmc.org/nexus/content/repositories/snapshots/org/spigotmc/spigot-api/1.17.1-R0.1-SNAPSHOT/spigot-api-1.17.1-R0.1-20211116.043434-99.jar
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.htm
it doesn't play well with snapshots
I think you can clean up either the gradle cache or the maven local repository to make it work again, not sure anymore
Hmm weird, strange thing is this was working the other day
It's the build.gradle for this plugin, I'm adding a few features https://github.com/oraxen/oraxen
yeah it's not really something wrong with that setup
make sure you're targeting java 15 or newer as well
16 yes. my bad
I am trying to make a GUI but for some reason when you click an Item you can take it instead of it opening the submenu... https://cdn.skymc.cc/images/h1g3m.gif
#development + how will we help you if you do not show code? (Did you register you eventhandler?)
I sent it there with some code
development related?
no
Because if the plugins are only use api then they should work
theres no "general"
a pllugin is rated 1.17
can we use them in 1.18 or do we need them to update
becoz 1.18 is just 1.17 part 2
so im just asking
Does anyone know how I can do this?
https://prnt.sc/211svon
with code?
Anyone knows if Triumph-Gui will work with newer versions without updating? Or do I have to update Triumph-Gui every time a new server version releases?
It'll work fine
Thanks
Lol
I mean looks nice ngl
ye
i hope it will be free at least for students xd
wonder if it'll make me switch from sublime
for what do you use sublime?
everything apart from java
Most shit is free for students, so I don't see why they wouldn't make this as well
the only area where sublime beats other editors like vsc is speed, sublime is much faster and can handle big files better than all of its competitors
so if fleet is fast and can handle big files
that'll be very good
do you us esublime merge too?
idk like it replace stuff that is only paid i think
fleet doesn't look like a replacement for any of jetbrains' products
it's a new product
just wondering why html is in coming soon section
when its in all jb ides already
same w php
native rust support, finally
this was only announced yesterday
they implemented what they liked probably
or what was easy
idk
honestly the language support is kinda small for a general purpose editor
I just counted 53 languages for sublime, excluding languages based on others (e.g. typescript, which sublime does support, it's just under a sub category for javascript)
although I imagine fleet probably does a bit more than sublime in terms of language support
Well I mean considering it's brand new, I'm sure they're gonna add a lot more languages into it
what do you think, when it will be publicly availBld?
why wouldn't they add that to the coming soon thing then?
Effort
nah
people are paid to put in effort at jetbrains
I think
pretty sure they're not held hostage not 100% sure
actually even if they were there against their will, then there'd be a threat of physical or emotional danger so they'd still put in effort
your argument has been defeated, yield
"support" probably means it can do what an ide would, I imagine it could do basic syntax highlighting and stuff for any language
we'll see
define native
well sublime has a rust thing but I imagine that's just syntax highlighting and basic auto complete, not really the full ide experience
I don't know of any fully fledged ide with native rust support
but jetbrains has an (official I think) plugin for rust
it's probably just integrating the jb rust plugin
I dont think its going to come built in supporting everything
does jetbrains c/c++ IDE (can't remember the name) have native rust support? or is it through the plugin
believe all jb rust support is thru the plugin
that would make sense I suppose
wth
probably just means projector support
oh I wonder if fleet will be made in kotlin/java
mainly in kotlin
@jamesethatcher It’s written in Kotlin mainly, a little bit of Rust for native parts, Skiko (Skija + AWT).
Rider? Then no. Rust is not mentioned on their website
Not that it matters anyway, they're all the same just with plugins
But yeah
No native rust support but the plugin is official so...
is using github copilot plagiarism?
Probably not
I mean it takes sample codes from dozens of millions of repos out there
I am certain It will eventually be proven that a piece of code written by copilot is copyright protected by someone else that cannot be used elsewhere
I mean, is copying a few lines of code considered plagiarism?
Plus copilot doesn't only copy, it generates some based on your own code as well
Most of my suggestions have been spot on for what I do not really taking from others
I mean that's super discussable anyways at what point code is that "special" that it can be copyrighted
like you probably can't come up with a max(int, int) method that isn't implemented in copyright protected code in the same way
Yes you could consider them "translations", but that doesn't make it yours
Maybe? I feel like it depends, for example the whole // method that does x given y and it generates the entire thing and you leave it like that exactly how it is, i guess it could
But the general suggestions that are based your own stuff probably not
This is pretty hard to say though but i guess if someone has issues with it they can probably opt-out from copilot? Idk
by using github you give some rights to github to use your code
can't remember what rights specifically
but perhaps they cover github copilot
https://docs.github.com/en/github/site-policy/github-terms-of-service#d-user-generated-content see here for said rights
IANAL so i'll make no attempt at interpreting them with the context of github copilot
big brain people #development
sir this is #dev-general
Not configuration help
LOL
lol
YES IT IS
for bedrock?
java
whatt
?
ugly
I hope it's better on 2022 
why is it so dark wtf
literally anywhere?
Seems fine for me
wat 😳
I swear to god this is the old community edition one that they changed.
whats this do
Patching net\minecraft\world\level\WorldAccess.java
applyPatches.sh: line 2: $'\r': command not found
Rebuilding Forked projects....
applyPatches.sh: line 6: $'\r': command not found
applyPatches.sh: line 7: syntax error near unexpected token `$'{\r''
applyPatches.sh: line 7: `applyPatch() {
'
Error compiling Spigot. Please check the wiki for FAQs.
If this does not resolve your issue then please pastebin the entire BuildTools.log.txt file when seeking support.
java.lang.RuntimeException: Error running command, return status !=0: [sh, applyPatches.sh]
at org.spigotmc.builder.Builder.runProcess0(Builder.java:953)
at org.spigotmc.builder.Builder.runProcess(Builder.java:884)
at org.spigotmc.builder.Builder.main(Builder.java:683)
at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:27)
What the fuck
You gotta use git bash to build on windows
Or change the line endings to support windows if you want to use PowerShell
curious how long it'll take to compile buildtools, does it tell you the time at the end?
https://www.jetbrains.com/idea/whatsnew/
IntelliJ IDEA 2021.3 brings a new, faster way to diagnose and fix issues that are causing your IDE to not work properly. If your IDE isn’t working properly, invoke the new Repair IDE... action from the File menu. It will guide you through a sequence of steps to troubleshoot some of the most common problems.
I just run a alpine docker to build it all in ~1 - 2 min and just copy the files out
It's literally just Alpine but I manually do apk add openjdk17 and git
And then clone and run
I never like installing maven shit, because of fear of clutter
thats where docker shit is nice ig
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Spigot-API 1.18-R0.1-SNAPSHOT ...................... SUCCESS [ 21.925 s]
[INFO] Spigot-Parent dev-SNAPSHOT ......................... SUCCESS [ 0.016 s]
[INFO] Spigot 1.18-R0.1-SNAPSHOT .......................... SUCCESS [01:32 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:54 min
[INFO] Finished at: 2021-11-30T19:56:13+02:00
[INFO] ------------------------------------------------------------------------
1:54 mins for my shitbox
but thats only 1 part
??
this was clean
Aight running again with time java -jar BuildTools.jar --rev 1.18 lets see
Error: Unable to initialize main class org.bukkit.craftbukkit.Main
Caused by: java.lang.NoClassDefFoundError: joptsimple/OptionException
ggwp
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Spigot-API 1.18-R0.1-SNAPSHOT ...................... SUCCESS [ 17.909 s]
[INFO] Spigot-Parent dev-SNAPSHOT ......................... SUCCESS [ 0.003 s]
[INFO] Spigot 1.18-R0.1-SNAPSHOT .......................... SUCCESS [ 54.684 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:12 min
[INFO] Finished at: 2021-11-30T18:00:10Z
[INFO] ------------------------------------------------------------------------
oh xd
xd
wait maybe that's just dashflo
it added spaces after my maven so i didnt see the time
imma try locally
i didnt think it had one
it did this shit
so i thought no logs from maven
till i scrolled up
you're hella active in sys 😂 I only just joined there recently
Ah ye
I actually wonder if neofetch is telling the truth
Says I'm using 5gb ram, but I have discord, tableplus, figma, a debugger, brave, apple music, terminal etc

seems like its overestimating my ram, unless swap is part of that
anyone else getting this?
no, #macmasterrace
You have a good damn CPU then lol, I just tried again, deleted all files in the BuildTools folder, but didn't delete my .m2 this time. I get:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Spigot-API 1.18-R0.1-SNAPSHOT ...................... SUCCESS [ 3.111 s]
[INFO] Spigot-Parent dev-SNAPSHOT ......................... SUCCESS [ 0.004 s]
[INFO] Spigot 1.18-R0.1-SNAPSHOT .......................... SUCCESS [ 14.786 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.952 s
[INFO] Finished at: 2021-11-30T18:11:48Z
[INFO] ------------------------------------------------------------------------
Seems like belongs you don't delete your .m2
then builds are quick as fuck
it's very surprising - it used to take minutes before
I assume it was all the shading + relocating
Yeah, some crazy optimisations
that duration before held me away from doing it
I used to use those sites instead
🥶
I now wonder, with the 1.18 shit in my .m2, I wonder what 1.17 would take, you should give it a shot, what cpu do u have
really good only like 30s
how can i put a clock on this? %server_countdown_30.11.2021_13.00.2021%
I have an i7 7700 -- I'll see how much it takes
fucking hell
I think I got it in 2017? It's still as a beast as new
🥲
cpus last so long these days
u guys just using spigot rc3 for 1.18 or has spigot officially released it yet? for buildtools
With my .m2 undeleted, 1.17.1 took:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Spigot-API 1.17.1-R0.1-SNAPSHOT .................... SUCCESS [ 3.750 s]
[INFO] Spigot-Parent dev-SNAPSHOT ......................... SUCCESS [ 0.003 s]
[INFO] Spigot 1.17.1-R0.1-SNAPSHOT ........................ SUCCESS [ 21.882 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.683 s
[INFO] Finished at: 2021-11-30T18:18:26Z
[INFO] ------------------------------------------------------------------------
thats using 1.18 built libs in .m2
aaaaaaaaaa
holy shit. went on spigot, a lot of notification all being 1.18 support xD
I was a windows guy up until recent, then went to the dark side, I never played games, so didn't see the need
😬
lol whos code is that
i was thinking the same thing
@static zealot yes
if pyramid
duel me
More than 1 already feels too much
The point where you are able to realize there's a better way of doing it is when it needs to be fixed

Somebody had the audacity to come into my plugin support server and demand I release the 1.18 supporting jar for one of my plugins immediately
right click -> ban
paper isnt even production ready like wtf??
like bro chill the update has been out for an hour
wow what a wonderful idea
thank me later
depending on the size of a plugin it could take hours, even days for a update to come out depending on what the dev is like but still, an hour after release is like too much
Well I do already have the update done
But I feel like delaying it more just to spite them now
id say release it anyways, not much point hurting the majority because of a singular
reminds me when 1.14 came out, md5 was like "you whole lot DEMANDING spigot 1.14 to come out now is enough of a reason for me to not release it"
can't even use it yet because it requires a dependency on a hologram plugin smh
I might need to go update HolographicDisplays again
what do you guys think about Decent Holograms?
I already added support for it, I like it but them updating the API every 2 days is hella annoying right now
sexy
well. I know your opinion. you told me about it. lol
I want others opinion
xd
decent holograms isnt just a holographic displays fork is it?
nop
hope its not too difficult to support
what the fuck
they use lombok tho
😵💫
that's enough of a reason to not even look at it anymore
lol
||yes. its a joke. in reality I am a fan of lombok||
80K requests in 30 hours! We’re humbled. Thank you!😊
Our goal with the Preview is to attend to all the feedback we get, and since Fleet is still rough around the edges, we expect quite a bit of it!
We’ll be sending invites as we become ready for more feedback. Please be patient.
232
Ooh shit this is actually pretty nice addition to the IDE ;o
yeah. not that it'll help me but beginners might like that
is it really just me that disables all those little hints and things?
nice
they annoy me lol
yeah probably. lol
I even turn on a few additional hints
is there a way to refresh gradle dependencies.. but just one?
i have a relatively large project and it takes ~2 minutes for it all to refresh 😩
(for snapshot dependencies)
Is 1.18 out?
ye
Yer l8
😮
that sounds awful
it's fun
i dont even like coding one day a month,
legit a developer that hates doing the actual code part of the job
well
i just like seeing it function
that's all developers
true
my sb plugin has been delayed so much
not because its difficult but because typing everything out is a ton of work


i love discord web app so much
want to move a channel's location? no you cant
you're uploading it as an attachment
@quiet depot mind telling me how you make sure that only the user that used the d; command can change the page / delete it? Do you just read the footer where it says who requested it?
yeah. well its a lot xD
nah its fine. I Can do it. am already on the github page
You'd think the person who wrote it would be faster
and the person who wrote it just got to his pc
give me 5 secs
@static zealot check BotCommandHandler
there's an expiring map, Map<String, Entry<String, String>>
that entry could be replaced with an obj if you wished
probably should be
Map<response id, Entry<request id, user id>>
Ic. so after 15 minutes or a restart an embed is just not going to work anymore?
well the pages
all interactions die 15 minutes after last use
interesting. I always thought they work forever. idk why lol xd. Could've probably just searched for an old DocDex message to test xD
ty
the trash icon is actually applied to every command ran
yeah. noticed that
the pagination is done in the command itself
yeah the only reason I need this is because I'm working to make a pagination for my queue command but now that I think about Rythm was working the same way. well a bit different since it was also removing the reactions
yeah. I saw that. went thru the entire code xD
btw that pagination thing is pretty isolated I believe
if you want to use it you should be able to rip it out fairly easily
doesn't seem to depend on anything else in the codebase apart from an emote util
I was going to make my own. but ty. (tho yours is always going to be better than anything I'm going to try and do)
👍
thank you btw
np
yes!
do we have a leaderboard this year?
maybe i should try aoc this year
The last one is still active I think
Leaderboard code for anyone who wants to join 1267682-046a1364
same 😦
how do I type this in again//
xD
I think I Joined
yup
no idea where I can see the leaderboard
how
xD
how is that bad
🥲
cum joke
he's too innocent
Gottem
wait. so I go to Calendar right? and chose every day I want to complete (as long as their unlocked) right?
oh I remember
I have to find the answer
and submit it
mhmm
pretty much
xD
lol
Haskell time
After the first week they get hard af
Not anymore
shiz
D:
how do I update gradle again?
sdk install gradle 7.3
Oh they updated paypal, ew
do they still discriminate against minors
ye
fuck paypal then
I've actually not been using paypal for a few months now, and I can say my life has been a lot better
what u been using?
My bank
sounds dangerous
lol
Not really
I'm not 12 so I don't really care about people knowing my identity, and it makes it easier when it comes to refunds and shit
when my friends pay me for stuff I like to scare them with direct debit
they give me their bsb & account number and I just pull the money out for them and they're like wut
However I did get charged 140 into negative on friday cause the bank system got fucked so waiting on that to be resolved lmao
that sounds fun
welp. time to wait 15 hours
I love how it makes me feel like I'm smart even tho its one of the easiest things ever all this just to completely destroy me after a week or so xD
i started the 2nd part of day 1
my brain instantly started to break
numbers in programming always get me lost
not that hard. its just one loop like part 1
don't have to imagine. already did it
Did you use haskell?
If so how did you do it?
sliding window was easy in a functional way but keeping track of the previous one, not so much
Yes
relieved
One sec let me push it
@prisma wave https://github.com/Vshnv/aoc-2021/blob/main/day01.hs
Also, @obtuse gale Mitten when?
damn
🥲
Piss the bed? Sad
why? not its a lot warmer. it feels very nice
I see
nah. its not
i was #195 on part 2 day 1 in aoc, took me 3:16 to complete
well. youre not in the helpchat leaderboards so sucks to be you xD
1267682-046a1364
wait. I'm a bit confused. what's up with this?
oh. you get points
Ic
because I knew its not the number of stars
Ic
Helps please
with?
Amino kick off ban again
not sure I understand
I try to be nice not mean to be all the time and time again.
Amino ban me again against it too!
Can i make 1.18 plugins with java 16?
Ij screams at me when I try to use gradle with java 17
just update gradle
7.3
What are you talking about?
You need to either stop using something or take a good sleep smh 😔
so true
Is anybody else dealing with Problems getting the 1.18 API via gradle?
> Could not resolve org.spigotmc:spigot:1.18-R0.1-SNAPSHOT.
> Unable to load Maven meta-data from https://mvnrepository.com/artifact/net.md-5/bungeecord-api/org/spigotmc/spigot/1.18-R0.1-SNAPSHOT/maven-metadata.xml.
> Could not get resource 'https://mvnrepository.com/artifact/net.md-5/bungeecord-api/org/spigotmc/spigot/1.18-R0.1-SNAPSHOT/maven-metadata.xml'.
> Could not GET 'https://mvnrepository.com/artifact/net.md-5/bungeecord-api/org/spigotmc/spigot/1.18-R0.1-SNAPSHOT/maven-metadata.xml'. Received status code 403 from server: Forbidden
I speak German, what's up?
Du bist aber kein dev bro brauch ein dev der eventuell ein server löschen kann.
Dev steht für "Developer", "Bro". Zum löschen eines Servers muss man weder Entwickler sein noch die Dev Rolle im Discord haben. Aber wie du möchtest. Schönen Abend noch 👍
ah sry dann halt ein entwickler bro sry
Hey guys, Im coding my own core plugin, and I just need some ideas on what I should add (please ping me)
As somebody who did that recently: Don't. It's a pain in the ass
Not really it's going smooth and easy for me tbh
I mean
I haven't done some complicated stuff ig
But if you need inspiration here's a few topics I included in my core plugin:
command handling
config handling
database/data management handling
gui api
localization handling
custom logging api
permissions handling
statistics
inter-plugin-communications api
plugin auto-updater service
webserver framework
So when my other plugins deal with any of those topics, they defer them to the core plugin to handle
And only add specific functionality when needed
Oh wow, thank you man
Almost 25% of my plugin users are already on 1.18, didn't think they'd update so quickly 😳
man I'm so in love with copilot
I accedently wrote something in one codeblock, and had to move it to another.
It automatically copied it, made the variables needed for replacement, added more null checks, and refactored it to work with the new event
Very nice.
Some plugins will already work on 1.18. You'll just have to test them.
Yeah 1.18 didn't change a whole bunch, unless there's NMS, reflection, or biome-specific stuff, it would probably actually be fine
I’m trying to learn NMS but idk how, I found some paid courses on the web but I don’t know if they worth the price. Is there something free to learn the NMS basic from 0?
I already know very well how to program with Java and with the bukkit api
But I’d like to learn NMS. Is there some good documentation?
no
nms doesn't have any documentation
your only hope is looking at people's posts when they asked for help
and trial and error
also use the mappings so you get readable names
Is there some explanation about mappings?
How can I apply a mapping to NMS?
Ok
but mine****** is the goat!! so many reviews /s
lol
Why would you want to learn NMS instead of using something like ProtocolLib and the existing methods from spigot
Because you can’t do everything with protocollib
There are things like pathfinder that you can only do with NMS
Oh
Or with paper api
but then they'll only work on paper. (which is also a positive lol)
protocollib is also bad on performance, and IMO not good to be depending on that plugin
paper has the higher market share anyway by a lot xd
well as I said it is being on paper alone is a positive lol
@winged mica For NMS stuff, the latest versions (1.17+) have tools available so that you can develop against a Mojang mapped JAR, which is definitely what you want. For Maven, see SpigotMC's latest 1.18 post, and for Gradle, you can use paperweight's userdev, which is done something like this: ```kotlin
plugins {
id("io.papermc.paperweight.userdev") version "1.3.1"
}
dependencies {
paperDevBundle("BUKKIT_VERSION")
}
You'll also need to add the PaperMC repository as a plugin repository for paperweight, which you can do through settings.gradle.kts, something like this: ```kotlin
pluginManagement {
repositories {
maven("https://papermc.io/repo/repository/maven-public/")
}
}
This MUST go above where you set the name of the root project.
You also need to have the build task depend on reobfJar, but you should know how to make tasks depend on each other if you know Gradle.
Oh, and this one applies to everyone that may be trying to use this as a tutorial: if you're even thinking about doing NMS on earlier versions, just don't.
That was a lot to write on a phone lol
I’m guessing this gives you the jar with the already replaced variables?
reobfJar will re-obfuscate the JAR for use with Bukkit's shitty mappings
But you get to develop using the best Minecraft mappings there are: the original ones
or you could ditch Bukkit and use Krypton, where you can just depend on the open-source server and work with that directly
Ah yeah, so essentially you get to work with the actual MOJANG mapped variable names, like “player” rather than “a”, but it’ll reobfuscate when it builds the jar?
Yes
That’s so nice tbh
Yeah it is
Know what's nicer though?
Krypton's open-source server that is published to a repo and directly dependable :)
Copilot just came up with the name "The Shield of the King" for a special shield item I was working with...
that was litterally one of my ideas
I'm scared now /s
Ive been on the waitlist for like 2 months and still havent gotten it 😩
though ig some people have waited a lot longer
ye, I'm still going to the therapist since the "command manager" incident with it
lmao
Hey you guys got any tips for hardening a Linux server installation? I need a 10 step checklist and I have 5 right now lol
SOO bassicly nametagedit is not working, is there any way to put someones rank above their head like hypixel?
- physically disable networking
- physically disable io
- put computer at bottom of mariana trench
idk there's 3
need 2 more
Imagine having IO
Pure computations wouldnt have this issue 😌
Does deluxechat have developments builds just like others? (ping me if you gonna reply this message)
@solid flax it does, accessible in the deluxechat channel
alright
How do we get verified
With the /spigot command in #bot-commands
Aoc any fun this year or nah?
oh. I Completely forgot lol. only did day 1
yo
i wanted to use the bukkit.scheduler method
i could find only upto versions 1.15.2 when i tried to add bukkit as a maven dependency.
will it work cuz i want the plugin in 1.17
Most likely
The scheduler hasn't changed pretty much since its inception
A couple things were added in 1.13 and that's it
ok thanks
The Fun module is disabled in this server.



