#help-archived

1 messages Β· Page 155 of 1

river cradle
#

@undone narwhal Surprisingly I got it to work, but however the while loop that checks for items in the queue completely blocks the main thread (and thus also important events which happen in that period), is there anything I can do about that?

lucid wasp
#

Im making a custom ban, any way to remove the "You are banned from this server. Reason:" message?

wheat mirage
#

Okay guys, this is a difficult one.
Trying to find if a mobs bounding box would collide with the world at a given location
I've copied the code SpawnerCreature uses (Minecraft's own spawning system)
and it's given me this.

     if (entityTypes.e() == EnumCreatureType.MISC) {
         return false;
     }
     boolean colliding = worldserver.b(entityTypes.a(
             (double)bpos.getX() + 0.5,
             bpos.getY(),
             (double)bpos.getZ() + 0.5
     ));
     
     return colliding;
 }```
#

However, colliding is always true

#

Except for slimes and spiders sometimes

#

I've got some displays in game to help me view where it's trying to spawn

#

They are 100% valid locations

lusty vortex
#

Why not just use the entities collision box

#

Is that 1.16?

wheat mirage
#

It's 1.16 yes

#

And I'm using the entities collision box, but this is before the entity is spawned

#
    private static boolean a(WorldServer worldserver, EnumCreatureType enumcreaturetype, StructureManager structuremanager, ChunkGenerator chunkgenerator, BiomeBase.BiomeMeta biomebase_biomemeta, BlockPosition.MutableBlockPosition blockposition_mutableblockposition, double d0) {
        EntityTypes<?> entitytypes = biomebase_biomemeta.c;
        if (entitytypes.e() == EnumCreatureType.MISC) {
            return false;
        }
        if (!entitytypes.d() && d0 > (double)(entitytypes.e().f() * entitytypes.e().f())) {
            return false;
        }
        if (entitytypes.b() && SpawnerCreature.a(worldserver, structuremanager, chunkgenerator, enumcreaturetype, biomebase_biomemeta, (BlockPosition)blockposition_mutableblockposition)) {
            EntityPositionTypes.Surface entitypositiontypes_surface = EntityPositionTypes.a(entitytypes);
            return !SpawnerCreature.a(entitypositiontypes_surface, worldserver, (BlockPosition)blockposition_mutableblockposition, entitytypes) ? false : (!EntityPositionTypes.a(entitytypes, worldserver, EnumMobSpawn.NATURAL, blockposition_mutableblockposition, worldserver.random) ? false :
                    worldserver.b(entitytypes.a((double)blockposition_mutableblockposition.getX() + 0.5, blockposition_mutableblockposition.getY(), (double)blockposition_mutableblockposition.getZ() + 0.5)));
        }
        return false;
    }```
#

Relevant NMS code from SpawnerCreature (about line 220, depends on decompiler)

lusty vortex
#

I don't have 1.16 downloaded, gime a sec πŸ˜†

wheat mirage
#

No worries, thanks for the help @lusty vortex

#

I also have the de-obfuscated source function

#

Using proguard mappings

#

And from what I can tell nothing is out of place

lusty vortex
#

I'm not even seeing a worldserver.b(AxisAlignedBB) function

wheat mirage
#

It implements ICollidable

#

It's a default function

frigid ember
#

Hi again, so I finally managed to use AWE for schematic pasting, but now there's an exception each time it tries to paste inside an unloaded chunk
Error message: [AWE] Chunk not found for [-8,-9]. Loading from async thread is not supported.
Anyone had this issue and knows how to fix it? Or do I need to manually load all the chunks before pasting?

wheat mirage
#

Get an instance of it then Go To -> Declaration @lusty vortex

#

Or just go to ICollisionAccess.java

lusty vortex
#

I'm just using a shitty decompilier man

#

πŸ˜†

sturdy oar
#

let me guess, is it JD-Gui

lusty vortex
#

Damn RIGHT

#

My favorite 1

sturdy oar
#

lmao

wheat mirage
#

@lusty vortex Yeah just use ICollisionAccess then

undone narwhal
#

@river cradle Use a Bukkit sync task instead of the while loop

wheat mirage
#

CFR is the best imo

#

@tiny dagger Pinging because I know you're around and good with this stuff

tiny dagger
#

uhm

#

what you need me for?

#

exactly

sand helm
sturdy oar
#

no

sand helm
#

😦

sturdy oar
#

?paste

worldly heathBOT
wheat mirage
#

@tiny dagger scroll up, trying to figure out why a bounding box method isn't working as expected

sand helm
wheat mirage
#

@sturdy oar why does md5 host his own instance of hastebin lol

tiny dagger
#

why don't you use the Entity#getBoundingBox();

#

method?

wheat mirage
#

@tiny dagger Can this be used to check collision with blocks?

tiny dagger
#

well yeah

sturdy oar
#

@sturdy oar why does md5 host his own instance of hastebin lol
@wheat mirage for the spigot community I guess

tiny dagger
#

min max

#

i think it should

wheat mirage
#

@tiny dagger what?

lusty vortex
#

Jesus this collision system changed

wheat mirage
#

Min max you think it should what?

#

And yeah my thoughts too @lusty vortex

tiny dagger
#

well min max is what defines a bounding box

#

not sure if you ever made a selection

lusty vortex
#

I don't see anything wrong with the code? Maybe try getCubes

wheat mirage
#

@tiny dagger I'm trying to check if a bounding box collides with blocks in the world, you're not making any sense.

#

@lusty vortex Sorry don't understand what you mean by getCubes, is this a method of the bukkit / nms world?

lusty vortex
#

It's inside ICollisionAccess

#

Might also contain entity boxes too though

sand helm
wheat mirage
#

My main concern is why it works for Spigot / MC but not for me @lusty vortex

#

But I'll look into that, thanks

sturdy oar
#

minecraft 1.8 lmao

#

update man

sand helm
#

me?

lusty vortex
#

@wheat mirage Maybe the chunks aren't loaded? No clue tbh. The code should work fine though?

wheat mirage
#

@sand helm Your plugin isn't compatible with your version

#

@lusty vortex chunks are loaded

sand helm
#

ok

sturdy oar
#

anyway youi probably have a wrong WorldGuard version

#

you need to use 1.15.2 if you want to use latest WorldGuard

wheat mirage
#

They're all valid locations, checked using particle debugs

lusty vortex
#

I would try that getCubes method. Nothing to loose πŸ€·β€β™€οΈ

#

Just curious

wheat mirage
#

Yeah probably a good idea

tiny dagger
#

yeah

#

that looks like it

wheat mirage
#

I'll let you know how it tests

#

@lusty vortex @tiny dagger Same issue, thinks it's colliding.

lusty vortex
#

Is the entity spawned in already? It's not - right?

#

Do you get the collision even when there's no blocks within a 5 block radius?

tiny dagger
#

but i think you need a location as well

lusty vortex
#

He's got it on there

wheat mirage
#

Those particles show where it's checking

#

All mobs are a skeleton

lusty vortex
#

Have you debugged the actual points on the bounding box?

#

In case they're being set weird

wheat mirage
#

Could be interesting

#

Not worked with bounding boxes before

#

Are they coordinates relative to the world or relative to the entity?

lusty vortex
#

World

wheat mirage
#

I'll toString bukkit's bounding box

#

Hopefully it prints nice

#

I think I can debunk that theory already actually @lusty vortex

#

The bounding box is returned by entityTypes.a, and the parameters are the same as it is in spigot

#

There's no way it could be affected by the entity not spawned yet

#

Trying anyway with getcubes

#

Okay

#

Works with getcubes

#

you need to set the position after getCubes is checked

#

as it wants relative to the entity's center, not the world.

#

Trying with the old code instead of getCubes to see if that's still broke

#

Yeah still broke

#

So getCubes works, Minecraft's code doesn't in this context

#

Wonder why

#

If you get any brainwaves, please let me know @lusty vortex , you've solved my issue by switching to getCubes, but I'd love to understand why the original is broken. Thanks!

lusty vortex
#

@wheat mirage Sooo...

#

As it turns out

#

True = not colliding

#

False = colliding

#

Lmaooo

wheat mirage
#

What the fuck

#

Why is getCubes different?

#

Or has my new code broken it so it now thinks it's always colliding

#

And therefore assumes it's clear

lusty vortex
#

I'm ASSUMING getCubes checks ALL collision boxes

#

And it translates to "collides with cubes"

#

While the other might be "isNotCollidingWithBlocks"

#

πŸ€·β€β™‚οΈ

wheat mirage
#

I'm a retard.

#

Thanks @lusty vortex

#

Been awake far too many hours debugging this

lusty vortex
#

You just fell victim to obfuscation is all πŸ˜†

#

Weird function to return true on for NOT colliding anyways

wheat mirage
#

The original source isn't even that bad

#

but spigot's

#
            EntityPositionTypes.Surface entitypositiontypes_surface = EntityPositionTypes.a(entitytypes);
            return !SpawnerCreature.a(entitypositiontypes_surface, worldserver, (BlockPosition)blockposition_mutableblockposition, entitytypes) ? false : (!EntityPositionTypes.a(entitytypes, worldserver, EnumMobSpawn.NATURAL, blockposition_mutableblockposition, worldserver.random) ? false :
                    worldserver.b(entitytypes.a((double)blockposition_mutableblockposition.getX() + 0.5, blockposition_mutableblockposition.getY(), (double)blockposition_mutableblockposition.getZ() + 0.5)));
        }```
#

This is the line I was de-obfuscating by hand

#

Almost impossible not to be confused

#

WHY IS IT ALL ONE LINE

lusty vortex
#

They released the ORIGINAL? Or the mapped?

wheat mirage
#

Yeah sorry de-obfuscated using the mappings they released

lusty vortex
#

I haven't even seen the mapped yet. Heard a lot of talk about it though

wheat mirage
#

It's pretty nice

#

Doesn't match up name wise to spigot

#

so can be a little annoying

#

but really good

#

especially since mcp gets a little worse each update as it's not being maintained

lusty vortex
#

mcp back in the day was ridiculously good

#

That 1.8 client map is amazing

scenic osprey
#

hi, i have a 1.16.1 spigot server and whenever someone throws an enderpearl into the outer end portal the server crashes every time
this happens:

#

java.lang.IllegalStateException: Removing entity while ticking!

sturdy oar
#

does this happens on latest build without any plugin?

scenic osprey
#

1.16.1, with 1 plugin by me so doesn't so much

lusty vortex
#

@scenic osprey That doesn't look possible on the latest 1.16 build?

#

They've got type checks

#

if (entity instanceof EntityEnderPearl) {
Entity entity2 = ((EntityEnderPearl)entity).getShooter();

scenic osprey
#

well

#

alright bots

#

HM

#

stop

#

rly

#

jus

#

its from get bukkit

#

.org

#

why is that blocked?

#

@lusty vortex

lusty vortex
#

????????????

wheat mirage
#

or equivalent

scenic osprey
#

alriht

lusty vortex
#

He posted em'

wheat mirage
#

Yeah but I've got too many message.txt's already

lusty vortex
#

java.lang.ClassCastException: net.minecraft.server.v1_16_R1.EntityEnderPearl cannot be cast to net.minecraft.server.v1_16_R1.EntityPlayer
at net.minecraft.server.v1_16_R1.TileEntityEndGateway.a(TileEntityEndGateway.java:160) ~[server.jar:git-Spigot-758abbe-2b00831

#

xD

wheat mirage
#

Idk why discord doesn't have something better

#

Pathetic

scenic osprey
#

what @lusty vortex

lusty vortex
#

The error shouldn't be logically possible

wheat mirage
#

Lol

#

Is there a plugin in the stacktrace?

#

Or not?

lusty vortex
#

They do a type check

wheat mirage
#

Wait

#

@scenic osprey Reboot your server, does it make you wait 20s

lusty vortex
#

Yeah I'm pretty sure he's outdated too

scenic osprey
#

yes

wheat mirage
#

Rerun buildtools, update

scenic osprey
#

is there a newer build from 1.16.1?

sturdy oar
#

always

wheat mirage
#

If it makes you wait 20s, then yes

lusty vortex
#

He's probably using a mirror website

scenic osprey
#

i don't use buildtools bruh

wheat mirage
#

Those still exist?

sturdy oar
#

🀦

scenic osprey
#

but sure

sturdy oar
#

they're illegal fyi

wheat mirage
#

πŸ€¦β€β™‚οΈ

scenic osprey
#

lol

wheat mirage
#

@scenic osprey Build tools is super easy to use, download and never look back

lusty vortex
#

Yeah no kidding lol

wheat mirage
#

java -jar BuildTools.jar --rev 1.16.1

lusty vortex
#

Those mirror websites might give you some malicious Spigot

wheat mirage
#

Download jar, run that cmd in cmd or Git bash or equivalent

lusty vortex
#

I wouldn't trust them πŸ€·β€β™€οΈ

sturdy oar
#

ehy guys do you want to download Spigot 1.17

river cradle
#

Hi there, I was having issues with trying to teleport players from an asynchronous method. I was able to solve this thanks to a person here by making that method add the players to a queue and synchronously teleport all the players from the queue elsewhere. However, temporarily, the loop which attempts to loop through the queue blocks the main thread which stops important events and such from getting handled. Is there anything I can do about this?

wheat mirage
#

Do you think spigot will ever be free of the DMCA threat? @lusty vortex

scenic osprey
#

ive done that before but it just put folders everwhere

#

ill read the docs tho

wheat mirage
#

Run it in it's own directory

#

Astritex

lusty vortex
#

Even if they are, it'll still be copywrite infringement

wheat mirage
#

Unless mojang secretly owns spigot too πŸ˜›

lusty vortex
#

MD_5 is 200 IQ with copywrite laws now. You can't even submit a PR without going through a process lol

scenic osprey
#

*studios

wheat mirage
#

BULGARIAN HOSTAS

#

genius

lusty vortex
#

Legit if you host something on a Russian server, they'll ignore DCMA's

#

Russian's don't give a fuck

frigid ember
#

good morning everyone i have a problem with the chat in 1.16 i am executing comands but they don't work only works frome the console not in game how can i solved this

wheat mirage
#

@river cradle Why is it stopping the main thread so bad? Is it a really intensive loop? Shouldn't be

#

Running Bukkit.getScheduler()#runTaskLater with a 0 delay should send things back on the main thread

#

That's my trick anyway

#

It's served me well

#

Just make sure anything you pass is thread safe

lusty vortex
#

There's no FAST + performance way of teleporting tons of players

river cradle
#

Running Bukkit.getScheduler()#runTaskLater with a 0 delay should send things back on the main thread
@wheat mirage Oh wait I can just call the player.teleport() from there?

lusty vortex
#

Throw it on another thread and you'll create tons of tracker issues

wheat mirage
#

Idk @lusty vortex Teleporting isn't that intensive, it shouldn't freeze the server for anymore than a half a second with even 50 players

#

Depends on hardware obvs

#

and yeah @river cradle

river cradle
#

Oh thank you let me try that

lusty vortex
#

Half a second is too long!

frigid ember
#

good morning everyone i have a problem with the chat in 1.16 i am executing comands but they don't work only works frome the console not in game how can i solved this

wheat mirage
#

Lol, depends your use case

#

If freezing is too bad, teleport as many as you can get away with without delaying the tick

#

And split between ticks

#

@frigid ember Logs?

frigid ember
#

not error send in console

river cradle
#

Could it be that I should just use runTask instead of runTaskLater with a delay of 0?

wheat mirage
#

@frigid ember Any plugins? Could be CommandPreProcess event is being cancelled due to an outdated plugin

frigid ember
#

ok i send a log

wheat mirage
#

@river cradle Yeah probably, not had to do it in a while

frigid ember
wheat mirage
#

@river cradle Knew I'd thought this myself

#

I present to you the code for runTask()

#

return this.runTaskLater(plugin, runnable, 0L);

#

Lol.

#

@lusty vortex you'll get a kick out of that ^

river cradle
#

Oh so it is litteraly a shorthand? Well problem solved then πŸ™‚

light geyser
#

Hello, I'd like to use an event from another plugin of mine in the plugin im working on now, how would I go about telling Eclipse thats all valid? Ive added it as a dependency in plugin.yml already

lusty vortex
#

runTaskLater with a negative time goes back in time. Crazy stuff

wheat mirage
#

@light geyser Switch to IntelliJ, never look back. Otherwise, add as a maven dependency, but from your question I feel like you haven't ever used maven, in which case just add the jar as a dependency

river cradle
#

Ah great, it seems like runTask is deprecated

light geyser
#

Im using Gradle πŸ˜„

wheat mirage
#

@river cradle It's not

#

Just don't pass it a bukkit runnable

river cradle
#

Ah, a normal runnable instead?

light geyser
#

I did implements 'nl.thedutchmc.home' but I suppose thats wrong xd

wheat mirage
#

Yeah, Bukkit Runnables are a different use case it seems

light geyser
#

in build.gradle^^

wheat mirage
#

I hate gradle and so does md_5

#

sorry, can't help ya mate

#

@light geyser Well actually I can, did you build your other project with gradle (or maven)?

light geyser
#

Yep, all of them with Gradle

wheat mirage
#

Strange, check if it's installed correctly and stuff

#

you may have got the wrong path

#

Assuming gradle is somewhat similarr

sturdy oar
#

I use Gradle but can't help right now

light geyser
#

its just yelling about Supplied String module notation 'nl.thedutchmc.dutchyhome' is invalid. Example notations: 'org.gradle:gradle-core:2.2', 'org.mockito:mockito-core:1.9.5:javadoc'

wheat mirage
#

Oh yeah

light geyser
#

πŸ‘€ first time for me using my own dependencies in Gralde

wheat mirage
#

You need to specify an artifact, and a version

#

Check your .m2/ for maven dependencies

sturdy oar
#

Yeah it's invalid format lol

wheat mirage
#

And whatever folder gradle uses

#

for it's

#

Or just like check your other project

#

Correct syntax is

#

<package>:<artifactId>:<version>

#

Enjoy @light geyser!

light geyser
#

Artifcat id is like main class name or?

wheat mirage
#

No, you should have given it an artifact id when you built it

light geyser
#

πŸ€” dont think I ever did

wheat mirage
#

Or it'll just have given it a default name or something

#

Show me your gradle files for dutchyhome

wheat mirage
#

Also, check your local gradle repo (I'm using maven knowledge here, I think gradle works similarly)

#

version = '1.16_1.0.3' version

light geyser
#

Got that one, I suspect I could just add artifactId or name or something to that?

wheat mirage
#

It should have built it somewhere

#

you can either build it again

#

and the logs will tell you

#

Isn't there a settings.gradle file or smth?

#

Also, CHECK YOUR LOCAL GRADLE REPO

light geyser
#

there is, seems I can change it there according to stack overflow

wheat mirage
#

Check there, it's good to be educated about where it will build your projects by default

#

I'm also curious!

light geyser
#

WIll definitely check that link out, thanks!

wheat mirage
#

@light geyser Lmk πŸ™‚

light geyser
#

yep will do πŸ˜„

scenic osprey
#

how. long. does. buildtools. take

#

ok

#

done

#

that was like 10 minutes

tiny dagger
#

it takes long the first time you run that version

#

afterthat i think it's like 2 minutes or something

scenic osprey
#

ah ok

tiny dagger
#

the first time downloads a lot more stuff like the git and the nms

frigid ember
#

@wheat mirage you see my log ? i update now worldedit and guard and will try now

light geyser
#

hm okay so after adding it correctly in Gradle, Eclipse still cannot find SuccesfulHomeTeleportEvent πŸ€” why

frigid ember
#

ExploitFixer was the problem

light geyser
#

O.o got it, @wheat mirage :
in DutchyHome:build.gradle:

  • added plugin id 'maven-publish'

  • added ```publishing {
    publications {
    maven(MavenPublication) {
    groupId 'nl.thedutchmc'
    artifactId 'dutchyhome'
    version '1.0.3'

          from components.java
      }
    

    }
    }```

#

then had to run gradlew publishToMavenLocal

#

On DutchyBack, which will use the events from this plugin, in build.gradle: runtimeOnly 'nl.thedutchmc:dutchyhome:1.0.3' in dependencies and mavenLocal() in repos

wheat mirage
#

You shouldn't need to push to maven**** to build another gradle project

light geyser
#

but it works O.o so im happy haha

wheat mirage
#

Good for you

light geyser
#

not optimal but

trail geyser
light geyser
#

Online mode I suspect

trail geyser
#

ok

light geyser
#

Since thats what Spigot officially only supports

#

(though offline mode still works perfectly fine with Spigot)

trail geyser
#

ok I have a account I just wanna know

mellow bobcat
#

there are tons of issue in offline mode servers

#

e.g. hack

floral bay
#

Hi, maybe an obvious question but I can't seem to be able to find an answer...
I'd like to have two servers with BungeeCord, but without a lobby.
(The idea is that the survival server is the main server, and people can use /creative and /survival (custom command aliases) to move to and from a creative server with the same seed.)
However, bungee won't start without a subserver specified as "lobby".

mellow bobcat
#

ew

#

no bungeecord is a proxy

light geyser
#

First of all, Id recommend Velocity over BungeeCord but,

try naming the survival server lobby in the bungee config?

mellow bobcat
#

its also a jar

light geyser
#

I have a feeling he's running 1 Bungee instance, and two server instances

mellow bobcat
#

meaning you cant put another jar e.g. spigot/paper

floral bay
#

try naming the survival server lobby in the bungee config?
@light geyser Yeah that's what I'm trying to avoid

light geyser
#

And wants to get it to work without having to specify a lobby 'server' in bungees config

floral bay
#

I have a feeling he's running 1 Bungee instance, and two server instances
@light geyser Yes

#

Sorry if that wasn't clear

sturdy oar
#

yeah you know, you can just change backends server names right

mellow bobcat
#

imagine having no lobby

sturdy oar
#

you don't need a "lobby" server

light geyser
#

Looks like Fendi has more experience with Bungee than me, will leave it up to you πŸ˜„

sturdy oar
#

BungeeCord is just a Layer-7 proxy and does not care about your network structure

#

you just need game servers that player can connect to

light geyser
#

might be that in the bungee config there needs to be a backend server called lobby? even though it might not be a lobby per se?

floral bay
sturdy oar
#

yeah i remember lobby being default name in the config

mellow bobcat
#

when a server restarts all the players will be redirected to another server if thats configured properly if not it will kick them to main menu.

sturdy oar
#

let me look at config one second

floral bay
#

Figured it out

#

This was "lobby"

#

Now it works πŸ˜…

sturdy oar
#

yeah lol

mellow bobcat
#

thats bungeecord

#

not a lobby

sturdy oar
#

wut

mellow bobcat
#

i already told you bungeecord is a proxy not a server jar

#

meaning you cannot join that server.

sturdy oar
#

I hope he already knows that lol

#

you don't need to tell me that

mellow bobcat
#

no im telling him that

floral bay
#

Yeah thats pretty obvious

#

πŸ˜„

mellow bobcat
#

i mean you can buy a 512mb lobby

#

only $1

floral bay
#

Yeah but I don't need it

mellow bobcat
#

🀦 goodluck.

sturdy oar
#

512Mb no

frigid ember
#

i have a 4gb lobby lol

floral bay
#

And don't want it to work like that as well

sturdy oar
#

you ain't running no 1.15.2 server with 512Megabytes

floral bay
#

1.16.1*

frigid ember
#

1.15 is so bad for running a server omg

sturdy oar
#

but it's updated and safe

frigid ember
#

yes but nobody actually uses it as a server jar

mellow bobcat
#

well like i told you when a server restarts all the players will be jumped to another available server

#

you can also get bot attacked

#

thats why having a lobby is a must

sturdy oar
#

you don't get botted on premium servers lol

mellow bobcat
#

wdym

frigid ember
#

or just have an authentication system that knows what a bot is and isnt

sturdy oar
#

good luck botting a premium server 🀣 ,
it's a 25$ per account attack, pretty expensive I'd say

frigid ember
#

you realize people can just buy alts for 99 cents

mellow bobcat
#

^

frigid ember
#

but then again only 10% of the alts actually work

floral bay
#

I have AuthMe and it's offline mode if that makes any difference
Also so far I had the two servers on 25565 and 25566, I just wanted bungee as a simple solution to join them, thats it

#

no big network

frigid ember
#

why have a cracked server lol

sturdy oar
#

offline mode isn't recommended

mellow bobcat
#

iw goodluck

frigid ember
#

if you want a cracked server you need some damn good firewalls

odd knoll
#

cough 150/day for less than $6.

mellow bobcat
#

and protection

sturdy oar
#

offline-mode purpose is only for plugin testing, and running servers without internet connection.

floral bay
#

So far I had no problem πŸ˜„ I have an account, but some players don't and in Hungary most don't

mellow bobcat
#

accounts can get hijacked easily

floral bay
#

so thats that

mellow bobcat
#

even on AuthMe

floral bay
#

how

frigid ember
#

and offline mode for spigot is so you can connect them via proxy

floral bay
#

Well if the hijacker know the password yes

sturdy oar
#

you're going to have some issues with offline-mode, i just say Glhf

mellow bobcat
#

i think you haven't run a network before.

#

GL

frigid ember
#

tfw all your plugins run off a backend api server and you cant get hacked rofl

mellow bobcat
#

and your network is offline-mode.

sturdy oar
#

Mojang auth is already not the best, offline-mode makes it even worse lol

frigid ember
#

yeah youd better be off developing your own authentication system

fossil shoal
#

What's wrong with mojang's auth?

sturdy oar
#

I've configured 2FA for various networks, i'd say it's one of the best systems if you don't trust mojang

frigid ember
#

lots of things

light geyser
#
[13:55:55 WARN]: Failed to handle packet for /127.0.0.1:61804
java.lang.NullPointerException: null``` Would this be a bug or?
fossil shoal
#

Name 1

odd knoll
#

Session keys πŸ˜†. They're soooo broken on Minecraft.

floral bay
#

Just to make your day, I'm running it on my own dedicated server pc, with regular consumer windows 10 on it

frigid ember
#

the legacy authentication? you can login with any account?

sturdy oar
#

The fact that usernames aren't unique (while they wanted them to be) is already worrying you know

frigid ember
#

view that for more info on how retarded mojang's auth is

fossil shoal
#

The fact that usernames aren't unique (while they wanted them to be) is already worrying you know
Who uses usernames?

#

Only UUIDs should be used

sturdy oar
#

that's just an example, if their username API can break, their auth API can be broken as well

frigid ember
#

i remember how big of a pain in the ass it was to convert peoples data when username changes first came out

#

i was up for hous

#

looking for a permissions plugin

sturdy oar
#

there's no such thing as a perfect authentication system with 0 vulnerabilities

frigid ember
#

there is

mellow bobcat
#

I'd say this to implement on your network.

  1. You need a Lobby! hackers can join in a server directly if you don't have a lobby they can join a server bypassing the auth then might try hijacking your account. thats whyu you need a lobby for them that needed to be connect. if they try to join survival they'll get blocked.
  2. Anti-VPN its cracked when they get banned they can easily rejoin back.
  3. Max-IP-Registeration.
  4. Use luckperms

But i cannot gurantee you to be 100% protected.

frigid ember
#

you dont need a lobby

#

i can run a server perfectly fine without one

#

you actually only need one spigot server to run bungee

mellow bobcat
#

his offline-mode

floral bay
#

Again, so far I just ran a regular spigot server

#

why would i suddenly need a lobby

frigid ember
#

cant say ive ever used or liked luckperms, or any public permissions plugin for that matter

mellow bobcat
#

you realize if he hijacks your account he can grief all the builds in your server.

#

anyways i'll see you in youtube πŸ˜‚

frigid ember
#

which is why you should run an online server

floral bay
#

Well there is no protection at all, as the server is semi-vanilla

frigid ember
#

then add protection

#

firewalls are your buddy

floral bay
#

no, that ruins the experience

frigid ember
#

are you an idiot

floral bay
#

thank you

mellow bobcat
#

WTF πŸ˜‚

#

dude gimme your ip

#

i'll show you how it's done.

frigid ember
#

a semi vanilla server can have some plugins

mellow bobcat
#

πŸ˜‚

#

man this dude.

frigid ember
#

thats why its callled semi

#

ideally your vanilla server should be spigot, not normal vanilla

floral bay
#

It has some plugins, just to make it work as a server. But no gameplay-changes.

frigid ember
#

yea

mellow bobcat
#

his an idiot lmao

frigid ember
#

okay

#

a firewall isnt a gameplay change

mellow bobcat
#

you don't get it do you?!

frigid ember
#

its a serverside change

mellow bobcat
#

when your account get hacked they can do everything

#

even if you don't have op

#

once they get in

#

they'll destroy everything they can do.

#

stop being a cheap

#

and buy a lobby.

frigid ember
#

dont buy a lobby you dont need one

mellow bobcat
#

or add an protection

fossil shoal
#

How will someone get in to your account..? (Given that you have a strong password)

mellow bobcat
#

which is called plug-ins

frigid ember
#

patched only on 1.8 servers

floral bay
#

firewalls are your buddy
@frigid ember I did not react to this, I mean I have no "click here and there with your shovel to reserve an area for you", therefore it doesn't matter what account the hacker gets, he can modify any block.

frigid ember
#

add 2fa

mellow bobcat
#

yeah 2fa is the only solution

#

but he doesn't want that

#

he doesn't want plug-ins

frigid ember
#

that sounds like a personal problem

mellow bobcat
#

πŸ˜‚

#

let him, he'll regret it later.

floral bay
#

I do have plugins and could enable 2fa, i have no problem with that

#

I don't know why you assume I do

mellow bobcat
#

anyways its up to you if you don't listen. we are trying to help you and giving you options.

fossil shoal
#

What do you guys mean 2fa? Asking for a password?

mellow bobcat
#

no the actual 2fa

#

thats needs a cellphone

#

to scan it

frigid ember
#

otp

floral bay
#

The two tips I rejected were

  • lobby server (not needed)
  • online mode (some players don't have accounts)
    Everything else is appriciated. Don't have to be such a forum policy
mellow bobcat
#

then he has to type it in-game.

frigid ember
#

yeah thats the point of buying minecraft

#

to get an account

fossil shoal
#

What servers actually do that?

mellow bobcat
#

i do it

frigid ember
#

most servers do it

#

i do it

#

hypixel has it for staff

mellow bobcat
#

for staffs or owners only

frigid ember
#

so does mineplex

mellow bobcat
#

i have to 2fa my acc everytime i try to join my network

frigid ember
#

2FA is required for even beta testers on my server

mellow bobcat
#

There are tons of ways to bypass AuthMe and thats not gonna help you.

#

GLHF

#

that's all.

fossil shoal
frigid ember
#

yes

#

pretty much

fossil shoal
#

Patched in 1.16?

frigid ember
#

on top of 2FA, you should have a Rest API server

mellow bobcat
#

you need a proper firewall protection and a 2fa custom-coded.

frigid ember
#

not sure

#

i could give you one, but that will cost you $75

#

but you wouldnt know how to set it up

floral bay
#

There are tons of ways to bypass AuthMe and thats not gonna help you.
@mellow bobcat
As a given, only registered users can even join, everyone else is kicked. I register them manually after a Google Forms audit. It's a small survival community with a creative server for testing.

frigid ember
#

as you need the web application

#

thijs guy

mellow bobcat
#

so its whitelisted?

floral bay
#

Pretty much

mellow bobcat
#

and you plan to make it a public server?

floral bay
#

Its already public

mellow bobcat
#

holy....

#

this dude.

frigid ember
#

looool

floral bay
#

But you have to register, and players get added manually

frigid ember
#

so i could just login to your account and join

#

ands have op

mellow bobcat
#

when new players try to join your server they can't join you only have a banner and an ip on the forums some don't review the server and try to read shit so it's a 50/50 playerbase for you.

floral bay
#

How else would you run a free world with no build protection? I don't get your problem.

frigid ember
#

i would have 2fa

floral bay
#

Sure

mellow bobcat
#

i'm gonna say 70% of it will not read the infos and just say oh well i can't join this server well might as well ignore it.

#

so gl

#

unless you put a info on MOTD

#

on how to join

floral bay
#

It's on there, you guessed right πŸ˜„

mellow bobcat
#

and having whitelisted will not protect you from getting hijacked.

#

your account is whitelisted

dusty topaz
#

Should ItemStack#addUnsafeEnchantment(Enchantment.DURABILITY, 10) work on all items? It doesn't appear to be doing anything on a nametag

frigid ember
#

yes it should

dusty topaz
#

well I guess it isn't lol Β―_(ツ)_/Β―

#
    this.active = new ItemBuilder(Material.REDSTONE_TORCH)
        .setName(display)
        .setLore("&7Click to select this title", "", "&a&lACTIVE")
        .setGlowing()
        .build();
mellow bobcat
#

Someone can just join as you and woop your server @floral bay

frigid ember
#

actually

#

im pretty sure

mellow bobcat
#

so GLHF

dusty topaz
#
  public ItemBuilder setGlowing() {
    item.addUnsafeEnchantment(Enchantment.DURABILITY, 10);
    return this;
  }
frigid ember
#

the item has to have durability

#

such as a sword, axe, etc

dusty topaz
#

didn't work with luck either

frigid ember
#

luck?

#

ohh

#

yea

#

i only play 1.8

#

so

#

lol

#

not sure about that

dusty topaz
#

I think I know why it isn't working

floral bay
#

Someone can just join as you and woop your server @floral bay
@mellow bobcat Can they bypass the authme password check?

frigid ember
#

no

#

unless they guess the pass

#

I think I know why it isn't working
@dusty topaz did you set item meta?

dusty topaz
#

ItemStack#addUnsafeEnchantment doesn't need me to set the meta

#

but I think that is part of the issue

#

as I am setting a meta over it after, so it removes the meta with the enchantment

#

so I'm going to try with meta#addEnchant

frigid ember
#

yea

#

is addUnsafeEnchantment deprecated?

dusty topaz
#

no

frigid ember
#

dont know the problem then

dusty topaz
#

the problem was as I described

#

all good now

floral bay
#

unless they guess the pass
@frigid ember I'll enable authme's email 2fa then, if this becomes a problem.

fossil shoal
#

@frigid ember I read the info about leaky leaky, one thing I don't understand, can a user choose what authentication system is used?

frigid ember
#

ye

#

i believe so

#

ive already patched the issue serverside

fossil shoal
#

But even if a use can do it, can't mojang just remove the legacy auth system? Or at least remeake it

frigid ember
#

im almost positive its patched

#

Hey there!
I want to code my own chair plugin. (using spigot 1.14.4)
But somehow the player wont get teleportet onto the stair.
Heres the code: https://pastebin.com/7Rn0VXmf
I would be glad if someone can help! πŸ˜„

mellow bobcat
#

wrong discord server mate.

frigid ember
#

why?

#

this is the right discord dw

mellow bobcat
#

i honestly wouldn't think someone would read his msg all the time

#

he needs like a proper channel

#

so everyone can see him

undone narwhal
#

@frigid ember Why do you teleport the player?

frigid ember
#

Oups forgot to delete this line

remote crown
#

I can’t generate a valid javadoc using buildtools

subtle blade
#

That’s a bug. Meant to report that. Will do it today

#

You can generate the docs if you also build CraftBukkit

#

So java -jar BuildTools.jar β€”compile craftbukkit β€”generate-docs

#

(With a rev in there obviously)

subtle sundial
#

just fought the end dragon and the end fountain didn't spawn, is this a known bug?

subtle blade
#

Ehm... there were changes to end portals recently, though I don't think anything was added to prevent it. Let me test real quick

#

Portal generates okay for me on a fresh world

subtle sundial
#

hrm, strange

#

I'll try with the specific seed I have and a fresh world

#

yeah seems to be working for me... I used a world pre-generator, I'm thinking that might have done something screwy

subtle blade
#

That's possible

subtle sundial
#

wonder if I can manually create it

karmic stone
#

I want to give spiders potion effect of invisibility forever. So what will be the duration

frigid ember
#

I'm looking at the InventoryAction constants, and I see there is this PICKUP_ONE one, and the javadoc reads "One of the items on the clicked slot are moved to the cursor.", now I've been playing MC for quite a long time, and I reckon that picking up just one single item from a stack isn't possible, when would this action be triggered??

karmic stone
#

Should I give something like in negative?

lone fog
#

Integer.MAX_VALUE

sturdy oar
#

I think it did set itself to infinite after a certain value

#

not sure if it was 2^32

lone fog
#

Might as well

karmic stone
#

Ohh thanks

subtle blade
frigid ember
#

oooo

subtle blade
#

Basically it's an edge case

tame drum
#

i do not know if i sent right support email about my issue

frigid ember
#

@subtle blade hey

#

how are u

#

is there a plugin that kicks a person when they run /disconnect?

karmic stone
#

Ummm how can I make mobs attacking me give me potion effects. I'm sorry but I'm new to plugins

tiny dagger
#

EntityDamageEventByEntityEvent

#

on hit

#

give a random potion for n ticks

karmic stone
#

I'll try

weak violet
#

Is there a function in spigot that shows the TPS?

subtle blade
#

I would report that on the issue tracker πŸ™‚

#

No method, no

weak violet
#

Then how can I get it

frigid ember
#

choco how are you

topaz rivet
#

oh

frigid ember
#

😭

topaz rivet
#

someone has beat me to it

subtle blade
#

Oh then you're all good! md will tend to it when he wakes up

#

Until then, you can revert to a slightly older builder of BungeeCord

#

At least if it's causing you any issues

topaz rivet
#

We intended to do as much, just wanted to report it. I added additional info to the issue, thanks for your help tho.

subtle blade
#

Perfect πŸ™‚

frigid ember
#

also

#

is there a way to disable join messages in bungee?

#

they are so annoyinggggggggggggggggg

karmic stone
#

Should I make a new class for EntityDamageEvent

subtle blade
#

Put your event listeners wherever they make most sense to you

#

The EventHandler system was added so there didn't have to be one class for every single event

karmic stone
#

Ok

#

Yeah lol

#

Thanks

subtle blade
#

o/

frigid ember
#

πŸ‘€

winged sparrow
#

@weak violet i recall seeing a nms method (I think at the nms getServer equivalent) that had something to do with tps

weak violet
#

Hmm ok I will check that later

opal heron
#

still can't find a way to edit this attribute .-.

#

@naive goblet this is the blue attr that i was mentioning btw

lime elbow
#

Why when a user join to my server get kicked

opal heron
#

Do you have whitelist on?

lime elbow
#

No

opal heron
#

Hm, maybe you have a plugin that does it

lime elbow
#

I have a neteork

subtle sundial
#

yeah seems to be working for me... I used a world pre-generator, I'm thinking that might have done something screwy
@subtle sundial sooo... long story short

lime elbow
#

Network

subtle sundial
#

my world generated with the end_gateway_position at 0, -1, 0

#

which meant the end fountain did not work properly at all

opal heron
#

What network

subtle blade
#

Huh... that's a strange world generation lol

subtle sundial
#

I downloaded NBTExplorer, opened up the level.dat for the primary world, set it to 0, 63, 0, which is the correct value for my seed

lime elbow
#

?

subtle blade
#

Yep

subtle sundial
#

manually built an end fountain

#

and then the end crystals correctly spawned & despawned the portal

opal heron
#

Are you just hosting the server on cmd or on a hosting?

lime elbow
#

Hosting

#

I have bungeecord too

opal heron
#

Ok, what hosting

lime elbow
#

Bashnode

opal heron
#

Is the BungeeCord port forwarded?

lime elbow
#

Yeah

#

I have 8 servers conected

#

But

#

When a player try to connect to survival 1.16 or mods server

#

Got kicked from server

opal heron
#

Hm, so they can connect to the bungeecord but not from the "survival"?

lime elbow
#

See

#

I have the survival conected to bungeecord

#

There is not a problem

opal heron
#

Are you running both server?

#

the survival and the bungeecord

lime elbow
#

?

#

Yeah

#

Im runing 8 sevvers

#

Servers

opal heron
#

Strange, maybe try going to the config of the server you're having a problem in

lime elbow
#

An all server are god

#

Good

opal heron
#

Send me the ip of it, ill try and check

lime elbow
#

Only the survival al mods

#

1.16

opal heron
#

Does your friend have the mods and the correct version of the game

lime elbow
#

Yeah

#

All

#

See

#

If a player try to goin whi bungeecord

#

Cant

#

But

#

If they try whit server ip

opal heron
#

The problem for me is different

#

it doesn't even let me join in it

lime elbow
#

?

opal heron
#

When i click the server selector and choose the survival game, it doesnt kick me

#

Nothing happens

lime elbow
#

No

#

Survival 1.16

opal heron
#

it might be your config

lime elbow
#

I have survivalop

#

And survival

opal heron
#

ik, i already joined in it, i didnt have issue.

frigid ember
#

Does anyone know how to adjust the speed of a horse?

lime elbow
#

Wait there

#

I want to see

opal heron
#

@frigid ember what wdym

frigid ember
#

I have a horse entity - I want to adjust its max speed

opal heron
#

h.getAttribute( Attribute.GENERIC_MOVEMENT_SPEED)

frigid ember
#

Ah

#

And then you can manipulate the attribute object?

opal heron
#

ofc

frigid ember
#

Thanks Ixxa

opal heron
#

you know how to code right?

frigid ember
#

I haven't messed with the bukkit api regarding horses much

#

Not sure if it returned an enum, an immutable object, etc

lime elbow
#

u ar not in the survival server

#

are*

#

@opal heron

subtle blade
#

Get the attribute, add a modifier

#

Avoid modifying the base value if you can

frigid ember
#

ok

opal heron
#

@subtle blade do you know the attribute for genericdamage?

lime elbow
#

see

subtle blade
#

Isn't it just GENERIC_ATTACK_DAMAGE?

lime elbow
#

i try to conect

#

and dosnt happen nothing

opal heron
#

yeah, i forgot thanks

frigid ember
#

One more question @opal heron @subtle blade can we serialize out the attribute objects and save them to a db?

lime elbow
#

but in the server consol say that i disconect

opal heron
#

@lime elbow can anyone join in it?

#

like other players

frigid ember
#

really hope they implement serializable...

lime elbow
#

yeah

opal heron
#

if that's the case, then the player is the one having the issue

subtle blade
#

probably. you'd have to do the serialization yourself. Though there's no real reason to. Everything is saved in the world

lime elbow
#

oooh

#

no

#

all players

frigid ember
#

The world will be reloaded though choco

lime elbow
#

all players cant

#

😦

frigid ember
#

regularly. And I need the modified horse attributes to persist world reloads

#

If thats still the wrong approach please let me know. I don't want to do something stupid with persisting entity data

opal heron
#

I dont know how to fix your problem, EL. I tried lots of questions

#

You can ask Choco

#

Or try inspecting your configuration in survival server

lone fog
#

Define reloads

#

As long as the entity is still there it will persist

opal heron
#

frick i forgot which nms version to download for spigot 1.8.8

frigid ember
#

@lone fog The entity will be removed when the server shuts down

#

an entirely new world from backup will be loaded up

#

it will be the "same" world, but it will be from a backup prior to any players manipulating the world

lapis plinth
#

i still havent figured out how to use gson and json

#

😒

frigid ember
#

JSON is great

#

Theres stuff on Pluralsight about it

lone fog
#

It should be saved in the entity

#

As long as you add it before you create the backup

frigid ember
#

no because players will make adjustments to the entity while the game is played

#

The changes to the entity need to persist

#

the map changes will not, and will be rolled back to a previous version

lapis plinth
#

Why is this erroring

subtle blade
#

Did you import it? lol

lapis plinth
#

oh

opal heron
#

Which NMS do i use again for 1.8.8 spigot?

subtle blade
#

Or import the right Listener?

lapis plinth
#

fuck

#

it says its invalid or something lmao

subtle blade
#

(1) Make sure it's importing Listener from the right package
(2) Save the file if you haven't already
(3) Rebuild your project

#

I don't use IJ, I don't know what kind of fuckery it does

lapis plinth
#

kk

#

it compiled fine

#

lmfao what

subtle blade
#

Yeah, so clear IJ's caches or something

opal heron
#

Is there a way to decompile 1.8.9?

#

i cant find mcp for 1.8.9

#

which sucks

frigid ember
#

/give yungduh white_banner{BlockEntityTag:{Patterns:[{Pattern:hh,Color:15},{Pattern:hhb,Color:15},{Pattern:sc,Color:14},{Pattern:cbo,Color:14},{Pattern:cbo,Color:15},{Pattern:bts,Color:15},{Pattern:bs,Color:15},{Pattern:bts,Color:14}]}} 1

I need help this isnt workin

sturdy oar
#

Is there a way to decompile 1.8.9?
@opal heron Are you talking about client or server

frigid ember
#

is there a way to disable join messages in bungee?
they are so annoyinggggggggggggggggg

sturdy oar
#

imagine looking at the config

frigid ember
#

what?

sturdy oar
#

i suppose you're talking about bungee pings

#

yes they can be disabled

frigid ember
#

how?

#

log_pings?

sturdy oar
#

pretty sure that disabled the pings

worn fiber
#

Am I able to test if plugin.saveDefaultConfig(); created a new config file? I want to add some default values without overwriting any existing ones.

frigid ember
#

@sturdy oar yes and no

frosty cave
#

Bukkit.getServer().spigot().getTPS()

sturdy oar
#

you can always use reflection

#

i think it was MinecraftServer.recentTps (should be an integer array of size 3)

naive goblet
#

Fendi how are you implementing 1.16.1 colorcode support

sturdy oar
#

I'm not ez

naive goblet
#

:7

sturdy oar
#

I use kashike's text api btw

#

but I have no need for 1.16.1 rgb colors, so I just left everything as before

frosty cave
#

i think it was MinecraftServer.recentTps (should be an integer array of size 3)
@sturdy oar can you give me an example i cant find it

naive goblet
#

Hmm

sturdy oar
#

one second i gotta decompile spigot

#

at 0 you find tps in the last 1min, at 1 you find tps in last 5 min, at 2 in last 15 minutes

#

if i remember correctly

#

I don't know if there's any better way to get TPS, but that's how you would get them with reflection

peak onyx
#

does anyone know if playerdata can change the console being broadcasted to ops in chat?

frosty cave
#

@sturdy oar im not seeing recentTps, i have TPS and TICK_TIME

#

tf

#

its there

#

public final double[] recentTps;

#

im doing something wrong

#

oh nvm

#

lol

subtle blade
#

Spigot-exclusive

#

CraftBukkit doesn't have that field

frosty cave
#

it says non static recenttps cant be reference to in a static context

subtle blade
#

You need an instance of the server

#

((CraftServer) Bukkit.getServer()).getHandle().recentTps

frosty cave
#

oh

#

lol

#

big brain

#

still didnt work

subtle blade
#

There probably could be a method to get the TPS

#

If one doesn't exist already

frosty cave
#

i just wanted to put the tps in the tab list

sturdy oar
#

i mean Choco this would work as well

        try {
            Class<?> MinecraftServer = Class.forName("net.minecraft.server.v1_16_R1.MinecraftServer");
            Field recentTps = MinecraftServer.getField("recentTps");
        } catch (ClassNotFoundException | NoSuchFieldException e) {
            // no u
        }
opal heron
#

@sturdy oar yep

#

i forgot how to do it but in my past experience i never encounter decompiling 1.8.9 to create a client

subtle blade
#

net.minecraft.server.v1_16_R1 isn't a class, it's a package. Though that's also hardcoded. At that point you might as well just fetch it

opal heron
#

I tried using mcp918 since its the closest to 1.8.9 but when i changed the whole thing, it gave me bunch of errors

sturdy oar
#

yeah my bad i forgot the class name lol

forest plaza
#

Would it be possible to give other items the same properties as netherite items (swimming in lava etc) or is that something I would have to do a feature request for? Or is it even possible with plugins?

sturdy oar
#

yeah that is something i did ask as well, i'm curious of how the "unburnable in lava" items have been implemented

forest plaza
#

I would assume it’s a Material property?

crimson sandal
#

Oh man I refactored a large part of my serialization classes and made a lot of them extend a main storage class but deserialization stopped working I didn't realise I needed the 'Map<String, Object> map' constructor in each of the subclasses too πŸ€¦β€β™‚οΈ

forest plaza
#

yeah that is something i did ask as well, i'm curious of how the "unburnable in lava" items have been implemented
Alright I guess I will do a feature request then

subtle blade
#

I'll take a look on the server

#

Though I don't think it will be added. You have ItemBurnEvent iirc

sturdy oar
#

I'm looking at server as well im not having luck

forest plaza
#

Yeah but cancelling that makes them invisible

lone fog
#

Sounds like a client desync

nimble stump
#

if the client wants them to burn there's not much you can do server-side i bet

lone fog
#

Looks like all the unburnable items call .a() in their constructor

sturdy oar
#

you mean public Info a() { this.g = true return this }
?

lone fog
#

Probably

sturdy oar
#

i have no idea what that does xd

lone fog
#

Looks like it just sets a boolean

subtle blade
#

Yep. That's the one

lone fog
#

Shame it's not an NBT tag

subtle blade
#

EntityItem overrides isFireproof()

#

Returns that property

#

We can probably add a method to Entity to set them as fireproof

sturdy oar
#

plz do

subtle blade
#

At least that way you can listen to a spawn event for items and set it that way

#

Much more control too

lone fog
#

Wait can it be set per entity?

subtle blade
#

Absolutely

forest plaza
#

That would be great

subtle blade
#
    public boolean isFireProof() {
        return this.getEntityType().c();
    }```
#

We can change that

#
    public boolean isFireProof() {
        return this.getEntityType().c() || spigotIsFireproof;
    }```
lone fog
#

Ah I was looking in the Item class

sturdy oar
#

I think we should also have a Material.isFireProof

nimble stump
#

i bet the client won't like it though

subtle blade
#

Probably not, Alex

forest plaza
#

Is it the same fireproof that some of the nethermobs have?

lone fog
#

Get the client beating stickℒ️

sturdy oar
#

fk the client 111!1

lone fog
#

It's the netherite items fireproof @forest plaza

forest plaza
#

I thought it was on entity level?

subtle blade
#

Yes it is, Buddy

#

getEntityType().c() is "isFireProof()" for entities

forest plaza
#

Can we set mobs foreproof too then?

subtle blade
#

EntityTypes constants make a call to c() upon construction which sets that boolean property

#

Well that's why I suggested just doing it on the Entity class

#

Theoretically, all entities can be fireproof

lone fog
#

Huh, interesting

subtle blade
#

Lemme write a PR and see how much the client hates it lol

#

I have a feeling that for all entities, client will be fine. With the exception of items

nimble stump
#

yeah

#

that would be my guess

subtle blade
#

Client likely applies its own velocity

#

Though the server does do that too

nimble stump
#

well the client may just decide it no longer exists

#

velocity be damned

subtle blade
#

;P

#

Well let's find out

forest plaza
#

Impressive how active you are. That’s the second feature I requested and you worked on both

dim cape
#

I am trying to connect to a server via bungeecord but im getting this error in the bungeecord console:
https://paste.ajg0702.us/cipovucose.bash
Connecting to other servers work fine, just this one. what could be the issue?

frigid ember
#

Are there any guides as to how to secure a bungee server and stop people from getting on the server with offline accounts and such?

dim cape
#

nvm it started working for som reason

#

@frigid ember firewall

nimble stump
#

sending some kind of malformed chat looks like

frigid ember
#

how do I change the "no permission" message?

nimble stump
#

@frigid ember block access to the spigot server port

frigid ember
#

how does one go about that

nimble stump
#

what OS

frigid ember
#

ubuntu

subtle blade
#

Dilemma. Do I replace the fireproofness with CraftBukkit's boolean or do I || it?

forest plaza
#

Replace

subtle blade
#

because Bukkit might be inconsistent here

#

Yeah, I should replace actually. Otherwise you wouldn't be able to set netherite tools to not be fireproof

nimble stump
#

iptables @frigid ember

lone fog
#

If you replace it you could in theory disabl- yeah that

frigid ember
#

what about if I'm running on two different machines

nimble stump
#

you can still firewall off the port to anything not the bungee's IP

forest plaza
#

Yeah, I should replace actually. Otherwise you wouldn't be able to set netherite tools to not be fireproof
@subtle blade would be a nice feature to have some of the nethermobs burn as normal too

subtle blade
#

Yep πŸ™‚

#

Building and testing now

forest plaza
#

πŸ‘

subtle blade
#

:(( There's no Player#getTargetEntity()

#

Gotta do the tracing myself

nimble stump
#

what are you tracing

subtle blade
#

This is for the test plugin lol

#

Gonna run a command and set fireproof state on the entity I'm looking at

nimble stump
#

oh neat

tiny dagger
#

choco ez

#

get loc get direction

#

get eye location add direction

lone fog
#

Pretty sure world has a raytrace method

subtle blade
#

Lol that'll do

#

It does, but it's for blocks isn't it?

#

FUCK

#

Welp

#

Too late now

nimble stump
#

LOL

subtle blade
#

Already wrote it

nimble stump
#

F

subtle blade
#

if anything, mine is more forgiving :((

#

I have a lenience for my inability to aim

neon tide
#

hello, anyone knows hot to block the /list command? the console keeps spamming

lone fog
#

heh, multicraft

subtle blade
#

wait... my method won't even work lol

lone fog
#

You can disable "Crash Detection" in the advanced settings on the main server page

subtle blade
#

UGH

#

life is hard

neon tide
#

crash detection?

forest plaza
#

Why do it that way when you can just listen to item drops?

subtle blade
#

Cause I wanna test it for other entities too lol

#

It's fine. I got it now

forest plaza
#

Ah right

subtle blade
#

He's so happy being able to swim in lava!

forest plaza
#

Dilemma. Do I replace the fireproofness with CraftBukkit's boolean or do I || it?
@subtle blade I was just thinking, maybe instead of replacing, compare them first so netherworld still doesn’t burn by default?

#

Wow nice

subtle blade
#

Don't worry I took that into account πŸ™‚ I set the default fireproof value to what was being returned in either method

forest plaza
#

πŸ‘

#

Do items work?

subtle blade
#

WOW Interestingly enough, you can set a wither skeleton to be not fireproof in the overworld and it will start to burn like a zombie

#

That's neat

#

Lemme test items now

#

Yeah, suspicions were correct. Client has the item disappear

#

Though it's still there on the server

quartz trench
#

f

lone fog
#

Just fix it smh

subtle blade
#

So I can burn the item and it will disappear, but I can go pick it back up despite it not being there on my client

lone fog
#

Can you send a packet to the client to restore the item?

forest plaza
#

That’s what happened when you cancelled the burn too

subtle blade
#

Not really, no, Coll. I mean... yes? But no. You'd have to continually spam the packet

#

It's just not worth the effort to do that

lone fog
#

Hmm

#

That's a shame

subtle blade
#

Interestingly, netherite tools can't be set as non-fireproof PES_Think I think I messed up the boolean

forest plaza
#

Or it isn’t the right one and only for mobs?

subtle blade
neon tide
#

where do I find the Crash Detection setting?

lone fog
neon tide
#

well, I can't see that option in my panel

odd knoll
#

Did you click to shop advanced settings?

neon tide
#

there is no addon to buy in my host

#

Do I need to pay for that?

lone fog
#

no

neon tide
#

well, that option is not in the advanced settings

#

So, I'm screwed

forest plaza
#

He meant show not shop

neon tide
#

Oh, yeah of course I click to show all the advanced settings

#

It's says the Memory, Unauthorized Kick Delay, AutoSave and Announce Save World options

subtle blade
#

Ah I know why it's not being set

#

The datawatchers haven't been set by that point yet

forest plaza
#

What are those?