#dev-general

1 messages · Page 141 of 1

hot hull
#

No Aj

#

It doesn't deserve it

obtuse gale
#

Bots have rights too

hot hull
#

@compact perch fingerguns_reversed

#

Scam

prisma wave
#

What's the configuration for panel?

#

And look in /var/log/nginx/error.log

remote goblet
#

uh

#

11 directory index of home/ubuntu/html/ is forbidden, client: ip, server: oribuin.xyz, request: "GET / HTTP:/1.1", host: "panel.oribuin.xyz"

prisma wave
#

that is potentially a permissions issue

#

which is another reason you should be using /var/www

remote goblet
#

that'd make sense

#

i can use it now that i have root EmiCool

#

and we're back to where we were when we began

onyx loom
#

say sorry

heady birch
#

Repo link

#

Now.

topaz bay
#

@onyx loom How is that not nice?

#

Its objectively true

#

He has almost no contributions besides to documentation

onyx loom
#

say sorry

topaz bay
#

And he legit said to make a change whether it was unreadable or not

#

Which shows it is of no importance to him

heady birch
#

One sec I'll deny the request

#

No perms ☹️

#

@topaz bay You writing in C?

topaz bay
#

?

heady birch
#

Allman

topaz bay
#

...

prisma wave
#

Allman good

remote goblet
#

i shouldnt of considered this vps

prisma wave
#

Why not

remote goblet
#

cause you see

prisma wave
#

Oh wait

remote goblet
#

it requires a brain

prisma wave
#

404?

remote goblet
#

its gone now

topaz bay
#

Not only is allman good, but its really way better

#

😉

remote goblet
#

but panel.oribuin.xyz is the only one that works

#

but it doesnt even show ptero

#

its showing the files inside /var/www/html not /var/www/pterodactyl

prisma wave
#

Send ptero.conf or whatever it was called

jovial warren
#

oh god

#

Pterodactyl

remote goblet
#

shut up i like the design of it

jovial warren
#

yeah, I mean, it's a really good panel

#

but it's the biggest pain in the ass to setup

prisma wave
#

Not if you're me 😎

#

Did it first try

jovial warren
#

what do you use for your servers though?

#

like OS and web server

remote goblet
#

currently its saying that /var/www/pterodactyl/public is forbidden

prisma wave
#

chown it to www-data

jovial warren
#

because I use CentOS with Caddy @prisma wave , whereas you probably use what they say is their "supported software" (Ubuntu with NGINX)

prisma wave
#

uh

#

why is my software configuration important?

remote goblet
hot hull
#

8.5 mb is normal for jda right?

remote goblet
#

well yes

#

my bot is 27mb

hot hull
#

oof

remote goblet
#

so take that into thought

hot hull
#

A chonk

remote goblet
#

si

heady birch
#

Spring boot kinda beat

jovial warren
#

Spring Boot makes the 40 MB worth it

prisma wave
#

@remote goblet do sudo chown -R www-data:www-data /var/www/pterodactyl

#

I think that's right

#

Typed on mobile though

remote goblet
#

ah i know

jovial warren
#

I swear everyone uses NGINX these days

remote goblet
#

well yes

#

yeah i still same the same issue so far

heady birch
#

Engine X

jovial warren
prisma wave
#

n-gin-ex

#

@remote goblet send the error logs

#

probably an invalid config

heady birch
#

Sounds kind of cool

prisma wave
#

katsu will say that caddy's good while forgetting that he couldn't get SSL working for weeks fingerguns_reversed

onyx loom
#

enjinx

jovial warren
#

@prisma wave you wanna know who got it working for him?

heady birch
#

This shouts early 2010 web design

jovial warren
#

lol

prisma wave
#

It doesn't matter who got it working

jovial warren
#

I did lol

#

I guess he was just trash

#

because I got it working in a matter of minutes

#

it's really fucking easy

prisma wave
#

What matters is that if you have next to no idea what you're doing, then using the most supported software is the best idea

remote goblet
jovial warren
#

yeah true BM

prisma wave
#

that's it?

jovial warren
#

also, literally using the supported software means that you just have to copy and paste

#

it isn't even that hard

remote goblet
#

yep apparently

#

i'll keep mass reloading the site

heady birch
#

error.log

#

Bro

remote goblet
#

to cause more issues

jovial warren
#

/var/log/nginx?

heady birch
#

sudo service nginx status

prisma wave
#

is there anything like error-pterodactyl.log

jovial warren
#

sudo service nginx status
sudo systemctl status nginx

#

well, I suppose service is just a frontend for systemctl

hot hull
jovial warren
#

bruh

#

what are you on

#

how have you actually put up with LiteBans' shitty API?

remote goblet
#

we'll never know

old wyvern
#

if it breaks, sucks to be you :fingerguns:+

hot hull
#

I mean all that's from the actual api is the database getter, the rest is just querries to the db

remote goblet
#

LuckPerms also has a garbage api

hot hull
#

Ori not really

jovial warren
#

LuckPerms' API is better than LiteBans' though

remote goblet
#

most likely

#

anyway

hot hull
#

Yugi, but nah I should probably move it to async :p

jovial warren
#

because LuckPerms is open-source, and Lucko actually cares about other developers, he actually spent the time to make it good

#

Ruan only cares about the money, and since developers don't pay him any money to use his shit, he doesn't care

eager fern
#

NICe Frosty

#

someone finally did something with that plugin and made an addon

remote goblet
#

also yeah brister

eager fern
#

hahha

remote goblet
#

thats it really

eager fern
#

Nobody wanted to work with that plugin

prisma wave
#

is there anything like error-pterodactyl.log
@prisma wave

#

there probably should be

#

According to the config

hot hull
#

Bardy, agreed

jovial warren
#

the "Executing arbitrary database queries" part of the Wiki was where I'd just had enough

remote goblet
#

nope doesnt exist

hot hull
#

but nah to anyone actually considering using the above, if it breaks, idc

remote goblet
jovial warren
#

and the fact that he doesn't even execute the queries asynchronously on his end, he just throws an IllegalStateException if you try to execute on the main thread

#

tail -n20 error.log @remote goblet

hot hull
#

Bardy wdym, I've been executing them on the main thread, and I've yet to get an exception

heady birch
#

Ori what even is the problem

hot hull
#

Unless they're being ran async and I'm just blind

remote goblet
heady birch
#

Did nginx start?

remote goblet
jovial warren
heady birch
#

Thought you fixed it

remote goblet
#

If i had fixed it

heady birch
#

Show the pterodactly config

hot hull
#

Yea I saw, but it doesn't actually throw an exception

heady birch
#

Show the pterodactly config

remote goblet
#

Would i still be here

heady birch
#

Show the pterodactly config

#

Show the pterodactly config

remote goblet
#

Niall

#

I dont like you

prisma wave
#

You ok there niall

remote goblet
#

shut the fuck up

jovial warren
#

it did when I last tried it (admittedly, that was a couple of years ago now)

heady birch
#

ffs

remote goblet
#

anyway

heady birch
#

cant help can i

#

if your

#

your

remote goblet
distant sun
hot hull
#

Shut up weeb

jovial warren
#

yeah use a framework

distant sun
#

also, use a chain of StringBuilder#append()

prisma wave
#

@remote goblet run nginx -t

hot hull
#

Gaby, I'll clean it up in the future

heady birch
#

Are you 100% that file is included

distant sun
remote goblet
hot hull
#

Shut up Gaby

remote goblet
#

wait

#

ooof

heady birch
#

😐

remote goblet
#

yeah same thing

jovial warren
#

https://github.com/BomBardyGamer/Octo made in Kotlin ideally for Kotlin but may work with Java as well, if you care about simplicity, abstraction and automatic asynchronous execution
https://github.com/ipsk/MattFrameworkJDA for Java/Kotlin if you like annotations @hot hull

#

🙂

hot hull
#

I'm aware yes, but it's so litle shit that I couldn't be asked

jovial warren
#

you have at least three commands

#

that's more than enough for usage of a framework to be worth it

remote goblet
#

jk no dont use mine

jovial warren
#

mine was only made because there were a few features that MFJDA was missing that I needed, mostly abstraction

#

but it's now got quite a few nice built-in features to make your life a little easier

#

wow the self-promo lol

remote goblet
#

what lmao

prisma wave
#

@remote goblet try restarting again?

remote goblet
#

nope

#

ima sit on the floor now

prisma wave
#

ok

#

I can help tomorrow but I'm not at home right now

remote goblet
#

ok

jovial warren
#

I would help but idk nginx that well

hot hull
#

@prisma wave Does a normal Map filter by the alphabet, or does it keep the order shit was put into it?

jovial warren
#

what?

#

afaik it filters by what you tell it to filter by

#

wdym exactly @hot hull ?

hot hull
#

If I put let's say a, b into a map, will it sort them, or does it just keep the input order?

jovial warren
#

Maps aren't magic

#

they do exactly what you tell them

hot hull
#

Shut up weeb

#

All I needed to know

jovial warren
#

it'll put them in the order you tell it to put them in

#

if you're talking about the normal Java Map that is

prisma wave
#

There's no established contract for that in Map itself

#

HashMap is arbitrary order (based on the keys' hashCode), TreeMap sorts by key, LinkedHashMap retains insertion order

jovial warren
#

never knew that

#

the first one

pastel imp
#

soo... 1.12.2 or is 1.15.4 stable enough?

distant sun
#

Why 1.15 and not 1.16?

#

But yea, from 1.12 to 1.16 a lot of things got changed, new mechanics and such

onyx loom
#

1.15.4 kapp

ocean quartz
#

1.16 has much better performance than 1.15

distant sun
#

is there a better canvas library for java, other than java awt?

heady birch
#

Graphics2d is fine

distant sun
#

mhm

#

can I use it for a discord bot?

heady birch
#

yes

distant sun
#

kk

frigid badge
#

I've made a game once using purely graphics2d

heady birch
#

Yeah its not bad if used correctly

gusty fulcrum
#

can someone do a quote for a plugin I need made 🙂 includes the use of vault api + baltop system

hot hull
#

Sure

gusty fulcrum
#

ideal ill send document when im finished

pastel imp
#

so

#

1.12.2 or 1.16.1 for prison servers?

#

also @ocean quartz found your lib really interesting.. I have a question about it.. it's about the persistent GUI.. It's supposed to be used as like a /chest or so right? also.. does the lib fix existing dupes?

ocean quartz
#

Similar to /chest yes
And I am not aware of any dupes ;o

pastel imp
#

hmm ok

#

you said similar

#

what are the differences.. if I may ask..

ocean quartz
#

Differences is that i think on /chest you can put and take items from it, the persistent gui also allows you to set static items that can't be moved, or even have actions associated to them

pastel imp
ocean quartz
#

Oops thank you

pastel imp
#

Differences is that i think on /chest you can put and take items from it, the persistent gui also allows you to set static items that can't be moved, or even have actions associated to them
@ocean quartz so that's kinda an anti dupe too..

#

they can't move the items inside the gui

#

but they can add items/remove them

#

welp overall congrats for the lib.. after checking it.. I am sure I will use it

#

rlly simple and clean to use

#

welp I suppose it's time to change my plugins to 1.16.1

hot hull
#

@ocean quartz JDA cmd framework link, ktnx

ocean quartz
#

implementation "me.mattstudios.utils:matt-framework-jda:1.1.14-BETA"

hot hull
#

Got any docs for it?

ocean quartz
#

Not yet

distant sun
#

there's not much stuff you need to know

#

it works mostly like the mc commands lib

#

extend BaseCommand, annotate class with @Command() etc.

hot hull
#

ah okay gucci

#

and the command params?

distant sun
#

none, you have getMessage() and getJda()

#

any parameter will be an argument

hot hull
#

I'm aware how the normal one works yea fingerguns_reversed

pastel imp
#

dumb question: can I somehow make paper update when a new version is out?

#

cause I am gonna use 1.16.1 and it gets updated like.. everyday

hot hull
#

Don't

#

If shit breaks you're fucked

#

@distant sun Got any projects which use matt's lib which are os? fingerguns_reversed

#

Assuming ArcaneStats uses it

distant sun
#

no it doesnt

hot hull
#

dissapointment intensifies

distant sun
#

what do you need help with

hot hull
#

How do I get the member which executed the command?

#

Do I just do what I'd normally do for a command sender?

#

(but just replace it with a member)

distant sun
#

getMessage().getAuthor() ?

hot hull
#

Oh shit, thanks fingerguns_reversed

errant geyser
#

Use Bardy's Octo command framework

#

Ez clap

pastel imp
#

If shit breaks you're fucked
@hot hull what if I download a shity version already lol

#

I currently have the latest

#

lol

hot hull
#

Fucked as well fingerguns_reversed

pastel imp
#

welp

#

what do you suggest to not be fucked?

errant geyser
#

Manually download it after waiting a little bit to make sure it's not fucked

pastel imp
#

ok makes sense

#

also anyone fucking knows why every time I log in to spigot it asks for a code cause of 2fa

#

but why tf do I need to login each time

#

doesn't it store the data?

#

shitty chromium

harsh talon
#

Any devs got faction server experience

lavish notch
#

Ask your question.

harsh talon
#

Just looking for a dev who isnt flacky and has some experience

pastel imp
#

I am curious.. what's "flacky"

#

?

prisma wave
harsh talon
#

Flacky is someone who you cant depend on and falls apart 😂

rotund egret
#

Flakey?

errant geyser
#

Flackey makes me think someones being shot

pastel imp
#

lol

harsh talon
#

😂

pastel imp
#

question.. if I use hex in 1.16.1... what happens if a player in an older version sees the colors?

#

will they translate to the "default" colors

#

or will they maybe just be black

#

idk

lavish notch
#

Translated

pastel imp
#

hmm so if I have a color near RED

#

it will translate

#

?

pastel imp
#

Welp questions before I go sleep:
Waterfall? Bungecord? Another one? Which is the best for a network?

Also.. heard about a paper fork called tuinity.. is it rly that good? Or should I stick with paper?

frigid badge
#

Velocity is bae

pastel imp
#

That doesn’t rlly answer the questions though

distant sun
#

Waterfall is made (maintained?) by paper team si I expect it to be good.

#

and from what I have heard, Tuinity is pretty good.

pastel imp
#

So you would recommend using waterfall and tuinity?

#

The other thing is will spigot/paper plugins support tuinity?

distant sun
#

tuinity is a fork of paper so most of the stuff should work just fine

#

I'm not experienced with bungeecord, sry

#

last time I tried to setup bungee I had problems with lp and mysql 🤣

lavish notch
#

What hosting were you using?

#

Gaby

distant sun
#

but I have to learn how to use it =/

#

sparked

lavish notch
#

Kek

#

Won't be surprised if they databases are shit

#

I've used multiple hosts, and each one had the same issue with their databases

pastel imp
#

Shitty thing is tuinity isn’t developer friendly

lavish notch
#

For security reasons

distant sun
#

what issue molloy?

#

how do you know, Afonso?

lavish notch
#

Connection issues

distant sun
#

ah

pastel imp
#

You gotta build the jar your self that’s the first thing and seems like it only supports maven

lavish notch
#

Every connection timed out after less than a day

distant sun
#

you can download the jar from ci.

#

for real molloy

lavish notch
#

Yes

distant sun
#

is there no fix though?

lavish notch
#

It's a simple fix in the sql config

#

Because every host is like nah, that's a security issue

#

*but

pastel imp
#

Nha to use it in your plugin you NEED to build it yourself and it ONLY supports maven

#

Welp time to check if waterfall is maintained

distant sun
#

that's not true Afonso

#

gradle uses maven repos

#

anything that provide a repo can be used on gradle as well

pastel imp
#

Tuinity doesn’t provide a repo

#

I think

#

That’s the issue

#

Yup there isn’t

distant sun
#

then install it to your local repo

pastel imp
#

Idk where tf that is lol

#

It’s 3:24

#

Me don’t even know what a pen is

#

Gonna sleep

remote goblet
topaz bay
#

absolutely not

#

Are you not able to just tell whatever webserver youre using to forward the panel subdomain to ptero?

regal gale
#

Wait a minute.. ik that dude from aternos

regal gale
#

Worth it..

#

With Java AWT ofc

brazen narwhal
#

trying to use org.apache.commons.lang3.EnumUtils but I'm getting a ClassNotFoundException whenever I use it... so lost

#

even tried setting commons-lang3 as a dependency in pom.xml

obtuse gale
#

ew maven

#

maybe you have to shade the dependency?

#

not sure tho

brazen narwhal
#

I'm just tryna see if a string is in an Enum why is it so hard

obtuse gale
#

cant you just call valueOf then catch whatever error it throws?

quiet depot
#

spigot shades commons lang 2, not commons lang 3

#

so the import is org.apache.commons.lang

obtuse gale
brazen narwhal
#

I need lang 3 EnumUtils though

quiet depot
#

what function specifically?

brazen narwhal
#

#isValidEnum

quiet depot
#

what was wrong with aj's suggestion?

brazen narwhal
#

I've added it as a dependency so I'm confused as to why it's not working

#

I want to sort this out for future use of lang 3 as well

quiet depot
#

you using maven or gradle?

brazen narwhal
#

maven

quiet depot
#

paste your pom

#

=paste

compact perchBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
HelpChat Paste

quiet depot
#

this isn't a support channel

prisma wave
#

@remote goblet no that guy is an idiot

#

Webservers can handle multiple domains at once

pallid gale
remote goblet
#

@prisma wave thought so, gimme a 30m then can you help me with this

prisma wave
#

Maybe

jovial warren
#

if you needed a new web server for each new domain/subdomain that'd be pretty stupid

#

a web server just tells traffic that arrives to it where to go to find what the traffic wants

quiet depot
jovial warren
#

that is on-topic

quiet depot
#

No it’s not. System administration is not development

jovial warren
#

wow

pallid gale
#

ouch

#

#off-topic before was for his desk stuff he deleted

jovial warren
#

also, is there a PlaceholderAPI/eCloud repo btw? because I got an e-mail yesterday from GitHub (one of those system e-mails you get every time someone pushes or something) and it redirected me to that repo but GitHub said it didn't exist

#

if there is, any chance I can get access to it?

quiet depot
#

No sorry. Only key trusted members atm, there’s sensitive data. It’ll probably be open sourced eventually, but for now it’s behind closed doors.

jovial warren
#

ah come on man

onyx loom
jovial warren
#

I was originally one of the three who were part of the original eCloud 2 plan

lone trench
#

Is there a permission for all tags, like a deluxetags.tag.all

pallid gale
jovial warren
#

not in here @lone trench

lone trench
#

Ight

jovial warren
#

also you said a similar thing about PAPI 3 and you gave me access to that

quiet depot
#

there’s nothing sensitive about papi 3

#

most of papi 3 is os anyway

jovial warren
#

true I guess

#

😦

quiet depot
#

I can assure you, that’s not the case. You may have came up with the idea yourself, but you most certainly weren’t the first. We’ve been discussing it for a long time.

^ reply for

I was originally one of the three who were part of the original eCloud 2 plan

jovial warren
#

I didn't come up with the idea, I became part of it

quiet depot
#

that’s not the point lol

jovial warren
#

Niall originally came up with it I think

#

and from what I can see, he has access

#

idfc anyway, you do you man

#

idk what I'd be bringing to the table

quiet depot
#

Niall is one of the key, trusted members I originally mentioned. No offence, but you’re relatively new here. Niall has basically been around since the beginning

jovial warren
#

yeah true I guess

#

I know trust is a thing that's earned rather than given, but I'm just curious what you think I could do lol

quiet depot
#

What you could do that’s bad?

jovial warren
#

yes

onyx loom
#

hack the ecloud Kappa

quiet depot
#

no clue. I’m not a security expert, but I know for a fact that there’s sensitive data involved that could be used against the current version of the ecloud

jovial warren
#

no clue. I’m not a security expert, but I know for a fact that there’s sensitive data involved that could be used against the current version of the ecloud
yeah sounds fair

#

is the new one in Spring?

#

or what

quiet depot
#

yeah

jovial warren
#

nice

#

Spring will be able to handle the eCloud no problems

#

I mean, it can handle Netflix

onyx loom
#

probably nialls idea for spring 🙂

jovial warren
#

"probably"?

#

you mean definitely

onyx loom
#

🙃

quiet depot
#

I mean it’s not like there’s another worthy option

jovial warren
#

yeah true

#

Spring is definitely worth it

onyx loom
#

make ur own framework fingerguns_down

jovial warren
#

Piggy has his own framework lol

quiet depot
#

when the idea of rewriting the ecloud came up, a long time ago, I wanted to use rpf, which has a web component

jovial warren
#

but his framework isn't made for things like this

quiet depot
#

it is

jovial warren
#

oh

onyx loom
#

but would u be able to do the ecloud in rpf?

#

o

#

das crazy

jovial warren
#

yeah but Spring has been around for years, and over that time, it's developed to a point where it's just stupid in performance

quiet depot
#

yeah

#

maybe if we waited a few more years, perhaps rpf would be ready for such a project

jovial warren
#

yeah

quiet depot
#

but we needed a replacement asap

#

python (what the current ecloud is written in) just isn’t maintainable

jovial warren
#

especially when 1. it's closed source and 2. it's written in Python which literally none of the people who have access to it like

quiet depot
#

it’s not even about disliking us, I don’t believe any of the staff know it fluently

#

clip has the best knowledge in it afaik, but he’s not always available

jovial warren
#

I don't think Python was really made for things like that anyway

#

imo Python isn't really the sort of language that should be used for enterprise stuff

remote goblet
#

okay back to struggling 4769_apudancer

hot hull
#

Clojure fingerguns_reversed

remote goblet
#

day 3 of me getting a headache due to a vps

jovial warren
#

@remote goblet what's the struggle?

quiet depot
#

ori do you have a budget?

jovial warren
#

oh wait you're installing Pterodactyl aren't you

#

@quiet depot he's installing Pterodactyl, gl

remote goblet
#

my budget is $0 kinda epic

pallid gale
#

spent it all on ram

rotund egret
#

Ptero ez

jovial warren
#

Pterodactyl is a pain in the ass

remote goblet
#

spent it all on ram, motherboard and cpu mmMochaFingerGuns

rotund egret
#

Pretty straight forward setup

jovial warren
#

well, it's alright if you just copy and paste, but when you don't, it gets a bit more complicated

rotund egret
#

Why wouldn't you for like 90% of ot

jovial warren
#

especially when you use a web server that isn't supported and an operating system that's only supported by the community

rotund egret
#

Which one?

jovial warren
rotund egret
#

Ah

#

CentOS gave me a bit of a hassle, docs are weird, but once i found the doc for it, it was all good.

I personally use nginx

jovial warren
#

yeah

#

a lot of people use NGINX

quiet depot
#

centos is an odd choice in the mc community

jovial warren
#

yeah and idk why

quiet depot
#

debian based is preferred

#

centos is used in the web world

jovial warren
#

imo RHEL > Debian

quiet depot
#

not so much elsewhere

jovial warren
#

yeah

rotund egret
#

Centos supposedly performs better with mc

jovial warren
#

literally RHEL owns at least 30% of the market share for server OSes

quiet depot
#

I’ve heard the opposite for debian zod

jovial warren
#

CentOS doesn't perform badly with anything really

rotund egret
#

Idk, snowy in Sponge gave that report from his personal experience.
I doubt he ran tests by any means.

jovial warren
#

it's backed by Red Hat which is (fairly recently) backed by IBM

quiet depot
#

and ubuntu is backed by ubuntu iirc

jovial warren
#

yeah

#

Red Hat is like the top software company for enterprise servers in the world

#

idk, having Fedora as an upstream also means that RHEL gets full access to the Fedora COPR

remote goblet
#

i liked ubuntu back when i used it

quiet depot
#

yeah idk what this shit is, I’m strictly an ubuntu guy

remote goblet
#

like

#

5 years ago

jovial warren
#

which is a bit like the AUR just for Fedora

remote goblet
#

i just didnt understand any of it so i was like huh

#

now if i had it, id love it

jovial warren
#

(AUR = Arch User Repository, Arch Linux's repository filled with user-submitted software)

quiet depot
#

if you’re referring to using ubuntu as a desktop os ori

#

look into kde neon

rotund egret
#

I'd love to use linux as a desktop os, but I can't be bothered to port all my applications over af this point

jovial warren
#

Arch Linux best desktop OS (for development) imo

old wyvern
#

I wasted time on CentOS trying to find out why apt-get wasnt working only to find out its yum there 👀

quiet depot
#

same zod

jovial warren
#

it's DNF now @old wyvern lol

quiet depot
#

I’ve wanted to move for ages

#

just so much effort

old wyvern
#

I have no fucking idea

#

xD

jovial warren
#

well, YUM is still installed by default

#

but they recommend installing DNF (default on Fedora)

old wyvern
#

Honestly idk what to even start when if I wanted to learn linux commands

#

What do I try to do?

quiet depot
#

install shit

#

play on a vm

jovial warren
#

just google

#

simples

quiet depot
#

digitalocean guides are the best

jovial warren
#

yeah most of the time

old wyvern
#

so just install and mess with random stuff?

rotund egret
#

I learned linux by setting up a ptero panel actually lol

quiet depot
#

yes

jovial warren
#

though never run curl | bash on a shell script to install things

old wyvern
#

Is linux mint ok?

quiet depot
#

yeah

old wyvern
#

coz I have it downloaded

jovial warren
#

yeah I think so

old wyvern
#

alrighty

jovial warren
#

just try it out

quiet depot
#

but I personally prefer kde neon

#

it’s my favourite ubuntu desktop

jovial warren
#

nothing we say is gonna be able to give you a good judgement

old wyvern
#

Ah

#

Isnt the desktop env changeable in linux?

jovial warren
#

yeah on most some OSes

quiet depot
#

not like hotswappable lol

#

changing means reinstalling the os

#

iirc

jovial warren
#

unless you're on Arch

old wyvern
#

the same os, or a diff dist?

jovial warren
#

in which you literally have to install your own DE

quiet depot
#

same os, different gui

old wyvern
#

ah

quiet depot
#

ubuntu for example has multiple guis

jovial warren
#

on Arch you can install your own

quiet depot
#

cinnamon/mate, kde, xfce, etc

jovial warren
#

I use a tiling window manager called i3 personally

#
#

it kinda looks like something out of the 1980's ngl but it works

#

hold on I've just remembered

#

Arch has a page on its Wiki filled with it's supported DEs, WMs, etc.

#

gimme a sec I'll get you the link

quiet depot
#

if going with arch, I’d recommend manjaro

#

anything else will not be beginner friendly

jovial warren
#

yeah Arch is definitely not beginner friendly

#

take that one from experience

old wyvern
#

I think Ill try with mint for now

jovial warren
#

I'm just saying that Arch has a list of supported DEs and that might give you a good idea of all the good options

quiet depot
#

yugi, please at least look into kde neon

#

it’s beautiful

old wyvern
#

Sure one sec

old wyvern
#

ayy neon looks neat

hot hull
#

Anyone overly familiar with JDA?

jovial warren
#

yeah why?

#

@hot hull you struggling a bit eh?

hot hull
#

[10:12:00 ERROR]: [com.github.frcsty.litebansdiscord.jda.internal.requests.WebSocketClient] Encountered error in gateway worker
java.lang.IllegalStateException: zip file closed

jovial warren
#

does it affect anything?

hot hull
#

I mean yea it kills the bot and spams that in console

jovial warren
#

🤔

#

I've never ran in to this issue before

#

how are you running this?

hot hull
#

On a server?

jovial warren
#

like from a JAR?

hot hull
#

Yea

jovial warren
#

because I saw online that apparently the "zip file closed" could have something to do with a bad/corrupt JAR

hot hull
#

I'll try cleaning it

jovial warren
#

also why are you rewriting it or whatever you call that?

#

relocate

#

why are you relocating it?

hot hull
#

Probs not smart to do that huh?

jovial warren
#

it's not that, there's absolutely no reason whatsoever to do that

#

unless you have a conflict (which you don't)

#

try removing the shadowJar block entirely

#

that'll use shadowJar's default packaging (which should be fine for your case)

#

also why dis Java smh

hot hull
#

Shut up, I'll rewrite it in kotlin when it works

jovial warren
#

lol

#

also why are you using new JDABuilder()?

#

it literally tells you that's deprecated

hot hull
#

Already fixed that,

#

Also, I was using version 3.8.something so fingerguns_reversed

regal gale
#

Bruh

#

You're outdated

jovial warren
#
private boolean startBot() {
    try {
        jda = JDABuilder.create(TOKEN, GATEWAY_INTENTS)
                        .setStatus(OnlineStatus.ONLINE)
                        .build()
                        .awaitReady();
    } catch (final LoginException | InterruptedException ex) {
        plugin.getLogger().log(Level.WARNING, "Discord bot was unable to start! Please verify the bot token is correct.");
        return false;
    }
    return true;
}
```simples
#

my way of initialising JDA isn't much better than yours lol

onyx loom
#

might make chess in kotlin

jovial warren
#

do it lol

hot hull
jovial warren
#

if you're not using JDA-Audio you should probably exclude it

hot hull
#

how do you excluse shit in gradle? :p

mighty elk
#

where did request paid go?

jovial warren
#
dependencies {
    implementation ('net.dv8tion:JDA:VERSION') {
        exclude module: 'opus-java'
    }
}
onyx loom
#

it was just mentioned :p

mighty elk
#

oh sorry

jovial warren
#

@hot hull wanna know where I got that from btw?

#

just replaced compile with implementation

hot hull
#

That's the correct shit I need excluded or?

jovial warren
#

yes

#

exclude that

hot hull
#

k gucci, thanks

jovial warren
#

np

onyx loom
#

?jdk

compact perchBOT
hot hull
obtuse gale
#

java

jovial warren
#

I swear you used to have a CommandManager instance in that Discord class

onyx loom
#

so what framework should i use for chess? thonk

#

is graphics 2d fine

jovial warren
#

(that for some reason you must've removed @hot hull )

hot hull
#

Nah I just moved it to the main class

#

It didn't work beforehand, and it's more "organised" this way

prisma wave
#

@onyx loom probably

jovial warren
#

so you're just getting no response at all Frosty?

onyx loom
#

thanks i really needed ur advice

jovial warren
#

or are you getting one of those "Command not found" thingys

onyx loom
#

this is a very important question

prisma wave
#

Welcome

#

Ofc

hot hull
#

No response at all bardy

jovial warren
#

🤔

#

@ocean quartz your turn

hot hull
#

Probably missing something very obvious, but there's no docs yet so GWvertiPeepoSadMan

jovial warren
#

there should be docs...?

#

I documented a lot of that a while back

#

yeah everything's documented

hot hull
#

I mean actual docs, as in examples and shit on how to use it

jovial warren
#

I made that in the readme

hot hull
#

Link me it

jovial warren
#

oh I just realised that I've actually kinda screwed it up a little since when PingCommand is instantiated, I forgot the new keyword since I originally wrote the examples in Kotlin

hot hull
#

Converting it all to kotlin so fingerguns_reversed

#

If I use a global prefix, I don't need the individual ones in the each command correct?

jovial warren
#

yeah

#

literally the only differences between yours and the example I made are that nothing is final (your command class and CommandManager are, which they should be anyway), and that I don't use the method I made to register a list of commands

#

and that I register JDA in the same place that I register the CommandManager

hot hull
#

Sec converting to kotlin and I'll see if it works, I'll move the command manager back and see, but I doubt that'd be the issue since it' get's initialized before it anyways

jovial warren
#

yeah

#

I mean, I've since moved away from MFJDA since I wrote that so idk any more

#

(that's on BardyBot lol)

hot hull
#

@jovial warren Converted to kotlin now, and put the command manager back into the discord class, but still non responsive

jovial warren
#

also you could make startBot() return JDA btw just saying

hot hull
#

Oh yea that'd be cleaner

jovial warren
#

also please don't tell me that this is all just Ctrl+Alt+Shift+K

hot hull
#

Oh shit didn't even see that eee

#

Ignore the utilities for now I'll clean it later

jovial warren
#

nah my turn lol

hot hull
#

What?

#

Don't bother pring cause I'm not gonna accept it

jovial warren
#

wow

#

well I'm gonna go and try and fix this anyway

hot hull
#

Yea sorry, already cleaning it up ❤️

#

Just figure out what the hell I'm doing wron gwith the commands lmao

#

Cause I'm lost

jovial warren
#

also, isNotUser is totally redundant lol

#

and that method name is kinda bad since bots are Users

#

also can you stop relocating things when you don't need to please?

#

lol

hot hull
#

Shut up

onyx loom
#

😆

prisma wave
#

Smh

#

Imagine applying Java design patterns to kotlin code

hot hull
#

Okay sheesh I pushed

#

Hopefully y'all don't get triggered now

prisma wave
#

I am incredibly triggered

#

Imperative code in kotlin makes me sad

old wyvern
#

@hot hull How are arguments colored in brigadier?

hot hull
#

Wut u mean KM :C

jovial warren
#

you didn't clean it up all that much btw

old wyvern
#

I dont see any functions related to colors 🤷

jovial warren
#

isNotMember is still useless

hot hull
#

Idc, my current concern is getting the commands to work

#

And no it's not

jovial warren
#

just use ```kotlin
val member = message.member ?: return

old wyvern
#

@hot hull HeLp!

hot hull
#

Sec Yugi

old wyvern
#

😂

jovial warren
#

basically means if message.member is null just return, which is exactly what you're doing with that method

hot hull
#

I know what it means yes..

jovial warren
#

also ```kotlin
val message = message

regal gale
#

I appreciate the functionality of ChunkBuster

#

But what the hell is this arrow?

hot hull
#

Yugi, I've no idea

#

There's no docs on it so gl lmao

jovial warren
#

oh my god @regal gale

#

I swear plugins should have to pass some sort of code integrity test before they go on Spigot

hot hull
#

Yea I've no idea why this isn't working

jovial warren
#

@ocean quartz

#

wakey wakey mother fucker

#

lol

ocean quartz
#

Why ping twice?

jovial warren
#

because you didn't respond the first time

#

lol

#

anyway, that doesn't matter

ocean quartz
#

Maybe because i was sleeping?

#

Frosty I can't see your repo

jovial warren
#

it's public

hot hull
#

sec lemme push latest

#

pushed

prisma wave
jovial warren
#

wait, it's finally out?

prisma wave
#

No lol

#

But the RC is out

frigid badge
#

RC

jovial warren
#

guessing RC means Release Candidate right?

prisma wave
#

@hot hull kotlin suits a more declarative style - telling the code what to do, not how to do it

#

ie things like first rather than a for loop

jovial warren
#

oh my god Frosty

#

these commit names

hot hull
#

Shut up, they're perfect, you should see my commits on other repos

jovial warren
#

behave yourself

ocean quartz
#

Frosty, does it show nothing at all?
Put a println in the first line of the commad function and try

hot hull
#

Matt it doesn't, and I did inside the history command

#

yet shows nothing

jovial warren
#

so it's not even being called then

ocean quartz
#

Let me get to the pc give me a sec

jovial warren
#

7x multiplier lets go guys

old wyvern
#

for everyone?

#

ayy

#

Anyone want any debates??

hot hull
#

@topaz bay Assumed the dude wanted them for use in a command so it wouldn't really matter, I'll format later fingerguns_reversed

old wyvern
#
- literals are gray
- arguments loop through the same color, in that order: blue, yellow, green, pink and gold```
@hot hull found it on luck's discord welp rip
#

test

hot hull
#

What

#

I mean yea just register it as args?

old wyvern
#

yea

#

Apparently we cant actually set the color

#

welp

hot hull
#

Sad

old wyvern
#

I guess atleast we have colors

#

Time to finish this

topaz bay
#

@hot hull huh?

hot hull
#

Is this an enforcement by the brigadier itself or mc Yugi?

old wyvern
#

mc

#

its client side

hot hull
#

Time to write an issue report fingerguns_reversed

old wyvern
#

😂

hot hull
#

Still gotta write the one for advancements

old wyvern
#

commands?

topaz bay
#

No, I'm questioning the logic

old wyvern
#

oh nvm

hot hull
#

@ocean quartz Any luck?

ocean quartz
#

Hmm Frosty, is that your actual bot token in the default config you create?

jovial warren
#

if it was he'd know about it

#

since Discord tells you

#

probably an old one I'd imagine

#

at least, I hope it's been reset @hot hull

hot hull
#

It's not no, that one already got reset

jovial warren
#

so you did a me then

hot hull
#

Discord just assuming I did it by accident tho

jovial warren
#

and that was only the first time lol

#

I did it not once, but twice, on the same repo

pallid gale
#

@south bridge

jovial warren
#

that's the Discord system account

pallid gale
#

i'm aware

#

ban @south bridge

lavish notch
#

@tawny parcel

#

Hmm...

#

@spice ruin

jovial warren
#

F

lavish notch
#

@tawny parcel

obtuse gale
#

If ive got a class that has a list in it and i want a method that adds something to the list can I make that an operator function?I tried something but it told me this

onyx loom
lavish notch
#

: o

obtuse gale
#

to make it so i can use these bad boys [ ]

jovial warren
#

google Kotlin operator functions maybe?

obtuse gale
#

or is that only with maps

jovial warren
#

tada

ocean quartz
#

@distant sun On ArcaneStats you don't use my jda framework right?

hot hull
#

He doesn't

ocean quartz
#

Hmm, i wonder why it doesn't work as a plugin

hot hull
#

Are the commands triggered by the listener or?

ocean quartz
#

Yeah

#

Not sure what's up Frosty, I even made a new listener and registered and it doesn't get trigger, the commands are being registered, jda just doesn't trigger the message event for some reason

hot hull
#

Could it be the version?

#

Using latest

onyx loom
#

bruh who says gooey for GUI?

#

or do u say Gee-You-Eye

old wyvern
#

Goooo

obtuse gale
#

its gee you eye

old wyvern
#

It annoys me so much, the profs all say that

#

ufff

ocean quartz
#

Yeah can't get it to work Frosty, not even the new listener

old wyvern
#

G-U-I please

ocean quartz
#

And I say G.U.I

onyx loom
#

PLEASE

hot hull
#

Shame

onyx loom
#

gooey is disgusting

hot hull
#

Gee You Eye

#

Or just You Eye

old wyvern
#

UI could also refer to terminal user interfaces

#

or many others tbh

analog crater
ocean quartz
onyx loom
#

visuasl basic

#

oh no

#

u have sinned

#

dont say that 🤮

regal gale
#

What about sk-

ocean quartz
#

Let me start a war
It's GIF not JIF

onyx loom
#

indeed fingerguns

lavish notch
#

The real deal though, is it's colour, not color.

obtuse gale
#

true

distant sun
#

go eat @ocean quartz smh

ocean quartz
#

I am eating!

distant sun
#

don't talk while you eat

ocean quartz
hot hull
#

lol

#

Time to go switch back to listeners :c

ocean quartz
#

Well if you can get the listeners to work, then the framework will work too

topaz bay
#

@ocean quartz I love harry potter

onyx loom
#

who doesnt

#

show urself

jovial warren
#

wait what?

ocean quartz
#

Ikr

jovial warren
#

never ever read a single book and I've only watched little nitpicks of some of the films where my parents have had it on whilst I was eating dinner

onyx loom
#

disgusting

#

ur going to watch them all tonight

jovial warren
#

I don't take orders from you

onyx loom
#

😦

#

in that case

jovial warren
#

gfy

hot hull
#

@ocean quartz Yea nah the listener doesn't work at all, I'll change to an earlier version and test

#

@ocean quartz And now it works ;C

ocean quartz
#

So it's broken in the latest version?

jovial warren
#

and this is why it's still in BETA

hot hull
#

Apparently

blissful sluice
#

@lavish notch the Americans say color, you say colour, I say colour, color and couleur xD

lavish notch
#

How do you spell 4... pikaOh

blissful sluice
#

Four or quatre

#

:P

obtuse gale
#

should be spelt culaa

#

prove me wrong.

#

Thats how its pronounced

blissful sluice
#

I'm betting I just confused the shit out of Mackenzie

ocean quartz
#

Mackenzie Imma say something, the "how do you spell this" hardly ever works in English
Read and red are pronounced the same but read and read isn't

obtuse gale
#

theres two reads?

blissful sluice
#

Or tear and tear

obtuse gale
#

isnt one reed

#

and ones read

ocean quartz
#

Or lead and lead

blissful sluice
#

No that's a different word

onyx loom
#

to read
read (past - pronounced red)

obtuse gale
#

o

ocean quartz
#

English is extremely bad at keeping consistency

blissful sluice
#

And Reed is like reeds/weeds near a lake

onyx loom
#

imagine english being ur first language aj OMEGALUL

blissful sluice
#

Honestly, having English as your native language is a double edged sword

ocean quartz
#

Yeah, probably why native speakers make more mistakes than non native sometimes xD
looking at you, their and they're, your and you're

onyx loom
#

nah theyre just dumb people getting them wrong

#

🙂

distant sun
#

like that guy Kotlinbear

onyx loom
#

😐

#

funny

#

😐

distant sun
#

ly

onyx loom
#

stfu

blissful sluice
#

So Gaby ur Romanian?

distant sun
#

ye Mitch

#

stfu
@onyx loom RUD3

blissful sluice
#

That's one language that I'd like to learn but the thought of learning basically Latin makes my head hurt

distant sun
#

he he, have fun xd

ocean quartz
#

Romanian is like if french combined with russian

distant sun
#

stfu

ocean quartz
#

c:

blissful sluice
#

He's not wrong tho

onyx loom
distant sun
#

but .. french 😢

blissful sluice
#

What's ur problem with french

ocean quartz
#

I mean you guys have some words in common with the french

distant sun
#

You will have a lot of fun with - in way too many words and special letters.

#

What's ur problem with french
it makes me cry

heady birch
#

😐

blissful sluice
#

You will have a lot of fun with - in way too many words and special letters.
In Romanian?

distant sun
#

ye

blissful sluice
#

I mean, that already exists in french

#

Can't be much worse

ocean quartz
#

Meh you have less accents than we do!

blissful sluice
#

It's still the Latin alphabet

distant sun
#

🤷‍♂️

ocean quartz
#

We have like 4/5 for each vowel

distant sun
#

I don't like baguette language, sry

#

We only got â î ă ș ț and the first two are basically the same, the only difference is that î is used at the begin / end of the word and â inside.

blissful sluice
#

Hah, french has:

hot hull
#

Imagine not speaking Slovenian fingerguns_reversed

distant sun
#

\ / ^ on each vowel if I'm not wrong

blissful sluice
#

À é è ê ç ï î û â and I think that's it

ocean quartz
#

ã á à â ç é ê í õ ó ô ú ü Welcome to portuguese

obtuse gale
#

import org.bukkit.ChatColor as ChatColour bruh

distant sun
#

he he matt

obtuse gale
#

I can do this

#

😮

ocean quartz
#

Yeah type aliases aj

blissful sluice
#

Portuguese confuses me

#

I don't think I wanna learn it

ocean quartz
#

Yeah, it's better that way

blissful sluice
#

From what I can tell, Portuguese doesn't know if it wants to be Spanish, french or its own thing

onyx loom
#

all of the above Kappa

ocean quartz
#

Hmm never seen it being compared to french, i guess it does have some similarities
But yeah it's like Spanish's southern cousin trying to learn Italian

topaz bay
#

@regal gale

Note: I attempted to use the chat as soon as chunkbusting is finished just to make sure it doesn't lag the server

#

Chat is on a different thread?

regal gale
#

I'm not sure about that actually

topaz bay
#

No, it is.

#

100%

#

The server can be completely frozen, and chat will still function 100%

analog crater
#

^ main server thread not server

regal gale
#

You mean chat still being sent right at the middle of the freezing?

topaz bay
#

@analog crater theres no semantic difference in those

#

@regal gale chat is not processed on the main thread

#

So measuring lag by whether the chat works doesnt make sense

regal gale
#

I will measure it by the environment then

topaz bay
#

I mean, the simplest thing you can do is try to run a command

analog crater
#

Saying server indicaters the entire server which includes the chat. Saying server thread or main threa does not indicate chag thread ( my typing on mobile sucsk with blisters)

topaz bay
#

lol

#

@analog crater youre nitpicking

analog crater
#

Yes

topaz bay
#

the main thread is 90% of the server

#

Probably closer to 99% tbh

analog crater
#

Does netty thread seperate or on thr same thread?

topaz bay
#

Like I said, they are semantically the same

analog crater
#

Holy fuck yes my school just got added to jetbrains. Adios. Gonan get ultimate

onyx loom
#

late kekw

distant sun
#

how old are you, Jolly?

hot hull
#

Imagine not adding the school yourself fingerguns_reversed

jovial warren
#

my school isn't even on GitHub or JetBrains and I still got the GitHub Student Developer Pack lol

obtuse gale
#

He school has to get added?

jovial warren
#

no

#

all you need to do is prove you go to school

#

doesn't matter what school you go to, you just have to prove that you go to school

analog crater
#

how old are you, Jolly?
@distant sun why?

#

. How long does swot take to uodate websjte

distant sun
#

just wondering

onyx loom
#

11

#

ha im so funny thanks

#

whyd i say that

analog crater
#
  1. 20 in april
hot hull
#

Anyone have any useless libs I can shade which add 500kb extra?

#

Need to get to that 6.9mb fingerguns_reversed

analog crater
#

Add an image to the jar

jovial warren
#

6.9 MB?

#

is that it?

obtuse gale
#

Fuck 1.8

jovial warren
#

BardyBot is at least like 40 MB

#

nvm, 33.1 MiB

hot hull
#

Bardy, the bot does 3 things lmao

jovial warren
#

at 6.9 MB?

hot hull
#

I mean yea JDA and kotlin

obtuse gale
#

Shade in the kotlin lib

jovial warren
#

my bot used to take up 40 MB when it did literally nothing

hot hull
#

It is Aj

onyx loom
#

thats just spring right bardy

jovial warren
#

yep