#dev-general

1 messages · Page 252 of 1

jovial warren
#

gimme link

jovial warren
#

alright, cheers

ripe zinc
#

how would I specify what a data class returns?

obtuse gale
#

Declaratiosn

jovial warren
#

if only md_5 used the Bukkit config API in Bungee instead of making his own

ripe zinc
#

i understand
data class test(): String
how would I set the string so I can return it

ocean quartz
jovial warren
#

because I like the Bukkit config API, I just hate the Bungee one

ripe zinc
#

unless im misunderstanding

jovial warren
#

classes represent things

#

OOP 101

ripe zinc
#

is that extensions in kotlin?

jovial warren
ocean quartz
#

Data classes are just classes that have properties, toString, HashCode and equals all done for you

jovial warren
#

object-oriented programming 101 tells you what classes are

ripe zinc
jovial warren
#

a data class is a special kind of class

#

classes don't return thingys

#

classes hold thingys

ripe zinc
#

...ok

ocean quartz
#

@ripe zinc For example, this is a data class in java

public class FieldSpecification {
    private String name;
    private String type;
  
    public FieldSpecification(String fieldName, String fieldType) {
        this.name = fieldName;
        this.type = fieldType;
    }
  
    public String getName() {
        return name;
    }
  
    public String getType() {
        return type;
    }
}

That class in Kotlin would be:

class FieldSpecification(private var name: String, private var type: String)
ripe zinc
#

what does the ItemStack() mean?

ocean quartz
#

class Class : ItemStack() means your Class is extending ItemStack

jovial warren
#

that's called a constructor

ripe zinc
#

ok

#

so it was extension

#

was just making sure

ocean quartz
#

Yeah

jovial warren
#

: = extends or implements

ripe zinc
ocean quartz
#

: Something() <- Extends
: Something <- Implements

ripe zinc
#

ahhh ok

jovial warren
#

to explain that a bit further, when we call JavaPlugin() in the inheritance, we are actually calling it's primary constructor, but that's another story on how that works

ripe zinc
#

4 character difference

#

in typing that, lol

jovial warren
#

e.g. in Java, you have to call super() when you extend other classes

jovial warren
#

in Kotlin, we do that by calling the constructor in the inheritance

prisma wave
#

kotlin question?

distant sun
#

stop.

hot hull
#

Efe

prisma wave
#

sender as Player

#

lol

distant sun
#

sender as Player

jovial warren
#

@obtuse gale you mean val player = sender as Player lol

ripe zinc
#

I've got my answer guys please oh my god

prisma wave
#

^

ocean quartz
#

That is wrong lmao

onyx loom
#

🥲

jovial warren
#

and ya fucked that up xD

prisma wave
#

@ripe zinc : "hi I have a simple question can someone help?"

#dev-general : "yeah well I think you should consider using a reflective inverted bimap implementation as your current system should declare an interface with a more clearly defined contract and you should really be splitting your 4 line method into 8 different classes for the Single responsibility Liskov principle which you learn about in Section 7 of Advanced Java course

#

classic

ripe zinc
#

getting hit with oop 101

#

so typical

prisma wave
#

everyone gets a bit overexcited when they hear a kotlin question!!! 🙄 🤣

jovial warren
#

lol

ocean quartz
#

Well i showed example for his question

onyx loom
#

excuse me sir i would like to correct on your statement as this "message" you have wrote which is trying to mock this channel, is based on events that happened in #dev-general.

prisma wave
#

Ah well that's where you've been outsmarted, sir

#

i have already realised my mistake and edited my message to correct it

jovial warren
#

good idea

onyx loom
#

☹️

jovial warren
prisma wave
#

shame nobody writes irrelevant paragraphs for actually good languages, like clojure or elara or ASL

jovial warren
#

"good languages"

onyx loom
#

tf is asl

distant sun
prisma wave
#

i found out about ASL yesterday

ocean quartz
#

Lmao

prisma wave
#

weirdest language ive ever seen

#

wait

#

APL*

onyx loom
#

APL Mitten, here we come

ocean quartz
#

That's so common for people to say developers are configurators

jovial warren
distant sun
#
  • that should be a region capture but sharex decided to take a full screen capture -
prisma wave
jovial warren
#

well said

prisma wave
#

Avg←{(+⌿⍵)÷≢⍵}

#

.size

obtuse gale
#

class SomeClass : private UnexposedClass, public ExposedClass guess which one :))

onyx loom
#

yes

jovial warren
#

you should very rarely be using arrays in Kotlin, or at least, I do

#

usually, List is a better substitution

onyx loom
#

ye ive never used an array once

jovial warren
#

or some form of Collection

onyx loom
#

yes?

jovial warren
#

why wouldn't it?

prisma wave
#

+/⍳100000

obtuse gale
prisma wave
#

!!!!

onyx loom
#

try and see

prisma wave
#

!!!!!!!!!!!!!!!

onyx loom
#

altho, NumberException?

prisma wave
#

toIntOrNull

jovial warren
#

no need to use try catch there lol

onyx loom
#

yes

#

try catch 🙄 🤢

jovial warren
#

you don't have to use LBYL in Kotlin as much as you do in Java

distant sun
#

lb what

jovial warren
#

actually it's not LBYL my bad, it's EAFP

ocean quartz
#

Look Before You Leap apparently

prisma wave
#

same way you do in java

jovial warren
#

LBYL = Look Before You Leap
EAFP = it's Easier to Ask for Forgiveness than Permission

ocean quartz
#

When ever you think "how do i do this thing that is not language related, in kotlin" the answer is "the same way"

distant sun
#

lmao bbg

#

are you ok?

onyx loom
#

hes been smoking smth

#

i want some

#

same way as java

distant sun
#

yes

#

is not kotlin specific

onyx loom
#

same way

distant sun
#

bukkit is just an api you are using

ocean quartz
#

It's World#spawnEntity

onyx loom
#

🥲

prisma wave
#

😋

onyx loom
#

stop

jovial warren
#

LBYL = java if (condition) { // handle bad thingys } else { // do good thingys } EAFP = ```java
try {
// do good thingys
} catch (badThingys) {
// handle bad thingys
}

prisma wave
#

HEY

jovial warren
#

pretty much

distant sun
#

you have a very nice imagination @jovial warren

jovial warren
#

no they're actually things

prisma wave
#

ok what about RUST???

jovial warren
#

I remember them being called that in my Java course

prisma wave
#

rust has the best way of error handling

ocean quartz
#

Just wrap your entire plugin in a try catch Exception, no need to check anything

distant sun
#

pretty sure is the other method

#

that return entity and you have to cast to your entity type

jovial warren
#

as

#

or as? for a safe cast

prisma wave
#
let mut zombie = sender.world.spawn_entity(sender.location, EntityType::Zombie);
zombie.name = name;
distant sun
#

nvm that's right

ripe zinc
#

spawn_entity

distant sun
#

val zombie = sender.world.spawnEntity(sender.location, EntityType.ZOMBIE) as Zombie

jovial warren
#

^

ocean quartz
#

val zombie = sender.world.spawnEntity(sender.location, EntityType.ZOMBIE) // Entity
val zombie = sender.world.spawn(sender.location, Zombie::class.java) // Zombie

#

What is name?

distant sun
#

isnt it customName ?

#

and you have to use isCustomNameVisible = true

#

at least that's what I did for an armor stand

ripe zinc
#

you set the getter to true?

prisma wave
#
val zombie = sender.world.spawn[Zombie](sender.location)
ripe zinc
#

man kotlin is wild

prisma wave
ripe zinc
#

oh the property name is isCustomNameVisible

#

as if its not customNameVisible

prisma wave
#

mhm

stuck harbor
#

why is kotlin so weird

ocean quartz
#

It isn't that weird xD

ripe zinc
#

extension functions are the future

#

these things are sick

prisma wave
#

extend String {
let colored = ChatColor::translateAlternateColorCodes('&', this)
}

ocean quartz
#

Tbh any language is weird if you compare them, like, go is weird af, but once you get used to the syntax then it's fine

prisma wave
#

go isn't weird 😦

ocean quartz
#

Like i said, until you get used to it, it is
That goes to every language

ripe zinc
#

is there a clean way to go through a list and replace the item inside?

#

kotlin obv

#

replaceAll is only for ArrayList, if im not mistaken

ocean quartz
#

Something like list.forEach { it.replace("replacer", "replacement") }

ripe zinc
#

man, i forgot you can just use the iterator

prisma wave
#

no

#

no

#

declaratively or nothing

#
list.map { it.replace("blah", "other blah") }
ripe zinc
#

is it not the iterator?

prisma wave
#

no

ripe zinc
#

lambdas are whack to me still

prisma wave
#

it is just the implicit parameter name when you have a lambda taking 1 argument

ocean quartz
#

it refers to the current value of the list

ripe zinc
#

Oh that makes a lot more sense

#

return this.apply { replaceAll{s: String -> s.coloured()} } was this a terrible way to do it before?

prisma wave
#

yes

ripe zinc
#

this being an ArrayList

prisma wave
#

gross

ripe zinc
#

ok ahaha

jovial warren
#

@ocean quartz what's the dependency for your ConfigMe fork btw? me.mattstudios:config:version?

ocean quartz
#
maven { url = "https://repo.mattstudios.me/artifactory/public/" }
implementation "me.mattstudios:triumph-config:1.0.3-SNAPSHOT"
jovial warren
#

cheers

#

also, is it fast and lightweight?

ocean quartz
#

Should be, it's around 130kb i think

jovial warren
#

good

surreal quarry
#

just pdm it fingerguns

jovial warren
#

I don't use PDM lol

surreal quarry
#

sad

ocean quartz
#

If only relocations 🙄

onyx loom
#

wow

#

extremely rude

#

pdm is the greatest thing to ever exist

surreal quarry
#

im using it for the first time and its amazing

stuck harbor
#

the heck is pdm

#

Pakistan Democratic Movement?

surreal quarry
#

no lmfao

#

plugin dependency manager or something

stuck harbor
#

ah thanks, Google didn't want to cooperate

ocean quartz
#

@jovial warren An example of an addition I made that is much better than the original
To generate this

private-messages:
  # List of formats to use for the sender.
  sender-formats: 
  - "default-pm-sender"
  # List of formats to use for the recipient.
  recipient-formats: 
  - "default-pm-recipient"
  # Single format to use for the social spy.
  social-spy-format: "default-social-spy"

All i do is:

#

Each property can have it's own comments and custom export name

#

Which is not supported in the original ConfigMe

jovial warren
#

what if I say want something like ```yaml
formats:
ban:
header:
permanent:
temporary:
footer:

surreal quarry
#

whats the difference between @Name and @Path

jovial warren
#

how would I load all those in?

ocean quartz
surreal quarry
#

ah ok. is the data class just a type for the property to be then? Property.create(PrivateMessageHolder()) or something like that?

ocean quartz
jovial warren
#

ah okay

surreal quarry
#

nice

#

do you need to write your own serializer/deserializer similar to gson or does it handle it automatically

prisma wave
ocean quartz
#

You mean if I needed, or if you need to do it to use it?

jovial warren
prisma wave
#

yes really

surreal quarry
ocean quartz
#

Nah, unless it's complex, like an interface
Which i also made a solution for it
For example, every time it detects the interface FormatDisplay it'll trigger my mapper

#

And manually create the object according to it

surreal quarry
#

oh nice

jovial warren
#

omg no way

#

I just found GitHub dark mode lol

#

has that been out for a while or is it new?

old wyvern
#

Its been a while

surreal quarry
#

a couple months at least

#

also howd you jsut see it its like a big button at the top of your profile

regal gale
#

It actually pains my eyes for some reason thonk

weary epoch
#

does anyone have recources for learning more stuff in plguin development

#

rn im trying to make a GUI

#

but i have no clue

#

any good stuff I could use to learn?

obtuse gale
#

Making GUIs is a pain in the ass

#

Working with inventories is

#

They suck

weary epoch
#

yeah but GUIs are very user friendly

#

so its for sure worth it

obtuse gale
#

You can try using Matt's GUI library

#

?mf

compact perchBOT
obtuse gale
#

Menus

weary epoch
#

thanks

obtuse gale
#

Np

weary epoch
#

this is weird

#

isnt there one already with bukkit

obtuse gale
#

you can try managing inventories, items and events yourself, sure

#

but it's a pain in the ass

weary epoch
#

im gonna try this

#

ill probably have some problems

#

but ill try to get help with those along the way

#

and then ill probably have full understanding by the end

#

wait a sec

weary epoch
# obtuse gale Np

what do i import the website doesnt tell me what to import and im getting errors

obtuse gale
#

import what where?

weary epoch
#

idk

#

im confused

#

it doesnt tell me where the GUIs are supposed to be made

obtuse gale
weary epoch
#

i did that

#

and on the next page

#

its telling me to put some code

#

but idk where to put it

#

my main or a seperate class?

#

and what do i import

obtuse gale
#

wherever you want, wherever you are actually creating the GUI

weary epoch
#

okay

#

i made a new class

#

but wtf do i import

#

because its giving me errors

#

when its not supposed to

compact perchBOT
obtuse gale
#

LMAO

#

paste your code ig

#

?paste

compact perchBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
HelpChat Paste - Usage
Hastebin

weary epoch
#

this is what i got

#

and im already getting errors

#

i swear

obtuse gale
#

uuh well, BanGUI is your class, it isn't one of the GUI classes in Matt's library

#

You want to use Matt's

weary epoch
#

how do i do that

#

how do i have HIS class

obtuse gale
#

Firstly how are you managing dependencies? Maven? Gradle? Importing the JARs as "external libraries"?

weary epoch
#

gradle

obtuse gale
#

If so, you should be able to create a GUI by doing this without any issues

weary epoch
#

yes

#

i added those to by build.gradle

#

so i have no idea why im getting error

obtuse gale
#

show error

#

actually nvm

weary epoch
obtuse gale
#

Why are you using BanGui

#

do what the example does, Gui gui = new Gui(3, "Punishments")

weary epoch
#

but the thing is

#

my class is called BanGUI

#

and if I use just Gui i get an error

obtuse gale
#

ok but we dont want to make a new instance of ur class

#

we want to make an instance of the class in the library

#

also show error if you use Gui

weary epoch
obtuse gale
#

show where ur putting that code

#

show the full class

weary epoch
lavish notch
obtuse gale
#

you havent imported it

weary epoch
#

how come it imports so much shit in ur stuff

#

but mine doesnt do jack shit

obtuse gale
#

its like one import isnt it?

#

just hover over it and click import

weary epoch
#

idk what im supposed to import

obtuse gale
#

just hover over it and click import

lavish notch
obtuse gale
#

intellij will do it

weary epoch
#

hover over what?

obtuse gale
#

the word Gui

weary epoch
obtuse gale
#

Have you refreshed gradle?

weary epoch
#

yes

#

multiple times

lavish notch
#

show gradle build

obtuse gale
#

try importing it manually

#

import me.mattstudios.mfgui.gui.guis.Gui;

weary epoch
#

when i refresh gradle

obtuse gale
#

well why didnt you say that in the first place.....

lavish notch
obtuse gale
#

pretty srue the example on matts thing is outdated one sec

weary epoch
#

?paste

compact perchBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
HelpChat Paste - Usage
Hastebin

weary epoch
#

here is the build.gradle

obtuse gale
#

oh

#

onw awx

lavish notch
weary epoch
#

error is on line 16

lavish notch
#

add that

obtuse gale
#

oh yeah

#

no

#

mf is on maven central isnt it

lavish notch
#

¯_(ツ)_/¯

obtuse gale
#

the errors because the shadow plugin wasdnt added right

weary epoch
#

where was i supposed to add it

lavish notch
obtuse gale
#

just replace ur entire build.gradle with this

weary epoch
#

okay

#

i replaced it

obtuse gale
#

now refresh gradle

weary epoch
#

im reloading gradle

#

i would be so lost without this discord i stg

#

okay

#

no errors

obtuse gale
#

now can you import that Gui thing when u hover over it

weary epoch
#

yep

#

done

obtuse gale
#

there you go

weary epoch
#

okay imma be back when i inevitably get another error

olive lion
#

this is a server

#

log

#

it is death itself

obtuse gale
#

what the fuck

#

that paste contains more errors than a small log from a forge server

quiet depot
#

my man tryna load buildtools as a plugin

olive lion
#

it is when you take over 10 gigs of plugins

#

and stuff

#

I took the entire jar folder on my pc

#

over 18,000 files

#

and dumped it on a vps

obtuse gale
olive lion
#

it does have it

#

lemme show you other failed attempts

#

actually its bigger than the limit

#

oof

obtuse gale
olive lion
#

12mb log file

obtuse gale
#

that is an hour and what? 15? 20 minutes?

olive lion
#

96minutes

obtuse gale
#

hour and a half jfc

olive lion
#

and then stopping server

obtuse gale
#

Next stage: /reload

olive lion
#

right as I try to login

#

actually

#

I tried that too

#

I set a macro to spam /reload confirm 1000 times

#

it was before I added any plugins

#

very boring log

#

server went to 20tps in like 5 seconds

obtuse gale
#

lol

olive lion
#

HMM

#

what if I use 1.8

obtuse gale
#

plain 1.8

#

not even 1.8.8

olive lion
#

yep

#

nevermind doesnt exist

#

on papermc

#

paper-1.8.8-443.jar

#

what

#

@compact perch is annoyying

#

im so CONFUSED

quiet depot
#

I can make him more annoying

#

you ready?

pallid gale
#

barry not annoying

olive lion
#

cmd + esc + shfit

#

clear all

quiet depot
#

oof

olive lion
#

lol

#

mobile would be annying thou

#

anyways im very confused

#

1.8.8 server actually starts

#

and spams less errors

quiet depot
#

what's the plugin count?

#

working plugin count

olive lion
#

its still starting

#

1.16.4 took 1.5 hours

#

5 versions of worldedit just started at the same time

#

oops forge jar was a thing in plugins wot

half harness
#

paper has 1.8.8

weary epoch
#

paper is 💪

olive lion
#

did u see the 1.16.4 log

olive lion
#

poor server isnt happy

#

Screen Shot 2021-01-03 at 7.13.18 PM

#

lol

#

cant image

ocean quartz
#

?imgur

compact perchBOT
#
FAQ Answer:

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.

obtuse gale
weary epoch
quiet depot
#

snipping tool

summer bramble
#

anyone experienced in java and would like to help me fix this plugin I'm working on? I've been working on it forever and can't find anything about it online, or just can't understand what's there

ocean quartz
summer bramble
#

thanks

regal gale
#

Up until now, even 1.16.4 api, Spigot is still weird...

#

Why does right-clicking a block with a sword in creative mode triggers BlockBreakEvent?

random crater
#

is there any particular API that people recommend for chest menus? i can just make it with inventoryclickevents, but if there's an API that does most of the work/structure already, there's no point in reinventing the wheel

please @ me if you respond

obtuse gale
#

?mf

compact perchBOT
obtuse gale
#

Menus 👆 @random crater

random crater
#

preciate you

obtuse gale
#

This server has done nothing but bring me down as a person. everyday i come in here and all you do is tear me down insult me hurt me with your words and do nothing but harm me emotionally physically mentally and I just can’t take it any longer this server is so abusive and toxic it’s crazy. no one even realizes how disgusting all of your behaviors are. every single time I talk or type or even do anything or interact with anyone in the server everybody just goes against me and gangs up on me like a pack of wolves and just attacks me and i didn’t do anything to deserve these attacks and these hurtful words. i literally just try to be nice to everybody but nobody ever wants to be in my shoes and nobody ever tries to sympathize with me and see where I’m coming from all of you just see me as the enemy and as the bad guy that’s trying to ruin the server or something when really I’m just trying to spread positivity. you guys act like I’m some kind of virus or disease, constantly casting me out so much, making me feel so left out and so alone in this server. it’s fucking driving me insane I feel mental and I feel like a weirdo just being around all of you because of how you treat me. at this point in time, I’ve given up on ever trying again and ever becoming any of your friends because I just know your feelings towards me clearly. i know all of you hate me and never want to be around me again or never have anything to do with me. it’s clear that you all think I’m a joke and that I’m stupid, idiotic and boring. it’s so mean because I literally don’t do anything to you guys but you guys always act like you hate me and it makes me feel so confused because I don’t know what I did to deserve it. I feel like I should just leave because clearly nobody wants to be around me and everyone would be happier if i left anyways so i’ll just go and i hope all of you find happiness in life and i’m sorry for all the troubles i’ve ever put any of you through. i give up. goodbye.

#

Ok

quiet depot
#

lol k

obtuse gale
#

Glhf

#

Could we have at least a little bit of originality here?

ocean quartz
#

Lol

hot hull
#

Kek

pallid gale
#

huh, he only has like 2 messages on here and only one question Is there a javadocs api?

#

people are weird

hot hull
static zealot
#

k

hot hull
#

What would you name a package which contains permissions and messages stuff

#

But it's messages as well so that doesn't make sense

hot hull
#

Would using Objects.requireNonNull be acceptable if I already validate that it's not null beforehand? fingerguns

prisma wave
#

I guess

#

But why

hot hull
#

wdym why?

#

It annoys me!

prisma wave
#

How are you validating it

#

Because IJ is usually smart

hot hull
#

I'm checking if it's null beforehand, but I'm using it again after I call an event, so IJ doesn't know it can't be null

prisma wave
#

Huh

hot hull
#

"huh"?

obtuse gale
#

ur colour scheme weird

static zealot
#

he checked UUID.fromString() before but IIJ doesn't know that unless you assign that to a variable and then check and use that variable instead.

stuck harbor
#

copypasta I thought

pallid gale
#

It was

#

They had like 3 posts in the whole discord

#

only one actual question

#

the rest random stuff

#

o

lunar cypress
#

Rare pasta, damn

hot hull
#

@quiet depot How would you name a package which contains messages and permissions shit

quiet depot
#

are they hardcoded?

hot hull
#

messages no

#

permissions yes

quiet depot
#

well they're not really anything alike

#

apart from the fact that they're both strings

#

so don't put them in the same package

hot hull
#

I know, but I kinda don't wanna have seperate packages for 1 class each

stuck harbor
#

WordsAndStuff

#

thats the best package name

hot hull
#

Nah

#

YoUaReGoNnAgEtSlApPeDbYaFiSh

half harness
#

lol thats so hard to read

stuck harbor
#

🐟

#

🛀

#

does emojis in class names go against any java naming conventions?

quiet depot
#

yes

stuck harbor
#

😦

#

Integrated circuit?

#

Interstitial Cystitis aka Painful Bladder Syndrome?

#

@obtuse gale does ur bladder hurt

#

u said this

#

which means Interstitial Cystitis

#

also known as Painful Bladder Syndrome

#

... that makes more sense

#

my intellij install just updated to 2020.03 and im confused

#

the landing screen is different aaaa

#

when u open it

#

when it shows a list of ur projects

#

not loading

#

hold on

#

uh

#

imgur is a dick hold on

#

damn no embed

#

reee

#

i run linux so i can't use lightshot 😦

hot hull
stuck harbor
#

that ^

half harness
#

I never go to that page

#

only if I press "Close Project"

#

but I use the X 🙂

stuck harbor
#

i disabled the automatic project opening

#

i go where i want to go not where u want to go intellij!

half harness
#

okkkk

prisma wave
#

it's a bit buggy

#

but it works

stuck harbor
#

ill check that out, thanks 🙂

prisma wave
half harness
#

windows ftw

quiet depot
#

said no one ever

prisma wave
#

windows is objectively worse for development

half harness
#

y?

#

😦

old wyvern
#

What specifically would be worse?

half harness
#

what if I don't program 100% of the time ;-;

prisma wave
#

dual boot

#

that's what i do

#

slightly better than windows afaik

quiet depot
#

bm is it possible to install linux with windows already installed

#

or do both need to be fresh

half harness
#

I don't like cmd line 😐

prisma wave
#

yeah

#

ubuntu has an option to install alongside

#

most distros do

prisma wave
#

command line is great

half harness
#

ok

#

i prefer gui :>

prisma wave
#

gui is good for more complex things

quiet depot
#

only people that say they don't like cli are the people who don't know how to use cli

prisma wave
#

but having to open a bloated GUI for a simple task is such a waste

prisma wave
#

experience

quiet depot
#

that's so easy to remember

prisma wave
#

it's easy

#

lol

#

sudo apt install [package-name]

quiet depot
#

sudo apt -y install package-name

half harness
#

but for mc u have to still manually install on website

prisma wave
#

no you don't

half harness
#

o

#

wut

#

👀

old wyvern
#

What other than packager manager and better suppourt for command line?

half harness
#

lol

prisma wave
#

minecraft launcher is on the AUR, probably on ubuntu repos too

half harness
#

🤣

old wyvern
#

Framing the question takes time for me

quiet depot
#

yugi there's also the obvious benefit of resource consumption

#

which would definitely benefit plebs like frosty who use potato pcs

#

but not even that though

#

I have a relatively decent laptop

#

16gb ram, i7 9750h, gtx 1650

prisma wave
#

lack of a package manager mostly, worse support for things like C and C++, linux file system is a lot nicer, it's SO much easier to set environment variables and things (eg temporarily downgrading to java 8 to compile something), much easier to get local installs of things like sql databases, webservers, grep is nice, being able to update without restarting

quiet depot
#

and I noticed a HUGE performance improvement when switching to linux

prisma wave
#

etc

old wyvern
#

Sorry man didnt get enough time to look up stuff

prisma wave
#

lack of a package manager mostly, worse support for things like C and C++, linux file system is a lot nicer, it's SO much easier to set environment variables and things (eg temporarily downgrading to java 8 to compile something), much easier to get local installs of things like sql databases, webservers, grep is nice, being able to update without restarting

#

native docker support

old wyvern
prisma wave
#

native docker support

old wyvern
#

What task was slow for your case?

#

Hmm

prisma wave
#

for me it wasn't a performance increase per-se, but a productivity increase

quiet depot
#

running a debug server, playing, and developing was an issue iirc

half harness
#

intel integrated hd graphics 2500 ftw

#

my mc fps sucks

quiet depot
#

running a debug server, playing, and developing was an issue iirc

#

discord dying or just me?

old wyvern
#

Discord dying

prisma wave
#

yeah happening to me too

#

thought it was my internet lol

half harness
#

really?

#

ohhhh yes i cant send messages

old wyvern
half harness
prisma wave
#

also this is a really small thing but KDE's default file explorer has an integrated terminal that automatically goes into the current directory

#

which is amazing

old wyvern
#

Altho, im just mostly worried about the drivers on switch to linux

quiet depot
#

drivers for what specifically?

old wyvern
#

Graphics card

prisma wave
#

only driver issue i've ever had was for a cheap wifi dongle, things like GPU drivers are very well supported

quiet depot
#

what gpu do you have?

hot hull
#

gawk gawk 9000

half harness
#

is there glorious mouse software on linux 😋

old wyvern
#

Googled earlier and some NVidea drivers seem to have weird effects on Linux

quiet depot
#

no

old wyvern
half harness
#

😱

quiet depot
#

as long as you install nvidia's proprietary drivers and not noveau, it should be fine

old wyvern
#

god discord is so slow rn

prisma wave
#

^^

quiet depot
#

yeah it's giving me cancer

old wyvern
#

How about game suppourt?

prisma wave
#

nvidia's drivers aren't as good as AMDs but they're still decent

old wyvern
#

Hmm

prisma wave
#

fine

quiet depot
#

which games

#

I wouldn't call it fine bm

#

it's meh

prisma wave
#

any game that isn't full of DRM will probably be fine

#

it's getting better

#

proton is good

old wyvern
#

Lets say, GTA5, Watch Dogs 2, Metro Exodus..ect?

prisma wave
#

idk about those, but i would just dual boot for games tbh

old wyvern
#

Worried about the space mostly for that case. say how much space would I have to allocate if I install it in my second drive?

prisma wave
#

most distros are pretty small

quiet depot
#

linux is way smaller than windows

old wyvern
prisma wave
#

ubuntu is probably about 8GB? but you could get something very light if you really cared

quiet depot
#

I think ubuntu requiers 20gb

old wyvern
prisma wave
#

oh lol

quiet depot
#

idk

#

pretty sure vmware recommend 20 gb for ubuntu

prisma wave
#

youre probably right

quiet depot
#

going off that

prisma wave
quiet depot
#

that's my concern for switching too

#

gonna take ages to install everything

prisma wave
#

it's a lot quicker than windows

#

i can usually get started from a fresh install in about 10 minutes, excluding download times

#

maybe

old wyvern
#

jb ides, jdk, compilers for some other languages,an image Editor, Document editor...ect?

prisma wave
#

much faster than it would be on windows

old wyvern
#

Partnership with Tesla coming soon

prisma wave
#

JB stuff just download toolbox (which is probably provided by a package manager) and set them installing

#

jdk you can use SDKMAN which is amazing

old wyvern
prisma wave
#

a lot of compilers will be pre-installed

#

gcc is afaik

hot hull
old wyvern
#

god

#

Thats luxurious

quiet depot
old wyvern
#

I need to clean up my drives

prisma wave
#

i'd keep any productivity stuff on windows just because Word + Photoshop are unbeatable

quiet depot
#

eh honestly I find libreoffice fine

old wyvern
#

libraoffice isnt easily compatible with word files tho right

prisma wave
#

pretty sure it is

quiet depot
#

it's 100% compatible

old wyvern
#

Had some issues with the formattign earlier

#

Used to use that on my old computer

quiet depot
#

doubt many people would use libre if it wasn't compatible

prisma wave
#

libreoffice is fine, ms office is just MUCH better

old wyvern
#

The page margins and stuff was off a lot when I tried switching

prisma wave
#

i usually end up using google docs now anyway

quiet depot
#

efe driver managers are built into the os

old wyvern
#

Is there any tool that can let us know what we can clear up?

quiet depot
#

for windows?

old wyvern
#

Yes

prisma wave
#

ccleaner?

old wyvern
#

Having a look

quiet depot
#

don't use ccleaner

#

pls

prisma wave
#

yeah

#

i agree

old wyvern
#

Ah

quiet depot
#

no

old wyvern
#

Spyware?

quiet depot
#

ccleaner is just shady af

prisma wave
#

most of the "cleanup softwares" are kinda scams anyway, they just clear useless stuff like thumbnail cache

quiet depot
#

it'll silently disable windows defender and install avast anti virus

prisma wave
#

what

#

really?

quiet depot
#

and it'll show a little bit of info about what it might be able to do

#

and then ask for money to actually do anything useful

prisma wave
#

yeah

old wyvern
quiet depot
#

vanilla windows cleanup functionality is perfectly fine

prisma wave
#

scan

#

find stuff

old wyvern
#

🥲

prisma wave
#

0 viruses on linux

quiet depot
#

lol

old wyvern
#

efe

#

try deleting system32

#

works 100% of the times

quiet depot
#

my appdata is like 70gb

old wyvern
#

xD

#

huh

#

Wait

quiet depot
#

installations

old wyvern
#

Coz the actual installation is supposed to be on D

#

o.o

#

lol

old wyvern
quiet depot
#

ye

old wyvern
#

Alrighty

terse temple
#

lets say I want to get a long string as input from a player, how can I open a command block window so the player can type it in there

hot hull
#

Why you using command blocks, ew

terse temple
#

and I wont use an anvil gui

hot hull
#

Well what's the goal for this

terse temple
#

in my case

#

to send a mysql command through minecraft

#

and since those can get pretty long

#

long enough to not fit in chat or a sign

#

I assumed I could use a commandblock

hot hull
#

Book?

terse temple
#

that could work

hot hull
#

Sounds ew to be inputting queries tho, since that could really be harmful

stuck harbor
#

github are deprecating using passwords when cloning a repo what

prisma wave
#

passwords bad

#

ssh keys good

stuck harbor
#

yeah but i just switched distro

#

i cba regenerating all my ssh keys

prisma wave
#

smh

stuck harbor
#

i dont even know if my gpg signing key is still around

terse temple
stuck harbor
#

@obtuse gale what playlist was that?

#

noice

ocean quartz
#

Wait

#

Which shortcut?

half harness
#

ctrl + c

#

ctrl + a

ocean quartz
#

^

half harness
#

ctrl + u

ocean quartz
#

To open which shit?

half harness
#

assuming ur using chromium and similar

quaint isle
#

Where do y'all host the images you put in your README? In the same repo?

dawn hinge
#

you could create a separate folder for storing images (in the same repo) or just create an entirely separate repo for images purposes

stuck harbor
#

jesus gradle is so much faster than maven what

ocean quartz
#

Yup

stuck harbor
#

feels like ive gone from driving on peanut butter to driving on a newly layed road

#

BUILD SUCCESSFUL in 723ms took 15 secs in maven

stuck harbor
#

success

#

good

#

how are you?

#

good

#

massive console window, takes up an entire monitor, and it says

BUILD SUCCESSFUL in 1s
#

thats all it says

static zealot
#

well that's a good thing

#

instead of getting a million errors in a small screen

stuck harbor
#

oh i also decided to use pdm

surreal quarry
#

pog

stuck harbor
#

pretty nifty ive gotta admit

surreal quarry
#

pdm is great

stuck harbor
#

eh might do on my next project

static zealot
#

oops wrong channel

stuck harbor
#

lol

static zealot
#

missclick but still funny

#

they sent me a security code on my mail address but they censored my mail address in the actual mail

stuck harbor
#

thats uhhh

#

odd

static zealot
#

xD

surreal quarry
#

safety first!

trim bear
#

I'm using JDE1.8 + Spigot 1.15.1 with the newest PlaceholderAPI. Could this be the reason towards why my server thinks the plugin.yml file is missing whenever I add PlaceholderAPI as a depend/softdepend?

half harness
#

what is JDE?

#

assuming JRE

half harness
surreal quarry
#

the reason the plugin.yml is missing is probably because its missing

half harness
#

xD

trim bear
#

Sorry lol

#

And no it's not missing

surreal quarry
#

you sure its in your jar?

trim bear
#

It works fine until I add the depend

surreal quarry
#

hmm ok

trim bear
#

And yes it is

half harness
#

can you show the error and plugin.yml?

compact perchBOT
#
HelpChat Paste

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

trim bear
#

Ah yeah let me hop on my pc

prisma wave
half harness
#

oh also bm get some moderation on ur discord server ;-;

#

I left

#

because of a spam pinger

surreal quarry
#

he was banned

half harness
#

I meant automod

#

like auttaja

#

?

trim bear
surreal quarry
#

i mean the issue was that everyone had perms to ping everyone lol

half harness
#

really?!

surreal quarry
#

im pretty sure

#

idk how else he couldve pinged lmao

half harness
#

oh at first he just pinged llike 3 users

#

then I left bc i was getting pingedd like a billion times

prisma wave
#

I took away the everyone perms

#

He was just pinging individually

#

And they've been banned since

#

Yeah

static zealot
#

lmaoooo. I found my first ever plugin xD ```java
package blitz0001;

public class FirstPlugin {
@Override
public void onEnable() {
getLogger().info("My first plugin has been enabled!");
}

@Override
public void onDisable() {
    getLogger().info("My first plugin has been disabled!");
}

}

#

welp time to delete

surreal quarry
#

blitz0001

static zealot
#

already did 🩴

#

because its trash and just wastes 1kb in my pc memory

surreal quarry
#

nice

#

dont mess it up

static zealot
#

xD

#

lmaoo

#

fuck how did you move memory from D to C?

#

bcz I'm running low xD

#

k. that doesn't actually help xD

lunar cypress
#

tfw when you store memory on SSDs

remote goblet
static zealot
#

OMGGG

#

I actually saved a backup

#

well a bit old

#

but I actually have one

#

that used to be my minecraft server world ^

#

well it got to like 170 or 180 until I reset it

#

no

#

will take me 2 days

#

to update

half harness
static zealot
#

I know

half harness
#

;-;

static zealot
#

you know what would be more helpful? actually telling me or giving me a link to some random post I can't find xD

half harness
#

;-;

stuck harbor
#

24/8

#

imo should be 10 days in a week

#

abolish months I hate them

#

yes

#

good

half harness
#

;-;

trim bear
static zealot
#

and you've put plugin.yml in resources ?

distant sun
#

Eclipse 🙄

static zealot
#

ah there is a ss

#

well its wrong

distant sun
#

Spigot has an example on their wiki for Eclilse @trim bear

static zealot
#

you need to put it under src/resources

#

not in your main package @trim bear ^ same for config.yml

scenic oak
#

Hey, I need some help. I want to detect if a skeleton shoots another skeleton. (I'm trying to disabled mob friendly fire) Blocking zombie is probably easy because its melee based combat but I'm having issues figuring out ranged combat

distant sun
#

d;spigot entitydamagebyentityevent

ruby craterBOT
#
public class EntityDamageByEntityEvent
extends EntityDamageEvent```
EntityDamageByEntityEvent has 1 all implementations, 2 methods, and  1 extensions.
Description:

Called when an entity is damaged by an entity

weary epoch
#

when i make a plugin

scenic oak
distant sun
#

Cast it as a projectile and get the shootere

scenic oak
#

ok

half harness
#

@obtuse gale What Operating System are you on?

obtuse gale
#

Windows 10

half harness
#

Can you send me this file: C:\Windows\System32\drivers\etc\hosts? afaik it shouldn't have any private info

compact perchBOT
#
HelpChat Paste

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

half harness
#

very low chance that the hosts file is related to the issue

#

but its worth a shot 🙂

obtuse gale
#
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      1_______BLEEP_________     rhino.acme.com          # source server
#       _______BLEEP_________     x.acme.com              # x client host
# localhost name resolution is handled within DNS itself.
#    127.0.0.1       localhost
#    ::1             localhost

_______BLEEP_________```
half harness
#

what is _______BLEEP_________

obtuse gale
#

Private info

half harness
#
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#    127.0.0.1       localhost
#    ::1             localhost
#

wdym "Private info"

#

like what is it?

#

not the actual contents

#

but like

#

what it is

obtuse gale
#

My server's IP

half harness
#

o

#

k

#

i go bye

obtuse gale
#

I love how you say it's private info yet it clearly says "For example:"

#

Not only that but the ip in there is the same in every windows installation

#
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host
# localhost name resolution is handled within DNS itself.
#    BLEEP       localhost
#    ::1             localhost

BLEEP  BLEEP.local```
half harness
#
  1. 127.0.0.1 everyone has
  2. means its a comment

#

lol

obtuse gale
#

F

half harness
#

um

obtuse gale
#

wdym?

#

I didn't delete anything from this channel

half harness
#

okay its the second thing i said

#

lol

winter iron
#

Anyone ever built their own game using Java?

static zealot
winter iron
#

Na

#

first player game

hot hull
#

Anyone got MC opened and could help me for a sec
fingerguns

winter iron
#

first person

#

@hot hull what version

hot hull
#

latest

winter iron
#

launched

#

ip

hot hull
#

lemme dm u ip

onyx loom
#

wow frosty am i being replaced? 😔

winter iron
#

L

half harness
#

oh jeez

#

I didn't expect an L from that

old wyvern
winter iron
#

ye

#

first person sorry

onyx loom
#

yh i made cod in java

winter iron
#

xd

#

I had this game idea

#

and i was awake till like 4 just thinking about ideas

#

i wanna try start somethung

old wyvern
#

Ah, ive havent done any first person but have written a isometric one partially

winter iron
#

ye i have no idea about game design

old wyvern
#

Youll probably be better off using a Game engine like Unity

winter iron
#

hmm

#

I was thinking i do it all in CSS

half harness
#

C# ftw

#

doesn't unity use C#?

winter iron
#

thimk so

old wyvern
old wyvern
winter iron
#

na i just meant only using CSS

old wyvern
#

Yulara

winter iron
#

nohting else

old wyvern
winter iron
#

just right all the styles

#

LMao

old wyvern
#

That wont work

#

lol

winter iron
#

im trolling

#

xd

onyx loom
#

cascading style sheets

#

nice

old wyvern
#

Oh BM made it in here I think

#

Moon names

#

Might have been Sx's suggestion

#

Not sure

onyx loom
#

oh ye lmao

old wyvern
onyx loom
#

i totally forgot elara was also sxs project at the start 🌚

prisma wave
#

the good old days 😔

onyx loom
#

would elara exist if it werent for sx?

#

deep.

prisma wave
#

i dont think so

#

he showed us the competition

surreal quarry
#

why'd he stop working on it

onyx loom
#

good question

#

after the helpchat incident he completely detached himself

surreal quarry
#

oh dam

onyx loom
#

if u werent there, u dont gotta know 😬

static zealot
#

o

#

was it that bad tho? I remember him getting upset at what clip said but dk how it went after

onyx loom
#

😬

static zealot
#

I have bad memory

#

xD

prisma wave
#

I think he wanted it to be just me and him

#

But he'd been inactive for like 2 weeks

#

So

surreal quarry
#

oh damn

prisma wave
#

🙄

surreal quarry
#

me and him is right there

#

im pretty sure

prisma wave
#

Good song

#

I think technically it's him and I but nobody says that

hot hull
surreal quarry
#

its the object of the sentence or something so its me and him

prisma wave
quiet depot
#

don't believe so james

old wyvern
#

Yea formal english has you mention yourself last in a list including you I think

#

Or atleast thats how I remember it

old wyvern
quiet depot
#

it's a shame that people go inactive 😦

hot hull
#

He's been dead for a few weeks

#

Completelly ditched on a few projects he was hired to do

stuck harbor
#

sad

old wyvern
#

rip

onyx loom
half harness
#

lol

old wyvern
hazy widget
#

yikes

stuck harbor
#

yeet

surreal quarry
half harness
#

;-;

onyx loom
#

him and i

surreal quarry
#

no chance

half harness
#

him and i

#

Example: Between you and me, I think Sandy cheated.

Again, me is not the subject nor does it follow one of those state-of-being verbs. So we must use the object case. (For those of you with some grammar background, you and me in that sentence are both objects of the preposition between.)

#

:/

#

weird