#help-development

1 messages · Page 1206 of 1

rough ibex
#

can you show the resulting yaml config

split gull
#

is the max namespaced key length actually 255?

rough ibex
#

where did you get that information

split gull
#
Preconditions.checkArgument(string.length() < 256, "NamespacedKey must be less than 256 characters (%s)", string);```
rough ibex
#

I guess so then

split gull
#

im asking because paper allows it to be the short max value and i want to support spigot without cutting this out

rough ibex
#

255 then

split gull
#

my best guess would be to somehow skip the preconditions and see if that caused trouble but i was advised against it as spigot might do these same checks in other places such as packets

jade oasis
rough ibex
#

Namespacedkeywithalotofcharacterlikewowthisisrealyalongkeydoyoureallythinkyoullneedovertwohundredgloriouscharacterbythewayhaveyouevercompletedsupermario64ihearitsaverynicegameonthenintendo64butthereisalsoapcportavailableifyouarewillingtotakesomeriskshello this is 255

split gull
rough ibex
#

255 is generous

#

youre fine

split gull
#

im more generous

rough ibex
#

you can mention the restriction

#

and make it platform dependent

split gull
#

yeah i'll have to i guess

#

thanks

split gull
rough ibex
#

:)

amber fjord
jade oasis
rough ibex
#

so its not loading the size?

#

it looks like it's saving it

#

I guess

jade oasis
# rough ibex it looks like it's saving it

thats what i thought cause it says 54 but it doesnt load the size when restarting like i place 1 and it loads find with 54 slots but after server restart that same hopper doesnt load with 54

potent atlas
#

Hey guys, why is EntityMoveEvent only in the paper api? ;-;
Like, am I missing something?

rough ibex
#

not missing anything

slender elbow
#

the event :trollface:

potent atlas
#

lol

unborn hollow
#

Are there ways to add "tags" to ItemStacks?

#

Like how would I go about doing so

buoyant viper
#

?pdc

unborn hollow
drowsy helm
#

am I tripping or is invalidities not a real world?

rough ibex
#

please just rename it

#

awful word

#

getInvalids

blazing ocean
#

also use a link instead of see <FQN>

rough ibex
#

also rewrite the whole javadoc

#

"whether ...predicate..."
does not return boolean

#

‽‽‽

#

okay nevermind I hate the entire method

blazing ocean
#

kekw

rough ibex
#

How do you get used to that font

blazing ocean
#

no idea

native nexus
#

Invalidities is indeed not a real world

#

You are checking whether a tile set is valid yet your function name is “invalidities”. Based on the context that you have given in your Java doc, it’s almost like you want to return a Boolean to check if the tile set in a room is valid.

rough ibex
#

also static abuse

#

I gaurantee this uses state

native nexus
#

Should be “returns a set of valid tiles based on the tile set that has been provided” or something similar

drowsy helm
#

just asked whether a word existed not a nitpick dang

#

this is help dev

short pilot
#

hey yall, i tried defining a recipe like this with my potion

#

but in the actual recipe it shows the potion as uncraftable

#

and im not sure why, it's meant to be an invisibility potion

#
        ItemStack invisibilityPotion = new ItemStack(Material.POTION);
        PotionMeta potionMeta = (PotionMeta) invisibilityPotion.getItemMeta();
        potionMeta.addCustomEffect(new PotionEffect(PotionEffectType.INVISIBILITY, 3600, 0), true);
        invisibilityPotion.setItemMeta(potionMeta);

        ShapedRecipe invisRecipe = new ShapedRecipe(invisibleRecipe, invisibleItem);
        invisRecipe.shape("FFF", "FPF", "FFF");
        invisRecipe.setIngredient('F', Material.ITEM_FRAME);
        invisRecipe.setIngredient('P', new RecipeChoice.ExactChoice(invisibilityPotion));
        Bukkit.addRecipe(invisRecipe);
drowsy helm
short pilot
#

not sure what im doing wrong with the potion tho

#

what is weird is that when I DO have an invis potion, the recipe book accepts it as valid but shows no output

#
        ItemStack invisibilityPotion = new ItemStack(Material.POTION);
        PotionMeta potionMeta = (PotionMeta) invisibilityPotion.getItemMeta();
        potionMeta.setBasePotionType(PotionEffectType.INVISIBILITY);
#

How do I use setBasePotionType correctly?

drowsy helm
#

takes PotionType

short pilot
#
        potionMeta.setBasePotionType(PotionType.INVISIBILITY);
#

got it thanks

#
        ItemStack invisibilityPotion = new ItemStack(Material.POTION);
        PotionMeta potionMeta = (PotionMeta) invisibilityPotion.getItemMeta();
        potionMeta.setBasePotionType(PotionType.INVISIBILITY);
        invisibilityPotion.setItemMeta(potionMeta);

        ShapedRecipe invisRecipe = new ShapedRecipe(invisibleRecipe, invisibleItem);
        invisRecipe.shape("FFF", "FPF", "FFF");
        invisRecipe.setIngredient('F', Material.ITEM_FRAME);
        invisRecipe.setIngredient('P', new RecipeChoice.ExactChoice(invisibilityPotion));
        Bukkit.addRecipe(invisRecipe);
#

Would this fix the issue then? Do i need to still specify default duration etc for it to show up as an invis potion in the recipe

drowsy helm
#

I'd assume it would require duration.

#

never really had to do potions in a recipe, looks funky to work with

#

any google coems up with 2013 forums lol

short pilot
#

holy cow it works

#

the recipe works

drowsy helm
#

was the duration required?

unreal steeple
#

spiget order isn't sorting correctly when switching increasing to decreasing
https://api.spiget.org/v2/categories/4/resources/?size=30&page=0&sort=-lastUpdate == https://api.spiget.org/v2/categories/4/resources/?size=30&page=0&sort=+lastUpdate

rough ibex
#

any code?

smoky anchor
#

do not crosspost
are you developing a plugin or are you simply running a server

velvet sleet
#

oh, i am newbie( sry for that mistake

drowsy helm
#

Spigot and spiget aren't affiliated

unreal steeple
#

I'll remove some dust then

drowsy helm
#

oh by the looks of it that github is old

#

ill see if theres any newer source

#

they have a discord

jovial mason
pseudo hazel
#

well you dont have to answer if you dont know...

smoky oak
#

i need some help with IntelliJ. I'm running my build from it which copies the plugin file onto a server directory, then run the server from IntelliJ. I hoped i could more easily debug my plugins that way, but it seems like breakpoints don't get hit. Anyone know why?

amber fjord
smoky oak
#

... hold on

#

yea im a dumbass. if you want to debug a server press the debug icon oops

jovial mason
#

@proven fern how abut u just stfu

#

if u dont wanna help

eternal oxide
#

as teh player is never removed you cancel teh toggle event

mortal vortex
chrome beacon
#

A 3rd party api to help access data from Spigotmc

mortal vortex
#

Ah cool

#

Thanks Olivo, appreciate your answer.

jovial mason
#

i tried to fix it for hours already

amber fjord
jade oasis
#

My hardest part will be adding a upgrading system for this plugin

amber fjord
jade oasis
jade oasis
#

There is existing plugins already that do this for chunk hoppers but they cost money so tryna make my own

amber fjord
#

might wanna check javadocs for those methods

jade oasis
#

Where that

orchid brook
#

Hi, I have a backpack plugin, and I want to automatically store items that are whitelisted in the backpack when players pick them up. Everything is currently working, but how can I handle items given by other plugins? For example, I’m using a crate plugin, and players can earn additional keys to open more crates. I want these keys to be automatically stored in the backpack. Is there an event for this, or should I directly use the SET_SLOT packet?

tranquil ferry
#

can i use rest apis in plugin?

#

is it againt any rules / guidelines / EULA

amber fjord
#

somewhere in there

#

if at all

smoky oak
pseudo hazel
#

there is no such rule forbidding you from using rest api lol

brazen badge
#

hi guys do you know any guide to spawn custom structure in the world?

viral halo
#

hi who know how to get nms in spigot

chrome beacon
#

?nms

viral halo
#

tysm

#
org.spigotmc:spigot-api:jar:remapped-mojang:1.21.4-R0.1-SNAPSHOT was not found in https://hub.spigotmc.org/nexus/content/repositories/snapshots/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of spigotmc-repo has elapsed or updates are forced

I have this error

chrome beacon
#

Did you run Buildtools

viral halo
#

ye

blazing ocean
viral halo
chrome beacon
viral halo
chrome beacon
#

yes

viral halo
#
org.spigotmc:spigot:jar:remapped-mojang:1.21.4-R0.1-SNAPSHOT was not found in https://hub.spigotmc.org/nexus/content/repositories/snapshots/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of spigotmc-repo has elapsed or updates are forced
#

welp

chrome beacon
#

Did you use the remapped flag

viral halo
chrome beacon
#

When running BuildTools? Also did you set the version to 1.21.4?

viral halo
#

i put it at different place

#

does that matter

chrome beacon
#

Put what

viral halo
#

the output directory

chrome beacon
#

Shouldn't matter

#

Just make sure the remapped flag is set and that you built 1.21.4

viral halo
#

oh wait the remapped flag u mean is this?

#

or should i enable this

chrome beacon
#

yes

viral halo
#

cool now it work. thanks

remote swallow
#

hold on

#

since when did choco have an alt with an ai

nimble yarrow
#

where to contact in financial aspects?

blazing ocean
#

elaborate

nimble yarrow
#

but... more specifically?

blazing ocean
#

what do you mean with financial aspects

nimble yarrow
#

I dont know what to do. I bought 7 months ago quests plugin premium, and I want now to download the newest version. But... or I'm too dumb and its too hard for me to find this in web, or author deleted this resource. I guess, its nonsense ask about money back, cuz I have this (maybe only early versions, but still I have) so I wanna rather ask, is possibile to find author or find out what happend?

pseudo hazel
#

cant you see the resources you purchased?

nimble yarrow
#

on spigot my content page: "no results found''

chrome beacon
#

Your content is what you have posted

nimble yarrow
#

a, in that case sorry

#

so... where can I find my bought resources?

#

in mean, my mailbox on spigot website is empty too. But if I good remember, I got message there

chrome beacon
nimble yarrow
#

"You have not purchased any resources"

#

...

chrome beacon
#

Are you sure you're on the right account

nimble yarrow
#

wait, give me 1 minute, I must see something

nimble yarrow
chrome beacon
#

Did you charge back the plugin or smth

#

because it should show there

nimble yarrow
#

oh my...

nimble yarrow
#

I'm so sorry for wasting time. I found minute ago my mail with confirmation from Gmail. And... I bought this on site with very similar interface... seriously, I was sure It was spigot. Even menu design is almost the same... everything is on good place. Again so sorry

pseudo hazel
#

sus

nimble yarrow
#

?

pseudo hazel
#

why would they make a plugin website that looks the same as spigot

chrome beacon
#

Probably some other site using Xenforo

nimble yarrow
#

its buildByBit. I cant send ss from this, but top bar have very similar arrangement

#

I remember the most well, the mail icon. From this, the whole missunderstanding

pseudo hazel
#

ah

#

well its fine, no problem

#

glad you found it

nimble yarrow
#

thanks

fresh inlet
#

Hello everyone I have a question for my two friends of mine ( @delicate thunder & @fossil hamlet ) they already know the basics of java and have experience working with it but have no knowledge or experience making Minecraft plugins at all but want to start I personally am not a good teacher and I have a hair trigger temper so I’m trying to get advice and or tools they can use to learn the spigot api and start making plugins. If you have advice could you please share it with them

echo basalt
#

I personally lean towards the "be a good teacher or provide them with one" approach

#

You have the wikis, youtube videos and guides on the forums

#

Good habits post both on the forums and pinned on this channel

#

It teaches you a bunch of different concepts in linear fashion and lets you combine all of them at the end into a little minigame

fresh inlet
#

Thank you so much for this. @delicate thunder @fossil hamlet This is some good stuff

warm mesa
#

Somebody know about spigot 1.8.8?

#

I need help with something in NMS with the tablist

drowsy helm
#

?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!

warm mesa
#

Im trying to order the tablist by ranks, in my own plugin, does anyboady know how to do that in spigot 1.8.8?

rough ibex
#

are you running into an issue, or are you starting new

cinder abyss
#

Hello, does a 25Mb plugin jar (like with redis inside, which is used by the plugin) loaded in the server costs 25Mb of RAM ?

ivory sleet
#

Not necessarily at all

umbral flint
#

Is there a way to have my plugin prevent server reloads

eternal oxide
#

you can prevent the command being run but you can;t prevent an API call

umbral flint
#

Hm ok

slender elbow
#

ServerLoadEvent
if load type == reload
server shutdown

#

though that is after the reload has happened

eternal oxide
#

actually... You could probably register yoru own reload command

viscid carbon
#

is there a way to detect a block is any type of sign?

quaint mantle
#

boys

#

i code for a plugin that decreeses username avientor's horizontal velocity by 40%

#

how hard would that be

sullen marlin
viscid carbon
#

if (block.getState() instanceof Sign) {

#

yeah just got it lol

#

i was using the deprecated at first so it wasnt working

slender elbow
#

Tag.SIGNS.isTagged

hollow summit
fossil flax
#

someone know how to block the portal generation after you kill the dragon?
I tried cancelling the event but didn't work:

    public void onPortalCreation(PortalCreateEvent e) {
        if (e.getWorld().getEnvironment() == World.Environment.THE_END) {
            e.setCancelled(true);
        }
    }```
hollow summit
fossil flax
hollow summit
# fossil flax i can't do it without worldguard?

From a spigot post “Went over this with andre in discord already, but for anyone else looking, spigot currently doesn't throw the event for end portal activation (when the dragon dies) and doesn't even have an event for the natural portal generation. However, you can trick minecraft into thinking there's an existing portal already by hiding an end portal block somewhere within 8 chunks of 0,0 (could just make a bedrock box for it underground or so) and the exit portal will no longer generate.”

hollow summit
amber fjord
#

in the case of generic attack damage modifiers, should i always use mainhand? Kinda stupid question but i wanna make sure

fossil flax
fossil flax
#

1.20.4

fossil flax
hollow summit
fossil flax
sage patio
#

Hey, I've tried several methods for serializing a Map<Int, ItemStack> to a String but I failed, what's the best way to achieve this?
I know that there is Bukkit Serialize method for this but it cannot serialize AIR and some Slots may be null / air which i want to save those too, at least anyone has an idea how i could handle that part?

sullen marlin
#

Pretty easy with yanlconfiguration - set(int, item) and saveToString

hollow summit
fossil flax
hollow summit
#

Hmm, not too sure then.

fossil flax
#

no worry, thanks for trying, ill keep searching

hollow summit
#

I would test but I’m not on my pc atm

fossil flax
hollow summit
#

Or thought a range that it’s possible to spawn on

fossil flax
#

i can't do that bc theres a custom build where the portal gonna be, i need a way to prevent the generation of it

viral halo
#

does anyone know the simplest way to move a armor stand with passenger on it

hybrid spoke
viral halo
#

the way i do is i get the armor stand location and add a vector then use teleport to set the location

#

but it doesnt work

hybrid spoke
#

define doesnt work

viral halo
#

the Location variable is changed but in game the armor stand doesnt move

hybrid spoke
#

what version are you using?

viral halo
#

1.21.4

#
            ArmorStand positionDummy = plugin.getInGamePlayers().get(player.getUniqueId());
            Location positionDummyLocation = positionDummy.getLocation();

            switch (direction) {
                case NORTH:
                    positionDummyLocation.setZ(positionDummyLocation.getZ() - 1);
                    break;
                case SOUTH:
                    positionDummyLocation.setZ(positionDummyLocation.getZ() + 1);
                    break;
                case EAST:
                    positionDummyLocation.setX(positionDummyLocation.getX() + 1);
                    break;
                case WEST:
                    positionDummyLocation.setX(positionDummyLocation.getX() - 1);
                    break;
                default:
                    throw new IllegalArgumentException("Invalid direction");
            }

            positionDummy.teleport(positionDummyLocation);
viral halo
#

alright i fixed it, seems like i have to use nms to move it manually

            CraftArmorStand craftArmorStand = (CraftArmorStand) positionDummy;
            Entity nmsEntity = craftArmorStand.getHandle();
            nmsEntity.setPos(positionDummyLocation.getX(), positionDummyLocation.getY(), positionDummyLocation.getZ());
upper hazel
#

someone remeber guide obaut gui

#

where this post

smoky anchor
smoky oak
#

i want to iterate through some files on a server, how do i access files outside of the plugins folder?

smoky anchor
#

Do so as you would do normally in Java

smoky oak
#

is there a 'root' for server file paths?

#

or do i do that nonsense with ../

smoky anchor
#

I believe new File(); will automatically set itself to the location of execution

smoky oak
#

ah that simplifies things lol

#

tz

#

*ty

#

can someone explain this warning please?

pseudo hazel
#

what does the code look like

drowsy helm
#

dereferencing is just a fancy way of saying you are accessing a variable's method

smoky oak
#

'dir' is a file that should exist tho

#

File dir = new File("world"+separator+"playerdata");

drowsy helm
#

probs just the IDE being annoying

#

you can just assert not null and it should go away in ide

smoky anchor
#

listFiles may produce null

pseudo hazel
#

that would be insane api

smoky oak
#

empty array if result empty, null on io error apparantly

drowsy helm
#

can we see the full code

pseudo hazel
#

thats dumb

smoky oak
#
File dir = new File("world"+separator+"playerdata");
        String print = start;
        for(File file : dir.listFiles(new FilenameFilter() {@Override public boolean accept(File dir, String name) {
            return name.endsWith(".dat");
        }})){
            
        };
drowsy helm
#

what is that lmao

smoky oak
#

me trying to iterate players

smoky anchor
#

that anon class is ugly af

drowsy helm
#

why anonymous class in there

smoky oak
#

im probably missing something obvious

young knoll
#

Can’t you use a lambda for the filter

smoky oak
#

intelliJ says this is the lambda

#

i WISH i was joking

smoky anchor
drowsy helm
#

thats just a consumer

#

just use a proper lambda

#
dir.listFiles((file, name) -> name.endsWith(".dat"));
smoky oak
#

ah ty, i couldnt remember how to do tuples

drowsy helm
#

bi consumer

#

not tuple

#

java doesn't have tuples natively

pseudo hazel
#

same difference

#

biconsumer uses a tuple

drowsy helm
#

not really

pseudo hazel
#

change my mind

#

whats the difference

drowsy helm
#

try and use it as a variable

pseudo hazel
#

well yeah

#

I guess thats the only diff

#

but it looks like how you deref a tuple

smoky oak
#

hm this is odd. I'm trying to add the command to plugin.yml but its saying the schema validation is null when it should be an object?

#

the schema was two spaces per indent, right?

drowsy helm
#

schema for what?

smoky oak
#

plugin yml

drowsy helm
#

oh

#

just use yml lint

#

will tell you where it's wrong

smoky oak
#

thats saying its valid

drowsy helm
#

send your plugin yml through

#

and the error

smoky oak
#
<the usual entries>

commands: <-- warning here
  listAllEverJoined:
    description: Lists all players ever joined by most recent name
drowsy helm
#

just one space

#
commands:
 flagrate:
 [optional command attributes]
smoky oak
#

nope same error

drowsy helm
#

oh wait it's two

#

the wiki is wrong on that

smoky oak
#

two is what ive been using

drowsy helm
#

can you send the entire thing

#

or a bit more of it

#

sometimes it can be the stuff before

smoky oak
#

well the part b4 is like literally the same as in any other plugin just adjusted

#
api-version: 1.21
author: Moterius #can use authors instead
depend: [] # plugins required for this to work
description: N/A
libraries: [] #experimental. Loaded from Maven Central. Shade/relocate specific libraries
load: POSTWORLD #default, other: STARTUP
loadbefore: [] #This plugin should load before the plugins listed here
main: io.github.moterius.VoidLib.Anchor
name: VoidLib
prefix: VoidLib #used in logging
softdepend: [] #plugins required for full functionality
version: 0.0.1
#website: link.net
drowsy helm
#

hm looks fine to me

#

oh yaml is only lowercase

#

try all lowecase for the command

smoky oak
#

i now have two errors

remote swallow
#

iirc yaml can be either

#

its bukkit commands that dont support uppercase, and that error im guessing is from mc dev and you can ignore it or probably want to go and ask them about the issue

glad prawn
smoky oak
#

ye

#

plus that should err on exe/compile not in yml lint

remote swallow
#

you can safely ignore that error, if spigot parses it on the server its fine

smoky oak
#

ill just check that then

#

brb

remote swallow
#

it is most like mc devs schema failing to work properly

drowsy helm
#

oh you weren't compiling this whole time?

smoky oak
#

this was about the IJ warning

#

btw whats that mod called that makes your client not timeout

#

i need to debug some code now lol

#

ah foudn ti

#

uuuuh

#

why is my File.pathSeparator a ';'

#

i dont think thats correct

young knoll
#

It is

#

You probably want File.separator

smoky oak
#

ok wtf
its saying that 'ba091b51-a21c-4710-a4d5-799f240ccd6a' is not a valid UUID string but the converter tells me clearly its my account's uuid

drowsy helm
#

Theres a few different uuid styles

smoky oak
#

------- i totally didnt put my variable name in quotes

#

oops

glad prawn
young knoll
#

“public” “Uuid” “MyUuid” “=“

#

I’m gonna make a new language where all keywords and variable names must be in quotes

remote swallow
#

"public" "UUID" "MyUUID" "=" "UUID"".fromString("abcdef-123456")"

quaint mantle
#

"public" "String" "mystr" "=" "<<sigma>>"

blazing ocean
#

This is valid kotlin

#

just dunno whether you can put the keywords and shit in backticks

slender elbow
#

well, no, that escapes the keywords making them identifiers

blazing ocean
#

oh true

slender elbow
#

val `val`: String = "no u"

remote swallow
#

"acces":"public", "type":"String", "name":"getWOAHHHHHH", "paramaters":[] = "return":""egg""

orchid brook
#

What happens if I cancel the SET_SLOT packet? I'm trying to learn about packets, so I'm working with the SET_SLOT packet and attempting to cancel it when I give an item to a player. However, the item is still successfully given even though I cancel the packet. Why is this happening?

chrome beacon
#

Cancelling the packet will just make the client not see the item for a bit

#

The item will still be there on the server

orchid brook
#

And last question Im using the SET_SLOT packet to get the slot number being updated. I want to replace that slot with Air. My problem is that player.getInventory().setItem() indexes 0 through 8 for the hotbar, 9 through 35 for the main inventory, etc. However, the first slot in my hotbar is indexed as 0, but the SET_SLOT packet is returning 36. What should I do?

remote swallow
#

nah

#

its different

blazing ocean
#

how is it different

remote swallow
#

just is

blazing ocean
remote swallow
#

im joking

#

idk what the fuck i was thinking writing that or what it was based off

worthy yarrow
#

how ebic felt writing that^

remote swallow
#

atleast i can code in console

#

and use linux

blazing ocean
#

true

worthy yarrow
#

WHO THE FUCK EVEN NEEDS TO DO THAT

remote swallow
#

everyone

worthy yarrow
#

My ide is prettier than yours so get fucked

remote swallow
#

false

worthy yarrow
#

True

blazing ocean
#

false

#

false information

remote swallow
#

my theme is called dark purple

worthy yarrow
#

I wanna make a joke

remote swallow
#

purple > anything else

worthy yarrow
#

but I'll probably get the boot lol

remote swallow
#

is it about purple the person

blazing ocean
#

my theme is called "catppuccin mocha" because alxhr hasn't finished the decay themes for JB yet

worthy yarrow
blazing ocean
#

i hate catppuccin so much

remote swallow
#

excuse you

worthy yarrow
remote swallow
#

they have themese for about 500 different programs

blazing ocean
#

but neither me nor alxhr succeeded in making a JB theme for decay

worthy yarrow
#

also the fact they using docker makes me cry

blazing ocean
#

why

#

is there some example app or sth

#

ask in their discord

worthy yarrow
#

I heard docker was just ass

remote swallow
#

docker isnt ass

blazing ocean
#

it really isn't

blazing ocean
remote swallow
#

my cursor wouldnt be purple without cattpuccin

worthy yarrow
blazing ocean
#

making a JB theme is just so fucking horribly painful

worthy yarrow
#

From everyone I talked to, they all say k8 > docker

remote swallow
#

if you have 1 server or its ur pc, use docker

remote swallow
#

if you need something to expand it self use k8s

blazing ocean
#

I mean k8s can run docker containers if I understood k8s correctly

remote swallow
blazing ocean
#

well yes it does run docker

#

just in a fancy overcomplicated way

#

shrimpol will beat you up if you talk about k8s badly

remote swallow
#

im just saying you dont need to use k8s on your pc or your singular server

remote swallow
#

fuck right off

blazing ocean
#

perfection

remote swallow
worthy yarrow
remote swallow
#

it would most likely be something that you would a) having running in popular locations and then as needed start up more to cover the load

worthy yarrow
#

Idk I'm no web dev and this shit is ass anyway

#

I'll figure it out eventually

remote swallow
#

afaik papers hangar uses k8s or something like that so it can account for extra load going to it by itself

worthy yarrow
#

Yeah that makes sense

#

My goal is to host an auth process and basically put some data into a pretty format

remote swallow
#

if you want isolation use docker, otherwise just run it

worthy yarrow
#

wdym by isolation?

remote swallow
#

running something in docker isolates it

#

like you can run something inside a docker container and its self contained inside of it

#

like ptero uses docker to run servers which can do something to stop malware spreading across servers

worthy yarrow
#

i see

remote swallow
#

when i was on windows and doing stuff for a server i would run something like mariadb or redis in docker so i can quickly purge it or turn it off without having to do 9 million steps

#

docker desktop + wsl2 is amazing

worthy yarrow
#

I was made aware that I could just host on an amazon ec3 server

#

and it's "free"

upper hazel
#

this be effective if i will create smth like Map<String,Object> properties?

#

this very confortable but what about casting

#

this long process?

blazing ocean
#

what

upper hazel
blazing ocean
#

what are you trying to do

upper hazel
#

where string this id and object property for object

upper hazel
#

so i want use it

blazing ocean
#

why

upper hazel
#

unconfortable

#

and i have many others properties

#

for item

blazing ocean
#

then store them somewhere else

upper hazel
#

so i want ask this "but what about casting
this long process?"

blazing ocean
#

then don't store them in a map?

upper hazel
#

bruh

#

you hear me?

#

read again

blazing ocean
#

why would you not just store your stuff in fields

#

if you have that many properties, you should probably reconsider

rough drift
#

custom ones

upper hazel
#

no time

rough drift
#

oh

#

no that's dumb

blazing ocean
#

"no time"?

remote swallow
#

it takes 2 seconds

rough drift
#

for 3 fields I assume

#

you can setup live templates and you have default ones for fields

blazing ocean
#

or you could spend 5 hours writing an AP to do that for you

upper hazel
#

just say casting this long process or not?

#

instanceof and etc

remote swallow
#

it woud just clutter the code with casts

upper hazel
#

and what will happened?

blazing ocean
#

why is casting a long process

upper hazel
remote swallow
#

you

upper hazel
#

"why is casting a long process?" -> "just say casting this long process or not? " ???

#

so this long for speed or not

blazing ocean
#

okay i have no idea what the fuck you're even trying to say anymore

#

no, casting does not take long

upper hazel
#

thenks

#

Maybe it's a translator issue? It's just that you answer a just question in such a strange way.

remote swallow
#

because your question doesnt make sense

blazing ocean
#

it's the fact that your questions are worded so weirdly and make zero sense at all

upper hazel
#

speed of casting object to need class

#

when i use string -> object map

#

what's weird about this question lol?

quaint mantle
#

Idk about jvm but I think casting only does one runtime check

ivory sleet
upper hazel
#

Gui Item with many properties. This unconfortable use data container

#

i have one object with map

#

properties

ivory sleet
#

What don’t you like about having a class with a set of fields?

blazing ocean
#

"no time"

upper hazel
remote swallow
#

gonna build a gaff with my fields

upper hazel
#

and of cose confortable

ivory sleet
upper hazel
blazing ocean
#

okay

ivory sleet
#

Yes but what do you mean saying those words?

blazing ocean
#

that does not explain what you mean

upper hazel
#

omg

ivory sleet
#

I legitimately don’t understand, I’m trying to figure out what exactly you meant by such sentence, no troll.

upper hazel
#

no time explain

#

sorry

ivory sleet
#

ok good luck

upper hazel
#

Looks like there's a translation problem. After all, I wrote in English by hand

ivory sleet
#

No I was more curious as to the explanation behind "architectural restrictions and time", there were no concretions, examples or explanations which left me (and presumably others here) confused.

summer gale
#

so i have written code for a custom item:

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

the only problem i am having is that there is a Mending III written right above the custom lore. I have also set the itemflag to hide enchants. the rest of the enchants are not showing but only the Mending Enchant is being shown. i am not modifying the item anywhere else

proper cobalt
#

yeah idk what u've gained from saying ts but ight

buoyant viper
#

just observation ig

proper cobalt
#

my bad uncle that were rude

blazing ocean
#

hannah are you their uncle

proper cobalt
#

yeah she used to buy me subway cookies everyday after school

blazing ocean
#

damn i want subway cookies

proper cobalt
#

init man bare squishy and warm

#

delightful chats

blazing ocean
#

warm biscuits are the best thing ever

wet breach
#

it still relies on host files so it isn't necessarily 100% isolated

proper cobalt
fresh inlet
#

okay i'm having a dilemma I want to make my minigames api that i'll use for all my minigames and i'm trying to think of where to start

#

i have no idea where i should start

echo basalt
#

I'm thinking more and more of making it component-based

#

having a map component, phases component

fresh inlet
#

for?

echo basalt
#

minigames

#

:)

#

I already have a tiny little guide but I need to rework it all

fresh inlet
#

oh thats what i was going to do

#

but i'm just stuck on what should i start with

echo basalt
#

phases are the easiest to start

fresh inlet
#

i'm going back to my core and finishing up the player profile stuff all the new data i have to save for each game i'm not sure on how to handle it should i just add it all to the profile for each game or do a separate stats thing for each game i gotta make the permissions system anyway so i'll brainstorm while doing that

echo basalt
#

✨ Entity Components ✨

fresh inlet
fresh inlet
#

it would be way better to do ECS

#

idk why i didn't do it from the start

echo basalt
#

🤔 given we use kotlin at work I might as well make a PDC system for pojo's

#

maybe even use kryo for serialization

#

use extension methods to integrate it straight into players

#

hm

#

val data = player.getData<ProfileData>()

fossil lintel
#

Hello, I would like to ask, this Spigot MC is an open-source project, right? Where is the open-source project located, and what is its name? I need it to modify and add features. Simply put, I want to create a Minecraft server software project.

chrome beacon
#

?stash

undone axleBOT
chrome beacon
#

?contribute

twilit coral
fossil lintel
proud badge
#

i dont think he wants to contribute, he wants to make his own private fork

lunar mica
#

Hello. Is somehow possible get NBT String from ItemStack what can I use in Item class? I need create new Item from ItemStack and use it to HoverEvent SHOW_ITEM. Thanks

fossil lintel
blazing ocean
#

tbh you'll probably have a better experience if you clone the paper repo and remove every single patch and then build from there

blazing ocean
#

no

sullen marlin
lunar mica
# sullen marlin ItemTag.ofNBT(ItemMeta.getAsString())
Item item = new Item(ITEM.getType().getKey().toString(), ITEM.getAmount(), ItemTag.ofNbt(ITEM.getItemMeta().getAsString()));

TextComponent component = new TextComponent("text");
component.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_ITEM, item));```

Its showing item without NBT Data (name, enchant, lore)
#

(ITEM is valid item from hand)

blazing ocean
#

are you developing for 1.20.5+

lunar mica
#

1.21.1-R0.1-SNAPSHOT

blazing ocean
#

then you'll need to copy over the data components for whatever you are doing

#

since that stuff is in item components

lunar mica
#

How? Item wants ItemTag as parameter

minor chasm
smoky oak
sullen marlin
#

Full log please

sweet gust
#

do you have any idea how to fix this? (issue with Build Tools)

my java version is: java openjdk 21.0.5 2024-10-15 OpenJDK Runtime Environment (build 21.0.5+11-Ubuntu-1ubuntu124.04) OpenJDK 64-Bit Server VM (build 21.0.5+11-Ubuntu-1ubuntu124.04, mixed mode, sharing)

my log error:
https://pastebin.com/9ycU6FMe

sullen marlin
#

install jdk, not jre

#

sudo apt install openjdk-21-jdk

hushed spindle
#

does anyone know which sound effect plays when the player triggers a sculk shrieker and it does like the heartbeat sound while they get darkness

smoky anchor
#

Wouldn't that be a warden sound effect ?
Warden's heart beats on the wiki, you can play the sound there as well

hushed spindle
#

yeah but thats the passive heartbeat he makes that indicates his agitation

#

i mean the heartbeat that sounds when the player triggers a shrieker

#

or is that part of the darkness effect itself

smoky anchor
#

go to the shrieker wiki and click through those sounds then

hushed spindle
#

i checked those too

#

the shriek doesnt have that heartbeat

smoky anchor
#

yes it does

hushed spindle
#

the heartbeat only comes from natural shriekers doesnt it

smoky anchor
#

is "​Warden advances" the one ?

hushed spindle
#

oh yeah thats the one

#

epic

pseudo hazel
#

you can probably turn on subtitles to see what effects are playing

hushed spindle
#

thanks a bunch

pseudo hazel
#

well atleast to see how they are translated

hushed spindle
#

i would normally but im not in a position to check that rn

#

laptop sound fucked

pseudo hazel
#

you dont need sound

#

but whatever

wet breach
blazing ocean
#

they do in debian packages

wet breach
#

I don't see how they are providing a separated jre and jdk when oracle and openjdk don't have them separated

blazing ocean
slender elbow
#

vendors just advertise a "jre" when it's really just a stripped down version of the jdk without certain modules

#

like jdk.compiler and such

wet breach
#

anyways, still dumb but I guess you are right to an extent

blazing ocean
#

my server is still on bookworm

#

bullseye* I think

#

yep

#

should probably update

wet breach
#

lol

#

ok my bad @sullen marlin guess some distros like debian release a so called jre for really no good reason.

#

only thing I can find why debian still does it, is because it uses less system resources, which technically is slightly true if we are just measuring that one takes up like slightly smaller space then the other lol

blazing ocean
wet breach
#

is it updated now?

blazing ocean
#

yep

noble current
#

what is net.minecraft imports?

glossy laurel
#

Can I somehow get Materials from other mods in spigot if the server that the server will run on will have both the mod and the plugin?

blazing ocean
#

no

#

and hybrids are unsupported

glossy laurel
#

lmao.

glossy laurel
# blazing ocean no

okay wait, is it possible to tell if a material of an item is that from a mod? Can I somehow get a string from that material and compare it to smth else perhaps

noble current
#

anyone can help me with a plugin?

#

i dont know why dont work

eternal oxide
#

?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!

blazing ocean
#

not possible

#

as long as the hybrid you are using does not do some weird ass shit

#

but again, hybrids are unsupported

noble current
#

i need help, i am trying to compile a plugin from github, when I import it appears many errors, i add the jars to the build path but stills dont work and some functions disappear

glossy laurel
blazing ocean
#

i mean older versions still have some API

#

whereas it comes down to what hybrid you are using

#

go to their support

river oracle
#

Hybrids are an entire different game. They reimplement the API with no guarentee for consistency of the bukkit api and also sometimes fail to fulfill api contracts. On top of that hybrids sometimes break vanilla and spigot behavior because of inconsistent API etc. Also not to mention spigot and ANY modding api have inherently different goals that expressly do not align so the idea of a hybrid in the first place is super flawed

#

Comparing those things at all is absolutely fucking insane

shadow night
#

Write a material enum generator

blazing ocean
#

that would require knowing all mods at compile time

#

while you can add enum variants using asm iirc, they won't be usable for anyone not having the transformed bytecode or not using jdtc

shadow night
#

Not compile time generation

#

At runtime generation

shadow night
#

You generate it before anything can load it

blazing ocean
#

still won't really be of much use to plugins if they don't have the enum variant

#

the fact that Material is still a thing is just so stupid

#

it's such a fucking shitshow

shadow night
wet breach
#

mods rewrite methods and in some cases replace entire classes. This is what makes mods significantly different then a plugin

blazing ocean
#

fabric mods are not gonna touch bukkit api classes

ivory sleet
#

lol imagine

blazing ocean
#

or forge mods for that matter

ivory sleet
#

all hell let loose

wet breach
ivory sleet
#

But yea enums are very bytecode modifiable/injectible even so, scary stuff

wet breach
#

would be interesting if there is a hybrid variant that does do that though

#

would make sense on some level

blazing ocean
#

never gonna touch the buggy mess that hybrids are

ivory sleet
#

I sometimes end up injecting additional constants into enums, but that’s in the environment of fabric/forge so its kinda out of the scope here

wet breach
proven kite
#

pls help

#

it keeps on deleting commands: when I compile it

eternal oxide
#

You are using the InteliJ MC plugin and editing paper.yml not plugin.yml

wooden frost
#

Hi, i wanted to send a message in chat that has two colors, but it just keeps mashing the colors together (the screenshot has a different text & color because i made 5 variations of the same thing for different events that happen in the game mode.

StrTex =Component.text("ОСТЕРЕГАЙТЕСЬ МОЛНИЙ!")
    .color(TextColor.fromHexString("FFFFFF"));
nameTex=Component.text("⚡ ГРОЗА!")
    .color(TextColor.fromHexString("#ffd700"));

Bukkit.getServer().sendMessage(nameTex.append(StrTex));
chrome beacon
#

Looks like you're using Paper and the Adventure API

#

I suggest you head over to their discord

wooden frost
#

didnt realise it was adventure api

#

(i mean i did but yeah subconssiously went here)

#

i'll do it for you

#

?whereami

minor chasm
minor chasm
noble current
#

i need help, i am trying to compile a plugin from github, when I import it appears many errors, i add the jars to the build path but stills dont work and some functions disappear

chrome beacon
#

Disappear?

#

Anyways you need to add all the dependencies of that project

#

or if there's a pom.xml or build.gradle(.kts) use that

short drift
#

I have disabled the vanilla smithing upgrade for netherite sword.
And now I'm trying to register a custom recipe:
https://gist.github.com/Pilvinen/4e4b3dc7cb6c95e1ef009d2e915ef42f
But I'm unable to place the minecraft:shield ingredient to the middle crafting slot. It kind of blinks in there, result blinks. And it gets returned to inventory.

#
    @EventHandler public void onPrepareSmithing(PrepareSmithingEvent event) {
        ItemStack baseItem = event.getInventory().getItem(1); // Base item slot is index 1.
        // Print out the item in the slots.
        System.out.println("Base item: " + baseItem);
        System.out.println("Result item: " + event.getInventory().getResult());
        System.out.println("Smithing template: " + event.getInventory().getItem(0));
        System.out.println("Netherite ingot: " + event.getInventory().getItem(2));

The base item is always null when the event runs.

short drift
#

Any ideas?

short drift
#

Is it even possible to create upgrade recipes which have other components than diamond stuff?

#

I managed to force the ingredient from mouse cursor, but I still can't craft.

undone spindle
#

how do i send a full code snippit using that web thing again?

eternal night
#

?paste

undone axleBOT
eternal night
#

paste it in there, press the save icon, copy the url

smoky oak
#

run it for the version you want to compile for

#

oh you are odd. try running it in an empty folder maybe?

amber fjord
#

as far as the shield idk how that could be done but search javadocs for an answer there

smoky anchor
smoky oak
#

which then compile the plugin

smoky anchor
#

no, java compiler compiles the plugin

smoky oak
#

using the libraries

smoky anchor
#

yes

minor chasm
smoky oak
#

hm. maybe try the .exe version

autumn moss
#

anydesk

minor chasm
minor chasm
#

i get error 403

smoky oak
#

yea no clue, maybe try seeing if md_5 knows something

minor chasm
#

ok

#

thx

smoky oak
#

maybe pasting manually works

#

no guarantee tho

autumn moss
#

what he trying to d o

#

do

smoky oak
#

buildtools is failing

autumn moss
#

why not download the jar manually from a site

smoky oak
#

coz im lazy and i have this in my quickbar

autumn moss
chrome beacon
#

Can't say I've seen that error before

#

Anything installed that would mess with the connection?

lunar mica
# sullen marlin ItemTag.ofNBT(ItemMeta.getAsString())

Btw this didnt work. Someone send me this:

    @Override
    @SuppressWarnings("deprecation")
    public HoverEvent getHoverEvent(@NotNull ItemStack itemStack) {
        String nbt = String.format("{\"id\":\"%s\",\"count\":%d,\"components\": %s}",
                itemStack.getType().getKey().getKey(),
                itemStack.getAmount(),
                itemStack.getItemMeta() != null ? itemStack.getItemMeta().getAsString() : "{}");
        return new HoverEvent(HoverEvent.Action.SHOW_ITEM, new BaseComponent[]{new TextComponent(nbt)});
    }```
#

And its works but its already deprecated

rotund ravine
#

Yes

kind hatch
minor chasm
minor chasm
minor chasm
minor chasm
remote swallow
#

the site hes most likely talking about is not offical and could contain malicious modifications

minor chasm
# smoky oak

@smoky oak can you giv eme 1.21.4 version of it?

remote swallow
#

Why not use the repo for the api

#

?maven

undone axleBOT
glossy atlas
#

Does anyone know how to make player invincible in 1.21.4?
I've tried canceling EntityDamageEvent, but it didn't work.

sullen marlin
#

What about it didn't work

glossy atlas
smoky oak
#

i am using java 22 btw

minor chasm
#

thanks

pliant topaz
#

and it has LTS

smoky oak
#

it was stated yesterday funnyman is using .23, so i cannot make a guess if the issue is the java version or not

minor chasm
#

i tested both 21 and 23 and also 17

smoky oak
#

ok maybe you just have a broken windows install

quaint mantle
blazing ocean
#

They're the API jars yeah

#

those are just on nexus

quaint mantle
#

Ah

frank drum
#

i wanna get item's default name!
but ItemStack.getItemMeta.getDisplayName returns null.
how to get item's default name

        minecraft::oak_log -> Oak Log```
sonic goblet
frank drum
young knoll
#

You don’t

#

The server doesn’t have that data

#

But you can get a translation component for the items name

maiden kiln
#

Is there any reverse method to ItemMeta#getAsString? used to be UnsafeValues#modifyItemStack, but that seems to take the component format you'd use in e.g. /give now

sullen marlin
echo basalt
#

Bukkit.getItemFactory().createItemStack

#

get sniped

sullen marlin
#

Yeah you got sniped

echo basalt
#

did I?

#

looks accurate on my side

sullen marlin
#

On my discord you did

echo basalt
#

discord moment

sullen marlin
#

Guess discord doesn't order messages lol

echo basalt
#

just updated discord I got sniped L

eternal oxide
echo basalt
#

I bet they don't use a ConcurrentLinkedDeque

eternal oxide
#

md wins!

echo basalt
#

woo

sullen marlin
#

🏅

echo basalt
#

I shouldn't have double-checked

#

shoulda gone off memory woeisme

maiden kiln
#

Will try it later to know for sure though, thank you

proper cobalt
#

anyone know whats wrong w lambdas in bukkit

#

doesnt work at all the new GUI isnt open

#

but when u schedule it 1 tick later or 0 tick later it works

eternal oxide
#

Nothing wrong with lambdas

chrome beacon
#

^^

#

You're just using the event in a way that you shouldn't

blazing ocean
remote swallow
blazing ocean
#

you

remote swallow
blazing ocean
chrome beacon
#

Nice name

proper cobalt
#

Alright how about here then

#

why cant u set the leash holder to null without a task

blazing ocean
#

are you doing it off thread or something

#

or async

chrome beacon
#

when it that fired

proper cobalt
#

Only in events

#

see now everyone is confused'

#

i think Bukkit is busted

blazing ocean
#

always has been

proper cobalt
#

why doesnt someone just make a better api

#

from the ground up, no bukkit

remote swallow
#

thats just called a different server software

blazing ocean
#

fabric

#

my beloved

proper cobalt
remote swallow
#

they have

blazing ocean
#

that's called modded

remote swallow
#

no one cares

proper cobalt
#

modded is trash tho

blazing ocean
#

why?

proper cobalt
#

cuz it supports mods

blazing ocean
#

y-yes

remote swallow
#

if they wanted modded they go to modded, 99% of server sotwares dont take off because spigot/paper/otherforks exist

blazing ocean
#

that's the entire point

proper cobalt
#

just a vanilla jap

#

call it like Bucket or smth

remote swallow
#

are you stuck in 2013

#

bukkit was called bucket back then

proper cobalt
#

since Bucket is the correct word signifying a working api and Bukkit is just some crooked ol' api

#

yooo thats cold sm1 should do that

proper cobalt
young knoll
#

Plugins are just server side mods

proper cobalt
#

yeah

#

clientside mods are bad

smoky anchor
#

just run vanilla and make datapacks smh

proper cobalt
#

datapacks are so cringe idek why they exist

#

who uses datapcks

#

atp use command blocks

smoky anchor
#

lmao
you don't know what they can do, do you

proper cobalt
#

they cant do anything

blazing ocean
#

not true

#

datapacks have more than functions

smoky anchor
proper cobalt
blazing ocean
#

also not true

smoky anchor
#

some things you can do:
add advancements, banner patterns, dimensions, enchantments, discs, some mob variants, paintings, trims
I believe most of these things are yet to be supported by spigot

proper cobalt
#

i guess?

young knoll
#

Well

#

You can do it without the api

proper cobalt
#

what like nms

remote swallow
#

i never use the api, only for plugin loading

proper cobalt
#

sure pal sure

remote swallow
#

gotta save muh cpu cycles

proper cobalt
#

so ur just sat there making datapacks

remote swallow
#

nah

#

pure nms

proper cobalt
#

fair

blazing ocean
#

Without mixins that'll be annoying

blazing ocean
remote swallow
#

yeah it doesnt have api to remove rats from the server

proper cobalt
remote swallow
#

i cant only remove rats from the server such as rad

proper cobalt
#

thought u were calling me a rat

remote swallow
#

RAD NO

blazing ocean
#

🫡

hushed spindle
#

so apparently slimes and magmacubes are not considered monsters, is there any reason why that is? lol

#

or just an oversight

eternal night
#

Internals doesn't consider them monsters so it's just mirroring vanilla

#

Why that is, dunno

slender elbow
#

they're cute lil blobs

slender elbow
#

how dare you call them monsters

hushed spindle
#

and endermen are considered monsters

river oracle
#

Idk Just a mojank thing I doubt they actually "attack" though

#

I'd have to pull up nms I bet there damage comes from bumping into then and their AI simply tracks to players

hushed spindle
#

that'd be funny if thats the case

#

just making sure its not some bug or smtn

river oracle
#

Nah internals moment

thorny dock
#

does anyone know a good method of telling where on a map a player is clicking? I feel like the answer involves a lot of advanced geometry 😓
My method of spawning an arrow entity from the player to where they're looking isn't accurate enough unless they're looking at it head-on and far enough away.

smoky anchor
#

If you run raytrace, the result has the exact position.
You'd have to account for the width of the item frame tho.
Should be fairly easy.

smoky oak
#

can i manipulate how fast blocks break?

chrome beacon
#

You can do server side block breaking

smoky oak
#

was more thinking telling it 'hey you break instantly on effi v'

smoky anchor
smoky oak
#

ye im on latest

smoky anchor
#

ye, so you can use one of those two

smoky oak
#

interesting idea but the problem is that would affect all blocks

smoky anchor
#

hmmm not if you use the tool one

smoky oak
#

?

#

do you have an api link

smoky anchor
#

not api link, but api exists
you can set speed per specific blocks in the rule

smoky oak
#

ty

#

is item meta preserved through enchanting / anvils?

smoky oak
#

i can never remember how exactly that works tbh

glossy laurel
#

is ItemStack#hasItemMeta the same as ItemStack#getItemMeta != null

chrome beacon
#

yes

#

but do use the hasItemMeta

worldly ingot
#

Well, to be clear, the logic would be the same

#

The approach differs. getItemMeta() gets and clones the meta, so each time you call getItemMeta(), you're doing an expensive clone of the item meta instance only to check if it might be null

slender elbow
worldly ingot
slender elbow
#

for anything that is not air, getItemMeta will give a valid itemmeta, but hasItemMeta will return false until you call setItemMeta

viscid carbon
#

hey everyone curious if you use jitpack to make your own dependency?

#

if so why wont it find my github?

     <dependency>
            <groupId>com.github.MrArcane</groupId>
            <artifactId>Core</artifactId>
            <version>me.arkallic.core</version>
        </dependency>
eternal oxide
#

version is bad

smoky anchor
#

do you have the jitpack repo in your pom ?

eternal oxide
#

and artifacts "should be" lowercase

viscid carbon
#
            <groupId>com.github.mrarcane</groupId>
            <artifactId>core</artifactId>
            <version>main</version>
        </dependency>```
#

still doesnt. that was just me trying to get it

eternal oxide
#

version is usually a number

remote swallow
#

use -SNAPSHOT for latest, or specify a commit

viscid carbon
#

yes i have jit

remote swallow
#

their website will tell you the info

#

including version

west pecan
#

Hey guys, I'm working on a plugin that repairs item damage, I set the damage to 0 on the item but the durability bar stays the same after, only finally updating after using the tool again. Oddly enough if I drop the item my other plugin which shows item drop info shows the correct durability. Is there something else I need to do "refresh" the client side durability bar?

item.setItemMeta((ItemMeta)meta);```
smoky oak
#

theres an inventory refresh method i think?

#

ah its on player#updateInventory()

#

api says its requirement is indicative of a bug tho

viscid carbon
remote swallow
#

try using a specific hash

smoky anchor
blazing ocean
#

BUILD FAILURE

#

I hate jitpack

remote swallow
#

who doesnt

#

if you want a free repo use repsy

blazing ocean
#

If you want a free repo ask me

remote swallow
#

rad can i have a free server

blazing ocean
#

Nah

remote swallow
#

rad can i have a free repo

#

infact dont i already have one

blazing ocean
#

You can have a repo on my reposilite

blazing ocean
#

best I can do

remote swallow
#

do you want a repo on my repohttps://repo.epicebic.xyz/#/

#

thats a tiny bit out of date

blazing ocean
#

No thanks

blazing ocean
remote swallow
#

i still need to ssh into my servers and add my new ssh keys

smoky anchor
#

time to see if any vulnerabilities exist >:)

blazing ocean
#

/wp-admin.php

remote swallow
#

they do

#

rad can you add my ssh keys to my server

blazing ocean
remote swallow
#

ubuntu@resourceful no password

blazing ocean
remote swallow
#

host is resourceful

blazing ocean
#

Not hostname

#

But IP ig

remote swallow
#

ill do it at somepoint bc im prob gonna reset the servers

#

hope i can actually get a server from oracle when i reset them

blazing ocean
#

Why would you get a VPS

remote swallow
#

idk how im gonna survive with the fact basically nothing is on my repo anymore

remote swallow
blazing ocean
#

Use mine! [My repo]

remote swallow
#

ur repo?

blazing ocean
#

Yea

remote swallow
#

i could but thats no fun

#

and i can use miles repo

blazing ocean
remote swallow
#

that reminds me i never saved the secret for that

blazing ocean
#

Smort

remote swallow
#

i did save it

#

forgot i logged in on web

blazing ocean
remote swallow
#

kekw miles repo is down

blazing ocean
#

lmao imagine

remote swallow
#

@river oracle ur repo is down

blazing ocean
#

That's why you use mine

blazing ocean
#

Okay I don't think I'm allowed to do that

remote swallow
#

smh