#dev-general

1 messages ยท Page 129 of 1

heady birch
#

Yes

topaz bay
#

I dont even think minecraft can handle that

heady birch
#

this is good and all

#

but the id is generated in ComponentFactory

#

which is passed to each Component

#

but GroupUpdater's reinstate method cannot access the components through the KiteUser interface ๐Ÿ˜ฆ

topaz bay
#

?

heady birch
#

Talking to myself

thick schooner
pastel imp
#

is there anyway to fake a death?

heady birch
#

player.setHealth(0)?

pastel imp
#

fake death

#

I mean

#

fake the death

#

but not actually die

#

Like I want to like do an autorespawn method

#

but the issue is

#

that most of the spawn plugins.. when the player dies.. it gets teleported to the spawn

#

I want that to happen

#

I don't want to add a spawn function to my plugin

#

I want to support all the other /spawn plugins

remote goblet
#

what

heady birch
#

can people using via version F odd

#

Stupid

onyx loom
#

mean

heady birch
#

Complain scoreboard width

#

What do you expect

lavish notch
#

lmfao

remote goblet
#

this is why

#

you dont support

#

the lower versions

heady birch
#

Idk

#

They complain stupid stuff

#

I have to write compatibility for other plugins not clearing the scoreboard properly

#

Then codebase becomes a mess because just chucking stuff that wasnt meant to be there

#

Its like

#

They want me to check the players protocol version

#

Instead of work on the server version

#

But then I bet via version would destroy that anyway

#

Lol why should I do this

#

kiteboard has an api now

#

they can do it themselves

onyx loom
#

shutup or do it yourself

heady birch
#

There loss

#

Lol

#

Should add a subtle thread.sleep for anyone using via version

onyx loom
heady birch
#

no actually

#

via version should put a 32 long prefix into 16 prefix 16 suffix

#

๐Ÿ˜ 

onyx loom
#

via version should put a 32 long prefix into 16 prefix 16 suffix
@heady birch shut up or PR fingerguns

heady birch
#

That's not a bad idea

#

but then again

prisma wave
#

liskov

heady birch
#

they will probably be like "no"

prisma wave
#

smh

heady birch
#

LISKOV

#

WHAT

#

oh

#

no

#

EnumSet?

#

true

#

contains

prisma wave
heady birch
#

Well done

prisma wave
#

smh

heady birch
#

EnumSet is a Set?

prisma wave
#

yes?

heady birch
#

So it is

#

Make me refactor 8 classes

#

shutup or PR

#

just beber

prisma wave
#

you shouldn't need to refactor 8 classes

#

that's literally the point of Liskov lol

heady birch
#

Type migration

#

๐Ÿ˜ฆ

prisma wave
#

can't intellij do that?

heady birch
#

yeah

#

but ist too late

#

i did it manually

#

i could undo it

#

I think I will undo it

prisma wave
#

rust is boring

#

It wouldn't let me break stuff

heady birch
#

no

#

thats the idea

prisma wave
#

boring

#

I wanna add 1 to a pointer

heady birch
#

lol

errant geyser
#

BM why is JavaFx mean

heady birch
#

javafx

errant geyser
#

Its mean

heady birch
#

also im so unhappy

prisma wave
#

javafx

heady birch
#

come to smethwick

#

birmingham

#

ill break your legs

#

Lol

old wyvern
#

gui framework, like swing but better

prisma wave
#

ask for danny g

heady birch
#

xXDannyG

#

Lol

#

"you wont do that because im a gangsta"

#

listen

#

shutup

#

prick

onyx loom
#

birmingham
@heady birch โ˜น๏ธ

remote goblet
#

hastebin is so annoying to setup mmSitStareMocha

heady birch
#

barry boy

prisma wave
#

when is kotlinfx coming

onyx loom
#

wanna make it bm?

old wyvern
#

Why? xD

heady birch
prisma wave
#

not in the slightest

onyx loom
#

lmao

prisma wave
#

i want someone else to make it

#

and then me and sx to call it trash

old wyvern
#

Interop

prisma wave
#

eh

#

not idiomatic

onyx loom
#

niall lmao

old wyvern
#

I mean any library to be added will most likely just be afew extension functions I assume?

onyx loom
#

i live in SMETHWICK

prisma wave
#

you're not using kotlin right unless you have 300 nested extension functions using 30 different keywords and 18 first class functions

old wyvern
#

lol

onyx loom
#

damn looks like im not using it right ๐Ÿ˜”

heady birch
#

Poor XxDanny GxX

onyx loom
#

i hope the gangsta didnt get killed โ˜น๏ธ

prisma wave
#

you're not @onyx loom

remote goblet
old wyvern
#

Kali you probably are using a lot of extension functions tho

heady birch
#

is that javascript

onyx loom
#

0

#

lol

#

so far

old wyvern
#

Only thing kotlin provides on top of java are those

heady birch
#

@remote goblet

remote goblet
#

yes

heady birch
#

javscript

#

no need

old wyvern
#

Its litrally java sdk + extension functions to make life a bit easier

heady birch
#

you can literally do this in Spring

prisma wave
#

Only thing kotlin provides on top of java are those
the only thing?

remote goblet
#

I dont care for your spring

prisma wave
#

I don't think that's true

old wyvern
#

as in as a library

heady birch
#

there is absolutley no reason to not use Spring in this instance

#

Your ignorant

#

In denial

remote goblet
#

There is one reason

old wyvern
#

Kotlin has a separate std lib?

prisma wave
#

yes

heady birch
#

Ignorant and in denial

remote goblet
#

the fact i dont know what Spring is ?

old wyvern
#

like?

prisma wave
#

Sequence for one thing

tepid nymph
heady birch
#

Bro

#

theres literally JDA for this

errant geyser
old wyvern
#

hmm true

remote goblet
#

Nods and im stupid so idk what im doing

prisma wave
#

there's a ton of stuff in the stdlib that aren't extension functions, most are just top level / situational

errant geyser
#

Its like

#

Simple af

remote goblet
#

Nods and im stupid so idk what im doing
@remote goblet

errant geyser
remote goblet
prisma wave
#

all the Unit/Nothing/XArray classes, all the @Jvm annotations, things like lazy, Result, Pair, IntRange, Regex, etc

#

lots of stuff

errant geyser
#

Mine wouldn't work on memcached either, bardy changed it to flatfile or smth

prisma wave
#

ew

remote goblet
#

that'd explain it

heady birch
#

oh no i just rememberd

old wyvern
#

exactly

heady birch
#

how the heck am I gonna getlastcolors with hex colours

old wyvern
#

I mean there isnt actually much of a std lib

prisma wave
#

I mean

old wyvern
#

It mostly used Java libs in jvm

#

and C/c++ in native

prisma wave
#

depends how you define it

#

the kotlin stdlib is big enough to be mostly self sufficient

remote goblet
#

thank EmiCool got it working now

prisma wave
#

but having interop saves everyone a lot of effort

remote goblet
#

time to change this entire design because goddamn i hate the default color scheme

old wyvern
#

the kotlin stdlib is big enough to be mostly self sufficient
Are you sure?

errant geyser
prisma wave
#

"mostly"

remote goblet
#

ah

#

well it works as file mmSitStareMocha so until that becomes and issue

#

ima vibe with that

prisma wave
#

It's probably possible to create something simple with just the kotlin bits, but why would you?

old wyvern
prisma wave
#

I'd say the kotlin lib is more subtle than java's, because it's usually in the form of top level functions that you don't think about (mapOf, all, toSet(), etc)

#

eh

old wyvern
#

thats from the kotlin team btw

prisma wave
#

being pedantic, it's not just extensions

#

but I see your point

#

well kind of

#

I know what you mean, I just don't know what your point is lol

old wyvern
#

Kali you probably are using a lot of extension functions tho
This is the only point I made? xD

prisma wave
#

oh lol

#

ยฏ_(ใƒ„)_/ยฏ

#

welp at least I got a bit of xp from that

old wyvern
#

lol same

topaz bay
#

e.z.

onyx loom
#

This is the only point I made? xD
@old wyvern only reason why i havent used any yet anyways is because i just havent had the need to ๐Ÿคทโ€โ™‚๏ธ

lavish notch
#

(The red underlining)

#

nrm I'm just dumb intellect

heady birch
#

swearwords =

#

should be

#

swearwords = new String[] {"","",""};

hot hull
#

Use a list instead sheesh

#

Also, what's tswearwords

eager fern
#

lol

onyx loom
#

๐Ÿ˜ฌ

hot hull
onyx loom
#

?

heady birch
#

@topaz bay @prisma wave Help

#

I have the bad feeling i designed stuff wrong

#

โ˜น๏ธ sigh

errant geyser
#

You gotta give the wolves more food than that boi

heady birch
#

This isnt funny maven

lavish notch
#

@hot hull dw I fixed my code lol

heady birch
#

Is this a joke

lavish notch
#

I'm inexperienced k

heady birch
#

Oops I built the wrong module thats why ๐Ÿ˜„

lavish notch
#

I can decompile a plugin, and botch it

#

Just never from scratch

heady birch
#

Thought maven had dies

prisma wave
#

@heady birch classic

heady birch
#

๐Ÿ˜”

#

Like I don't even know anymoer

#

A year ago it seemed good

#

Maybe it is good

#

the whole component stuff is dated enterprise stuff

#

well not really dated

lavish notch
#

What's the best way to cycle through an index of items?

thick schooner
#

@lavish notch Can you check out my timings now?

distant sun
#

for loop?

lavish notch
#

I figured @distant sun - Just thought I'd ask

#

@thick schooner Can you send your timings again

surreal quarry
#

anyone worked with drawing images in java/kotlin

#

i have a base image and I am trying to overlay a users discord pfp

#

to send like a welcome message

lavish notch
heady birch
#

it aint 1994 anymore

#

you can use

#

word is an array of string

lavish notch
#

k

prisma wave
#

what do you expect that line to do?

#

like, if I passed ["Hello", "lol"] what would you expect ch to be?

heady birch
#

"Helllol"

#

Lol

#

Lol
@heady birch Or I guess I could say word[1]

lavish notch
#

How might I compare a char with a string?

prisma wave
#

Just compare the first char of the string?

lavish notch
#

My string is an array

prisma wave
#

what

#

then it's not a string?

#

That completely changes the question

lavish notch
#

Oh.

prisma wave
#

this seems very XY problem

#

what are you trying to do?

lavish notch
#

I'm wanting to process for example, c4ts to cats (4 being a substitute for a)

prisma wave
#

ok

#

and what specifically is the problem?

lavish notch
#

Eclipse is complaining when i try to compare a char, with a string.

prisma wave
#

naturally

versed ridge
#

yikes

prisma wave
#

why is letters a String[] in the first place? why not a char[]?

lavish notch
#

It's an array

prisma wave
#

I'm aware

#

that doesn't answer the question

lavish notch
#

I'm a noob then?

#

fyi, fairly inexperienced with java (I can botch)

prisma wave
#

i figured lol

#

what I mean is, why use an array of strings if all the strings are effectively chars?

#

letters could be a char[] unless I'm missing something

lavish notch
#

My inexperience

prisma wave
#

๐Ÿ‘€

#

well

#

that'll probably fix it

#

maybe

#

we'll see

#

ยฏ_(ใƒ„)_/ยฏ

lavish notch
#

It doesn't like an array of chars

prisma wave
#

that's because those aren't chars

#

they're strings

versed ridge
#

'a'

prisma wave
#

chars are 'a', strings are "a"

lavish notch
#

a

#

kmn

onyx loom
#

ayyy u taught me that too bm fingerguns

prisma wave
heady birch
#

Or

#

"a".toCharArray()[0]

onyx loom
#

jesus christ

prisma wave
#

no

onyx loom
heady birch
#

๐Ÿง‚

prisma wave
#

if niall tries to give advice, never listen to him.
that's better

heady birch
#

I adivse you not to take my advice

#

So now you cannot, not take my advice

onyx loom
#

big brain

#

tricked everyone

surreal quarry
#

is there a way to ssh tunnel with Hikari

#

so i can run stuff locally

#

while testing

fast minnow
#

why is gradle so good?

onyx loom
#

ยฏ_(ใƒ„)_/ยฏ

#

gradle good maven bad amirite

prisma wave
#

because clever people got fed up with maven so decided to make their own

#

very right @onyx loom

analog crater
#

because gradle sounds like gr aid ul whereas maven is a bird. It aids you instead of pecking you to death

lavish notch
#

I'm going to sound stupid asking this question... but how are (...and I don't know the exact term) expandable (IE: Those configs where you can add Items to it, like DeluxeMenus) configs parsed?

Is it just a forEach loop, or ?

topaz bay
#

They can be expressed that way, yes.

#

If you take a block of code that can be used to parse a specific layout, all you have to do is tell it where to start parsing

#

In the case of yaml, you just tell it which root to start at

heady birch
#

new Block(code)

topaz bay
#

(foreach over the keys)

#

Minecraft actually creates blocks like that btw

#

Kinda funny

prisma wave
#

gross

heady birch
#

yep, gross

lavish notch
#

...and what config handler might you suggest I used?

topaz bay
#

Theres 700 lines of this

#

You dont know the half

#

@lavish notch wdym by config handler?

lavish notch
#

YAML reader

#

or whatever it's called

topaz bay
#

Did you not decide to use configme?

lavish notch
#

I re-call you mentioned ConfigMe previously

prisma wave
#

ConfigMe works best for static, simple content

lavish notch
#

Aight

prisma wave
#

In this case you probably want to use Bukkit's and / or something custom

topaz bay
#

??

#

configme works perfectly fine for repeated definition

lavish notch
#

I just want to have a config where I can list words, and replacements for letters (it's a swear filter I am making)

topaz bay
#

ooooo

#

oooooooooo

#

I am so sorry

prisma wave
#

correct me if I'm wrong but ConfigMe is only for static content right? like "key.value: 3". You couldn't use it for anything dynamic on a large scale

#

since annotations are by their nature, static

topaz bay
#

?

#

You define properties in configme

prisma wave
#

yes

lavish notch
#

So something like...

words:
- WORD1
- WORD2
replacements:
  g: q
  a: 4
topaz bay
#

Those properties can contain anything

prisma wave
#

i guess

#

but for anything complex idk how it would work

topaz bay
#

It literally can take entire objects

prisma wave
#

without relying on Snakeyaml to try and deserialize some DTOs

topaz bay
#

You can set the property to be a list of those objects

#

You can even make the property a map

lavish notch
#

I would use SnakeYAML, but it doesn't support comments.

#
  • when saving
topaz bay
#

Its honestly not really worth it to shade an entire separate library just to have comments

lavish notch
#

I want some something easy to understand, and supports comments

prisma wave
#

you shouldn't really be saving to a config anyway - it's for configuration, not data storage

topaz bay
#

Like I said, not worth

prisma wave
#

just use snakeyaml and only load from it

topaz bay
#

Also, are you doing single char replacements?

lavish notch
#

yes

topaz bay
#

But only in words that are matched?

#

How is this a swear filter?

onyx loom
#

I would use SnakeYAML, but it doesn't support comments.
@lavish notch im sure u dont really need comments for that, its self explanatory lol

prisma wave
#

I guess like ```yaml
words:

  • fuck
    replacements:
    f: 4
    ``` would block 4uck
#

right?

onyx loom
#

yea

lavish notch
#

yes

prisma wave
#

although that's an awful example lol

topaz bay
#

OH

#

Thats what you mean by replacements

lavish notch
#

It's 11pm, so I can't speak english lol

errant geyser
#

Another one whose brain breaks at 11 thonking

topaz bay
#

y u no regex?

lavish notch
#

idk

#

I'm just trying to knock something up that works, not fussed atm if it isn't most efficient

topaz bay
#

Thats not really a matter of efficiency

lavish notch
#

I don't really know regex... so knowing it java is another thing.

topaz bay
#

Is english your native language?

lavish notch
#

Surprisingly, yes

topaz bay
#

lol

lavish notch
#

I'm also playing hypixel whilst doing all this, so that's what's killing my enlgish

topaz bay
#

Do you speak other languages?

lavish notch
#

Speak, not really.... but I do know a decent portion of French and Spanish, along with some Old Scots.

topaz bay
#

Nice

lavish notch
#

...and If I'm trying to be funny, I can say I speak Scratch.

topaz bay
#

I am so sorry to hear that

prisma wave
#

lmao

lavish notch
#

As far as programming languages go. I can program in Python, Javascript (kmn, ik) and some bash, and WD (Html, css)

onyx loom
#

kotlin ๐Ÿ˜ฆ

errant geyser
#

Python, java, kotlin, wd, bash a tiiiiny bit

lavish notch
#

My dad made me write a bash script to build a spigot server on a raspberry pi for his "twitter friends"... which is why I know a some bash

topaz bay
#

to build it!??!?

#

why???

lavish notch
#

build, I mean setup

prisma wave
#
wget buildtoolsurl
java -jar BuildTools.jar
java -jar spigot-1.16.jar
```pretty simple
topaz bay
#

oh

#

I mean....

#

paper though

#

lol

prisma wave
#

true

lavish notch
#

@prisma wave This was on Raspbian Lite

#

so I had to install java

#

it also need the option of server version

errant geyser
#

Raspbian is sick

prisma wave
#

hm

topaz bay
#

shouldve wrote it in Java

prisma wave
#

shouldve wrote it in Kotlin

topaz bay
#

no

lavish notch
#

I know @errant geyser, hence why i now own like 15 raspberry PIs.

errant geyser
#

I'm stuck to the one, but it's all I need

#

Hes a little animal

#

Blocks all my ads

#

Hes a good boi

lavish notch
#

I've got a bunch of them in different robots... others running web sites, VNCs, idfk what else

errant geyser
#

I have VNC on mine too

#

But I use a VPS for everything else

lavish notch
#

I have one on FTP, and SSH

#

and another on VNC

errant geyser
#

Noice

lavish notch
#

Straying off-topic, you that youtuber Striker? (the one sponsored by That marketplace)

errant geyser
#

I'm about to make my little guy full time since my parents finally listened to me instead of moaning about the crap Wi-Fi so we're redesigning the network, going full Ubiquiti. Holy shit its gonna be nuts, networking stuff is so much fun

topaz bay
#

Oh I simply LOVE off topic conversation

errant geyser
#

Yeah, I personally dont like him

lavish notch
#

..and you've seen I can't even program in java?

errant geyser
topaz bay
#

Ubuquiti....

#

for WHAT

errant geyser
#

Ubiquiti gud

topaz bay
#

Ubuquiti overkill

lavish notch
thick schooner
errant geyser
#

Lol

lavish notch
#

He legit asks for code snip-it...

#

what do I do? I get some github plugin - and send him a picture of that

thick schooner
#

Mack, can you look at it now?

lavish notch
#

Sure

errant geyser
#

It is a bit Sx, but our walls are t h i c c and most of the routers/AP's we've tried haven't been very good

onyx loom
#

He legit asks for code snip-it...
@lavish notch lmao System.out.println("Hello world");

lavish notch
#

Yes

onyx loom
#

or println("f java") ๐Ÿ˜

errant geyser
#
println("go frik yourself")```
lavish notch
#

As for discord server owner, I invited him a discord were I have the role Fake Co-Owner

onyx loom
#

LMAO

errant geyser
#

๐Ÿคฆ

thick schooner
#

I have that.

topaz bay
#

thick walls...

lavish notch
topaz bay
#

Could you not just hardline through that wall?

heady birch
#

My raspberry pi keeps acting up

onyx loom
#

nice

#

birthday in 4 days?

lavish notch
#

...as for builder, I legit sent him a picture of something my build team made.

onyx loom
#

bruh

#

he probably thinks ur like a god aswell

lavish notch
#

He didn't even ask for like CoreProtect logs or anything

onyx loom
#

u can "code", "build" and u own a server

lavish notch
#

I can botch, that is what I can do

errant geyser
#

Sure I could, but we dont have a drill that can go thru walls, and then I have to have extra APs if I go that route. Better to have a UniFi system and be done with it imo

lavish notch
#

The only roles I'd say is valid... are Configurator, Bot Developer and MC Server owner.

#

Oh yeah! @onyx loom Guess what the requirements are for "MC Server Owner" role

topaz bay
#

Wdym a drill that can go through walls...

onyx loom
#

5+ players :kappa:

topaz bay
#

Wtf is the wall made of??!?!?

lavish notch
#

Proof you have a MC server of at least 3+ online players. (Not staff) - screenshot of proof.

onyx loom
#

BRUH

prisma wave
#

Damn

onyx loom
#

3?ยฌยฌยฌ?ยฌ?ยฌ!?!1?1?1?!

errant geyser
#

Brick, surprisingly

prisma wave
#

3 whole players

lavish notch
#

Imagine Helpchat having that requirement

#

Everyone would be server owners

onyx loom
#

time for me to boot up some alts

lavish notch
thick schooner
#

Mackenzie someone else said there is errors unloading chunks but IDK how to fix it

lavish notch
#

Also... guess what the youtuber role requirement is...

heady birch
#

what servers this

lavish notch
#

Stiker's

#

That youtuber sponsored by that place

frail glade
#

Wait what did I miss?

onyx loom
#

10 subs ๐Ÿ™ƒ

lavish notch
#

Link to your active channel and proof of ownership. (Must upload at least min of 4 weeks time)

onyx loom
#

depends glare, what are u after?

frail glade
#

There was an essay written in awhile discord

#

tldr it

lavish notch
#

@frail glade Do you know of that youtuber, Striker?

frail glade
#

No

lavish notch
#

oh boy

errant geyser
#

His videos are utter aids

topaz bay
#

never heard of her

errant geyser
#

And people apparently like them

lavish notch
#

and sponsored by that marketplace

onyx loom
#

๐Ÿ˜ณ

#

2-3 plugins configurated LMAO

lavish notch
#

Let me change 1 option in the essentials config lol

#

that's 1 plugin ticked off

onyx loom
#

prefix: "&b[i changed prefix]"

lavish notch
#

I would laugh if I could get Graphic Designer by sending the top result in google images

onyx loom
#

LOL

#

please try it

lavish notch
#

I really want to now lol

thick schooner
#

Does anyone know where I can go for support for fixing my server?

prisma wave
thick schooner
#

The issue isnt just with plugins tho

onyx loom
prisma wave
#

^

onyx loom
#

๐Ÿ™ƒ

prisma wave
#

kotlin circlejerking, any channel

lavish notch
prisma wave
#

.kt

onyx loom
#

NOAH.KT

#

omg

prisma wave
#

is that what I think it is

#

let me meet this man

onyx loom
#

๐Ÿ˜ณ ๐Ÿ˜ณ

prisma wave
#

And shake their hand

#

and kiss them

#

and... More

#

I love kotlin

topaz bay
#

god damn it

#

why does it have to be bitcoin related

lavish notch
onyx loom
#

elon is a legend

surreal quarry
#

lmfaoo

onyx loom
#

people in 100 years better be learning about this amazing man in history classes around the world

surreal quarry
#

just sitting in history and your teacher pulls this screenshot up

#

"He was so inspirational"

onyx loom
#

so inspirational ๐Ÿ˜ญ

lavish notch
prisma wave
#

He might be good at Twitter but he isn't a good person lol

lavish notch
topaz bay
#

I mean... he's not a terrible person either...

surreal quarry
#

lmao the shorts thing is a funny story
im pretty sure he did it to piss off all the people that are shorting his stock

prisma wave
onyx loom
#

@prisma wave how proud would u be if i told u ive used extension functions now ๐Ÿ™‚

strange bramble
#

in minecraft 1.12 i could use this.locx, this.locy, and this.locz. did that change in 1.16?

topaz bay
#

Ummmmm

#

What is this in reference to?

#

Location's have always been the same

strange bramble
#

nvm... previous developer that worked on this did some weird things...

topaz bay
#

Interesting

strange bramble
#

he didnt add the () at the end...

prisma wave
#

@onyx loom very proud

onyx loom
#

thank

prisma wave
#

problem

#

Not

topaz bay
#

probleme

lavish notch
#

How do I add ConfigMe to my eclipse project?

ocean quartz
#

gradle

onyx loom
#

thats the spirit matt

lavish notch
#

Teach me under minimum wage

ocean quartz
#

First step, get IntelliJ

onyx loom
distant sun
onyx loom
#

nvm i think the site needs updated, its on gh

distant sun
lavish notch
#

I've installed Gradle... how do I use it? ๐Ÿ˜›

topaz bay
#

@distant sun I have a paper 1.7 jar

#

ya want it?

distant sun
#

sure

#

but how do I build it myself xd

topaz bay
#

I would imagine you would just follow the instructions

#

lol...

distant sun
#

smh

onyx loom
#
[Request] that makes the armor lose less durability with luck when it hits.
[Budget] $1000``` who wants $1k ๐Ÿ˜ณ
distant sun
#

kalibear does

#

@topaz bay Send the jar ๐Ÿ™„

topaz bay
#

I DID

inner umbra
#

Was about to respond to that xD
@surreal canopy I'd like to make $1k on what looks like such a simplistic plugin but I'm gonna just go ahead and say might want to have a more realistic budget.

lavish notch
#

I-

#

Imagine if they mean some shitty currency that uses $

surreal canopy
#

fail $10.00 sorry

regal gale
#

F

lavish notch
#

lmfao

topaz bay
#

weak

regal gale
#

Appreciate that pro gamer move ๐Ÿ‘

inner umbra
#

Seems more realistic ๐Ÿ‘ I would add more detail to your request though.

that makes the armor lose less durability with luck when it hits.
Don't really understand what you mean by this.

regal gale
#

Chances that the armor would deal less durability point than before

#

I think

lavish notch
#

How do I add ConfigMe to my java project?

topaz bay
#

@lavish notch they have the details in the readme dont they?

lavish notch
#

FYI never used gradle

distant sun
#

implementation 'ch.jalu:configme:1.1.0'

#

or copy the dependency block inside build.gradle and it will convert to gradle format for you

topaz bay
#

^

lavish notch
#

i installed Gradle as show on piggy's den

#

Where do I go from there?

topaz bay
#

Does your project currently use maven?

distant sun
#

run gradle init if you want to add it to an existent project, or simply create a gradle project

topaz bay
#

Its just gradle

#

gradlew is the script it will generate

lavish notch
#

I using Eclipse... so where do I go?

topaz bay
#

Ew...

distant sun
lavish notch
#

ik

#

kmn

topaz bay
#

First step is to get toolbox

#

Use it to install IJ

#

And then make a new gradle project using the setup wizard

#

Then you can just copy over your files

lavish notch
#

k

inner kite
#

Ok so I have a plugin where I can change an item frames visiblility, the issue is when I change this it only updates for the player who changed it, for the change to register for other players they have to unload the chunk and come back into it.

So basically how would I refresh/update the itemframe for everyone?

Please tag me with your replies!

jaunty maple
#

any ideas on how to disable viewing of workspace in jenkins?

#

have been searching for ages on this in google

quiet depot
#

try that

hot hull
#

Apparently a company has design a robot skin more sensitive than human skin, meaning robots biggest weakness will be tickling

inner ruin
jaunty maple
#

@quiet depot ye thanks now do you know how do I make the api always accessible

#

cuz I get 403 fsr

#

on my pc - works, on other pcs - doesn't work (403)

quiet depot
#

no

twilit ledge
#

@lavish notch stay with eclipse if thatโ€™s what you like no need to switch

#

Both are good ide

prisma wave
#

idk about that one

obtuse gale
#

thats just false information

twilit ledge
#

Its not they both have pro and cons

obtuse gale
#

And from the questions youve been asking recently in #development I dont think you are the most qualified person to give IDE advice

topaz bay
#

Eclipse does not have pros

#

Especially not over IntelliJ

obtuse gale
twilit ledge
#

Yea it does

#

You can broski

topaz bay
#

I'm sorry, but it does not.

obtuse gale
#

^

twilit ledge
#

Its a different way of learning

#

There isnโ€™t one style of learning

topaz bay
#

It's a bad way of learning.

obtuse gale
#

^

#

its what i did

#

and it sucked

twilit ledge
#

If it works then its not

prisma wave
#

"if"

topaz bay
#

Pretty much anyone who learned that way will tell you its a bad way

obtuse gale
#

^

twilit ledge
#

Same thing as doing online learning

topaz bay
#

Thats not analogous

#

Youre jumping into a complex system of apis and libraries without understandings of the core concepts of the language

#

Its pretty much the reason so many spigot devs are complete trash

lavish notch
#

How do I use gradle in eclipse?

obtuse gale
#

you dont

topaz bay
#

@lavish notch Did you not have any luck with installing IJ?

lavish notch
#

I'll do that now

topaz bay
#

community is fine

#

Unless youre in college? You can get a student license

analog crater
#

Or high school or uni

lavish notch
analog crater
#

Or in an informal school such as codecamp

topaz bay
#

@lavish notch it doesnt allow you to install?

lavish notch
#

It says I dont have an internet connection...

obtuse gale
#

then just get an internet connection smh

lavish notch
#

but i do

topaz bay
#

Are you using a vpn or a proxy?

lavish notch
#

no

topaz bay
#

Thats strange

#

Maybe restart it?

lavish notch
#

i kiled the tool-box process, now it wont start-up

topaz bay
#

restart your computer?

#

Could be windows being gross and annoying

lavish notch
#

hmm

#

k

topaz bay
#

jesus what did you do?!?!?

#

xD

lavish notch
#

I just killed the background process

topaz bay
#

Did you not restart?

#

Also, if you killed a java process, you might as well kill all java processes

#

the jvm is kinda messy with how it defines processes on an os level

lavish notch
#

I did restart

topaz bay
#

WELP

#

You broke it

#

Good job

lavish notch
#

Where is my medal? lol

topaz bay
#

You deserve a prison cell for this

lavish notch
#

is there another way I can download it?

heady birch
#

Lol

lavish notch
#

...how do I use gradle in eclipse then?

obtuse gale
#

get IJ working

twilit ledge
#

You donโ€™t really need too

#

Tbh

#

@lavish notch but google it

obtuse gale
#

yes

#

you

#

do

lavish notch
#

^

#

how else am i ment to use configme

obtuse gale
#

get intellij working

old wyvern
#

If you are stuck with eclipse, try buildship I guess

obtuse gale
#

Just use intelllllllij

old wyvern
#

Wasnt he the dude who wasnt able to run intellij a while ago?

lavish notch
#

nope

old wyvern
#

It runs fine now?

lavish notch
#

nope

#

downloading it separately now

old wyvern
#

๐Ÿ‘Œ

pallid gale
#

cc: @chilly jungle this

lavish notch
obtuse gale
#

thats probably good

chilly jungle
#

@regal cliff I guess there is this weird anomaly where it isnโ€™t fixed

#

Or at least I never got confirmation from slime that the issue is resolved

#

Yeah but I think it has to do with other dependencies that hook into papi and vault causing the load order being weird but either way the task should disregard load order

#

Either way I think we can close it and if it needs revisited later due to whatever we can

#

I personally havenโ€™t had an issue

#

And I test with a lot of dependencies

frail glade
chilly jungle
#

Hey quick question since you seem like you know a lot more than I do

frail glade
#

PAPI parser go brr brr

chilly jungle
#

Lol

#

Iโ€™m tired of the warning in console plugin depends on x without being a dependency in the plugin yml

frail glade
#

I mean that's never going to go away

chilly jungle
#

Got any idea on a way to fix that without adding every plugin known to the plugin yml

frail glade
#

Luck tried to fix it for LP and Spigot and Paper shot down his suggested fix.

chilly jungle
#

Itโ€™s just annoying the amount of messages I get due to it

#

Even though itโ€™s no big deal but for some i guess it is

frail glade
chilly jungle
#

But good stuff on your pr for cleaning up my messes and making that replacer improvement. Much appreciated for you to take the time to do that

frail glade
#

Mhmm

chilly jungle
#

Ye

normal ether
#

Best ways to like stress test a server?

chilly jungle
#

Ok I cleaned up all the papi issues

quiet depot
#

clip that issue you just transferred is already a thing in papi 3

chilly jungle
#

Oh haha

#

Iโ€™ll close it

quiet depot
#

also i'm looking into that dependency thing

chilly jungle
#

@desert horizon if you want to add that contributor bot or whatever go ahead

#

I donโ€™t know anything about it so donโ€™t expect me to do it

lavish notch
#

So.. I've got intellij installed... where do I go from here? (Trying to use gradle)

quiet depot
#

create a new project

#

select gradle

lavish notch
#

Done those

chilly jungle
#

If making a Minecraft plugin get the Minecraft dev plugin

lavish notch
#

Where do I get that?

quiet depot
#

skip the gradle init part

#

file > settings

#

plugins

lavish notch
#

"Minecraft Development"?

quiet depot
#

yep

#

by demonwav

obtuse gale
lavish notch
#

Done

obtuse gale
#

forking my fork only to add mavne support

#

๐Ÿคฎ

chilly jungle
#

Thatโ€™ll pretty much make your project compile as a plugin on create

#

From there do what u want

lavish notch
quiet depot
#

open gradle settings

lavish notch
#

...and?

desert horizon
#

@chilly jungle I don't have any access (afaik), so I can't really do it, but I linked a page explaining the main steps in the latest comment I made.

quiet depot
#

take a screenshot

#

andre, what permissions do you need?

lavish notch
quiet depot
#

are you developing public plugins?

#

or strictly personal use mackenzie

desert horizon
#

Idk? I would rather letting you guys make this than getting perms just for this single task.

chilly jungle
#

I thought u had push access lol

lavish notch
#

@quiet depot Plugin

desert horizon
#

No. Removed a loooooong time ago

quiet depot
#

yeah, plugins, public or personal

lavish notch
#

both ig

quiet depot
#

aight

lavish notch
#

Might publish idk

quiet depot
#

have you installed gradle?

desert horizon
#

I mean I'm no longer in the HelpChat team, so it makes sense that I don't have access anymore

lavish notch
#

yes

chilly jungle
#

Oh ya I forgot

#

You were a meanie

#

Lol

quiet depot
#

hang on wtf

lavish notch
#

I have installed Gradle

quiet depot
#

where's ur gradle wrapper

lavish notch
#

As per the instructions in your den

desert horizon
#

You were a meanie
@chilly jungle debatable xP

quiet depot
#

it's a barn

lavish notch
#

you know what i mean

quiet depot
#

are you using the latest version of ij?

lavish notch
#

I downloaded off the website

quiet depot
#

install toolbox

lavish notch
#

That shit is broken lol

#

I broke it

quiet depot
#

it's not

#

impossible

lavish notch
quiet depot
#

navigate to the folder in the command prompt

lavish notch
#

What folder am I navigating to?

quiet depot
#

project folder

lavish notch
#

Ehh... what's the default location?

quiet depot
#

i'm genuinly confused how you don't have a gradle wrapper

#

because the functionality to manually specify the wrapper/local distro on project init was removed ages ago

chilly jungle
#

@regal cliff let me know when your ready and we will check /merge and then we can just deal with any issues after

lavish notch
#

gradle init right?

quiet depot
#

to use the local distro, you'd have to go to settings, change it, and manually delete the gradle wrapper

#

so I'm really confused

#

yeah see what happens when you run that

lavish notch
quiet depot
#

stupid thing

#

rm build.gradle

#

rm settings.gradle

#

i'm not sure if that's the command on cmd

#

if it's not, delete those files on ij

#

then run init again

lavish notch
#

ffs what's windows rm equivalent - two seconds

chilly jungle
#

Idk what else needs fixed lol

lavish notch
quiet depot
#

1

lavish notch
quiet depot
#

1

lavish notch
quiet depot
#

great

#

ls

#

that's probably not the command on windows

lavish notch
#

that's linux dumb

quiet depot
#

try dir

lavish notch
quiet depot
#

or just use a bash terminal

#

yay

#

you have a wrapper now

#

hopefully you won't have to do this again

lavish notch
#

restart intellij?

quiet depot
#

ij is meant to automatically download the wrapper for you

#

no

#

go to project structure

#

file > project structure

#

sdks

#

click the blue +

#

download jdk

lavish notch
#

which option after that?

quiet depot
#

vendor: adoptopenjdk
version: 1.8

#

no host uses 14 on their production servers, so you'll be severely restricting your audience by developing with 14

lavish notch
#

downloading now

quiet depot
#

until 11 becomes a majority, 8 is the only language you should use for public/commissioned projects

onyx loom
#

which versions are lts?

#

ik 11 is

quiet depot
#

8, 11, but lts doesn't really matter in java

#

17 is the next lts iirc

lavish notch
#

Where do I create the src folder, and classes?

quiet depot
#

consumers should always use the latest version of java kaliber

lavish notch
quiet depot
#

it's not like ubuntu where you have a stable release every 2 years that you should use over the other ones

#

because unlike java, ubuntu updates are sketch

prisma wave
#

wait can't you just target java 8 with a higher jdk?

quiet depot
#

i tried it with someone else the other day brister, I don't think so

prisma wave
#

hm

quiet depot
#

I did some googling aswell, couldn't find anything

#

ah it was @twilit ledge

#

sorry not sorry for tag

quiet depot
#

src/main/java is where your java sources go

prisma wave
#

classes go src/main/java

analog crater
#

src/main/java/packges of your choice

distant sun
#

Yes

lavish notch
#

I see no src folder

quiet depot
#

make one

lavish notch
#

Ok... and how do I make a class?

quiet depot
#

right click

#

new > class

#

something like that

desert horizon
#

Interesting... IntelliJ should usually create a src/main/java directory... At least the newer versions of IntelliJ

lavish notch
old wyvern
#

It does

onyx loom
#

waduhek

old wyvern
#

Gradle takes some time tho

obtuse gale
#

thats happened to me before

#

I just said fuck it and made a new project lol

desert horizon
#

@lavish notch You first need to have src/main/java as directory

old wyvern
#

It should appear in a few minutes lol

desert horizon
#

Otherwhise IntelliJ won't recognize .java as valid classes

lavish notch
onyx loom
#

what in the hell

quiet depot
#

mark it as the sources root

lavish notch
#

huh?

quiet depot
#

right click on src

#

mark directory as > sources root

#

@desert horizon yeah it should've generated that folder

#

it didn't even generate the wrapper though

#

idk what's going on

lavish notch
#

there we go

desert horizon
#

Malformed IntelliJ installation perhaps?

quiet depot
#

perhaps

onyx loom
#

probably ๐Ÿ˜†

quiet depot
#

he had trouble installing toolbox earlier

lavish notch
#

I broke ToolBox, so I wouldn't be surprised

quiet depot
#

your package isn't main.java

#

hang on

#

take a picture of your entire intellij window

lavish notch
quiet depot
#

wtf

#

screw this

#

file > close project

lavish notch
#

kek

quiet depot
#

click the x next to the project name

#

navigate to the project in file explorer

#

delete .idea

#

open/import project in ij

#

navigate to the folder

#

select the build.gradle

#

open as project

lavish notch
#

I have it open

quiet depot
#

oh

#

i might be stupid

#

give me a package name

lavish notch
#

SwearFilter?

quiet depot
#

that's a project name

lavish notch
quiet depot
#

do you have a domain?

lavish notch
#

me.idconfirmed.swearfilter?

quiet depot
lavish notch
#

Domain.. mackenziemolloy.ml, shitty site

quiet depot
#

well it is what it is

#

paste this into your build.gradle

#

remove the comment if you wish

#
plugins {
  id 'java'
}

group 'ml.mackenziemolloy'
version '1.0.0'
sourceCompatibility = JavaVersion.VERSION_1_8
lavish notch
#

done

quiet depot
#

please read my gradle tutorial so you're not blindly copying & pasting

#

aight delete main.java

lavish notch
#

deleted

quiet depot
#

right click java

#

new package

#

your package (group)

lavish notch
#

what if I told you there isnt a new package option

quiet depot
#

control + shift + o

lavish notch
#

that brought up some windows shit

obtuse gale
quiet depot
#

what on earth is that

#

rainmeter?

lavish notch
#

idfk

quiet depot
#

top right

lavish notch
#

how do i bring that up lol

onyx loom
lavish notch
#

nope

quiet depot
#

open your build.gradle

onyx loom
lavish notch
#

nope

#

Still nothing

quiet depot
#

take another picture of your entire ij window

lavish notch
onyx loom
#

u see on the right side

#

theres a tab called "gradle"

#

open it

lavish notch
#

k

#

clicked

onyx loom
#

now press the reload buttton

lavish notch
onyx loom
#

left side

#

first button

lavish notch
#

reloaded

onyx loom
#

now can u create a package?

#

in src/main/java directory

lavish notch
onyx loom
#

yes

#

package ๐Ÿ‘

quiet depot
#

wait that actually worked

#

lol

onyx loom
#

lol indeed

lavish notch
#

what's the name?

onyx loom
#

ml.mackenziemolloy.swearfilter i believe

lavish notch
#

packaged ml.mackenziemolloy.swearfilter made

onyx loom
#

right click the package

#

create a java class

lavish notch
#

called... main.java ig?

onyx loom
#

bad naming but yea sure

lavish notch
#

well.. what would you call it?

onyx loom
#

SwearFilter.java prob

lavish notch
#

There we go...

#

Now down to what I wanted to do... how do I add ConfigMe to this project?

obtuse gale
#

implementation 'ch.jalu:configme:1.1.0'

#

in your

#

`dependencies {

}` block

lavish notch
#

in my build.gradle?

onyx loom
#

yes

errant geyser
#

yeees

lavish notch