#help-development

1 messages · Page 1080 of 1

runic pine
#

i think is the better alternative

inner mulch
#

augusto what r u trying to do? can you recap, i dont want to read the whole convo?

worthy yarrow
#

I thought networking was a single thread allocated for all these processes, perhaps I'm wrong

slender elbow
#

it's configurable

#

spigot.yml netty-threads or smth

worthy yarrow
#

Ah

sterile token
#

yeah, by default uses 4 threads netty, isnt it? defined in spigot.yml if im not sure

compact haven
#

He just sent code of getting instead of saving which is what he’s so worried about

runic pine
#

but the way I'm doing it is impossible to have a door in the world and not be in the DB. Only if an administrator removes the door from the DB, which will not happen.

compact haven
#

I’m about to jump

runic pine
#

I've already made more than 10k with Minecraft

runic pine
#

translator

worthy yarrow
sterile token
inner mulch
#

augusto what r u doing?

runic pine
compact haven
#

Ok then I’m confused if you’re confident there’s no way to have an inconsistency then why are you saying that sync auto save will have an inconsistency

inner mulch
worthy yarrow
#

Imagine playing rust in minecraft

#

And not just playing rust

runic pine
runic pine
#

1000 simultaneous players

inner mulch
#

augusto

blazing ocean
inner mulch
#

what is the problem with ur doors

compact haven
#

auto save is sync

runic pine
compact haven
#

so is there still a problem or no

worthy yarrow
#

so then

runic pine
#

but it seems you didn't understand because there are no inconsistencies

worthy yarrow
#

...

#

You said there were / might be?

runic pine
#

I will show the code that I may be confused with as well and you confirm if there may be inconsistencies

compact haven
#

is this exact message not concerning an inconsistency?

worthy yarrow
#

We're not chatgpt mane

compact haven
#

for that message, sync auto save will never happen between new and update

runic pine
#

the service's put method updates the database immediately. See if there may be inconsistencies with the world and the database in which the database does not have a door and the world has that door

worthy yarrow
#

See this is where unit testing comes in quite handy

compact haven
#

No

#

NuclearKat no

remote swallow
#

unit testing wouldnt do much

#

you just need a cache

compact haven
#

Augusto, the only inconsistency should be that the door exists in the database but not in the world, not the other way around

runic pine
#

Exactly, that's why I'm saying that there will never be inconsistencies like the world having the port and the database not, right? It can only be in the database and in the world having it, but in that case I'll go through when the server starts and remove all the entries that don't have a corresponding port in the world, or aren't these entries usually removed?

compact haven
#

if the server crashed before the save happens the door will still be in the database

sterile token
#

have you experiended the next problem with git plugin? I cant find what causing the git plugin adding automatically each file created to staging area, instead of just doing it manually with git add <file | directory> command. What can i make?

runic pine
#

yes

compact haven
#

this is what I was trying to say with the 'if you can't verify' which is the 'remove those that dont have a corresponding door in the world'

runic pine
# compact haven correct

How would you do it here then? Would you go through all the ports when the server starts and delete the ports that don't have an associated world port, and use a get that would get it from the DB if necessary or would you keep everything cached when the server starts?

compact haven
#

I just didn't fully flesh out what 'verify' meant because I thought it was understood but yes, if you can not verify whether the data has consistency, then you must force a consistency by doing the writes at the same time

runic pine
#

ports = doors sorry

compact haven
#

THEN load the cache

#

so now the database doesn't have an inconsistency that the cache doesn't have

#

and that point, update the cache and the database at the same time when the doors are created/modified/deleted

runic pine
runic pine
compact haven
#

Because there will probably be more doors than doors in the database, yes? Like this only stores "special" doors

#

if so then you don't want an unnecessary get call to the database for a door that isn't special

#

I'd say it highly depends on your situation and if you recognize 1 is causing a database problem (honestly I doubt that it will) then use a complete cache, and if you recognize a memory problem then utilize the database

blazing ocean
#

surely this won't scare away any devs right

runic pine
compact haven
#

Ah so every door is meant to be in the database?

#

like they're all password protected?

worthy yarrow
blazing ocean
#

the game just handles that

compact haven
runic pine
compact haven
#

you're documenting your laziness

#

nice git blame moment

runic pine
worthy yarrow
compact haven
#

database problem as in you're making too many reads

blazing ocean
compact haven
#

but the sheer number of reads you would need to overload a database is not going to happen in minecraft

#

the vanilla implementation will bottleneck far sooner than the database

blazing ocean
#

the "good luck" is my favourite bit tho

runic pine
compact haven
#

so yes if you want to read the first interact into the cache and a null if it doesn't exist that will also work

blazing ocean
#

what

compact haven
worthy yarrow
#

What's the @Transient annot?

compact haven
#

wont get serialized

remote swallow
#

ignored from serialize

blazing ocean
#

doesn'T get included in serialization

worthy yarrow
#

Ah

blazing ocean
#

goddamnit my discord is slow asf

runic pine
blazing ocean
#

why

#

i don't have any public projects for that :p

worthy yarrow
#
public StructureItem(Material materialType, String displayName, NamespacedKey key, String schematicFileName, String... lore) {
        this.materialType = materialType;
        this.displayName = ChatColor.translateAlternateColorCodes('&', displayName);
        this.schematicFileName = schematicFileName;
        this.lore = new ArrayList<>();
        for (String string : lore) {
            this.lore.add(ChatColor.translateAlternateColorCodes('&', string));
        }
        this.structureKey = key;
    }``` 
konstruktor
runic pine
remote swallow
#

Bukkit.pluginManager.registerEvents(MyListener(), this)

runic pine
dapper flower
remote swallow
runic pine
#

Only I have access and I know what I can't do

blazing ocean
#

read above

worthy yarrow
runic pine
#

but if I wanted to follow the ideal recommendations, I would have to store these db fails on cache, right?

worthy yarrow
#

That is java

blazing ocean
#

THAT IS JAVA

worthy yarrow
#

...

#

Quite simple java to be fair

worthy yarrow
compact haven
# runic pine wdym? storage the db fails on cache?

if every door must be in the database then you can just do it this way

doorRepository = plugin.getDoorRepository();
someDoorCache = new MemoryDoorCache(doorRepository);

on interact with door:
Optional<Door> storedDoor = someDoorCache.get(location);
if (storedDoor.isEmpty()) ...;
Door door = storedDoor.get();

door cache:
Map<Location, Door> # value is null if no door is present, key is not set if the repository has not been checked yet. if the key is set then the database has already been queried for this door

blazing ocean
#

no it's not

worthy yarrow
#

What I sent is not kotlin

compact haven
worthy yarrow
#

Ok yeah

#

its groovy

dapper flower
#

well at least they didn't use operator overloading in the kotlin code lol

blazing ocean
#

ebic help me

worthy yarrow
#

Yep you sure do

compact haven
#

I consider the lack of data part of the data, therefore something caches should track

blazing ocean
#

@remote swallow

dapper flower
blazing ocean
#

wtf!

tender shard
#

use backticks

compact haven
#
fun `2dItem`(texture: Key) {
runic pine
dapper flower
#

functions and variables names can't start with a number

blazing ocean
#

smh

compact haven
#

(in kotlin they can you just need backticks)

dapper flower
#

IT DOES?

compact haven
#

yep

dapper flower
#

why would you even use it tho...

blazing ocean
#

in kotlin you can use anything as function name in backtick

compact haven
#

I argue that it's annoying af tho to use backticks than to not use a number in the beginning

#

you can put a fucking emoji in a package name in kotlin

hazy parrot
#

it can even have space

hazy parrot
#

if u have backticks

worthy yarrow
#

I'm surprised rad doesnt send this gif more often

blazing ocean
#

yeait's lovely

#

real

runic pine
#

associate a null value in the cache to a location and then check the DB for example every 15 minutes, create another map with location and long for example and compare with system.currenttimeutils is what devs do?

compact haven
dapper flower
#

man the only reason i use kotlin is for null safety and better functional progamming stuff, but you write it just to make java people go insane LOL

worthy yarrow
dapper flower
#

wth is groovy

compact haven
tender shard
compact haven
#

you're already performing a write to the cache and database when a door is placed, so an extra read every 15 minutes will not do anything

worthy yarrow
blazing ocean
runic pine
compact haven
#

timed caches are only necessary when your system has writes from services that do not communicate

dapper flower
tender shard
#

sure

blazing ocean
#

it does

dapper flower
#

just use java smh

worthy yarrow
tender shard
dapper flower
runic pine
#

but I already understood the idea of ​​storing the db fail in the cache. thank you very much bro, knowledge is never denied, right brother? thanks

compact haven
worthy yarrow
#

Because alex is a chad

dapper flower
tender shard
#

if it's in backticks, yes

compact haven
#

well no I want to get you to acknowledge the part where the cache shouldn't be reset haha, this part is equally as important

tender shard
dapper flower
#

...

runic pine
compact haven
#

Correct, if an administrator modifies the database directly

worthy yarrow
#

Yes

worthy yarrow
#

That's fucking cursed jeez

dapper flower
#

ah hell nah groovy aint that good to read

compact haven
#

If you plan on database administrators modifying data then you can engineer your service around that and a timed cache can be used

runic pine
runic pine
compact haven
#

the problem with this is that there will always be an inconsistency if you're using caches and modifying the database

runic pine
#

but now I have more knowledge about this for public projects or orders. Thank you very much brother

compact haven
#

because no matter how small your time unit for the cache is, there will be a smaller time unit of inconsistency

#

of course, good luck mate

dapper flower
# tender shard

now make another class and make something like
val eggplant: :carrot: = :eggplant: () for extra damage

worthy yarrow
#

Spigot actually has cool people

remote swallow
#

were just chill like that

dapper flower
#

paper dev are ass 50% of the time

runic pine
#

thank you success for u

compact haven
#

appreciate it

#

good luck

worthy yarrow
#

My server runs spigot yeah

dapper flower
#

paper literally is spigot+

#

so everything runs on spigot technically

compact haven
#

(although I would recommend you leave 1.8 cracked, it's very old and a headache to work on)

worthy yarrow
#

Because why not

#

...

#

Trolling hard

compact haven
#

I like paper more than spigot lmao

dapper flower
#

he is just trolling lmfao

tender shard
#

bukkit doesnt have any main function to run

worthy yarrow
#

Performance psh just learn how to write better

rancid mauve
#

everything runs on bukkit :3

compact haven
#

(^^ what paper does)

tardy delta
worthy yarrow
#

Guys why are we starting the paper vs spigot argument D:

runic pine
compact haven
#

people here love drama

dapper flower
#

who even uses julia smh

worthy yarrow
#

Ok

#

Ok

blazing ocean
#

?whereami

remote swallow
#

@young knoll gets -1 depression everytime thats used

worthy yarrow
#

Shit I missed an opportunity for the ai gif

ivory sleet
#

?ban 756204402087559221 flame bait and trolling

undone axleBOT
#

Done. That felt good.

tough parcel
#

i'm trying to make a plugin for bungee and spigot which can transfer just a string from the proxy to backend using messaging, but the backend does the action on the wrong player.

bungee:

@EventHandler
    public void onSwitchServer(ServerSwitchEvent event){
        ProxiedPlayer player = event.getPlayer();
        Configuration configuration = getData();
        ByteArrayOutputStream b = new ByteArrayOutputStream();
        DataOutputStream out = new DataOutputStream(b);
        try {
            if (configuration.get(player.getUniqueId().toString()+".nick") != null){
                out.writeUTF(configuration.getString(player.getUniqueId().toString()+".nick"));
            }
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
        player.getServer().getInfo().sendData("mypluginthing:main", b.toByteArray());
    }```

backend

```java
@Override
    public void onPluginMessageReceived(String channel, Player player, byte[] message) {
        if (!channel.equals("mypluginthing:main")) {
            return;
        }
        ByteArrayDataInput in = ByteStreams.newDataInput(message);

        getLogger().info(in.readUTF() + " + " + in.readUTF());
        String nickname = in.readUTF();
        NickAPI.nick(player, nickname);
    }```
#

big message

remote swallow
worthy yarrow
#

He got kicked mid typing too

worthy yarrow
dapper flower
worthy yarrow
#

@blazing ocean I beat my record, we're at the 7th deep sea docu now

blazing ocean
#

GO DEEPER

dapper flower
#

man they removed gun emoji and made a water pistol, i am starting to hate this hand holding of whoever changes the emojis

worthy yarrow
blazing ocean
#

😏

worthy yarrow
dapper flower
#

iirc apple didnt change it if anything

worthy yarrow
#

I don't ever remember an actual gun emoji

#

It has always been the water gun

dapper flower
#

ok just kidding

worthy yarrow
#

Wow

worthy yarrow
#

When was ios 9.3?

dapper flower
#

around 2015

worthy yarrow
#

ah 2016

worthy yarrow
#

To be fair 2016 was when I got my first cell phone

#

Aside from like an ipod

floral drum
blazing ocean
#

java nerd

worthy yarrow
#

Idk from what I've seen you send rad java is more readable

#

Maybe you just only write cursed functions idk

dapper flower
#

he just used cursed functions

#

if you know what you are doing kotlin is more readable

#

way more so

worthy yarrow
#

I don't know kotlin so maybe I'm just a loser 😦

dapper flower
#

lemme see if i can find some kotlin code

worthy yarrow
#

I've seen enough of rad's to want to jump

dapper flower
#

this is a really short example

#

that ?: is very useful for null checks

remote swallow
#

you might be able to do im pretty sure you can do for(s in event.inventory) :? continue)

remote swallow
#

might be able to elvis operator in the for loop def

#

i did miss a bracket

worthy yarrow
dapper flower
#

that aint ternary

#

it is the elvis operator

remote swallow
#

?: is called elvis operator

worthy yarrow
#

Oh i see

remote swallow
#

ternary in kotlin is if (something) doThis else doThat

worthy yarrow
#

I thought that was the point

remote swallow
#

bc ? is reserved for safe calls

dapper flower
#

it basically does:

if(x == null) {
  //do stuff after ?: or assign default value to x
}
#

like x = a ?: 4

#

x is equal to a, if a is null then it is equal to 4

#

or return/continue in this case if you want to do an operation

#

it is very convenient

#

there is also !! which throws an exception, but rarely used

worthy yarrow
#

I guess I just got confused, I was looking at your example and this

if (isStorming || isPlayerInWater) {
            temperature -= switch (season) {
                case SPRING -> isPlayerInWater ? 8 : 5;
                case SUMMER -> isPlayerInWater ? 7 : 4;
                case AUTUMN -> isPlayerInWater ? 9 : 6;
                case WINTER -> isPlayerInWater ? 11 : 9;
            };
        }
        return temperature;```
dapper flower
#

this is java

worthy yarrow
#

I know

#

I thought it was ternary in kotlin, thats why i asked about the colon

dapper flower
worthy yarrow
#
public double calculatePlayerTemperature(Biome biome, SeasonsList season, Player player) {
        double baseTemperature = getBiomeTemperature(biome, season);
        double temperature = baseTemperature + calculateHeatSourceEffect(player);
        boolean isStorming = player.getWorld().hasStorm();
        boolean isPlayerInWater = isPlayerInWater(player);

        if (isStorming || isPlayerInWater) {
            temperature -= switch (season) {
                case SPRING -> isPlayerInWater ? 8 : 5;
                case SUMMER -> isPlayerInWater ? 7 : 4;
                case AUTUMN -> isPlayerInWater ? 9 : 6;
                case WINTER -> isPlayerInWater ? 11 : 9;
            };
        }
        return temperature;
    }```
Thats the whole function, I was just using it to compare to the example you sent, like I said I was confused on what the colon meant
dapper flower
#

end of instruction (???)

#

that is not a normal switch

worthy yarrow
#

It's not you're right

#

Haven't touched this project in a while

runic pine
#

i make this for iron doors. works to iront rapdoors too?

if (clickedBlock.getType() == Material.IRON_DOOR_BLOCK || clickedBlock.getType() == Material.IRON_TRAPDOOR) {
event.setCancelled(true);
clickedBlock.setData((byte) (clickedBlock.getData() ^ 4));
blockBelow.setData((byte) (blockBelow.getData() ^ 4));
clickedBlock.getWorld().playEffect(clickedBlock.getLocation(), Effect.DOOR_TOGGLE, 0);
}

dapper flower
#

normal switch with case 0: \\whatever then break; and the new switch type that uses arrows and stuff, that is the newer one and requires ; at the end

remote swallow
#

case 0: is java 8

dapper flower
#

yeah

remote swallow
#

case 0 -> is java 16/17 iirc

worthy yarrow
#

We stay updated round these parts

dapper flower
#

yeah it is java 17

remote swallow
#

for the j8 version you have to berak

dapper flower
#

j8 version is crap tbh i prefer the arrow one any day

#

the ; is only required when throwing the result of the switch in a variable btw

worthy yarrow
#

Well and you can still define bodies for the cases too

#

Imagine you couldn't anymore

#

I'd die

dapper flower
#
switch (month) {
    case JANUARY, JUNE, JULY -> { return 3; }
    default -> { return 0; }
}

This doesnt require a ;

worthy yarrow
#

Idk for my case I don't need a default as it will always be one of the four seasons

karmic marsh
#

pls change my name top gamersefsanevisi

#

i cant

remote swallow
#

is that your spigot username

karmic marsh
#

yea

remote swallow
#

!verify then

undone axleBOT
#

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

worthy yarrow
#

if it is just do !verify (spigot username) follow the steps and it will be applied automatically

remote swallow
#

why is someone called then

karmic marsh
#

i verifyed before

worthy yarrow
#

clearly not

karmic marsh
#

but he saying you already verified

runic pine
#

I need to make an enderchest a normal chest. I cancel the event and then what do I do? Isn't it possible to easily make this enderchest be treated as a normal chest where multiple people can use the chest?

remote swallow
#

?support

undone axleBOT
karmic marsh
#

just change my name

worthy yarrow
remote swallow
#

email support

karmic marsh
#

oh okey

runic pine
worthy yarrow
#

Ok but why?

runic pine
#

I could even do it with texture but it is not possible to set "nbt" in a chest

worthy yarrow
#

You can't just put a password on the regular chest?

runic pine
runic pine
worthy yarrow
#

Just use a regular chest and like a text display or something above it show if its locked or not

#

If you use an enderchest, just because it's locked doesn't mean it will act as a normal chest, it will still hold the functionality of an enderchest

runic pine
#

😂

worthy yarrow
#

Do you?

#

As far as I can tell you barley play minecraft

runic pine
#

with all the certainty in the world

worthy yarrow
#

An enderchest is an enderchest, a chest is a chest. The enderchest has functionality that holds each players items individually based on the player. This means that if you're using an enderchest, whatever enderchest they access it will contain those items

#

A regular chest does not do this

karmic marsh
#

i sended

runic pine
worthy yarrow
#

So then what is your issue?

runic pine
worthy yarrow
#

Just use a text display to show when chests are locked

#

You don't have to use two different items

#

You'd be going through more work defining your enderchests and changing the functionality than if you just used a regular chest

runic pine
worthy yarrow
#

Alright well if you don't wanna listen

#

Then do that

dapper flower
#

bro is gonna reinvent the wheel using a screwdriver

runic pine
dapper flower
#

let him cook

worthy yarrow
#

ig so idk

worthy yarrow
#

Text displays are super easy to manipulate

runic pine
worthy yarrow
#

... how?

runic pine
#

and i

#

gameplay gets much worse

worthy yarrow
#

...

#

I get a why but I never get a how

runic pine
#

If I share the same Inventory instance, any changes will be reflected to all people who have the inventory open without any possibility of a dupe, correct?

dapper flower
#

for the mercy of the lord, just use PDC and store whatever a chest is password protected and add a listener and do stuff in case it is...

worthy yarrow
#

You're doing so much more work than needed

#

I swear I could have implemented this system 4 hours ago

dapper flower
#

or just use lockette or some other plugin that already does something similar

#

lwc is good too

worthy yarrow
#

Yeah idk from what I’ve gathered he’s trying to reinvent enderchests with a bit of extra functionality kek

dapper flower
#

so player vaults?

worthy yarrow
#

Well it looks like he wants physical objects

#

So like

#

Lockette + vaults?

dapper flower
#

shulker boxes with password basically?

worthy yarrow
#

More or less

#

At least from what I can understand

nova notch
#

cant you just have it be an actual chest but display it as an enderchest

worthy yarrow
#

You could do that too

remote swallow
#

thats a fake block technically

worthy yarrow
#

That's kinda the point

#

He wants "locked" chests to be displayed in some different way so

hazy shore
#

Who knows where I can get a good plugin template showcase or who can make one for me?

hard socket
#

I have an interface class that creates Coins (name, cooldown, etc...)
and for each needs specific event listenining
what is the best way to handle that

remote swallow
#

a consumer

hard socket
#

in the interface class?

remote swallow
#

sure

#

probably generics with it

hard socket
#

how will that work?

runic pine
#

If I share the same Inventory instance, any changes will be reflected to all people who have the inventory open without any possibility of a dupe, correct?

runic pine
rough ibex
#

1.8 is ancient

#

and you are going to have a very hard time

worthy yarrow
#

Who loves nbt?

quiet ice
#

PDC is better lel

worthy yarrow
#

duh

nova notch
worthy yarrow
#

?1.8

undone axleBOT
nova notch
#

holy shit we're approaching 10 years

runic pine
#

If I share the same Inventory instance, any changes will be reflected to all people who have the inventory open without any possibility of a dupe, correct?

eternal oxide
#

no

runic pine
eternal oxide
#

all will see the same inventory but items will dupe so easily

#

especially on 1.8

runic pine
eternal oxide
#

MC trusts teh client so will accept it when it says I'm taking this item

#

when multple take at teh same time, dupes for evryone!

nova notch
#

i dont see why you arent just using a normal chest and going through all this effort

worthy yarrow
#

I think I've said this maybe 6 times?

nova notch
#

fr

runic pine
worthy yarrow
#

...

eternal oxide
#

only one person can open a vanilla chest at a time

runic pine
#

several people can have the chest open at the same time

eternal oxide
#

Seems you've only played moded

runic pine
worthy yarrow
#

I think this guy is beyond help

runic pine
#

several people can have the chest open at the same time bro wtf hah

eternal oxide
#

seems so

#

no, ONE person at a time

worthy yarrow
#

I've already told him the answer several times, keeps refusing to listen, and keeps asking the same questions

eternal night
remote swallow
#

I've had multiple people open chests at once on spigot

eternal oxide
#

he was teh same yesterday too. He seems to only listen to GPT

eternal night
#

people can 100% interact with the same inventory what

worthy yarrow
#

I wasn't active yesterday

remote swallow
#

It's crafting benches that are 1 at a rime

eternal night
#

the server is full authoritative with survival mode clients on that

eternal oxide
nova notch
#

thats just not true

eternal oxide
#

its not?

eternal night
#

yea idk elgar i think you are wrong there

eternal oxide
#

um

runic pine
eternal oxide
#

I'll test it, sec

runic pine
#

you've never played minecraft bro wtf

nova notch
#

mandela effect goes crazy

runic pine
#

true

worthy yarrow
#

Augusto you cannot be talking

runic pine
#

If I share the same Inventory instance, any changes will be reflected to all people who have the inventory open without any possibility of a dupe, correct?I wanted to know the answer to this since Elgar smoked well

runic pine
#

and if it's an order, I can't tell the customer I just can't bro wtf

worthy yarrow
#

... I gave you all the information you needed and now I'm telling you to run away?

runic pine
nova notch
#

ok wait do trapped chests exist in 1.8

worthy yarrow
#

Maybe you shouldn't take commission work for things you know little about

runic pine
#

SOMEONE

#

INTELIGGENT

#

NICE

#

THX

nova notch
#

ok do that

runic pine
#

THANKS BROTHER

#

I LOVE YOU

nova notch
#

retexture it as enderchest

runic pine
#

YES

#

THANK YOU BROTHER

worthy yarrow
#

Now I am telling you to take a hike

torn badge
#

Chests can be opened and modified by multiple players at the same time

#

What only one player at a time can do is trade with a villager

runic pine
#

for edgar no and he cursed me in 999 words

worthy yarrow
#

He's pushing me to the edge, help!

eternal oxide
#

Nope, I have two players logged in, once one has the chest open the second can not interact with it

nova notch
#

???

eternal oxide
#

I have a temp server up right now

nova notch
#

i just tested it on neoforge 1.21 which is close enough to vanilla right

#

and it let me open it at the same time

worthy yarrow
#

I just want my braincells back

eternal oxide
#

um, perhaps ignore me

#

it may be spawn protection 🙂

#

um perhaps not. even op will nto let me open

#

Yep I'm completely wrong

worthy yarrow
#

It's ok

#

You still have a less smooth brain than some

eternal oxide
#

I know what is throwing me off. It was trying to share a Players inventory

nova notch
#

ngl you had me questioning my decade of minecraft knowledge

eternal oxide
#

tryign to share a players inventory was where dupes happen

#

Yep I'm the fool for today. I'll shut up and go back to numbing my mind with Anime

worthy yarrow
#

One mistake man not that bad

#

At least you're not trying to reinvent player vaults

runic pine
#

HAHAHA

hazy parrot
#

Why would you do that

#

Just use one type of database

wet breach
#

not sure what it is with people thinking mysql is slow or something

#

as the above, just stick with one DB type

worldly ingot
#

Or when people try to stuff all the data into a single record in a single table CRY

hazy parrot
#

The problem here are relations ig

remote swallow
worldly ingot
#

Like unique keys aren’t a requirement people! You can handle more than one result from a query!

remote swallow
#

while your here choco, hows america and life without poutine

worldly ingot
#

Now that you mention it, I haven’t had a poutine since I left. Thanks. Glad you reminded me of the suffering I’m enduring

remote swallow
#

oops

#

i would say make ur own but you'd probably have to get gravy from the world foods isle

wet breach
#

world foods?

remote swallow
#

america gravy is different to the right gravy

eternal oxide
#

Blood thins out without regular poutine intake

wet breach
remote swallow
#

this is what america calls gravy

#

this is real gravy

wet breach
worthy yarrow
#

Ah so a difference in container nice

#

kek

grim hound
wet breach
#

its not the same kind as chicken, beef or turkey gravy or whatever other gravy you are thinking of.

worthy yarrow
#

I'm kidding lol

#

I like wendy's biscuit and gravy

wet breach
#

its not bad, but home made gravy is always the best

worthy yarrow
#

So long as you understand a bit of culinary culture anything homemade is the best

#

My father has ruined regular food for me, I literally eat for nutrional value now unless he's the chef behind the meal

wet breach
#

usually its because home made doesn't have all those preservatives or as many depending

worthy yarrow
#

What do you say to the guy who uses too much salt?

wet breach
#

not sure if you could say anything lol, but I don't use a lot of salt

worthy yarrow
#

You're sodium annoying

wet breach
#

lmao

remote swallow
#

that is the worst thing ive ever heard

#

i love it

worthy yarrow
#

Yeah I'm funny

grim hound
#

I am lost

#

what the fuq

grim hound
#

for some reason it sees only handshake

#

it works normally for pings

#

but for some restarted reason

grim hound
grim hound
#

the in/out are from packetevents' event listeners

grim hound
quasi gulch
#

Not the right channel for this but maybe something like WorldGuard with the enter flag to false. That doenst move you back like this but wont let you enter the region

hybrid spoke
#

how do i activate rich presence in idea

hazy parrot
#

u need plugin

worthy yarrow
#

Discord integration right?

blazing ocean
#

yea

#

there's also one called discord rich presence iirc and it's good

#

ultimate only tho iirc

worthy yarrow
#

free

#

Don't even talk to me if you can't afford intelliJ ultimate psh

blazing ocean
#

REAL

hybrid spoke
#

ah right, got it thanks

hybrid spoke
worthy yarrow
#

Imagine being enrolled in school

hybrid spoke
#

nah

worthy yarrow
#

Oh you're just cool like that?

hybrid spoke
#

i have the open source license

blazing ocean
#

damn

worthy yarrow
#

Oh you're just cool like that

#

I see

sullen marlin
#

Netbeans is totally free and open source :>

worthy yarrow
#

No thanks

#

I prefer to spend money like a regular consumer

hybrid spoke
#

isnt it $200/y or something

blazing ocean
#

nvim my beloved ❤️

worthy yarrow
#

200$/y is pocket change psh

hybrid spoke
#

y'all can recommend a cozy theme for intellij?

blazing ocean
#

kat go learn vim

hybrid spoke
blazing ocean
worthy yarrow
hybrid spoke
worthy yarrow
#

uh

#

I got nothing

blazing ocean
blazing ocean
#

fuck no

worthy yarrow
#

Fuck it

#

go learn rust

blazing ocean
#

i know rust

worthy yarrow
#

The game not the language

#

loser

blazing ocean
#

no

sullen marlin
#

Gottem

worthy yarrow
#

^ fr did

blazing ocean
#

:(

hybrid spoke
#

if i install it my ide crashes

blazing ocean
#

💀

#

skill issue clearly

worthy yarrow
#

How did I know you were gonna say that

blazing ocean
#

how did I know you were gonna say that

worthy yarrow
worthy yarrow
#

cute cat

hybrid spoke
#

looks not bad honestly, but no idea if im a fan of these icons

blazing ocean
#

then don't use those icons

#

they do kinda suck for java and kotlin

#

but for ALL other ones they're great

#

smh

river oracle
#

Idk what the top image even is bro

blazing ocean
#

ebic has the server arrived already btw

remote swallow
#

nah it still hasnt

blazing ocean
#

wtf!

remote swallow
#

fr

#

im going to bed

#

night kotlin nerds

worthy yarrow
#

uhm

#

Why did I just figure out you can change the font in intelliJ

blazing ocean
#

💀

blazing ocean
remote swallow
#

not wingdings 💀

worthy yarrow
#

Now that's a sexy font

hybrid spoke
#

best font

worthy yarrow
#

I don't see it D:

#

Shit time to start writing in captcha

rough ibex
#

JB mono is best

worthy yarrow
#

Now that is an interesting font

#

Dear god

#

I actually kind of love it

hard radish
#

?paste

undone axleBOT
rancid mauve
#

that font though

#

my poor eyes

worthy yarrow
#

Oh yes

rough ibex
#

How do you people have these fonts downloaded

worthy yarrow
#

But I am loving it

worthy yarrow
rough ibex
#

I have Hack, Iosevka, JB, Terminus, Intel One

#

you shouldnt need any other

#

at least 1 satisfies you all

worthy yarrow
#

I can't find hack

rancid mauve
#

where is the code review topic?

#

I guess I'll submit my project, I always love feedback

paper viper
#

send a github link here

rancid mauve
#

oh xD

paper viper
#

or smthing

rough ibex
rancid mauve
#

ah ty

paper viper
#

that works better

worthy yarrow
#

I think I know why intelliJ takes 85% of mem

#

because of the 800 different fucking fonts that are loaded

#

I've been scrolling for like 10 minutes now and haven't hit the end

rough ibex
#

i doubt

#

it would just be loading a string

worthy yarrow
#

I was joking

rancid mauve
#

85% mem?

#

now just open Material.java

worthy yarrow
#

But I still don't understand why theres ten million different fonts

rancid mauve
#

when you misclick ctrl+b on Material.

worthy yarrow
#

I tend to ask here about my problems and only expect to be spoonfed the answers

worthy yarrow
#

That's the kind of spoon I need man

#

yurr

#

Well a lot of people here can help!

#

Ah gotcha

hybrid spoke
worthy yarrow
hybrid spoke
#

my eyes would hurt

worthy yarrow
#

Everyone says this and I don't understand why

#

At least it's not generic light theme

winter scarab
#

hey i need help, im coding with client side entities and this one is constantly teleporting to a player. when the player teleports long distances, the entity cannot teleport with the player because it is unrendered

paper viper
#

i don't like coding with backgrounds (too much on the eye)

winter scarab
#

ive also tried destroying the entity and creating a new one at the teleport location, but sometimes the packet doesnt spawn because the player hasnt loaded the new chunk yet either

hybrid spoke
winter scarab
worthy yarrow
#

If it works it works

winter scarab
#

what happens if the player is lagging and takes long to load the chunk

#

wouldnt it not render the new entity

hybrid spoke
#

you could also resent the entity every once and a while

winter scarab
#

idk this entity has to be at the player at all times constantly, even a slight delay will mess things up.

#

ive used display entities to avoid entity interpolation which helped a lot

#

ok wait, im looking at protocol on wiki.vg and i see serverbound - confirm teleportation.
could i use this to confirm the player has actually loaded there and is ready to have the new packet entity sent?

spring portal
#

I've tried to use buildtools to compile spigot 1.21, and i keep running into this:

error: sha1 information is lacking or useless (src/main/java/net/minecraft/world/level/block/state/BlockBase.java).
error: could not build fake ancestor
Patch failed at 0006 Async Operation Catching

Using the wiki tells me to run git config --global --replace-all core.autocrlf true which I did, but it didnt help.
I then tried running this command while in PortableGit's bin directory to make sure that it would help if it wasnt modifying my computer's git install, but still no help.
(is there a way to use my own git install??)

If anyone can help with this, thanks!

Oh, and heres my debug info and log file: https://hastebin.skyra.pw/rayopajele.nestedtext

torn shuttle
#

mamma mia I'm cooking a mighty fine pasta code once again

#

this code is so al dente the spider man pizzaria music spontaneously started playing in my IDE

drowsy helm
#

Man i am loving this font

#

just feels so homely

torn shuttle
#

give me inconsolata or give me death

paper viper
#

that looks like the mc font

nova notch
#

it is

floral drum
#

I hate it

spring portal
rough ibex
#

arrows are not minecraft

#

D:

#

oh thats because its rounded

#

hq2x it seems

past python
#

a

viscid carbon
#

Is this a bad way of doing it? String brokenBlock = e.getBlock().getBlockData().getAsString().replace("minecraft:", ""); I mean... It works but is it bad? 😂

#

its just so i dont have to put minecraft: in my config

rough ibex
#

does it not work without minecraft: ?

#

I would imagine without the namespace it uses the default...

viscid carbon
#

nope, i gotta manually put minecraft: each time. which isn't a big deal the code doesn't look that great tho lol

sullen marlin
#

?xy

undone axleBOT
rough ibex
#

can you show some more code

#

like when you use brokenBlock

viscid carbon
rough ibex
#

use matchMaterial?

viscid carbon
#

so this?
public Material getTaskMaterial(String task) {
return Material.matchMaterial(getTask(task).getString("Material"));
}

rough ibex
#

Probably, yes.

viscid carbon
#

couldn't get that to work but Material#getMaterial() did work..

#

plus made it not as bad to look at 🤣

torn shuttle
#

?paste

undone axleBOT
torn shuttle
#

man that bbmodel thing is also going to be a whole thing

viscid carbon
#

whats it for?

torn shuttle
#

man I kinda wish I could hit a treadmill right now

#

it's for an import system for my plugins, made it plugin agnostic so people can install content on the wrong plugin and it will still be redirected to the right place

viscid carbon
#

thats pretty cool ngl

torn shuttle
#

can someone remind me, if I call an event in the traditional way does it run on the same tick or the next tick?

worldly ingot
#

Should run immediately. It invokes all the listeners when you invoke callEvent()

#

You can pull from the event class all the information you need that might have been changed in a listener, so

torn shuttle
#

thanks babe

#

💋

#

also definitely a relevant question in this place, do I try to make a cup out of an hexagonal molecule pattern in blender or in fusion 360 for a thing I'm 3d printing

#

I think if I do it in 360 this is going to take like 100 different planes

#

hmmm

faint citrus
#

Hello, I'm struggling to get my setup for development started.
I'm following along with this tutorial https://www.youtube.com/watch?v=pRzR4OIoVks

And everything I've done following it, however when I try to extend JavaPlugin my eclipse doesn't recognize org.bukkit.plugin

rough ibex
#

In that tutorial he doesn't use a build system

#

everyone (and I mean everyone) uses one

#

Maven or gradle.

#

I personally like maven

#

but gradle is equally possible and valid

#

These build systems download and make available to java other libraries (for one)

faint citrus
#

I've used maven for other projects before so maybe it's worth using a different tutorial that incorporates maven then?

rough ibex
#

Yes.

viscid carbon
#

Get the minecraft development plugin

rough ibex
#

not required and I'm not sure I'd recommend it

viscid carbon
#

Why not?

rough ibex
#

Why?

#

I don't use it.

faint citrus
#

Is there one for eclipse or are you talking about ij

orchid trout
#

ij

viscid carbon
#

Dont have to, i just like it. ij

rough ibex
#

most of it is a glorified wrapper

torn shuttle
#

the ij mc dev plugin is decently useful

#

for quickstarting

viscid carbon
#

Its not hard to make a plugin.yml and onEnable() but its just nice.

torn shuttle
#

it's just mildly convenient

#

also automatically makes the pom

faint citrus
#

Thanks guys, I was dying, been at this for like an hour and a half just searching google for the error / other issues

viscid carbon
#

@torn shuttle just started using maven recently. i was importing everything before. xD maven is so much better

viscid carbon
faint citrus
#

Yeah, I didn't really want to bother with a simple issue, but I kind of hit a wall

#

I wouldn't have found out that I wasn't really on the right track without asking lol

viscid carbon
#

If you dont know OOP i recommend looking up a video on it before starting comepletely.

faint citrus
#

I have a decent amount of java experience

viscid carbon
#

Okay good, i dont xD

faint citrus
#

I just struggle with IDE setups

#

they confuse me

#

Did you learn java from mc plugins then?

viscid carbon
#

Yes, and from a buddy that got me started with it. he just taught me the real basic stuff. I've kinda learned OOP recently because of this helpful community. ❤️

faint citrus
#

That's so cool

#

learning coding through Minecraft is super fun

#

I got my start with datapacks

viscid carbon
#

I enjoy minecraft, i enjoy the challenge of coding. I've just been coding a base plugin for if i do start a server (end goal) that all the features besides coreprotect and luckperms coded by me

faint citrus
#

Make your own essentials plugin 👀

viscid carbon
#

i started back in 2019, with my own server and ended up wanting it to be differen't. ended up giving that server to a friend (due to working a lot) but he killed it. started his own server and i was the dev for it.

faint citrus
#

recoding luckperms seems like a challenge

viscid carbon
#

Thats what it is.

faint citrus
#

Ah rip

viscid carbon
#

I wanted to do things back in the day with like homes, you start out with 1. but with tasks/quests you earn tokens and you can buy more homes that way

#

you couldn't really do that with essentials and it had too many things i didnt want lol.

faint citrus
#

Earning more homes through quests sounds like a really neat concept

#

Alright I got everything working. Thanks everyone

viscid carbon
#

Happy coding!

mortal vortex
#

Fabric has this task runServer and runClient which runs the Client (or server) with the mod already included. Likewise, can this be done with a Plugin?

sullen marlin
#

just copy or symlink the jar to your server

quaint mantle
#

hi guys i have two bungeecord server and i want the inventories of players on these servers to be the same

someone know any method for this ?

blazing gyro
#

How do I make an entity that has certain persistent metadata not killable (like /kill from essentials or /minecraft:kill @e)?

sweet pike
#

i'm very new to contributing, and i wanted to see if i could add some API for minecraft's latest update.

i've read through the wiki on contributing, and i can follow it generally, but im getting quite confused on what repositories i need to clone and how to install all the libraries that they use.

for example, let's say i wanted to add an event for when Vaults in trial chambers drop loot. what repositories would i have to clone locally?

when i initially followed the guide, just to get a sense of jira/stash, i cloned CB, but no bukkit imports were available. then i cloned bukkit to my local machine and the errors in the CB project were resolved. im still quite confused on what i have to do if i want to add API that needs modification to Bukkit, (CB potentially?) and NMS to fire the event from. i might be looking at this all wrong, so i'd appreciate some guidance on how to move forward the right way

umbral ridge
#

Yes

echo basalt
#

/kill is incredibly useful for getting rid of stale / bugged out entities

tame wolf
#

Hiya! I'm using the PlayerInteractEvent when a player clicks on a vault block to modify the NBT data so the player can use it again

#

But after it was opened the user needs to right click it to run the event before the plugin updates the NBT

#

Is there a better event to use so they don't need to do this?

haughty storm
#

How would I go about creating a system, where each player is transported to their own world, but each of the worlds are identical

hazy parrot
#

how big a world should be

#

like a literally whole world or

haughty storm
upper hazel
#

player.playEffect(player.getLocation(), Effect.SNOWBALL_BREAK, 0, 0, 5.0F, 5.0F, 5.0F, 50.0F, 16 * 10, 5); - Cannot resolve symbol 'Effect'

#

how give effect

#

inteliji not can find package

#

for class

fallow ether
#

https://ibb.co/x5JNZ2v ,

Hi, does anyone have an idea of ​​what plugin could do this kind of interface in minecraft?

sullen marlin
torn shuttle
#

I feel like I'm setting up a rube goldberg machine for how my plugins work together

#

a plugin imports content and throws and event, a second plugin listens to the event and regenerates content, the second plugin then sends an event when it's done for a third plugin to listen to that to redo the resource pack merging and autohosting...

worthy yarrow
#

Build tools is what it says it is, just a compiler of the spigot software

summer scroll
#

Hey guys, so I created a chunk collector plugin and I want to collect some item spawned using ItemSpawnEvent, but I wanted to exclude items spawn from block broken, I'm currently stuck and find no solution, can someone help me please? Basically I want to detect if that Item is spawned from broken blocks.

lost matrix
#

Just an example

public class BlockDropManager {

  public static final String TAG = "dropped_from_block";

  public boolean isDroppedFromBlock(Item item) {
    return item.getScoreboardTags().contains(TAG);
  }

  public void tagAsBlockDrop(Item item) {
    item.addScoreboardTag(TAG);
  }

}
public class BlockDropTagListener implements Listener {

  private final BlockDropManager blockDropManager;

  public BlockDropTagListener(BlockDropManager blockDropManager) {
    this.blockDropManager = blockDropManager;
  }

  @EventHandler(ignoreCancelled = true, priority = EventPriority.MONITOR)
  public void onBlockDropItem(BlockDropItemEvent event) {
    event.getItems().forEach(blockDropManager::tagAsBlockDrop);
  }

}
summer scroll
#

Will do that, thank you!

#

Works wonderfully, once again thank you so much!

sweet pike
young knoll
#

Boo scoreboard tags

#

PDC is the way

dawn flower
#

does Bukkit.getEntity get entities in unloaded chunks

umbral ridge
#

i think no

dawn flower
#

rip

umbral ridge
#

u can load chunks

dawn flower
#

true

umbral ridge
#

and then check

dawn flower
#

but it instantly gets unloaded if no players r around

umbral ridge
#

With WorldCreator class

dawn flower
#

i can force load it tho

dawn flower
haughty storm
#

Hi. How would I go about creating a system, where each player is transported to their own world, but each of the worlds are identical. I want each player to basically have their own lobby

blazing gyro
dawn flower
mortal vortex
#

Did you import import org.bukkit.Effect

#

oh wait, it's EntityEffect.

#

should be just EntityEffect.SNOWBALL_BREAK

upper hazel
#

1.21 version minecraft

inner mulch
#

can the background of a scoreboard be made transparent? via api, texture pack or shaders?

runic pine
#

public static Boolean playerOnline(String username)
{
return Bukkit.getPlayer(username) != null;
} is thread safe?

inner mulch
#

how would it not be thread safe?

upper hazel
#

I was always surprised why the nickname is not a unique id for the player

#

if you not can log with same nick

#

or is there some kind of workaround?

runic pine
# inner mulch how would it not be thread safe?

If this is executed asynchronously, what will happen? Will some concurrency exception be executed or will a concurrency problem simply occur in which it may say that the player is offline but is actually online, for example?

river oracle
#

?tas

undone axleBOT
inner mulch
runic pine
inner mulch
#

no

runic pine
#

If this is executed asynchronously, what will happen? Will some concurrency exception be executed or will a concurrency problem simply occur in which it may say that the player is offline but is actually online, for example?

inner mulch
#

just dont call it async

upper hazel
runic pine
#

BRO THE CODE IS NOT MINE I JUST WANT TO KNOW WHAT APPENS

#

If this is executed asynchronously, what will happen? Will some concurrency exception be executed or will a concurrency problem simply occur in which it may say that the player is offline but is actually online, for example?

inner mulch
runic pine
#

Holy shit they only talk shit and they don't talk about the important thing

upper hazel
#

but still a working method

#

and I'm just about to make without lags to change the block biomes of the entire world.

upper hazel
#

I'm making a plugin that will make the whole world a tundra.

inner mulch
#

okay

mortal vortex
#

W- why do you need a plugin to do that? Aren't you bound to end up with misaligned chunks? You can easily create a world with a single biome in vanilla Minecraft.

#

you're creating, what is essentially a script for a one time thing.

upper hazel
#

I have my reasons.

mortal vortex
tame wolf
upper hazel
#

i change biome AFTER generating world

eternal oxide
#

why?

#

changing after will mean some are teh wrong biome

#

just create a Generator and you create teh world... done

upper hazel
#

I'm doing an event that will make all players die after the world freezes over at the end of the server season.

#

like a change in the weather.

eternal oxide
#
public class SingleBiomeGenerator extends ChunkGenerator {
    
    @Override
    public BiomeProvider getDefaultBiomeProvider(WorldInfo worldInfo) { // Always DESERT so no rain nor snow
    
        return biomes;
    }

    BiomeProvider biomes = new BiomeProvider() {
    
        @Override
        public List<Biome> getBiomes(WorldInfo worldInfo) {
    
            return Collections.singletonList(Biome.DESERT);
        }
    
        @Override
        public Biome getBiome(WorldInfo worldInfo, int x, int y, int z) {
    
            return Biome.DESERT;
        }
    };
}```
lost matrix
upper hazel
eternal oxide
#

its a generator so ```java
private World createWorld(String name) {

    WorldCreator wc = new WorldCreator(name);
    wc.generator(new SingleBiomeGenerator());
    return wc.createWorld();
}```
lost matrix
#

No, this is a generator which needs to be used in the WorldCreator in order to generate a world with it.
It wont change biomes in a world afterwards.

#

Like Elgarl spooned ^^

eternal oxide
#

you can modify teh WorldCreator to change how teh world will generate before creating the actual world

lost matrix
#

Do you want to edit an existing world? Or generate a tundra from the beginning=

upper hazel
#

I need to change at the end of the server season the whole biome (gradually) into a tundra biome so the only way I have found is to go through ALL blocks and change their biomes (or all the chunk pieces if possible)

eternal oxide
#

ah

lost matrix
eternal oxide
#

do you really need teh biome change?

#

What is your end goal?

upper hazel
#

or work but this will be harder do

upper hazel
#

"snowstorm" event

#

for "content"

#

All players who enter the tundra biome will eventually die as part of the event.

#

like freeze

#

1.21.

#

version

#

and this tundra should gradually encompass the whole world.

#

so eh i should

#

change biom

#

this crazy yea?

echo basalt
lost matrix
# upper hazel this crazy yea?

Its possible, but quite a tricky task. There are a few approaches to this.

  • Changing Biomes as they load
  • Changing Biomes over several ticks in all generated chunks (Can take hours)
  • Keeping Biomes but changing outgoing packets
    And some more
echo basalt
#
  • using bytecode manipulation to override the getBiome method in nms to return your hardcoded value
  • multi-threaded world data nbt editing
lost matrix
#

Editing nbt data on disk is such a gruesome task...

river oracle
echo basalt
#

been commissioned by a microsoft guy to fetch every book and write it to a .txt on a 30gb world before

echo basalt
river oracle
#

Spigot dms???

echo basalt
#

forum yeh

river oracle
#

Oh okay

lost matrix
echo basalt
#

Was a hard requirement

#

The one thing I did cheap out on was utf-8 support

#

the lib I was using converted every chinese char to ?'s

lost matrix
#

It is what it is

echo basalt
#

guy was happy, made my money that's all that matters

upper hazel
echo basalt
#

what if..

#

store the corner position, increase distance gradually

lost matrix
echo basalt
#

when chunk loads -> see if the uh

blazing ocean
echo basalt
#

thing

#

is close enough

upper hazel
#

Well, it's always more complicated than I thought. What a life.

echo basalt
#

And then put that chunk up for processing

#

sorting columns by distance and then flood-filling ig?

#

🤔

lost matrix
#

In the queue it goes 🙂

echo basalt
#

They can be processed async

lost matrix
#

?workdistro

echo basalt
#

via chunk snapshots

lost matrix
echo basalt
#

I switched from using a thread pool with like 4 threads to just yeeting it all as a kotlin coroutine and got like an 8x performance improvement

#

scanning 350k blocks into 60k valid positions legit went from like 12 seconds to 1.5

blazing ocean
echo basalt
#

And most of it is waiting for chunks to load

lost matrix
ivory sleet
lost matrix
echo basalt
#

ClassCastException: class com.sk89q.worldedit.bukkit.BukkitPlayer cannot be cast to class com.sk89q.worldedit.bukkit.BukkitPlayer
am I facing classloading issues 🤔

lost matrix
ivory sleet
#

haha yea sadly the structured concurrency api is still in preview iirc

#

:,) but yea its cool

#

worth checking out ^^

echo basalt
#

I'm not shading it

#

java.lang.ClassCastException: class com.sk89q.worldedit.bukkit.BukkitPlayer cannot be cast to class com.sk89q.worldedit.bukkit.BukkitPlayer (com.sk89q.worldedit.bukkit.BukkitPlayer is in unnamed module of loader 'FastAsyncWorldEdit-Bukkit-2.8.4.jar' @3e143bfc; com.sk89q.worldedit.bukkit.BukkitPlayer is in unnamed module of loader 'FastAsyncWorldEdit-Bukkit-2.8.4.jar' @37b31548)

#

different hashes but same jar

ivory sleet
#

loaded twice it seems like

echo basalt
#

unless my boy updated fawe and /reloaded which is highly unlikely

eternal oxide
#

Thats usually an (I shaded FAWE into my plugin)

echo basalt
#

found evidence of /reload on the logs

#

brb gonna skin someone alive

jolly solstice
lost matrix
upper hazel
#

I forgot what is the name of the list for async which gets the first element and removes it from the list

drowsy helm
#

Queue?

echo basalt
#

ConcurrentLinkedQueue?

azure halo
upper hazel
#

oh yes

paper viper
#

standard worldedit works fine

winter axle
#

Hey guys, I'm working on a BungeeCord Plugin wich registers a command /msg ... it interferes with the /msg command implemented by Minecraft. Is there a way to override the default command with the Proxy command? I tried to disable it in the commands.yml, but it didn't fix my problem 😐

#

Workaround would be to create a spigot plugin and register this command to execute the proxy command... but there must be a better way to achieve this isn't it?

mortal hare
#

is there any minecraft block that accepts redstone signal, causes block update, but doesnt transmit signal by itself?

#

something like a bell block but not as fucking loud 😄

echo basalt
#

actually targets have the opposite effect

#

hm

#

I'm thinking fence gates / powered rails

mortal hare
#

it doesnt cause block update

#

fence gates maybe

paper viper
#

redstone lamp?

mortal hare
# paper viper redstone lamp?

i've tried but im missing something, im learning redstone a bit, so im trying to power a piston using quasi-connectivity, but weirdly enough some blocks like bell power the piston, even if it doesnt transmit redstone, well because it updates the neighbouring piston, and some blocks like redstone lamps power on but do not update piston

#

learning quasi-connectivity is kinda weird

eternal oxide
#

a redstone torch on the side of a block will trigger the piston

#

power teh block its on

mortal hare
mortal hare
warm mica
#

Hence the bungee commands won't display an "unknown command" message besides what they are doing

mortal hare
#

minecraft is cursed

tardy delta
#

it is

torn shuttle
#

lord have mercy, using a chain of dependencies now reloading a plugin of mine might reload up to 4 plugins

torn shuttle
#

whelp also I think I broke it due to calling it from inside of a shaded core lib

#

oh wait

#

no, it should be right

#

yeah it doesn't work

#

well this sucks

#

I have the same shaded core lib on two plugins and throwing an event from the core lib of one of the plugins doesn't seem to allow the other plugin to detect it even though I have the plugin as provided scope in the pom dependency

#

well I'm annoyed but not surprised