#dev-general

1 messages · Page 599 of 1

static zealot
#

it doesnt work

forest pecan
#

i need help

compact perchBOT
#

There is no time to wait! Ask your question @forest pecan!

forest pecan
#

i have a question

compact perchBOT
#

There is no time to wait! Ask your question @forest pecan!

forest pecan
#

i have a question lol

forest pecan
#

i have a questionx

obtuse gale
#

(╯°□°)╯︵ ┻━┻

loud gyroBOT
#

┬─┬ ノ( ゜-゜ノ)

#

dynoError The Fun module is disabled in this server.

static zealot
#

sad

alpine inlet
#

why disabled lol

static zealot
#

why not

compact perchBOT
#
Hey son,

What do you do when you see a space man?
Park your car, man.

alpine inlet
#

Bc boring

obtuse gale
#

development channel dead as ever

#

Only other channel that’s fun

static zealot
#

well bcz people is smart

#

they don't need help anymore

obtuse gale
#

Lmaoooo def not

alpine inlet
#

Lol u dont know me then

obtuse gale
#

More like most of the questions asked in the development channel can be found on google within 5 seconds

#

By adding spigot to the end of there question

long dagger
#

anyone wanna help test a bedwars plugin

humble silo
long dagger
#

Yeah

humble silo
#

@half harness you on?

half harness
#

uh

#

im not on mc rn

humble silo
#

You wanna compare this persons bw plugin to yours? lol, only mostly kidding

half harness
#

mine has so many bugs :(( (as the last commit was sep 22)

humble silo
#

lol well you wanna do a game or no?

#

with this person

half harness
#

uhh not atm

humble silo
#

dang

#

alr

young kettle
#

Are minecraft servers slowly getting less players or are the big hub severe soaking up more of the players?

#

I’ve seen a good amount of well made smaller community severs with fairly unique gameplay just die out

#

With no one on and players here and there popping on and leaving

hazy widget
#

thats not really development related?

young kettle
#

Ah my bad. I was kind of intrigued to get answers in relation to perhaps development issues or genres of servers

#

Dev issues in terms of types of servers or advertising etc

#

But I can throw it in mc

hazy widget
#

Ah okay

young kettle
#

Opinions from devs would be ideal but I can move it

static zealot
#

devs != server owners

young kettle
#

Ah yeah true. I’m forgetting some servers have dev teams etc

half harness
static zealot
#

right

half harness
#

it can be used in different ways

static zealot
#

I was talking about this way

half harness
#

ok

static zealot
#

I wasn't giving the general definition

obtuse gale
#
  • Not configuration help -
humble silo
#

Why does IJ suck so much at debugging kotlin 🥺

wintry plinth
humble silo
#

so true

wintry plinth
humble silo
#

hahhaha, funny man

wintry plinth
#

hahaha

static zealot
wintry plinth
#

nice try

static zealot
prisma wave
#

PHP is worse than kotlin

#

Actually

static zealot
humble silo
prisma wave
#

Both suck but PHP sucks more

sly sonnet
#

explain

wintry plinth
prisma wave
static zealot
#

nothing beats C# tho. its the best

humble silo
prisma wave
static zealot
#

its just good in general

humble silo
#

It looks terrible

#

from the little ive seen of it

static zealot
#

makes me feel alive

humble silo
#

tbh

wintry plinth
#

😂

humble silo
#

very tru

prisma wave
#

C# is horrid

wintry plinth
#

agreed

wintry plinth
#

I tried C# hated it

static zealot
#

me when using C#

prisma wave
#

PHP is despicable, kotlin is boring

wintry plinth
#

php with laravel is next level hot tho

ocean quartz
#

Yikes

wintry plinth
#

php on its own, ill give you that

#

but with laravel, godsend

prisma wave
#

bad take

#

I should make a language tier list

#

I wonder what S would be

humble silo
#

kotlin

#

The "L tier get out of here no one loves you" would probably be haskell

ocean quartz
#

Nah some actually love haskell, like 2 or 3 people

obtuse gale
#

SPJ and Yugi

ocean quartz
prisma wave
humble silo
#

A for ass?

#

makes sense

#

lol

wintry plinth
#

LOL

#

Only just met this guy, already cool, what a G

prisma wave
#

😩

#

Hmm

#

Unironic S tier languages

forest pecan
#

so S means shit?

prisma wave
#

No

forest pecan
#

right

hot hull
#

S means Silence child

forest pecan
#

B means beta

prisma wave
ocean quartz
#

I wouldn't put any language in S tier
Kotlin, Rust, A tier
Java B tier

prisma wave
#

nah java deserves higher than that

forest pecan
#

lets make a tierlist of all the people in helpchat

prisma wave
#

Only language without any gimmicks / gotchas

humble silo
hot hull
#

You'll be at the bottom

forest pecan
ocean quartz
#

Damn, poor Chestly

humble silo
#

lol

forest pecan
#

Chestly you're at C

#

cause your name starts with C

hot hull
#

Am I at F then?

forest pecan
#

Hmm

humble silo
#

im an A now

#

actually

#

Ill take C

#

C is pretty good

#

Atleast i beat you

#

or is P a pass

forest pecan
#

P means alpha

humble silo
#

No

dense dew
half harness
static zealot
#

not enough problems and bad code

obtuse gale
#

hot garbage

half harness
prisma wave
#

Ok here goes

half harness
#

but why do u call it so bad

prisma wave
prisma wave
humble silo
#

im sorry

prisma wave
#

It's fine, but nothing special imo, hence the B tier

prisma wave
half harness
#

oh

#

but you still didn't say why its bad

#

;-;

ocean quartz
#

Did you just put scratch in S tier?

prisma wave
#

Obviously

prisma wave
half harness
#

ah

prisma wave
#

There are a few nice features but in terms of language design I would say that java wins overall

#

It's just more consistent, some of the kotlin gimmicks are nice but they're basically just gimmicks

ocean quartz
#

Unironically think js should be together with php, there's 0 point in using it when TS exists

prisma wave
#

The best things about kotlin are null safety and coroutines, and coroutines require a super overcomplicated library to actually do anything

ocean quartz
#

And function extensions

prisma wave
prisma wave
#

they're nice but easy to abuse

ocean quartz
#

Doesn't change the fact that it is a good feature though

prisma wave
#

Right yeah

#

It's nice but I wouldn't say it's game-changing, just a nice syntax sugar

steel heart
steel heart
#

its not horrendous

prisma wave
#

overall I think I prefer something like F# with currying and the |> operator, because then there's nothing magic about the functions

#

and they work with "normal" calls

steel heart
#

also tiermarker is s tier derp

prisma wave
#

obviously

ocean quartz
#

Languages like that, Haskell, f#, Clojure lose points for complexity and beginner friendliness imo

prisma wave
#

To a degree

#

Id say Haskell is the only really complicated one

#

F# and clojure are both pretty simple, as long as you know the basics of functional ideas

ocean quartz
#

Well you have to assume beginners know nothing so wouldn't know functional ideas either

prisma wave
#

Well, I'd say if you're starting from 0 experience then learning FP is just as easy / hard than learning OOP

steel heart
#

if we talk about beginner friendliness, python and js should be listed higher up

prisma wave
#

True

#

yeah

#

Python would be S for beginner friendliness

ocean quartz
#

Yeah but talking about objective things
Yeah python and js would gain points on it
But those would definitely lose
Same to Java to some degree

prisma wave
#

if we're talking purely about beginner friendliness, then Python is S tier, F# and Kotlin probably A, the rest are lower

half harness
#

whats F# 👀

prisma wave
#

I maintain that F# is very simple and I will die on that hill

prisma wave
steel heart
#

functional but C#

prisma wave
steel heart
#

ye

#

surprisingly simple

prisma wave
#

Technically simpler than a "real" python hello world

steel heart
#

print "Hello World"

prisma wave
#

🤧

#

Anyway as I've said before, comparing things on how easy they are for beginners is useless

steel heart
#

quite true

half harness
#

assembly 😌

prisma wave
#

It's like saying a nuclear reactor is bad because a 6 year old can't use it

ocean quartz
#

I mean i wasn't talking about ways to compare it
But as one of the criteria to consider when ranking languages

prisma wave
#

it's something to consider, sure, but it's a pretty low priority

#

it's like, the least important factor

steel heart
#

I'd SAY most important factor, is it Java or not?

prisma wave
#

wat

steel heart
#

jesus

ocean quartz
#

Most tier lists most important factor is "I don't like it"

steel heart
#

Hask-...

prisma wave
#

i did try to be mostly unbiased in mine though

steel heart
#

still sus how clojure got S

prisma wave
#

clojure is goated

steel heart
#

🤢

prisma wave
#

my criteria was basically "how many things can i think of that i don't like about it"

#

java and clojure, not many

steel heart
#

ah fair

ocean quartz
#

One thing i really dislike about Java other than the boilerplate when for example comparing to Kotlin is that the stdlib is kinda .. lacking

#

Or not as simple

prisma wave
#

it's not so bad in modern versions

#

there's a concise equivalent to most of the kotlin functions

ocean quartz
#

Yeah, it got better

steel heart
#

most lovely feature regarding kotlin is the nullability and returning desired scopes

#

but like java can manage that, decently

prisma wave
#

i cant find much to complain about in java 16, apart from very specific stuff

steel heart
#

idk the name of the thing

#

but like return@thing

prisma wave
#

oh yeah

#

labelled returns

#

they're neat, but again can become really messy if you're not careful

steel heart
#

true

ocean quartz
#

Tbh this also made me very sad earlier

#

when accepts classes ugh

obtuse gale
#

EA

ocean quartz
#

Sports

obtuse gale
#

preview feature whatever

steel heart
ocean quartz
obtuse gale
#

long.class 😵‍💫

#

Long.TYPE 😌

forest pecan
static zealot
#

👍

#

cool

#

I'm so good at making identical copies of code from the world wide web

frail glade
half harness
#

but that limits it to ppl that have access ☹️

humble silo
#

After running it through my opengl texture applier(hint, this is not what it should look like...)

#

Original image

#

Idk why the images sent like that, but ok

white coral
#

I need help with the roblox server it won't let me verify my account.

quiet depot
#

this discord doesn't have anything todo with roblox

white coral
#

I thought this was a help server sorry

quiet depot
#

it is

#

just not for roblox lol

white coral
#

Well I still need help :/

quiet depot
#

with minecraft or coding?

white coral
#

yeah on minecraft I cant play on servers

quiet depot
#

do you have a premium account?

white coral
#

I think so

quiet depot
#

well did you buy the game?

half harness
#

what happens when you try playing on servers?

white coral
#

it kicks me out everytime

quiet depot
#

what does it say?

white coral
#

and i bought the game

#

well

#

its says "an error has accorded"

quiet depot
#

we need to know the error

half harness
#

did you try other servers such as Hypixel?

dense dew
small fern
#

I'm making something with a friend and somehow after 2 days of looking we haven't found what we're looking for. Does anyone know how to activate a piston? I have a block at specific cords and I know that block is a piston but I dont know what to do with that

sweet cipher
sly sonnet
#

it blocks certain apps for no actual reason

noble jackal
#

https://youtu.be/h_WMvX5ynGg?t=147
hello everyone
please watch it help me (lower your volume )
just give me an idea how to make the slime wall moving thing with holes and stuff
ping me if u have any any idea

distant sun
#

Has anybody used a compound to run multiple IIJ configurations one after another? I made one for building the jar and starting the server and it doesn't work all the time, like it skips the building part.

ocean quartz
#

On the jar application configuration add the build configuration to the "before launch"

distant sun
#

hmm, let's see

eternal compass
#

I just went to the copilot page and it said I already had access 👀

#

I had no idea

static zealot
#

😦

#

only requested access few days ago. probably gonna take a few weeks to get access

#

if I ever do

eternal compass
#

sick, just got it installed lol

#

that was easy

sick belfry
#

It took me 6 months to get it

#

gl

static zealot
#

oh is it been out for so long? xD

sick belfry
#

yes

static zealot
#

yeah. I heard it came out a while ago but didnt think much about it. just the other day matt was showing how good it can be and I was like "why don't I have that?" xD

#

I can live without tho. but looks nice

eternal compass
#

I requested it apparently, but that was max 2 months ago

half harness
static zealot
#

@ocean quartz can you help maybe? So I have a fork of deluxemenus, and when I PRed, glare squash merged the PR so now I'm 16 commits ahead. is the only way to fix by making another PR? I have git kraken since I couldn't find commands for this but can't seem to find anything in there for this either

ocean quartz
#

Do you want to reset the commits or something like that?

static zealot
#

I want my forked master branch to be the same as the original master branch

#

ok I might've figured it out with commands. need to double check

#

got some conflicts aparently

ocean quartz
#

You can right click the origin and there should be a reset to this commit then you can hard reset or something like that
I am not great on git stuff so idk

wintry plinth
#

On GitHub you can now sync to upstream

ocean quartz
#

Only pull iirc
But i could be wrong

static zealot
#

I'm sorry what/ where?

#

yeah PR wouldnt help since I basically want to rebase

wintry plinth
#

If you fork something there’s a button on your fork

static zealot
#

the fetch upstream one?

#

that's not gonna help.

wintry plinth
#

Yeah

#

It syncs with the upstream commits

static zealot
#

well. that fetches. I'm ahead with 16 commints. I want to rebase

ocean quartz
#

Fetches, not syncs though, just pulls doesn't delete if you're ahead

wintry plinth
#

Oh right

#

Is deluxemenus open source now then?

static zealot
#

no

wintry plinth
#

Oh rip why

#

It’s nearly 2022 :(

static zealot
#

because

wintry plinth
#

Genuinely shocked none of clips stuff is open source by this point, even at the least deluxe menus or something

static zealot
#

I think I fucked it all up.

wintry plinth
#

What about everything else tho

static zealot
#

idk. lol. you said none. I corrected you

wintry plinth
#

Oh haha, I mean PAPI sure, would be a bit silly if it wasn’t open sourced, EZBlocks eh I guess, DeluxeMenus would of been cool to open source

static zealot
#

I fucked it all up. I need to reclone the repo now. 🥲

wintry plinth
#

Rip

#

Add me to it while you’re at it /s

static zealot
#

Sure

eternal compass
half harness
#

👀

eternal compass
#

dkim bad

#

that's the reason

half harness
#

😔

half harness
humble silo
#

I HATE GRADLE.... Literally half the time i run my tests they work, then the other half they dont... Its just stupid resource stuff and gradle can only seem to get it right after i manually run clean then jar

obtuse gale
#

always worked fine for me

humble silo
#

you know you are

obtuse gale
#

lol i'm not

ocean quartz
#

Tests work fine for me too

#

That reminds me i need to go fix some ugh

humble silo
#

it sucks

#

lol

static zealot
#

in Rider, is there a way to make the .NET Core documentation show? Because rn when I hover the summary and all that doesn't show and yes I've been googling but couldn't find anything on this

#

I'm not sure if its the Rider decompiler that breaks this or if its just the core not having documentation maybe?

#

and yeah it works for the methods I wrote

empty flint
#

I'm having trouble figuring out how to do this without creating my own map class.

val myMap = <T : MyClass> MutableMap<KClass<out T>, T>()

This doesn't work obviously. but can somebody help me figure out how to write this syntax?

I have a sealed class MyClass and subclasses A, B and C.

The map should store KClass of type A, B and C and return their respective instances so I do not have to cast them.

frail glade
ocean quartz
#

Oh damn, sounds very similar to vscode ;o

frail glade
#

Yeah!

#

But the fact that multiple people can edit the same file at once could be crazy.

ocean quartz
#

The spaces integration seems really nice

sly sonnet
#

finally reason to delete one of microsoft's bloatware

static zealot
#

lol

#

vscode ain't that bad

sly sonnet
#

yeah file explorer smol, you have to install 959594 extensions to have basic syntax highlighting catdead

static zealot
#

do you?

ivory hearth
wintry plinth
frail glade
#

Yeah I know, but it's still pretty cool the concept.

wintry plinth
foggy pond
#

What program you guys suggest to create Minecraft textures?

#

Possibly one that supports palettes layers etc

#

Paint .net isn't ideal

distant sun
#

aseprite looks nice

urban sleet
#

Anyone know whats wrong with this build.gradle? (https://paste.gg/p/anonymous/b8da3b3cb867480eb23370d9713c76d2) Getting this error when compiling:

Could not find spigot-api-1.17.1-R0.1-SNAPSHOT.jar (org.spigotmc:spigot-api:1.17.1-R0.1-SNAPSHOT:20211116.043434-99).
Searched in the following locations:
    https://hub.spigotmc.org/nexus/content/repositories/snapshots/org/spigotmc/spigot-api/1.17.1-R0.1-SNAPSHOT/spigot-api-1.17.1-R0.1-20211116.043434-99.jar

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.htm
potent nest
#

it doesn't play well with snapshots

#

I think you can clean up either the gradle cache or the maven local repository to make it work again, not sure anymore

urban sleet
#

Hmm weird, strange thing is this was working the other day

potent nest
#

yeah it's not really something wrong with that setup

static zealot
distant sun
#

16

#

I also have problems with 1.17.1 from time to time

static zealot
#

16 yes. my bad

lime shore
hazy widget
lime shore
#

I sent it there with some code

forest pecan
balmy badge
#

hey do we need to update plugins for 1.18

#

or 1.17 plugins will work for 1.18

forest pecan
balmy badge
forest pecan
#

Because if the plugins are only use api then they should work

balmy badge
#

like general

#

are the differen

forest pecan
#

theres no "general"

balmy badge
#

ok

#

like

forest pecan
#

many plugins only use api

#

many plugins use nms

balmy badge
#

a pllugin is rated 1.17

#

can we use them in 1.18 or do we need them to update

#

becoz 1.18 is just 1.17 part 2

#

so im just asking

forest pecan
#

that literally doesnt tell me anything

#

if anything, just test the plugin out

balmy badge
#

ok

#

that works

waxen loom
forest pecan
#

with code?

viral grove
#

Anyone knows if Triumph-Gui will work with newer versions without updating? Or do I have to update Triumph-Gui every time a new server version releases?

viral grove
#

Thanks

dense dew
#

😳

#

built in rust support 😏

wintry plinth
#

Lol

hot hull
#

Oh

#

Go support?

onyx loom
#

yep

#

it has an image of all supported languages + upcoming on that page

hot hull
#

I mean looks nice ngl

onyx loom
#

ye

dense dew
#

i hope it will be free at least for students xd

quiet depot
#

wonder if it'll make me switch from sublime

dense dew
#

for what do you use sublime?

quiet depot
#

everything apart from java

hot hull
#

Most shit is free for students, so I don't see why they wouldn't make this as well

quiet depot
#

so if fleet is fast and can handle big files

#

that'll be very good

dense dew
#

do you us esublime merge too?

quiet depot
#

no

#

I use gitkraken

#

I haven't tried merge

#

very satisfied with gitkraken

dense dew
quiet depot
#

fleet doesn't look like a replacement for any of jetbrains' products

#

it's a new product

dense dew
#

just wondering why html is in coming soon section

#

when its in all jb ides already

#

same w php

#

native rust support, finally

quiet depot
#

this was only announced yesterday

#

they implemented what they liked probably

#

or what was easy

#

idk

#

honestly the language support is kinda small for a general purpose editor

#

I just counted 53 languages for sublime, excluding languages based on others (e.g. typescript, which sublime does support, it's just under a sub category for javascript)

#

although I imagine fleet probably does a bit more than sublime in terms of language support

hot hull
#

Well I mean considering it's brand new, I'm sure they're gonna add a lot more languages into it

dense dew
#

what do you think, when it will be publicly availBld?

quiet depot
#

why wouldn't they add that to the coming soon thing then?

hot hull
#

Effort

quiet depot
#

nah

#

people are paid to put in effort at jetbrains

#

I think

#

pretty sure they're not held hostage not 100% sure

#

actually even if they were there against their will, then there'd be a threat of physical or emotional danger so they'd still put in effort

#

your argument has been defeated, yield

prisma wave
quiet depot
#

we'll see

dense dew
#

what ides have native rust support?

#

popular ides

quiet depot
#

define native

dense dew
#

like

#

you install ide and its supported

#

no plugins no addons

quiet depot
#

well sublime has a rust thing but I imagine that's just syntax highlighting and basic auto complete, not really the full ide experience

#

I don't know of any fully fledged ide with native rust support

#

but jetbrains has an (official I think) plugin for rust

dense dew
#

so fleet will be first probably?

#

ye it have but it have some issues

quiet depot
#

it's probably just integrating the jb rust plugin

old wyvern
#

I dont think its going to come built in supporting everything

onyx loom
#

does jetbrains c/c++ IDE (can't remember the name) have native rust support? or is it through the plugin

quiet depot
#

believe all jb rust support is thru the plugin

onyx loom
#

that would make sense I suppose

dense dew
#

"not yet"

onyx loom
#

wth

quiet depot
#

probably just means projector support

#

oh I wonder if fleet will be made in kotlin/java

dense dew
#

mainly in kotlin

static zealot
prisma wave
#

Rider is .net

#

Clion is c(++)

static zealot
#

ok

#

the answer is still no

prisma wave
#

Not that it matters anyway, they're all the same just with plugins

#

But yeah

#

No native rust support but the plugin is official so...

obtuse gale
#

is using github copilot plagiarism?

ocean quartz
#

Probably not

static zealot
#

yeah

#

ut us

#

it is*

obtuse gale
#

I am certain It will eventually be proven that a piece of code written by copilot is copyright protected by someone else that cannot be used elsewhere

ocean quartz
#

I mean, is copying a few lines of code considered plagiarism?
Plus copilot doesn't only copy, it generates some based on your own code as well
Most of my suggestions have been spot on for what I do not really taking from others

potent nest
#

I mean that's super discussable anyways at what point code is that "special" that it can be copyrighted

#

like you probably can't come up with a max(int, int) method that isn't implemented in copyright protected code in the same way

obtuse gale
ocean quartz
#

Maybe? I feel like it depends, for example the whole // method that does x given y and it generates the entire thing and you leave it like that exactly how it is, i guess it could
But the general suggestions that are based your own stuff probably not
This is pretty hard to say though but i guess if someone has issues with it they can probably opt-out from copilot? Idk

quiet depot
#

by using github you give some rights to github to use your code

#

can't remember what rights specifically

#

but perhaps they cover github copilot

#

IANAL so i'll make no attempt at interpreting them with the context of github copilot

dry coral
static zealot
ocean quartz
#

Not configuration help

obtuse gale
#

NOT

#

BARRY STFU

static zealot
#

LOL

forest pecan
#

lol

obtuse gale
#

aaaaaaaaaaaaaaaa

#

ayo 1.18 is out

static zealot
#

YES IT IS

forest pecan
#

for bedrock?

static zealot
#

java

forest pecan
#

whatt

obtuse gale
#

?

static zealot
#

oh my bad. its for PS Vita

#

only

distant sun
ocean quartz
#

I hope it's better on 2022 ugh

frail glade
#

I swear they've already used that deisgn

#

Or maybe I'm already on that version.

obtuse gale
#

why is it so dark wtf

ocean quartz
#

It's pretty similar to the other 2021 versions

#

Also ;o

winter iron
#

Where do i save the data when a discord bot shutsdown

#

im fucking tripping or smth

onyx loom
#

literally anywhere?

distant sun
#

great @ocean quartz

#

is it loading slow only for me?

ocean quartz
#

Seems fine for me

dense dew
static zealot
wintry plinth
sly sonnet
#
Patching net\minecraft\world\level\WorldAccess.java
applyPatches.sh: line 2: $'\r': command not found
Rebuilding Forked projects.... 
applyPatches.sh: line 6: $'\r': command not found
applyPatches.sh: line 7: syntax error near unexpected token `$'{\r''
applyPatches.sh: line 7: `applyPatch() {
'
Error compiling Spigot. Please check the wiki for FAQs.
If this does not resolve your issue then please pastebin the entire BuildTools.log.txt file when seeking support.
java.lang.RuntimeException: Error running command, return status !=0: [sh, applyPatches.sh]
    at org.spigotmc.builder.Builder.runProcess0(Builder.java:953)
    at org.spigotmc.builder.Builder.runProcess(Builder.java:884)
    at org.spigotmc.builder.Builder.main(Builder.java:683)
    at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:27)

What the fuck

frail glade
#

You gotta use git bash to build on windows

#

Or change the line endings to support windows if you want to use PowerShell

wintry plinth
#

curious how long it'll take to compile buildtools, does it tell you the time at the end?

ocean quartz
#

https://www.jetbrains.com/idea/whatsnew/

IntelliJ IDEA 2021.3 brings a new, faster way to diagnose and fix issues that are causing your IDE to not work properly. If your IDE isn’t working properly, invoke the new Repair IDE... action from the File menu. It will guide you through a sequence of steps to troubleshoot some of the most common problems.

wintry plinth
#

oh wow

#

thats super nice

frail glade
#

I just run a alpine docker to build it all in ~1 - 2 min and just copy the files out

wintry plinth
#

wait really, care to share docker for it

#

mine took 2 mins

#

but non docker

frail glade
#

It's literally just Alpine but I manually do apk add openjdk17 and git

#

And then clone and run

wintry plinth
#

oh wow

#

buildtools adds to local folder only right?

#

.m2 or w/e

frail glade
#

I think?

#

Idk, I don't do build tools really anymore. I mainly use paper

wintry plinth
#

I never like installing maven shit, because of fear of clutter

#

thats where docker shit is nice ig

frail glade
#

Mhmm

#

Been using it a lot lately

sly sonnet
# wintry plinth curious how long it'll take to compile buildtools, does it tell you the time at ...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Spigot-API 1.18-R0.1-SNAPSHOT ...................... SUCCESS [ 21.925 s]
[INFO] Spigot-Parent dev-SNAPSHOT ......................... SUCCESS [  0.016 s]
[INFO] Spigot 1.18-R0.1-SNAPSHOT .......................... SUCCESS [01:32 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:54 min
[INFO] Finished at: 2021-11-30T19:56:13+02:00
[INFO] ------------------------------------------------------------------------
#

1:54 mins for my shitbox

sly sonnet
#

??

wintry plinth
#

i didnt realise maven showed a time for this

#

LOL

#

let me do a clean compile

sly sonnet
#

this was clean

wintry plinth
#

Aight running again with time java -jar BuildTools.jar --rev 1.18 lets see

sly sonnet
#
Error: Unable to initialize main class org.bukkit.craftbukkit.Main
Caused by: java.lang.NoClassDefFoundError: joptsimple/OptionException
#

ggwp

wintry plinth
#
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Spigot-API 1.18-R0.1-SNAPSHOT ...................... SUCCESS [ 17.909 s]
[INFO] Spigot-Parent dev-SNAPSHOT ......................... SUCCESS [  0.003 s]
[INFO] Spigot 1.18-R0.1-SNAPSHOT .......................... SUCCESS [ 54.684 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:12 min
[INFO] Finished at: 2021-11-30T18:00:10Z
[INFO] ------------------------------------------------------------------------
#

oh xd

obtuse gale
#

xd

sly sonnet
#

wait maybe that's just dashflo

wintry plinth
#

it added spaces after my maven so i didnt see the time

sly sonnet
#

imma try locally

wintry plinth
#

i didnt think it had one

#

it did this shit

#

so i thought no logs from maven

#

till i scrolled up

wintry plinth
obtuse gale
#

somewhat yeah

#

i take a peek every day or two

wintry plinth
#

Ah ye

#

I actually wonder if neofetch is telling the truth

#

Says I'm using 5gb ram, but I have discord, tableplus, figma, a debugger, brave, apple music, terminal etc

obtuse gale
wintry plinth
#

seems like its overestimating my ram, unless swap is part of that

obtuse gale
#

that's a clean build wtf

wintry plinth
#

lol wtf

#

do u have anything in .m2

#

i deleted mine before running

wintry plinth
#

no, #macmasterrace

wintry plinth
# obtuse gale uuuuh

You have a good damn CPU then lol, I just tried again, deleted all files in the BuildTools folder, but didn't delete my .m2 this time. I get:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Spigot-API 1.18-R0.1-SNAPSHOT ...................... SUCCESS [  3.111 s]
[INFO] Spigot-Parent dev-SNAPSHOT ......................... SUCCESS [  0.004 s]
[INFO] Spigot 1.18-R0.1-SNAPSHOT .......................... SUCCESS [ 14.786 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  17.952 s
[INFO] Finished at: 2021-11-30T18:11:48Z
[INFO] ------------------------------------------------------------------------

Seems like belongs you don't delete your .m2

#

then builds are quick as fuck

obtuse gale
#

it's very surprising - it used to take minutes before

#

I assume it was all the shading + relocating

wintry plinth
#

Yeah, some crazy optimisations

#

that duration before held me away from doing it

#

I used to use those sites instead

obtuse gale
#

🥶

wintry plinth
#

I now wonder, with the 1.18 shit in my .m2, I wonder what 1.17 would take, you should give it a shot, what cpu do u have

#

really good only like 30s

fleet river
#

how can i put a clock on this? %server_countdown_30.11.2021_13.00.2021%

obtuse gale
wintry plinth
#

fucking hell

wintry plinth
#

nice one, damn

#

I had an i7 in my old windows pc, but not as high as that

obtuse gale
#

I think I got it in 2017? It's still as a beast as new

static zealot
#

🥲

wintry plinth
#

cpus last so long these days

static zealot
#

my cpu

#

is a beast

onyx loom
#

u guys just using spigot rc3 for 1.18 or has spigot officially released it yet? for buildtools

obtuse gale
#

of course there are others much, much much better but uh yeah

#

spigot released yeah

wintry plinth
#

With my .m2 undeleted, 1.17.1 took:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Spigot-API 1.17.1-R0.1-SNAPSHOT .................... SUCCESS [  3.750 s]
[INFO] Spigot-Parent dev-SNAPSHOT ......................... SUCCESS [  0.003 s]
[INFO] Spigot 1.17.1-R0.1-SNAPSHOT ........................ SUCCESS [ 21.882 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  25.683 s
[INFO] Finished at: 2021-11-30T18:18:26Z
[INFO] ------------------------------------------------------------------------
#

thats using 1.18 built libs in .m2

obtuse gale
#

aaaaaaaaaa

static zealot
#

holy shit. went on spigot, a lot of notification all being 1.18 support xD

wintry plinth
#

I was a windows guy up until recent, then went to the dark side, I never played games, so didn't see the need

distant sun
wintry plinth
#

lol whos code is that

brittle leaf
#

i was thinking the same thing

wintry plinth
#

@static zealot yes

brittle leaf
#

if pyramid

wintry plinth
#

duel me

brittle leaf
#

what would be classed as the right amount of nested if statements?

#

1-3 max?

ocean quartz
#

More than 1 already feels too much

tranquil crane
#

The point where you are able to realize there's a better way of doing it is when it needs to be fixed

ocean quartz
tranquil crane
#

Somebody had the audacity to come into my plugin support server and demand I release the 1.18 supporting jar for one of my plugins immediately

obtuse gale
#

right click -> ban

brittle leaf
#

paper isnt even production ready like wtf??

tranquil crane
#

like bro chill the update has been out for an hour

tranquil crane
obtuse gale
#

thank me later

brittle leaf
#

depending on the size of a plugin it could take hours, even days for a update to come out depending on what the dev is like but still, an hour after release is like too much

tranquil crane
#

Well I do already have the update done

#

But I feel like delaying it more just to spite them now

brittle leaf
#

id say release it anyways, not much point hurting the majority because of a singular

obtuse gale
#

reminds me when 1.14 came out, md5 was like "you whole lot DEMANDING spigot 1.14 to come out now is enough of a reason for me to not release it"

tranquil crane
#

can't even use it yet because it requires a dependency on a hologram plugin smh

#

I might need to go update HolographicDisplays again

static zealot
#

what do you guys think about Decent Holograms?

tranquil crane
#

I already added support for it, I like it but them updating the API every 2 days is hella annoying right now

static zealot
#

I want others opinion

dense dew
#

xd

brittle leaf
#

decent holograms isnt just a holographic displays fork is it?

dense dew
#

nop

brittle leaf
#

hope its not too difficult to support

sly sonnet
static zealot
dense dew
#

😵‍💫

static zealot
#

that's enough of a reason to not even look at it anymore

#

lol

#

||yes. its a joke. in reality I am a fan of lombok||

wintry plinth
ocean quartz
#

Ooh shit this is actually pretty nice addition to the IDE ;o

static zealot
#

yeah. not that it'll help me but beginners might like that

obtuse gale
#

is it really just me that disables all those little hints and things?

distant sun
#

nice

obtuse gale
#

they annoy me lol

static zealot
ocean quartz
#

I even turn on a few additional hints

wintry plinth
#

I keep them on, pretty nice

#

esp the param ones

half harness
#

is there a way to refresh gradle dependencies.. but just one?

#

i have a relatively large project and it takes ~2 minutes for it all to refresh 😩

#

(for snapshot dependencies)

old wyvern
#

Is 1.18 out?

obtuse gale
#

ye

frail glade
old wyvern
#

😮

wind patio
#

im back bitches 💀

#

long time no c

prisma wave
#

💀

#

Anyone doing advent of code this year?

remote goblet
#

that sounds awful

prisma wave
#

it's fun

remote goblet
#

i dont even like coding one day a month,

#

legit a developer that hates doing the actual code part of the job

static zealot
#

well

remote goblet
#

i just like seeing it function

static zealot
#

that's all developers

remote goblet
#

true

#

my sb plugin has been delayed so much

#

not because its difficult but because typing everything out is a ton of work

static zealot
#

just use copilot

#

it will do most of the work for you xD

remote goblet
#

i love discord web app so much

#

want to move a channel's location? no you cant

#

you're uploading it as an attachment

static zealot
#

@quiet depot mind telling me how you make sure that only the user that used the d; command can change the page / delete it? Do you just read the footer where it says who requested it?

quiet depot
#

erm

#

idk

#

check the code nub

static zealot
#

yeah. well its a lot xD

quiet depot
#

i’ll check in a min not at pc rj

#

rn*

static zealot
#

nah its fine. I Can do it. am already on the github page

quiet depot
#

k

#

we’ll see who finds it first

hot hull
#

You'd think the person who wrote it would be faster

quiet depot
#

and the person who wrote it just got to his pc

#

give me 5 secs

#

@static zealot check BotCommandHandler

#

there's an expiring map, Map<String, Entry<String, String>>

#

that entry could be replaced with an obj if you wished

#

probably should be

#

Map<response id, Entry<request id, user id>>

static zealot
#

Ic. so after 15 minutes or a restart an embed is just not going to work anymore?

#

well the pages

quiet depot
#

all interactions die 15 minutes after last use

static zealot
#

interesting. I always thought they work forever. idk why lol xd. Could've probably just searched for an old DocDex message to test xD

#

ty

quiet depot
#

the trash icon is actually applied to every command ran

static zealot
#

yeah. noticed that

quiet depot
#

the pagination is done in the command itself

static zealot
#

yeah the only reason I need this is because I'm working to make a pagination for my queue command but now that I think about Rythm was working the same way. well a bit different since it was also removing the reactions

quiet depot
#

well if you want pagination

static zealot
#

yeah. I saw that. went thru the entire code xD

quiet depot
#

btw that pagination thing is pretty isolated I believe

#

if you want to use it you should be able to rip it out fairly easily

#

doesn't seem to depend on anything else in the codebase apart from an emote util

static zealot
#

I was going to make my own. but ty. (tho yours is always going to be better than anything I'm going to try and do)

quiet depot
#

👍

static zealot
#

thank you btw

quiet depot
#

np

static zealot
#

ah. nice

#

the Christmas pfp

#

xD

#

I lost mine

old wyvern
#

do we have a leaderboard this year?

static zealot
#

Buster's will have to do

#

lol

quiet depot
#

maybe i should try aoc this year

prisma wave
old wyvern
#

Nope

hot hull
#

I don't think I have the braincells to do it

#

nor the patience

old wyvern
#

Leaderboard code for anyone who wants to join 1267682-046a1364

static zealot
#

same 😦

static zealot
quiet depot
static zealot
#

ah settings

#

nvm then

#

xD

old wyvern
#

xD

static zealot
#

I think I Joined

old wyvern
#

yup

static zealot
#

no idea where I can see the leaderboard

quiet depot
#

hey I'm coming first!

old wyvern
#

ayy xD

hot hull
quiet depot
#

how

old wyvern
#

xD

quiet depot
#

how is that bad

static zealot
#

🥲

old wyvern
#

cum joke

static zealot
#

he's too innocent

quiet depot
#

oh

#

i see

hot hull
#

Gottem

static zealot
#

wait. so I go to Calendar right? and chose every day I want to complete (as long as their unlocked) right?

#

oh I remember

#

I have to find the answer

#

and submit it

old wyvern
#

mhmm

quiet depot
#

oh

#

I remember this

old wyvern
#

pretty much

quiet depot
#

I absolutely hated this

#

ok let's do it

old wyvern
#

xD

static zealot
#

lol

old wyvern
#

Haskell time

hot hull
#

After the first week they get hard af

old wyvern
#

I got to day 18 last year I think

#

Then just stopped even checking

prisma wave
old wyvern
#

shiz

quiet depot
#

D:

static zealot
#

how do I update gradle again?

quiet depot
#

sdk install gradle 7.3

hot hull
#

Oh they updated paypal, ew

static zealot
#

yeah. its more "user friendly"

#

lol

quiet depot
#

do they still discriminate against minors

static zealot
#

ye

quiet depot
#

fuck paypal then

hot hull
#

I've actually not been using paypal for a few months now, and I can say my life has been a lot better

quiet depot
#

what u been using?

hot hull
#

My bank

quiet depot
#

sounds dangerous

static zealot
#

lol

hot hull
#

Not really

static zealot
#

you just give your IBAN and they pay. ez

#

but how do you deal with refunds?

hot hull
#

I'm not 12 so I don't really care about people knowing my identity, and it makes it easier when it comes to refunds and shit

quiet depot
#

when my friends pay me for stuff I like to scare them with direct debit

#

they give me their bsb & account number and I just pull the money out for them and they're like wut

hot hull
#

However I did get charged 140 into negative on friday cause the bank system got fucked so waiting on that to be resolved lmao

static zealot
#

that sounds fun

remote goblet
#

ez first one

static zealot
#

these is just ascii art right? has nothing to do with the problems themselves

#

?

prisma wave
#

yea

#

It made a Christmas tree last year

static zealot
#

welp. time to wait 15 hours

#

I love how it makes me feel like I'm smart even tho its one of the easiest things ever all this just to completely destroy me after a week or so xD

forest pecan
#

i managed to do all of them last year 😤

#

Took more and more dedication

remote goblet
#

i started the 2nd part of day 1

#

my brain instantly started to break

#

numbers in programming always get me lost

static zealot
#

not that hard. its just one loop like part 1

old wyvern
#

imagine looping

static zealot
#

don't have to imagine. already did it

prisma wave
#

If so how did you do it?

#

sliding window was easy in a functional way but keeping track of the previous one, not so much

old wyvern
prisma wave
#

relieved

old wyvern
#

One sec let me push it

#

Also, @obtuse gale Mitten when?

#

damn

prisma wave
#

Ahh zip with the tail

#

Very nice

old wyvern
#

🥲

old wyvern
static zealot
sick belfry
#

but its weird

static zealot
#

nah. its not

paper orbit
#

i was #195 on part 2 day 1 in aoc, took me 3:16 to complete

static zealot
#

well. youre not in the helpchat leaderboards so sucks to be you xD

#

1267682-046a1364

#

wait. I'm a bit confused. what's up with this?

#

oh. you get points

#

Ic

#

because I knew its not the number of stars

#

Ic

plain flume
#

Helps please

static zealot
plain flume
#

Amino kick off ban again

static zealot
#

not sure I understand

plain flume
#

I try to be nice not mean to be all the time and time again.

#

Amino ban me again against it too!

sly sonnet
#

Can i make 1.18 plugins with java 16?

#

Ij screams at me when I try to use gradle with java 17

static zealot
#

just update gradle

ocean quartz
#

7.3

sly sonnet
#

like in project?

#

is it possible to like update it on the whole ij?

unique lintel
#

ein deutscher dev hier?

#

ist sehr wichtig

sly sonnet
#

What are you talking about?

#

You need to either stop using something or take a good sleep smh 😔

prisma wave
unique lintel
#

kannst du mir helfen?

#

@prisma wave

empty flint
#

Is anybody else dealing with Problems getting the 1.18 API via gradle?

      > Could not resolve org.spigotmc:spigot:1.18-R0.1-SNAPSHOT.
         > Unable to load Maven meta-data from https://mvnrepository.com/artifact/net.md-5/bungeecord-api/org/spigotmc/spigot/1.18-R0.1-SNAPSHOT/maven-metadata.xml.
            > Could not get resource 'https://mvnrepository.com/artifact/net.md-5/bungeecord-api/org/spigotmc/spigot/1.18-R0.1-SNAPSHOT/maven-metadata.xml'.
               > Could not GET 'https://mvnrepository.com/artifact/net.md-5/bungeecord-api/org/spigotmc/spigot/1.18-R0.1-SNAPSHOT/maven-metadata.xml'. Received status code 403 from server: Forbidden
empty flint
unique lintel
#

Du bist aber kein dev bro brauch ein dev der eventuell ein server löschen kann.

empty flint
unique lintel
#

ah sry dann halt ein entwickler bro sry

lament garden
#

Hey guys, Im coding my own core plugin, and I just need some ideas on what I should add (please ping me)

empty flint
lament garden
#

Not really it's going smooth and easy for me tbh

#

I mean

#

I haven't done some complicated stuff ig

empty flint
#

But if you need inspiration here's a few topics I included in my core plugin:

command handling
config handling
database/data management handling
gui api
localization handling
custom logging api
permissions handling
statistics
inter-plugin-communications api
plugin auto-updater service
webserver framework
#

So when my other plugins deal with any of those topics, they defer them to the core plugin to handle

#

And only add specific functionality when needed

quaint isle
#

Almost 25% of my plugin users are already on 1.18, didn't think they'd update so quickly 😳

eternal compass
#

well spigot / paper released pretty instantly

#

so not surprised

eternal compass
#

man I'm so in love with copilot

#

I accedently wrote something in one codeblock, and had to move it to another.

It automatically copied it, made the variables needed for replacement, added more null checks, and refactored it to work with the new event

frail glade
#

Very nice.

tame bane
#

I wanna keep some plugins on 1.17 but i want a new world for 1.18

#

is this possible?

frail glade
#

Some plugins will already work on 1.18. You'll just have to test them.

cinder flare
#

Yeah 1.18 didn't change a whole bunch, unless there's NMS, reflection, or biome-specific stuff, it would probably actually be fine

winged mica
#

I’m trying to learn NMS but idk how, I found some paid courses on the web but I don’t know if they worth the price. Is there something free to learn the NMS basic from 0?

forest pecan
#

Dont ever learn plugin programming from paid courses please lmfao

#

especially NMS

winged mica
#

I already know very well how to program with Java and with the bukkit api

#

But I’d like to learn NMS. Is there some good documentation?

quiet depot
#

no

#

nms doesn't have any documentation

#

your only hope is looking at people's posts when they asked for help

#

and trial and error

#

also use the mappings so you get readable names

winged mica
#

Is there some explanation about mappings?

quiet depot
#

probably, not sure where though

#

I haven't touched nms for ages

winged mica
quiet depot
#

no clue

#

think paper has a gradle plugin for it

winged mica
#

Ok

wintry plinth
forest pecan
#

lol

pure arrow
winged mica
#

There are things like pathfinder that you can only do with NMS

pure arrow
#

Oh

ocean quartz
static zealot
#

but then they'll only work on paper. (which is also a positive lol)

wintry plinth
pure arrow
static zealot
#

well as I said it is being on paper alone is a positive lol

jovial warren
#

@winged mica For NMS stuff, the latest versions (1.17+) have tools available so that you can develop against a Mojang mapped JAR, which is definitely what you want. For Maven, see SpigotMC's latest 1.18 post, and for Gradle, you can use paperweight's userdev, which is done something like this: ```kotlin
plugins {
id("io.papermc.paperweight.userdev") version "1.3.1"
}

dependencies {
paperDevBundle("BUKKIT_VERSION")
}

You'll also need to add the PaperMC repository as a plugin repository for paperweight, which you can do through settings.gradle.kts, something like this: ```kotlin
pluginManagement {
    repositories {
        maven("https://papermc.io/repo/repository/maven-public/")
    }
}

This MUST go above where you set the name of the root project.

You also need to have the build task depend on reobfJar, but you should know how to make tasks depend on each other if you know Gradle.

Oh, and this one applies to everyone that may be trying to use this as a tutorial: if you're even thinking about doing NMS on earlier versions, just don't.

#

That was a lot to write on a phone lol

wintry plinth
#

I’m guessing this gives you the jar with the already replaced variables?

jovial warren
#

reobfJar will re-obfuscate the JAR for use with Bukkit's shitty mappings

#

But you get to develop using the best Minecraft mappings there are: the original ones

#

or you could ditch Bukkit and use Krypton, where you can just depend on the open-source server and work with that directly

wintry plinth
#

Ah yeah, so essentially you get to work with the actual MOJANG mapped variable names, like “player” rather than “a”, but it’ll reobfuscate when it builds the jar?

jovial warren
#

Yes

wintry plinth
#

That’s so nice tbh

jovial warren
#

Yeah it is

#

Know what's nicer though?

#

Krypton's open-source server that is published to a repo and directly dependable :)

eternal compass
#

Copilot just came up with the name "The Shield of the King" for a special shield item I was working with...
that was litterally one of my ideas

#

I'm scared now /s

remote goblet
#

i should try copilot

humble silo
#

though ig some people have waited a lot longer

eternal compass
#

idk when I signed up

#

can't have been too long ago

sick belfry
eternal compass
#

lmao

cinder flare
#

Hey you guys got any tips for hardening a Linux server installation? I need a 10 step checklist and I have 5 right now lol

tame bane
#

SOO bassicly nametagedit is not working, is there any way to put someones rank above their head like hypixel?

quiet depot
#

idk there's 3

#

need 2 more

old wyvern
#

Pure computations wouldnt have this issue 😌

solid flax
#

Does deluxechat have developments builds just like others? (ping me if you gonna reply this message)

quiet depot
#

@solid flax it does, accessible in the deluxechat channel

grizzled torrent
winged mica
quiet depot
hot hull
#

Aoc any fun this year or nah?

prisma wave
#

Day1 and 2 were pretty easy

#

Haven't looked at 3 yet

static zealot
#

oh. I Completely forgot lol. only did day 1

oak patrol
#

yo

#

i wanted to use the bukkit.scheduler method
i could find only upto versions 1.15.2 when i tried to add bukkit as a maven dependency.
will it work cuz i want the plugin in 1.17

obtuse gale
#

Most likely

#

The scheduler hasn't changed pretty much since its inception

#

A couple things were added in 1.13 and that's it

oak patrol
#

ok thanks