#help-development

1 messages · Page 223 of 1

sterile token
#

Not matter, you must try coding as more profesional as you can. That sounds really none sense comming fro ma profesional dev like you

rotund ravine
#

Lidt

#

List*

rotund ravine
#

Did you reload the server perhaps?

torn badge
#

Did you reload or restart your server after adding the plugin?

echo basalt
#

keep in mind that deadlines and hourly rates matter

stone dust
echo basalt
#

if you're getting paid 5 bucks an hour, quality isn't your concern

stone dust
echo basalt
#

because the people paying you clearly don't value it

sterile token
#

Why didnt already start coding minecraft over the Unity engine? I think its more efficient and more sophisticated game engine

rotund ravine
#

@stone dust can you stop your server and run the current code you have as well as.

echo basalt
#

I prefer to code my plugins into NES cartridges

rotund ravine
#

?paste

undone axleBOT
echo basalt
#

and ship them out to customers

#

that way I can make sure that no leaking is done

glossy venture
echo basalt
#

lombok and Alt + Insert are your best friends

glossy venture
#

true

echo basalt
#

it really only takes like 2ms to make getters

#

because muscle memory

glossy venture
#

generate is nice

echo basalt
#

just type @Getter or alt+insert -> down -> enter

#

and spam enter 15 times

#

constructors have never been so easy

#

alt+insert enter enter

glossy venture
#

should start using alt+insert more

echo basalt
#

yessir

glossy venture
#

i usually manually write them lmao

rotund ravine
#

Just use kotlin smh

echo basalt
#

I got tired after a couple years

winged anvil
#

why do people buy programming books

echo basalt
#

I'm lazy myself and use lombok

winged anvil
#

info is free

echo basalt
#

it worky

glossy venture
#

regardless a collection shouldnt really have a getter

echo basalt
sterile token
stone dust
echo basalt
#

reading well-structured info takes less than reading info and sorting it yourself

tardy delta
#

have methods to interact with it, dont expose the collection itself

winged anvil
#

valid

echo basalt
#

specially if you're a beginner

glossy venture
#

way to get the immutable copy maybe but usually you would write operations instead of a getter

echo basalt
#

you can't guarantee the info you just looked up is still valid

rotund ravine
#

Can u put the stacktrace in a pastebin too @stone dust

winged anvil
#

but books can get outdated pretty fast tho no?

stone dust
#

?paste

undone axleBOT
peak depot
#

this.plugin.selectedPlayers is still null

sterile token
#

And i totally agrree with it

rotund ravine
#

Shouldn’t be tho

sterile token
rotund ravine
peak depot
sterile token
winged anvil
#

major beef happening today

rotund ravine
#

Can u print out plugin.selectedplayers before the if statement @stone dust

sterile token
#

I don't need some ill-bred to tell me what to say or what not to say - With that being said i will stop answering beef

rotund ravine
#

Can u guys take it to #general please.

torn badge
#

@stone dust Is that all of your code?

sterile token
#

Can u reseend the url

rotund ravine
#

He posted it above

sterile token
#

ok

stone dust
stone dust
rotund ravine
#

Are these async events? @stone dust

sterile token
rotund ravine
#

Just plugin.selectedplayers @stone dust

winged anvil
#

what book is this, i tried to lookup but theres a bunch

sterile token
#

its not on intenet i have search for it

#

I have it on paper format, literally the sense of books

#

It has like around 3-4k of pages

#

😂

winged anvil
#

bruh

rotund ravine
#

@stone dust ?

stone dust
sterile token
rotund ravine
#

What essence?

stone dust
#

yoo, it worked

winged anvil
#

not sure, pretty sure its just preference

rotund ravine
stone dust
#

I got both the debug string, and the original stuff

#

Idk how, but it worked

rotund ravine
#

Still the error?

stone dust
#

Nope, not what i can see atleast

rotund ravine
#

You’re looping over that list async

#

Whilst manipulating it sync in the main thread.

#

Put the loop in a bukkitscheduler and schedule it sync.

sterile token
#

Oh yeah

#

When you are using async, everything must be manipulated async

#

Same with sync

rotund ravine
#

Not really.

stone dust
#

Ty for all the help, it has been really helpful :)
❤️

#

And sorry for indirectly starting a beef hehe

rotund ravine
sterile token
winged anvil
#

damn he hit you with the chapter AND article

sterile token
#

Yeah i know it from memm the book but still cant understand how to do correct async stuff on java

#

💀

rotund ravine
#

What you said was wrong. The chapter is probably correct.

winged anvil
#

wowww he said you need to reread the chapter

sterile token
#

Because java async has many shits to do it, not like javascript nor ts where you just have a keyword for it

sterile token
#

How many times i had to read about di to understanding correctly

winged anvil
#

very real

sterile token
#

Because DI sounds really simple but then you realize is not like you thought

winged anvil
#

what is it to you

sterile token
#

That is how i understand it

winged anvil
#

yes

#

through constructor or setter

#

same thing

sterile token
#

But its not really simply to realize

#

Tikes some time

winged anvil
#

yes it does

#

especially since its hard to visualize

sterile token
#

Yeah i totally agree

winged anvil
#

im taking my ap cs class for my senior year currently and its a java course. so we start at the very beginning

#

its fun to be able to help the kids in there learn

sterile token
#

Nice talk bro you look really interesting and understand my humor or bad jokes

winged anvil
#

look???

sterile token
#

I mean in enjoy tlkg with oyu

winged anvil
#

whats that supposed to mean

rotund ravine
#

He is not english

winged anvil
#

lmfaoooo

sterile token
#

yeah my bad, english barriers

rotund ravine
#

It’s probably just his way of saying you’re interesting.

sterile token
#

yikes

winged anvil
#

i gotta change my pfp

rotund ravine
winged anvil
#

yeah i gotta get mine trimmed

#

yo lmk what you think of this class

#

?paste

undone axleBOT
winged anvil
#

just a big utility class

rotund ravine
#

I’m going to bed. Tag me and i’ll react tomorrow.

winged anvil
#

alr bet

sterile token
sterile token
# winged anvil alr bet

I mean i was saying that you are cute nor i like you, just saying that you look like a cool prson

winged anvil
#

yeah i gotchu

peak depot
#

Where is the difference between ChatColor.translateAlternateColorCodes('&', msg) and just .replace("&", "§")

tardy delta
#

you might wanna check the impl but i believed it was pretty much the same

#

assuming you mean replace('§', '&')

sullen marlin
#

The translate method won't replace things that aren't colour codes

sterile token
#

Oh md_5 is alive without being tagg

#

Amazing

sullen marlin
#

&y as a random example

sullen marlin
#

I don't think there's a y colour code

sterile token
#

Pretty happy to see md5 not like paper comm which the CEO´s doesnt ever give the face

tardy delta
sterile token
#

Can be replaced with Regex

sullen marlin
# tardy delta

Hmm I wonder if that could be optimised by skipping the next char once a replacement is made

#

Not that it really matters lol

peak depot
#

md_5 what inspired you to do spigot and bungeecord

sterile token
#

I have doughts like that too

#

Why did he even start working in project related to mc and not another type

sullen marlin
#

Idk fun, need

tardy delta
#

verano when is your region thing on gh

sterile token
#

Once i can find why i can do actions if i claim a something

peak depot
#

He prob was like "Bro I have to much free time let me just programm a plugin support for minecraft"

eternal night
#

spigot is a bukkit fork*

peak depot
#

yes but yk what I mean

sterile token
eternal night
#

iirc the project is named bukkit kekw

#

ah sorry

sterile token
#

who made craftbukkit?

next plume
#

Warren Loo was in charge of the Bukkit project

#

Mojang acquired the Bukkit project in 2012.

#

Over a decade later, and we're still waiting for the "official Minecraft API".

river oracle
#

Not happening lol

#

probably whatever shit with the datapacks or whatever is their "official API"

next plume
#

And here's where Warren Loo chose the wrong license for Bukkit/Craftbukkit, resulting in the chaos of 2014.

radiant cedar
#

i have like around 10 different worlds in my spigot server how can i load /deload them when someone teleports so that i dont have to run all worlds at the same time and they dont all get created when I run the server

next plume
#

Are you using Multiverse?

radiant cedar
#

yes i have the core

#

and inventories

#

but i have my own warp commands

#

and own locations for world spawns and stuff

#

cus idk best way to configre everything

sterile token
#

Im still waiting minecraft protocol api for 1.19

#

🤣

next plume
#

See "Keep Spawn in Memory"

#

Set it to false for each world

#

Maybe leave it true for your main world's spawn

radiant cedar
#

is this bad to do for each world

#

onEnable()

next plume
#

I don't know. Maybe someone else can help.

sterile token
fair panther
#

does anyone know why Spigot 1.19.2 isnt working with Maeve refrenced librarys but 1.17.2 does?

vocal cloud
#

What is maeve

lofty laurel
#

prob maven

fair panther
#

yeah

hazy parrot
#

what are maven referenced libraries ?

dim bronze
#

is getOfflinePlayerIfCached a paper method? it is

dim bronze
#

was going to ask how their cache works, but I decided to wing it and hope that method suffices

tender shard
#

wings --debug

naive loom
#

Anyone?

fair panther
#

The refrenced library in Eclipse wont pull up anything 1.19.2 related but it will pull up stuff 1.17.2

fresh timber
#

how do I get the amount of a certain itemstack in someone's inventory

orchid gazelle
#

1.19.2, eclipse

fair panther
#

Yeah. It doesn’t work for me which is weird

worldly ingot
#

This, but isSimilar() instead of .equals() because equals() checks for quantity

#

And += slot.getAmount() probably

tranquil dome
#

I want to cancel ender pearl damage, but the damage cause is FALL. How can I know the difference between actual fall damage and the damage which is inflicted when a player teleports using an ender pearl?

fluid river
#

and just cancel damage if player is on the list + remove player after

radiant cedar
#

what could be causing my player teleports to never work

wet breach
#

Good idea might be to learn queue systems, threading and javas atomic api

#

Oh and how to use delta values

rotund ravine
radiant cedar
#

had a playerteleportevent e for block drop event function

#

ffs

winged anvil
rotund ravine
#

Yes school soon.

wary topaz
#

if (plugin.getConfig().getString("spawn.World").)
How do I tell if this exists?

winged anvil
#

check if its null

wary topaz
#

Condition 'plugin.getConfig().getString("spawn.World").equals(null)' is always 'false'

winged anvil
#

isEmpty() maybe

wary topaz
#

didnt work

#

before*

winged anvil
#

try printing it

desert loom
winged anvil
#

i do == null to check and it works

#

try that

wary topaz
#

Condition 'Objects.requireNonNull(plugin.getConfig().getString("spawn.World")) == null' is always 'false'

desert loom
#

Are you trying to check if a value exists in the config?

winged anvil
#

just do get()

wary topaz
#

yea

desert loom
#

if so, that method I believe is what you're looking for.

#

Have you tried it?

wary topaz
#

yep

desert loom
#

Can you show the code?

#

how you used it*

#

I remember using that method before and it worked iirc

wet breach
wary topaz
#

wdym

winged anvil
#

requireNonNull

#

then seeing if its null

#

when it cant be

wary topaz
#

ohh thanks

wet breach
#

Remove the requirenonnull if you are going to check for null. Also remove for debug purposes as all its going to do is hide the problem

#

Requirenonnull and the likes are for api purposes and not really for implementation purposes

#

Basically when user input is expected via api to ensure they are not passing in a null value

white root
#

Is there an elegant way to get what the nearest solid block that is directly above a location?
Say I have a block's location, I want to get the location of the highest non-air block that is directly above it

tepid frost
#

Is there a way to convert org.bukkit.Material to nms Material?

rotund ravine
#

Yes

jolly crypt
#

how do I write code like this?

#

so its neat

tardy delta
#
for (int i) ```
jolly crypt
#
test ```
#

thanks

#
let savedNumber = []
   
    const count = {
        1: 0,
        2: 0,
        3: 0,
        4: 0,
        5: 0,
        6: 0
    }
        for (let i=0;i<5;i++) {
        const randomNumber = (Math.floor(Math.random()*2))+1;
        savedNumber.push(randomNumber)
        count[randomNumber]++

for (const key in count) {
    if (count[key] > 2) {
        console.log(posible[8].innerHTML = 25);
    }
} ```
#

this works

#
let savedNumber = []
   
    const count = {
        1: 0,
        2: 0,
        3: 0,
        4: 0,
        5: 0,
        6: 0
    }
        for (let i=0;i<5;i++) {
        const randomNumber = (Math.floor(Math.random()*2))+1;
        savedNumber.push(randomNumber)
        count[randomNumber]++

for (const key in count) {
    if (count[key] > 2 && count[key] == 2) {                                                  <---- the only thing I changed
        console.log(posible[8].innerHTML = 25);
    }
} ```
#

this doesnt work

#

could someone explain to me what I am doing wrong?

wet breach
#

?learnjava

undone axleBOT
tardy delta
#

uhm thats javascript

wet breach
#

Even more applicable

tardy delta
#

gotta learn js in 2nd semester 🥺

wet breach
#

That sucks

#

Well javascript has its use and that is frontend

tardy delta
#

thats what we gonna learn it for

wet breach
#

It just shouldn't be used for anything else

#

10 more minutes and I go home uwu

tardy delta
#

what fucker wrote this

#

dang i just got to college

#

4 hours lessons now

#

gotta learn about powershell commands and networking stuff

echo basalt
#

imagine going to lessons instead of grabbing your laptop and doing unrelated work

#

this post was written on my laptop during class

tardy delta
#

im just sitting here working on my code lol

#

someone joined me

echo basalt
#

these mfs barely know what an object is

wet breach
#

Networking stuff should be handy. Not so much with powershell except learning hidden things you can tweak windows with lol

echo basalt
#

so I make sure to code in java, using more objects than braincells

tardy delta
#

what the

#

dont ask me why im looking thro random api code

rough drift
#

weird

tardy delta
#

Arrays.copyOf

wet breach
#

Oh wrong array, still applicable I suppose lol

#

Ok going home now

tardy delta
shut meadow
#

hello how to schedule a restart event on a specific real life time via the plugin?

tardy delta
#

?scheduling

undone axleBOT
tardy delta
#

or even run a timertask

ivory sleet
#

TimerTask?

#

👀

tardy delta
#

isnt it called like that

eternal oxide
#

use an Executor if you want real world times

ivory sleet
tardy delta
#

i should probably be looking at lesson

ivory sleet
#

TimerTask just uses the old date api iirc which is the only meh thing

tardy delta
#

hmm

#

im outdated

sterile token
#

Chapter 7, Article 2 "Executors"

shut meadow
mighty pier
#

google it

eternal oxide
mighty pier
#

there would be like half as little messages in here if people googled something themselves

grizzled oasis
#

Hi if I use zstd to make a yaml file or a sqlite file for making it lighter can that be a good idea?

eternal oxide
#

zstd?

#

you mean compression?

grizzled oasis
eternal oxide
#

then no, don;t compress either when using

grizzled oasis
#

what can be a light way to storage information? without using mysql or mariadb

eternal oxide
#

you seem to be all over the place.

#

decide what you are doing and then ask for advice on storage

rotund ravine
molten hearth
#

allow me to introduce myself

glossy venture
#

i love gradle

#

20 lines for full project configuration

molten hearth
#

anyways whats not working

#

anyways this works for me ```js
let savedNumber = []

const count = {
1: 0,
2: 0,
3: 0,
4: 0,
5: 0,
6: 0
};

for (let i = 0; i < 5; i++) {
const randomNumber = (Math.floor(Math.random() * 2)) + 1;
savedNumber.push(randomNumber);
count[randomNumber]++;

for(const key in Object.keys(count)) {
    if (count[key] > 2 && count[key] == 2) {
        console.log(posible[8].innerHTML = 25);
    }
}

}``` but yours should anyway but node is being fucky

#

if you mean why doesnt it print anything its because count[key] wasnt 2 when you tested it

#

also you typod possible lol

#

also console.log(posible[8].innerHTML = 25); is not a valid statement

keen basin
#

all players are kicked because this why ?
[15:34:41 ERROR]: Packet encoding of packet ID 85 threw (skippable? false)

glossy venture
#

finally

molten hearth
#

SUIIIIIIIIIIII

#

me when 1

red sedge
#

um is thewre a reason I shouldnt use InventoryClickEvent#setCursor()

#

its depraceted

#

but how would i replicate smth like that

twilit roost
#

Im creating automated box
but I need to get Width of a letter and adjust numbers of = adequately, any clues how to get that width?

#
ArrayList<String> list = new ArrayList<>();
StringBuilder start = new StringBuilder();
StringBuilder end = new StringBuilder();
String repeat = "═".repeat((int) Math.max(0, longestEntry*0.8));
start.append("╔");
start.append(repeat);
start.append("╗");
end.append("╚");
end.append(repeat);
end.append("╝");
list.add(start.toString());
for (int i = 0; i < entries; i++) {
    list.add("║ " + entry + " ║");
}
list.add(end.toString());
return list;
zealous osprey
twilit roost
#

welp thats their problem 😄 thx

glossy venture
#

wait is mc font monospace

zealous osprey
#

yesn't

glossy venture
#

i and j arent right

#

and l

zealous osprey
#

While all the fonts are in a 8x8, they get interpreted differently by the shader I think

zealous osprey
serene egret
#

Hey im getting this error: Cannot invoke "org.bukkit.World.spawnEntity(org.bukkit.Location, org.bukkit.entity.EntityType)" because the return value of "org.bukkit.Bukkit.getWorld(String)" is null

for this Method:

 public static void firework(int power, Location location, boolean flicker, FireworkEffect.Type type, Vector direction, int seconds, Color color, Color[] fade, boolean trail) {


        Firework fw1 = (Firework) location.getWorld().spawnEntity(location, EntityType.FIREWORK);
        fw1.setVelocity(direction);
        FireworkMeta fireworkMeta = fw1.getFireworkMeta();
        fireworkMeta.setPower(power);
        fireworkMeta.addEffect(FireworkEffect.builder().withColor(color).flicker(flicker).withFade(fade).with(type).trail(trail).build());
        fw1.setFireworkMeta(fireworkMeta);
        new BukkitRunnable() {
            @Override
            public void run() {
                fw1.detonate();
            }
        }.runTaskLater(Main.getInstance(), seconds * 20L);

    }
}```
Can smbdy gelp me?
zealous osprey
golden turret
#

Hey

#

Just an update about a problem I had

#

Some days ago I came here talking about lag when generating rewards for a crates plugin

#

and I just realised that the lag wasn't about the random generator but about the Minecraft stuff like messages and inventory

#

see here:

#

where amount = 2000000

#

Just wanted to say it

#

bye

twilit roost
zealous osprey
#

currently checking where you could get that list from

twilit roost
#

I somehow nailed it
but ig it won't be the same for every string

zealous osprey
twilit roost
#

omfg tysm

zealous osprey
#

it might still not help though aligning it perfectly

smoky widget
#

what is the best library to make gui in your opinion?

twilit roost
#

Spigot

zealous osprey
smoky widget
red sedge
#

i mean

#

its not technically wrong

#

and i cant say much else than that since i dont use gui libraries

zealous osprey
red sedge
#

all gui libraries have kinda been confusin for me

twilit roost
#

spigot wont do that
u will just hate it

red sedge
#

its not bad tho

#

i like it

#

its simple

#

you handle everything yourself

#

no funny business

twilit roost
#

^^

#

and no fun :))

red sedge
#

idk

#

its fun to me

zealous osprey
#

Fun lies in the eye of the beholder.

twilit roost
# zealous osprey Here's the lengths of each character <@973507338059255868>

if anyone ever wants to parse this into a list of Map.entry heres the code:

    public static void main(String[] args) throws IOException {
        File file = new File("D:\\","fontWidths.txt"); //change the directory
        BufferedReader reader = new BufferedReader(new FileReader(file));

        String line = reader.readLine();
        while(line != null){
            System.out.println(translate(line));
            line = reader.readLine();
        }
        reader.close();
    }

    public static String translate(String line){
        String[] args = line.split("=");
        return "Map.entry(┆" + args[0] + "┆," + args[1] + "),";
    }

then just copy output u've got in Terminal, paste it into some IDE and replace all with "

echo basalt
#

that's not how you parse it into a map but ok

#

also try with resources is a thing

#

Here's a better way

icy beacon
#

is it worth making my plugin java 19 only? i mean, do many people use it rn or not?

echo basalt
#
public static Map<Character, Integer> parseWidths(File file) {
    Map<Character, Integer> map = new HashMap<>();

    try(FileReader fileReader = new FileReader(file); BufferedReader reader = new BufferedReader(fileReader)) {

    String line;
    while((line = reader.readLine()) != null) {
        String[] split = line.split("=");

        char key = split[0].charAt(0);
        int value = Integer.parseInt(split[1]);

        map.put(key, value);
    }

    } catch (IOException exception) {
        exception.printStackTrace();
    }

  return map;
}
#

type deal

summer agate
echo basalt
#

1.8 likes to trip above java 16

twilit roost
icy beacon
twilit roost
#

...

summer agate
icy beacon
#

yeah I do want the new features, I can live without them but it'd be convenient

#

the problem is that I have to make people update to 19

#

particularly i want to use jep 420

#

it's java 18 actually, even better

#

so is it worth it?

subtle folio
#

I have this issue with importing local jars from maven, but I work on two different machines, mac and windows. In which I use <systemPath>${project.basedir}\NRCore.jar</systemPath> to import the jar but the slash changes per os. Is there anything I can do?

#

\ /

hasty prawn
#

Put the jar in your local repo on both PCs and add it using maven

subtle folio
#

Where is the local repo/

#

Can I have a link to some article about that?

icy beacon
#

i think it's the .m2 folder?

hasty prawn
#

Yep ^

subtle folio
#

That right

hasty prawn
#

I only develop for the latest version and I know a lot of other people here do too. So might as well upgrade to whatever Java version latest is on.

icy beacon
kind hatch
ancient plank
#

😩

subtle folio
hasty prawn
icy beacon
#

alright then, i'll take a look at bstats, for some reason just now did i figure that would help lol. thanks!

subtle folio
hasty prawn
#

I mean you can but if it's a local jar you don't have to do that

subtle folio
#

It's a core I want everyone to have access to

twilit roost
#

stoopid question but how can I get files stored in resources in IDE to be in a plugin folder when running the plugin?

hasty prawn
#

If you want everyone to have access to use it as a dependency then Nexus is one way

subtle folio
#

Alright thank you

kind hatch
#

Yea, just use JavaPlugin#saveResource() to write the files to the plugin folder.

twilit roost
#

ty

icy beacon
#

this is a very detailed compile error

#

also i got this:
null in switch cases is a preview feature and is disabled by default.
how do enable it, anyway? i've put on jdk 19, put on the latest sdk in project settings, etc, it still will not compile

quiet ice
#

what exactly is the line of code with the error?

tardy delta
#

Change it to jdk 19 preview

#

Didny even know Java 19 existed thi

quiet ice
#

java 20 should be a thing already

tardy delta
#

👀

#

Imagine still using Java 8 now

quiet ice
icy beacon
#

anyway I'll invalidate my caches too

quiet ice
#

with most random line, what do you mean?

icy beacon
#

nothing peculiar at all

#

no ide errors

#

so like there are 7 list modifications

list.add(..)
list.add(..)

and on one of them, there's an error

#

and even when I comment the line out, it still bitches at that exact line

#

I'll try to see why

shut meadow
#

hello can someone help me? I wannt that the plugin restarts the server every day at 19:00 german time how to do that?

icy beacon
#

you can use LocalTime, initialize it with your preferred timezone, then check every 20 ticks (look up Bukkit Scheduler Programming) if hour is 19 and minute is 0

#

can probably be done in a better way, that's just my first thought

shut meadow
#

can i create a schedule Eventhandler?

icy beacon
#

event handler is for events

#

just make a timer with Bukkit Scheduler

shut meadow
#

okay thank you

shut meadow
#

could you give me an example?

#

would be great

tardy delta
#

?scheduling

undone axleBOT
shut meadow
eternal oxide
#

Using the scheduler is not going to work if you want real world time

#

I linked you an example earlier

shut meadow
#

could you send again

#

didnt see

eternal oxide
#

the scheduler runs on game ticks, which are NOT exactly 20 per second. Over a day it will be out by quite a lot

shut meadow
tardy delta
#

^^ told that too or it was another person

eternal oxide
#

You need to read that until you understand it

tardy delta
#

Fuck wifi in station is bad

eternal oxide
elfin atlas
#

Is there a way to check if a pressure plate is pressed outside of the PlayerInteractEvent (so just checking the current state)

eternal oxide
#

check the redstone charge

#

?jd-s

undone axleBOT
peak depot
#

How to set a 2 values in a yml config for the same name for example: items.cobweb -> COBWEB, 16

tardy delta
#
items:
 cobweb:
  material: COBWEB
  amount: 16```
peak depot
#

thanks

tardy delta
#

basically settings items.cobweb.material and items.cobweb.amount

kind hatch
#

I don't think it's possible with that method, but it might be possible with Player#hideEntity(). Don't quote me on it.

#

That's cause it's a draft api.

#

It's means its a wip api and it might change in the future.

hasty prawn
#

It has always wanted a Criteria afaik it just accepted a String instead of the enum

#

So you were always giving it an invalid criteria because I don't think main is one

#

It wanted a string, yeah?

#

Pretty sure the string was the criteria

#

Yeah that's what I said lol

#

Yeah because "main" isn't a valid criteria

#

That's what I'm saying, you have been passing an invalid criteria lol

#

Dummy probably

#

Did you try it

dim bronze
#

Did you try with a lowercase d?

#

I know it has to be lowercase in the command

#

oh I was looking at the screenshot whoops

hasty prawn
#

Send the error

dim bronze
#

can't think of a reason why Criteria.DUMMY would be incorrect

#

but watch now I'll eat my words

hasty prawn
#

Yeah it should definitely be right

#

Very weird that it errors when you pass dummy, which is completely valid, and didn't say anything when you were passing "main" in older versions.

arctic moth
#

is citizens api NPC#getEntity() castable to Player?

#

or at least LivingEntity

hazy parrot
#

If it returns spigot entity

#

It's castable to all subinterfaces, depends on situation

arctic moth
#

or getInventory()

#

im basically making an entity that uses a Player because i dont want to do it the nms way

torn shuttle
#

Here's a highly specific question: if I get a configuration section and I modify it, am I modifying the file configuration or is the configuration section a deep copy of the file configuration?

arctic moth
torn shuttle
#

ConfigurationSection, the java class

frail gale
#

someone here who knows IntelliJ IDEA good

#

?

remote swallow
#

?ask

undone axleBOT
#

If you have a question, please just ask it. Don't look for staff or topic experts. Don't ask to ask or ask if people are awake or available. Just ask the question to the channel straight out, and wait patiently for a reply. Make sure you use the right channel regarding the topic of your question. Create a thread in case the channel is already in use!

static ingot
frail gale
#

misclicked enter

static ingot
#

you're fine, lol

frail gale
#

okay I know it will sound little stupid but still. Is it possible to make it so the Auto-Completion will still appear even after the full word is typed?

#

because I have a habit from Eclipse to type the whole word

#

and I make everytime a new line

kind hatch
torn shuttle
kind hatch
#

Yes

torn shuttle
#

awesome, thanks

static ingot
#

Just sounds like a force of habit to get over, lol

frail gale
#

I tried to search but didn't found anything

#

I plan to make some plugins for IntelliJ IDEA but I'll do it when I have more free time

#

maybe on the Holiday break

frail gale
wet breach
#

if you are wanting auto-completion why make unnecessary actions that will be done for you

frail gale
wet breach
#

well unfortunately that makes you part of the minority

#

BlockDamageEvent

#

think there is something in there close to that

#

well I mean what other way does a player have to damage blocks

#

if you want to say explosions, we already have events to cover that

main dew
#

Hi how I build spigot I can decompile all classes? Exists switch to do this?

remote swallow
#

?bt ?

undone axleBOT
main dew
#

--generate-source
How understand this?

#

I sorry but I don't understand Note 😅

remote swallow
#

download build tools and git then run java -jar BuildTools.jar --rev your.version.number

so java -jar BuildTools.jar --rev 1.19.2for 1.19.2

remote swallow
#

This is a very dumb question but how can i make a method return a string or a component, without needing it to have both

river oracle
#

Generics 👐

#

Or you could just make 2 methods

#

:P

#

Tbh I think the latter is a lot more sensible than the former

remote swallow
#

but that means i have to remember which to use

river oracle
#

Yea that's kinda the point

#

Different method Different stuff

remote swallow
#

how am i meant to have good memory smh

river oracle
#

Literally part of ur job

orchid gazelle
#

^

remote swallow
#

who says

river oracle
#

😢 I give up

orchid gazelle
#

Devs need to have good memory

remote swallow
#

i remember some stuff

river oracle
#

I was gonna ask If you remember getting some bitches, but then I remembered you were a dev

remote swallow
#

lmfaooo

wet breach
#

I am assuming the string is also part of the component ?

worldly ingot
#

They want one or the other depending on the situation

#

You'll need two method names

river oracle
#

Or you could do some scuff generic bull shit 😂

#

It would be infinitely worse than 2 separate methods but

#

:) you could

worldly ingot
#

I'm not sure you really can do it with generics as String and components don't have a common parent type

#

eh I mean I guess you can

#

Yeah, just make two methods lol

river oracle
#

You can make a common type yourself

#

The amount of self hate required to produce this though would be quite unimaginable

alpine cairn
#

If I'm using Maven in eclipse do I want the source file to be "src/main/java" rather than just "src?"

alpine cairn
#

Dang

#

Then I'm out of ideas

winged anvil
#

wym

alpine cairn
#

I copied a tutorial for a very simple plugin exactly except they were on an older version and just used the spigot jar and I needed Maven to get the Spigot libraries and I even found the plugin online and it works but my version doesn't work. It extracts fine and even shows up green when executing "/plugins" but nothing happens when the command is run.

#

I thought maybe it was in the wrong src

#

But now I have no idea why it won't work

kind hatch
#

Did you register your command as well as put it in your plugin.yml?

alpine cairn
#

Yes I think so

#

I decompiled the same plugin that works and it is the exact same code everywhere

winged anvil
#

send a screenshot of your project files

alpine cairn
#

One moment

#

Okay dumb question

#

How do I send a ss to discord

remote swallow
#

?img

undone axleBOT
remote swallow
#

or verify

alpine cairn
#

@winged anvil

remote swallow
#

im guessing the * means they arent saved, might be wrong

winged anvil
remote swallow
#

that too

alpine cairn
alpine cairn
#

It is in the package that is in src

winged anvil
#

it looks like its in java

#

not resources

alpine cairn
#

oooooh

winged anvil
#

also

#

try and keep your "main" plugin class name as your plugin

#

so instead of Main.java do CreeperSpawn.java

#

?main

remote swallow
#

when renaming the file change it in plugin.yml too

alpine cairn
#

Doesn't java require that at least one class be named "main?"

winged anvil
#

for applications yes

remote swallow
#

on spigot no

winged anvil
#

but not when you are making a plugin in spigot

alpine cairn
#

Ah I see

winged anvil
#

same reason you dont need to have a public static void main(String[] args) {}

alpine cairn
winged anvil
#

just good practice for spigot plugins

remote swallow
#

^^

winged anvil
#

tbh if you arent gonna like make an api with your plugin it doesnt REALLY matter

alpine cairn
#

What might one need an api for?

winged anvil
#

if you ever wanted to make a library that does cool stuff that no one has made youd want to avoid Main

#

really just to avoid ambiguity

alpine cairn
#

Can the main class be renamed? I don't see the option?

winged anvil
#

refactor is what you are looking for

alpine cairn
#

Thanks

#

I'll see if it works now

remote swallow
#

make sure you change the path in plugin.yml

#

if eclipse doesnt already do that

winged anvil
#

it def doesnt

#

ancient ass ide

remote swallow
#

mhm lmao

winged anvil
#

i mean my intellij doesnt do that so

alpine cairn
remote swallow
#

doesnt really matter if ij does or doesnt been as you should really be needing to change the class name

remote swallow
alpine cairn
#

ah

#

so CreeperSpawn.CreeperSpawn

winged anvil
#

me.jason.CreeperSpawn.CreeperSpawn

alpine cairn
#

Right yeah

remote swallow
#

was just about to type that lol

alpine cairn
#

That's what I meant

remote swallow
#

yeah thats correct

winged anvil
#

also keep package names all lowercase

#

just a practice

remote swallow
#

^^

alpine cairn
#

what about seperating words in a phrase?

#

Isn't the first letter of the second word usually capitalized?

remote swallow
#

method names are usually camel case

winged anvil
#

that is camelCasing for variables and methods

#

packages are all lower

#

classes are UpperCamelCase

alpine cairn
#

Ah okay that is good to know

alpine cairn
#

Could not load 'plugins\CreeperSpawn.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml

#

Got this error in the console

#

Should the .yml be listed in the resources to export when I go to export? If so how do I get it to show up?

winged anvil
#

yes

#

did it not create in your server?

#

oh wait

#

no

#

lol

#
    <build>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <filtering>true</filtering>
            </resource>
        </resources>
    </build>

#

add this to your pom.xml

#

also what spigot version are you on cause your plugin.yml says 1.13

alpine cairn
#

To the bottom of it?

winged anvil
#

put it within the <project>In here</project> tag

alpine cairn
#

Oh I did that because it kept saying legacy plugin in the console and I saw somewhere to add an api-version to fix it

winged anvil
#

hmm

alpine cairn
#

I don't think it is needed

alpine cairn
winged anvil
#

yes

#

as long as its somewhere <project> in here </project>

alpine cairn
#

It causes a bunch of errors

winged anvil
#

what errors

alpine cairn
#
  • The content of elements must consist of well-formed character data or markup.
  • Non-parseable POM C:\Users\jason\Desktop\MyPlugins\CreeperSpawn\pom.xml: unexpected character in markup (position: END_TAG seen ...</dependencies>\r\n< ... @23:3)
hazy parrot
#

Anyone know how I can get substring of global env in github workflow ? In local i can do bash way, but for some reason it doesn't work for global

winged anvil
#

use this ?paste

#

?paste

undone axleBOT
alpine cairn
#

?img

undone axleBOT
winged anvil
#

no just copy paste

alpine cairn
#

ok

remote swallow
#

before the entire </project> tag

kind ridge
remote swallow
#
<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>CreeperSpawn</groupId>
  <artifactId>CreeperSpawn</artifactId>
  <version>0.0.1-SNAPSHOT</version>
<repositories>
    <!-- This adds the Spigot Maven repository to the build -->
    <repository>
        <id>spigot-repo</id>
        <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
    </repository>
</repositories>

<dependencies>
    <!--This adds the Spigot API artifact to the build -->
    <dependency>
           <groupId>org.spigotmc</groupId>
           <artifactId>spigot-api</artifactId>
           <version>1.19.2-R0.1-SNAPSHOT</version>
           <scope>provided</scope>
    </dependency>
</dependencies>

    <build>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <filtering>true</filtering>
            </resource>
        </resources>
    </build>

</project>
winged anvil
#

lol paste into

#

?paste

undone axleBOT
winged anvil
#

next time

#

you are missing a <project tag>

#

wait

#

no

alpine cairn
#

Oh

#

You meant between the two <project>s

#

Got it

#

What did that do exactly?

winged anvil
#

its between

#

did it work?

alpine cairn
#

Lemme try

winged anvil
#

should just include your src/main/resources folder into the build

alpine cairn
#

Does the yml not work if it is not in resources?

winged anvil
#

no it wont work

subtle folio
#

If im hosting a jar in nexus, what do I actually put to add it to my pom.xml?

winged anvil
#

idk, just saying so you dont think im ignoring you, im bad with maven tbh

alpine cairn
#

Dang same error message in the console

#

before the plugin seemed to be working but the command did nothing

#

Now it doesn't even get enabled

winged anvil
#

yeah that is weird cause it wasnt in the resources folder before no?

alpine cairn
#

Right

winged anvil
#

so it shouldnt have even loaded

alpine cairn
#

I was following someone who wasn't using Maven so it was way less folders

winged anvil
#

it is straight from my pom

alpine cairn
#

ok

winged anvil
#

lmao i just realized that the paste was from epicebic not you

alpine cairn
#

Is that extra "<properties> at the top supposed to be there?

winged anvil
#

you can delete

winged anvil
wet breach
alpine cairn
#

Yeah

winged anvil
#

and it didnt work?

alpine cairn
#

Nope

winged anvil
#

how are you building the project

alpine cairn
#

It is just a main class and a class for the command

#

The working version I found is nearly identical but didn't use maven

winged anvil
#

no like are you just clicking a "build" button or

alpine cairn
#

Uhhh

#

I just created two packages and a class for each

winged anvil
#

you gotta build it

#

hold

alpine cairn
#

I'm not sure what that means exactly

winged anvil
#

then right click your pom.xml and click "run as" then "maven build"

#

and in the "Goals" type "package"

alpine cairn
#

I have the repositories for spigot already

winged anvil
#

ok just add the maven plugin

alpine cairn
#

Still same thing

#

[20:41:46 ERROR]: Could not load 'plugins\CreeperSpawn.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:178) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:155) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.CraftServer.loadPlugins(CraftServer.java:423) ~[paper-1.19.2.jar:git-Paper-261]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:278) ~[paper-1.19.2.jar:git-Paper-261]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1100) ~[paper-1.19.2.jar:git-Paper-261]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:305) ~[paper-1.19.2.jar:git-Paper-261]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
... 7 more

winged anvil
#

it is not being shaded in

#
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.8.1</version>
                <configuration>
                    <source>18</source>
                    <target>18</target>
                </configuration>
            </plugin>```
#

add this plugin

alpine cairn
#

Anywhere in POM?

winged anvil
#

underneath the last plugin you have

alpine cairn
#

Multiple markers at this line

  • Malformed POM C:\Users\jason\Desktop\MyPlugins\CreeperSpawn\pom.xml: Unrecognised tag: 'plugin' (position: START_TAG seen ...</plugins>\r\n\r\n <plugin>... @43:21)
  • Invalid element name:
  • plugin

One of the following is expected:

  • sourceDirectory
  • scriptSourceDirectory
  • testSourceDirectory
  • outputDirectory
  • testOutputDirectory
  • extensions
  • defaultGoal
  • resources
  • testResources
  • directory
  • finalName
  • filters
  • pluginManagement

Error indicated by:
{http://maven.apache.org/POM/4.0.0}
with code:

#

?paste

undone axleBOT
alpine cairn
winged anvil
#

the plugin needs to be inside <plugins></plugins>

#

hold ill just edit

alpine cairn
#

Yeah I just saw that

winged anvil
alpine cairn
#

Still the same error, plugin won't load

#

Should I delete the yml and write it again or something?

winged anvil
#

are you packaging with maven?

alpine cairn
#

I am using maven

#

I am using packages

#

Not sure what packaging entails

#

It seems like the yml is not getting bundled into the jar when I export but I don't know why not

winged anvil
#

that is the problem

#

send screenshot when you right click pom and click run as maven build

alpine cairn
#

Well

#

It stopped responding

#

?img

undone axleBOT
alpine cairn
remote swallow
#

goals: clean package iirc

wet breach
#

If building with maven you should only need to put it in the resources directory assuming you didn't mess with structure maven requires

tender vault
#

how do I detect if a player left / right clicks an entity? like PlayerInteractEvent
I know PlayerInteractEntityEvent exists but I can't find a way to detect both left and right clicks

remote swallow
#

PlayerInteractAtEntityEvent irrc

#

iirc**

worldly ingot
#

I mean a left click is just EntityDamageByEntityEvent

tender vault
#

alright thanks :D, not that worried about right clicks anyway

eternal oxide
#

get the Y component of their velocity

icy beacon
#

trying to figure it out since yesterday

torn badge
#

Check your project SDK and language level

quasi flint
#

maybe just check null before?

icy beacon
#

oh apparently after reloading maven it throws me back at java 17, but i don't see why it is so

torn badge
#

And don't use Java 18

icy beacon
#

i am using 19 lol

#

did you look at my screenshots

quasi flint
#

isthe right version set in the maven file?

icy beacon
icy beacon
quasi flint
icy beacon
#

jep 405, 427

quasi flint
icy beacon
quasi flint
#

maybe try configuring directly

icy beacon
#

oh it could be because my compiler plugin is 3.8.1

#

but

<configuration>
                    <source>${java.version}</source>
                    <target>${java.version}</target>
                </configuration>
``` should just take the 19?
quasi flint
#

prob

icy beacon
#
Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Maven home: C:\Program Files\JetBrains\IntelliJ IDEA 2021.1.3\plugins\maven\lib\maven3
Java version: 19.0.1, vendor: Oracle Corporation, runtime: C:\JDK (real 1.19 the other one is 1.18)
Default locale: ru_RU, platform encoding: UTF-8
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"```
#

the output of mvn --version

quasi flint
#

ah yes

#

real this, other that

icy beacon
#

yeah i downloaded jdk 18 and accidentally named it "JDK (1.19)"

#

lmao

quasi flint
#

lol

#

so maven seems to like java 19

icy beacon
#

yeah i can tell

#

this is so fucking stupid

quasi flint
#

yep

icy beacon
#

update, invalidating caches did nothing

#

ok, riddle me this, how did it happen that the latest java is java 19 and intellij only has 17 preview???

kind hatch
#

Probably because your SDK was set to 17

icy beacon
#

and the previous sdk i used in this project was 16

#

i am updating from 16 to 19 for some new features

#

and this looks like a fuckup

kind hatch
#

So long as you set your IDE to the proper sdk and set the language level accordingly, it all comes down to your pom.

icy beacon
#
<properties>
        <java.version>19</java.version>
        <maven.compiler.source>19</maven.compiler.source>
        <maven.compiler.target>19</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.10.1</version>
                <configuration>
                    <source>19</source>
                    <target>19</target>
                </configuration>
            </plugin>
#

global project search, no matches for 16 or 17

#

that's why i am here, i can't see the problem at all

kind hatch
#

Try removing the <java.version> tag and the compiler plugin. Refresh your pom, then clean package.

icy beacon
#

alrighty

#

nope, still thinks it's 17

#

also for some reason it gives me an empty error at this absolutely not peculiar error

#

any ideas shadowmaster?

kind hatch
#

Maybe you need to restart your IDE. I'm gonna download java 19 and see if I have that issue as well.

icy beacon
#

i did, i've invalidated the caches twice at this point

#

i will try to readd the sdk

buoyant violet
#

guys can you create a fling command in minecraft?

#

like you yeet the player

chrome beacon
#

Yeah you can do that

#

Just set the velocity

kind hatch
#

So yea, as expected, I don't have an issue. 😛

icy beacon
#

so basically it tells me this (attachment 1) when i modify the sdk level (attachment 2); after i do change it to latest, it says this (attachment 3). maybe i shall send my whole pom?

buoyant violet
#

can you type me an example

icy beacon
#

?jd-s

undone axleBOT
buoyant violet
#

yep thats 1.19.2

#

but i need for 1.12.2

kind hatch
#

?paste

undone axleBOT
buoyant violet
#

how can i downgrade the javadocs

chrome beacon
#

if you want 1.12.2 javadocs helpch.at has them

icy beacon
#

yep

chrome beacon
#

or you can generate them yourself with BuildTools

kind hatch
#

@icy beacon This is my pom setup with Java 19 and these are my results.

icy beacon
#

see, the problem is, I don't have the 19 lang level 😄

#

i don't know why it limits me to 17 preview, i really don't

#

but i did use some of the things from your pom like compilerArgs

kind hatch
#

It might be at the bottom of the list. It was for me at least.

#

It was trying to limit me to level 18

icy beacon
kind hatch
#

That's a little odd. I have an experimental section.

peak depot
#

its an experimental I think he needs to download that

icy beacon
#

what's your intellij version? perhaps that's the key?

kind hatch
icy beacon
#

oh, right, i've got just this lol

#

and it doesn't even suggest any updates to me, huh

#

i have just manually asked to check for updates and it found 2022.2.3

#

wow

kind hatch
#

Do you have an icon here?

icy beacon
#

yeah, and i'm downloading the latest intellij rn 🙂

#

i just kinda assumed that it should present me some updates on boot

#

it didn't

kind hatch
#

It used to, but I guess they changed their mindset. Which I honestly don't mind that it doesn't tell me.

icy beacon
#

oh well

kind hatch
#

I'd rather use what works

#

Than try to force an update that may be buggy.

icy beacon
#

shouldn't they only suggest stable updates?

kind hatch
#

Even now I'm still behind by like 2 minor versions.

icy beacon
#

just like

#

common sense

buoyant violet
#

how do i code brakets?

kind hatch
#

???

buoyant violet
#

like the brackets for sending the code on discord

#

the square

#

''''

kind hatch
#
// Code here
buoyant violet
#

ye

kind hatch
#

The backtick

buoyant violet
#

no not in java

#

in discord

#

like how do i send the code

#

i pasted it

#

but i want to put it in brakets here

buoyant violet
kind hatch
#

Yea, you use the backticks like in the image. You put your code between them.

peak depot
#

`

#

that thing 3 times at the start an the end

buoyant violet
#
package me.lotusishere.lotuscore;

import org.bukkit.plugin.java.JavaPlugin;

public final class LotusCore extends JavaPlugin {

    @Override
    public void onEnable() {
        // Plugin startup logic

        System.out.println("LotusCore Is On");

    }

    @Override
    public void onDisable() {
        // Plugin shutdown logic

        System.out.println("LotusCore Going Off");

    }
}
#

did i do right?

#

like the send input and output command to consoel

#

console*

icy beacon
#

this is just a blank plugin pretty much

echo basalt
#

ye thats a blank plugin

buoyant violet
#

?

icy beacon
#

this is a plugin that does nothing but tell people that it has started/stopped

kind hatch
#

You've just got the boilerplate.

buoyant violet
#

yes i just wanted to tell you if its right or wrong

icy beacon
#

also you should use Bukkit.getLogger().info() over System.out.println() in Bukkit plugins

icy beacon
buoyant violet
#

its right?

#

nono its a spigot plugin

icy beacon
#

in spigot plugins too

#

spigot is a fork of craftbukkit

#

or bukkit, not sure about the correct name

peak depot
buoyant violet
#

oh k

kind hatch
icy beacon
#

?learnjava

undone axleBOT
icy beacon
#

i can't figure if you know java or not Lotus

#

if you do not please learn it prior to coding plugins

buoyant violet
#

i dont

kind hatch
#

I'm a little confused why he was asking if it was correct. I know that's the autogenerated classes from the Minecraft Development Plugin, so there's almost no way that it could be screwed up in the first place.

mighty pier
buoyant violet
#

i dont know java

icy beacon
mighty pier
#

learn it

icy beacon
#

and it is gonna take you more than a couple hours

buoyant violet
#

cause i have school

mighty pier
#

a lot

icy beacon
#

depends on your dedication

kind hatch
#

^

icy beacon
#

do it in your free time

mighty pier
#

all of us have school

icy beacon
#

also in case you disagree, read this thread

sterile token
#

What make ppl thinks they can code without learning the laguage were they code?

#

Its started to happen this since years ago and i dont know why

icy beacon
#

well, when I started, I honestly thought that the actual Java knowledge had nothing to do with coding plugins

mighty pier
icy beacon
#

i started really learning java after a LOT of problems along my way

#

so we wanna make sure other people don't make that mistake

kind hatch
sterile token
#

Sorry if I sounded rude

mighty pier
#

honesty best

sterile token
#

But i always asked my self that question when someone ask for help and they dont know itself the bases

peak depot
#

I tried coding plugins when I was sick without knowing shit about Java I just followed some tutorials covering the basics after that read code and the rest comes allong but now I would say first learn java then plugins

sterile token
#

In my case im taking a bootcamp for improving my code skills and the first lesson was about the logic behind programming

buoyant violet
#

i am learning rn

#

btw

mighty pier
icy beacon
buoyant violet
#

what build do i use?

icy beacon
buoyant violet
#

intellij, maven

#

or graven?

#

for learning and writing code

sterile token
#

Intellij is not a build

buoyant violet
#

of java?

icy beacon
#

intellij is an IDE, the program where you write code

sterile token
#

Intellij is an IDE

buoyant violet
#

the build system sorry

icy beacon
#

Maven and Gradle are dependency managers, for example for libraries

mighty pier
#

graven

sterile token
#

Maven or Gradle are build system

kind hatch
#

Hold up, are we just going to gloss over graven?

icy beacon
#

I found Maven to be the most convenient one for me

sterile token
#

Graven is it a new build?

mighty pier
#

its just prefrence

icy beacon
#

i wish graven was a thing

timber basalt
#

Hi does anyone know someone who makes custom plugins?

mighty pier
#

old people use gradle

icy beacon
#

we all do

buoyant violet
#

so what do i use?

icy beacon
#

like