#help-archived

1 messages · Page 130 of 1

pastel fox
#

They're all quite different

@ScriptFunction
public void onRegionEnter(Context cont, int x1, int y1, int z1, int x2, int y2, int z2, FunctionExpression expr) {
}

Or for this one I need to access expr whenever a player in a particular world (not just any world) enters that region

#

A very slow/ugly solution would be to store a set of all handlers for each event type and loop over it whenever PlayerMoveEvent occurs but this would be slow

frigid ember
#

If there aren't that many listeners it won't be slow

#

not like anyone is going to make 10+ event listeners right?

flat dust
#

Hello, I have a Minecraft Network with RPG, HCF, Factions, Survival, Practice and Minigames. I'm using ViaVersion and ViaBackwards (they're put in the Travetine[BungeeCord]) but I want to litmit the version of the RPG to be 1.9+ and of the Survival to be only 1.15.2

Can someone tell me a plugin that can do that (I've seen that in other networks but I'm not sure how they made it) or how to do it in ViaVersion.

~ Thanks in advance! DM or TAG me if you can help. :)

#

@mint sky

mint sky
#

oh thats you

#

the cache didn't update the new name

#

the server that you want 1.9+ just make it so, don't allow the older versions to join.

#

same with the 1.15.2

#

they'll just be unable to connect

flat dust
#

mind joining in a call

mint sky
#

I can't rn

#

¯_(ツ)_/¯

flat dust
#

ok np

mint sky
#

do you want to know how to do it with vaiversion etc

flat dust
#

send me a fr so I can tell you the details

mint sky
#

honestly if I can't help you then someone else may be able to here - is there a way for you to send them here?

flat dust
#

ok

#

so

#

This is a Minecraft Network, but we want to have different versions for every server but ViaVersion and ViaBackwards are in BungeeCord modules(folder) because we dont want to put them in every server plugin folder as it makes the server a little bit lighter to run because we're running kinda low on ram(We have and FiveM server so...). And the problem is that we cant modify the ViaVersion because it will modify it for every server in the network

mint sky
#

I've read up on the VV and VB docs and if you want per-backend versions you'll need per-backend VV/VB that's about all you can do

flat dust
#

This means to put VV and VB in every server?

mint sky
#

whichever you need, yeah

olive pendant
#

I'm getting an issue where nobody can connect to my server. Everyone is getting "Failed to verify username".

mint sky
#

can you send a screenshot of the console errors it throws?

olive pendant
#

I've just done a reboot, I'm waiting for it to happen again. When it does, I'll send

#

Oh, here, looks like I sent it somewhere else before

#

java.lang.IllegalStateException: AsyncPlayerPreLoginEvent cannot be triggered asynchronously from primary server thread.

mint sky
#

funky plugin

olive pendant
#

I'm also getting this, but I don't know where to get help for it

mint sky
#

seems to want to synchronously run an async event (?)

olive pendant
#
[10:18:02] [Server thread/WARN]: [Essentials] Task #18 for Essentials v2.17.2.0 generated an exception
java.lang.NullPointerException: null
        at com.earth2me.essentials.xmpp.XMPPManager.updatePresence(XMPPManager.java:146) ~[?:?]
        at com.earth2me.essentials.xmpp.EssentialsXMPP.updatePresence(EssentialsXMPP.java:113) ~[?:?]
        at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:81) ~[server.jar:git-Spigot-a99063f-fad2494]
        at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:400) [server.jar:git-Spigot-a99063f-fad2494]
        at net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1036) [server.jar:git-Spigot-a99063f-fad2494]
        at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:406) [server.jar:git-Spigot-a99063f-fad2494]
        at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:984) [server.jar:git-Spigot-a99063f-fad2494]
        at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:824) [server.jar:git-Spigot-a99063f-fad2494]
        at java.lang.Thread.run(Thread.java:834) [?:?]
#

I mean... It looks like after a server reboot it's working

#

Soemone's playing rn

#

But there's still this issue here

mint sky
#

do you use XMPP

olive pendant
#

Not that I'm aware.

#

I haven't removed any Essentials plugins thus far though.

mint sky
#

just delete all the essx plugins you don't use

#

Geo, xmpp usually go first

#

idk if you use spawn/chat but those are useful

floral isle
#

Hi guys there's a method for colorize the players nametag

olive pendant
#

We use spawn and chat, yh

mint sky
#

antibuild can go too

#

unless you like preventing literally everything without the proper perms

olive pendant
#

I've already dealt with that via LuckPerms, so...

mint sky
#

LuckPerms is the 👑

olive pendant
#

The editor's cool

mint sky
#

but you can remove the entire plugin and the problems go away with/without perms

olive pendant
#

I like that I don't have to do anything to set prefixes except add a permission lol

mint sky
#

yeah it's epic

olive pendant
#

Alright, no more errors

#

Sick

#

Thanks for the help, mate! 🙂

mint sky
#

np!

olive pendant
#

Okay, nope

#

I was wrong

#

I think it's a plugin thing but I have no idea which plugin

#

Is there somewhere I can upload my logs to? This is really long

hidden quest
#

Hello

woeful shore
#

No

hidden quest
#

@woeful shore hey you. Get out of my life ._.

woeful shore
#

(Can my nickname be changed btw, to show my new spigot name instead of the old one, thanks)

hidden quest
#

https://imgur.com/RNcgoXl also I get this everytime since then. I know this is somewhat firewall rule violation, but i swear I do not touch anything on the site

marsh hawk
#

Anyone know some good libs to make sql easier lmao

frigid ember
bold anchor
zealous yoke
#

Does anyone know the packet in protocollib to send another gamemode

#

I found it on wiki.vg but i have no idea how its called in protocollib

remote socket
#

how do I accurately get the target block?

bold anchor
#

From? @remote socket

remote socket
#

A player

bold anchor
#

Are you using an event?

remote socket
#

I want to get the block the player is looking at, but it's often 1 block incorrect using #getTarget()

#

Are you using an event?
No, commands

bold anchor
#

Are you using getTargetBlock?

remote socket
#

Yep

#

Block target = player.getTargetBlock((Set<Material>) null, 100);

bold anchor
#

Have you tried getTargetBlockExact then?

remote socket
#

Doesn't exist in 1.8

#

What's the difference between #getX() and #getBlockX()

sturdy oar
#

...

#

the return

bold anchor
#

One could be 1,5324232312 and one could be 1

sturdy oar
#

int vs double

#

also if i'm correct blocks position never gets rounded

#

so 1.9999 would still be 1

bold anchor
#

It floors

sturdy oar
#

really?

bold anchor
#

Yes

remote socket
#

player#getLocation()#getBlock()

#

Is also incorrect!?

sturdy oar
#

?

#

getBlock .. returns a Block

remote socket
#

Yes

#

and

#

It's not the right block

#

I will just type it manually

sturdy oar
#

Do you guys suggest to work with distances squared, or not?

#

trying to compare relative distance between two points in space

fossil shoal
#

yes

sturdy oar
#

I mean i would have to test performance though

#

calling Math.sqrt should not be an expensive task

#

since it uses native calls

fossil shoal
#

It is less expensive to square (val * val) the other value which you are comparing to

sturdy oar
#

well my implementation is this as now

fossil shoal
#

is this a spigot plugin that you're making?

sturdy oar
#

indeed

fossil shoal
#

why don't you use the Location class?

sturdy oar
#

well i could

sturdy oar
#

I could also use Vector

fossil shoal
#

use Location and #distanceSquared

sturdy oar
#

I'd have to instantiate a new location for every packet though

#

that's pretty uhhh

#

oh nvm

fossil shoal
#

What is Position? is it nms?

sturdy oar
#

oh it was just an interface basically replicating Vector

#

i guess i'll stick to Bukkit API

fossil shoal
#

yeah, that's always better

#

use Location and #distanceSquared
then when you want to compare also square the other value (no need for the Math.pow, just use val * val)

zealous yoke
#

@bold anchor thank you, that is what I was looking for

fossil shoal
#

hi patri9ck

harsh anvil
#

👀

kind crow
#

Hi, is it possible to move players to a temporary server while restarting the main server and moving them back after the main server funished restarting? I now there is movemenow plugin, but it doesn't move players back as far as I know

frigid ember
#

Should be possible, but I don't know a plugin that does that

frigid ember
#

hey

#

hm that would be a good plugin idea lol

#

but I am lazy

#

lol

kind crow
#

It's so common so I think someone already did it, but I couldn't find any plugins like that

subtle blade
#

Surely someone has

harsh anvil
#

finding them is probably the hardest part lul

cerulean musk
sturdy oar
#

wtf why would you use Paper 1.11

harsh anvil
#

either update to the latest mc version or get the right worldguard version

cerulean musk
#

Oh

harsh anvil
#

¯_(ツ)_/¯

cerulean musk
#

@sturdy oar

#

Why not?

sturdy oar
#

...

#

because it's outdated lol

#

is not even a major release

subtle blade
#

1.11? Yeah it is o.O

sturdy oar
#

yeah but it's in between

#

at least use 1.12.2

#

if you want to stay outdated

cerulean musk
#

İ use 1.12.2 spigot

sturdy oar
#

in the screenshot it seems like 1.11 paper

cerulean musk
#

But player has a sprinthit on every hit

subtle blade
#

Ah that stacktrace says otherwise lol

harsh anvil
#

shows screenshot of 1.11 paper

#

🤔

sturdy oar
#

with horrible terminal font

lament wolf
#

Hi, I have a rather tough question... How to say.. I would like to disconnect a player from my minecraft server (Spigot side), but not kicking him out. This way the player will not be connected to the server anymore, but the proxy will prevent his disconnection.

Would you know how to do that?

cerulean musk
#

@sturdy oar can i use 1.9 version ?

subtle blade
#

As in moving them to a different server? ;p

sturdy oar
#

you can use whatever

#

but many here don't give support for old versions lol

lament wolf
#

No no

#

@subtle blade It would only be connected to the proxy

cerulean musk
#

Plugins dont support ? Fendi ?

steady cedar
#

@cerulean musk A majority of plugins refuse to support any version of their plugin that targets a server version under 1.15

lament wolf
#

The player no longer takes a load on the Minecraft server (Spigot). It just keeps loading on the proxy

#

I know this is possible,

steady cedar
#

Is there any reason you don't wish to use 1.15.2?

sturdy oar
#

pvp!!!!11!

steady cedar
#

No, he's using 1.11 already

#

Also pvp can be replicated relatively well on the newer versions, you only really lose blockhitting

cerulean musk
#

İdriz i Want to 1.9 pvp mechanics 1.15.2 = 1.11 pvp mechanics ?

sturdy oar
#

1.9 pvp mechanics...

#

are 1.15.2 mechanics

#

there has been no combact update since 1.9 lol

#

only thing were shields, but you can easily block them if you don't like them

steady cedar
#

@cerulean musk 1.15 and 1.9 pvp mechanics are the same.

cerulean musk
#

But for example when i join cubecraft on 1.14.4+ i hit some a far

steady cedar
#

Maybe they have custom reach?

west pulsar
#

Can anyone help us

#

We have a problem

#

When we starting server

#

we tp on loc and server get shutdown

sturdy oar
#

provide full stacktrace

west pulsar
#

can i open it?

sturdy oar
#

that's not full stacktrace 🤷‍♂️

#

anyway it's most likely a plugin?

west pulsar
#

sec

heady prairie
#

Has any had the issue of when they set up nuvotifier+votingplugin that it logs the votes on the websites but not logging it to the player ingame for rewards? im not sure how to fix this.

#

both are the recently updated versions

bold anchor
#

Which website is it logged on?

#

Did you allow the website to contact your votifier server, did you configuee where to send the votes. Etc

heady prairie
bold anchor
#

I very much dislike screenshots can u copy it and paste it into paste.gg?

bold anchor
#

I’d suggest updating to 1.15 that might fix the issue

west pulsar
#

this server was worked above year

gleaming helm
#

Yeah I’m not sure why 1.12 would be used anymore

west pulsar
#

and not have a problems

#

my friend input this

#

execute @e[type=item] ~ ~ ~ /summon item 1336 64 -930 {Item:{id:"minecraft:beetroot_seeds",Count:1,tag:{diamond:1b,display:{Name:"Gravitator"}}}}

sturdy oar
#

Yeah I’m not sure why 1.12 would be used anymore
@gleaming helm 🤷‍♂️ you see when this discussion arises like 3 times a day its kinda boring

west pulsar
#

and server get crashed

bold anchor
#

Why would he do that?

west pulsar
#

commands block were disabled but

#

iam youtuber

#

and we recording

#

sry for my english

#

hes testing this command

bold anchor
#

What was supposed to happen?

west pulsar
#

and get crash

#

allot of drop on the ground

#

we delete them all

sturdy oar
#

why the execute?

#

if you have to summon 1 item

#

im not getting the purpose of that command tbh

west pulsar
#

server is working, but we tp in our town

#

it crashed

rustic glade
bold anchor
#

@west pulsar Any reason you are unable to update?

tiny dagger
sturdy oar
#

by pasting it it's already improving it

west pulsar
#

WE recording videos on this server above 1 year

#

and built so many structures

#

and command mechanisms

bold anchor
#

Do you not have any backups from before you ran the command?

west pulsar
#

iam having map backup

#

I have a release schedule for videos, I can’t record 4 hours. Therefore, I went to ask if there is any solution to this problem.

#

several chunks crash the entire server, is it possible to restart them?

frigid ember
#

would anyone know a plugin for reporting players in my server and when theey get reported it will send a message in my discord server

bronze marten
#

Whats up with the eye pfp’s

steady cedar
#

imagine not having a panda as a profile picture

torn robin
#

👀

bronze marten
#

Indeed

#

Smh

steady cedar
#

can't catch me not having a panda profile picture that's for sure

gleaming helm
#

Put that fuckin Mickey Mouse shit @steady cedar

steady cedar
#

LOL

#

ah

#

I lost it 😐

#

i gotta find it tho

torn robin
#

@frigid ember DiscordSRV or any discord plugin

#

Do a bit of googling

sturdy oar
#

duckduckgoing

frigid ember
#

@torn robin well i have done alot and i havd discordSRV but i dont think i has report system

lament wolf
#

Can someone explain to me what DownstreamBridge and UpstreamBridge is?

subtle blade
#

In what context?

lament wolf
#

Bungeecord

austere hare
#

Hey everyone! Does anyone know of a good plugin to play with friends?

sturdy oar
#

to play... what?

#

there are like 1000 different minigames

vapid kindle
#

Anyone knows why, when entering a boat, the VehicleEnterEvent is fired twice and the VehicleExitEvent once?

subtle blade
#

Possible that's a bug

vapid kindle
#

well, that for sure 😛

subtle blade
#

I see no recent tickets on the matter, so I encourage you to create one if you can reliably confirm it

#

Latest version, include a test plugin. You know the drill

#

?jira

worldly heathBOT
vapid kindle
#

so I guess it's not a known flaw, gonna take a look at the Spigot code first then, thanks

subtle blade
#

I don't remember. Is that a Spigot-exclusive event? Or Bukkit?

#

Bukkit it seems. I'm thinking of entity mount and dismount events which are Spigot-exclusive

wet matrix
vapid kindle
#

yeah, it's a Bukkit event

#

it does

wet matrix
#

whack

vapid kindle
#

it also didn't seem to affect other vehicles, tested Minecart and Donkey

lament wolf
#

you know if net.md_5.bungee.netty is outdated or something like that ?

#

I can find it on last version

fair abyss
#

what you trying to do?

#

@lament wolf

lament wolf
#

I tried to do import net.md_5.bungee.netty.PipelineUtils

#

With

<dependency>
        <groupId>net.md-5</groupId>
        <artifactId>bungeecord-api</artifactId>
        <version>1.15-SNAPSHOT</version>
</dependency>```
fair abyss
#

then, couldn't import?

lament wolf
#

No the package doesn't exist

sturdy oar
#

diiidd you declare the repository

lament wolf
#

Yes yes

fair abyss
#

was bungecord has maven?

#

sure that?

lament wolf
#

Yes

frigid ember
#

did u click that tiny load icon

#

in intellij

#

that floating maven icon

lament wolf
#

I can easily import net.md_5.bungee.api.connection.ProxiedPlayer;

#

For example

frigid ember
#

oh

#

oh just netty

#

hm

#

just try io.netty.

#

doesn't that work?

lament wolf
#

Work perfectly

#

But that's not what I want

fair abyss
#

?

lament wolf
#

Well import io.netty.*works

#

But that's not what I want

#

I want PipelineUtils class

subtle blade
#

afaik that's not part of API

#

It's not part of that module

vapid kindle
#

So investigating further it seems like the player tries to enter the boat twice, with the second attempt the server dismounting you from the boat...

subtle blade
#

That's the proxy module

#

Which as far as I'm aware, is not depended upon by the api module

#

It's like when depending on the Bukkit API, you won't see CraftBukkit or any server internals

neat pulsar
#

hello!

#

I'm looking for a lucky block plugin, witch doesn't throw any errors in the console.

fair abyss
#

just search it

frigid ember
#

witch

gleaming helm
#

yeah pipelineutils isn't part of the api

#

you'll have to do the bungeecord equivalent of NMS

#

As in, include the entire bungeecord jar as a dependency

tiny dagger
#

shade it in 👀

frigid ember
#

👍

gleaming helm
#

No no don't shade it

#

Please don't shade it

#

If you shade it, you're a despicable human being and should burn in hell

vale whale
#

Hello. I have just started a minecraft bungeecord network, but does someone know a permissions plugin, prefix and suffix plugin etc. for the chat and the permissions?

bold anchor
#

Luckperms is a great permissions plugin

vale whale
#

Yes, but you need a MySQL databse for that, but what is that?

bold anchor
#

You dont need a sql database unless u want it proper crossserver?

vale whale
#

owh okay, ill just watch some tutorials on youtube there are plenty of them

#

omg it works

#

I feel like i'm god

woeful shore
gleaming helm
#

LOL this fucking meme

woeful shore
#

Oh sorry, a bit of blocking of text going on

lament wolf
#

Which as far as I'm aware, is not depended upon by the api module
@subtle blade So how am I suppose to do to be able to use the proxy module ?

gleaming helm
#

As in, include the entire bungeecord jar as a dependency
@gleaming helm

rapid yacht
gleaming helm
#

@lament wolf

rapid yacht
#

anyone know the updated imports?

#

yo kevin its you

#

whats up

gleaming helm
#

Yea

#

Ok so

#

Don't show me the imports, show me where they're actually used

#

Because the imports don't actually matter

rapid yacht
gleaming helm
#

All of those APIs have changed

rapid yacht
#

that too

small swift
#

Anyone know any reasons why tab complete might not be working? Like, commands are still red. Players have the correct permissions but I can't think of any plugins that might be causing issues

gleaming helm
#

Ok so what you need to do

#

This is really simple

#

Delete those two imports

rapid yacht
#

alright

gleaming helm
#

And then let intellij suggest the new imports

#

I don't think the methods have changed

lament wolf
#

Oh I didn't see that Kevin participated in the conversation, sorry

rapid yacht
#

It says rename reference

gleaming helm
#

mm no

#

no

#

Hang on let me try something

rapid yacht
#

Alright

gleaming helm
#

Block#getBlockData is still a thing

#

@rapid yacht

#

Import for door is org.bukkit.block.data.type.Door

rapid yacht
#

It's red

gleaming helm
#

And wallsign is org.bukkit.block.data.type.WallSign

rapid yacht
#

also red

gleaming helm
#

uhhh no those should be working for you

lament wolf
#

As in, include the entire bungeecord jar as a dependency
@gleaming helm So how can I do this on Maven 🤔

gleaming helm
#

Sounds like a dependency problem

rapid yacht
#

Cannot resolve symbol "data"

#

is what it says

#

when I gover

#

hover*

gleaming helm
#

@lament wolf Add bungee to your maven repo with mvn install:install-file

#

Works on my machine @rapid yacht , not sure what to tell you

rapid yacht
#

That's weird

lament wolf
#

What is the parameter of this cmd @gleaming helm ?

#

I have to download Bungeecord ?

#

then do mvn install:install-file Bungeecord.jar ?

rapid yacht
#

for wallsign, it wants me to create a perimeter, "WallSign"

gleaming helm
#

@rapid yacht It's happening because the wallsign class is not in your build path properly

#

I don't know what's causing this.

rapid yacht
#

I don't either

#

¯_(ツ)_/¯

small swift
#

Anyone know any reasons why tab complete might not be working? Like, commands are still red. Players have the correct permissions but I can't think of any plugins that might be causing issues

subtle blade
#

Do you have it disabled in the spigot.yml?

lament wolf
#

@gleaming helm what is that -Dpackaging=<packaging> ? I tried with the command mvn install:install-file -Dfile=<path-to-file> -DpomFile=<path-to-pomfile>, but no effect, there is 'reload' maven command or something like that perhaps ?

vapid kindle
gleaming helm
#

use packaging jar @lament wolf

small swift
#

It's enabled and set to 1 was 2

lament wolf
#

@gleaming helm ???

trim gull
#

how do i get access to the teleport player command/what is it?

gleaming helm
#

set the packaging field

#

to jar

zinc ingot
#

equipo how are you adding your commands

#

@small swift

small swift
#

I didn't add any commands

#

I'm trying to do tab complete

zinc ingot
#

well how are you trying to do tab completes

subtle blade
#

So I'd chalk that up to a vanilla bug, Syd

vapid kindle
#

it's definitely weird behavior, but since it's weirdness is only apparent within the CraftBukkit implementation I'd say it's worth fixing. Especially since it's a rather simple fix

#

all you'd have to do is not eject someone from their current vehicle when they try to start riding the vehicle they're already on

subtle blade
#

Instead, I'd pass the hand to the enter event

#

Or rather, yeah, perhaps yours might be a better fix

vapid kindle
#

don't think the hand would work, since it's boat+player specific behavior while entering vehicles can be done with virtually any entity

#

but trying to enter the vehicle you're in is probably nothing you'll ever try to do in a legit way

subtle blade
#

I think the issue here is that it's client sided. It's still going to send two entry packets

#

and you're going to receive an exit packet and entry packet from the client. Regardless of whether it's ignored, they're still sent

#

Yes you can stop the events from being called but I'm not sure it's all that worth it as you're then introducing inconsistencies with how the event is being called

#

This seems like something Mojang would have to fix by not sending that exit/entry packet from the client

small swift
#

In spigot.yml where it has tab complete

  tab-complete: 2
  send-namespaced: true
vapid kindle
#

what my patch is currently doing is just preventing the second entry. On my testserver I didn't notice any side effects, so it doesn't seem like anything happens to the client that it's not expecting

subtle blade
#

What I advise doing is do some testing on the server. Confirm which packets are being sent when right clicking the boat and why. If it is the case that 3 packets are sent (entry, exit and entry in that order), then file a bug on the MoJIRA

#

because there's no reason for the off hand to be sending an exit and entry packet if the player has successfully entered the vehicle

vapid kindle
#

it's sending PacketPlayInUseEntity

subtle blade
#

Well whatever is sent that shouldn't be lol

vapid kindle
#

tbh. I'd want it to be fixed sooner than later, so creating a PR sounds like a faster solution than praying Mojang fixes it eventually™ ;D

#

especially since it's not really having adverse effects on vanilla MC

#

(and since I don't want to verify it's still an issue on 1.16 pre-releases)

pastel fox
#

What's the difference between PlayerInteractEntityEvent and PlayerInteractAtEntityEvent?

subtle blade
#

At has the position at which the player interacted as a vector

#

If you don't need the exact position the player clicked on an entity, use the parent one

pastel fox
#

Ah and they both fire when they click it I guess?

#

Ah ty

subtle blade
#

afaik At is called but listeners for both are called, yes

#

Don't think At has its own handler list

pastel fox
#

Ah cool

#

Ty

subtle blade
#

oh it does. Gah I don't know how event propagation works lol

#

both are called damn it! ;P

harsh anvil
#

Hey Choco 👋

subtle blade
#

👋

wheat summit
#

Hey, sorry for asking such a big and complicated topic though does anyone know where I can get started with AIs? I want to attempt making custom bosses

rotund orbit
#

How could I use a config.yml file to let people input an integer/string for a field in one of my classes?

twilit orchid
#

my server isnt letting me on

#

it just says cannot connect to server.

harsh anvil
#

@rotund orbit you can add a config.yml file to your resources folder and add it in there, then on startup do saveDefaultConfig();

#

@twilit orchid you'll have to be a bit more specific than that

twilit orchid
#

i figured it out, it was viaversion

#

idk why tho

harsh anvil
#

¯_(ツ)_/¯

sturdy oar
#

ewww dark theme

harsh anvil
#

@wheat summit take a look at PathfinderGoals

wheat summit
#

Ok thanks!

#

Is it in Bukkit?

sturdy oar
#

yes

#

it's a method from Plugin

#

hence, must be called from your class extending JavaPlugin

wheat summit
#

Ok thanks a lot!

vapid kindle
#

for AI you need to go into NMS territory

sturdy oar
#

that method is just a simplified way to save config.yml embedded file designed for bukkit plugins

#

if you desire to save embedded resources yourself you could do stuff like this

wheat summit
#

@vapid kindle What do you mean by NMS?

sturdy oar
#

Net Minecraft Server

#

something you don't want to touch

wheat summit
#

Ok, what's bad about it?

lament wolf
#

Introspection

#

I guess

wheat summit
#

Introspection?

bold anchor
#

It's a hell to make it proper crossversion

wheat summit
#

Oh so difficult?

#

Oh ok

bold anchor
#

Also methodnames might change each version

wheat summit
#

So if I want it to be cross version compatible I shouldn't use it?

#

The server ^

bold anchor
#

Use the BukkitAPI

#

or Spigot or Paper

wheat summit
#

Oh, I thought I was

#

Yeah I'm using Spigot

bold anchor
#

That's great then,

wheat summit
#

Right now all I have though is this:

public class PigTest implements Pig {

}
#

Implementing methods adds a lot of stuff I'm not sure about

#

Also there isn't a constructor included

sturdy oar
#

...yes?

#

i don't really know what are you trying to achieve

wheat summit
#

Well trying to make a custom entity

#

With a separate AI

#

For example like bosses

lament wolf
#

Would somebody please explain to me what a pipeline is?

sturdy oar
#

a set of data processing elements connected in series, where the output of one element is the input of the next one

lament wolf
#

I've seen that definition, too, but I don't understand it Fendi

vapid kindle
#

@wheat summit NMS means you're leaving the realms of the Bukkit API and instead tinker with the actual implementation of the server. This will typically require some reflection and/or result in a plugin that only works with a single version of Minecraft or even Spigot/CraftBukkit

wheat summit
#

Oh ok thanks

#

Is there any other way to make a custom entity with an AI besides NMS then?

sturdy oar
#

yes

vapid kindle
#

so basically, it's rather advanced stuff that requires some expertise

sturdy oar
#

Paper has a pathfinding API

wheat summit
#

Oh ok thanks

#

I use Spigot, would it still work?

#

Also where could I find it/the dependency?

sturdy oar
#

I don't know, probably not since it's on paper?

lament wolf
#

Flamong Normally you have access to the NMS from spigot (unless you use maven)

wheat summit
#

Ok thanks

#

I am using Maven

lament wolf
#

Well

vapid kindle
#

well, if you use a Paper API you can only use that plugin on Paper. Alternatively there might be other APIs as a plugin for that stuff you can use

wheat summit
#

Ok thanks

subtle blade
#

Using BuildTools, the server is installed to your local maven repo

#

Maven works fine

vapid kindle
#
    <dependency>
      <groupId>org.spigotmc</groupId>
      <artifactId>spigot</artifactId>
      <version>1.15.2-R0.1-SNAPSHOT</version>
    </dependency>```
Adds spigot as dependency to your plugin, you have to have built it yourself first though
wheat summit
#

It already is a dependency

#

For some reason though I get classes like Zombie instead of stuff like EntityZombie

#

That may be NMS though ^

subtle blade
#

It is

wheat summit
#

Ok

#

How would I add NMS as a dependency? I'm not finding anything online

#

I see BuildTools though wondering if there's a Maven Dependency

vapid kindle
#

like above, note the artifactId is spigot, not spigot-api

wheat summit
#

Or reppository

#

Ohhh

#

Ok I think I see now

#

Could not find artifact org.spigotmc:spigot:pom:1.8-R0.1-SNAPSHOT

bronze marten
#

Hey, does anybody know why the color of a teamprefix doesnt also apply on the playername?
org.bukkit.scoreboard.Team#setPrefix() still leaves the player name in tab white

I know Team#setColor exists, but that doesnt allow double colorcodes like bold + red

wheat summit
#

tried changing the spigot-api to just spigot in the dependency fiekd

#

Didn't work though ^

lament wolf
#

I think there's a misunderstanding about Build Tools @wheat summit

#

This isn't a dependency

#

You have to install it

vapid kindle
#

@bronze marten IIRC Teams created via the Bukkit API add a §r at the end of the prefix/start of the playername

wheat summit
#

Oh ok

bronze marten
#

ill see where that comes from & see if I can bypass with reflection

vapid kindle
#

I think this limitation doesn't apply to teams created/modified via vanilla commands, so it should be possible with reflection

bronze marten
#

maybe just overriding CraftTeam#getPrefix

acoustic temple
#

is there a way to make it so that you can climb up any block as if there was a ladder on it?

bronze marten
#

I see they do some spooky stuff when converting the chatcomponents

wheat summit
#

Ok I downloaded BuildTools now and ran it

sturdy oar
#

Choco did you choose your username

#

after Windows' Chocolatey packet manager?

#

lol

subtle blade
#

Absolutely

rotund orbit
#

So after I save the default config, how do I go about extracting other values from it @harsh anvil?

harsh anvil
#

Bukkit.getConfig().getString/double/list etc

#

then you pass the path

#

so if your config has

somekey:
  somevalue: true

you can get it with the path "somekey.somevalue"

#

@rotund orbit

rotund orbit
#

Interesting

#

I'll give it a shot, thank you

wind dock
#

hey guys I downlaoded vehiclesplus lite on spigot and protocol lib, but Im getting this error

#

:/

#

anyone?

bold anchor
#

Seems like you are using some incorrect versions of something

wind dock
#

uhh

#

@bold anchor Do you know what incorrect version i would be using?

subtle blade
#

VehiclesPlus plugin was written for 1.12

#

You're on 1.15

wind dock
#

oh

subtle blade
#

Based on the packages it looks like it has multi-version support but not 1.15

wind dock
#

So it just wont work on 1.15 :/

#

sad

#

wait- will the pro version work for 1.15, since the pro version has 1.15 under tested versions while the lite version does not?

rotund orbit
#

this is my config.yml, but nothing gets saved when I start the plugin up

wheat summit
#

So I downloaded BuildTools and ran it, I see a Spigot folder which inside has CraftBukkit which also has PathFinderGoals, how would I add it to a maven project?

still wing
#

@rotund orbit have you called saveDefaultConfig in your onEnable?

rotund orbit
#

I have

#

I was thinking I might go through a tutorial later haha

bold anchor
#

How are you building your jar? Did you save the config.yml?

frigid ember
#

@undone moat check dm now please.

wind dock
#

Um this boot(which is supposed to be the vehicle for vehiclespluslite) is still stuck in my server even though i removed the plugin...

spice loom
gleaming helm
#

Custom resource pack

dense ridge
#

^

wind dock
#

um does anyone have an answer to my problem

#

its really annoying

#

because you cant place/break anything around it

#

in a pretty big raidus

bold anchor
#

Can u kill @e[type=!Player,r=3], while standing next to it.

#

?

subtle blade
#

It's probably some armour stand

#

Stand next to it and make that radius 2 or something. 15 might do some damage lol

wind dock
#

Uhm

#

yeah its an armour stand

bold anchor
#

Did you kill it?

wind dock
#

one sec

#

shows this

bold anchor
#

minecraft:kill @e[type=!Player,r=3]

wind dock
#

:/

bold anchor
#

Ah, been a while since i used the command sec

wind dock
#

I just did /kill @e

bold anchor
#

Lol

wind dock
#

killed myself but it worked 😄

#

thanks

pastel fox
#

any idea how to get player heads that look like this?
That is very cool

wind dock
#

Mobs are gonna respawn right :/

#

Because it would be bad if all mobs are just gone from that X D

subtle blade
#

That would be what @e is

wind dock
#

wierd

subtle blade
#

and is the reason we suggested a radius lol

wind dock
#

because I tried doing /replace air

#

./set air

#

and that didnt work :/

#

so did setting the area to bedrock

bold anchor
#

WorldEdit doesn't kill entities iirc

wind dock
#

o

#

I also tried /lagg clear lmao

#

Which I thought would kill the entities

bold anchor
#

Apparently it is minecraft:kill @e[type=!player,distance=..4] in newest version

#

Unsure if it killed all your itemframes too.

wind dock
#

Oh

#

I dont have any : D

hidden quest
#

https://imgur.com/RNcgoXl I get this everytime since then. I know this is somewhat firewall rule violation, but i swear I do not touch anything on the site

#

Anyone identified what i did to get firewall violation?

bold anchor
#

Did you do something sketchy so cloudflare denied you?

subtle blade
#

Make sure you're connecting with https and not http

bold anchor
#

I saw lock so i thought he was using https

hidden quest
#

Yeah

subtle blade
#

Mobile android browser, I'm unfamiliar with it lol

hidden quest
#

Really..

bold anchor
#

So, did you do something sketchy?

hidden quest
#

No ofc i did not

#

Here're what i did not do

#
  • Using vpn
  • Using spigot on igconito
  • Changing login back and forth in 1 day
fleet crane
#

The issue is you're using a VPN most likely

hidden quest
#

I didn't even have vpn on any days yesterday and it's still working

fleet crane
#

We block several hosting providers due to DDoS attacks from their network

hidden quest
#

Ok one question

#

Is 4g count?

subtle blade
#

Ah, md's alive

#

Well that's a relief. I was ready to take over the project

#

I mean what?

fleet crane
#

The block isn't always active

bold anchor
#

I've had captcha runins using the public 4g of my cell provider, not directly been blocked though.

fleet crane
#

You shouldn't have an issue just using your own connection though if you're in China that may be an issue

hidden quest
#

I'm in Vietnam

fleet crane
#

You should be ok just not using a VPN then

hidden quest
#

I did not use it for the past days...

#

Uhm.. says here you can identify if you are the site owner

steady cedar
#

Well, are you?

hidden quest
#

site owner

steady cedar
#

Did I stutter?

#

Are you the site owner?

hidden quest
#

Ofc not, dude...

steady cedar
#

Yes you are

#

Don't lie lol

hidden quest
#

Bad time for joke btw

steady cedar
#

Do you think I'm laughing? I'm not laughing. You're the owner dude

hidden quest
#

I guess no one can help then?

steady cedar
#

No you're stranded dude

wicked ocean
#

What is spigot how do I buy minecraft server modded how use spigot

sturdy oar
#

?

gleaming helm
#

Do you think we're google?

sturdy oar
#

Spigot is not a modded server

#

Go to Spojge for thqt

steady cedar
#

Stroke?

sturdy oar
#

O tho k

#

My phone leyboafd

#

Is breakit

#

Fuckijg hell stupid phone keyboard

frigid ember
#

How can I change the item that the player is currently holding in their cursor? My current code does not change the item. I've tried two methods, both shown in the code.
https://hastebin.com/uxozireyef.java
The code is being activated, as determined by a Bukkit.broadcastMessage(); inside of that method

steady cedar
#

Did you ask for their consent first?

wheat summit
#

I'm using NMS and when I tried to make a custom entity and summon it, it is invisible, I'm not sure why though, I can also hear it, can anyone help please? Here's what I for so far https://hastebin.com/eqepihuyuy.java

sturdy oar
#

You haven't sent packets

wheat summit
#

Oh, what packets would I need to send?

sturdy oar
#

🤷‍♂️ I'm not an NMS expert

#

I prefer to not use them

wheat summit
#

Oh ok

#

Do you know if there's a better place to ask NMS related questions or should forums be my best chance?

steady cedar
#

You'll just have to be patient until somebody with more experience in that stuff can answer your question here.

hidden quest
#

@steady cedar I didn't do anything to you just yet and you're already harassing me like hell, wtf is wrong with you

steady cedar
#

I highly doubt you need to. Just google it and a few threads should pop up

hidden quest
#

@fleet crane anything yet?

native scroll
#

Hey guys, I was wondering if I can set the scoreboard score of an entity that's not a player, more specifically an armorstand? I'm on the 1.15.2 version of the API
Here's my debug code


            if (args.length == 1) {
                World currentWorld = Bukkit.getWorld("world");
                for (Entity nearby : getNearbyEntities(new Location(currentWorld, 0, -1, 0), 1)) {
                    if (nearby instanceof ArmorStand) {
                        ArmorStand armorStand = (ArmorStand) nearby;
                        if (armorStand != null) {
                            if (armorStand.getCustomName().equalsIgnoreCase("rand")) {
                                Random random = new Random();

                                Objective objective = Bukkit.getScoreboardManager().getMainScoreboard()
                                        .getObjective("rand");

                                objective.getScore("rand").setScore(random.nextInt(Integer.parseInt(args[0]) + 1));
                                return true;
                            }
                        }
                    }
                }
            }
        }```
subtle blade
#

Scoreboard scores are just strings, not players

#

It hasn't been player entries since like, 1.9

native scroll
#

So I not only can't set the in game score of an armorstand, but I can't even do that with a Player?

#

@subtle blade That right?

subtle blade
#

No, just use the UUID of an armour stand.

#

getScore(armorStand.getUniqueId().toString()), set that

native scroll
#

Oh, that makes sense

subtle blade
#

The scores aren't restricted to just players anymore

#

They can be any string you want. Any string can have a score

native scroll
#

Oh my god you're a life saver!

hardy cedar
#

How can i do a AutoReconnect for MySQL

#

?

hardy cedar
#

Is it possible on this clas

#

Class*

molten whale
rotund orbit
#

Is there any way I can override the /me command?

pastel condor
#

just remove it in commands.yml

rotund orbit
#

If I were to do that and then create a /me command, wouldn't people run into trouble if they downloaded my plugin?

subtle blade
#

Just register your /me command

#

Commands are registered under a plugin namespace, though yours should take precedence over that of vanilla's

rotund orbit
#

ahhhh

#

excellent

#

I'll give it a shot

twilit orchid
#

[Prism Daemon] ---------- Detected server process in a crashed state! ----------
[Prism Daemon] Exit Code: 137
[Prism Daemon] Out of Memory: true
[Prism Daemon] Error Response:
[Prism Daemon] Server process detected as entering a crashed state; rebooting once more.
[Prism Daemon] Server marked as STARTING
[Prism Daemon] Checking size of server data directory...
[Prism Daemon] Disk Usage: 1031M / 70000M
[Prism Daemon] Ensuring server file permissions.
[Prism Daemon] Running server preflight.
[Prism Daemon] Starting server container.
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-b08)
OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
:/home/container$ java -Xms128M -Xmx1024M -jar server.jar
[Prism Daemon] Firewall rules has been successfully added.

#

what does that mean

#

i barely have any plugins

vapid kindle
#

[Prism Daemon] Out of Memory: true

You might be out of memory?

twilit orchid
#

like i said i have like no plugins

#

wth

#

i have essentials, world edit and luck perms

vapid kindle
#

plugins aren't necessarily using up a lot of memory

twilit orchid
#

bruh i didnt change anything else wtf

vapid kindle
#

how much RAM does your server have? It seems like you only allocated 1GiB

#

How many players were online? What's your view-distance?

twilit orchid
#

yea

#

2 people were on

#

my view distance was like 8 chunks

vapid kindle
#

maybe allocate more memory?

twilit orchid
#

but i dont get why

#

it shouldnt be crashing

timid valley
#

1gb is not enough for 1.15 for a view distance of 8

#

is it in a container

twilit orchid
#

wait what

#

why isnt

timid valley
#

why isnt what

#

1gb enough? have you used 1.15 lol

twilit orchid
#

oh ffs

timid valley
#

you can blow 1gb a second

#

but what is prism ,is this ptero renamed?

twilit orchid
#

uhh no its a panel

#

its for titannodes

timid valley
#

im assuming its titan renaming ptero

#

titan doesnt give you jdk overhead on small plans, only larger plans who use my GC flags.

#

so if you pay for 1GB, youll need to use like 756M

twilit orchid
#

wait

#

dumb that down for me lol @timid valley

timid valley
#

if you pay for 1gb, you don't actually get to use 1gb

#

for Xmx

#

you have to reduce Xmx to a a decent amount under your max memory, we usually recommend 1-2GB reduction but since you only have 1GB.... uh.... can't really do that

#

total memory usage = Xmx + Native (Including JVM Overhead) + OS/Container usage + FS Cache. If your host gives you 4GB, you have to share that 4GB over all those things. So you can't give everything to Xmx

#

if you're struggling with configuring the memory, i suggest opening a ticket with host to have them help set memory for you in a way that works for your plan.
TitanNodes is decent, I work with them on admincraft about memory and flags there.

#

they will know what to do

twilit orchid
#

@timid valley too smart lmao

#

i get it tho, but im kinda broke haha

#

its hard to sustain a server

frigid ember
#

Is it possible to have your account removed from the website? I'm from the EU

subtle blade
#

oh no we've got another "GDPR" despite all information being publicly available

#

Report your own account to request deletion but it won't be instantaneous

#

In fact I think there are like 60 reports of just account deletions right now

#

lol

frigid ember
#

oh no we've got another "GDPR" despite all information being publicly available
I'd prefer my alias isn't displayed anywhere on the website as it's associated with my IRL identity.
Also, I thought canadians were supposed to be polite /s

#

Anyways, thanks for the help

red zenith
#

It's enough to make you want to change your name to just emoji and special characters. People would be too lazy to google you

subtle blade
#

You'd think it would have made sense not to do that in the first place, but y'know

#

😛 Here we are

velvet halo
#

Does anyone know how to copy a file from the resource folder and then create a new file from the copied file into the plugins folder?

subtle blade
#

JavaPlugin#saveResource()?

velvet halo
#

Let me have a look at the java docs

#
InputStream inputStream = plugin.getResource("artifacts.json");
if (inputStream == null) return; // I will do better checking here...
try (BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(inputStream))) {
    artifacts = gson.fromJson(bufferedReader, type);
} catch (IOException e) {
    e.printStackTrace();
}
``` This is the solution that worked for me.
subtle blade
#

wot

#

That snippet doesn't do what you initially asked for

#

That just pulls it from the jar

red zenith
#

That's loading the file contents into artifacts, not saving it to the plugins folder

frigid ember
subtle blade
#

No

frigid ember
#

Where could I

subtle blade
#

That plugin should actually be deleted lol

#

Talk to the author. Ask them to externalize their strings and make a language file

frigid ember
#

Yes thats what I asked if I could

#

Ok

red zenith
#

Is there any api/library typically recommended for that type of functionality?

frigid ember
#

Imma start translating Skywars Reloaded

subtle blade
#

Surely you can work with them as well and supply them with a default file they can distribute with the plugin

frigid ember
#

Is there any api/library typically recommended for that type of functionality?
@red zenith Languagy something like that

#

a plugin

subtle blade
#

From Spigot? Not really. I wrote one a bit ago and it's somewhat decent but never publicly released it

velvet halo
#

I know it doesn't do what I initially intended it to do.

#

"This is the solution that worked for me."

red zenith
#

In the context of what you asked, it didn't make sense, because we did not see anything indicating that you were saving the file to your plugin's folder.

velvet halo
#

I actually wanted to load it into memory straight away.

red zenith
#

If for some reason, you wanted users to be able to configure it then, I suppose you could save it to your plugin folder, and then read from that file, if it exists, otherwise read from the file in the jar

subtle blade
#

I'd still recommend saving it to your plugin's directory and reading it from there

#

If for some reason, you wanted users to be able to configure it then, I suppose you could save it to your plugin folder, and then read from that file, if it exists, otherwise read from the file in the jar
For this reason

#

Only if it didn't exist, save the default one again

#

This is the data driven ideology that you should definitely be using, especially if you're working with creating artifacts

#

I can only imagine server owners would want to make their own

velvet halo
#

Yeah the servers owner are going to create their own artifacts inside a user interface rather than edit it via a file. Will definitely save the default data to a file in the plugins folder.

subtle blade
#

Whether it's done in a UI or not, it still has to be written somewhere lol

#

Can't load from your plugin's resources every time and expect user changes to be included

red zenith
#

Unless they use 7zip to edit the json file 😛

#

which is equally impractical

velvet halo
#

I will run you through the process of how I intend todo it . Feel free to tell me what needs to change:
1. Default artifacts.json stored inside resources folder.
2. Copying the resources into a new file into the plugins folder (If the artifacts.json doesn't exist)
3. Reading from the resource folder and deserializing it into a hashset.
4. Players manipulate the hashset by adding/removing elements.
5. OnDisable serialize the data into artifacts.json

#

One issue I know with this system that if the server crashes the artifact data isn't saved.

#

Physical artifacts themselves are done through persistent data containers so that isn't something I need to worry about.

red zenith
#

is the user able to edit the file on disk while the server is running, and then issue a reload command? or is the only supported way to edit it via in game?

velvet halo
#

Only way is via editing it in game because OnDisable whatever has been done on disk will be overwritten via serializing the hashset to the artifacts.json file.

red zenith
#

Well, you can still have a command that would reload the contents of the json file; that wouldn't trigger onDisable, would it?

velvet halo
#

Yes I could do that.

#

That sounds like a good plan.

red zenith
#

Typically what I do with my configs, which are yml, if I edit a property in game through a command or action, then I set an 'isDirty' flag. I have a scheduled timer that checks that flag every tick or so, and saves it, instead of waiting until onDisable, or saving at the moment a change occurs.

fiery jasper
#

so i have a question, how would i make a plugin save data on the specified data base

red zenith
#

I think there's a tutorial or two on the forums/web site that shows you ways of doing that.

velvet halo
#

Do you have source code so I can take a look at an example? 😮

fiery jasper
#

ok am gonna check thanks frost

red zenith
#

One sec

#

I'll DM it to you

velvet halo
#

Rather than having a scheduler I could do it on a world save (only check for one world on the event)

hidden quest
#

Is someone going to help me with the access denied now or no...

tight saffron
#

Need some help... Just got into making plugins today and came here for a help to fix an error

#

[21:50:51 ERROR]: Could not load 'plugins\MYFIRSTPLUGIN.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: Unsupported API version 1.15.2
at org.bukkit.craftbukkit.v1_15_R1.util.CraftMagicNumbers.checkSupported(CraftMagicNumbers.java:276) ~[patched_1.15.2.jar:git-Paper-353]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[patched_1.15.2.jar:git-Paper-353]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:397) ~[patched_1.15.2.jar:git-Paper-353]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:305) ~[patched_1.15.2.jar:git-Paper-353]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.loadPlugins(CraftServer.java:360) ~[patched_1.15.2.jar:git-Paper-353]
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:234) ~[patched_1.15.2.jar:git-Paper-353]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:908) ~[patched_1.15.2.jar:git-Paper-353]
at java.lang.Thread.run(Thread.java:834) [?:?]

quartz trench
#

did you try api-version: 1.15

tight saffron
#

yes I have, I saved and then rebuilt and then ran, same error

#

Thank you for the suggestion though

quartz trench
#

What are you using to build

tight saffron
#

lntelliJ

#

I think

quartz trench
#

Do you have the Minecraft Development Plugin

tight saffron
#

Yes, yes I do

quartz trench
#

You should build with maven or gradle

gleaming helm
#

^

tight saffron
#

alright...

quartz trench
#

If you don't have a preference Maven is easier

tight saffron
#

I don't really have one other than I do not know how to set up Maven

gleaming helm
#

Maven isn’t necessarily easier, it’s just more common right now in the MC community.

quartz trench
#

Yeah I won't argue it i've used gradle for forge before lol but it's been a while

tight saffron
#

any other ideas on how to fix the issue I am encountering or no...

#

if not thats ok

quartz trench
#

You need to recreate the project using the Minecraft Dev plugin and select maven or gradle as the build tool

#

It's including the wrong plugin.yml most likely

tight saffron
#

wait

quartz trench
#

Build system usually fixes errors like the one you sent

tight saffron
#

I think I was rebuilding it wrong...

#

give me a second

#

it worked

#

ok

#

instead of going to build then rebuild

#

I did this

#

I went to build, clicked on build artifacts and then clicked rebuild on a different pop-up menu

quartz trench
#

I would reccomend switching to build system especially if you want to use dependancies or have portability for building

tight saffron
#

how would I do that exaclty. (first time doing anything)

buoyant path
#

Does anyone mind speaking with me for a few minutes in dm and helping me a little with protocol lib usage?

#

I am experienced I have just never used the API I usually do standalone

#

but in this case

quartz trench
#

One second I will send you a link

#

@tight saffron

tight saffron
#

thank you!

quartz trench
#

I reccomend creating a new project following those instructions, and copying your existing code over manually

tight saffron
#

I do not have any code written

#

so thats not necessary'

quartz trench
#

Yup

tight saffron
#

thank you for the link!

quartz trench
#

Np

tight saffron
#

and all the help!

#

have a great day

quartz trench
#

you as well

tight saffron
#

thanks 🙂

frigid ember
#

Guys help how can I give permissions to open a startup script?

#

Im using root user in contabo

#

its a vps

#

I think it was something like chmod or something like that

bronze marten
#

chmod +x ?

frigid ember
#

Open you mean execute?

buoyant path
#

So could anyone help me with protocol lib and creating armorstands that teleport every 1 tick

#

I want to do it with packets

#

that way im not killing my server

#

due to entities

#

like one player alone can spawn 30

#

so I would rather do packets

#

anyday

undone narwhal
#

Hey guys, I want to make an "invisible" parkour. When the player is at a certain distance from the next parjour block, the block will appear for him, and disapear if it is too far. What is the best method to use ?

  • Build the parkour with barrier blocks and send a block change ?
gleaming helm
#

That's sounds like a pretty good solution to me

undone narwhal
#

Cool thanks

hushed sedge
#

Is it a good idea to downgrade from 1.13.2 to 1.12.2 because of performance?

undone narwhal
#

It's a good idea to upgrade to 1.15.2

#

Or wait a bit and upgrade to 1.16

gleaming helm
#

It's almost never advisable to downgrade software

#

Have you tried running paper or another higher performance fork?

umbral shoal
gleaming helm
#

Are you using a wacky fork?

umbral shoal
#

fork of? 😅

gleaming helm
#

Of spigot

umbral shoal
#

no lol

#

its just paper

gleaming helm
#

@umbral shoal is there a "caused by"

#

Like did you paste the entire error or only part of it

umbral shoal
#

i pasted it in its entirety

#

the thing loaded anyway but it really didnt do anything

gleaming helm
#

I only ask because of this

umbral shoal
#

AH

#

whooops caps sorry

gleaming helm
#

Well it won't, it failed to modify some classes

umbral shoal
#

thats odd

#

pherpaps i have to install it for my version (1.8.8)?

gleaming helm
#

Yeah never seen this before

#

There's only one version

#

I'd post an issue on their github

umbral shoal
#

alright ty

neat pulsar
#

Hello!

#

What do you guys think about FlameCord?

undone narwhal
#

I don't have any opinion on it. But I recommend you using Velocity

gleaming helm
#

Agreed

#

Velocity = best

undone narwhal
#

I wasn't sure first time, but once I first tried it, just fell in love

frigid ember
#

1.8->1.15.2 support?

undone narwhal
#

Yes

neat pulsar
#

Does Velocity blocks nullping, and other expolits that FlameCord does?

gleaming helm
#

First time I used velocity is when I ported my entire bungeecord plugin with a complex load balancing and movement coordination system over to bungeecord in about 15 minutes

#

And yes

#

null ping and shit won't work on velo

neat pulsar
#

Does spigot and paper plugins work with velo?

gleaming helm
#

no

#

They don't work with bungeecord either

neat pulsar
#

Like Luckperms Bungee

undone narwhal
#

Paper and spigot plugins work on spigot and paper

#

I'm pretty sure that there is a Velocity LuckPerms version

#

Paper works just perfectly with Velocity (@see modern fowarding section)

#

Update: There is a LuckPerms version for Velocity

neat pulsar
#

Velocity looks so much different than BungeeCord

#

I'm actually reading the configuration page

gleaming helm
#

It's TOML

#

Imagine yaml but 10x better

#

That's toml

undone narwhal
#

Ps: There is a actually plugin to support Bungee plugins but I do not recommend it. There are tons of plugins compatible with Velocity (proof that's the future)

#

And more and more are supporting Velocity now

steady cedar
#

Velocity gang

neat pulsar
#

What is the reasons that you prefer velocity for?

undone narwhal
#

Security, modern, and I saw some performance upgrade

#
  • Simple
gleaming helm
#

Perf is way better, no known security bugs, actively maintained, ....

undone narwhal
#

Kevin what lib/framework/stuff you use to communicate through all the servers ? Rabbit, Redis, Custom, ... ?

gleaming helm
#

I'm using redis

#

Might move to RMQ or Kafka later

#

Won't go custom on that component though

undone narwhal
#

Okay thanks, I'm about to start a network structure and wanted to use Redis + Mongo

gleaming helm
#

Redis+Mongo is a good choice

#

That like matches 80% of my stack

#

100% of the super critical stuff

undone narwhal
#

Sounds awesome

gleaming helm
#

But don't expect other people to be able to run your code lol

steady cedar
#

kevin is a system design smart guy

frigid ember
#

yes

steady cedar
#

@frigid ember back off

frigid ember
#

Kevin_ is real smart

steady cedar
#

i'm serious lol

frigid ember
#

respect him for that

#

@steady cedar ????

#

why do uguys think all is jokes

#

lmao

steady cedar
#

i'm not falling for it bro

#

ur toxic

#

gbye

frigid ember
#

????

undone narwhal
#

I already tried to explain my structure to my devmate and it was carnage ^^

gleaming helm
#

Is a little light trolling not allowed?

#

Oh I didn't see

frigid ember
#

I am not trolling

gleaming helm
#

Where was that?

lusty vortex
#

@gleaming helm Does Velocity have an anti-bot solution?

gleaming helm
#

I promise this isn't a who asked joke lol

#

It does not, you'll have to add one yourself @lusty vortex

frigid ember
#

Kev whats your github

steady cedar
#

you don't want that

gleaming helm
#

^

steady cedar
#

dude's got some really good stuf

#

and then also

#

some really bad older stuff

#

but at least he didn't skid it

gleaming helm
#

Yeah I have some really bad old stuff

steady cedar
#

😐

gleaming helm
#

Like embarrassingly bad

frigid ember
#

its ok

#

we all do

#

everyone starts from somewhere

steady cedar
#

no, you don't, your older stuff is your current stuff

frigid ember
#

for me that project you guys always JUDGE ME on is embarassing

gleaming helm
#

no this code is on another fucking level

steady cedar
#

cuz you never improved

#

cuz you just skid

frigid ember
#

But I don't harass people for that.

gleaming helm
#

yeah lol at least none of my code is skidded

frigid ember
#

smae

steady cedar
#

😎

frigid ember
#

I have no public project

#

that is skidded

#

im creating an enderchest plugin with extension rows but my ec opens onplacement

steady cedar
#

he didn't say public code

frigid ember
#

how do I stop this from happenning?

#

if i take code, i give credit

#

and its open src

steady cedar
#

@frigid ember setCancelled

gleaming helm
#

I had a public project but then I added guidance code that is too good and now if I make it public I get a ride to prison

#

So.......

frigid ember
#

send me a public project

#

u made

#

that ur proud of

gleaming helm
#

😐

frigid ember
#

u said thats private

steady cedar
#

he had a rocket navigation system up

#

but

frigid ember
#

send mea public one

steady cedar
#

😐

frigid ember
#

i know

gleaming helm
#

I can send you the rocket simulator without quaternions and the guidance controller

frigid ember
#

what

#

wtf

#

no projects that are completely public?

#

100%

gleaming helm
#

Bruh if I make that public I get sent to prison

frigid ember
#

another project

gleaming helm
#

In the US we have this thing called ITAR

steady cedar
#

do u want my public code retrooper

frigid ember
#

u dont make publicprojects?

#

open src

gleaming helm
#

Yeah not minecraft related tho so it's unlikely you would understand them