#dev-general

1 messages · Page 97 of 1

topaz bay
#

a jizz of mayonaise

#

exCUSE ME

rotund egret
#

Yes

quiet depot
#

there’s no other word that perfectly describes the amount of mayonnaise, except “jizz”

topaz bay
#

bruh

#

WHAT IS HAPPENING

errant geyser
#

Huggbees is the best

#

How it's actually made is godly

rotund egret
#

I prefer homemade mayonnaise

topaz bay
#

I love this fucking channel now

errant geyser
#

Sx he has a playlist of like 60 of them

#

It's so good

topaz bay
#

You're all welcome

errant geyser
#

.-.

frail glade
#

tiktok

#

toktik

distant sun
#

tikthot

obtuse gale
#

intense chair squeaking

hot hull
#

I could use recommendations for a 1.8 bot (testing purpouses)

obtuse gale
#

1.8

#

frosty

#

whats wrong with you

hot hull
#

Shut up

obtuse gale
#

youve changed

hot hull
#

money is money ;C

heady birch
#

I am ceo of anti bots

obtuse gale
#

am i the only one thats started spelling intelligent like Intellijent?

heady birch
#

lol

errant geyser
#

Yeah

hot hull
#

<insert knowledge stonks>

errant geyser
#

:stonks:

#

Oh I dont have nitro

#

Crap

prisma wave
#

This is probably not the right channel

keen schooner
#

oh okay thanks

jovial warren
#

afternoon all

onyx loom
#

afternoon

jovial warren
#

@pallid gale visual studio smh

#

lol

pallid gale
#

fite me

jovial warren
#

buy me a cheap flight to australia and I will

pallid gale
#

border is closed <o/

jovial warren
#

yeah ik lol

#

but why visual studio

hot hull
#

Why not?

jovial warren
#

JetBrains >

pallid gale
#

I don't want to wait 10 years just for it to start

jovial warren
#

lol

pallid gale
#

vsc is snappy

jovial warren
#

I'd be surprised if VSC had linux support

#

and now I'm surprised

#

probably in the AUR

#

wait hold on, it's open-source?

#

this is Microsoft we're talking about here

#

Microsoft open-source software? now those are some words that I'd not expect to go together

#

well I guess I'm a bit biased since JetBrains is part of the GSDP and gives you pretty much all their products free of charge while you're a student

prisma wave
#

vscode is really nice

pallid gale
#

I did actually try webstorm

jovial warren
#

never used it, couldn't really get on with it that much (VS)

pallid gale
#

but preferred vsc

prisma wave
#

I actually don't like webstorm much

#

Feels too bloated

jovial warren
#

yeah webstorm is a little bit funny

#

but it works well for what it is

frail glade
#

I like VSC too for web stuff.

obtuse gale
#

how does the github student dev pack work?

prisma wave
#

It's quite nice

obtuse gale
#

Does it just give you free shit?

prisma wave
#

You get free stuff

#

Yeah

obtuse gale
#

oo

jovial warren
#

@obtuse gale yep

#

you just sign up

obtuse gale
#

any requirements other than like a school email or id or whatever

jovial warren
#

nope

obtuse gale
#

oo

jovial warren
#

get yours now

#

gives you all jetbrains ides free of charge whilst you're a student as well

obtuse gale
#

what does github pro come with?

#

ive already got the jetbrains ides

prisma wave
#

More action minutes

jovial warren
#

I think an extra thousand minutes of actions per 4 days yeah

obtuse gale
#

I did that through jetbrains not git

prisma wave
#

That's like pretty much it I think

obtuse gale
#

oh lol i rarely use git anyway

heady birch
#

CEO of swing

obtuse gale
#

ill still sign up ¯_(ツ)_/¯

prisma wave
#

You get a badge on your profile which is nice

#

@heady birch you spelt spring wrong

heady birch
#

😭

jovial warren
#

you get $100 of azure credit, $50 digital ocean, $200 atlas, and an AWS starter pack worth $100 (the AWS starter pack is only eligible for students 16+)

obtuse gale
#

wait what

jovial warren
#

and that last part in brackets I had to contact aws support for so consider that valuable information

prisma wave
#

Basically free vps for a while

obtuse gale
#

OOO

jovial warren
#

yep

#

but I don't use any of it

rotund egret
#

Imagine being 16+

jovial warren
#

you wanna know what the options for VM operating systems are on azure?

#

Imagine being 16+
ikr

prisma wave
#

Azure is like every OS

#

Even windows server is free

obtuse gale
#

whats microsoft azure?

prisma wave
#

Microsoft cloud computing service

jovial warren
#

literally the options are: Red Hat enterprise 8.1, OpenSUSE Enterprise 15, Debian 10, CentOS-based 8.1, Ubuntu 18.04 & 16.04, and the Trashdows Server

#

and maybe a few others

prisma wave
#

What more do you need?

jovial warren
#

er... CentOS 7 perhaps?

prisma wave
#

Most vps providers will only offer about that much

obtuse gale
#

wait is that like VPS's?

prisma wave
#

Yes

obtuse gale
#

oo

jovial warren
#

I don't want proprietary closed-source enterprise linux, I want free open-source linux

prisma wave
#

Use Ubuntu or something then

#

Centos sucks anyway

jovial warren
#

Ubuntu is trash

#

Centos sucks anyway
you mad?

obtuse gale
#

Anything specific I should put on how do you plan to use github?

prisma wave
#

Not really

rotund egret
#

What if I told you centOS is better for MC servers

jovial warren
#

CentOS = backed by Red Hat and Fedora which means it's full of native repositories, and it's great to work with

prisma wave
#

But

literally the options are: Red Hat enterprise 8.1, OpenSUSE Enterprise 15, Debian 10, CentOS-based 8.1, Ubuntu 18.04 & 16.04, and the Trashdows Server

This is already more than what most hosting providers will offer

jovial warren
#

that first one makes it objectively better, the second subjective

obtuse gale
#

Is it an automated thing like jetbrains was or is it manually reviewed?

prisma wave
#

Manually I think

jovial warren
#

GSDP is manual review

#

JetBrains license activation isn't

obtuse gale
#

ye

jovial warren
#

But

This is already more than what most hosting providers will offer
Hetzner provides CentOS 7 & 8 (the original open-source, imo better variants, not Microsoft's proprietary crap), Debian 9/10, Fedora 32 (I think), and Ubuntu Server 16.04/18.04

prisma wave
jovial warren
#

for me those are better options

prisma wave
#

Centos 7

obtuse gale
#

welp

#

applied

jovial warren
#

Centos 7
not available for virtual machines

obtuse gale
#

whats > $200 atlas

#

oof quote didnt work

jovial warren
#

MongoDB Atlas credit

obtuse gale
#

oo

#

never touched mongo db in my life lol

jovial warren
#

never touched mongo db in my life lol
neither have I

prisma wave
#

Hetzner provides CentOS 7 & 8 (the original open-source

Hetzner and Azure are inherently not the same thing though. Azure is designed to be much more scalable and for much bigger workloads, so you can't really compare the two

jovial warren
#

yeah guess you're right

#

Azure is a bit on the high-end range though

#

if I want a virtual machine with like 1 vCPU and like 2GB ram from Azure it costs £11.26/month

#

from Hetzner, it costs 2.99 euros/month

#

I guess Azure is much better quality hardware though

prisma wave
#

Well yeah because Azure is marketed at big corporations with huge workflows

jovial warren
#

if I try to add a VM on the Azure portal it doesn't display that as an option

prisma wave
#

1 vps isn't gonna cut it

jovial warren
#

for the price a VM on Azure costs I might as well buy a dedicated

prisma wave
#

I guess you're paying for support and things though

jovial warren
#

yeah I guess

#

but I've never had a problem that needs support

prisma wave
#

Being able to easily scale a workload is probably very important and you wouldn't get that with a dedi

jovial warren
#

yeah

prisma wave
#

Well individual freelancers aren't really the target audience

jovial warren
#

true

#

doesn't answer the question though of why tf they're giving out free credit to individual freelancers

rotund egret
#

Todays freelancers, are the business owners of tomorrow

jovial warren
#

yeah true

#

if I wanted servers though I'd probably buy my own hardware and make my own datacenters, but that's just me

#

a lot of businesses don't have the time, effort, need, or want to do that, or the money

prisma wave
#

doesn't answer the question though of why tf they're giving out free credit to individual freelancers
idk but might as well use it if it's free

jovial warren
#

yeah

#

it'll run out super quick but hey, it's free

#

also, this reminds me, I still need to move this Windows Server 2019 machine behind me over to CentOS 7

prisma wave
#

How'd you get windows server

#

Isn't it like £500

jovial warren
#

bought one of these really cheap keys from ebay, cost me like £5.99

#

and it actually worked

onyx loom
#

hello kotlin friends

#
    if ("hello" in stringLower) {```
instead of me having to declare a new variable to put the string to lower case, is there a way i can just ignore the cases entirely in the if statement?
topaz bay
#

string.contains("hello", true)

#

the second parameter is a boolean ignoreCase

quiet sierra
#

oH ofcouse that exists

topaz bay
#

You can even use the parameter name in the call string.contains("hello", ignoreCase = true)

onyx loom
#

omg

topaz bay
#

Since ya know... sometimes ambiguity is messy

onyx loom
#

thank u my dear good kotlin friend

hot hull
#

Hello Kali

onyx loom
#

hello frosty

hot hull
#

I was hoping for a hello enemy java user

quiet sierra
#

Finally pulled out a "via twitter for KFC Popcorn Machine" today using python

heady birch
#

Lmao

hot hull
#

Should do McDonalds Ice Cream machine :))

quiet sierra
#

Not sure if it's used

#

I tried microwave

#

didn't let me

heady birch
#

Twitter for rapid execution and combat targeting (react) ™️

rotund egret
#

I remember there was a website for teaching kotlin, I think it had a web based compiler?
Anyone know what I'm talking about?

quiet sierra
#

Twitter for alladin's carpet

heady birch
#

Twitter for iPhone 11

#

that would trigger people

quiet sierra
#

oH yeaH

heady birch
#

Bro??? you got the iphone 11

quiet sierra
#

Twitter for iphone 12

hot hull
#

21

quiet sierra
#

oof

#

Twitter for the iPaid

hot hull
#

Can you make the link take you to whatever you want?

#

Or is that not possible

quiet sierra
#

No

#

You also gotta create an app and write a ton of stuff

#

for each name

#

I had to create an app named "KFC Popcorn Machine"

#

and write in detail what I wanted to do with it

hot hull
#

oof

vapid crown
#

Hi! Where is DeluxeMenu wiki?

onyx loom
#

wait is the site down?

#

wtf?

vapid crown
#

I also see it.

obtuse gale
#

wait so

#

is microsoft azure like VPS' and stuff?

#

If so is there a difference between that and digital ocean

prisma wave
#

Azure is more tailored to massive companies

obtuse gale
#

ah

prisma wave
#

it does more than just VPS'

#

Digitalocean is smaller scale

woeful sigil
#

can it be possible to make a python script which notifies me when a specific email address mails me?

obtuse gale
onyx loom
#

github student thing?

obtuse gale
#

ye

onyx loom
#

congrats

obtuse gale
#

anyone know if like

#

with digital ocean I can just get all my friends to sign up and then hook me up with their code lol

#

im being cheap af rn

#

will it let me use mutliple codes 🤔

prisma wave
#

we could try

#

get a little ring of friend referrals going

quiet sierra
#

Reminds me that I made tons of aliexpress accounts to save money

#

3$ off any purchase above 4$ for new members

#

Saved like 30 bucks before they started to block my payments

hot hull
#

Feels bad, I don't have the pro badge :c

onyx loom
#

ha

obtuse gale
#

oof

onyx loom
#

its because ur not using kotlin, obviously

obtuse gale
#

^

#

if github detects kotlin in any of your repos you get free pro

hot hull
#

oof

quiet sierra
#

yikes

hot hull
#

No but seriously, I have the license, just no pro

obtuse gale
#

lol

hot hull
#

Scam

quiet sierra
#

idk what counts as a student for github

#

I might aswell just wait a year and get into this system programming course

#

Technically 4 months

obtuse gale
#

I just typed in my student email

quiet sierra
#

I guess I have a student email

#

Except it's only used for online classes

#

And it's a microsoft thing

woeful sigil
#

is it possible with python?

hot hull
#

If what is possible?

woeful sigil
#

can it be possible to make a python script which notifies me when a specific email address mails me?

quiet sierra
#

Free GitHub Pro while you are a student.

#

YIKES

hot hull
#

How long did y'all get your license for btw

quiet sierra
#

usually 1 year

obtuse gale
#

lol free .wtf domain

quiet sierra
#

or until end of school period

#

I use my brother's acc

#

For free jetbrains rider

#

cause vs is garbage

hot hull
#

That's cheating

quiet sierra
#

he's a student himself

obtuse gale
#

happening again lol

jovial warren
#

420?

#

who tf runs a web server on port 420?

obtuse gale
#

who doesnt

jovial warren
#

er... most of the globe?

obtuse gale
#

my laptop now runs on 69 and my pc on 420

jovial warren
#

HTTP on 80, HTTPS on 443

#

everyone knows that

obtuse gale
#

lol if i run the same port of my pc and my laptop things break, even if both web servers arent on @ the same time

#

so i run my laptop on 69, and pc on 420 and everything goes swimmingly

#

Caused by: java.lang.IllegalArgumentException: port out of range:69420

#

Big Oof

onyx loom
#

unlucky

jovial warren
#

the max port is 65535, everyone knows that

#

it's 16 bit I think

onyx loom
#

yep

#

omg

#

smash like button now

obtuse gale
#

wait

#

does that meane

#

42069 is all good

heady birch
#

aint that short max value

obtuse gale
#

yes, my media teacher is gonna love it when i submit this assignment

heady birch
#

Integer.MAX_VALUE = Long.MAX_VALUE

jovial warren
#

no

#

@heady birch yeah short is 16-bit

#

Integer.MAX_VALUE != Long.MAX_VALUE

heady birch
#

lol

#

I was trying to set the MAX_VALUE

#

if only

onyx loom
#

int is 32 bit right?

topaz bay
#

yes

heady birch
#

yes

#

wheres medium when you need it

onyx loom
#

damn im so smart

#

why am i not a millionaire with the brains i have already

distant sun
#

What brains

onyx loom
#

😦

heady birch
#

jetbrains

distant sun
#

^

hot hull
#

Does legit noone realise you can use reloadConfig(); instead of saveConfig(); and it saves the comments, as well as the config

#

Like damn

#

And that formatting is ew

woeful sigil
#

hellu i made this in python

heady birch
#

Does legit noone realise you can use reloadConfig(); instead of saveConfig(); and it saves the comments, as well as the config
@hot hull does it

woeful sigil
#
question = 'Are you hungry? YES/NO\n'
print(question)
ans = str(input())
if ans == 'YES' or ans == 'yes':
  print('You are hungry. Have some food!')
if ans == 'NO' or ans == 'no':
  print('You are not hungry. Go exercise!')
else:
  print('That is not a valid answer. Type YES/NO')
hot hull
#

Yes it does lol

woeful sigil
#

but whenever i type an answer, it also says "that is not a valid answer"

heady birch
#

if
elif
else

woeful sigil
#

elif?

heady birch
#

Else if

#

What's happening when you type YES it prints you are hungry

woeful sigil
#

yes

heady birch
#

Then also checks the for NO

#

which is false so it prints invalid

#
question = 'Are you hungry? YES/NO\n'
print(question)
ans = str(input())
if ans == 'YES' or ans == 'yes':
  print('You are hungry. Have some food!')
elif ans == 'NO' or ans == 'no':
  print('You are not hungry. Go exercise!')
else:
  print('That is not a valid answer. Type YES/NO')

@woeful sigil

woeful sigil
#

i see

obtuse gale
#

oh

topaz bay
#

ugly

heady birch
#

ugly
@topaz bay stop

topaz bay
#

no

heady birch
#

ok

#

rate it

hot hull
#

No

heady birch
#

so good

hot hull
#

Anyone got any suggestions for an ActionBar API (for 1.8)

topaz bay
#

ew

jovial warren
#

ActionBar API?

heady birch
#

my oh my

vapid crown
#

@onyx loom DeluxeMenu Wiki link?

pallid gale
vapid crown
#

@pallid gale Ok, I have a question. The deluxemenu support quests menu?

jovial warren
#

which quest menu?

#

ah okay

#

probably

#

depends on what you want it to do

vapid crown
#

E.g: "Break 50 Grass Block" and after that player get rewards.

distant sun
#

Depends

jovial warren
#

not a DM thing

#

afaik

distant sun
#

Its better to get a plugin for that

jovial warren
#

^^^^

distant sun
#

You can make smth with dm but it's not the brightest idea

hot hull
#

I mean Blitz made one

distant sun
#

Eh

#

Id rather get a quests plugin than do it by hand

onyx loom
#

yeah

#

its possible but not the best idea

solemn monolith
#

What would be the best way to spam proof my xp bot. I was thinking a user can only earn xp once per 20 or 30 seconds, but not sure how I could integrate it?

#

Discord.js btw

old wyvern
#

Store their last usage Instant and compare before letting them earn xp

solemn monolith
#

Alrighty

honest vortex
#

Anyone know how I can set a player's nametag?

solemn monolith
#

With a plugin, you basically change the chat formatting if I'm not mistaken

onyx loom
#

hello dear kotlin friends

#

how would one go about replacing a word inside of a string
e.g "hello fuck"
to "hello f***"

hot hull
#

.replace

#

:))

onyx loom
#

well yeah

#

but ive looked at it and wouldnt quite see how u would replace a word without replacing the whole string

#

wait

#

shut up enemy java user

#

i dont take advice from u

#

🙂

distant sun
#

System.exit(0);

hot hull
#

lol

#

I'm assuming this is on playerchatevent, so just replace it before you send it?

prisma wave
#

replace("fuck", "f***") should do it

#

The first argument is the string to replace, the second is the replacement

onyx loom
#

omg

#

me big dumb dumb

#

i thought it would replace the entire string

#

thank mr kotlin

#

(and frosty 😉 )

prisma wave
#

replacing the entire string would be kinda stupid lol

#

but np

hot hull
#

;c

old wyvern
#

kotlin ew

onyx loom
#

how dare u

hot hull
#

I confused

old wyvern
#

casing

#

?

hot hull
#

What?

old wyvern
#

how are you checking?

hot hull
#

iscof

onyx loom
prisma wave
#

tf is iscof

hot hull
#

Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_8_R3.block.CraftBlock cannot be cast to org.bukkit.block.Chest

#

React with that emoji Kali

prisma wave
#

Chest is BlockState iirc

#

Or possibly BlockData

onyx loom
#

wait i cant react in this channel?

hot hull
#

L

onyx loom
#

☹️

prisma wave
#

😭

hot hull
#

It's neither I think

prisma wave
#

Check the definition

#

It'll implement something

honest vortex
#
    public void registerNT(Player player){
        Scoreboard scoreboard = Bukkit.getScoreboardManager().getMainScoreboard();
        if(scoreboard.getTeam(player.getName()) != null){
            scoreboard.getTeam(player.getName()).unregister();
        }
        CachedMetaData metaData = Hub.getLuckPerms().getPlayerAdapter(Player.class).getMetaData(player);
        String suffix = metaData.getSuffix();
        Team team = scoreboard.registerNewTeam(player.getName());
        team.setPrefix(ChatColor.translateAlternateColorCodes('&', suffix));
        team.addPlayer(player);
    }
    
#

I am using this method to set a players nametag

#

Any idea why it doesn't work

onyx loom
#

omg ive found witchcraft on the papi gtihub

jovial warren
#

lol

#

WHERE IS THIS TREACHERY

onyx loom
jovial warren
#

@chilly jungle WHAT IS THIS

onyx loom
#

disgusting

jovial warren
#

ECLIPSE GUIDES?!?!?!?!?!?!?!?!?!?!

#

smh

#

better not've been your idea

onyx loom
#

typing main then tab is so satisfying

#

this post was made by kotlin gang

old wyvern
#

wha?

#

The same happens for Java in intellij?

onyx loom
#

o

#

still satisfying

old wyvern
#

lol

jovial warren
#

for Java it's psvm

#

followed by Enter

old wyvern
#

nope main works

jovial warren
#

you learn something new every day I guess

old wyvern
jovial warren
#

why u still using Java anyway?

onyx loom
#

THIS ^

old wyvern
#

kotlin fan boys make kotlin repellant thonking

#

xD

onyx loom
#

🙄

#

ur just missing out PES2_Shrug

jovial warren
#

kotlin fan boys make kotlin repellant thonking
you have no idea what you're missing out on

onyx loom
#

hey imagine having to type ; at the end of every line haha xd lmao

#

amirite kotlin boys

jovial warren
#

hahahaha

#

yeah

#

n00bs

old wyvern
#

you have no idea what you're missing out on
Kotlin being good doesnt mean everyone in the whole wide world needs to use that one language. Nothing wrong with using Java. If you want to use kotlin, do so.

onyx loom
#

u will be converted ablobdevil

old wyvern
#

hey imagine having to type ; at the end of every line haha xd lmao
I honestly like using ; at the end of statements

#

u will be converted :ablobdevil:
from what ?

onyx loom
#

I honestly like using ; at the end of statements
weirdo, including @distant sun

#

converted to kotlin 🙃

ocean quartz
#

We have Kotlin missionaries here

onyx loom
#

yes

#

we must spread the word of kotlin

errant geyser
#

kotlin gai

onyx loom
#

😦

#

u hurt mi feelings

heady birch
#

🙁

lavish notch
#

Is there a way to make a "dropped item" fall slowly?

prisma wave
#

setVelocity?

frigid badge
#

any1 familiar with grub2 menu entries?

#

trying to boot my kernel but it can't find the root

lavish notch
#

@prisma wave What's minecraft's default velocity?

frigid badge
#

currently set to (hd0,sda)

#

and the device map shows hd0 being coupled to /dev/sda

prisma wave
#

@lavish notch no idea but you could probably just divide by 3 or something

lavish notch
#

Ok, cheers

frigid badge
#

fixed it: (hd0,gpt2)

versed ridge
#

ya know

#

kotlin is pretty cool

prisma wave
#

truer words have never been said

versed ridge
#

takes some getting used to

lunar cypress
#

kotlin is pretty cool
stunning and brave

onyx loom
#

shut up clojure

quiet sierra
#

my school's website runs on wix

#

Those cucks got a domain and are using wix subdomain

onyx loom
#

🙂

quiet sierra
#

time to get rejected by github

onyx loom
#

create the website for them

#

im sure u can do better than them

quiet sierra
#

I'm a java dev

onyx loom
#

create it in java laugh

quiet sierra
#

But I know someone who can do it for 10$

lunar cypress
#

shut up clojure
@onyx loom imagine being unable to know and use more than one language

quiet sierra
#

Like just create a CNAME record or something

onyx loom
#

☹️

quiet sierra
#

I can speak multiple languages

#

and code multiple langs

#

I can speak English, Java, C#

jovial warren
#

who's school's website runs on WIX?

#

lol

#

my school website used to be designed by this Chris guy I think, they got a redesign from Cleverbox maybe a year ago though

#

my school doesn't even have their A record on the root domain

#

so example.com doesn't resolve, you have to use www.example.com

#

talk about bigbrain IT Support

onyx loom
#

good ol chris

jovial warren
#

yep

#

the DNS thing though is just a joke

quiet sierra
#

The problem is that they own a domain

#

And they use it for teacher and student e-mails

#

But not for the main website

#

And they keep switching hosts

#

Also our student page uses numeric ips

jovial warren
#

they own a domain and they use it for everything

quiet sierra
#

Emails only

#

Nothing else

jovial warren
#

no for my school

quiet sierra
#

Ah

#

I could tell the IT guy

#

Which happens to be a teacher

#

For ARTS

jovial warren
quiet sierra
#

Nah

jovial warren
#

my IT guys don't listen to me

#

whatsoever

#

no one listens to me

#

ever

quiet sierra
#

We mix numeric, subdomains and our domain

#

I swear I paid 20$ of my own money and got a better website and domain

jovial warren
#

no one at the school ever listens to me, or if they do, they never get anything done

#

except for one member of staff who always gets things done

#

everyone else is just having a day off every day

quiet sierra
#

Principal said I make bombs because of a packet of ketchup

#

Pretty sure mine's worse

jovial warren
#

lol

#

mine still uses PyScripter

#

and every time I mention IntelliJ? they just kinda gloss over it

jovial warren
#

runs Minecraft 1.15.2 for the first time on new operating system
system freezes

#

seems legit

errant geyser
#

My school has PyCharm but no IJ, even though they do Java at A level. A level. And no good IDEs. Oh and they block our access from certain network drives as well as the C drive, but if you go to open a project in PyCharm (I'm assuming it's the same for every JetBrains IDE) you can open, create or delete any file you want lol. I went to the schools IT guy to show him it and suggest a fix, and my CS teachers supported me. He still hasn't fixed it. Theres a file called new-server-ips.txt, might be time to see what that has inside it 🤔

jovial warren
#

yeah pretty stupid

#

half of these so-called "technicians" haven't a clue what they're doing

#

anyway, I'm off for the night now

#

cya everyone

errant geyser
#

gn

onyx loom
#

half of these so-called "technicians" haven't a clue what they're doing
yep 😄

modern trench
#

Hey! Do you know how to configure a wifi network card from an Ubuntu 16.04 server? Please help me :/

sick dove
#

Anyone have experience porting a spigot plugin to sponge? How easy of a process is it

topaz bay
#

I wanted you to see this monstrosity.

hot hull
#

@errant geyser Just encrypt them all lmao

errant geyser
#

I mean technically you could use it like that I guess

hot hull
#

||I was joking btw, don't do that as you'd probs get expelled if they found out||

obtuse gale
#

Whats poppin logangsters :immakms:
So, on my spring website I wanna make a message send to discord when a form is submitted, but I dont wanna have to include an entire bot in this website, is there something I can do with the discord webhooks in the server settings, or do i have to include an entire bot in my website?

heady birch
#

You can use webhooks

#

Id just search how to send webhook in java and plop it in your spring app somewhere

obtuse gale
#

alright

#

how does discord know what to make the message look like? Do I have to form this in json or smthn?

heady birch
#

yeah

obtuse gale
#

tfw u get an error on a line that doesnt exist

#

im guessing thats cos it compiles to java or smthn lol

hot hull
#

Noice

lunar cypress
#

Typically should not happen

prisma wave
#

@topaz bay that is truly a monstrosity

#

The invoke function?

topaz bay
#

What about it?

prisma wave
#

Is that what you're using

heady birch
#

🤮

topaz bay
#

Yes

prisma wave
#

Yay

#

It's hideous

topaz bay
#

I am ofc, not using that anymore

#

That would be gross

#

I just wanted to see if it would actually compile

prisma wave
#

We must all make sacrifices in the name of science

obtuse gale
#

Is that what the dude who died while tryna prove the earth was flat said?

prisma wave
#

Probably yes

#

And his sacrifice was in vain which I'm sure he's pleased to know

heady birch
#

vein

prisma wave
#

vayne

topaz bay
#

Ahhhh the joys of not using callbacks

jovial warren
#

callbacks?

#

"any executable code that is passed as an argument to other code" ah okay

hot hull
#

Anyone got any clue as to why my dependencies just break randomly from time to time? (Tried reimporting but it does nothing)

prisma wave
#

reee maven bad

hot hull
#

Shut uop

#

Hoping an IJ restart fixes it, others I'm legit boutta switch to gradle -.-

prisma wave
#

I mean that's a good idea even if it is fixed

jovial warren
#

@hot hull mvn clean install

#

try that

#

also try to use <repositories> for things taht aren't in maven central, since that allows for better portability

#

there should always be a repository entry on the maven installation unless it's in maven central

hot hull
#

I don't get it, I'm not even using 1.15, nor have I ever imported the 1.15 jar thonking

prisma wave
#

Transient dependencies probably

hot hull
#

Elaborate

prisma wave
#

A dependency of a dependency

#

Possibly Matt's framework

#

You can exclude it but I don't remember how in maven

hot hull
#

I've used matt's framework in every other plugin and never had this issue

jovial warren
#

framework?

#

link?

prisma wave
#

Just go through the poms of all your dependencies and see which one it is

#

Or make a dependency graph

#

mvn dependencies iirc

jovial warren
#

yeah that might work

#

you would've thought matt's framework would use the repository though

#

also, mvn dependencies isn't a thing

hot hull
#

It can't be Matt's framework, I'm legit using it in 4 other plugins, which I've just compiled successfully..

jovial warren
#

mvn clean install?

prisma wave
#

you would've thought matt's framework would use the repository though
wdym

hot hull
#
[ERROR] Failed to execute goal on project DistrictUpgradables: Could not resolve dependencies for project com.github.frcsty:DistrictUpgradables:jar:1.0.3: Failed to collect d
ependencies at com.github.brcdev-minecraft:shopgui-api:jar:1.2.0 -> org.spigotmc:spigot-api:jar:1.15.2-R0.1-SNAPSHOT -> net.md-5:bungeecord-chat:jar:1.15-SNAPSHOT: Failed to
read artifact descriptor for net.md-5:bungeecord-chat:jar:1.15-SNAPSHOT: Failure to find net.md-5:bungeecord-parent:pom:1.15-20200526.094750-74 in https://hub.spigotmc.org/ne
xus/content/repositories/snapshots/ was cached in the local repository, resolution will not be reattempted until the update interval of spigot-repo has elapsed or updates are
 forced -> [Help 1]
jovial warren
#

like to get the dependency

hot hull
#

I see

#

It was cached somehow, how do I get rid of it

jovial warren
#

mvn clean

prisma wave
#

It's a dependency of shopgui

jovial warren
#

try that

prisma wave
#

So exclude it?

hot hull
#

That fixed it

jovial warren
#

which one?

hot hull
#

Dude.. do you even read chat?

jovial warren
#

yeah I wasn't sure which solution fixed it

hot hull
#

So exclude it?

jovial warren
#

ah okay

#

you would've thought ShopGUIPlus' API wouldn't depend on anything

prisma wave
#

it needs spigot classes from somewhere

hot hull
#

It's brc, he's a 4head

prisma wave
#

Probably ItemStack and stuff

jovial warren
#

none of these closed-source plugin developers seem to have any idea about how to make a good API

hot hull
#

No spigot developer does :kek:

jovial warren
#

I mean, mvdw isn't that bad, but his API is open-source

#

Ruan's API is terrible

hot hull
#

Ruan is also a 4haed

#

head*

jovial warren
#

vk isn't so good at making APIs either

#

Ruan is also a 4haed
that I agree with

prisma wave
#

I mean

#

Name me a better way of doing it? The API needs spigot classes from somewhere

jovial warren
#

what does the API need spigot classes for though?

#

the API is supposed to depend on the main plugin, which has the spigot dependency

#

lucko does it really well

prisma wave
#

That defeats the point of having an API

#

spigot API doesn't depend on CraftBukkit

#

That's the point

jovial warren
#

Spigot API does depend on CraftBukkit

prisma wave
#

The API shouldn't depend on a specific implementation

#

No it doesn't

jovial warren
#

Bukkit depends on CraftBukkit

prisma wave
#

Spigot depends on CraftBukkit, spigot API doesn't

jovial warren
#

where do you think things like Player are implemented?

hot hull
#

Kinda missing the point KM, it's an API for a plugin, you ain't gonna be running the api without the plugin

jovial warren
#

the Player interface is implemented in CraftBukkit

prisma wave
#

where do you think things like Player are implemented?
In CraftBukkit... But importing spigot API doesn't add CraftBukkit transitively

jovial warren
#

no it doesn't, still depends on it though

#

Spigot API won't run without spigot

prisma wave
#

Spigot API doesn't run at all

#

Spigot depends on the API, not the other way around

jovial warren
#

actually yeah that's what I mean

#

the plugin depends on the API

prisma wave
#

Kinda missing the point KM, it's an API for a plugin, you ain't gonna be running the api without the plugin
True, but if you want to keep the actual plugin classes private then this is the best solution

#

Yes

jovial warren
hot hull
#

KM, open source everything :))))

jovial warren
#

the API isn't supposed to depend on anything

prisma wave
#

Precisely

jovial warren
#

which some plugins can't do that well

prisma wave
#

It's supposed to be an abstraction, depending on the implementation would make that abstraction useless

#

So the shopgui API needs to be theoretically independent from the implementation

#

Hence the spigot dependency

#

It's not great, and open sourcing the actual plugin would be better, but I can see why they did it

jovial warren
#

yeah

#

the plugin depends on the API, not the other way around

#

obviously ShopGUIPlus' API depends on the ShopGUIPlus plugin

hot hull
#

Imagine how much better the world would be if people open sourced everything 🙂

jovial warren
#

I agree

onyx loom
#

clip

prisma wave
#

This will probably end up being abandoned side project #957291 but I'd love to start an organisation where we recreate premium plugins and make them open source

jovial warren
#

I'd join you

onyx loom
#

in kotlin 😍

jovial warren
#

that was kinda what my organisation was for

#

but Prevarinite isn't really going anywhere at the moment

prisma wave
#

yeah

#

well

#

could be worth a try

#

maybe free, maybe freemium

jovial warren
#

free and open-source

#

make payment optional with donations

prisma wave
#

I think freemium is the best business model. where you can get them for free but you pay for support

onyx loom
#

^^

jovial warren
#

if they want to support us they can donate?

prisma wave
#

that way there's incentive for us to actually do it, while not being scummy at the same time

jovial warren
#

yeah good point

prisma wave
#

not many people actually donate though

jovial warren
#

yeah

onyx loom
#

yea

jovial warren
#

I think we should link the source code on the spigot page as well

onyx loom
#

ive never donated when someone on the plugin page says so

prisma wave
#

yeah ofc

jovial warren
#

maybe make it clear that buying the premium version is for support only

prisma wave
#

yep

onyx loom
#

whereas ive paid for freemium projects before

jovial warren
#

just so people know that they have the option

prisma wave
#

Go down the libsdisguises/Guilds/Citizens route

jovial warren
#

and then we put all our builds on a CI server if people want to get them for free

#

or something

prisma wave
#

sounds good

#

well

#

any ideas?

jovial warren
#

idk

#

I've already started on remaking LiteBans

#

I started that ages ago

prisma wave
#

that can be 1 of the projects

jovial warren
#

depends on what else you wanna remake

onyx loom
#

all of clips laugh

jovial warren
#

the punishments on there is outdated

#

also, we should recreate just closed-source plugins as well

prisma wave
#

yeah

#

no point remaking oss premium ones

#

we could keep using that org if you want

#

or make a new one

jovial warren
#

not just premium closed-source, but also possibly free closed-source

#

depends

#

if you wanna join the organisation you're more than welcome

#

it's currently me and Yugi at the moment, you guys can join us if you want though

onyx loom
#

id like to join if i was good enough 😦

jovial warren
#

you are

prisma wave
#

yeah I'll join

#

can you invite me?

jovial warren
#

sure

#

gotta find it again lol

prisma wave
#

gh username is knightzmc

jovial warren
#

the invite button

prisma wave
#

oh lol

onyx loom
#

also if ur going freemium on spigot then ull need to have the premium requirements

prisma wave
#

hmm true

onyx loom
#

like 80 messages and 3 plugins

prisma wave
#

maybe make a few free ones first

jovial warren
#

invited you BM

prisma wave
#

i don't have any public plugins so

#

ty

hot hull
#

Imagine not having premium requirements met pfft

jovial warren
#

anyone else? send me your usernames

onyx loom
#

Kqliber

#

😁

jovial warren
#

gotcha

#

idk whether you know about our policy here, but basically it's work whenever you want, however you want

prisma wave
#

seems fair

#

we should probably set some sort of standard if we're having >2 people working on something

jovial warren
#

yeah

prisma wave
#

I will make everything in kotlin

#

bear that in mind

jovial warren
#

so will I

onyx loom
#

so will i

prisma wave
#

yay

jovial warren
#

idk about Yugi, he'll probably have to adapt to it

prisma wave
#

i guess you can use java if you want

jovial warren
#

if we're making APIs they might want to be in Java

#

¯_(ツ)_/¯

prisma wave
#

I don't think that's really necessary

#

A well documented kotlin interface is just as readable as a Java one

onyx loom
#

OS

jovial warren
#

A well documented kotlin interface is just as readable as a Java one
I agree

onyx loom
#

yup

jovial warren
#

also accept the damn invite already @onyx loom lol

onyx loom
#

im in bed

jovial warren
#

haha fair enough

onyx loom
#

seems like effort to get out

hot hull
#

Guess who has to make custom enchantments :sudoku-inbound:

prisma wave
#

Sounds fun

obtuse gale
#

Lol

jovial warren
#

you should come and join us frosty

prisma wave
#

Yea

hot hull
#

And legit yeet myself out the window? I'm good thanks

onyx loom
#

yes

jovial warren
#

wdym?

prisma wave
#

Wat

obtuse gale
#

Oh well

jovial warren
#

what's wrong with Prevarinite?

obtuse gale
#

What a smart brain 😂

jovial warren
#

lol

onyx loom
#

ok ill get out of bed now

jovial warren
#

also @prisma wave I'm probably gonna need to redo the site at some point

prisma wave
#

It doesn't seem to be up

jovial warren
#

probably something you could help with

#

it isn't

prisma wave
#

Yeah can do

jovial warren
#

I took it down because I got shall we say a complaint

prisma wave
#

About what?

jovial warren
#

a.k.a I copied someone else's website and they told me off

#

so I took it down

prisma wave
#

Oh lmao

jovial warren
#

I mean fair enough to him, he did pay for it

onyx loom
#

lol

prisma wave
#

My web design skills are far from good

#

But I will try to help

onyx loom
#

html?

jovial warren
#

@prisma wave it's my creativity where I lack

prisma wave
#

Yeah

jovial warren
#

I'm a programmer, not an artist or a designer

prisma wave
#

I could probably mock up something that looks decent

#

But nothing special

onyx loom
#

if its html i can prob help a little bit

#

havent done any html in like 2 years tho

prisma wave
#

You can make a decent looking thing with bootstrap and that's it

jovial warren
#

yeah

#

maybe we should use something like angular for frontend, because of it's compatibility

prisma wave
#

Potentially

#

Vue is probably a better option, angular seems kinda overkill

jovial warren
#

does Vue have support for different size devices like angular does?

prisma wave
#

I'm not sure the framework is really responsible for that

#

Bootstrap is responsive, which is probably more than enough

frail glade
#

It does

#

But you still have to design the css that way

jovial warren
#

I just need something very fast, lightweight, and responsive

#

and that's ideally compatible with mobile devices

prisma wave
#

Bootstrap is a good option

frail glade
#

Yeah there's a Vue version

prisma wave
#

Might be worth a look

jovial warren
#

might wanna get learning JS then

prisma wave
#

Js is easy

#

Mostly

jovial warren
#

I imagine it probably is

signal tinsel
#

Hm

#

Yall know my plugin premiumchat

#

Rn I have permissions for formats, colors, channels etc

#

I'm thinking of replacing that with a requirements system similar to dmenu's

#

Should I?

jovial warren
#

could be a good idea

signal tinsel
#

It would provide a lot more control

jovial warren
#

if you're charging people for it though you've gotta make it better than it's competitors

signal tinsel
#

Ye

#

Tbh I wanna make a public requirements api thing

#

Similar to how papi works

jovial warren
#

right now, I'd just choose EssentialsChat

signal tinsel
#

But for requirements

jovial warren
#

there's gotta be something about it that makes it worth buying

#

or people won't buy it

signal tinsel
#

Ye

#

It already has quite a lot of customizability

#

But the more the better tbh

#

And it wouldn't add a terrible amount of complexity to the api

quiet depot
#

how does ur plugin compare to venturechat?

jovial warren
#

from what I've seen so far it doesn't have much over EssentialsChat

signal tinsel
#

Venturechat?

quiet depot
#

=plugin venturechat

compact perchBOT
#

v2.18.6 by Aust1n46
#1 Channels Chat plugin! Spigot + Bungee. Supports PlaceholderAPI + JSON formatting. Moderation GUI!

Downloads:

38,920

Likes:

141

Reviews:

219

quiet depot
#

venturechat is probably the most feature complete chat plugin on spigot

jovial warren
#

looks like it

quiet depot
#

chatcontrol pro has a higher feature number than it iirc, but also iirc, they're mostly gimmicks

jovial warren
#

does it have multi-proxy support? (a.k.a a redis messaging system)

quiet depot
#

no clue

jovial warren
#

I've been looking for a redis-based chat plugin for literally ever

quiet depot
#

looks like it doesn't support redisbungee

jovial warren
#

I would just put in jedis for Pub/Sub

#

RedisBungee means it needs to depend on something else

signal tinsel
#

What do you mean by a redis-based chat plugin

jovial warren
#

one that uses redis to talk between servers

#
  1. Because PMC is super slow compared to redis
  2. Because redis support means that you can support more than one proxy
signal tinsel
#

Oh like that

#

Honestly shouldn't be too hard

jovial warren
#

it isn't

signal tinsel
#

Redis is really easy

#

But really useful

obtuse gale
#

I dont even know wtf redis is lol

jovial warren
#

redis pub/sub is a bit of a pain

signal tinsel
#

Though there's no point in using it in public plugins as I don't think there's a single public host that gives redis instances

jovial warren
#

yeah

#

optional redis support is always a factor though

#

and you'd have something that no other plugin (from what I can find) has

signal tinsel
#

True

#

But tbf if you're using redis you're probably running a larger network and run a dedicated server, so you're prolly gonna get custom plugins

jovial warren
#

yeah good point

quiet depot
#

I dont even know wtf redis is lol
@obtuse gale easiest way to think of it is as a cache

signal tinsel
#

Hm

#

With venture chat

quiet depot
#

however people also use it as a messaging service

signal tinsel
#

You can have 3 "chat sections" I guess

jovial warren
#

redis itself is a key-value map

signal tinsel
#

Like 3 separate sections for separate hover/click things

#

With my plugin everything has unlimited things like that

jovial warren
#

redis pub/sub is the messaging system it uses

signal tinsel
#

If you want you could add 100x : and have a separate hover/click for each

jovial warren
#

yeah

#

good luck selling this plugin though

quiet depot
#

a premium chat plugin probably wouldn't even get accepted on spigot

signal tinsel
#

Its already on spigot

jovial warren
#

it already has

quiet depot
#

oh

signal tinsel
#

xD

jovial warren
frail glade
#

They pretty much accept anything now

quiet depot
#

wait they really accepted a premium plugin that's the same as essentials chat?

#

damn

jovial warren
#

I doubt it'll sell well though

frail glade
#

Skripts, etc.

quiet depot
#

that's so sad waffle 😦

signal tinsel
#

Why compare it to essentials chat lol

jovial warren
#

wait they really accepted a premium plugin that's the same as essentials chat?
yeah

signal tinsel
#

That's rough

jovial warren
#

that's what it's on-par with

quiet depot
#

bardy said it was the same as ess chat maffie

jovial warren
#

at the most on-par from what I've seen

frail glade
#

In other news, I can go ahead and remake my PR for PAPI in MinecraftDev since the rewrite got done.

quiet depot
#

I wanna make an intellij plugin for rpf eventually

#

intellij has a guice plugin, but due to the way rpf uses guice, it doesn't pick up on it

jovial warren
signal tinsel
#

Wait, echat has commands?

jovial warren
#

I suppose it has channels

#

but channels isn't going to make someone pay 10 euros for it

signal tinsel
#

Also what do you need more commands for

jovial warren
#

wasn't saying you need more commands

#

was saying it's just kinda very similar to what essentialschat does

#

the PAPI support is a bonus

sharp knoll
#

does anyone know a good tutorial for creating/using yaml files?

jovial warren
#

but there are plugins that have that

#

does anyone know a good tutorial for creating/using yaml files?
I'd just suggest reading the specification

#

tutorials won't give you anywhere near everything you need to know

signal tinsel
#

You can't compare my plugin to esschat lol

jovial warren
#

oh I can

#

it's still no where near something like VentureChat which is free, or DeluxeChat which is cheaper

sharp knoll
#

hmm okay

jovial warren
#

I know it's very long and wordy, but that has literally everything you'd ever need to know

prisma wave
#

Unless of course you meant how to do it via code

sharp knoll
#

yeah thats more what im looking for @prisma wave :3

#

anyway i found a lot of information about using xml instead so im looking into that rn

hot hull
#

@prisma wave You said you had an enchants plugin right? You got any clean ways of handling the equipping/unequipping the armor containing the enchant?

prisma wave
#

I've made a few before. Wdym?

hot hull
#

I need to find a clean way of handling the equiping of an enchantment (applying effects when you put on a helmet, properly removing it when you take it off, etc)

prisma wave
#

There are various ArmorEquipEvents that you could use. If not, perhaps just a repeating task. Lemme check what I did

hot hull
#

(On 1.8 so doubtful :p)

jovial warren
#

1.8 is a pain for everything that is version dependent

hot hull
onyx loom
#

oh no

topaz bay
#

imagine using java

hot hull
#

Imagine being a 4head

#

(But hey atleast I'm using final)

onyx loom
#

hello fellow kotlin users

old wyvern
#

Should be the same. The compiler uses if-else , switch and ternary to express when statements

onyx loom
#

i see

#

thank u for ur insight

ocean quartz
#

When is cleaner though

onyx loom
#

i would also agree

prisma wave
#

I believe convention is to use when for if there are 3 or more conditions, otherwise use if

onyx loom
#

kkkkkkkkkkkkkk

#

so who wanna code review

old wyvern
#

anyone wanna clash?

onyx loom
#

o.o

topaz bay
#

Wouldn't it be nice if kotlin had unbounded ranges

onyx loom
#

if we get more ppl then sure lets do it

onyx loom
#

unbounded ranges?

hot hull
#

KM, u died smh

old wyvern
#

Join frost

topaz bay
#
when (mark)
{
  in ..39 ->
  in 40..59 ->
  in 60..79 ->
  in 80.. ->
}
hot hull
#

busy

old wyvern
#

ah rip

topaz bay
#

Could be nice

hot hull
#

boutta yeet myself due to these enchants

onyx loom
#

ah i see

#

anyone else joining the clash?

topaz bay
#

fuck clash

onyx loom
#

☹️

onyx loom
#

were u afk?

old wyvern
#

Yea I left after a bit

hot hull
#

This shitty spigot api is gonna make me yeet myself out the window one day

old wyvern
#

Whats wrong?

onyx loom
#

frosty, u say this everyday 😆

hot hull
#

I don't, this is the first time saying this after a couple of months

#

Whoever designed the inventory click event, can go eat 💩

onyx loom
#

search from: Frosty#3308 yeet

#

please do it

distant sun
#

noob

hot hull
#

I mean yeet yea, not regarding the spigot api tho

#

@distant sun Shut up, imma cook ur cat

onyx loom
#

😂

#

yummy fur

distant sun
#

I would say smth but fc will get mad at me

onyx loom
#

say it

distant sun
#

so fuck you

onyx loom
#

he aint here 👀

hot hull
#

Say it in my dms

distant sun
#

nah

hot hull
#

Weakling

onyx loom
old wyvern
#

Bad service configuration file, or exception thrown while constructing Processor object:wrgwgwgwgw

ocean quartz
old wyvern
#

looks like sublime kinda

onyx loom
#

looks nice