#help-archived

1 messages Β· Page 144 of 1

inland oxide
#

well that would end up cancelling the listing

#

no, not api

patent monolith
#

what are you making? is it a command that a player can run?

inland oxide
#

i'm modifying the code that writes a auction listing to a database

patent monolith
#

and when does that happen?

#

is it periodic? whenever a player changes something in the auction?

inland oxide
#

when they list something in the auction

patent monolith
#

ok

lapis plinth
#

whats the method to clear all effects from a player/entity??

inland oxide
#

with a commnad

#

so not a periodic transaction, but concerned about the main thread taking a long time

patent monolith
inland oxide
#

maybe I should just make it in the main thread

#

well if its for the database connection or write, would cancel the listing, allowing the item to be returned to the player

patent monolith
#

it can be done async then

#

also, dont take the item until it is confirmed that it went through

#

no "returning" the item

inland oxide
#

thats a sure way to add a dup exploit

arctic cloud
#

just assume this is java but is there anything wrong with this code for fishing? js EventManager.on("PlayerFish", function(event) { const player = event.getPlayer(); if(event.getCaught() != null) { const caughtItem = event.getCaught(); let itemStack = caughtItem.getItemStack(); const newItemStack = new ItemStack(Material.DIAMOND, 64); itemStack = newItemStack; } });

patent monolith
#

not if it doesnt go through or fails

arctic cloud
#

im not sure if im just meant to change the original itemstack or if I should remove it and just give a new one to the player

patent monolith
#

for the query that doesnt put the item in, dont take the item

inland oxide
#

I always remove, try to add, then if fails return

arctic cloud
#

allr ty

patent monolith
#

if you do like an insert query, im pretty sure it wont update the db

#

if it fails

#

also, you dont want it to "eat" player's items just in case the server crashes

#

again, obviously take the item only after the insert item query

frigid ember
#

anyone else having issues with attributes in the latest build?

inland oxide
#

wdym attributes? in the log?

frigid ember
#

What is the best way to add a ServerPing.PlayerInfo to a ServerPing.PlayerInfo[]?

#

no attributes like generic movement speed, armor, armor toughness, etc

#

whenever i do Player#getAttribute it returns null

subtle blade
#

just assume this is java but is there anything wrong with this code for fishing? js EventManager.on("PlayerFish", function(event) { const player = event.getPlayer(); if(event.getCaught() != null) { const caughtItem = event.getCaught(); let itemStack = caughtItem.getItemStack(); const newItemStack = new ItemStack(Material.DIAMOND, 64); itemStack = newItemStack; } });
@arctic cloud You don't ever set the item?

#

You're just re-assigning a local var

frigid ember
#

it was working fine in 1.15.2, but when i updated it stopped working

#

i can pull up the error it gave me actually

#

What is the best way to add a ServerPing.PlayerInfo to a ServerPing.PlayerInfo[]?
Just doing #push isnt working.

arctic cloud
#

well I thought it would automatically set the old item stack but

#

I figured it out with

#

event.getCaught().setItemStack(newItemStack);

inland oxide
#

why would you assign player before the condition?

arctic cloud
#

I just always do that lol

subtle blade
#

Right. You're only assigning a local var. Java doesn't have pointers, it has references

#

Not to mention that Bukkit's ItemStacks are mostly cloned

arctic cloud
#

I see, I'll keep that in mind ty

inland oxide
#

@frigid ember how are you getting attributes?

subtle blade
#

Poorgrammer, update

#

Was a bug, fixed last night

#

Keep your builds up to date

frigid ember
#

oh

#

ok lemme update then try it again then

subtle blade
#

Gotta remember that CraftBukkit, Bukkit and Spigot update much more frequently than Minecraft does. There are hundreds of releases for every minor release of Minecraft

frigid ember
#

got it

#

i just run buildtools again right?

#

no need to mess with the pom.xml?

patent monolith
#

i think the pom is fine

subtle blade
#

Yes πŸ™‚

frigid ember
#

ok ill let u know if i stil have any problems after this, thanks guys

graceful silo
#

@waxen ridge glad it worked out for ya ;3

subtle blade
#

Re-running BuildTools should local-install. Or if you're pulling your dependency from the repository, give your Maven project a refresh

#

Either way, your server has to be up to date ;P

frigid ember
crimson sandal
#

I'm just about to add Travis-ci to my project, is there anything I need to include specifically in my yml for Spigot?

frigid ember
#

everything works! thanks choco :)

subtle blade
inland oxide
#

anyway, I can't take from them after the database transaction because there is an optional menu involved that gives player opportunity to drop the item in hand, and makes the whole process more complex

wheat mirage
#

return new ItemStack(nbtTagCompoundRoot); I know, NMS help, shoot me.

#

What's the best way to get an itemstack from a serialized NBTTagCompound in 1.16

#

For reference, I'm updating from 1.12

inland oxide
#

NMS, then NBTTagCompound tag = MojangsonParser.parse(nbt);

#

oh wayt, backwards

wheat mirage
#

Basically I've loaded the NBT Tag Compound from a string

#

How do I then convert that into an ItemStack

inland oxide
#

you just want to make an itemstack and set the tag?

wheat mirage
#

the previously used constructor is here

#
        this.load(nbttagcompound);
        this.checkEmpty();
    }```
#

As you see, it's now private.

#

and so is this.load()

#

@inland oxide I'm unsure if that works, as the tag and the actual item nbt may be seperate?

#

Not sure, not done item nbt in a while

inland oxide
#

I don't follow, and ItemStack has more stuff than just NBT

wheat mirage
#
        try {
            return new ItemStack(nbttagcompound);
        } catch (RuntimeException var2) {
            LOGGER.debug("Tried to load invalid item: {}", nbttagcompound, var2);
            return b;
        }
    }```
#

Ah, it's been replaced with a factory

#

For anyone else who's having this issue, just call this method inside NMS's ItemStack.java

inland oxide
#

hmm

wheat mirage
#

Seems a lot of NBT stuff have been given factories instead of public constructors

#

Wonder why

#

NBTTagString is another case

#

Oh btw, thanks @inland oxide!

inland oxide
#

for?

frigid ember
#

How would I change the chat color for a join message?

#

i'm assuming it involves net.md_5.bungee.api.ChatColor

lone fog
#

event.setJoinMessage(string);

frigid ember
#

how do i set the color though

lone fog
#

Same way you color everything else

#

ChatColor

frigid ember
#

ive never colored something before ;-;

#

this is the first plugin ive made lol

opal bay
#

all good man

#

do you want to hard code the colors or soft code them?

lone fog
#

ChatColor.GREEN or ChatColor.of(#xxxxxx);

frigid ember
#

hard code

opal bay
#

oh okay then just what Coll said

frigid ember
#

Is there a way to take advantage of Villager UI's ? Like, is there a way to create a villager UI like the normally have, but to add in your own transactions?

opal bay
#

there is but I haven't tried to fiddle with it ): I've seen some plugins modify them though

tiny dagger
#

definetly maklegend

frigid ember
#

yea cuz I want to create my own transactions with villagers

tiny dagger
#

probabily it would require reflections to expose it

frigid ember
#

ohhh lorddddddddd

#

is there a way to deal with nms easier

glossy needle
#

is it necessary to do the force upgrade parameter?

tiny dagger
#

h shop

neat orbit
#

anyone who's good with silkspawners could come help me out? everytime we spawn a spawner that isnt pig it quickly turns to pig

frigid ember
#

Its insanely time-consuming to reflect into each class and guess what each method does

#

like what y() does

#

nor how to use them

wheat mirage
#

@inland oxide you taught me about MojangsonParser πŸ™‚

tiny dagger
#

minidigger did a tool regarding that maklegend

frigid ember
#

just throw it in my dependencies sort of tool?

neat orbit
#

anyone with silkspawner experience?

wheat mirage
#

Also, if anyone fancies giving me a hand with how to register custom entities in 1.16, would be much appreciated. My old code is just

        MinecraftKey minecraftKey = new MinecraftKey(entityName);
        EntityTypes.b.a(entityId, minecraftKey, entityClass);
    }```
tiny dagger
#

i think

wheat mirage
#

It seems the entity registration system has been drastically changed since 1.16 though

frigid ember
#

@tiny dagger What do you use to manage nms easier

tidal whale
#

Not sure if this was answered, but was this fixed ? "The world-container option in bukkit.yml doesn't seem to be working with 1.16.1
It created a new world for me on the root directory"

frigid ember
#

Obviously you (and other devs here) don't spend 20 hours a day guessing what obfuscated methods do

pure bone
#

To make plugins with intellij is there any other stuff I will have to download for intellij to work?

tiny dagger
#

i use my trained eye tbh

#

it's easy to tell what something does if you check the nearby code

inland oxide
#

plugins for IntelliJ?

#

should have the basics: ant, gradle, maven already bundled

frigid ember
#

going back to what i asked before, how do i use ChatColor to color a chat message

tiny dagger
#

just append it

#

to text

#

or use toString

#

if you append to text it will automatically apply toString

frigid ember
tiny dagger
#

yes

frigid ember
#

oh, thanks

quaint steppe
#

HMm Not sure

lone fog
#

Color before text

quaint steppe
#

But Does ChatColor.AQUA.BOLD works?

tiny dagger
#

yeah color before text

quaint steppe
#

LIke i get warning

tiny dagger
#

yes and no

quaint steppe
#

im not sure

tiny dagger
#

it gives bold

#

only

#

you're going thru right now

#

like how to explain

quaint steppe
#
event.setJoinMessage(ChatColor.AQUA + "Stuffs");
wheat mirage
#

@tiny dagger Know much about the new entity registration system?

quaint steppe
#

How to bold

#

with color?

tiny dagger
#

1.14+?

wheat mirage
#

Atleast the one that's currently being used

#

Yeah exactly

#

Unsure how to register an entity now

tiny dagger
#

well it just works now

quaint steppe
#

nop

tiny dagger
#

no need to register them

wheat mirage
#

Oh you don't even need to register?

#

Sweet

tiny dagger
#

yea you don't

#

entitytypes

wheat mirage
#

Is there any downside for using super(world, EntityTypes.BAT) etc?

tiny dagger
#

to define the entity speciaality

#

don't use it where it's not supposed to be

quaint steppe
#

anyway to use Pastebin or hastebin for logs

tiny dagger
#

only if you extend a bat

quaint steppe
#

in spigot?

wheat mirage
#

None of the base mc classes seem to directly reference their own EntityTypes constant

frigid ember
#

why when I try to upload a skript on the fourm its dont give me

#

?

tiny dagger
#

well some are complex entities

#

like specialized

wheat mirage
#

Fair enough

tiny dagger
#

like zombies, drowners etc

wheat mirage
#

So I should make my constructor match the super one?

#

Or just include it in the super() call so I only need to use the World to construct

quaint steppe
#

Not really

tiny dagger
#

wait lemme give youi an examplr

wheat mirage
#
        super(EntityTypes.BAT, world);
        this.following = owner;
    }```
#

This is what I've changed it to

odd knoll
#

@dusty warren as a resource?

wheat mirage
#

Is this incorrect?

tiny dagger
#

yes

#

no

#

it's correct

quaint steppe
#

I'm Not sure If That super() is required tho

tiny dagger
#

it is

wheat mirage
#

Yeah it is

#

And thanks @tiny dagger, big help

tiny dagger
#

no problem

wheat mirage
#

Confused as to why EntityBat (the super) doesn't do it that way also

quaint steppe
#

Like When i learned it never showed me about constructing super Constucter

wheat mirage
#

But wouldn't be the first time Mojang did something non-intuitive

tiny dagger
#

it extends some ambient entity or something that doesn't require a parameter

wheat mirage
#
        super(entitytypes, world);
        this.setAsleep(true);
    }```
#

@tiny dagger

#

It extends entityambient, but entityambient requires it too

#

Hmmm

#

I suppose it's just for future-proofing

#

In case they add another entity extending bat in future?

#

Who knows, but that's my best guess

lone fog
#

Anyone per chance messed with structures in 1.16?

wheat mirage
#

@lone fog Nah, but interested in being able to change loot chest / minecart chest loot tables

tiny dagger
#

probabily

#

but it's fine to set the entitytype inside

wheat mirage
#

Thanks FreeStyler!

#

Much appreciate the help

tiny dagger
#

glad

lone fog
#

Game is flattening the terrain like it should

#

But it's not actually placing the structure

frigid ember
#

@tiny dagger What do you mean check the nearby code

#

When you reflect into a class, you can ge the methods and fields and stuff

#

But you would have no way of knowing what a() or y() do

wheat mirage
#

@frigid ember You can decompile the NMS classes you're using on-the-fly with IntelliJ

#

And inspect the code

frigid ember
#

I see

#

Is there a way to do that with eclipse?

wheat mirage
#

There's also ModCoderPack which actually attempts to de-obfuscate

tiny dagger
#

i usually use reflect to get unaccessible methods fields

frigid ember
#

I just need help on this front in terms of efficiency

wheat mirage
#

But I don't think it's been updated since 1.12

#

Yeah it hasn't

#

But it was fantastic for understanding how the complex functions work

#

And some things may still be the same

frigid ember
#

So, how do you handle your nms code now?

wheat mirage
#

I just decompile and look

daring nova
#

mappings for new versions are still maintained

wheat mirage
#

If I don't understand it, I copy it and de-obfuscate by hand

daring nova
#

though not as well as until 1.12

frigid ember
#

I've never actually decompiled an external jar

wheat mirage
#

And @daring nova really?

daring nova
#

yes

#

look up mcpbot

wheat mirage
#

How do I get that working?

#

Will do

frigid ember
#

How does one decompile an external jar with eclipse?

daring nova
#

there was a tutorial somewhere on how to get mcp to work with newer versions, but I've never actually needed it

wheat mirage
#

Yeah I do a lot with custom entities, so I might

#

@frigid ember I'll be honest, IntelliJ is much better

#

I used to use eclipse

#

It's so much easier to just make the leap

#

IntelliJ community is great

tiny dagger
#

they aren't tho

wheat mirage
#

and jetbrains have IDEs for any code you want to write

frigid ember
#

Yea I used to use IntelliJ

#

But my work only uses Eclipse

wheat mirage
#

Ouch

tiny dagger
#

i can't remember the last day an intellij user didn't mocked me for still using eclipse

#

πŸ‘€

frigid ember
#

^

odd knoll
#

I use IntelliJ since I heavily use TeamCity now. I can't go back even if I wanted.

wheat mirage
#

Idk I don't think bad of anyone for still using it

frigid ember
#

I think Eclipse is good tbh

wheat mirage
#

But IntelliJ has been great for me

#

And I've never looked back

#

It gave me everything I wished eclipse did

odd knoll
#

With a better look.

wheat mirage
#

Do what you'd like, but I use JetBrains for whatever I can these days

#

I use it for web, python, you name it

frigid ember
#

Yea I know its good

wheat mirage
#

no need to learn a new IDE every time

odd knoll
#

JetBrains whacks tons of different lang support into every IDE as well. Unnecessary amounts.

frigid ember
#

@wheat mirage what jar should I be decompiling?

tiny dagger
#

they should keep their ides different but i guess it would increase the mentenance time

wheat mirage
#

@tiny dagger They're not too similar, but the UI design is similar enough to be comfortable

#

Everything of a similar function goes into a similar place

#

@frigid ember You should be able to just decompile any class you wany

#

In IntelliJ I just use "Go to declaration" and it decompiles using fernflower

frigid ember
#

Gotchya

#

Question for you guys

tiny dagger
#

there is a jd gui extension for eclipse btw

frigid ember
#

Is this what I want for creating villager UI trade screens?

lone fog
#

Nope still can't get structures working

#

Wack

pastel condor
#

I can’t even get multiverse working lmao

wheat mirage
#

@frigid ember Seems like it!

green cedar
#

Do you have to do something to convert maps from 1.15.2 to 1.16.1 ? Every map is acting like a brand new regenerated map. Nothing is the same. All builds are gone.

#

Or are maps just not compatible?

wheat mirage
#

forceUpdate or something

#

Google around

#

all of the IRC links are dead

#

Or maybe I need an IRC client installed

#

Which I'd rather just use a web one

mild phoenix
#

Hi. I own a small server and am trying to update from Paper 1.15.2 to Spigot 1.16.1. Everything is working fine, except all of my worlds from before updating crash every time a brand new chunk (never loaded in before) is created in a world from before updating. I need assistance. Can anyone help me?

daring nova
#

you don't need to join the irc

#

just go to data exports

wheat mirage
#

Oh wicked

#

Thanks @daring nova , how long do you think it'll take for 1.16 to release there also?

#

But 1.15 is still good

daring nova
#

Β―_(ツ)_/Β―

quartz trench
#

Have you run with forceupgrade

daring nova
#

there are still no 1.15.2 mappings, so probably quite a while

wheat mirage
#

Makes sense

mild phoenix
#

@quartz trench Are you talking to me??

quartz trench
#

yeah

mild phoenix
#

I'm on Apex Hosting. How do I do that?

quartz trench
#

Oh Idk I would hope they have an option for it or if they let you edit the startup command

mild phoenix
#

It's a startup parameter, correct?

tall crystal
#

Ok the ChatColor.of doesn't do what I thought it did

wheat mirage
#

@mild phoenix there should be launch options somewhere. Append the force-upgrade flag

mild phoenix
#

Will this delete any files in the FTP? @wheat mirage

wheat mirage
#

Shouldn't but always make a backup

#

of your world

#

Not of your entire setup

quartz trench
#

You should append --forceUpgrade to the end of the startup command

pastel condor
#

Yeah, 1.16 broke my server

mild phoenix
#

Roger

pastel condor
#

Well actually the worlds

green cedar
#

Is the --forceUpgrade a one time thing, or it needs to be there forever?

wheat mirage
#

One time

pastel condor
#

One time

quartz trench
#

one time each minecraft version update

mild phoenix
#

I'm attempting now.

#

I should only run --forceupgrade once, correct?

subtle blade
#

Yes

mild phoenix
#

Alright.

wheat mirage
#

@daring nova I have realised I have absolutely no idea how to use these CSV files

#

Last time I used MCP you just downloaded the de-obfuscated mc source

daring nova
#

yeah you'd have to look up the tutorial

mild phoenix
#

Doesn't work @wheat mirage

daring nova
#

I remember also struggling with it

mild phoenix
#

Is there anything else I can do? I need to get this fixed soon.

grand current
#

oh fuck i did -forceupdate
instead of --forceupdate
it worked xd

vapid mantle
#

Hello, has anyone been having the issue where launcher a server with spigot resets the nether, but launching vanilla brings it back

mild phoenix
#

--forceupdate doesn't work for me.

#

Wait

#

Apex Hosting has --forceUpgrade, is that the same??

wheat mirage
#

@daring nova Yeah this is confusing, but it seems it's available as a bot in sponge's discord too, I'm going to give that a check

quartz trench
#

? afaik only --forceUpgrade works

mild phoenix
#

that's what I have, but it acts like it never even worked

daring nova
wheat mirage
#

@daring nova thanks

mild phoenix
#

Can anyone help me or should I look for support somewhere else.

ebon snow
#

what does forceUpgrade actually do?

mild phoenix
#

Nothing, apparently

#

I just need help fixing this issue. I can't load any old worlds.

wheat mirage
tall crystal
#

so is there a reason to ChatColor.of(String) existing if it doesn't return the proper hex color?

wheat mirage
#

@tall crystal What does it actually do?

tall crystal
#

Well all its so far is pull from the old 16 colors

lone fog
#

Seemed to work for me

#

ChatColor.of(#ffffff)

tall crystal
#

oh wait

#

I think I know what I did lol

#

How it ends up working is that it adds the section sign which I guess if I do ChatColor.translatealternateColorCodes it translates it as if it was the other ones

#

ahh got it also had an issue with sending it in a TextComponent removing that fixed it

inland oxide
#

why is it that when I try to build the javadocs for bungeecord, there are dependencies missing?

wheat mirage
#

@proven vale Why can't it be an armorstand?

#

Looks like armorstands to me

#

What part of that uses a scoreboard lol

#

@proven vale

#

You've not explained anything

floral isle
#

hi I was looking for a method to add particles to the npc i use Citizens API

wheat mirage
#

Yeah use multiple armorstands

#

Lmfao

#

You don't need scoreboards to make names

#

Primary example of research the entities and how they work, like armorstands

frigid ember
#

How do I change my username?

tiny dagger
#

you donate 10 bucks to get the right

frigid ember
#

I did. Im redstone. What do I do after?

tiny dagger
#

look at profile

frigid ember
#

Then what?

tiny dagger
#

last line

frigid ember
#

Jesus im blind

#

Thank you

#

why does updating to 1.16.1 spigot reset the nether? anyway for spigot not to do this?

dusk ferry
#

Alright boys, looking for something a bit complicated.

#

Basically, I want a player join event on Spigot. I want it to create a string based on permission / group information. I then need that string to be passed to a bungee cord plugin / bridge or something, for the bungee cord plugin to run a command on the proxy.

#

Has anybody has any experience in something like that?

#

Tried using this

#

But it seems terribly outdated, doesn't work

elder lark
#

the most obvious way would be to use a mysql database, but it seems overkill

#

and unnecessairy

dusk ferry
#

I was hoping someone knew how to send some sort of packet or something.

#

I could use MySQL I guess. Big effort.

elder lark
#

There is a way to do it without mysql for sure, but i dont know it, never tried

lime hound
#

objects disappear when leaving the server on 1.16 spigot. what to do?

tall crystal
#

Do any of you still have an issue where the Bossbar from another server still exists when joining another

lime hound
#

yee

#

I have the same problem

#

what is this problem lol ?

tall crystal
#

umm you using bungeecord @lean herald

#

xD

lime hound
#

What kind of inventory problems are 1.16 spigots?

tawny gale
#

Can someone help me to configure my dedicated OVH server please πŸ™‚

#

DM :p

runic wyvern
#

Hey!

#

I uuh have problem every time the server starts

#

if that's common make sth like a FAQ or idk

wheat mirage
#

Question: in 2019 minecraft released obfuscation maps for easier modding. Is this better than the current ModCoderPack deobfuscator?

#

And if so, how exactly do you use it

lone fog
#

You can only use it for β€œreference” because of copyright

wheat mirage
#

Yeah I'm not interested in anything else

#

But is there anywhere I can download a deobfuscated source for 1.16?

#

That would be fantastic

#

As I can't even find the searge mappings for 1.16

#

I'm not sure spigot's NMS code is technically searge mappings

frigid ember
#

I've updated to 1.16 for spigot and EssentialsX has stopped working?

dusk ferry
#

Is essentials out for 1.16?

subtle blade
#

No, you have to deobfuscate using official mappings yourself

#

CraftBukkit uses its own mappings, not MCP nor Mojang's mappings

wheat mirage
#

@subtle blade Do you know to do that?

#

how to *

subtle blade
#

It's not something I necessarily want to encourage as it brings you no benefit

wheat mirage
#

How so?

subtle blade
#

If you want to browse mappings, Mini made a nice browser for you

wheat mirage
#

??

subtle blade
wheat mirage
#

That's nice

#

But I mainly want to compare obfuscated code to de-obfuscated code

#

For coding NMS with my spigot plugin

#

@subtle blade Hardly no benefit

subtle blade
#

You're better to use that mappings viewer for that exact purpose

wheat mirage
#

Not really, not at all

#

You can't view how an entire method works using that

subtle blade
#

Why not? Open it in your IDE, search the method name

#

That being said, if there's something in NMS you can abstract out as Bukkit API, we encourage a PR

wheat mirage
#

lmao you're not getting it

#

If I want to see how Bat's AI works for example

#

Mappings would take forever

#

De-obfuscated code I can just look at and see how it's being used.

#

Quickly

#

There's no way you could convince anyone that's anywhere near as good for seeing how the actual code flow works.

feral robin
#

dose any one know if essentialsx is updated to 1.16?

quartz trench
wheat mirage
#

Is that better than this?

quartz trench
#

Idk if fabric uses it it's probably good though

wheat mirage
#

Got it

lone fog
#

EssentialsX has a dev build for 1.16

frigid ember
#

@wheat mirage How do mappings work?

wheat mirage
#

Not the most qualified person to ask πŸ˜›

zealous lynx
#

what should the UUID be of in PacketPlayOutChat's constructor?

crisp ermine
#

The recipient of the message I assume?

hoary parcel
#

No

#

Sender

zealous lynx
#

ya, that's my guess too, but was unsure

#

oh sender, ok, is it nullable?

hoary parcel
#

Or 0 if it's console

zealous lynx
#

ok

#

thankyou

wheat mirage
#

@zealous lynx Don't forget to use protocollib πŸ˜›

zealous lynx
#

i prefer not to, i like doing nms for some reason

wheat mirage
#

Protocollib can't do everything

#

But it's the definition of a stitch in time saves nine

frigid ember
#

I tried to update my server to 1.16.1 and it still says 1.15.2

uncut edge
#

When I goto the end or nether it tells me difficulty easy by the default minecraft command

zealous lynx
#

i just don't use packets enough to justify using a library for them

uncut edge
#

yet overworld is in hard

#

any ideas what happened?

#

was working previously

runic wyvern
#

I've updated to 1.16 for spigot and EssentialsX has stopped working?
@frigid ember yo, the guy is currently working on the EssentialsX version

#

he'll probably push an update in the coming days

uncut edge
#

there is a build of essentails for 1.16

#

Also any ideas why suddenly worlds are not syncing difficulty?

#

anyone 😦

wanton delta
#

so Team.setPrefix("Β§e"); no longer works on 1.16

#

anyone know an alternative?

uncut edge
#

use hex

flat topaz
#

I was boutta type that

wanton delta
#

(My goal is to change the color of player's name)

uncut edge
#

its now hex based just add it as a hex colour

wanton delta
#

ah

uncut edge
#

Yea so use hex codes lmao

frigid ember
#

full color gradients

wanton delta
#

so do i need to prefix it with #

steady cedar
#

did section symbol plugins break?

uncut edge
#

not sure experiment might be Β§#Β§1Β§2Β§3 etc

#

since its multiple chars now

steady cedar
#

that looks so ugly what the heck

uncut edge
#

might need Β§ infront of each number in the hex

#

@wanton delta

flat topaz
#

Ye u do

uncut edge
#

I havnt tested it at all yet

#

Oh lmao

flat topaz
#

xD

uncut edge
#

thats dumb ngl

flat topaz
#

Very

steady cedar
#

just use minimessage

#

or whatever that's called

#

good solution

uncut edge
#

anyway anyone have any idea why on spigot no plugins I get my overworld being /difficulty as hard but end and nether as easy?

zealous lynx
#

ChatColor and section symbol appear to be working in my plugins so far

wanton delta
#

hol up

uncut edge
#

and I tested peacful doesnt work

wanton delta
#

you need to

uncut edge
#

any actual ideas I am gona shoot myself soon

wanton delta
#

Β§#Β§1Β§2Β§3Β§4Β§5Β§6

flat topaz
#

Hmm I’m not sure

uncut edge
#

yea

wanton delta
#

thats

#

ok

#

unfortunate that you cant get the hex code of ChatColor...

uncut edge
#

anyway anyone have any idea why on spigot no plugins I get my overworld being /difficulty as hard but end and nether as easy?

wanton delta
#

someone should make a PR for that

uncut edge
#

I am wondering if it was because I deleted them both?

#

I can not figure out why for the life of me

flat topaz
#

Same here that’s very weird

uncut edge
#

your getting the same thing?

flat topaz
#

No just seems weird

uncut edge
#

Ah fuck

flat topaz
#

Oop

uncut edge
#

I can not understand it this si wierd ngl

flat topaz
#

Did your plugins ever work?

uncut edge
#

Yea lmao I removed each 1 by 1 and it still happens

#

literally driving me nuts

flat topaz
#

I rlly don’t know

quartz trench
#

Anyone else have eternal rain in 1.16 spigot? Weather commands do nothing as does sleeping

fervent cipher
#

And why my players can't sometimes pick up items from the ground?

quartz trench
#

You have an incompatible plugin

flat topaz
#

Damn why is everyone a quicker typer than me

tidal pulsar
#

@fervent cipher
from "kleinwolf" his plugin
Probably NMS
aka plugin doesn't support 1.16.1

flat topaz
#

Ahhh

#

My favourite friend Nickolas

tidal pulsar
#

πŸ–οΈ

fervent cipher
#

But what's kleinwolf's plugin Nick?

#

can't find his name

quartz trench
#

is it run and jump something

fervent cipher
#

it's kleindev

#

I also though I was with him in contact

#

but it's different name

quartz trench
#

If the error happens on startup it will be the plugin that says starting right before the error

#

I can't tell because your paste is only the stacktrace

fervent cipher
#

and about item picking?

frank pelican
#

I upgraded everything up to 1.16.1 Spigot and the lobby works well. But as soon as I join another server like Creative or Survival, I get this error: https://prnt.sc/t6je6e
I am using the deprecated method, but even with the another method to register a new Objective this comes up, just different. Here the error: https://prnt.sc/t6h9ru
This is what BungeeCord is telling me: https://prnt.sc/t6ha2x

gives it a last try

thorn needle
#

can anyone link me an article or explain how to update a non spigot 1.16.1 server to a spigot? Thanks.

vagrant widget
#

You just put spigot

#

And run it

#

With bat

thorn needle
#

oh it's that easy?

wanton delta
#

trying to open craftbukkit :/

thorn needle
#

sweet, thanks for the help.

vagrant widget
#

Np

tired gazelle
#

Probably goes along with the multiple worlds handling in vanilla changing but has anyone else noticed the 'worlds-container' option in the bukkit.yml is being completely ignored in 1.16?

flat topaz
#

I’ve not tried out 1.16 yet

subtle blade
#

trying to open craftbukkit :/
Open and install Bukkit first

#

(i.e. build it)

#

Though BuildTools should have done that for you

somber finch
#

hi guys anyone knows where is the problem, in console i have like 100 lines of error once in while

#

it starts like this "> [22:38:57] [Server thread/ERROR]: No key position_predicate in MapLike"

#

i have 1.16.1 spigot with some plugins but every plugin look like its working so far

frigid ember
#

What plugins do you have?

frigid ember
#

oh

copper sky
#

Does anybody know where I should put the Worldgen_settings_export file to make the spigot world run custom settings

wanton delta
#

Yea choco i have done it through buildtools :/

#

but this is via the stash

#

i pulled via my fork and hasnt updated

#

i looked at the repo online and theres no 1.16 bukkit ( @subtle blade )

somber finch
#

Thanks Choco, i guess its not a major problem right

subtle blade
#

Doesn't cause a server crash, so, no. Though obnoxious, yes.

tacit trellis
#

@fleet crane server crashes every time I use an endgate? glitch??

subtle blade
#

Update your server. Was fixed > 24 hours ago

tacit trellis
#

okay

#

with buildtools?

subtle blade
#

Yes

#

That's how you update your server

simple aspen
#

Hey

lapis marsh
#

How would I go about using the new ''chat colors''?

simple aspen
#

I just tried to update my server to 1.16.1 but it still says 1.15.2

lapis marsh
#

For example, if I wanted to try out text in brown

subtle blade
#

I just tried to update my server to 1.16.1 but it still says 1.15.2
So you've run a 1.15.2 server jar

simple aspen
#

Nope

#

it's 1.16.1

subtle blade
#

Well... it's clearly not ;P

#

I'm not asking, I'm definitely telling you

lament mica
#

make sure to update your bungeecord aswell @simple aspen

lapis marsh
#

topic try modifying your launch parameters to match the correct jar name

simple aspen
#

It's literally 1.16.1

#

Well I launch through the panel

#

and the version is set to 1.16.1 there

lapis marsh
#

Ohhhh

subtle blade
#

So it's an issue with your host, not us

#

Contact them instead

simple aspen
#

locally hosted

subtle blade
#

wat

simple aspen
#

I have a server in my basement

#

lol

lament mica
#

did anything change for the server icon btw? mine shows up blank after updating (bungeecord)

shut quest
#

Where I should put the '--forceUpgrade' argument when upgrading from 1.15.2 to 1.16.1?
Like so: java -Xms2G -Xmx2G -jar Spigot.jar nogui --forceUpgrade?

#

did anything change for the server icon btw? mine shows up blank after updating (bungeecord)
@lament mica same

copper sky
#

So i had a vanilla world which I had Worldgen_settings_export within the world. When I set up the world in spigot, It began to crash with chunk related issues. Where am I supposed to put the Worldgen_settings_export so that the world will load properly.

#

I had no issues on the vanilla

simple aspen
#

soo what should I do regarding my server

fleet crane
#

@fleet crane Sorry for the @, but this issue needs some review. The issue I raised here: https://hub.spigotmc.org/jira/browse/SPIGOT-5815
is not a code problem. This is simple object instantiation. It looks like its a logic problem, but it is not.
@frigid ember because you completely mischaracterised the issue. That’s why we ask for reproduction plugins rather than you trying to assume what the issue is

frigid ember
#

Yes md5

#

I got the wreck

#

I was also wrong

#

So, my apologies.

lament mica
#

you gotta have some balls to @ md_5

simple aspen
#

wait

#

There's the spigot jar file and the server.jar file

#

Are there supposed to be two separate ones

#

Or should I rename the spigot 1.16.1 jar to server.jar

grand gorge
#

Hey guys, 1st time doing this buildtools stuff, so ive downloaded the buildtools file and also downloaded "Git". Ive tried running the build tools file with java -jar BuildTools.jar --rev 1.16.1 but its not doing anything. Guessing im doing it wrong. Anyone able to help ?

crisp widget
#

Have you attempted running it via git?

hoary parcel
#

"I know how to code bruh"

fleet crane
#

server.jar isn’t made by spigot, you mustve made it

hoary parcel
#

yes thats how you act on a public issue tracker, lol

frigid ember
#

you gotta admit its a little funny

fleet crane
#

@grand gorge it must be giving some message

grand gorge
#

i copied java -jar BuildTools.jar --rev 1.16.1 into git but it says its unable to access jarfile buildtools.jar

crisp widget
#

Is it actually inside the folder you're using git bash with?

lament mica
#

bungeecord server icon shows up blank after updating

pastel condor
#

make sure it's even there

lament mica
#

it is

grand gorge
#

its just on my desktop, not sure where it should go

lament mica
#

its also not the default mc one

#

its just

pastel condor
#

make sure the image isn't blank

lament mica
#

a white square lol

pastel condor
#

mind if I ask, whats your server ip?

lament mica
#

yes it's private sry c:

crisp widget
#

@grand gorge If you put BuildTools into a folder and then right click in the folder then press "Git bash here"

pastel condor
#

it's a server pinger and it displays icon, motd, etc.

lament mica
#

oh snap it's actually showing up fine for me on there

#

must've been my client side lol

pastel condor
#

yeah

lament mica
#

thanksthanks ❀️

pastel condor
#

np

frigid ember
#

can i write you something via dm? is important @fleet crane

copper sky
#

So i had a vanilla world which I had Worldgen_settings_export within the world. When I set up the world in spigot, It began to crash with chunk related issues. Where am I supposed to put the Worldgen_settings_export so that the world will load properly.

grand gorge
#

@crisp widget and then paste in java -jar BuildTools.jar --rev 1.16.1 ? still saying its unable to access

crisp widget
#

Send a screenshot of your folder?

#

And your git bash

grand gorge
#

alright sec

mortal jolt
#

not sure if this is something with spigot or essentials or just my game, but its literally always raining now, other players on my server arent seeing rain so im not sure. The server is running the 1.16 file

green cedar
#

Anyone else noticing issues with map directory creation when using sub directories?

flat topaz
#

@mortal jolt hmm try reloging

mortal jolt
#

ive tried that

frigid ember
#

is there a way to get advancement text?

flat topaz
#

I rlly don’t know what’s wrong with that. Hope you get it resolved

frigid ember
#

@hoary parcel about the "I know how to code bruh"... you were acting like that was way out of place. Lets take things into context here and realize ther are wayyy worse things that could have been said.

flat topaz
#

@mortal jolt re starting mine craft maybe?

frigid ember
#

Emotional levels got a bit high out of frustration. That is all.

hoary parcel
#

that makes it so much better, lol

frigid ember
#

Its not a big deal. If that statement is a big deal, not sure what to say.

subtle blade
#

Way worse things such as, perhaps

The above question should not have been closed. This is a bug, not a coding problem. I code full time for a fortune 50 company, I'm not a 12 year old just learning how to code.

#

lol

crisp widget
#

Seems so professional getting emotional on Jira πŸ‘€

frigid ember
#

Hey paul

hoary parcel
#

I mean, am not making a big deal out of this

#

it was just funny

frigid ember
#

Yeah i'll agree to that

ripe ledge
#

How I can get a player version?

#

Pls help

flat topaz
#

Load up your launcher and change versions there. @ripe ledge

hoary parcel
#

to see somebody create an issue without following the template properly and then replying with that when questioned

verbal latch
#

^ what mini said πŸ™‚

frigid ember
#

Hey Loony

#

I think Erin wanted you to call her

verbal latch
#

damn bringing up the past bc ya in the wrong just as usual πŸ™‚

ripe ledge
#

Load up your launcher and change versions there. @ripe ledge
@flat topaz What
How I can see a player version with spigot coding

green cedar
ripe ledge
#

That's not what I need

#

I am making a plugin

green cedar
#

Sorry, that is what you asked.

ripe ledge
#

And I need the player version

flat topaz
#

You can check in your launcher

green cedar
#

What is a player version?

ripe ledge
#

THATS NOT what I mean

#

I mean
I need to check
if the player is on version 1.13 and up
with SPIGOT CODING

#

how I am doing this

crisp widget
green cedar
#

I thought they couldn't connect if they weren't on the same version as the server.

subtle blade
#

Correct

ripe ledge
#

My server support multi versions

fervent sorrel
subtle blade
#

So consult the plugin you use to retrieve the player's version

green cedar
#

Nope, next year.

frigid ember
#

Anyway @hoary parcel @subtle blade I see your points. My response was out of line. I should have taken a deep breath before responding.

subtle blade
#

ViaVersion presumably. They likely have an API

crisp widget
#

(cough) they do have an API just for reference

hoary parcel
#

via has an api

ripe ledge
#

Look
at the web I saw that:
((CraftPlayer) player).getHandle().playerConnection.networkManager.getVersion();
But the IDE says that there is not getVersion thing

#

so what can I do

hoary parcel
#

that doesnt exist

lone fog
#

That was from 4 years ago

crisp widget
ripe ledge
green cedar
#

Is there updated docs on where world files are stored in 1.16.1?

frigid ember
crisp widget
#

ProtocolSupport doesn't officially support 1.16 yet
So personally I'd recommend Via

lone fog
elder lark
#

this may be stupid, but, isnt this wrong?

#

I thought the block that you are standing on was the the number before the coma. But it seems it isnt?
I could've sworn that was the way it worked

loud jasper
#

You guys know how to give permissions for kick ban etc? "minecraft.commands.ban" doesn't work (I'm using luckperms) I know the commands to grant permission but don't what works because commands.ban is not in the list with tab

mortal jolt
#

essentials i think

subtle blade
#

Negative values round upwards, Onyxian

elder lark
#

Oh damn. thanks a lot

#

I need to review my jira post asap i think

#

might've messed up there

subtle blade
#

Well, they "round upwards" lol. Minecraft's coordinates are fucked

elder lark
#

totally

crisp widget
lone fog
#

Round towards -Infinity

lapis marsh
#

Hey, how would I go about using new formatting as a server owner?

#

For example, setting someone's nickname as a custom color

lone fog
#

I don't know if many plugins support it yet

frigid ember
#

can someone link me to the 1.16.1 jar download?

zealous lynx
#

nope

crisp widget
#
public static Optional<Vec3D> getBed(WorldServer worldserver, BlockPosition blockposition, boolean flag, boolean flag1) {
        IBlockData iblockdata = worldserver.getType(blockposition);
        net.minecraft.server.v1_16_R1.Block block = iblockdata.getBlock();
        if (block instanceof BlockRespawnAnchor && (Integer)iblockdata.get(BlockRespawnAnchor.a) > 0 && BlockRespawnAnchor.a(worldserver)) {
            Optional<Vec3D> optional = BlockRespawnAnchor.a(EntityTypes.PLAYER, worldserver, blockposition);
            if (!flag1 && optional.isPresent()) {
                worldserver.setTypeAndData(blockposition, (IBlockData)iblockdata.set(BlockRespawnAnchor.a, (Integer)iblockdata.get(BlockRespawnAnchor.a) - 1), 3);
            }

            return optional;
        } else if (block instanceof BlockBed && BlockBed.a(worldserver)) {
            return BlockBed.a(EntityTypes.PLAYER, worldserver, blockposition, 0);
        } else if (!flag) {
            return Optional.empty();
        } else {
            boolean flag2 = block.ak_();
            boolean flag3 = worldserver.getType(blockposition.up()).getBlock().ak_();
            return flag2 && flag3 ? Optional.of(new Vec3D((double)blockposition.getX() + 0.5D, (double)blockposition.getY() + 0.1D, (double)blockposition.getZ() + 0.5D)) : Optional.empty();
        }
    }
#

Any of y'all know what the extra "flag1" does?

#

It was added in 1.16

zealous lynx
#

as a guess, maybe has something to do with the spawn anchor

frigid ember
#

Has anyone ran into certain players not being able to pick up items?

#

Probably plugin related but for the life of me I cannot locate which one

wind swan
#

Has anyone been able to create a Smithing recipe in a plugin yet? I tried the following, but it's not being added:

    public void onEnable() {
        RecipeChoice base = new RecipeChoice.MaterialChoice(Material.IRON_SWORD);
        RecipeChoice add = new RecipeChoice.MaterialChoice(Material.DIAMOND);
        SmithingRecipe testRecipe = new SmithingRecipe(new NamespacedKey(this, "test"), new ItemStack(Material.DIAMOND_SWORD), base, add);
        Bukkit.addRecipe(testRecipe);
    }
old barn
#

Someone help me? You're making a mistake in this part

    public static Main getplugin() {
        return Main.getplugin(Main.class);

    }
native vault
#

What ? On 1.16, we are on ground but not count as

wheat mirage
#

Could anyone recommend a decompiler better than jd-gui for getting source

#

jd-gui leaves really weird spacings and comments on each file

#

It looks horrific and is terrible to use

keen fulcrum
#

hi there, I’ve never had to wait for paper spigot builds because I never updated my server that quickly so this is the first time I’ve waited for a build to come out, what’s the usual time frame from Minecraft release -> spigot -> paper?

ashen dove
#

How to use the rgb colors?

fervent cipher
#

Hi, my players can't pick up items

ashen dove
#

As developer

lone fog
#

ChatColor.of

#

Using the bungee ChatColor

ashen dove
#

Does this works for items too?

keen fulcrum
#

@fervent cipher you're gonna need to go in depth on your situation.

wheat mirage
#

Wait what

#

There's RGB Chat Colours?

ashen dove
#

Uh, yes

wheat mirage
#

This is my dream come true

fervent cipher
#

succkrit don't know what could cause it

ashen dove
#

1.16

wheat mirage
#

HO LEE FUCK

fervent cipher
#

ask me for more info πŸ˜„

wheat mirage
#

I'm so fucking happy

#

I've been waiting for this for years

#

And yes

#

Does it work on items?

lone fog
#

Should work on items too

wheat mirage
#

I'm cumming

lone fog
#

And scoreboards, titles, bossbars, etc

ashen dove
#

Yeah, should work on everything which has text

wheat mirage
#

anyway does anyone know a good java decompiler

#

(not jd-gui)

keen fulcrum
#

What version are you running and if you're running something other than vanilla, what? Any plugins that could interfere with item pickup? ( @fervent cipher )

odd knoll
#

I use Luyten when I need.

fervent cipher
#

I'm running 1.16
Plugins: : Captchas, LuckPerms, ViewDistanceTweaks, PlaceholderAPI, UltimateTimber, IllegalStack, NametagEdit, Votifier, PvPToggle, Multiverse-Core, ProtocolLib, HamsterAPI, MVdWPlaceholderAPI, DeluxeTags, PhysicsToGo, Chunkmaster, NoteBlockAPI, FeatherBoard, LimitPillagers, Vault, TokenManager, IPWhiteListBukkit, Trampolin, TimeVote, JukeBox, LagAssist, WorldEdit, LogBlock, ChatControl, CMI, WorldGuard, VotingPlugin, BetterBees, Plan, XPBoost, BungeeTabListPlus, ClickDye

ashen dove
#

Never had problems with CFR decompiler

wheat mirage
#

There's no way they're all 1.16 compliant @fervent cipher

#

Remove any plugins interfering with items 1 by 1 to find the culprit

ashen dove
#

Luckperms isn't updated

lone fog
#

I feel like illegalStack could be it

wheat mirage
#

There's probably an error in console that will tell you which

ashen dove
#

His console should be spammed

#

No way that all plugins work

#

Multiverse isn't even working on 1.15 for me xd

fervent cipher
#

no there aren't errors

#

for these plugins

keen fulcrum
#

Tagged: IllegalStack, PvPToggle, PhysicsToGo, ChunkMaster, LimitPillagers, LagAssist, LogBlock, ClickDye. Check to make sure that either these are updated, or go into their config folders to make sure none of them have any item specific configurations.

wheat mirage
#

@ashen dove Can it decompile to a source structure?

#

Or is it in a gui only

ashen dove
#

@ashen dove Can it decompile to a source structure?
@wheat mirage it's a command line decompiler

frozen lantern
#

Hi there is someone who know how to add a lore to a mined block ?

wheat mirage
#

Very nice

keen fulcrum
#

@ashen dove Is it not? I have a working version but I don't remember where I got it from.

ashen dove
#

It's giving you the source

keen fulcrum
#

Are you using 4.1.0?

wheat mirage
frozen lantern
#

i'm trying with blockbreakevent.getblock.getdrops

wheat mirage
#

This site has em all

ashen dove
#

@ashen dove Is it not? I have a working version but I don't remember where I got it from.
@keen fulcrum I'm coding everything by myself so I don't use any plugins that you know and so

frozen lantern
#

but i can't use the .GetItemMeta method

ashen dove
#

So I don't use multiverse anymore

lone fog
#

GetDrops is a list of items

#

You need to get a single element and call .getItemStack on it

keen fulcrum
#

I see.

frozen lantern
#

What do you mean by single element ?

ashen dove
#

But there is hyperverse, an good multiverse alternative

frozen lantern
#

i have to add the lore to every single block manually ?

ashen dove
#

What do you mean by single element ?
@frozen lantern show us your code

#

I see.
@keen fulcrum and yes even worldedit. Not joking

#

OMG format please

frozen lantern
#

this is the code at the moment

lone fog
#

Use blockDropItemsEvent

ashen dove
#

Please format your code

lone fog
#

Then loop over each item with a for loop

ashen dove
#

Use blockDropItemsEvent
@lone fog look at the codr

#

It doesn't make sense what he is typing

#

Aren't you using an IDE or something?

frozen lantern
#

yep, i'm using eclipse

ashen dove
#

And it's giving you an error right?

#

Block#getDrops returns a lost of itemstacks

#

So you need to loop that list

frozen lantern
#

ok yes

#

I'm sorry

lone fog
#

Keep in mind those items don’t exist in the world

ashen dove
#

And then do something with the looped item

lone fog
#

That’s what BlockDropItemsEvent is for

frozen lantern
#

but this it's the first time with java

#

i usually use c++

ashen dove
#

Well then learn java before making plugins

#

There you have loops too.

frozen lantern
#

you right

ashen dove
#

And "lists" (arrays)

frozen lantern
#

you're right

ashen dove
#

A list is just a fancy array

#

Basically

keen fulcrum
#

@keen fulcrum and yes even worldedit. Not joking
@ashen dove i cant live without worldedit 😭

lone fog
#

Worldedit works without an update

ashen dove
#

@ashen dove i cant live without worldedit 😭
@keen fulcrum I'm doing it by myself, and it's working 10000 times better

lone fog
#

But if you want to work with tile data get the dev build

ashen dove
#

I don't want to download something

keen fulcrum
#

are you placing blocks by hand or something?

ashen dove
#

My server is 100% selfmade

#

No, I'm coded my own worldedit

keen fulcrum
#

My server is 100% selfmade
@ashen dove color me impressed

ashen dove
#

My server is 100% selfmade
@ashen dove except for Spigot, but I'm working on that

#

Currently making my own software in C++, then using JNI to execute java code (atm, later completely C++)

#

I successfully implemented the protocol, currently I'm working on the API, when I'm done I start coding the real working server

#

Performance beast

iron nebula
#

lmao

vagrant widget
#

Who said he was using spigot

#

Bold of you to assume

#

He said 100%

ashen dove
#

I said it

vagrant widget
#

So that means fully custom jar,

#

Fully custom plugins

#

Oh

ashen dove
#

Only fully plugins at the moment

#

I'm working on own server software

vagrant widget
#

That’s pog

ashen dove
#

pog?

vagrant widget
#

Pogchamp

ashen dove
#

Pogchamp?

vagrant widget
#

Poggers

ashen dove
#

I'm not an native English speaker

vagrant widget
#

It’s a twitch emote

ashen dove
#

Uh, give me some other meme I guess

#

lmao
@iron nebula why lmao?

vagrant widget
ashen dove
#

I'm having lots of freetime

iron nebula
#

It was more towards the claim that its "Performance beast"

ashen dove
#

Also the Minecraft protocol is fully documentated

#

Well, it is

#

It's in C++, Multi-threaded and mostly async

iron nebula
#

Sure, and I assume you have numbers to back this

ashen dove
#

Well I don't have a working version, as I said I was working on implementing the protocol, now the API. When this done I "merge" both and creating the actual functionality

#

But I did a basic test

iron nebula
#

Which means?

ashen dove
#

Let's say spigot would needed 1gb ram, mine needed 200mb

vagrant widget
#

He sounds like he knows what he’s doing

ashen dove
#

Unoptimized

#

He sounds like he knows what he’s doing
@vagrant widget I think so lmao

ancient ridge
#

yes because u haven't implemented everything

iron nebula
#

Lmao...

ashen dove
#

You didn't know what I tested stfu

ancient ridge
#

nice

vagrant widget
#

Oh it’s getting heated

#

Lemme get popcorn

ashen dove
#

I'm taking a shower lol

vagrant widget
#

And texting?

iron nebula
#

Tho when we speak in terms of performance we mostly mean the CPU time so πŸ€”

ashen dove
#

Yeah cou usage was also low

#

I mean C++ is generally faster then Java

iron nebula
#

LOL

#

Right, lmao

ashen dove
#

And Multi-threaded is an advantage which spigot has not

iron nebula
#

Right

ancient ridge
#

:wtfakka:

iron nebula
#

You must know what u are doing then!

ashen dove
#

And because of the fact that I. Doing it async it's not blocking the server

#

Yeah, but I'm not publishing it, private use only

iron nebula
#

Just stop before u embarrass urself

ashen dove
#

Or if anyone pays me 10k

iron nebula
#

LOL

vagrant widget
#

$10k?

ancient ridge
#

yeayeah you sound like mazikro with his plugin making AI

vagrant widget
#

I’ll buy myself a nice place

#

And a setup

#

Maybe 2 setups

#

The other would be for flight sim

ashen dove
#

What?

vagrant widget
#

FS2020

#

Flight simulator

ashen dove
#

yeayeah you sound like mazikro with his plugin making AI
@ancient ridge wait what

ancient ridge
#

πŸ˜‚ nothing

iron nebula
#

Doing it async it's not blocking the server
The last famous words

ashen dove
#

Well I think a custom server is more realistic then an plugin making ai

lone fog
#

Anyone working with 1.16 Structures?

vagrant widget
#

Like world gen or server shit

#

Idk what I’m saying either

ashen dove
#

Lol wtf do you mean Coll

#

OMG I have the best idea ever

#

Scrap a C++ server

#

Let's make an assembler server lmao

vagrant widget
#

No

ashen dove
#

Which has its own Operating System Kappa

lone fog
#

Mojangs structure code in 1.16

#

They’ve changed things again

ashen dove
#

What do you mean?

#

"Structure code"?

lone fog
#

Structures

ashen dove
#

Are talking about structures in the world?

lone fog
#

Villages, shipwrecks, whatever

fierce briar
#

They changed Many things.

#

My Data pack had to change.

lone fog
#

Indeed

#

And I can’t get my custom structures spawning quite yet

frozen lantern
#

so the list have to be like this, right?

#

items = new ArrayList<>(e.getBlock().getDrops(p.getItemInHand()))

lone fog
#

What

#

Why are you making a new array list

#

It already is a list

frozen lantern
#

ok i'm dumb sorry

leaden haven
#

Hi, I'm confused about the "using the --forceUpgrade server argument, and then do the same on 1.16.1." line in md_5's newest post. What command do I attached the argument to?

lone fog
#

The server start command

leaden haven
#

ah, and I need to download the newest jar correct?

subtle blade
#

?bt

worldly heathBOT
grizzled hound
#

im cancelling an inventoryclickevent and it cancels the event but the player now has the item in their hand and in the inventory slot

#

basically it cancels the removal of the stack but the not the player having it in their cursor

vagrant widget
#

Pro tip:

If you’re gonna start a Minecraft server, make sure you have the money for it, don’t pirate plugins

ashen dove
#

Why are you saying that?

grizzled hound
magic sun
#

anyone use an alternative to ServerListPlus, haven't been updated since 2017 but still works fine (using on bungeecord) but i'm guessing won't be updated to support 1.16 stuff

hard crane
#

hasnt been updated since 2017

#

how are you even able to use it in 1.15

lone fog
#

Some things just work as long as the bukkit API doesn’t change

hard crane
#

yeah but still

grizzled hound
#

how would you remove a players cursor item?

lone fog
#

Used to be a setCursor but it was deprecated

grizzled hound
#

yeah... what should i use for a blank itemstack?

#

material.air?

lone fog
#

Either that or null

grizzled hound
#

ah that would be better

dreamy ermine
#

Weird thing that never happened to me before, and that I found no fix searching it on google. I have a multiverse world that no matter how many times I do /weather clear or /weather sun it keeps raining. Does anyone have the slight idea of how to fix this ?

lone fog
#

That was being discussed a bit ago in #general

grizzled hound
#

hmm its not working to remove the cursor item

dreamy ermine
#

That was being discussed a bit ago in #general
thanks already got some ideas on how to fix it

zealous lynx
#

@grizzled hound are you using the deprecated method or the one via the InventoryView?
i think last i used the setCursor in InventoryView it worked, but iirc i had to schedule a task in order to do it as a result of an inventory event

lone fog
#

I mean the issue to begin with sounds like a bug

zealous lynx
#

ya, read it more slowly, sounds like different behavior compared to previous versions

lone fog
#

Although I don’t recall having that issue

gleaming beacon
#

anyone got multiverse working or something similar on 1.16?

zealous lynx
#

i have a plugin that cancels inventory clicks under certain circumstances, ill see if it does a visual dupe for me in a bit

#

it doesn't

#

works like it did in 1.15.2

fleet crane
#

Im having no issues /weather even with multiverse

gleaming beacon
#

wait so multiverse does work 1.16?

subtle blade
gleaming beacon
#

oh ok then cool ill have to get it running on my server I was under the impression that it was broken.

tender quarry
#

Has anyone noticed a significant decrease in performance when loading and writing chunks in Spigot 1.16?

gleaming beacon
#

actually maybe I wont I noticed the nether takes significantly more ram than previous and I am only running 6 gb with 15 players

tender quarry
#

(Specifically the nether taking a long time) ^

lone fog
#

If you’re on windows change the sync chunk writes in server.properties

#

I think that’s the name

tender quarry
#

I am personally on linux

#

Well...my production server will be on linux

fleet crane
#

well they added much more crap to the nether

gleaming beacon
#

what does the sync chunk do?

fleet crane
#

so its not really surprising its more like the overworld now

tender quarry
#

Time for a custom fork!

lone fog
#

It makes the server wait on chunk writes iirc

crisp widget
#

Was behaviour with Nether portals changed btw?

gleaming beacon
#

so what does it enabled, do to my server? performance wise anyway

crisp widget
#

I was playing around with them earlier and had to go 50+ chunks to get a new portal

subtle blade
#

Right, definitely meant to disable sync-chunk-writes lol

#

I can see why they made it default - better safe than sorry - but man does it suck

lone fog
#

Wasn’t it for power outages mostly

tender quarry
#

..power outages?

gleaming beacon
#

oh so I should disable it then? cause it was disabled on my server and synced chunks seemed important so I enabled it I didn't think about it too much it was 5 am when I was making the server

tender quarry
#

make it async

#

as we all know, async fixes everything

hard crane
#

100%

tender quarry
crisp widget
#

You spammed CTRL + C that's what πŸ‘€

tender quarry
#

I am going to have to kill it

gleaming beacon
#

seeing async actually makes allot more sense reminds me of when I was making my discord bot xD. I will definitely change that once I notice noone on the server

tender quarry
#

yeah reminds me of my discord bot too! πŸ™‚

vagrant widget
#

Can I get a md_5 in chat please?

tender quarry
#

L no embed

vagrant widget
#

English pleasee

tender quarry
#

L, The gif I posted did not embed for all users to see so it rendered my joke useless.

vagrant widget
#

Who you calling L?