#help-development

1 messages · Page 558 of 1

echo basalt
#

I love how every single coding project is just a race to over-engineer a project into the easiest thing ever to use

young knoll
#

Hey server owners are

echo basalt
#

people writing 200k lines of code so you can solve your problem in 5 lines of code

young knoll
#

Not smart

echo basalt
#

I literally wrote a registration system for the modules at work because people kept making circular dependencies

young knoll
#

They’ll forever put tabs in yaml files and then complain it doesn’t work

flint coyote
#

If I was to write a "perfect" (larger) plugin (or anything code-related) I'd never be done. You always learn new stuff on the way or notice flaws.
Isn't rare that I change something and a month later I feel like "eeh, the other way was better" - and change it back

echo basalt
#

ehh

#

you get used to it

#

it's called

#

tech debt

#

I love how my pc almost crashes every time I run gradlew build

livid dove
echo basalt
#

discord's rendering at a solid 2fp

flint coyote
#

yay tech debt

flint coyote
ocean hollow
#

This code is for creating a particle at a random location on the tree.

livid dove
#

All hail the dev branch

young knoll
#

Spigot has 12 years of tech debt

livid dove
#

Dear Father who art in heaven, "actual code reviews in big multi dev plugins" be thy name

young knoll
#

Sometime you look at old spigot code and wonder what was going on when it was written

#

In like 2013

livid dove
young knoll
#

Well that too

ornate patio
#

is there a spigot resource api

young knoll
#

For what

ornate patio
#

im trying to make a plugin that automatically updates other plugins when updates are detected

young knoll
#

Spiget

#

Also dear god no

remote swallow
#

or the xf api

young knoll
#

Auto updaters are evil and will break your server

ornate patio
#

im making it for a friend lol

#

hes asking for it

remote swallow
#

you would need to figure out its id iirc

river oracle
#
    public static List<WorldCoord> toWorldCoord(LightChunkArea area) {
        final List<WorldCoord> coords = new ArrayList<>();
        for (LightChunk chunk : area.getChunks()) {
            final Chunk bukkitChunk = chunk.toChunk();
            for (int x = 0; x < 16; x++) {
                for (int z = 0; z < 16; z++) {
                    final Location absoluteLocation = bukkitChunk.getBlock(x, 0, z).getLocation();
                    coords.add(new WorldCoord(absoluteLocation.getWorld().getName(), absoluteLocation.getBlockX(), absoluteLocation.getBlockZ()));
                }
            }
        }
        return coords;
    }``` nested loops go brrrrrrr
livid dove
river oracle
livid dove
#

How do townyh world coords work/

tardy delta
livid dove
#

*this is exastly why i asked ^

eternal oxide
#

Towny has Static Coord and WorldCord helper methods

livid dove
#

They do coords for each block individually?

#

Or just chunk coords?

eternal oxide
#

no

#

chunk

#

depending on config chunk size setting

livid dove
#

huh

#

odd

eternal oxide
#

default is 16

#

but you can specify a non standard size, always indexed on 0,0 though

young knoll
#

Iirc towny was the annoying one when implementing protection checks

#

It doesn’t have a good way to query protection on an entire area at once

river oracle
#

Towny API seems annoying I literally have to work with internal methods to do what I need

eternal oxide
#

no you don;t

#

at least you didn;t when I wrote it. It may have changed since

zenith gate
#

So, when an upgrade slate is dropped onto an item, it does say in the chat that the item was upgraded, but the upgrade slate would still be held in the cursor, and the attributes haven't changed.

https://paste.md-5.net/qiwiqufugi.cs

river oracle
eternal oxide
#

areas belong to towns

river oracle
#

so I made an internal town called gaia or whatever to calim everything

eternal oxide
#

thats why it's called Towny

river oracle
eternal oxide
#

you want to be able to build/destory?

#

set the outsider flag on the area to true

river oracle
eternal oxide
#

there are area flags for owner, friend, outsider etc

#

so you can allow/disallow actions

#

There is also a built in method for fighting over towns

#

flag war

#

its been a few years since I looked at any of that code though

river oracle
#

Client wants a specific type of conflict not supported by towny though, so its rough impl

#

thanks for your help though

young knoll
#

SeigeWar exists

#

It’s interesting I guess

chrome beacon
#

Is the server lagging

gilded coyote
#

No

chrome beacon
#

Make sure your if statements pass

flint coyote
#

If a player already has the same potion effect and you apply it again it won't refresh it if I remember correctly. I stumbled over that a while ago

#

You have to clear and set it again

grim iris
young knoll
#

It should override it if the time is higher

#

Or the level

grim iris
#

^^

flint coyote
#

alright didn't know that was changed

silent steeple
#

whats the method for 1.7/1.8 to make armor stands uncollidable

young knoll
#

Probably isn’t one in the api

silent steeple
#

yeah its in 1.12 api

#

if i use nms where would i even start looking

young knoll
#

¯_(ツ)_/¯

#

Scoreboard teams might work

#

Granted idk if those had collision settings in 1.8 either

silent steeple
#

any other ways to make holograms other then armor stands

young knoll
#

Not in 1.8

#

Not that I remember anyway

#

Did armorstands have the marker setting back then

#

Because that makes them have no hitbox

silent steeple
#

I think they do actually

sick ermine
#

I am coding a minigame for the first time. A sequence while playing the game
and this order will change constantly, how can I apply a design pattern for it?

pliant skiff
#

can anyone help me i redownloaded intellij after long time and now it fulls of errors

pliant skiff
#

i cant send pic here

#

i send you in dms

zenith gate
#

you need to verify

pliant skiff
#

i did

zenith gate
#

your name would be blue if you did.

pliant skiff
#

breh

#

it aint working

frosty relic
#

any idea on how to deploy in jitpack a library which depends of a jar file which i has in local but it is not in the git repository because it's a paid plugin?

remote swallow
#

you would need to put it on a cred only repo with github secrets and a workflow

frosty relic
#

mmm good idea

#

but it's a lot of work jajajaja

quaint mantle
#

Guys. I have a self-written plugin for the prey system by clicking on the trees. In the configuration, they write a tool, extraction with a click. There is a particle on the tree. It is necessary to make sure that when hitting the particle, it multiplys the extraction of the tool by x2 each blow

orchid trout
#

google translate

iron palm
#

is there any way to find out that the item that is on players hand is renamed or not?

#

i tried checking if displayName is null but it is always true

young knoll
#

hasDisplayName

iron palm
#

oh right thanks

tall dragon
#

?pdc

echo basalt
#

please

#

Here's how I write mine

quaint mantle
#

I need to find a way for:
-> Function which you input coordinates of block, Max. Radius of blocks
-> Returns coordinates of all connected blocks of the same type within said radius in an array.

Any ideas other than looping through each connected one?

subtle folio
#

looping is your best bet.

noble lantern
#

So, there's ways to play just normal sounds but...

Is there a way to play music to a player? IE if i want to play menu music to a player is this possible?

chrome beacon
#

You can with a resource pack

noble lantern
#

Yeah that's what I'm doing right now is just overwriting the sounds with my own (IE I replaced menu1.ogg with my own ogg file)

And, it'll work for playing automatically, I wanted to like manually control the when the sounds play

young knoll
#

Add a custom sound and use playNamedSound

noble lantern
#

Add a custom sound you can do a what now im sorry is this some new witchcraft or something

#

interesting

young knoll
#

It’s fairly old

chrome beacon
#

It has existed for a while yeah

noble lantern
#

This method right, only one that allows supplying strings so I assume it is

#

oops

#

screenshotted wrong one

#

yeah ignore me on that one mb lmao javadocs said it

surreal quest
#

Any idea what the issue is here?

    @EventHandler
    public void onPlayerJoin(PlayerJoinEvent event) {
        generateIsland(event.getPlayer());
    }

Required type:
Player
Provided:
org.bukkit.entity.Player

#

player is player

#

like cmon man

eternal oxide
#

wrong import, or you shaded the whole of Spigot into your plugin

#

probably the second

surreal quest
#

shaded?

eternal oxide
#

do you use maven?

surreal quest
#

ya

eternal oxide
#

spigot needs a provided scope entry in the pom

surreal quest
#

meaning...?

eternal oxide
#

<scope>provided</scope>

surreal quest
#
    <repositories>
        <repository>
            <id>spigotmc-repo</id>
            <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
        </repository>
        <repository>
            <id>sonatype</id>
            <url>https://oss.sonatype.org/content/groups/public/</url>
        </repository>
    </repositories>

    <dependencies>
        <dependency>
            <groupId>org.spigotmc</groupId>
            <artifactId>spigot-api</artifactId>
            <version>1.19.4-R0.1-SNAPSHOT</version>
            <scope>provided</scope>
        </dependency>
    </dependencies>
</project>

#

seems to be there

eternal oxide
#

then you manually added a jar to your project

surreal quest
#

Havent touched anything

eternal oxide
#

check your imports

#

what IDE?

surreal quest
#

IntelliJ

eternal oxide
#

are you using artifacts to build

sullen marlin
#

can you post the full code

#

I think this is a compile error not a runtime one

winged anvil
#

I do not agree to the EULA.

sullen marlin
#

ok

winged anvil
#

Do you agree to the EULA?

eternal oxide
#

depends which one

sullen marlin
#

you have to to play the game

winged anvil
#

THE

#

eula

river oracle
noble lantern
#

look at hypixel

#

booster cookies go brrt

young knoll
#

Booster cookies are fine

noble lantern
#

p2w

young knoll
#

It's tecnically non competitive

#

So it's fine

noble lantern
#

they give you craaaazy buffs, then on top of it you also get the ooportunity to sell them to other players for in game currency

Then on top of it, you also have the player profile buffs, which you can skip the timer for upgrades by buying gems

young knoll
#

It's tecnically non competitive

noble lantern
#

Idk what that means but sounds like p2w to me

young knoll
#

Mojang changed their EULA so p2w is allowed on non competitive servers

#

Which is why skyblock removed PVP

sullen marlin
#

hypixel isn't competitive?

noble lantern
#

ohhh

#

but wouldnt the leaderboards they have be considered competitive then?

#

or only if said leaderboards give prizes of some sort?

young knoll
#

I mean the EULA does say leaderboards may make it competitive

#

Which is very vague thanks Mojang

noble lantern
#

so they just mainly consider pvp the competitive part then

sullen marlin
#

how is a leaderboard anything but competitive lol

young knoll
#

But I assume if anyone was going to get nuked for violating the EULA hypixel would be first, so I imagine they have some contact with Mojang

noble lantern
#

yeah i very highly doubt mojang really cares about p2w servers

#

few others companies have policies like that that everyone breaks but they dont do anything about

Look at youtube and theyre advertising policies lmao

gaunt hatch
#

Did the path of the spigot change from 1.19?

remote swallow
#

for nms or just normal spigotapi

gaunt hatch
remote swallow
#

?maven

undone axleBOT
gaunt hatch
#

oh it did change sweet thx

sullen marlin
#

nms has never been uploaded anywhere

gaunt hatch
eternal oxide
#

did you ever run buildtools?

gaunt hatch
#

Nope

sullen marlin
#

it has literally never been there

gaunt hatch
#

Just 1.8.8 now

sullen marlin
#

that is not from spigot

#

I will contact sonatype as to how someone got that uploaded

young knoll
#

Md is going to hunt them down

zenith gate
#
@EventHandler
    public static void onEndermiteTarget(EntityTargetEvent event){
        if(event.getEntity() instanceof Endermite endermite) {
            Player player = (Player) endermite.getTarget();
            if (player.getInventory().getItemInMainHand().getItemMeta().getDisplayName().equals(ChatColor.BOLD + " " + ChatColor.DARK_PURPLE + "Endermite Sword")) {
                event.setCancelled(true);
            }
        }

    }

Why would the endermites still be coming after me?

noble lantern
#

use PDC instead of checking for the name itself

#

?pdc

young knoll
#

It's probably called before the target is set

#

Use EntityTargetLivingEntityEvent

remote swallow
#

why is the method static

zenith gate
remote swallow
#

why

young knoll
#

Don't make them static

zenith gate
#

because they are, if they arent i cant access the config.

remote swallow
#

yes you can

#

you use di

#

or a static getter

#

read

zenith gate
#

oh. well my events work, and so does everything else, so im not realling gunna complain.

echo basalt
#

Mirrors are one thing

#

A project called "spigot-1.8.9" with completely irrelevant code is another

warm mica
#

LOL 1.8.9

#

I surely wouldn't trust that

zenith gate
silent steeple
#

whats everyones opinion on cracked servers

#

good or bad

noble lantern
#

horrible

young knoll
#

Video never gets old

noble lantern
noble lantern
#

3 songs playing at once lets go

dire marsh
#

but does it play async

noble lantern
#

i mean yes actually it could but meh

dire marsh
#

except then you'll discover packet flushing is done when the main thread ticks

#

ashsujsjdkkkdk

#

pain

#

i wrote some really messed up patch to get around that lol

noble lantern
#

meh not like it really needs to be async anyways

#

client handles most of it you just need to tell it when to play a song at x time

#

?paste

undone axleBOT
noble lantern
#

https://paste.md-5.net/soselipazi.java

Little messy rn cause im cleaning it up, but its overall pretty lightweight

Only thing im likely gonna change is using a global BukkitTask timer instead of a bunch of smaller runLaters but dunno works really nicely as is right now

hard acorn
#

For some reason, bedrock players on my server can't craft anything related to wool. I think it's because of my custom recipe that lets people craft 1 wool into 4 string, but I can't figure out how to fix it

        ItemStack outputstring = new ItemStack(Material.STRING, 4);
        ShapelessRecipe stringtowool = new ShapelessRecipe(new NamespacedKey(this, "wts"), outputstring);
        stringtowool.addIngredient(new RecipeChoice.MaterialChoice(Tag.WOOL));
        Bukkit.addRecipe(stringtowool);```
#

in onEnable()

sullen marlin
#

spigot doesnt support bedrock

hard acorn
sullen marlin
#

right and what server is this

noble lantern
tall furnace
#

Hey guys, can't find a tutorial on this anywhere, or a video, etc. I would like to shade each chunk in a map, so that it looks like an overlay. I'm happy to do it block-by-block if necessary; Is there a way to take a map AS IT IS EXPLORED and change the pixels that are being updated base don the blocks they represent?

tall furnace
young knoll
#

There’s methods to stop it

noble lantern
#

they can be stopped

im wanting to stop it from triggering to play though

#

i guess i could just stop every music sound

young knoll
#

As for vanilla music I think all you can do is replace it or turn music off in settings

noble lantern
#

well im playing music through music channel rn hence why i wanted to try to see if a method/event exists for when music starts playing

Off to replacing hundreds of music files i go r_baby_cry

#

fawwwwk

young knoll
#

Just uhh

#

Play it under another category

tall furnace
noble lantern
tall furnace
#

I'm somewhat familiar with MapCanvas, I've used it before to make custom wallpapers in-game.

For the map init event, is there a way to change the underlying image? Could do something with that maybe. Fake an init event, get the underlying image, draw my edits over it based on pixel colors and location/block/pixel correlation, and then let them explore it... all if I can change the underlying image without "exploring" the whole thing instantly.

young knoll
#

Yeah it should be doable with a custom map renderer

#

It’s just kinda complex

tall furnace
#

Idm complex, been there/done that

noble lantern
#

You can check if a maps being filled out with this method + the move event

#

and check the color from last event to this event

#

see if it changed then change said pixel how you need

#

honestly not that badly complex

tall furnace
noble lantern
#

that methods from MapCanvas, theres a getter from it from MapView -> MapRenderer -> Map Canvas

#

huh you can supply images

#

interesting

#

god this music is badass

#

Alexander Nakarada ftw

silk geyser
#

Hello. Is it possible to cancel BlockPistonExtendEvent?

tall furnace
#

Same with cobblestone and whatnot

noble lantern
#

Are you having issues doing it?

Cant remember if that is one of those whacky ones

#

oh wait it doesnt implement cancellable huh

#

nah it does

young knoll
#

Yeah should be cancellable

hybrid spoke
#

just read "you should be cancellable"

noble lantern
#

tbh everyone is cancellable in this discord

hybrid spoke
#

try me

young knoll
#

You can easily cancel anyone by killing them

noble lantern
# hybrid spoke try me

god cipher - i could send that to a christian woman and have you cancelled on twitter for pretending to be god

i will try you

hybrid spoke
#

with pleasure

silk geyser
#

it doesn't work

@EventHandler
    public void onPistonExtend(BlockPistonExtendEvent event) {
        event.setCancelled(true);
    }
hybrid spoke
#

the arguments i would have would make me finally happy

noble lantern
hybrid spoke
silk geyser
#
private void registerEvents() {
        getServer().getPluginManager().registerEvents(new BlocksListener(this), this);
    }
noble lantern
young knoll
#

No

#

Abstract, can’t listen to it

noble lantern
#

oh

#

i remember this being an issue a few months back where someone couldnt cancel the extend/retract events

young knoll
#

?jira

undone axleBOT
young knoll
#

:p

noble lantern
#

no i remember they fixed it somehow, i just cant remember what they did exactly and i cant ctrl + f it in discord to find when it happened

silk geyser
#

I need to get the blocks that the piston will move

young knoll
#

I mean afaik those events cancel fine

#

If you can narrow down and confirm this is a spigot issue, and you are on the latest build

#

?jira is the place

undone axleBOT
gaunt hatch
#

What is the proper apiVersion we need to put for 1.20?

I tried "1.20", but told me it does not support 1.2

noble lantern
#

surround it in quotes iirc

#

'1.20'

eternal oxide
#

api-version: '1.20'

young knoll
#

This would make a good drinking game

gaunt hatch
#

Did not work

#

org.bukkit.plugin.InvalidPluginException: Unsupported API version '1.20'

eternal oxide
#

your server is not running 1.20

gaunt hatch
#

it is

#

[00:45:08] [Server thread/INFO]: Starting minecraft server version 1.20

eternal oxide
#

not if what you just posted is accurate

#

?paste your plugin.yml

undone axleBOT
late sonnet
#

how many users was face the 1.2 support "issue"? xd

quaint mantle
#

I had this issue before

#

I made an abstract listener

#

The idea was to listen to the implementation inside constructor

tall furnace
#

api-version: 1.13

quaint mantle
#

Didn't work

#

🤷🏻

#

I think I fixed it because I still had to track the listener so whenever I added it to the map, the class that held the map would instantly register it.

slim wigeon
#

That was super weird

#

I was thinking why I getting erors on inventory click then I seen getClickedInventory() is null. Having the option to close on background click seems little odd

#

Don't know if SpigotMC meant to do that

#

But I never seen a plugin that does this before I started this dev

tall furnace
#

Ok so the scale of the map determines what chunks will be shown inside; this should be able to be determined via a modulus operator.
PixelsPerChunk is determined by the scale
ChunksPerMap = 128/pixelsPerChunk
roundup(locationX/16) % chunksPerMap = maps away from spawn

slim wigeon
#

Pixels?

eternal oxide
#

Nullable

tall furnace
young knoll
#

Inventory is always null if you click it while outside

#

Imean

#

If you click outside the inventory

slim wigeon
eternal oxide
#

its always been nullable as far back as I can remember

tall furnace
sullen marlin
#

Verified moment

tall furnace
#

Ah... yeah that's not an option for me anymore.

#

Had a verified account, then it got deleted and now I can't re-verify.
I can paste links to screenshots though, I suppose?

hasty prawn
#

Wait I'm about to blow your mind...

tall furnace
tall furnace
slim wigeon
# sullen marlin Verified moment

@tall furnace Yes, I heard its only for verified accounts. But be careful with links, they can get you banned if not careful. Must servers just ban urls/link. But I recommend imgur, one of the safe image hosting

tall furnace
#

I cannot verify a new Discord account onto a previously-verified spigot account.

sullen marlin
#

What is the account

sullen marlin
#

Doesn't look verified

#

Do !verify

tall furnace
#

!verify

undone axleBOT
#

Usage: !verify <forums username>

tall furnace
#

!verify BlueBukkitDev

undone axleBOT
#

This account is already verified!

slim wigeon
tall furnace
#

"This account is already verified!"

sullen marlin
#

Sorry try now

#

The admin command is case sensitive apparently

devout canyon
#

are 1.20 servers more strict with player movement? my plugin involves shooting players in the air at a high speed and in 1.20 it keeps spamming the player moved too fast message

tall furnace
#

!verify BlueBukkitDev

undone axleBOT
#

A private message has been sent to your SpigotMC.org account for verification!

sullen marlin
#

@devout canyon shouldn't be, make sure you are up to date

ancient plank
#

MD is a 🐐

tall furnace
young knoll
#

I thought he was a md_5

hybrid spoke
#

wasnt there also a software called bluebukkit

#

or am i totally wrong now

#

that was like blueprint just for spigot

sullen marlin
#

Face palm

young knoll
#

1.20 got released 4 days ago

slim wigeon
#

Let me see

#

I see it on my launcher

devout canyon
young knoll
#

Make sure the spigot jar on your server is up to date

devout canyon
#

yeah I just downloaded the latest paper version

sullen marlin
#

What does /version say

#

Ok and where are you

slim wigeon
#

Staying on 1.19.3 for right now to give forge and all that time to update

hybrid spoke
#

?whereami

young knoll
#

1.19.3

devout canyon
#

yeah I wasn't sure if this was a paper thing or vanilla mc thing

hybrid spoke
#

third option, a spigot thing

devout canyon
#

and since it was plugin related I asked in here

#

ye or that

slim wigeon
#

I know there is 1.19.4 but the mods I use don't work such as my minimap. I made a GPS Compass but still, like to have the minimap

tall furnace
#

It's at the office, I won't have it until tomorrow

#

But if I can remember, I will share it with you

slim wigeon
#

!verify MrnateGeek

undone axleBOT
#

A private message has been sent to your SpigotMC.org account for verification!

tall furnace
#

I got the map rendering o.o If you want to know if a pixel is explored, check the base alpha. If the alpha == 0, it is unexplored.

obsidian plinth
#

yall ever just randmly wanna cry while working on a big gamemode.

tall furnace
obsidian plinth
#

somehow somewhere if i try to dmg a user who has 4 hearts instead of the dmg dmging them it heals them

#

and i have zero clue where tf it is

obsidian plinth
#

and im sitting hegre like wtf

tall furnace
#

I just start commenting out huge chunks, starting in the listener classes

#

Once the problem stops, I backtrack

obsidian plinth
#

it came out of nowhere

#

like lol

primal goblet
#

Hello, i have to use ProtocolLib to listen for specific events.. but i don't know if the plugin's size is 5MB is that bad? i know this a famous one but is that will be bad for the server?

young knoll
#

Did you shade it?

primal goblet
#

no using the api as it is

young knoll
#

Then what’s the issue?

echo basalt
primal goblet
young knoll
#

That’s fine

primal goblet
#

nice.. thanks dude

maiden thicket
#

since protocollib is on there as a plugin

noble lantern
tall furnace
cobalt thorn
#

Hi, im making a weekly shop and im using ScheduledExecutorService, but something doesn't work i tried for weeks to make it work but it doesn't, no errors nothing i checked the logs and nothing, the function alone works just fine seems the scheduler is not called but is called in the Main Class.

Code: https://sourceb.in/KkPyo8E08U
Debug Information:
Time until this tuesday (1058 minutes)
Time of TimeUnit of 1 day in minutes 10080

obsidian plinth
#

can someone link me to the enchat glint doc

obsidian plinth
#

thx

#

wait thats old af

#

i mean the 1.19 thing

cobalt thorn
#

works even now

#

i used in one old plugin in 1.19 and worked fine

tawdry echo
#

Add one enchant for example durability then add itemflag hideenchants

grave kayak
grizzled oasis
#

How can i make a system that when a daily task runned and none is online, makes it wait like in a List and then when a players join makes it happens?

List<String> waitTask = new ArrayList<>();
//Task
waitTask.add("waitPlayerJOIN")

@EventHandler
public void onJoin(PlayerJoinEvent event) {
    if(waitTask.contains("waitPlayerJOIN") {
       //Makes the task happens again
    }
}

This up here is a concept i made in discord
Update: Works just fine the concept lol, why i written in here in the first place

desert jacinth
#

Really trying to make my own plugin but every video does something different and this is so hard does anyone know a good tutorial to watch or even does anyone wanna hop in a call an chat an help me out? I'd really appreciate it

cobalt thorn
#

I started from the wiki with little knowledge of java and now i know more java then before and i can make custom plugin

rough drift
#

?learnjava

undone axleBOT
cobalt thorn
#

For me its obv but for him probably wasn’t

rough drift
#

Telling someone to learn the language they need, adding onto a message about how they should do things, is mean and unnecessary?

#

You best believe I'll bet on you being an avid twitter user

humble lynx
#

I've currently got a spawner-changing system, and for each spawner I've created a recipe

        craftPandaSpawner.shape("EEE","ESE","EEE");
        craftPandaSpawner.setIngredient('E', Material.PANDA_SPAWN_EGG);
        craftPandaSpawner.setIngredient('S', Material.SPAWNER);
        Bukkit.getServer().addRecipe(craftPandaSpawner);```
Problem is I'll have this for a bunch of spawners, and this is a hassle to update for each minecraft version update. Does anyone have any ideas on how to simplify this?
fringe yew
#

no point debating. ike was only trying to help

flint coyote
shy rock
#

Could anyone help me a bit? How can I make a hologram disapear for a player when he is far a way from it

smoky anchor
#

What version are you using ?
If 1.19.4+ then use Display Entities and set the view_distance

ocean hollow
#

guys, what to do if the particles move in different directions. How can I remove it so that they are only in one place?

vast ledge
#

?paste

undone axleBOT
vast ledge
hybrid spoke
#

they move away and dont stay at the spot

#

add 4 0's behind the 1

#

those are the offsets and extra

ocean hollow
hybrid spoke
flint coyote
vast ledge
#

Ye, but instead of screenshot that no one can read xD

flint coyote
#

idk why discord would render them like this anyway

ocean hollow
tardy delta
#

thats some interesting constructor

#

when you dont have SneakyThrows :(

#

and whats protected in here

ivory sleet
#

There’s probably a public function alr named exec

#

Also sneaky throw there is arguably not very nice in terms of design choice (just use SQLException and let the function explode knowingly

tardy delta
#

ye i wrote that

#

reflective pojo mapper which went terribly wrong

ivory sleet
#

🌚

tardy delta
#

bruh github has this now?

compact haven
#

Discord is going to have it soon as well.

humble lynx
#

my discord already had it?

compact haven
#

It's being slowly rolled out, I don't think I have it yet

tardy delta
#

poor world

shadow night
echo basalt
#

yeah it's custom

mortal hare
#

wow

#

visitor design pattern is really useful sometimes

mortal hare
#

microsoft owns github now

tardy delta
#

only demons in the bible refer to themselves as they/ them 🙏

#

anyways

mortal hare
#

im atheist 🥲

tardy delta
#

same 💀

echo basalt
#

same

#

something tells me religion is dying among teens

flint coyote
#

it is, and it's a good thing

#

in my opinion at least

tardy delta
#

how so

mortal hare
#

stop this conversation before this spreads too far

tardy delta
#

i seem to have triggered something

mortal hare
flint coyote
#

Look how much trouble religion caused and is still causing.
Wars, holocaust, discrimination.

Also you don't need a church to pray if you feel bad (which is one of the few pro-religion things)
But dovidas is right and this ain't a topic for #help-development

desert jacinth
#

I only want the paramter listener and plugin

remote swallow
#

so use registerEvents

desert jacinth
#

But the paramter autocorrects

tardy delta
#

why is it always the most cursed stuff being sent in here

desert jacinth
#

how do I stop the paramter to stop auto correcting?

#

to aClass

remote swallow
#

use Bukkit.getPluginManager().registerEvents(new ClassName(), this)

mortal hare
flint coyote
#

and a sad smiley at the start aswell pepecry

desert jacinth
#

So I don't want eventPriority

remote swallow
#

you still have a comma at the start

flint coyote
#

there's no S

#

registerEventSSSSSS

remote swallow
#

and you are still using registerEvent

mortal hare
#

getServer().getPluginManager().registerEvents(this, plugin)

desert jacinth
remote swallow
remote swallow
flint coyote
remote swallow
#

you still need to use registerEvents, not registerEvent

desert jacinth
#

So still do it

mortal hare
remote swallow
#

reigsterEvent is for making custom events

mortal hare
#

you can use registerEvent() but you need some kind of wrapper class to register it properly

#

just use registerEvents()

#

its in spigot (bukkit api)

desert jacinth
#

Ok ty

#

❤️

tardy delta
#

dang it

desert jacinth
#

I did this, this and it auto corrects to aClass and Listener

tardy delta
#

eventSSSSSSSSSSSSSSSSSSSSSSSS

#

wtf

flint coyote
#

lmao

desert jacinth
#

Bruv quit juding

#

Im brand new

remote swallow
# desert jacinth

you are using registerEvent unless you are making a CUSTOM event use registerEventS

flint coyote
#

Like 5 people told you, that you are missing an S after registerEvent

desert jacinth
#

Lmfao

#

Im so dumb

#

Im so sorry

#

Tysm

#

Judge all you'd like

#

❤️

echo basalt
young knoll
#

Also aClass and Listener are just the argument names

echo basalt
#

now you gotta be hacky

mortal hare
remote swallow
#

with a hashtag

#

markdown formatting

mortal hare
#

test

echo basalt
#

add a space

young knoll
#

F

mortal hare
#

wtf

#

lol

echo basalt
#

your mom gae

mortal hare
#

this is so good for trolling

tardy delta
#

i wrote my college notes in markdown 💀

quiet ice
#

Don't

echo basalt
#

gotta redo the index posts

#

with markdown now

young knoll
#

There isn’t a direct setting to disable it either

#

Kek

mortal hare
#

this is so good for sections

#

too

#

props to discord team

tardy delta
#

or to tell people that they are an idiot

quiet ice
tardy delta
#

i hate word

mortal hare
#

i hate word too

#

i managed to crash it

#

10 times

tardy delta
#

had to use it for my exam and it thought lets just move the images here and there

mortal hare
#

on the latest version

#

just because i tried to undo

#

a document

flint coyote
#

Just use TeX

mortal hare
#

my uni forbids the use other than ms word

tardy delta
#

💀

flint coyote
#

what are you studying? the 19th century?

young knoll
#

This is why you set your images wordwrapping

quiet ice
#

TeX can be a little bit annoying for quick stuff

tardy delta
#

i gave them a .odp last time and i havent received complaints yet

quiet ice
#

But it is great for larger docs

echo basalt
#

school says

#

use word, google docs or libreoffice

#

I just use google docs because fuck cracking word

remote swallow
#

im a libre officer user

#

but it loves to crash

echo basalt
#

even though the teachers hand out usb drives with all sorts of cracks

tardy delta
#

never had it crash, it only looks trash

pure arch
#

just use Latex. It gets the job done and you can do everything you want

echo basalt
#

we use a cracked version of windows server 2012 with a key that's embedded in the powerpoints

flint coyote
#

It left a pretty bad impression if you wrote your bachelor thesis with word as a CS student where I studied

tardy delta
#

helix 🥰

echo basalt
quiet ice
echo basalt
#

in my defense it's pretty realistic

tardy delta
#

technology

young knoll
#

Looks nice

echo basalt
#

yes

#

tech

#

just a blurred image with a bunch of roundy squares

#

nexa font

#

logo I made on ms-paint

tardy delta
#

they can launch a rocket but cant even make formatting consistent 🥺

echo basalt
#

who says I can launch a rocket

young knoll
#

Anyone can launch it

#

Just press the button

echo basalt
#

just press the red button

#

yeah

young knoll
#

Building it is the hard part

pure arch
#

Rocket science is not music theory! it is easy!

quiet ice
young knoll
#

Open office

#

Uhh

#

Octopus

flint coyote
#

Open office outfits?

mortal hare
quiet ice
mortal hare
#

libreoffice draw is good tbh

tardy delta
#

anyone using google docs?

mortal hare
#

i dont know any better alternatives

#

that could do graphs so good

#

i've literally made my CV document via libreoffice draw

tardy delta
#

i have made a 50 pages networking summary and it looks trash with libreoffice 💀

young knoll
#

Google docs isn’t bad

tardy delta
#

cant really convert it now lol

young knoll
#

I wonder if google consumes all your text tho

wet breach
#

wouldn't really be surprising

flint coyote
#

I could bet money that they do

young knoll
#

They shove it into bard

flint coyote
#

I mean even github did

quiet ice
#

Always use LaTeX for docs or Academia

wet breach
#

should always assume that a for profit company uses everything you provide it

young knoll
#

Bard is hungry and must consume

quiet ice
flint coyote
#

Recaptcha was a pretty smart move of google

echo basalt
#

scanning books by crowdsourcing it to users

#

and improving street view too

quiet ice
#

My parents are really not feeding me enough at times (at other times I get too much though)

echo basalt
#

now they use it for AI detection or something

flint coyote
#

yup. Free pretty much unlimited AI training data.

wet breach
echo basalt
#

They just toss like 3 images they're sure it's wrong, 1 image that they're uncertain and 2 images they're certain it's right

#

and based on the community feedback on that 1 uncertain image they train

flint coyote
#

Yup pretty smart decision actually

desert jacinth
#

How do I get rid of the listener parameter?

eternal oxide
#

get rid?

flint coyote
#

you need that parameter

#

also you are missing the brackets after your constructor

eternal oxide
#

are you sayign you want to unregister it as you no longer need it?

desert jacinth
#

Ye the YT video Im watching he does some keyboard shorcut to rid of the paramter

#

Idk what it is

desert jacinth
eternal oxide
#

?basics

undone axleBOT
desert jacinth
#

😭

#

Anyone wanna do tutoring lol

eternal oxide
#

all Classes have a constructor, even if you don;t add one

#

If you don;t add one, no code runs

#

you can add a constructor which runs code when you create an instance of that class

#

or you can use it to require arguments passed to the class when it's instanced

desert jacinth
#

Ahhh found it!

young knoll
#

Destructor when

remote swallow
#

when choco adds it

worldly ingot
#

I mean technically there's Object#finalize() wtf

#

Or, well, there was

young knoll
#

Rip

worldly ingot
tardy delta
#

it burns outside

#

35°C

young knoll
#

Interesting

tardy delta
#

feels like im in hell already

vernal arrow
#

I just updated my plugin to spigot 1.20 but the server doesn't seem to find/run it in the plugins folder

flint coyote
#

check your log. You'll probably have the "1.2" error

chrome beacon
#

Yeah surround 1.20 with "" in your plugin.yml

flint coyote
#

in which case you have to set the api-version to '1.20' instead of 1.20

young knoll
#

Do “‘s work?

vernal arrow
#

Ok thank you

desert jacinth
#

How do I remove a listener that auto hints?

#

parameter*

flint coyote
young knoll
#

Cool

shy rock
#

Not sure why but # doesn't work on the config.yml file, it doesn't appear

chrome beacon
#

You mean comments?

shy rock
#

Yeah

chrome beacon
#

They only work in modern versions

eager jacinth
#

Guys, maybe I don't understand something, but why does the event 'AsyncPlayerPreLoginEvent' always return ALLOWED? Shouldn't it return KICK_WHITELIST when whitelist is on or KICK_BANNED when player is banned...?

chrome beacon
#

if you're on an old version they will get remove if you update the config

eternal oxide
chrome beacon
#

Put the comments above the value

shy rock
young knoll
#

In-line comments should be fine too

chrome beacon
#

Show us how you're updating the config

eternal oxide
#

you can above or inline, but if you use set on a section you have to reapply the comment

eager jacinth
eternal oxide
#

Although there is no guarantee a join will happen

#

best for fetching data from SQL

#

you can also delay the async event for a short while preventing them from joining

#

a few seconds, no more

eager jacinth
#

okay, thanks

eternal oxide
#

and no saveDefaultConfig

shy rock
eternal oxide
#

copyDefaults will not copy comments

#

very first line shoudl be saveDefaultConfig();

shy rock
#

replace copyDefaults?

eternal oxide
#

You can keep[ that in the next line

#

saveDefaultConfig will only create the config on disc if it doesn't yet exist

#

copyDefaults line will copy any new entries from the in jar config into your in memory config.

eternal oxide
#

or any default you set via code

shy rock
#

Yeah works now, thanks again!

quaint mantle
#

I need to find a way to find all conjoined blocked that make up a surface.

e.g.,

X X X X X X X Y X X
X X X X X X Y Y Y X
X X X X X X X X X X

If I clicked on the face you are seeing, it would identify all X Blocks, (not Y) and give me their coordinates

eternal oxide
#

not too hard

quaint mantle
#

How would I do it?

eternal oxide
#

a limited range?

quaint mantle
#

yeah

#

200

eternal oxide
#

blimey 200 is a long way, but ok

quaint mantle
#

well it can be changed

#

If you ever played hypixel skyblock and used the builder's wand. that's basically what i'm trying to make lol

eternal oxide
#

you need to start by creating a few values. MaxX, MinX, MaxZ and MinZ

#

that will be your current X/Z Plus/minus your max range

quaint mantle
#

k

ancient plank
#

what in the blazes

quaint mantle
#

it will only be one block deep, so it won't go past surface

#

"Right click a block face, and extend all connected block faces of the same type"

eternal oxide
#

Its probably easier if I show you some sample code. I wrote for finding connected chunks (claimed areas)

quaint mantle
#

Yeah just don't want to be spoon-fed xD

eternal oxide
#

you'll have to rewrite it all as it's not using blocks

quaint mantle
#

Alr

eternal oxide
#

just loading IDE

#

?paste

undone axleBOT
eternal oxide
#

thats the logic

quaint mantle
#

Alr

eternal oxide
#

however, you have to check teh Max/Min X/Z to make sure it is also in range

quaint mantle
#

so it's basically just looping through

#

all blocks

#

I'll try write something up, thanks

#

Alr

#

I'll try it, thanks!

eternal oxide
#

jsut treat plots in my code as your Blocks

quaint mantle
#

Alr, thanks

tardy delta
#

+= 1 😢

flint coyote
#

still better than nothing

#

atleast you can savely assume that null isn't your fault. Unless you alter something of the plugin

shy rock
#

I need to load a config to my main class, when i do it the same way i do it to other classes something breaks

#

private static final MAINCLASS plugin = MAINCLASS.getPlugin(MAINCLASS.class); that wouldnt work right

flint coyote
#

Why don't you just use "this"?

eternal oxide
#

?di

undone axleBOT
shy rock
flint coyote
#

when you are in your main class and you need your main class instance

#

Then why not just use "this"?

#

obviously not in a static context

#

Although you can have a static variable. You would have to assign it in your onEnable().

glad prawn
#
public static Class INSTANCE;

private Class() {
  super();
  INSTANCE = this;
}

I found this in a few plugins xd.

flint coyote
#

I mean it works. It is static abuse though

tardy delta
#

and the super() is implicit

eternal oxide
#

a circle of what?

#

falling blocks despawn

#

tracing a circle is very simple.
a for r loop for radians 0 to 2Pi
x = cos(r)
z = sin(r)

#

then multiply each by your required radius

cobalt thorn
#

Something to ask about jython, is possible to use events and how its possible to load them like plugins, so in this way i can make a sort of Addons system in python

tardy delta
#

python 🥹

#

dont do this to me

cobalt thorn
# tardy delta dont do this to me

was the easiest i found people just don't want to learn java to make addons and im adding a system like this into my api so its easy to people and even for me adding this

tall furnace
#

Java addons are pretty basic though

tardy delta
#

foreign stuff always causes a massive overhead

cobalt thorn
tardy delta
#

tell those people to learn java instead lol

cobalt thorn
#

java > python

tall furnace
cobalt thorn
tardy delta
#

addons as in separate jars?

cobalt thorn
tardy delta
#

spigot attempts to load the main class and then hooks into the classloader

#

dunno that much about it, should look into stash

cobalt thorn
#

i found something like this

tardy delta
#

?di

undone axleBOT
wet breach
#

seems I forgot to scroll

#

and that someone was already helping them lmao

#

all well

tardy delta
#

seems like i was too fast

wet breach
#

you were slow

tardy delta
#

im sorry

wet breach
#

someone else already gave them that link

#

but I was scrolled up so I didn't see that there was responses already XD

#

when I replied

tardy delta
#

why do people exist that code like this

#

people in my class probably do

tall furnace
#

Personally, I like to see curly braces and proper sectioning. I don't want to see loops and functions written in a single line.

eternal oxide
tall furnace
#

oof

eternal oxide
#

it generally depends on teh complexity

#

if it's a simple filter to list, it's fine

chilly peak
#

Guys please help me what to do in this situation.

eternal oxide
#

clear cache

#

?paste then post your pom

undone axleBOT
worldly ingot
#

You're just missing a >

#

<dependency

eternal oxide
#

good eyes

chilly peak
#

still left

eternal oxide
#

Id not ID

quaint mantle
# eternal oxide good eyes

yo ElgarL, i'm still a bit confused on what to do. I've looked through your code multiple times and I just can't get my head around it.

I would have to go through each block that's connected and then repeat the process by going each way from that block to see if it's connected... just seems like there would be an easier way, any ideas?

chilly peak
eternal oxide
#

the small method gets all blocks next to the origin and returns them to the main method

chilly peak
#

how to fix this

quaint mantle
#

one which finds out all blocks connected, and returns it?

eternal oxide
#

In teh code I showed you it adds the returned collection to the List to check

wet breach
#

well, it makes sense to separate code out of the main class as to keep it organized

tardy delta
#

reload maven

eternal oxide
#

the toTest Set

#

blocks you need to process

glad prawn
eternal oxide
#

your version of getPlotCardinal would get the blocks N,E,S,W if they are the same material

chilly peak
tardy delta
#

told you

eternal oxide
#
public static List<Block> getBlockCardinal(Block block) {```
glad prawn
# chilly peak

I opened with my phone and it say this error on line 59 at column 22: Opening and ending tag mismatch: url line 58 and repository 🤔

quaint mantle
chilly peak
#

Those links are no longer there.

tardy delta
#

no closing url

chrome ferry
wild nexus
#

Hi, is there anyone who knows if is it possible to create new Armor Trim with a plugin and a Texture Pack in 1.20 ?

tardy delta
#

go grab the textures

#

then probably custom model data on meta

wild nexus
#

This is what i did

#

But i have an error

#

[16:44:49 ERROR]: Failed to handle packet net.minecraft.network.protocol.game.PacketPlayInSetCreativeSlot@3ecbc7fd, suppressing error java.lang.IllegalArgumentException: pattern must not be null

tardy delta
#

i know pattern is a tag for recipes but did you mess up the texturepack?

wild nexus
#

This error is in the console so if i messed up the texturepack it should not be here

tardy delta
#

mhye facts

fierce whale
#

Does anyone know about this error? "No key layers in MapLike[{}]"
Whenever I generate world with world creater, Bukkit throws this error

eternal oxide
#

?nocode

undone axleBOT
#

It’s hard to answer a programming question without code
Oh no! You ran into a problem. But no worries, people are willing to help, but first they need to see your code. This is because otherwise, they would be providing help based on guesses instead of concrete knowledge. Whether it be a compile error, runtime error, or an unexpected output, I'm sure that if you were to provide code, you'd receive a quick solution.

fierce whale
#

Im sorry 😅

#

?paste

undone axleBOT
fierce whale
#

Does anyone know about this error? "No key layers in MapLike[{}]"
Whenever I generate world with world creater, Bukkit throws this error

This is my code: https://paste.md-5.net/rofazeyoda.java

river oracle
#

though

#

can you send the full error in a paste

#

stacktraces will give specific lines

fierce whale
#

?paste

undone axleBOT
river oracle
#

java.util.MissingFormatArgumentException: Format specifier '%s'

#

at me.rukon0621.guardians.listeners.ChatEventListener.formatMessage(ChatEventListener.java:219) ~[Guardians-1.0-SNAPSHOT.jar:?]

#

at me.rukon0621.guardians.listeners.ChatEventListener.onPluginMessageReceived(ChatEventListener.java:212) ~[Guardians-1.0-SNAPSHOT.jar:?]

fierce whale
#

Oh sorry

#

this is different error

#

This is the only error line I got "No key layers in MapLike[{}]"

eternal oxide
#

post the FULL stack trace

#

you posted a completely unrelated trace

fierce whale
eternal oxide
#

now post the code that causes the error

fierce whale
#

This is the code 🙂

eternal oxide
#

you can not generate worlds async

fierce whale
#

World creating is on sync

#

Only file duplicating is proceeded on async

eternal oxide
#

ok

weak meteor
#

someone knows css and html?

#

im having trouble centering 2 buttons

#

:(

eternal oxide
#

oh ther eis no default

#

try normal to test

fierce whale
#

I know but

eternal oxide
#

generator settigns are only used in flat worlds, so generating using normal will eliminate that as a cause

#

then we'll know its your generator settings

fierce whale
#

World is successfully generated when I use normal option

#

but I need flat world

eternal oxide
#

is this an already existing world?

fierce whale
#

No I created new world with new name

eternal oxide
#

to test generate with NORMAL instead of FLAT

fierce whale
#

Ok

eternal oxide
#

its an ancient vanilla bug. Mojang say they will not fix

#

doesn;t break anything

fierce whale
#

OMG 😦

#

Unfortunately normal world generating doesn't work too

eternal oxide
#

it should only affect FLAT worlds

fierce whale
#

Furthermore I got more serious error this time

eternal oxide
#

but the world should generate fine

fierce whale
#

?pasge

#

?paste

undone axleBOT
fierce whale
#

bundle of error lol

eternal oxide
#

?fork

undone axleBOT
#

SpigotMC maintains the Spigot server. If you are using a fork of Spigot (such as Paper, Airplane, Purpur, or other derivative works), you should seek support in the appropriate Discord servers.

fierce whale
#

Is there any huge difference between paper and spigot?

eternal oxide
#

yes

fierce whale
#

I learned paper is fork of spigot

#

ahha I see

eternal oxide
#

replicate it on Spigot and we can look

storm scaffold
#

How do I detect and modify things in a mob spawner?

wet breach
wary topaz
#

who wants to try to guess what this is? HINT: It is used commonly

fierce whale
#

oh I see thank you

wary topaz
#

wrong

#

2 more guess till reveal

remote swallow
#

dynmap

wary topaz
#

wrong

remote swallow
#

something on the internet

wary topaz
#

CORRET!

#

pterodactyl lol

wary topaz
#

systemctl restart discord

remote swallow
#

ew yuck

#

root user

wary topaz
#

linux hater

remote swallow
#

linux is great

#

just why the fuck are you using root user for normal stuff

deft thistle
#

I'm trying to learn how to do file IO propely in java. Is bufferedreader the best filereader to use?
Code

import java.io.*;

public class Main {
    public static void main(String[] args) {
        System.out.println("Reading file...");
        File file = new File("test.txt");
        try {
            if(file.createNewFile()) {
                System.out.println("Created test.txt!");
            }
            else {
                System.out.println("The file already exists. My bad.");
            }
        }catch(IOException exception) {
            exception.printStackTrace();
            }

        System.out.println("Writing...");
        write(file);
        System.out.println("Written. The output is: "+read(file));



    }
    static void write(File file) {
        BufferedWriter bufferedWriter = null;
        try
        {
            bufferedWriter = new BufferedWriter(new FileWriter(file));
            bufferedWriter.write("I'm writing this text to a file!");
            bufferedWriter.close();
        }catch (IOException exception) {
            exception.printStackTrace();
        }
    }

    static String read(File file) {
        BufferedReader bufferedReader;
        String text = "";
        try {
            bufferedReader = new BufferedReader(new FileReader(file));
            text = bufferedReader.readLine();

        }catch (IOException exception) {
            exception.printStackTrace();
        }
        return text;
    }
}
wet breach
wary topaz
wet breach
#

at least not web panels that just inherently suck it seems

deft thistle
#

OOh i forgot to close the reader mb

young knoll
#

Try with resources

#

:D

wet breach
#

but its not super bad that you didn't explicitly do that since the OS will take care of it anyways

#

and the JVM

#

still good habit/practice to do it anyways

deft thistle
#

what you mean resources?

wet breach
#

so the difference between a try statement and try with resources is this

#
try(resource or resources as you can specify more then one) {
code here
} catch () {
}
#

so anything in the parenthesis will close out automatically at the end of the code block

deft thistle
#

So the variables get "deleted" after the scope ends? (which means the file would be automatically closed and I would get what i want from it)

#

Yeah when I put it on the try () parameters it tells me closing is redundant

#

Learnt something new today. Thank you!

tardy delta
young knoll
#

I hate the format for try-with-resources when you have more than one resource

#

It looks so weird

wet breach
#

what it does is performs the closing of the resource

#

IE, the api method actually does in fact call a OS system call

#

to state its not using it anymore

tardy delta
#

im wondering how many memory leaks ive already created today

wet breach
#

so if your code is appropriate instead of manually doing it, you can instead use try with resources and not worry about. There is still some niche scenarios where try with resources is not ideal

deft thistle
#

Not closing the reader would give a memory leak right?

wet breach
#

temporarily

#

the OS will eventually get rid of it

deft thistle
#

Thank you 🙂

tardy delta
#

in the best case?

deft thistle
#

I'm now going to practise creating gson type adapters.

wet breach
deft thistle
#

I learn more here in a hour than at school in 3 lessons.

wet breach
#

yeah, fortunately some of us here are actually experts 😛

zenith gate
#

when adding a dependencies into the pom file, it has to be exactly the same as the other plugin right? for instance, my plugin overhaul systems controls a mana and health system, im trying to import the plugin into my project so I can use it as an API.

<dependency>
            <groupId>toast.pine</groupId>
            <artifactId>Overhaul-Systems</artifactId>
            <version>1.0.1-a</version>
            <scope>compile</scope>
        </dependency>

I add this to the pom file of the plugin i want to use OverhaulSystems API in, correct? the groupId, artifactId, and version, are all copied from the overhaulSystems pom file, they are exactly the same, but for all of those I get this error.

Dependency 'toast.pine:Overhaul-Systems:1.0.1-a' not found

am I doing something wrong?

subtle folio
#

Do you have the correct repository on it aswell?