#help-archived

1 messages ยท Page 128 of 1

naive goblet
frigid ember
#

Hey, so, I made a new world using CleanRoomGenerator and Multiverse, so I pasted a schematic in that world

#

I renamed the world folder, let's say I renamed it to "pizza' right, then I zipped it up to PIZZA.zip, my plugin takes PIZZA.zip, unzips it, and renames the folder again to the player UUID

#

then it teleports the player to the spawn location of said world

#

But when I'm teleported, it's a completely new world. It's not an empty world with the schematic like how it was before I renamed it and zipped it

#

It's a new world with the default terrain, rather than being, well, empty

#

Anyone know why?

narrow carbon
#

Heyo, I'm trying to send an error message to the logger.
Yet getLogger().log() says that the log method doesn't exist.

subtle blade
#

getLogger().severe()

#

or .warning()

#

or .info()

narrow carbon
#

Ait

#

Thx

subtle blade
#

or log() takes a WarningLevel lol

narrow carbon
#

ye, but it says that the log method doesn't exist for some reason

frigid ember
#

when u are connected to a vpn, can a ddose attack reach your router or no?

narrow carbon
#

getLogger().severe()
or .warning()
or .info()
These fix it, thx.

#

when u are connected to a vpn, can a ddose attack reach your router or no?
They can't send packages to your IP as you're using a virtual one. Therefore most can't

#

But I mean, nothing is impossible.

#

If you're getting troubled by scripkiddo's then thats a fine solution

frigid ember
#

ok

naive goblet
#

getLogger().log(Level.LEVEL, Throwable, Supplier<String>)

narrow carbon
#

If you're not running any servers locally a dynamix IP is also usefull.

naive goblet
#

kylle yes

#

If they have your original ip, pretty sure

narrow carbon
#

getLogger().log(Level.LEVEL, Throwable, Supplier<String>)
@naive goblet Can you explain this a bit to me? The level I understand, but the other 2 parts I don't.

#

If they have your original ip, pretty sure
Kylle, the things I said apply ofc if this isn't true

naive goblet
#

If an exception is thrown and then you want to log that with your plugin logger you pass second parameter the throwable and then the third param is just a supplier so you eventually pass a lambda expression there?

narrow carbon
#

Ahh, I see.

#

Thx

fossil shoal
#

not really sure how to phrase that in short, so google isn't a big help. In GitHub is it possible to have one maven module public (the API) and all the other ones (the plugin itself) private?
(please ping me if you answer)

naive goblet
#

I donโ€™t think so

#

You could make per module

fossil shoal
#

Do you mean push each module to a different repo? I thought of that too, but couldn't find a way to do it. Would you mind explaining how to do that please?

naive goblet
#

Well Iโ€™d just push it into 2 then, one with the public stuff, one with the private stuff

gleaming helm
#

Make 2 repos

#

That's the only way

#

It makes no technical sense to have part of a repo private

#

The whole tree history is stored, you can't just eliminate half of it

#

(without mutilating hashes)

frigid ember
#

have any of you guys tryed tcpshield?

gleaming helm
#

Yes, TCPShield is good

#

Use it if you're worried about ddos or running a competitive server

#

If you're running on OVH you probably won't need it anyways imo

frigid ember
#

ok but will it work on an internal ip because im running a bungee and spigot with it, and the only difference is that the ports are different.

#

nvm ill try to figure it out

paper compass
#

I need a bit of help, my server hides everyones ips and they all seem to start with 2 different ips:

#

Everyone in the servers ip starts with that

#

So we cant use a antivpn to stop the people with a vpn from joining or else it just kicks everyone for vpn

gleaming helm
#

Are you using a proxy?

paper compass
#

No one in the server is using a vpn or proxy

gleaming helm
#

No

#

Is your server using a proxy

#

Are you using TCPShield or something to that effect?

paper compass
#

Not sure, we use OVH though.

gleaming helm
#

Are you running bungeecord with ip forwarding?

#

Are you running bungeecord at all?

paper compass
#

Not at all

#

And we cant even ipban someone as their ip changes the next time they log on with the same/different account

gleaming helm
#

If you can show me the last octet I can look into what is causing it

paper compass
#

octet?

gleaming helm
#

an octet is the number in between the dots

#

It's called an octet because it has 8 bits

lament wolf
#

@paper compass How do you get ip of player ?

paper compass
#

./seen

#

Even in console when they log in, it starts with them ips

lament wolf
#

And futhermore,

#

"everyone" represents how many player ?

paper compass
#

Literally EVERYONE

#

0-60+

fleet owl
#

Hello.

#

I Dont know how to download and what to download its complicated

#

Can You Please Help me

naive goblet
#

Download what

fleet owl
#

Spigot

#

Pls help ik kinda noob question for u

tiny dagger
#

use build tools

#

download it

#

and then write a txt file in the directory with it

fleet owl
tiny dagger
#

actually look

fleet owl
#

My Brain Hurts

tiny dagger
#

well

paper compass
#

sigh

tiny dagger
#

take that run file

#

just edit the version to what you need

#

this

fleet owl
#

Ok

tiny dagger
#

is what you need to dl

fleet owl
#

ima analyze ur code first

tiny dagger
#

ok ๐Ÿ˜‚

fleet owl
#

whats this

#

-Xmx1024M

tiny dagger
#

what does it look like to you?

#

a virus

#

because it sure is

fleet owl
#

no

tiny dagger
#

muhahaha >:)

#

you're giving a max mem usage

fleet owl
#

Ok

#

ive never coded before too

tiny dagger
#

of 1 G

fleet owl
#

1G?

tiny dagger
#

gigabyte

fleet owl
#

how much should i give for a 8GB

tiny dagger
#

you need 1

#

that's all

fleet owl
#

i know the table dont worry

#

gigabyte
@tiny dagger

tiny dagger
#

you're just building the spigot jar

fleet owl
#

ok

tiny dagger
#

then you take that spigot jar and do your thing

fleet owl
#

He is doing

#

C:\Users\Simi\Server\SimiLands Java>java -jar -Xmx1024M SimiLands.jar --rev 1.15.2 Loading BuildTools version: git-BuildTools-975b734-112 (#112) Java Version: Java 8 Current Path: C:\Users\Simi\Server\SimiLands Java\. *** Could not find PortableGit installation, downloading. *** Starting download of https://static.spigotmc.org/git/PortableGit-2.24.1.2-32-bit.7z.exe

Then A Menu Poped out with the %'s

#

i think its working well

tiny dagger
#

yeah

#

wait like 5 min and you're done

fleet owl
#

its cloning a github repo

#

Hes mapping the jar

tiny dagger
#

it's building you the spigot jar

fleet owl
#

spigot
๐Ÿฅค

tiny dagger
#

it's made like this to have a peace of mind

fleet owl
#

Its Done @tiny dagger what i do now

tiny dagger
#

you take the spigot jar

#

and do your thing

#

it's inside the buildtools.jar folder

fleet owl
#

I Pu the Spigot jar name in the run.bat?

tiny dagger
#

no

#

you need to change it a bit

fleet owl
#

What i do

tiny dagger
#

actually

#

that should be enough

#

put nogui at the end

#

java -Xms1G -Xmx1G spigot.jar nogui

fleet owl
#

ยดjava -Xms1G -Xmx1G spigot.jar noguiยด
@tiny dagger

bitter tendon
#

Why are my logs skipped? I have 200+ logs, but only 50 show up. I use Bukkit.getConsoleSender().sendMessage(...)

tiny dagger
#

lag

#

or repeated text

#

i dunno

#

usually the log has a reason for it

paper compass
tiny dagger
#

you need to be able to see stuff

#

and not have to scroll thru 1 gb of empty lines

fleet owl
#

your code just make cmd pop in and then pop out

bitter tendon
#

What do you mean?

fleet owl
#

It Opens The CMD then cmd disappears

bitter tendon
#

No

#

Cmd is always open

fleet owl
#

No

#

When i run server

frigid ember
#

hi

bitter tendon
#

Its always open

fleet owl
#

no it isnt

bitter tendon
#

It is

fleet owl
#

Want a recording

#

lol

bitter tendon
#

Thats not the point anyways

Why are my logs skipped? I have 200+ logs, but only 50 show up. I use Bukkit.getConsoleSender().sendMessage(...)

fleet owl
#

ok

#

i made rec

#

@bitter tendon

bitter tendon
#

@pause

fleet owl
#

Online Recorder Cuz Windows Xbox Game Bar didnt work (not a game) and too lazy to install one

#

what is @pause

bitter tendon
#

Try it

fleet owl
#

C:\Users\Simi\Server\SimiLands Java>java -Xms1G -Xmx1G Spigot.jar nogui Error: Could not find or load main class Spigot.jar Press any key to continue . . .

tiny dagger
#

you sure have the spigot.yml?

fleet owl
#

Not here

#

no

tiny dagger
#

well

#

put it

#

separately

#

with that run file

fleet owl
#

how

#

i dont have spigot.yml anywhere

#

Ima take a break my face is hot as heck. Im tired

daring crane
#

add -jar before Spigot.jar
it should be java -Xms1G -Xmx1G -jar Spigot.jar nogui

bitter tendon
#

@fleet owl

java -Xms1G -Xmx1G -jar Spigot.jar nogui
@pause```
paper compass
#

Quick question, how can I stop players from directly connecting to my servers whilst they are all connected to bungeecord?

fleet owl
#

omg

opal bay
#

firewalls

fleet owl
#

im back

opal bay
#

or ipwhitelist

tiny dagger
#

if you're coming from the same dedicated server you can use localhost as ip to connect them to the bungee

#

it will hide the ip from public

frigid ember
#

BungeeGuard best

sturdy oar
#

it should not be used as excuse to not configure your bungeecord properly, and setup your dedicated server properly

#

I don't want to be rude or anything, but from my experience I've seen too many people just "throwing" in security plugins and expecting stuff to be "safe"

paper compass
#

So all I do is install ipwhitelist?

#

and thats it?

sturdy oar
#

Could you please explain a little better what are you trying to achieve?

paper compass
#

I have a bungeecord server and how can I stop players from directly connecting to the servers connected to bungeecord through their own ports?

sturdy oar
#

so you're saying your players can connect to backends server ?

paper compass
#

Well I'm scared that they might be able to

sturdy oar
#

if you did a proper bungeecord and linux setup they should not

paper compass
#

Well can I just install ipwhitelist onto the spigot servers and it will be fine?

sturdy oar
#

what does IPwhitelist have to do with this

paper compass
#

@opal bay

sturdy oar
#

isn't it just a plugin to block\allow certain IPv4s from connecting to a server?

paper compass
steady cedar
#

just use bungeeguard

#

if you're on a shared host

gleaming helm
#

^ Don't use ipwhitelist lol

sturdy oar
#

^

coarse folio
#

Or better yet if youโ€™re self hosting change the backend server to a random port thatโ€™s closed off to the internet and use the proxy to connect players so they legitimately have no possible way of getting into the backend.

heady geode
#

Hey guys so quick question,
I am wondering how fast is the getNearbyEntities method is, like is it considered a slow method?
Do you think it would cause lag if I run it two times every time the player hits an entity and (with differrnt distances each time) in a server with a lot of fighting going on
Also how accurate is its distance calculation, if I say to get all entities in radius of 6.05 would it would not get from 6.06?

coarse folio
#

I canโ€™t speak to performance but accuracy itself falls off as you get further from 0,0,0.

frigid ember
#

xd

heady geode
#

Hehe heya there

#

Does it use a ray trace for the distance?

#

Or a normal distance formula

coarse folio
#

Iโ€™m honestly not sure. All I know is the game itself loses accuracy in calculating distance. I donโ€™t know the fall off rate or the like unfortunately.

#

Itโ€™s accurate enough.

heady geode
#

Depends on what you use it for though, anyways thanks for the help! From my experience it is pretty much accurate enough for my needs

#

Hey guys so quick question,
I am wondering how fast is the getNearbyEntities method is, like is it considered a slow method?
Do you think it would cause lag if I run it two times every time the player hits an entity and (with differrnt distances each time) in a server with a lot of fighting going on
Also how accurate is its distance calculation, if I say to get all entities in radius of 6.05 would it would not get from 6.06?
Would be good if someone can answer the performance question though

dim cape
#

What am I doing wrong?

org.bukkit.plugin.InvalidDescriptionException: null is not properly structured.
        at org.bukkit.plugin.PluginDescriptionFile.asMap(PluginDescriptionFile.java:1172) ~[patched_1.15.2.jar:git-Paper-350]
        at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.java:246) ~[patched_1.15.2.jar:git-Paper-350]
        at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:167) ~[patched_1.15.2.jar:git-Paper-350]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:148) ~[patched_1.15.2.jar:git-Paper-350]
        at org.bukkit.craftbukkit.v1_15_R1.CraftServer.loadPlugins(CraftServer.java:360) ~[patched_1.15.2.jar:git-Paper-350]
        at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:234) ~[patched_1.15.2.jar:git-Paper-350]
        at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:908) ~[patched_1.15.2.jar:git-Paper-350]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]

Here is my plugin.yml:

main: us.ajg0702.disableoffhand.Main
version: 1.0.0
author: ajgeiss0702
name: DisableOffhand
description: Disabled the offhand

please ping me if you respond

cerulean musk
torn robin
#

Fix nick moves?

#

Mr. moves itโ€™s a pleasure to see you

gleaming helm
#

Why tf would you need to raytrace to get a distance

cerulean musk
#

idk ๐Ÿ˜„

#

random crosshair

hardy cedar
#

@gleaming helm nort is a anticheat dev

gleaming helm
#

Yes I know, so am I

tiny dagger
#

raytracing to get distance, why :p

gleaming helm
#

Yes that's exactly what I said

tiny dagger
#

loc distancesquared all day

gleaming helm
#

(RE: @heady geode)

#

How would that even like... work

#

Raytracing from what to what

#

The distance function it uses is just the distance from the feet of one to the feet of the other

#

(Or the equivalent entity origin point)

heady geode
#

RayTracing to get distance is way more accurate then a normal distance calculation

gleaming helm
#

Are you high?

tiny dagger
#

vec substract other vector normalize then ray trace from loc a to b using the vector ๐Ÿ‘€ ๐Ÿ˜‚

#

ez

heady geode
#

Ray trace would always be 100% accurate if used right

gleaming helm
#

No.

#

Pythagorean theorem

tiny dagger
#

^

gleaming helm
#

Do you even know what raytracing is

heady geode
#

All the big boy AntiCheats do that too, look at FireFlyX source code

gleaming helm
#

Yes

#

I know

#

They all raytrace

heady geode
#

Hec as the AGC developers

gleaming helm
#

But

tiny dagger
#

sqrt(a^2+b^2) can't get any more accurate

gleaming helm
#

You need a RAY in order to RAY trace

#

It's in the fucking name

#

๐Ÿ˜

#

How do you define your ray

heady geode
#

They are not stupid they wont ray trace by themselfs if it was not better

gleaming helm
#

No

#

Look at the context of those "raytraces"

#

FFX for example

#

Doesn't raytrace to get distance

#

Between two players

#

It only calculates raytracing

#

Using the LOOK DIRECTION

#

(that's the ray)

tiny dagger
#

you probabily want to raytrace to check for other stuff but otherwise it's pointless

gleaming helm
#

And the other hitbox and origin

#

getNearby just returns a list of entities where this.location.distance(otherLocation) is smaller than some number

heady geode
#

Some checks uses the ray tracing to gey distance, some uses it to verify other stuff that is correct

tiny dagger
#

no

gleaming helm
#

I can't tell if you're meming, high, or dumb

tiny dagger
#

like for other stuff only

#

and it happens to get you a distance number from it

#

otherwise always use the formula for distance

gleaming helm
#

You raytrace, for example, if you know the direction of a FUCKING RAY and want to know some collision distance

#

That's what a raytrace is.

steady cedar
#

But Nort is Anticheat Dev

gleaming helm
#

I'm shocked you don't know this.

heady geode
#

Well I saw before a check that uses some ray tracing classes to get the distance and it detected reach hacks below 3.1 so idk man

steady cedar
#

he Made GodsEye

#

He is God at AC

gleaming helm
#

I'll leave my 3.05 reach check to myself thank you very much, but I'll gladly explain the difference between raytracing and the pythagorean theorem to anybody who asks.

heady geode
#

I dont use it currently the ray tracing in my check because its annoying to add and I managed to create some decent checks without it

#

But I just know its a method that people use so I asked

gleaming helm
#

You might want to get out a piece of paper and draw what you're trying to do

heady geode
#

No need to get toxic about it bud

gleaming helm
#

Because you'll realize that a raytrace makes no sense

steady cedar
#

What the fuck is this Kindergarten School bro

#

Draw on paper

#

Damn

#

I draw on my arm that's ๐Ÿ’ช facts

gleaming helm
#

Raytracing is pretty easy to visualize for most

zinc ingot
#

dont worry soon people will be solving the world's problems with RAYTRACING

#

who needs ml when you can have RAYTRACING

steady cedar
#

Shut up fork

gleaming helm
#

^

zinc ingot
#

๐Ÿ˜

steady cedar
#

Just cause you don't know what you're talking about don't mean you gotta deepthroat

zinc ingot
#

huh?

steady cedar
#

You think ur funny huh

#

Be there or be square bro

zinc ingot
#

ok i guess?

steady cedar
#

No you don't guess I just filled it out for you ๐Ÿ˜ค๐Ÿ˜ค

zinc ingot
#

๐Ÿค”

#

i have no clue wat ur on about

steady cedar
#

Fork

#

you

#

๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜

heady geode
gleaming helm
#

Notice how he's passing a look angle

heady geode
#

Mhm

#

But yeah thats the concept I was talking about

gleaming helm
#

Yeah sure but you can't just say "entity.getNearbyEntities(3.1)" and expect it to work lol

heady geode
#

Even though I already saw that you guys are being pointlessly toxic so Im going to stop this talk now ๐Ÿค”

#

Oh I was just thinking of a new method to test

#

It suprisenly worked for like 3.2 minimum, but if its heavy to run or not accurate sometimes there is no point in using it

#

I just like trying stuff sometimes, you know trying to discover new stuff

steady cedar
#

haha what

#

i'm not an anticheat dev

#

and that's a weird method of handling reach checks

heady geode
#

Haha Ik its very wired, a super wired idea, I was never thinking that something so simple would be able to detect a hack like reach which is pretty complicated to detect compared to other hacks, but it actually seems to maybe be something that is just decent to use

#

To be fair I was not the one to think about it though

gleaming helm
#

Throw it on a server with laggy players and see what happens :v

heady geode
#

Yup, will probably fail though in that case

steady cedar
#

That's definitely not a good method or idea

#

Lol

heady geode
#

Since the location is not being fixed, before the method calculates the distance

frigid ember
#

can someone still ping my domain and find out my ip

#

yes

#

not your ip tho

#

unless you are hosting the web server from your computer

#

yes :C

#

ok

#

i dont know what to do..

dim cape
#

What am I doing wrong?

org.bukkit.plugin.InvalidDescriptionException: null is not properly structured.
        at org.bukkit.plugin.PluginDescriptionFile.asMap(PluginDescriptionFile.java:1172) ~[patched_1.15.2.jar:git-Paper-350]
        at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.java:246) ~[patched_1.15.2.jar:git-Paper-350]
        at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:167) ~[patched_1.15.2.jar:git-Paper-350]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:148) ~[patched_1.15.2.jar:git-Paper-350]
        at org.bukkit.craftbukkit.v1_15_R1.CraftServer.loadPlugins(CraftServer.java:360) ~[patched_1.15.2.jar:git-Paper-350]
        at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:234) ~[patched_1.15.2.jar:git-Paper-350]
        at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:908) ~[patched_1.15.2.jar:git-Paper-350]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]

Here is my plugin.yml:

main: us.ajg0702.disableoffhand.Main
version: 1.0.0
author: ajgeiss0702
name: DisableOffhand
description: Disabled the offhand

please ping me if you respond

subtle blade
#

(1) Not using Spigot. Ask in the appropriate place next time
(2) Is your plugin.yml being exported properly? Open your compiled jar and locate the plugin.yml. It should be in the root

tiny dagger
#

at 2 it would give a different error

#

no plugin.yml found

#

or something like that

subtle blade
#

Yeah well the YAML is failing to load, so my only guess would be that the file is empty

tiny dagger
#

or the good old tab

frigid ember
#

can i use microsoft azure to host a minecraft server instead of my computer...

viscid creek
#

Hi i need help bots are crashing my server (mcspam)

(online mode)

#

tried using abd and bs

#

they dont join the server

#

even when the server is whitelisted

#

the server will lag

(keep in mind i mistype)

the server does not crash but commands are laggy and ping is high

#

and in a few secs ex: 30s everyone will be kicked

frigid ember
#

you should stop your server and wait till a staff answers you...

steady cedar
#

online mode is false there

gleaming helm
#

Use online mode

steady cedar
#

or somebody is bungee exploiting

gleaming helm
#

lol

viscid creek
#

online mode is true

steady cedar
#

okay so someone is bungee exploiting

#

do you have bungeecord

frigid ember
#

dats tuff ...

viscid creek
#

no

gleaming helm
#

Yeah this is just

#

a spammer like

#

This happens

steady cedar
#

but those names

viscid creek
#

they use mcspam

gleaming helm
#

I've seen this before

steady cedar
#

are not real names tho?

viscid creek
#

i tested it my self

steady cedar
#

are they??

viscid creek
#

nope

steady cedar
#

exactly so either online mode isn't on

#

or you're getting bungee exploited into

gleaming helm
#

No

#

No idriz

steady cedar
#

?

gleaming helm
#

They're trying to auth with offline mode names

#

But are failing

#

(obviously)

steady cedar
#

Ohhh

viscid creek
steady cedar
#

I missed that LOL

#

thought you meant they joined and started spamming

#

honestly idk if you can stop that

viscid creek
steady cedar
#

yeah ur fine

viscid creek
#

?

gleaming helm
#

But like

#

Your server is lagging from that?

#

Can you send timings?

steady cedar
#

ur server shouldn't be lagging from it

#

well, not significantly at least

viscid creek
#

after? or before

gleaming helm
#

After it happens

#

Do you have a timings report?

viscid creek
#

wait,

#

i know that they use mcspam

gleaming helm
#

The only explanation is a really bad plugin or a CPU weak enough to cause oversleep

viscid creek
#

because i tested it my self while trying to find a antibot

gleaming helm
#

On something like that

viscid creek
#

30 secondes

1-2k bots / sec

says

gleaming helm
#

Is it lag or TPS drops

viscid creek
#

no tps drop. only people will start to get high ping and after a few seconds they get kicked

gleaming helm
#

Yeah that's normal

#

You don't have enough network throughput to handle the connections

#

There's really nothing you can do about that

viscid creek
#

alright so i just tested and like commands work perfectly fine when being botted

#

(console

gleaming helm
#

Yeah that's caused by the very high connection volume

#

And your network card can't handle the volume

frigid ember
#

could it be ddose?

gleaming helm
#

Nothing you can do except better throughput (or be hypixel and use multiple machines)

frigid ember
#

nvm

viscid creek
#

hm

sturdy oar
#

how does one specify repository ID in gradle kts build?

gleaming helm
#

You don't need to

#

Just specify the dependency

#

Or do you want to know how to declare a repository

sturdy oar
#

well

compileOnly(group = "net.md5", name = "bungeecord-api", version = "1.15-SNAPSHOT")
``` doesn't seem to be importing so i though not having the ID is the issue
gleaming helm
#

add a repositories {} block

sturdy oar
#

i did add the sonatype repository

gleaming helm
#

You'll want to use:

#
repositories {
  maven {
    url "https://oss.sonatype.org/...."
  }
  maven {
    ...
  }
  ...
}```
naive goblet
#

Imagine using double quotes

woeful mural
#

In which BungeeCord class are the plugin messaging channels handled?

sturdy oar
#

i had written "md5" instead of "md-5"

#

that's why it wasn't importing

gleaming helm
#

lol

frigid ember
#

kev

#

do u have experience with making 1.8.9 mods?

viscid creek
#

if (isHacker) {
banHacker();
}

^ private anticheat code

gleaming helm
#

no

frigid ember
#

i forgot how to use gradle and get 1.8.9

#

LOL

#

its been so long

gleaming helm
sturdy oar
#

I've been lately using only gradle

#

with KTS build files

frigid ember
sturdy oar
#

it means search on google

gleaming helm
#

It means google it you lazy bum

steady cedar
#

or skid it

#

cuz yknow

#

thats ur thing soo

#

๐Ÿ’ช

median swift
#

spigot

#

ok nvmd thanks

acoustic temple
#

Has anyone encountered a problem where mobs spawned from spawners have no AI?

keen compass
#

No, but you can set the tags on a spawner to spawn mobs with no AI automatically though. Generally either spawners spawned in with a command or a plugin that does it.

upper hearth
#

That's not what he asked lol

acoustic temple
#

Yeah, for some reason spawners on my server are automatically spawning with no AI

frigid ember
#

if a bungee server get ddose, does all the spigot server connected to it will also get ddose? and crash the network.

little crater
#

@acoustic temple look for nerf-spawner-mobs in spigot.yml

acoustic temple
#

Ah, that was set to true for some reason. Thank you!

neon perch
#

good afternoon, has anyone worked with the plugin "pro skywars"?

I have a question with some kits that I made because I do not know how to put potion effects unu

frigid ember
#

Does anyone know what the implementation class of Villager is? org.bukkit.entity.Villager

#

I want to extend this class, but its an interface. Obviously I don't want to implement its methods.

gleaming helm
#

@frigid ember I'm going to assume that you only have a single machine/network connection for this explanation, if this is not the case, then this explanation is invalid.

When you get DDOS'd, what happens is your machine becomes unable to handle the traffic it is presented with. This overwhelms your entire machine and causes it to drop all outbound connections. Any internal connections may or may not work, depending on how your network stack is configured, but any connections to players will be disrupted by a DDOS. Adding a bungeecord proxy does not help this. Sure, the connections between bungeecord and your backend server(s) may still work, but it just shifts the problem up a layer. Players will be disconnected from bungeecord.

frigid ember
#

ok i get it now

gleaming totem
#

hey, does anyone know how luckperms handles the * permission?

#

There isn't a permission check event in spigot, only bungee so I'm not sure how I should do it

quaint sinew
#

alright @gleaming helm my problem with randomly crashing + low tps seems to be an issue of the past now

gleaming helm
#

Awesome

quaint sinew
#

the server just handled 156000 tnt exploding all at once

gleaming helm
#

lol

quaint sinew
#

admittedly not very well lmao

gleaming helm
#

Well TNT isn't a great test of performance

quaint sinew
#

but it didnt crash

#

well tbh

#

i was only doing it for fun

gleaming helm
#

It's actually quite a terrible test of performance. But yeah, paper makes some pretty cool optimizations to TNT

quaint sinew
#

but tps has also been real high and stable

gleaming helm
#

How has your mspt been?

quaint sinew
#

with multiple ppl on

gleaming helm
#

use /paper mspt if you don't know

#

Tick times are a better performance metric than raw TPS

#

Because they allow you to understand performance before the point of TPS drops

#

Any tick time under 50ms means your server is performing well

#

(My alerting system starts firing warnings at 40ms)

quaint sinew
#

it's all around, but all green except for one number being 52 but i also havent restarted the server since I was using both flyspeed 10, and 156k tnt

gleaming helm
#

Yeah that 52ms tick was probably 1 minute ago

quaint sinew
#

i see alot of like 17, 10, and around there

gleaming helm
#

Yeah

#

Very good

quaint sinew
#

the reason i wanted to see how tnt is tho is because our next build will require lots of tnt

#

my creeper farm can make around 12441 tnt blocks worth of gunpowder before i have to empty it lmao

#

it handled 16k like a champ tho lol

rotund orbit
#

How can I make a message wait three seconds before getting sent to a player? I've been trying to use getServer().getScheduler().runTaskLater() but I'm having trouble because the method I'm using it in is static and located outside of the main class.

gleaming helm
#

Pass in an instance of your JavaPlugin object to the static method

#

And I really don't want to question this, but you should be minimizing your use of the static keyword in an OOP paradigm

#

Properly use dependency injection and you won't end up with this issue

rotund orbit
#

What is dependency injection?

gleaming helm
#

Dependency injection is where

#

When you initialize some class or something

#

You pass in to the constructor all of the things it needs

#

So in your main plugin class, suppose you have a line that says

#

thingManager = new ThingManager();

#

Now your problem is

#

ThingManager has no way of accessing an instance of your main plugin class

#

So what you can instead do is

#

thingManager = new ThingManager(this);

#

And now, you pass in the instance that it requires in the constructor

#

You could also use a singleton for your main plugin class, but I don't know if I would recommend that at your skill level because you'll end up applying singleton everywhere, even places where it doesn't make sense.

rotund orbit
#

What type would I put in the constructor of the ThingManager?

gleaming helm
#

An instance of your main plugin class

rotund orbit
#

ah

gleaming helm
#

Or whatever ThingManager depends on

#

I'm just using that as an example because that's your actual problem

#

But you can pass in whatever you like

rotund orbit
#

Woah

#

That is EXCELLENT

#

I have some serious refactoring to do in another one of my plugins.

gleaming helm
#

LOL

rotund orbit
#

Thank you very much Kevin

gleaming helm
#

np

#

You can go way down the rabbit hole on paradigms like that

rotund orbit
#

What is singleton?

gleaming helm
#

Singleton is where you decide ahead of time that you will only ever have one instance of a class. For a minecraft plugin, what you'd do is create a private static field containing an instance of your plugin, at YourPlugin.instance. In a constructor or in an initialization routine of some kind, you set that instance variable to the instance of your plugin. Then you create a static getter, such that you can call YourPlugin.getInstance() from anywhere in your code, and get an instance

#

It looks like a great idea

#

But it can be bad practice and very easily overutilized, so I don't recommend beginners to try to do this kind of thing.

rotund orbit
#

Gotchya, interesting

#

Thank you for the explanations!

gleaming helm
#

Yeah like I said before there's a very deep rabbit hole here

#

There are entire books written about this stuff

severe hemlock
#

hey guys

#

i need some help

#

so is there a way to use commands to create a protection 5 enchantment book? I used ItemEdit

#

but it doesn't apply properly.

slate ocean
#

help me someone

#

my exdev made a staffchat plugin and once the text goes to the next line it turns white

#

like resets the color

#

its a bungee plugin

#

i have the jar and source

#

someone please help me

#

i dont know anything about coding so idk where and/or how to fix it

dusky jolt
#

I gotcha man

severe hemlock
#

hey guys
i need some help
so is there a way to use commands to create a protection 5 enchantment book? I used ItemEdit
but it doesn't apply properly.

#

' ' ' hey guys
i need some help
so is there a way to use commands to create a protection 5 enchantment book? I used ItemEdit
but it doesn't apply properly.' ' '

#

also

#

i use the give command

#

and it throws errors on my server

#

but not in singleplayer

#

is there some plugin conflicting?

#

(me wondering if its EssentialsX since that adds the /i command and changes the functionality of /give)

quaint sinew
#

pretty sure with essentialsx it stops you from creating impossible enchantments like loyalty on hoes, and prot 5 etc. you can change it in the config tho

severe hemlock
#

no yeah but it also does some other things

#

like i can;t give myself custom player heads with /give anymore for some reason

#

it doesnt think attaching nbt tags to items is a thing

#

if im in creative and i use a command block to give it doesnt work either so i have to use fill

#

but then if i use pick block it turns into a steve head so i cant get it in my inventory

#

help pls

quaint sinew
#

what command are u trying to put in, compared to alot of ppl here im not the most knowledgeable but I might be able to help who knows lol

slate ocean
#

@dusky jolt dms

kind berry
#

is there a pathfinder attack goal for creepers like, this.goalSelector.a(4, new PathfinderGoalMeleeAttack(this, 2.0D, true)); but for creepers?

severe hemlock
#

nvm i figured it out

#

i just have to summon armor stands and de-equip the head

frigid ember
#

my exdev made a staffchat plugin and once the text goes to the next line it turns white
@slate ocean BRUH ask you dev to fix plugin XD

simple spruce
#

@slate ocean String builder would probably fix the issue

naive goblet
#

I mean white is lit

simple spruce
#

@naive goblet Blaq lives matter

naive goblet
#

Iโ€™d say everyone lives matter

simple spruce
#

partially agree, people like pedophiles or murderers dont matter

naive goblet
#

Depends how you see it. Well I think it was good what the intentions was behind blm but what it have become isnโ€™t certainly good

simple spruce
#

what

#

how could intentions of pedophiles or murderers ever be good

naive goblet
#

Read what I wrote once more wat

simple spruce
#

s0rry i cant understand ur sentence im too dumb

naive goblet
#

Makes sense

simple spruce
#

๐Ÿ˜ฆ

jaunty night
#

Does anyone happen to know or have any topological java sorting algorithms for sorting Objects in a list?

#

I can make one myself, I'm just asking around to save me the hassle.

tiny dagger
#

implement comparable

#

and use Arrays.sort

#

:d

#

it has the best algoritm i think as well

naive goblet
#

Well it depends, some sorting algorithms is faster when it comes to a large amount of objects and others are faster with small amount

jaunty night
#

Thing is I need topological one.

tiny dagger
#

bogo sort ftw

jaunty night
#

Because I have a list of objects, each one has depends on other objects within the list

#

and I need to sort it to do that

tiny dagger
#

n log n! ๐Ÿ‘€ or something like that

jaunty night
#

a topological sorting algorithm does that

naive goblet
#

Well essentially just google one up?

tiny dagger
#

^

kind berry
#

is there a pathfinder attack goal for creepers like, this.goalSelector.a(4, new PathfinderGoalMeleeAttack(this, 2.0D, true)); but for creepers? Anyone?

fleet owl
#

Why Is tcp shield plugin not loading

#

i got this message everytime

#

: Could not load 'plugins\TCPShield.jar' in folder 'plugins' org.bukkit.plugin.UnknownDependencyException: ProtocolLib at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:269) [Spigot.jar:git-Spigot-a99063f-c9d7c16] at org.bukkit.craftbukkit.v1_15_R1.CraftServer.loadPlugins(CraftServer.java:353) [Spigot.jar:git-Spigot-a99063f-c9d7c16] at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:210) [Spigot.jar:git-Spigot-a99063f-c9d7c16] at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:784) [Spigot.jar:git-Spigot-a99063f-c9d7c16] at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]

#

At The First Start of the server

fleet crane
#

UnknownDependencyException: ProtocolLib

#

what do you think this might mean

frigid ember
#

md_5

#

how long do name requests take

#

sadly someone took my current name on discord

#

so i requested to be retrooperdev

#

guess im just unlucky

#

;c

#

probs some troll person ๐Ÿคท

#

lol

#

then dont specifically point it out on a public platform, you're asking for it to be taken

#

Oh I HOPE NO ONE TAKES THIS NAME, my name, please DONT take it

#

i thought they detect if you have 2 accounts

#

with cookies or something

#

or ip

torn robin
#

anyone know how to cast a bukkit itemstack to a NMS item stack?

#

I'm trying to use reflection but it's saying the method doesn't exist

#

java.lang.NoSuchMethodException: org.bukkit.craftbukkit.v1_15_R1.inventory.CraftItemStack.asNMSCopy()

#

it's listed as a method though:

getMaxStackSize () asCraftMirror (net.minecraft.server.v1_15_R1.ItemStack) getEnchantmentLevel (org.bukkit.enchantments.Enchantment) addUnsafeEnchantment (org.bukkit.enchantments.Enchantmentint) containsEnchantment (org.bukkit.enchantments.Enchantment) asBukkitCopy (net.minecraft.server.v1_15_R1.ItemStack) asNMSCopy (org.bukkit.inventory.ItemStack) [...]```
hoary parcel
#

Wrong args

torn robin
#

you sure? I'm not even invoking it

#

it's erroring on the getMethod part

#
                ItemStack sItem = player.getInventory().getItemInMainHand();
                sendMethods(sItem.getClass());

>>>             Method copyMethod = sItem.getClass().getMethod("asNMSCopy");

                Object nmsItem = copyMethod.invoke(sItem, sItem);
frigid ember
#

you only invoke once

torn robin
#

do i need to add ItemStack.class as an argument within the getMethod?

frigid ember
#

at least i do

#

final Object nmscopy = cfi.getClass().getMethod("asNMSCopy", Item.getClass()).invoke(Item);

fleet crane
#

its a static method so you want null for the first arg

torn robin
#

i'll try that out fatal and yeah will change the first arg to null

#

huh yeah adding ItemStack.class wokred, you were right Mini and ty Fatal and md_5

limber summit
#

Is there a way to get all the format of a message
I want to get all of this

#

I tried a getFormat it returns that

naive goblet
#

Isnโ€™t there like a method #getMessage

limber summit
#

Yes

#

but I want everything

#

<faction> <prefix> <pseudo> ยป <chat>

#

not only <chat>

frigid ember
#

yea as md_5 said, first arg is null telling it its static

heavy steeple
frigid ember
#

yes

heavy steeple
frigid ember
#

lol

#

rip

heavy steeple
#

is it only for me ?

frigid ember
#

i dont think so

#

ok yup

#

its broken

heavy steeple
#

you're the same too ?

frigid ember
#

yes

#

just wait some time

heavy steeple
#

oh...

#

thanks! I'm worrying am I being hacked xD

frigid ember
#

hey

#

how can i make it so that when a person comes to a cordinate

#

4 coords for a wall

#

-5 +6, -5 -6, +5 -6, +5 +6

#

so that the event gets canceled

#

just like worldguard passthrough flag

#

<faction> <prefix> <pseudo> ยป <chat>
@limber summit

this is what i use tbh

event.setFormat(rank + " ยง5| ยงc" + event.getPlayer().getName() + " ยง5ยงl> ยงc"  + "%2$s");```
#

add this ontop if you want & color codes

#
event.setMessage(ChatColor.translateAlternateColorCodes('&', event.getMessage()));
#

tbh, idk why i used ยง

fair musk
#

Hi ! I'm trying to use this to create a plugin where the end gateway doesn't spawn after the dragon's death, however it's deprecated, any idea what i could use instead ? tysm

fleet crane
#

did you try reading literally the line below

fair musk
#

ima head out

#

and buy some eyes

naive goblet
frigid ember
#

๐Ÿ™‚

#

good idea

#

blind ass

fair musk
#

not cool

naive goblet
#

How to use eyes diy

frigid ember
#

im very cool

sturdy oar
#

no

frigid ember
#

how can i make it so that when a person comes to a cordinate
4 coords for a wall

#

-5 +6, -5 -6, +5 -6, +5 +6 (x,z no y axis)

sturdy oar
#

wut?

#

I didn't quite understand that

frigid ember
#

@sturdy oar you know the passthrough flag?

sturdy oar
#

WorldGuard?

frigid ember
#

on worldguard.

#

yeah

sturdy oar
#

I think so

frigid ember
#

im tryign to make an event like that

#

for passthrough

sturdy oar
#

Oh so you want to have a cuboid that will flag upon entering

frigid ember
#

like so that players cant escape from the map

sturdy oar
#

well you just gotta apply some basic math

#

do you have the corners or the centre of the cuboid?

frigid ember
#

corners

#

like x,z
+5 +5
+5 -5
-5 -5
-5 +5

sturdy oar
#

k one sec

#

so you gotta get the opposite corners

frigid ember
#

yeah.

#

ill just type them by myself

sturdy oar
#

wut?

#

im writing one sec

frigid ember
#

Ah, your a legend.

cerulean musk
sturdy oar
#

which shop?

cerulean musk
#

my egg wars shop

#

villager shop

fleet owl
#

Hello

#

How do i Import a world to the server

cerulean musk
#

/mv import name normal

fleet owl
#

i want to make it load a workd

#

where should i have the world folder?

#

and how do i put a resource pack and force others to use it?

cerulean musk
#

you have multiverse or you just want 1 world ?

fleet owl
#

1 worlfd

cerulean musk
#

okey

fleet owl
#

i dont have multiverse

cerulean musk
#

now join your server files

fleet owl
#

Im on the server folder.

cerulean musk
#

remove "world" file and upload new world file

#

and called it "world"

#

and restart your server

fleet owl
#

Theres a folder called worlds

cerulean musk
#

you just need

#

delete "world"

fleet owl
#

and a folder called SimiLands (level name (configured in server.props)) outside the worlds folder

cerulean musk
#

can you ss

#

?

fleet owl
#

What is ss

cerulean musk
#

screen shoot

fleet owl
#

ok

#

The Folder SimiLands has a world on it

cerulean musk
#

oh okey

#

nw delete "world"

#

now

fleet owl
#

it was automatically generatee

#

ok

#

Deleted

cerulean musk
#

and called your folders SimiLands_nether --> "world_nether"

#

Similands --> "world"

fleet owl
#

but in the level name its written SimiLands

cerulean musk
#

what ?

fleet owl
#

yes

cerulean musk
#

your world Similis ?

#

righT ?

fleet owl
#

wair

fleet crane
#

Spigot splits out the nether and end

#

It will do this automatically if you just upload a vanilla world

cerulean musk
#

md_5

#

can you help me ?

fleet owl
#

I Drop the SimiLands Folder with SimiLands Text on The server files?

frigid ember
#

md_5 canu check the usernamechange requests

mellow wave
#

@cerulean musk That lib allows you to trigger things when people equip armor. Since you're copying the cubecraft eggwars shop you have no use for it

cerulean musk
#

oh

#

i want to autoequip shop like cubecraft :/

#

a guy write me code

#

but this code no have enchants

frigid ember
#

can someone who knows netty helpme

#

I am sending packets basically for my game

#

And i have a chat packet also

#

that works with my chatui system

#

I include a string in the chat packet

#

now i tried sending messages, and at 12 characters and above the packet isnt received

#

by the server

mellow wave
#

@cerulean musk That lib does not allow you to force equip armor. You don't need another lib at all use the Player#SetArmorContents method

fleet owl
#

it is generating new world help

#

instead of loading the one

mellow wave
#

Make sure you have the right world selected in the server.properties file

fleet owl
#

But where are the worlds stored

#

Does the level name select the folder name or the name of the world

fleet crane
#

It selects the folder name

frigid ember
#

md_5

#

can u accept my name change request

#

and update it here

#

hey, how can i get int untill for example 1 - 5.
without a loop
so like x = 1 and 2th x = 10

#

????

#

2nd lol not 2th

#

wdym

#

nvm

sturdy oar
#

you want a range?

#

between X and Y?

frigid ember
#

random

#

i think

#

without a for loop I don't think its possible

#

You can use any function, any api, but at the end, behind the scenes they all do for loops

#

iirc

#

Hey! Does anybody know how I can check through all the config files in a folder like this "plugins/Drugs/Data/" and check if any of the config files in it contain a broken block location?

sturdy oar
#

If you use Kotlin ๐Ÿ˜‹ you have access to Ranges without any library

frigid ember
#

What kind of loop would I be using?

sturdy oar
#

Yes

#

there is a listFiles method

#

get to the Data directory, and use File#listFiles I think

#

Not sure if that's what you need

frigid ember
#

Hmm thanks Ill give it a go

#

I'm not really sure how to write that

mystic sparrow
#

Can anyone help me I get this strange error

#

And Ive reached out to multiple devs

#

everyone either ignores me or cant help me

#

This is my config.yml

frigid ember
#

hi

#

where is th eerror

mystic sparrow
#

This is the error

#

Well, they are multiple

frigid ember
#

replace 'world

#

with ""

#

maybe

mystic sparrow
#

Ive tried ๐Ÿ˜ฆ

frigid ember
#

and?

mystic sparrow
#

Well, doesnt work

frigid ember
#

all the worlds

#

with ""

mystic sparrow
#

I've tried to switch around ' and " everywhere

frigid ember
#
required_players: 1
countdown_seconds: 30
lobby_spawn:
  world: "world"
  x: 100
  y: 80
  z: 100
  pitch: 60
  yaw: 60
arenas:
  '0':
    world: "world"
    x: 10
    y: 10
    z: 10
    pitch: 60
    yaw: 60
  '1':
    world: "world"
    x: 200
    y: 200
    z: 200
    pitch: 60
    yaw: 60
#

try that

mystic sparrow
#

Same errors

#

It;s something with this

#

expected <block end>, but found BlockMappingStart
in 'string', line 5, column 7:
x: 100
^

#

...................

#

org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
in 'string', line 4, column 5:
world: 'world'
^
expected <block end>, but found BlockMappingStart
in 'string', line 5, column 7:
x: 100
^

paper compass
#

I'm getting an error from luckperms as soon as I changed the server to offlinemode for bungeecord

frigid ember
#

Are you using craftbukkit?
That's the only error I know in this context, if I'm being honest

paper compass
#

And I'm getting this error

pastel arrow
#

In 1.15 whats the alternative to SkullMeta.setOwner("MHF_ArrowDown") since its deprecated.

wraith thicket
#

SkullMeta#setOwningPlayer

pastel arrow
#

Requires an offline player.

tiny dagger
#

well

#

yeah?

#

wwhats wrong

pastel arrow
#

Can you make/get an offline player with MHF_ArrowDown?

tiny dagger
#

Bukkit.getOfflinePlayer("fsfs");

pastel arrow
#

Thought it returns null if the player never joined the server.

tiny dagger
#

no

#

it never returns null

#

like never

#

it's not like getPlayer

pastel arrow
#

Bukkit.getOfflinePlayer("fsfs"); deprecated also xD

wraith thicket
#

Yes, it is deprecated. That's because it is potentially blocking.

pastel arrow
#

Trying not to have any deprecated methods

wraith thicket
#

I.e if you search for a name that has not joined the server, a network call will be made which may freeze your server for a few seconds

#

But if you run the method once, then the info should be cached for the next time

pastel arrow
#

Trying not to have any deprecated methods

tiny dagger
#

good luck with that

#

usually there is no alternative

pastel arrow
#

Then why make the method deprecated?

wraith thicket
#

So that you think twice before using it.

#

You should be able to create the UUID from 68f59b9b-5b0b-4b05-a9f2-e1d1405aa348 and look for that instead

pastel arrow
#

Why is setOwner() deprecated... doesn't it already run the same check getOfflinePlayer does?

torn robin
#

setOwningPlayer

wraith thicket
#

The point is, player names can change. Setting a name as an owner of a skull does not make sense because there might not be a player that has that name. Or, after some time, there might be some other player that has that name (as opposed to when it was first created).

pastel arrow
#

I get that. But still shouldn't be deprecated if it just has the same search methods.

wraith thicket
#

What makes you think it has the same functionality? It doesn't.

pastel arrow
#

SkullMeta.setOwner() searches for the player with that username the same way Bukkit.getOfflinePlayer() would

wraith thicket
#

How do you figure?

#

Looking at the source, it doesn't do that.

pastel arrow
#

I figure it searches for the players skin texture meaning it would check mojangs api. Bukkit.getOfflinePlayer() more then likely checks the servers offline players and if not found checks the mojang api.

torn robin
#

i'm pretty sure the mc client itself would look it up

#

that would make sense i might just be talking out my ass

tiny dagger
#

i doubt

#

i think it does what getofflineplayer does to transform it into uuid/name

mystic sparrow
#

Any good developers?

wraith thicket
#

No. We're all horrible.

torn robin
#

^

#

?services

worldly heathBOT
mystic sparrow
#

No

#

I need help

#

with error resolving

wraith thicket
#

Usually, one starts with sharing the error/stacktrace

mystic sparrow
#

Alright true I forgot

hot anvil
#

hello there!

mystic sparrow
#

This is my error @wraith thicket

wraith thicket
#

There's an issue parsing a yaml file

mystic sparrow
#

Yea, I just don't know where to fix it and how

#

because my yml is valid

wraith thicket
#

Make sure you don't have any tabs in there

mystic sparrow
#

There aren't

#

only spaces

wraith thicket
#

Perhaps you're simply operating on a different file than you think you are?

mystic sparrow
#

How would I know? Like Im sorry. but I really dont know at all

#

Like idk what the error is/means

#

ive tried 100 things

hot anvil
#
java.util.concurrent.ExecutionException: java.lang.NullPointerException
        at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_251]
        at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_251]
        at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:47) [spigot.jar:git-Spigot-596221b-9a1fc1e]
        at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:747) [spigot.jar:git-Spigot-596221b-9a1fc1e]
        at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:405) [spigot.jar:git-Spigot-596221b-9a1fc1e]
        at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot.jar:git-Spigot-596221b-9a1fc1e]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot.jar:git-Spigot-596221b-9a1fc1e]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]
Caused by: java.lang.NullPointerException
        at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:446) ~[spigot.jar:git-Spigot-596221b-9a1fc1e]
        at net.minecraft.server.v1_12_R1.PacketPlayInTeleportAccept.a(SourceFile:31) ~[spigot.jar:git-Spigot-596221b-9a1fc1e]
        at net.minecraft.server.v1_12_R1.PacketPlayInTeleportAccept.a(SourceFile:8) ~[spigot.jar:git-Spigot-596221b-9a1fc1e]
        at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) ~[spigot.jar:git-Spigot-596221b-9a1fc1e]
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_251]
        at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_251]
        at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) ~[spigot.jar:git-Spigot-596221b-9a1fc1e]
        ... 5 more```
#

Once any player join in the server, it's write "Loading terrain" for 5 seconds and spawn with this error in console, why is it? (:

mystic sparrow
#

you have a nullpointer

hot anvil
#

you have a nullpointer
@mystic sparrow What is it means?

mystic sparrow
#

something returns null

hot anvil
#

Some plugin?

mystic sparrow
#

I guess sp

hot anvil
#

I'll try to run the server without plugins for asec

#

How can i know which plugin cause this error?

#

I didn't find in this error code any plugin associated

wraith thicket
#

It'll be something that messes with teleportation

hot anvil
#

It'll be something that messes with teleportation
@wraith thicket yeah i notice but i tried to disable essentials or factions or any plugin which deal with teleportation and didn't find anything.

fleet owl
#

Hello i need help

#

i Want everyone to be forced to join my server with resource pack

valid star
#

ok

frigid ember
#

there are several plugins for that (lazy answer)

soft locust
#

How do you get the facing of a sign ?

#

I found several answers but they are deprecated

cobalt wigeon
#

Hello, I have a question, is there a way to modify the PVP of 1.12.2 to be similar to 1.8? I think that a fork would be possible, but I don't really know.

steady cedar
#

It's possible and has been done before.

frigid ember
#

Is the spigot website dead?

#

almost
its coming and going for me

#

Lol

pearl maple
frigid ember
#

Yes

#

Getting that error too

dusty copper
#

also to me

silver pewter
#

Hello, Intelji won't encode this symbol ยง any help thanks

tiny dagger
#

save it in utf-8 format

pastel arrow
#

ChatColor.translateAlternateColorCodes('&', "String");

silver pewter
#

I have

#

I'm editing a plugin from my mates server

tiny dagger
#

perma?

gleaming helm
#
  1. Properly set file encoding, or 2. Use \uXXXX instead
silver pewter
#

Okay thanks

tiny dagger
#

btw is there a way to translate the chars into \uxxx? ๐Ÿ‘€

silver pewter
gleaming helm
#

Just use the Unicode id for the character

silver pewter
#

There's around 300 of them and I don't have time

#

It's fixed I needed to rebuild it lol

frigid ember
limber summit
#

Is there a way to get all the format in an AsyncPlayerChatEvent

#

I want to get everything

#

not only "tes"

frigid ember
#

its back

chrome lark
#

Yes, you basically String.format the format and the stuff it needs together

frigid ember
#

Hi, Any idea how to use api 1.13 materials names also working in 1.8-1.12?

limber summit
#

it returns that

#

@chrome lark

chrome lark
#

Don't ping

limber summit
#

which is not what I want

chrome lark
#

as I said

#

Literally use String.format

gleaming helm
#

Increase the priority

chrome lark
#

The javadocs for String.format tell you what's passed in there

gleaming helm
#

Of the chat event

limber summit
#

it's to monitor

gleaming helm
#

Then thereโ€™s a retarded plugin setting it

#

And not much you can do

chrome lark
#

Yea, good chat plugins often tend to suffer around events

#

bukkit, woo

sturdy oar
#

greater or smaller than 64bit i guess?

undone narwhal
#

Hey guys, how can we execute ssh commands from a JavaPlugin ?

hoary parcel
#

That sounds really dum and dangerous

#

But you can use the process builder

sturdy oar
#

yeah why would you do that lol

#

the only time I've seen someone doing that was antibots plugin executing firewall bans

undone narwhal
#

This is to test a personal stuff (seems really dangerous) ^^

slender kernel
#

How long does it take for unban support to get back to you?

gleaming helm
#

That sounds like a really fucking bad idea

#

That sounds like a worse idea than litebans sqlexec

frigid ember
#

Guys how does buying plugins work?

gleaming helm
#

Please donโ€™t put that on a production server or in a plugin you release

frigid ember
#

I want to buy LeaderHeads but I dont know how this works

#

If I buy it I can download it any time I want by accesing its spigot page with my account right?

undone narwhal
#

For sure Kevin, this is a localhost server for personal test intend

#

@frigid ember if you buy a plugin on spigot, you'll be able to download it whenever you want, and you'll get all the updates

frigid ember
#

Yes

#

Thanks

gleaming helm
#

In that case, there are plenty of libraries that will happily connect you to an ssh server

#

Or if youโ€™re only worried about running commands locally, use Javaโ€™s process builder

undone narwhal
#

Okay perfect, thanks !

hollow urchin
#

why there is double d at the end of this inventory action HOTBAR_MOVE_AND_READD
a really serious question

chrome lark
#

it's re-adding it, so...

fossil shoal
#

please ping me if you answer ๐Ÿ˜„

sturdy oar
#

the documentation says the key gets removed

fossil shoal
#

yeah, I read that, just wanted to make sure. thanks.

acoustic temple
#

Is there a way to make the names of players in spectator mode appear as normal/non-italic in the player list?

sturdy oar
#

It says POM is missing for a maven module

fossil shoal
#

Not really with that little info.
Does the pom exist? Is it valid?

sturdy oar
#

i can even provide the opensource repository on GitHub, if you want to look

fossil shoal
#

Can you show the full warning

sturdy oar
#

I think it searches for the module... on spigot repository?
Although I've clearly specified the parent in the pom.xml

fossil shoal
#

Seems like it's the pom of one of your dependencies, CheatEscapeCore isn't your plugin, is it?

sturdy oar
#

well this is a multi-module project

#

the Core module should be added as dependency for Spigot module

#

It even lets me use Core classes and files inside Spigot module

frigid ember
#

SSH

sturdy oar
#

This does compile however if I run "clean package" into the main project directory

frigid ember
#

WHERES SSH GANG

sturdy oar
#

dude wtf are you on about

gleaming helm
#

what the fuck

frigid ember
#

what

#

i just said ssh gang

#

where yall at

#

not the ssh yk

sturdy oar
#

can you stop

frigid ember
#

another ssh

#

?

sturdy oar
frigid ember
#

stop what?

#

ok