#dev-general
1 messages ยท Page 137 of 1
add daddy command back 
Nope
Ecloud api wrapper
daddy, maybe
we have
brigadier hard no.
I feel you Sx :,)
Does it properly complete half words tho
That's the real question
(as in when typing)
๐
Sx, cOlOrrrrrrrr
fuck off
no
brigadier isnt even in older versions, its stupid to have that
Uhhh
Why are spaces allowed in expansion names?
uh
?
From what version does brigadier exist?
o
gradient tab complete
1.13, I think
ah
Very good work sxtanna
Looks like a good update
One could argue, the best update
Sx, if I add the colored commands, will you clean it up? 
๐
Rude af smh
No, not rude. Smart.
Nono, very rude
The command system in papi has been trash for WAY too long
Have you seen the latest one tho :(
Yeah... all that completion code, and it just doesnt work
It worked fine for me shut up, y'all just don't know how to use it 
ยฏ_(ใ)_/ยฏ
Can't shout here so bold it is
holy fucking shit I just got discord oauth redirect thingy to work I can't believe it WOOOOOOOOW
What was the issue in the end?
idk
Oh ok
xD
I followed a tutorial for GH and changed the last bit of it
http.antMatcher("/**")
.authorizeRequests()
.antMatchers("/", "/login**").permitAll()
.anyRequest().authenticated()
.and()
.oauth2Login().tokenEndpoint()
.accessTokenResponseClient(responseClient)
.and()
.userInfoEndpoint().userService(userService)``` so now it looks like this
And it works
I'm not complaining
๐
I recently also set up Discord Oauth2 for a project (which was pretty simple) but for some reason every endpoint still throws 401s at me
But that's probably an issue with the way I do http requests
Did you edit the headers of the request?
Like I have to edit the headers of the request for it to work
nice Spring flex right there
no I didn't
Ok fine, you wrote BardyBot in Spring and I copied it and forced myself to sort of learn it
it was your choice to copy my code
wdym
$1 a month is a great deal
lol
well, it's better than my grand total of fuck all/month
Sorry, I forgot on this one there's no "u gotta be on our server for 6 hours a day, oh and we aren't gonna pay you shit boi"
just ur leave ur pc afk for the 6 hours per day
i promise it wont cost more than the electricity bill
dont decline commissions then
I need to start doing those VPS sety upy things again so you get free money don't I?
yeah
also btw you never paid me last time you said you would xD
probably doesn't remember lol
Oh the PLAN thing?
Did you edit the headers of the request?
@errant geyser I didn't use Spring, but I'll take a look what the library I use sends as headers
That was literally impossible, I asked a PLAN contributor and he told me straight up it couldn't be done, so that fell through Bardy, otherwise I would've
haha fair enough lol
also you know literally no one contacts me about VPS things
all I get is BS like "come work for my new server! we're mirroring Hypixel Skyblock!"
that's a brilliant idea
You know how many "come join my service team! We only take 50% cuts!" I get?
and man be like "I ain't doing no shit like that"
BomBardy wanna join my team? just started it
sure
and the plan is to mirror hypixel
changed my mind, no chance
You got baited there

You got baited there
thanks Captain Obvious
everyone can join my team but you guys have to pay me a monthly fee.
er... no
๐คข
oh fuck off
Ill pay you -100$. k tnx bye
please fix it code for me!
lol
code
The old trick. Pay
๐
-MONEY
I'll pay you $100/mo, only payable after I die
to take my money
โ
code
it doesn't even make sense in English, let alone that total BS
used to do that on servers that had essentials xD
dk if it worked in essX but on the old one it did
for a long time
i think they fixed that
they did in essX
hey guys, I just bought a premium anticheat that was made in skript, hopefully it detects 3.5 reach this time!
lol
does it listen to the PlayerCheatEvent athlete?
whyyyyyyyyy
whyyyyy :(((
oh please don't tell me there's actual anti cheats written in Skript
I contacted for the premium version ๐
how can u even make an anticheat in skript
if player cheats then ban playeR?
@obtuse gale You have made a severe and continuous lapse of judgement by posting that here.
๐
I have made a severe and continuous lapse in my judgement
I hope some of you get that
ofc
yup
I swear if this is actually a Skript anti cheat I'm done
someone load it up 
see if it detects wurst 
Somehow players who have 80ms jumping are setting off fly false positives, and players who are fly hacking are not getting detected! wtf man, I switched from Verus Premium to this, expecting better...
from a skript?
Do I hear CRUSADE
xD

omg I'm done
haha
this "anti cheat" is actually Skript
Wait really
Send cod
Bye
it destroyed my pc
I can see that the original was rewritten
here if anyone wants his pc to burn https://paste.helpch.at/verebeworu.pl
I have never wanted to stab myself in the eye with snapped guitar strings more than I do right now
I'm fucking done
Was it bad I bought the premium version? ๐ญ Now my players have infinite killaura, and I can't stop them.
wait what
so he gave bardy the "src" but in the config ur not allowed to leak?
oh 
wait go to the page
wait but is the premium version included in the free version or what?
this should be a crime, wtf man ๐ญ
because what I just gave you guys and had that anti leak thing was the one from spigot
HAHA
ffs
these guys man
like WHO TF builds a fucking anti cheat IN SKRIPT?!?!?!?!
Note that is only a project and is not supposed to be used instead of a plugin if you are not on minehut. (CLICK ME FOR A LIST ON ANTICHEAT PLUGINS)
bruh skript anticheats wtf
BetterBubble is not perfect and has false detections
amazing
well I mean, idk what people expect
what did you expect from a fucking Skript plugin @obtuse gale?
its not the best but with a few tweaks it will be 100% better than this skript
wait u guys know im trolling right ?
yeah I kinda guessed that
ok good
fuck sake barry
I cannot accept that a human being is stupid enough to actually pay money for that shit
fast | tps friendly
lol
this is a must for any anticheat
xD
look at the "Source Code" box
its just a discord link ๐
do these guys know what "Source Code" means?!?!
MUST HAVEโ
in before he makes a github and adds the source there ๐
donation link is a discord link
also, theres 2 contributors kek
๐
this kid wasted his time making a SKRIPT, art, a discord server
one of the contributors is himself
and he found another kid to help him
nice art
kinda disappointed he spent that much time making a skript anticheat, when he could be learning java ๐คทโโ๏ธ
then he decided "hmm this is incredible let's release, this can change the world"
Reverse image search it someone
this kid wasted his time making a SKRIPT, art, a discord server
this is why I chose to go in to programming
Imagine its not his screenie
human beings man
I once jokingly said "learn java, skript is for babies"
a guy created a whole THREAD
I asked "is this a joke?"
"learn Kotlin, Java is for idots" xD
lol
not the C word ๐ฌ
:oshit:
@prisma wave get the fuck up right now
What
nononnonon
there's circlejerking to do
๐ฌ ๐ฌ ๐ฌ ๐ฌ
this guy made a fucking anti cheat in Skript BM
Don't you mean
Clojurejerking???
:)
OMG
The kotlin circlejerk is dead
yikes
lemme open this crap with notepad++
and they actually do a fucking premium version as well
nah, for the source code u gotta open it in IJ 
๐
this should be against spigot rules ๐ญ
^^^^
if player is cheating: kill
considering all the features I can assume skript is pretty intensive
Skript should've been nuked like Pixelmon was a few years ago
This is basically a scam if anyone buys the premium shit
kaliber
"basically"?
You know what you have to do
๐ฎ what did u say about pixelmon
just remove that word Yugi

This is
basicallya scam if anyone buys the premium shit
pixelmon was good man ๐ญ
yeah that's the main difference
It was meh at best
Pixelmon didn't deserve to get nuked, Skript does
Skript deserves to be one of those things that's just put in the trash and never looked at again
Wdyk pixel mon got nuked?
also, did you see this guy's name btw
pixelmon wasn't bad

pixelmon wasn't bad
as I said, main difference
the thing is Skript kiddies think they're coding hard
look, this guy calls himself a "Developer"
They are not considered developers
they just configure a plugin
technically
skript kiddies get angery when we say "you're not a true developer, go learn java"
also btw, BM, what do you use for screenshotting?
because I've started using Flameshot, and it's brilliant
does sharex not support linux?
sharex is great
nope
oof
pretty sure emulators exist
been using gyazo since day 1, should I switch?
yes
Flameshot > ShareX imo
7 second gif recording ๐คฎ
I started with lightshot
all i care are taking screenshots ๐คทโโ๏ธ
eh then ig its ok
ew sending links
Flameshot > ShareX imo
@jovial warren I need to correct you. this is a wrong statement. The correct statement is!(Flameshot >= ShareX )
Before I was using Screencloud but that's kinda buggy
lmao yugi
I wanted to try out the package manager and WSL
you've betrayed your kind
hes thinking about it ๐
I guess atleast the dude didnt go on about skript
120gb gang?
wait i just realised his name is Developer on Earth in discord ๐คฎ
why can one not just do what I did and say "fuck Windows, linux is my one and only operating system now"
seems legit
I'm gonna do that
just waiting for my gpu to arrive
to finish pc
Will use manjaro
idfc if something doesn't run natively on Arch, I'll make it work
anything to stop me going back to Windows man
Pixelmon is still active btw, literally playing right now with gen 8 stuff in it
no one
I didn't pay for it @quiet sierra
my laptop came with it
no one pays $100 for windows lmao
gray market sites?
ez ebay
but then again, my pc came with windows so i have a premium key
yeah but if stuff like exe files annoy me
idfc if something doesn't run natively on Arch, I'll make it work
@jovial warren
Good luck getting DRM infested games to work
Idk
wot
Fortnite (trash)
COD (don't play)
but I don't wanna redownload 500Gb of games only for them to not work
Proton makes pretty much anything work
as long as you're being smart and using Steam BM
You can't have everything on Steam
And speaking from experience, some things run better on Windows
people are going away from steam now i think
unfortunately, due to less people using Linux systems (and so developers just not giving a shit), that is true BM
with the rise of epic games, uplay, etc
I don't see the point in this "us Vs them" attitude. I find Linux more comfortable for development, but I don't have big enough of a superiority complex to just never use Windows again
ye idk what to call it
I don't use Linux because I have a superiority complex, I use Linux because I hate Microsoft and their "our way or the highway" business model
and because I'm a huge advocate for open-source
You can like open source without boycotting an operating system that is objectively better for gaming and office use
I think more should be OS, but I will still use proprietary software if it's genuinely better than the alternatives
it's objectively better for both of those because developers don't give a shit about supporting Linux, and also because Windows was there first and so more people trust it
I will always use a (subjectively) better open-source alternative
I just despise "our way or the highway"
that's not really a thing though
Use our stuff or frik off
For one thing, Microsoft have no reason to support Linux but they still do with a lot of their programs
Use our stuff or frik off
pretty much
For one thing, Microsoft have no reason to support Linux but they still do with a lot of their programs
like what? literally nothing business-wise and most stuff client-wise has no support for anything other than Windows
It is
wait what?
definitely not something I'm going to use since I hate it's commands but I guess it's good to know
My point is that no entity has an obligation to support things that are literal competitors, so I'm not going to boycott them for just running a business
^^
fair enough
its like steam saying to use epic games
Exactly
๐
Of course they're only going to support their platform
But I mean, the stock Android apps don't support iOS. It's the same principle
true
if individual developers want to support multiple operating systems, that's their choice, but I'm not going to fault them for only supporting the version they're most familiar with
The same goes for plugins supporting 1.8
Lol
Fuck1.8.jar
i hope not
1.8 is good since it's low-performance and you can easily use something like viaversion to allow the later versions to join
perfect for hubs
tbh if servers still supported 1.8, I'd personally still be using it
Exactly. Each option has different things that it's good for
Linux for development all the way, but windows for games and school things with Office
true I guess
I mean, I still use Arch for gaming (though I do barely any of it these days), office work (imo LibreOffice is better and easier to work with than Microsoft Office), and programming
idk
the main reason why I setup Prevarinite in the first place is because of my vision of a world where high-quality software doesn't have to be paid any more, where anyone can just go in and do what they want with it
if I didn't have to make money to live, I simply wouldn't
As long as Arch can run Valorant, r6, csgo, rl, minecraft, factorio, gta and a few others I wouldn't mind switching, but if I did my parents would slaughter me since apparently they need to be able to use it, even though it's my pc and they never use it
yuck valorant
But csgo will always be better
also, if you use a decent Desktop Environment, it can be easier than Windows
X
anyway, the reason why I don't want to have to earn money from my work is because it just doesn't sit right in my head, my self-esteem and belief in myself is so low that I don't believe that anything I make is worth being paid for
if I didn't have to make money to live, I simply wouldn't
Technically we dont have to live, so technically we dont have to make money
Thank you
boom boom
and we all dead
I can finally rest in peace knowing I accomplished discord oauth2
I'll push it to my GH tomorrow in case you get stuck ๐
tell me btw guys, is it worth me creating a new repo for BardyBot's site and API stuff? or should I just split it in to modules
wdym "all in one"?
you probably want the site and bot running as separate applications (well at least, I do lol)
The panel and bot are all together, just the panel is separated by a panel package. I dont have them running as seperate applications since I want interop eventually
Easy interop*
wdym interop?
also, you ready for something that might break some shit btw katsumag?
As long as Arch can run Valorant, r6, csgo, rl, minecraft, factorio, gta and a few others I wouldn't mind switching, but if I did my parents would slaughter me since apparently they need to be able to use it, even though it's my pc and they never use it
@errant geyser (doing full quote for XP lol )
Arch is an awful choice for a first distro
^^^^
It is notoriously difficult to install
Took me about 3 attempts
But that's with ~2 years of Linux command line experience lol
I didn't even have that when I first installed Arch, I just had a friend who had been using the OS for god knows how many years telling me to read the fucking instructions lol
Lol
probably you tbh lol
check blame
I didnt write that fucking shit
what be wrong with it matey?
RYAN
wait hold on, is he paginating there?
so literally anything larger than 0 items is put on a single page
ffs
Dude... its literally just (size / pageSize + (size % pageSize == 0 ? 0 : 1))
wtf is that line
That does the same thing that entire method does
clojure ftw*
can't you chunk maps?
actually that's a stupid question
actually, no such thing as a stupid question, just a stupid idiot asking the question
The goal of this is not to chunk the map, its to find the minimum amount of chunks required
I swear this kid
can't you just chunk the map and then count how many items are in the paginated list sx?
Oi this is old code!
When its just simple math
You Americans and your math
nvm I got it
maths you mean
also, (size / pageSize + (size % pageSize == 0 ? 0 : 1))
so it takes the total size and divides that by the page size to get the total number of pages, then adds 1 if the remainder isn't 0
maths you mean
Bardy I was pointing out they dont have the s, which is r/mildlyinfuriating
This is what I do to calculate that on my GUI lib
(int) Math.ceil((double) pageItems.size() / pageSize)
hey maths is hard for some people
@ocean quartz That is better, I'm taking that
holy fuck what is that @topaz bay
My latest NIGHTMARE
A LinkedHashMap would be more suitable there right? (instead of HashMap)
java ๐
wait, is that @hot hull I can see on the screen?
It really shouldnt be a map at all
The key is meant to represent the index
It should just be a list
;(
or a Set
No
what even is the difference btw?
The contract of set itself is non deterministic order
Fair, just asking because wanted to confirm if I should use Linked over normal HashMap in situations like that xD
because in mathematics, a set is a collection of data where all elements have something in common
This isnt mathematics
true
ah okay
because in mathematics, a set is a collection of data where all elements have something in common no
Can someone who has the old version of papi run the /papi ecloud list command for me please?
I dont even know what this is supposed to look like
Its just a collection with well defined and distinct elements
WAIT
I just realized this literally just throws away the int key
And sorts them lexicographically
What is even fucking happening here
Question, which style is better?
What if you want to edit the item instead?
item = new ItemBuilder(Material.SKULL_ITEM)
.name("&a" + path)
.skullhash("<redacted>")
.lore("",
"&bClick &7to toggle value",
"",
"&7Current Value: " + color + val)
.build();
you make a method that loads the builder with the item's data
you can just make multiple constructors
I am confused, what are you trying to say? xD
Plus that wasn't my question, just wanted opinion on the two builder styles
looks cleaner
My dude I know, I have different constructors that was literally just an example
second style is cleaner but I don't think static methods are good
Builders are almost always created statically
What is wrong with static methods? lol
Create one looks better
Yeah might go with that one
I feel like the word "from" is better for this
or copyOf
copy of?
yes?
why though
from is more generic that copyOf
indeed
it could be from a material, or from an itemstack
Although copyOf is more accurate as to what it actually does
but not a copy of a material
And depending on what hes doing, also most likely not an actual copy of the itemstack
Not a copy yeah this.itemStack = itemStack;
Just will modify the item if it's an ItemStack
Creates a new one if it's Material
I feel like it should clone the ItemStack rather than mutating the one it's passed
Although that's just me
niall making happy noises rn
gross
actually the clojure jokes are getting old
Just Kidding
Should've used clojure
๐
Sxtanna, why did you use microsoft brace convention instead of java brace convention?
Its concerning since the picture you posted before it uses java conventions. Are you mentally ok doing it too different ways in the same project
Allman good
WHAT
The one before was PAPI's code
Are you ever MENTALLY okay?
๐
Damn, same
@analog crater if that upsets you, get a load of this: https://github.com/PlaceholderAPI/PlaceholderAPI/compare/1815150ced22...fb8478b5a696
Allman or DIE
All men should DIE
MATT
Allman looks weird with java
Do you want to be crusaded?!?!?
Wasn't talking about the style!
ALL MEN
oh you updated it
Oh
That they should
I wholeheartedly agree
so matt, i got some nukes, would u like some?
All men should die
Allman looks fine in c#
perhaps kali
But still

Wtf is that kbr
Why cant papi collaborate properly
๐
Oh jesus
altho, what happened to making ur own papi?
Jesus. You actually know how to commit changes instead of one big "did changes" commit ๐
@analog crater I mean... I'm not an idiot...
Humble offering of 53 commits
very humble
People often seem to assume idiocy
i respect


"Rewrite system in Clojure" coming soon
NO
I'd sooner DIE
that can be arranged
i will rip ur head off
Good commits? Can't relate
Make a clojure rewrite without the annoying paranthesis
WITHOUT
That's the same as saying make a clojure without clojure
*fork clojure and remove the paranthesis
00:00 ๐
Idk ive never used
Did you mean crtl shift alt k?
crtl alt L on intellij
Except for the ironing process
almost converted my entire project to kotlin thanks
Ctrl + Shift + Alt + Clj 
shut up
Lol
Were not special and have a button on our keyboard called clj
What is likelihood of pushback if I just go ahead and merge this
Big
I have more shit to do, and I'm impatient
hot
does IJ only update 1 version at a time lol? i was on 2020.1.2 earlier today, and got an update notification for 1.4, but then it updated me to 1.3 
oof
tried 2019 version today but it was just not working with lombok
lombok
Oh no
GROSS
You should NOT have said that
uve triggered some people with that
CRUSADE
Ew. Please remove thst adware
BIG mistake
time for ban

Lombok bad, kotlin mediocre, clojure good
MEDIOCRE?
Did they pull 2020.1.4? It caused a bunch of issues.
Mediocre
NO
You heard me
take that back
idk man lombok saves me hours of coding all the time
Fuck lombok
Click the insert button in intellij if you still use java
Its trash
final jar wasn't that small
TRASH
pdm 
yeah but I gotta press the insert button 15 times
Doesnt even save files right
it's in beta
Insert button 15 times ore writing tonnes of annotations
you know you can @Getter the whole class
I HATE Lombok
I HATE clojure
It makes me physically mad
as if my code wasn't hacky
@onyx loom WHY
Lisp good
Fuck off Barry
Can we talk about Call Me Maybe
Get EโขMOโขTION on iTunes now: http://smarturl.it/E-MO-TION
Sign up for Carly Rae Jepsen news here: http://smarturl.it/CRJ.News
Music video by Carly Rae Jepsen performing Call Me Maybe. (C) 2011 604 Records Inc.
#VEVOCertified on June 8, 2012. http://www.youtube.com/vevocertif...
It's such a good song
Imagine your IDE updates and boom you can't code because the Lombok plugin needs to be updated
Lombok is a hacky patch
great song
Hry i just met you
and this is crazy
Intellij is giving you a warning
But heres my number
Delete it
FUCK
yeah but my code would be 15x longer with lombok
Exactly
can we talk about Clojure
Use. Kotlin.
NO
why not
NEVER
And 15x smaller with Kotlin lol
i dont care if it is
I'm not switching to kotlin
Use kotlin. It has so much less boilerplate
I already tried
you don't need Lombok when you have clojure
syntax is disgusting
because getters aren't a thing
just make everything public next time and I won't have to worry about getters
No bad idea
You got my attention๐
ew
ew dont be gay
sorry
gross
GROSS
Your fault
I'm only gay for people that don't use clojure

if you just admitted it's good, this wouldn't have happened
Sorry, its just not
Youโre invited to the party of the year! Find out what happened to Kathy Beth Terry in the official music video for Katy Perryโs โLast Friday Night (T.G.I.F.)โ featuring Rebecca Black, Darren Criss, Kevin McHale, Hanson, Kenny G, Debbie Gibson and Corey Feldman!
Katy Perry C...
Katy Perry โค๏ธ
She is queen
clojure ftw
sorry not sorry
Take it BACK
nope

I will fish slap anyone who says Katy Perry is shit
i bring it to u first
31 lines without lombok
21 lines with lombok
that was a 33% decrease on code size with lombok
mackenzie your music taste is shit
๐
And what... like 2 lines with kotlin?
or 1 with clojure

probably 15 lines with kotlin
Literally no
I'll make it into Kotlin
package me.illusion.configgui.data;
import lombok.Getter;
import lombok.Setter;
import me.illusion.configgui.data.configuration.Configurable;
import java.util.UUID;
@Getter
public class ConfiguratingPlayer {
private UUID uuid;
@Setter
private Configurable currentlyConfigurating = null;
public ConfiguratingPlayer(UUID uuid) {
this.uuid = uuid;
}
}
Literally 1
bruh
data class ConfiguratingPlayer(val uuid: UUID, var currentlyConfigurating: Configurable?)
๐
wouldn't that make as etter for the uuid
Use kotlin and just extend onto normal player instead of encapsulating it
no
val = final
why tf is kotlin using var and val
Why not?
val var good
Side note, its configuring
Value and variable
Because it's much better
Configurate does not mean the same thing
I meannnn
https://pastebin.com/RFHtgPtX remake this into kotlin
def and let >>> var and val
public final int number == val number and you ask why
although they're not equivalents
Crtl alt shift k @quiet sierra
bruh
A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!
Also wtf is that
That is eyesore
prints hello world
everything is eyesore if it isnt kotlin ๐
including clojure
everything is eyesore if it isnt clojure ๐
FTFY
LMFAO Illusion doesn't even have developer role
FUCK OFF
That is literally the worst thing I've ever seen in my entire life
I didn't bother to apply for it
well
Sxtanna that's a lie
I have developer role, which means I am very intelligent and therefore Clojure good
my word is law
@frail glade is it?
๐ฆ
My nickname has been set to Developer by staff :)
i can't argue with a trump gif ๐ฆ
No I meant this is worse
OH
@quiet sierra Remember this?
damn
If you scroll down fast enough, it looks like the ocean
@frail glade
commonlisp
I am starting a petition to have that image added to the faqs
If you scroll down fast enough, it looks like the ocean
@analog crater nice

@ocean quartz Are you not able to edit the FAQs?
support can i believe
He can
idiot matt ๐
It used to be a FAQ but it was removed, that's why I pinged Cube
