#help-archived

1 messages ยท Page 16 of 1

dusky herald
#

Does any form of that method exist?

frigid ember
#

getConfig().contains()

#

?

dusky herald
#

Or like hasKey

#

Sure

frigid ember
#

no sure

#

yes or no

dusky herald
#

Try it

lofty otter
#

contains is there

dusky herald
#

Contains("key name")

mental coral
#

^ yes

frigid ember
#

Ok

dusky herald
#

Since you cant null check it, check if its contained

mental coral
#
if (contains(keyname)) { // parse it }
else { // load default }```
dusky herald
#

Then set your boolean

#

And you wont get a nullpointer

#

And if you do, your config is fucked up anyways

frigid ember
#

ok

#

what is max and minimum xp @dusky herald

dusky herald
#

Idk

#

Lol

#

2.147b

#

It's an int

frigid ember
#

no

#

its a float

#

the maximum displayable xp

#

for minecraft

#

the bar

#

xp bar

dusky herald
#

It was just what I googled

frigid ember
#

p.setExp(float f);

#

p.getExp()

#

float

#

p.giveExp(int a) tho

keen compass
#

boolean val = getConfig().getBoolean("bar_enabled", true);

frigid ember
#

i will use setxp

#

ok

keen compass
#

that assigns a default value btw

frigid ember
#

thanks

keen compass
#

however unless you call saveConfig() it will not update the value in the config

#

just only on the object

frigid ember
#

?

#

what is max and min exp

mental coral
#
If the player gains too many experience points, such as 1 trillion, the experience bar and level counter completely disappear from the HUD. This appears to occur around level 32,767 or 215โˆ’1, the largest value representable by a 16-bit signed integer.[12]
The maximum XP that can be gained from the /experience command is 2,147,483,647 levels or 231โˆ’1, the largest value representable by a 32-bit signed integer and by Java's int type.

https://minecraft.gamepedia.com/Experience

dusky herald
#

2,147,483,647

frigid ember
#

what

#

soo much

#

the max displayable exp

#

for bar to be full

#

i set it to 100, and its showing two bars

#

and its not even vsible

mental coral
#
    /**
     * Sets the players current experience points towards the next level
     * <p>
     * This is a percentage value. 0 is "no progress" and 1 is "next level".
     *
     * @param exp New experience points
     */
    public void setExp(float exp);
#

0.99

frigid ember
#

thank you

#

so 100 / 100

mental coral
#

0.99, becausee 1.00 or "100" is next level.

#

I dont know if it will roll over automatically.

#

try it

fleet crane
#

1.00 and 100 are very different lol

frigid ember
#

no

keen compass
#

lol

frigid ember
#

my system the max is 100

#

its like a percentage

#

so anything / 100

#

100 / 100 is 1

#

100 is max in my system

dusky herald
#

Then do 100 / 100?

#

Or XP / 100

frigid ember
#

exactly

dusky herald
#

Or

#

Just do 0.00-1.00

#

And get rid of all the other math lol

frigid ember
#

how do i remove xp

#

from someone

#

setExp for me doesn't seemt o always work

#

set&

#

set*

dusky herald
#

Cant you just do setXP(0)?

mental coral
#

Player#setLevel(0)
Player#setXP(0)

frigid ember
#

thank

mental coral
#

setXP only handles the current level. 0 would be 0% of your current level.

frigid ember
#

YES

#

my system worsk perfectly

#

is there a bukkit event called while the player is still, no right?

#

sadly

mental coral
#

You can integrate into an AFK system such as with Essentials API. Past that, you would just have to create it yourself by doing a timer that checks how long they should be at the same location to be considered "still".

frigid ember
#

ok

#

nah ill just do something else

#

It's alright

#

I don't want to be using api's for this.

mental coral
#

I would do the event yourself then.

frigid ember
#

no

#

I will do what I want to do in another way

#

It's alright

#

Just knowing when the player is still would help

#

yk what

#

ima make an event

#

is the runTaskAsynchronous in the BukkitScheduler class still contained in 1.15, with the Plugin and BukkitRunnable as an argument, it is deprecated in 1.8

wheat pumice
#

anybody know how to "shoot" a particle with velocity an getPlayer it hit

#

!verify AnhKietNguyen

tawdry lilyBOT
#

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

wheat pumice
#

!verify AnhKietNguyen
@wheat pumice oh i'm sorry

dusky herald
#

@frigid ember plugin is an argument

frigid ember
#

yes

#

then BukkitRunnable

#

is 2dn argument

#

and that method is deprecated

dusky herald
#

But, you use run async as a method

#

Off of the BukkitRunnable object

#

So you could do... BukkitRunnable r = new BukkitRunnable...etc

#

Then after you set it all up,

frigid ember
#

is the method in bukkitrunnable

dusky herald
#

Then r.runTaskAsynchronously

frigid ember
#

in future versions

dusky herald
#

I'm using 1.15

frigid ember
#

AS IT is deprecated

dusky herald
#

And it's like that

frigid ember
#

that was the QUESTION

#

not how to use it

#

bruh

#

ok so yes

#

thanks

#

lmao

dusky herald
#

It's not deprecated?

#

Lol

tiny dagger
#

thanks md5 ๐Ÿ˜ฎ

frigid ember
#

i said it is deprecated in 1.8

frigid ember
#

because we lazy bro

fleet burrow
#

Is it possible to override the RecipeChoice.ExactChoice.test method so I could include an amount check into it's functionality?
I tried extending ItemStack and overriding isSimilar but that didn't work

dusky herald
#

1.15 it's not deprecated lol

tiny dagger
#

does the discord name updates too?

frigid ember
#

I SAID ITS DEPTRECATED in 1.8

tiny dagger
#

oh it did

frigid ember
#

ia sked if its in 1.15 or not

#

@dusky herald jeez

fleet crane
#

pretty sure those methods throw an exception in 1.15

dusky herald
#

I know and I gave you the answer ๐Ÿ˜‚

frigid ember
#

btw why did you change the inventory ways inhigher versions than 1.8 md_5

#

it makes it impossible to make a plugin support multiple versions with inventories and guis

dusky herald
#

I'm sure those changes have to do with how Minecraft changes

frigid ember
#

Oh yea, its part of bukkit

#

dum me

fleet crane
#

you can use the 'new' method in older versions

ocean anvil
#

Is there any event that could be used to detect whenever an ItemStack is added to an inventory? So for example when an item is picked up or a player runs /give?

frigid ember
#

no

#

im talking about events

#

I believe getTitle() or such methods don't exist in newer versions of bukkit md_5

#

or getName()

fleet burrow
#

Where is the test method of RecipeChoice used?

mental coral
#

@ocean anvil there are a variety of Inventory events.

InventoryPickupItemEvent would handle pickups, not sure about /give though off the top of my head.

ocean anvil
#

I'm aware of the different events - unfortunately none of them seem to cover specifically an ItemStack being added to an inventory in any way

#

Wouldn't InventoryPickupItemEvent only cover hoppers?

#
public class InventoryPickupItemEvent
extends Event
implements Cancellable

Called when a hopper or hopper minecart picks up a dropped item.
mental coral
#

oh mb, yeah

ocean anvil
#

This seems like it's going to be tricky ยฏ_(ใƒ„)_/ยฏ

mental coral
#

@ocean anvil EntityPickupItemEvent

#

That handles dropped items.

#

Having trouble finding out how to detect when items are added directly to the inventory however.

frigid ember
#

who of you knows how to use maven

mental coral
#

๐Ÿคš

frigid ember
#

I am having issues

#

im tryna use netty

#

so i came across this dependnecy

#

<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>4.0.23.Final</version>
</dependency>

#

and it still shows errors

#

after adding it

#

saying its nto found

mental coral
#

is the version red?

frigid ember
#

yes

mental coral
#

That means none of your repositories contain it.

frigid ember
#

how do i get it?

wheat pumice
#

how can i shoot a particle and get the entity which it hit

frigid ember
#

@mental coral

mental coral
#
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-all</artifactId>
    <version>4.1.48.Final</version>
</dependency>

Try that one for me, because it should be available in the mvn central already i'd imagine.

frigid ember
#

still no

#

intellij stopped asking me to import fgor some reason

#

wait

#

holdup

mental coral
#

import

#

that means it will download it lmao

#

enable auto import

#

like always

#

saves you headache

frigid ember
#

irt just showed an icon

#

it never was like thos

#

it didn't ask

#

it just showed an icon

#

ok works

mental coral
#

๐Ÿ‘

frigid ember
#

oh no

#

i now need com.mojang

#

what repo is that

mental coral
#

Uh, what is depending on it?

frigid ember
#

for example to access gameprofile

mental coral
#

Oh

frigid ember
#

im tryna make my plugin bukkit

#

and support bukkit servers

#

so adding these dependencies will work right

#

i don't wanna use spigot

#

cos ๐Ÿ’ฉ spigot

#

how i get com.mojang

hoary parcel
#

It's in nms

#

The authlib is in mojang repo too tho

frigid ember
#

not in bukkit doe

#

send me

#

the authlib

#

send me the authlib Mojang repo @hoary parcel

#

where

mental coral
#

trying to find it myself

frigid ember
#

is it this

#

<dependency>
<groupId>com.mojang</groupId>
<artifactId>minecraft-server</artifactId>
<version>1.4.4</version>
</dependency>

hoary parcel
#

No

frigid ember
#

what

#

is it

#

yea that failed

hoary parcel
dusky herald
#

Bukkit servers are still a thing? Lol

frigid ember
#

i want my api to work on bukkit, spigot and paper

#

thast all

hoary parcel
#

Bukkit isn't a server software

frigid ember
#

@hoary parcel download failed

hoary parcel
#

Craftbukkit is

frigid ember
#

craftbukkit

#

is what i meant

#

@hoary parcel your download don't work

hoary parcel
#

Then your are to dum

#

It's a maven repo

ocean anvil
#

that's a repo, you can't just download the entire repo lol

frigid ember
#

you don't have to be so rude

#

Some people used to sent the authlib files

hoary parcel
#

You don't have to be so dum

#

That's not legal

ocean anvil
#

bundles the entirety of mojang inside craftbukkit plugin

hoary parcel
#

You can't distribute mojang ip

dusky herald
#

-does anyways

hoary parcel
#

Mojang send scary legal letters before, enforcement is no joke

dusky herald
#

I know, that's why Spigot exists if I remember correctly.

hoary parcel
#

No, not at all

dusky herald
#

Uh, well from what I remember Bukkit was having issues with Mojang and had to shut down

tiny dagger
#

did spigot got any so far?

hoary parcel
#

No, not at all

dusky herald
#

And Spigot pretty much filled the void that Bukkit left

#

Then Bukkit came back

hoary parcel
#

The bukkit project is owned by mojang

tiny dagger
#

really?

hoary parcel
#

Spigot existed before the bukkit project was abandoned

tiny dagger
#

when, how..?

hoary parcel
#

When mojang hired they bukkit team they brought bukkit

dusky herald
#

But if I remember correctly, Bukkit was not owned by Mojang.

tiny dagger
#

there was dinnerbone if i remember correctly one of the devs

dusky herald
#

They were brought in

#

After all the legal troubles

hoary parcel
#

Way before actually

#

Like two years before, lol

dusky herald
#

That was awhile ago now though, when was that? Like 2012?

#

I vaguely remember, it feels like forever ago.

hoary parcel
#

Yes, mojang aquired bukkit in 2012

#

After minecon where they all met

dusky herald
#

Yep it's been awhile for sure then lol

#

It's hard to keep up with all the MC drama

hoary parcel
#

It's pretty easy

dusky herald
#

After 11 years

hoary parcel
#

Mojang brought the project but didn't tell all contributors

dusky herald
#

I suppose it's easy to keep up; if you really want to.

#

I just focus my energy on other things ๐Ÿ˜‚

hoary parcel
#

When wolve found out he has been working for mojang for two years without getting paid, he was pissed and exploited the fact that craftbukkits licence was invalid at that time (since it contained nms code), to dmca his changes to the project, to end it

#

Then ppl got pissed at mojang because of how they handled the situation and the whole staff team left

#

The graveyard is still visible on the forums with all the good bye posts

tiny dagger
#

oh

dusky herald
#

Now that sounds familiar.

frigid ember
#

you zoomers lmao

#

dang yall play this game for so long

#

Why do you still play it?

hoary parcel
#

I don't play this game nor have I every really played this game

frigid ember
#

..

ocean anvil
#

Sorry to interrupt the story-telling, but one quick question: Do unused imports make any difference in the compiled Jar since they're not used for anything and therefore (presumably) never loaded?

silk bane
#

no difference

frigid ember
#

but you so zoomer and u remember all that

hoary parcel
#

I just work with this game

silk bane
#

but remove them

frigid ember
#

you do play it

tiny dagger
#

3/4 of devs don't play mc

frigid ember
#

same

#

I don't really play it

agile jungle
#

Iโ€™ve just gotten back into this game a little

frigid ember
#

I just code for it

hoary parcel
#

Am just 10 years older than you are I guess

frigid ember
#

I don't play it.

agile jungle
#

The updates are pretty cool

frigid ember
#

@hoary parcel Guess my age

#

if you guess too low you are very weird

ocean anvil
#

you are gay
guess under 12 and you'll be close

hoary parcel
#

15

frigid ember
#

@hoary parcel Good guess.

silk bane
#

nah that's too high

frigid ember
#

I am 14.

silk bane
#

called it

frigid ember
#

@hoary parcel ma g

dusky herald
#

I dont even play MC ๐Ÿ˜‚

hoary parcel
#

Am turning 23 on 4/20

#

So next Monday

ocean anvil
#

nice

hoary parcel
#

Best day to have a birthday

frigid ember
#

ill wish you a happy birthday

dusky herald
#

I dont think I have played MC legitimately since around 2013-2014.

hoary parcel
#

It's both weed day and Hitler's birthday ๐Ÿ˜‚

ocean anvil
#

I hope you live in a legalised area my man

dusky herald
#

4/20/20

ocean anvil
#

wait fr is it hitler's birthday?

#

oh shit

hoary parcel
#

Hitler was born on 4/20, yes

ocean anvil
#

nice

agile jungle
#

Hm

dusky herald
#

But you're also turning 23, a useless and uneventful birthday.

tiny dagger
#

jeez

hoary parcel
#

Am the secret reincarnation

tiny dagger
#

only in america

hoary parcel
#

Just, less racist, more drunk I guess

dusky herald
#

25 will be your last "exciting" birthday.

agile jungle
#

No such thing

hoary parcel
#

I don't care about birthdays at all

agile jungle
#

Birthdays make you die faster

#

Itโ€™s proven

solemn grove
#

#general ..?

agile jungle
#

Perhaps

dusky herald
#

Birthdays don't make you die faster.

hoary parcel
#

I just gather a few friends and hit a bar or smth and that's it

dusky herald
#

That's not a very good way to describe what you're trying to say.

ocean anvil
#

#general ..?
@solemn grove I wouldn't bother trying to stop the chaos.

#

Spigot server very professional

hoary parcel
#

If you have a wage as mine, you don't bother about material stuff anymore

agile jungle
#

No but itโ€™s the less written way

hoary parcel
#

So gifting is really hard

dusky herald
#

Wage lol

hoary parcel
#

Ppl tend to gift me time, as that's way more valuable

frigid ember
#

go to #general everyone

#

this is for help

#

everyone move to #general

dusky herald
#

How much you make then

#

๐Ÿ˜‚

frigid ember
#

#general !!!

agile jungle
#

Just make like 90 plugins and charge them

frigid ember
#

@dusky herald

#

#general 1!!

#

@agile jungle #general

hoary parcel
#

Am a software developer in Germany with like 5 years of experience now and I have a bachelor's

frigid ember
#

just continue your conv in #general

hoary parcel
#

Go figure

frigid ember
#

du fett sack

#

wie gehts

hoary parcel
#

Enough to make a decent living in my own flat in downtown cologne

frigid ember
#

sag was @hoary parcel

agile jungle
#

You do realize youโ€™re spamming a bit also mini modding

dusky herald
#

Ah

#

I'm at about 120k a year avg atm

frigid ember
#

dude

#

SPEAK IN #general

#

omg

#

whats wrong with you

hoary parcel
#

See, it's hard to compare salaries between country borders

dusky herald
#

But I dont live in a place with a high cost of living.

hoary parcel
#

Ffs stop mini modding, nobody cares

solemn grove
#

well since the mod aren't even cares

#

i am joining

frigid ember
#

its annoying how users who might need help here

dusky herald
#

Woohoo

frigid ember
#

and you have random conversations

#

and the people get ignored

agile jungle
#

Okay who needs help right now then

mental coral
#

Retrooper, i'd calm down. Did you find your authlib thing?

hoary parcel
#

If somebody needs help we will stop

dusky herald
#

So what they got a #general to ask for help in

hoary parcel
#

But your messages are spam

dusky herald
solemn grove
#

^

ocean anvil
#
As per the rules:
Off-topic discussion is allowed, but Spigot-related discussion takes priority

    If somebody joins asking for support, pause your conversation and help them if you can.
    If people are actively requesting for, or giving help in #spigot, you can head over to #spigot-chat for more off topic atmosphere.
agile jungle
#

But if no ones stopping you

dusky herald
#

Nobody is asking for help

ocean anvil
#

Chat in #help-archived is only disallowed if an on-topic discussion is taking place

agile jungle
#

๐Ÿคฆโ€โ™‚๏ธ

ocean anvil
#

Which there is not

frigid ember
#

@agile jungle shutup

storm vessel
#

Ok so I was using WorldBorder to fill in my world. I also accidently deleted the world file (not the actual world that people play in, but the original). When people logged in, the instantly "Suffocated in a wall" if they were in a certain area. I restored the world file and restarted the server but it still happens. i tried disabling worldborder aswell

fleet crane
#

No please use general for general chat

mental coral
#

Retrooper, relax lmao.

#

Did you figure out authlib or do you still need help?

fleet crane
#

And help for help

dusky herald
#

We should have an off-topic channel

frigid ember
#

cykrik yes i found out after being called

#

for asking for help

dusky herald
#

And a plugin-dev channel

hoary parcel
#

@storm vessel your players have spawn points in walls, the easiest way to fix is delete player files

frigid ember
#

@dusky herald you said who cares

#

so why want to request it

hoary parcel
#

But then they loose inv

storm vessel
#

Will that delete inventories?

frigid ember
#

if you don't care about the rules anywhere

hoary parcel
#

Yes

storm vessel
#

It isnt rust about spawn points though

#

When I do /rtp I instantly die

#

every time

hoary parcel
#

Uuhm

silk bane
#

instantly?

storm vessel
#

Yes

agile jungle
#

The chunks arenโ€™t loaded potentially

silk bane
#

surely there's a bit of time

#

while you're suffocating

storm vessel
#

Suffocated

hoary parcel
#

World border?

silk bane
#

ah

agile jungle
#

Could also be that

hoary parcel
#

Make sure the minecraft world border is set high

ocean anvil
#

Is moving an item between a player inventory and a crafting inventory enough to fire an InventoryMoveItemEvent?

agile jungle
#

Did you set the radius in rtp

silk bane
#

@ocean anvil you might want inventoryclickevent for that

storm vessel
silk bane
#

i see the world border in the distance

mental coral
#

that will call invclick yeah

storm vessel
#

I set the world border high, disabled the worldborder plugin, etc

#

I cleared the world border

#

Nothing works

silk bane
#

you might need to put the worldborder plugin back to set the world border again

hoary parcel
#

It's the vanilla world border

storm vessel
#

I did

mental coral
#

dragging the item calls InventoryDragEvent (to split stacks) and just moving it or right click splitting is just InventoryClickEvent.

storm vessel
#

Wait there is a vanilla worldborder

naive goblet
#

You could debug the death event to see cause or something ?

hoary parcel
#

Sure

silk bane
#

that's probably what the world border plugin is setting

storm vessel
#

Where

hoary parcel
#

./worldborder are the commands iirc

agile jungle
#

Yeah pretty much

ocean anvil
#

Could be suffering from xy problem here - I want to be able to access every item crafted in a crafting table if the player was to shift+click and do multiple since CraftItemEvent only fires for the first item crafted

hoary parcel
#

Uninstall the plugin and set the range using that

storm vessel
#

Where can I find the settings for the vanilla worldborder

ocean anvil
#

So I figured InventoryMoveItemEvent would fire for every item crafted since it moves between the crafting inventory and a player inventory but idk if that's true

#

Or if it just directly injects the itemstacks into the inventory instead of moving them

naive goblet
#

Nono

silk bane
naive goblet
#

InventoryClickEvent then

silk bane
#

this is quite an old issue

naive goblet
#

MoveItemEvent is mainly for moving items through hoppers iirc.

ocean anvil
#

I'm aware, that's why I'm trying to do hacky stuff like this

#

Ah

mental coral
#

InventoryClickEvent and InventoryDragEvent. I wish you the best of luck though xD

silk bane
#

there's a workaround in the thread

storm vessel
#

Got it

silk bane
#

it's not pretty tho

storm vessel
#

Thank you so much

naive goblet
#

Idk if InventoryInteractEvent might help as well

ocean anvil
#

My first plan was actually just to iterate through every slot in the inventory and make edits but I figured that would be relatively quite slow

naive goblet
#

Yeah

ocean anvil
#

Actually Lukas' workaround use case is extremely similar to mine

#

huh

naive goblet
#

wut

ocean anvil
#

In that issue, Lukas wanted to iterate through every [item] ever crafted and give it a certain value - I want to give every sword ever crafted a set of base stats like this https://i.imgur.com/WTSyhkV.png

#

So I figure if the workaround worked for them it should work for me, albeit relatively quite slowly

naive goblet
#

Well one way of doing this would be to use custom recipes?

#

If I understand your problem right.

silk bane
#

that would be better, yeah

#

replace the vanilla recipe

ocean anvil
#

Oh maybe

frigid ember
#

@mental coral

#

dms

#

Are refunds possible. I bought a plugin but doesn't require my needs

#

talk to the developer

ocean anvil
#

Right now I just have a function that lets me add level data (lore + PersistentDataStorage) to any item so I only had to make it once and any gear I choose can have level data added

#

Recipes would mean I have to make a custom one for everything I wish to add levels to

#

Which is quite the pain

#

Even if it is a better solution

naive goblet
#

Well I mean if you now want to change certain repices you could make a whitelist of materials you want to change. Then iterate through every recipe and filter those by the whitelist and then do this in onEnable().

#

I believe every recipe has a result, which can be modified. So just get the material from the result stack.

silk bane
#

you can probably programmatically replace recipes by their result

ocean anvil
#

That still doesn't solve me adding PersistentDataContainer stuff to every item crafted I don't think

#

I doubt you can add that stuff into a custom recipe but hey what do I know

naive goblet
#

Yes you can

ocean anvil
#

fr?

#

That seemed like it would be too complex

naive goblet
#

I mean not if you plan it out

silk bane
#

you set an itemstack as the result of the recipe

#

if spigot doesn't preserve the persistentdatacontainer in the itemstack it's probably a bug

ocean anvil
#

Oh yeah ofc that makes sense

#

This does make a lot of sense now actually damn

silk bane
#

there was a recent commit that fixed some issues with copying persistentdatacontainers as well

#

After this commit, spigot now creates a deep copy of the
itemmeta's persistent data container when the itemmeta
instance is cloned.

This change fixes the bug that, after cloning itemmeta, the container
instance the cloned meta would point to was equal to the original one.
This resulted in two itemmeta instances sharing a single persistent
container.```
#

i would guess that a recipe clones the itemstack, so this should also correctly copy the data container

frigid ember
#

who knows how to fix this 1.8 glitch where you are stuck in a fence or so

slim hemlock
#

have you tried updating to 1.15.2

frigid ember
#

I don't want to though.

#

I want a 1.8 server.

#

I am on a 1.15 client, but i want a 1.8 server.

vernal lance
#

how old is 1.8 these days even?

slim hemlock
#

7 years old?

limber tangle
#

Too old

vernal lance
#

almost 6 years old it seems

ocean anvil
#

Just under 6 years old

#

^

vernal lance
slim hemlock
#

2014

#

6

vernal lance
#

feelsOldMan

slim hemlock
#

literally older than some players

vernal lance
#

I remember vividly when it came out

#

XD

fleet burrow
#

Is there any way I could get the deobfuscated method names net.minecraft.server.v1_15_R1

naive goblet
#

BuildTools do it for you?

#

MCP can also be useful but is outdated

zenith siren
#

In my plugin there is a time where I need to create an NPC. I did it with packets, but is there a way to create an NPC serverside without using an API outside of Bukkit? The packets are clientside.

This is my current code, it works, but I would like to make an NPC serverside and not clientside
https://pastebin.com/4LELPFZi

frigid ember
#

why did 1.15 Minecraft client stop sending PacketPlayInFlying packets?

tiny dagger
#

Anyone knows if buildtools generates javadocs too?

dusky herald
#

No

tiny dagger
#

but any idea how i put them in eclipse?

dusky herald
#

use the link

tiny dagger
#

i doubt it would work like this

dusky herald
#

or

#

use this guide to download a copy of the API

#

locally

fleet crane
#

BuildTools --help

#

Pretty sure there's a doc flag

frigid ember
#

why did 1.15 Minecraft client stop sending PacketPlayInFlying packets?

dusky herald
#

Wym why did it stop sending?

frigid ember
#

It doesn't send anymore

#

They just send Position packets

#

The way 1.15 works is so different to 1.8

#

The way the packets are sent.

#

Not only the flying packet

dusky herald
#

Of course it is, game designs can radically change between updates.

#

and they have changed the game a lot.

frigid ember
#

But the way packets are sent, that is not good.

#

I am an anticheat developer, this makes creating anticheats real difficult.

dusky herald
#

wat

hoary parcel
#

Turns out the protocol changes in a timespan of 7 years ๐Ÿ˜‚

frigid ember
#

Especially if you want to support multiple versions.

#

And not rewrite the check for each version.

hoary parcel
#

Support multiple versions

#

There's your problem

dusky herald
#

Are you sure you want to make plugins then?

frigid ember
#

?

lofty otter
#

Why do people even use those old versions

hoary parcel
#

Support latest and don't have issues ๐Ÿ˜‚

lofty otter
#

Itโ€™s beyond me

frigid ember
#

1.14.4 is fine

#

1.15 changed it

hoary parcel
#

1.14 is a clusterfuck

#

1.15 fixed it

frigid ember
#

1.14.4 sends packets normally

#

1.15 not

dusky herald
#

or 1.15 does it better now

hoary parcel
#

There is no normally

frigid ember
#

ok

#

but different

hoary parcel
#

Normally is what the notchian client does

frigid ember
#

not like its bad

#

just its different

dusky herald
#

A lot of changes get made to packet handling, etc... specifically to improve network performance.

frigid ember
#

but some packets are just "deleted"

dusky herald
#

So, it's bound to change as they optimize code.

frigid ember
#

like PacketPlayInFlying

#

is not sent anymore

hoary parcel
#

There are a few legacy things in the protocol, yes

frigid ember
#

it was avery useful packet, it was sent every tick.

#

one could use it to time other packets

tiny dagger
#

maybe they found a better way to handle flight

frigid ember
#

and code checks like timer.

dusky herald
#

That's not always a good thing, lol.

hoary parcel
#

I just recently stumbled upon the packets for the twitch metadata ๐Ÿ˜‚

frigid ember
#

Now they removed that useful packet.

#

80% of my checks used flying packet.

hoary parcel
#

Well, that's sad for you

frigid ember
#

now they don't send it at all, and it's gone.

tiny dagger
#

lol

hoary parcel
#

Move on

frigid ember
#

no other develoeprs too

#

@hoary parcel shutup, listen ere

#

change is not always bad.

hoary parcel
#

Change is almost never bad

frigid ember
#

I don't know how much experience y'all have with packets.

hoary parcel
#

I created custom clients and server in multiple languages

frigid ember
#

so What

hoary parcel
#

I know one or two things about the protocol ;)

dusky herald
#

I dont see the point in arguing about it. It changed, come up with a solution to resolve your issue.

frigid ember
#

"whyd o you use such old versions anyway"

#

1.8 servers let you support 1.8 and above

#

some users like older versions

#

Let them like it.

#

1.8 pvp, the older animations, ect..

dusky herald
#

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

hoary parcel
#

Well, stop catering to stupid minorities

#

It's a waste of your time

sharp hollow
#

^

hoary parcel
#

The wast majority is on 1.15

frigid ember
#

and most servers are 1.8

#

Hypixel?

#

oh

#

wow

#

dId YoU know

tiny dagger
#

we shouldnt promote 1.8

frigid ember
#

hypixel is 1.8

#

It's not about promoting

tiny dagger
#

especially when it holds us back

hoary parcel
#

Are you hypixel? Do you have a dev team of 50 ppl to maintain custom server software?

frigid ember
#

Are you dumb

#

you are dum

#

I say that, because you called me dumb before.

#

For no reason.

#

Now end this discussion.

#

Stop.

hoary parcel
#

If you don't want to be called dum, don't act dum ๐Ÿคท

dusky herald
#

You really like to argue about dumb stuff dont you

#

lmfao

frigid ember
#

shutup

#

I was bringing up a topic.

#

Not many know about this.

#

That the packets are sent differently

#

In different order and more,

hoary parcel
#

Packets change every fucking version

frigid ember
#

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

hoary parcel
#

It doesn't matter

#

Adapt or die

dusky herald
#

Code for the version you want to code for. When you want to swap over to different versions for multi-version compatibility, you will also have to deal with minor/major changes.

frigid ember
#

I just wanted adiscussion and shut the fuck up

#

threatening to kill me

#

what is wrong with you.

tiny dagger
#

this became a shitshow

frigid ember
#

just stop

#

bye

tiny dagger
#

lemme bring the popcorn

frigid ember
#

bruh

tiny dagger
#

๐Ÿฟ

hoary parcel
#

How am I threating to kill you? Lol

#

Adapt or die is Darwinism

dusky herald
#

Nah, you always act irrational lmao

hoary parcel
#

If you don't adapt to change your product will die

#

Complaining doesn't help

dusky herald
#

You hold a conversation fine every once and awhile, and then when you don't agree with something, or it's not favorable to you, you complain like it's everyone elses fault.

#

Or you keep dragging the conversation after you've already been given an answer

tiny dagger
#

it's your choice to support old software, don't whine about why they did this or that, if you would look closely it makes a lot of sense

dusky herald
#

๐Ÿท

zenith siren
#

In my plugin there is a time where I need to create an NPC. I did it with packets, but is there a way to create an NPC serverside without using an API outside of Bukkit? The packets are clientside.

This is my current code, it works, but I would like to make an NPC serverside and not clientside
https://pastebin.com/4LELPFZi

dusky herald
#

Wouldn't all NPCs be server side for the most part anyways?

#

Would it be better to just "hide" the NPC? Is that what you're trying to do?

fleet burrow
#

Is it possible to override the RecipeChoice.ExactChoice.test method so I could include an amount check into it's functionality?
I tried extending ItemStack and overriding isSimilar but that didn't work
@fleet burrow What I ended up doing is extending ShapedRecipes, overriding the a method copying the other a method and rewriting it to support amounts

#

which worked
then registering it directly with MinecraftServer.getServer().getCraftingManager().addRecipe

tiny dagger
#

whats wrong skrump?

#

seems to be almost right

#

oh

#

server side

#

well then you need to handle all the things

#

fromplayer interact and all that

dusky herald
#

ah yeah, i get it now

tiny dagger
#

best bet would be to look into citizens

ocean anvil
#

Is there a way to queue a function / piece of code to run as soon as soon as an event function is finished?

frigid ember
#

can someone tell me how to join a server that is spigot im new to this

ocean anvil
#

You can join spigot servers on standard Minecraft

#

As you would any other

frigid ember
#

it tells me "cant resolve host name"

ocean anvil
#

Then either:

  • The address you entered doesn't lead to a server
  • The server isn't running / isn't running properly
#

What address did you enter?

frigid ember
#

pvp.land

ocean anvil
#

Oh that server's online

#

Are you sure you entered the correct address?

frigid ember
#

yeah but for some reason it doesnt let me join

ocean anvil
#

Can you join other servers?

frigid ember
#

yes

ocean anvil
#

Can you make sure you entered the right address? If you can connect to other servers, and pvp.land is online, "Can't resolve host name" means you entered an address wrong afaik

frigid ember
#

when i change version for example 1.15.2 it tells me that i need spigot 1.8.8

#

then use 1.8.8 minecraft

#

that server only supports 1.8

ocean anvil
#

That means it's running 1.8.8 Spigot, you'll need to use standard 1.8.8 Minecraft

frigid ember
#

@ocean anvil thanks echo

#

lmao ๐Ÿ˜†

ocean anvil
#

:\

frigid ember
#

y'all have some similar names

#

what a coincidance

#

it works in 1.8 thanks

#

No problem.

#

@ocean anvil 1.8.8 servers support 1.8 -> 1.8.9 minecraft

tiny dagger
#

okay, i managed to put the online javadocs in a project

#

by clicking the link works

#

however not when i hover

dusky herald
#

Idk, I dont have much experience with Eclipse.

#

I never had issues with displaying Javadocs with another IDE like Netbeans

frigid ember
#

I need help.

#

I want to invoke a method and include arguments

#

thisis my current code

#
 for (Method m : methods) {
            if (m.isAnnotationPresent(PacketHandler.class)) {
                    System.out.println(m.getName());
                   try {
                        m.invoke(listener.getClass(), e);
                    } catch (Exception ex) {

              }
        }
  }```
#

Invoking doesn't work

#

nothing happens

#

e is an object I initiated higher in the code

tiny dagger
#

print the exception too

frigid ember
#

there is none

#

i did some debugging

#

the method name is called

#

just invoking is what I need help with

#

oh wait

#

hm

#

why

#

help

#
 for (Method m : methods) {
            if (m.isAnnotationPresent(PacketHandler.class)) {
                    System.out.println(m.getName());
                   try {
                        m.invoke(listener.getClass(), e);
                    } catch (Exception ex) {

              }
        }
  }```
dusky herald
#

Uh, when you use invoke()

frigid ember
#

why

#

i need to handle an error

dusky herald
#

Arent the parameters the arguments?

frigid ember
#

like 3 errors

tiny dagger
#

yup

dusky herald
#

m.invoke(Argument 1, 2, 3...etc)

coarse moon
#

Use invokewith object and parameters

sour perch
#

the first is the instance

frigid ember
#

ok

#

ima try

#

that

#

Yes

#

It works, thank you @coarse moon

#

@sour perch

#

thanks

#

you are the best

sour perch
#

I know

coarse moon
#

๐Ÿ‘

frigid ember
#

๐Ÿ‘

coarse moon
#

you should look at the javadoc sometimes

#

it's pretty useful

frigid ember
#

scroll all the way down.

#

He used an example and used the class in the first parameter

foggy mural
#

Hi

#

I put a topic on the forum but I ask the question here

#

When the sprint key is the same as the one that allows you to move forward
Here's the problem

#

oh i can't upload a gif

#

it's my problem

frigid ember
mental coral
#

FelipeRankup.Main.onEnable(Main.java:36)
FelipeRankup.APIS.PlaceHolder.registerRanksp(PlaceHolder.java:22)

#

What are you doing around those sections?

frigid ember
#

in main this:
PlaceHolder.registerRanksp();
and in placeholder this:
PlaceholderAPI.registerPlaceholder((Plugin)Main.m, "feliprerank", (PlaceholderReplacer)new PlaceholderReplacer() {

wraith thicket
#

Most likely Main.m is null. You should be using dependency injection instead of such a sloppy attempt at a singleton pattern

mental coral
#

@frigid ember perhaps try to disable WitherAC. It may be trying to detect it as autosprint or something.

#

It generally seems to be when you try to doubletap W with sprint bound to W (while connected to your server at least).

#

Likely just a minecraft quirk.

wraith thicket
#

You wanted to refer to Raphy with your last comment, @mental coral

mental coral
#

Oops

#

@foggy mural

Perhaps try to disable WitherAC. It may be trying to detect it as autosprint or something.
It generally seems to be when you try to doubletap W with sprint bound to W (while connected to your server at least).
Likely just a minecraft quirk.

#

Best fix is just dont duel bind controls, but possibly something on your server just as viaversion support or something of the like combined with a relatively new anti cheat.

severe hemlock
#

I set an multiverse modify rule using '/mvm add bedRespawn true' and then when I die i still respawn at world spawn help

#

do i need to like reload or something?

wraith thicket
#

By simply looking at the command you're describing, I'd assume that it's stopped you from respawning at your bed. Seeing as you describe respawning at world spawn, it sounds like it's working as expected.

blazing owl
#

Hi, how to rotate player head ? Im try this, but it not working. Player sit on armorstand

frigid ember
#

Player p = (Player) sender;

Location loc = p.getLocation();
loc.setPitch(90F);
loc.setYaw(90F);
p.teleport(loc);

#

?

#

๐ŸŒšok

blazing owl
#

it teleport

#

and player sit on armor stand

frigid ember
#

hm

#

does large file size of a plugin affect its performance while it runs on the server?

#

@mental coral

#

a plugin I made has a lot of dependencies, and yes. A LOT.

#

so its almost 2000KB

#

1,700KB or so

mental coral
#

It may lightly affect the initial startup, but unlikely that once it is loaded it will cause issues.

frigid ember
#

alright

#

btw

#

the authlib

#

should it be compiled

#

or provided

mental coral
#

If you 100% know the dependancies will be available, you can set them as provided and reduce jar sizes however.

frigid ember
#

compiled right?

#

i made a craftbukkit plugin so it should be compliled

hoary parcel
#

It's provided

#

Nms provides it

frigid ember
#

really

#

alright

hoary parcel
#

How else would the server do auth, without authlib? ^^

frigid ember
#

magic

#

im joking bruh

mental coral
#

You can set things as provided if you know they will be there. If you are ever unsure, set it provided and try to run it. It'll yell at you and give you ClassNotFound exceptions.

frigid ember
#

i know what provided means

#

but thanks

#

๐ŸŒš

tiny dagger
#

i would be down to use maven but it doesn't work with libraries of same type (for nms classed)

frigid ember
#

internal jupiter

wheat sandal
#

Hello, can anyone tell me th why you guys dont have the 1.7.10 buildtools anymore?

hoary parcel
#

Because 1.7 is deeeeeed

#

And 1.7 never used buildtools

wheat sandal
#

aww i was hoping it did

hoary parcel
#

The build process used for 1.7 isn't available anymore since it infringes on mojangs copyright

wheat sandal
#

so you mean i pretty much cant legally make 1.

#

1.7 plugins?

subtle blade
#

You can make 1.7 plugins all you want. You can't legally obtain a 1.7.10 server

#

Though really... you're working with a 5+ year old version of the game...

frigid ember
#

I cant verify

subtle blade
#

Give it time. try every 15 minutes or so

devout sierra
#

I have a question.
Does the players render distance influence the render distance of the server?

#

So let's say the player only has 2chunks but the server offers 7

subtle blade
#

No. Minimum is used

devout sierra
#

So 7 is used?

subtle blade
#

If player is at 10 but server is at 7, 7 is used. If player is at 2, 2 is used for that player only

#

Server render distance is a maximum value

hoary parcel
#

Pretty sure server still sends everything tho

subtle blade
#

I believe you're right

hoary parcel
#

It's kinda stupid

devout sierra
#

Oh so you could theoretically squeeze out more performance if you force people to have lower render distances in selected areas...

subtle blade
#

It's more of a client performance thing as far as I'm aware

hoary parcel
#

No

devout sierra
#

Meh

subtle blade
#

Though you might reduce a bit of server load

hoary parcel
#

View distance is a server thing too

subtle blade
#

I wasn't done my sentence PES_HyperReee

devout sierra
#

๐Ÿ˜‚

hoary parcel
#

As you load way more chunks (which is fine with async chunk loading) but you also tick the chunks (which isn't fine)

#

Leaf has a new "no tick view distance" where server still sends outer chunks but doesn't tick them, it's quite nice

#

Since players doesn't notice that you limit view distance for performance

#

He's working on upstreaming that

#

And no, upstream isn't spigot ๐Ÿ˜‚

devout sierra
#

So basically the players sees 7 but the server only renders like the one you're in?

hoary parcel
#

Well, you could do that but that's dum

subtle blade
#

Upstream should be Spigot

hoary parcel
#

Most servers use a view distance of 5

devout sierra
#

Depends on what you do :)

hoary parcel
#

And then you can set no tick to 10

#

Choco that patch wouldn't work on spigot since spigot doesn't have async chunk loading

#

It would absolutly destroy performance

#

Md patched async chunk loading out of the server ever since mojang added it iirc

subtle blade
#

So I fail to see why it's being discussed on the Spigot server PES_WowLegsaPES_Wow

silk bane
#

vanilla has async chunk loading?

hoary parcel
#

Yep

silk bane
#

whaaaaa

hoary parcel
#

It's shit tho ๐Ÿ˜‚

devout sierra
#

Okay so sum this up, what I planned to do won't work

hoary parcel
#

Oh, something of interest here, there are chances that we will get packet batching

#

Or at least a multi particle packet

#

That would be reeaaly cool

devout sierra
#

What's the benifit?

subtle blade
#

Less things to send over the network

hoary parcel
#

ZLP there was a patch for dynamic view distance, which is what you want, but that was dropped with 1.14 iirc since it broke with the new chunk system

subtle blade
#

Consequently, less network congestion

hoary parcel
#

So basically, better client and server performance if you use lots of particles for trails and animations and shit

#

Which is why we requested it

devout sierra
#

Already got me with the network decrease

#

Nuts... I'm using 1.15.2

hoary parcel
#

Minecraft sends an insane amount of packets, maybe we can get that down a bit

tiny dagger
#

thank you coco, it works

frigid ember
#

Verification bot broken?

#

Not getting any dm on spigot

devout sierra
#

Well.. what I'm planning to do is to squeeze out as much view distance as possible if needed but stall it to spare performance when it's not... It makes no sense to see 10 chunks for example when you can't even see above the house in the city you're in

#

Let alone caves

hoary parcel
#

Sadly that's not easily possible anymore

#

So the fake view distance to reduce chunk ticking is your best bet

devout sierra
#

We can't switch to paper or whatever else there is so I really hope spigot adds features for something like this

hoary parcel
#

Or just straight up reduce view distance if you stuck on spigot

devout sierra
#

Does chunk ticking inflict random tick speeds or what does it do?

hoary parcel
#

Chunk ticking is chunk ticking

devout sierra
#

Because I really don't like the idea of having a laagy ai experience

hoary parcel
#

Block, TE, entity, random ticks, all the ticks

devout sierra
#

Oh well that sucks

#

And its global or adjustable in radius?
If there 2 chunks next to me work normal that's more than I need

#

Sorry for asking such questions btw, I have little knowledge about such topics but they may come in handy

candid ore
#

does any body know how to fix a corrupt chunk?

tender mango
#

does anyone know how to fix the you dont have access to the command

wind dock
#

anyone know how to fix the uknown host error half my friends get when they try to join my server?(hosted on my own hardware)

undone terrace
#

Can someone help me?

#

My Kitpvp plugin and my tags plugin doesnt work help me someone ;_;

slim hemlock
#

is there a way to make bukkirunnables not anonymous so I can tell what I'm looking at in stacktraces and timings?

hoary parcel
#

public class MyStupidShit extends BukkitRunnable

#

but anonymous classes have an id $1 for example, so its the first one in your class

silk bane
#

an alternative is to write a method directly in your class and pass it to the scheduler with a method reference - then you avoid an extra class and the method name appears directly in the stack trace

void task() {
    // bad code that throws errors
}

void schedule() {
    scheduler.runTaskLater(plugin, this::task, 21);
}
frigid ember
#

Sorry to disturb, but is it possible to ask the spigot support to give us a plugin that we bought that has been deleted?

cloud sparrow
#

nope

#

don't think you can as it was deleted for a reason.

frigid ember
#

It has been deleted by the developer, it's a prenium plugin.

naive goblet
#

Well I don't think it's possible

haughty stag
#

Try contacting the developer?

frigid ember
#

The developer to quit everything. He did the wrong thing.

naive goblet
#

I mean as far as I know no one can really save you in this case but I might be wrong.

frigid ember
#

But SpigotMc have an archive? He always offers to download the plugin but he tells me that I don't have permission

naive goblet
#

Who's he?

frigid ember
#

The developer?

naive goblet
#

Well I mean yes you can try atleast I guess.

#

What plugin is it even?

naive goblet
#

i mean I do think you should have access to this plugin since you once bought it from him but I don't really know if it's possible to reobtain that source. I'd suggest contacting a resource staff perhaps.

frigid ember
#

Okay, thank you for your help

#

I need some help. I want to run a server on craftbukkit/spigot snapshots(like minecraft snapshots but with plugins) but I don't know where I can download the snapshots where can I?
I need extended snapshots(like from spigot, craftbukkit, paper)

naive goblet
#

The latest 1.16 experimental versions?

frigid ember
#

The latest 1.16 experimental versions?
Yeah

#

Guys, is there a obj.setFooter("footer"); how else would i set the footer of a scoreboard?

naive goblet
#

I mean the last line should be the footer

frigid ember
#

Yeah, but I thought there used to be an actuall footer because I don't want it to be a row I wanted it to be its own footer

naive goblet
#

Idk if there's some sort of API for it that can help out but I think that's how you would have to do it.

#

@frigid ember Idk if it's possible to access the experiment versions. You tried --rev in BuildTools?

frigid ember
#

--rev in BuildTools?

naive goblet
#

Hm yes

frigid ember
#

Well the latest one is 1.15.2

#

But i'll try

#

But then how do I want to say the version

#

Just 1.16?

naive goblet
#

Hmm maybe the builds isn't accessible.

frigid ember
#

Only for vanillas

naive goblet
#

but it would be like 20w08

frigid ember
#

Ah

naive goblet
#

Or something (if)

frigid ember
#

I tried 20w15

#

Yeah

#

I tried launching the snapchats

#

Copied the version name(in the versions folder)

naive goblet
#

I guess for now it's not public

frigid ember
#

Yeah

#

It's hard accessible with plugins

naive goblet
#

yeah

frigid ember
#

BUt servers are running on snapshots

#

That is actually rare

#
     "name": "2665",
        "description": "Jenkins build 2665",
        "refs": {
                "BuildData": "455d45a4244894335cd07451bdda79ccd380aff6",
                "Bukkit": "7361a62ec7fd9e572d727caebd9ac47e1bd69990",
                "CraftBukkit": "ce66f6937b24f2861a8d147cac23d1733ef7b3f4",
                "Spigot": "e7dc2f5347c48d92355d3b13614909ead30022f5"
        },
        "toolsVersion": 105,
        "javaVersions": [52, 58]
#

Dunno if u know this

#

Tried latest

#

Nopes

#

Latest is 1.15.2

naive goblet
#

Actually Iโ€™ve really no idea

frigid ember
#

So there is no way that I can support my server with plugins?

#

Snapshots(version)

#

Cuz my friend did

#

He found a way

#

Tho I don't know how.

silver pewter
#

Hello, how can I disable all throwable items in 1.8 thanks

naive goblet
#

Wym

keen swift
#

ะšั‚ะพ ั€ัƒััะบะธะน

silk bane
#

probably just cancel all interact events

median wing
#

What is the particle effect for Exp bottle levels in spigot?

subtle blade
#

That's an entity, not an effect

#

xp orb

median wing
#

Ah, I thought it would be usable as a particle! No worries

inland depot
#

I did !verify (my username) in the verification channel and the bot said it sent a DM but i checked my spigot account and I haven't gotten any new dms

hoary parcel
#

wait and retry

old barn
#

Does anyone know how to check if the player is in combat with the CombatLog plugin?

harsh anvil
#

read their docs

#

if there are any lul

harsh anvil
#

bruh

old barn
#

I saw it, but I can't understand.
I wanted to create an "if (p.hastagcombat)", but I'm not getting it.

#

I not english, sry for errors

hoary parcel
#

check if the player is in this map

tiny dagger
#

string instead of uuid ๐Ÿค”

old barn
#

how do I do that? ;-;

frigid ember
#

I'm trying load locale.yml in my plugin

#

anyone knows how to fix the error here: YamlConfiguration configuration = YamlConfiguration.loadConfiguration(plugin.getResource("locale.yml"));

hoary parcel
#

@old barn just get an instance to that plugin can access the public field?

old barn
#

@hoary parcel ?

tiny dagger
minor spruce
#

whats the benefit of using bitwise and bitshift operators? i've noticed they're used a lot in chunk stuff, are they just faster?

silk bane
#

yeah

tepid quiver
#

Hi! Is there a working configuration for spigot + multiverse? I tried spigot 1.14.4 and 1.15.2 with Multiverse-Core 4.1.0 and 4.1.1 (w java 8) and it always crash when I do mvcreate with players online... Any suggestions? https://pastebin.com/VPWXcnW2

subtle blade
#

Faster and less memory to hold, andy

#

Bitmasks come in handy for transferring multiple boolean states over a network

#

You can compress 32 booleans into a single int value, for instance.

white meteor
#

This is cool af

minor spruce
#

ah thats clever

bright forge
#

Hey, im new to git and i want to patch some stuff from Spigot. Can someone help me getting 1.8.8 Spigot source? Thx.

subtle blade
#

It's all in BuildTools

bright forge
#

Okay thx

tepid quiver
#

Nobody uses multiverse?

silk bane
#

correct

bright forge
#

Can you help me with paper? Im trying to get that fork but i got banned from they disc. because someone started saying that im outdated

#

And i wasnt able to fully understand thepatch system

silk bane
#

choco's about to start yelling at you

bright forge
#

well

#

ill better go then

#

good bye

#

before i get banned from here too

tepid quiver
#

Is there a better alternative for multiworld management?

bright forge
#

using the api directly

#

or multiworld, i've never liked mv

sour perch
#

I've heard hyperverse is nice

#

but it's not finished yet xD

subtle blade
#

We don't support out of date versions either. You really should be updating. The only kind of support working with older versions you're going to get is telling you that you need to use BuildTools. Beyond that, you're on your own

#

1.8.8 is almost 5 years old

tepid quiver
#

ok. I also tried with java 11, 13 and 14, but mv seems to support only 8. As I understand, the API, is for plugins development.. is there a REST API that can be used?

grim sapphire
#

Can an ubuntu 18.04 script run on Deb10?

bright forge
#

@subtle blade As i said in the paper discord, since 1.9 the tps are like crap when having 500 users something that didn't happen back with 1.8.8

#

They banned me from saying this, plus, i cant fully replicate old mechanics on 1.15.2 i tried so hard

#

2 years trying to get 1.12.2 stable but im already sick, i need to roll back to 1.8.8

potent creek
#

hey am I doing this right?

items.containsEnchantment(Enchantment.MENDING)

it appears to always return false, even when the item is ItemStack{ENCHANTED_BOOK x 1, ENCHANTED_META:{meta-type=ENCHANTED, stored-enchants={MENDING=1}}}

bright forge
#

Hmm maybe books store enchantments differently

hoary parcel
#

yes

potent creek
#

any ideas? I am out of creativity

hoary parcel
#

EnchantmentStorageMeta

#

item.getMeta, cast as EnchantmentStorageMeta, check hasStoredEnchant