#help-archived

1 messages · Page 133 of 1

sullen harness
#

I want it to be imported from my config.yml
@sullen harness .

#

Help

bold anchor
#

Are you tagging yourself?

pastel condor
#

smh

sturdy oar
#

smh my head

sullen harness
#

Yes

#

Can

#

Some1

#

Help me?

#

Pls

lilac crest
#

Hey, what can i do if someone stealed my Plugin and uploaded it to SpigotMC ?

sullen harness
#

Did It have license?

harsh anvil
#

ddos their mom

bold anchor
#

If you licensed it properly you can sue them, them.

winter vapor
#

guys

#

im trying to install a plugin to my server but my friends dont have perms

harsh anvil
#

if yours is on spigot you can request to take it down

lilac crest
#

Did It have license?
@sullen harness Its Free but he gets more Attation with my Plugin than i do

harsh anvil
#

feelsbadman

#

report the post

sullen harness
#

Idk if there is a way to proove ownership since is a free plugin

harsh anvil
#

if he has the source sure there is

lilac crest
#

I have the Source and a Workupload link with a date

sullen harness
#

I think all you got to do is talk with him

minor mountain
sullen harness
#

And kick his ass

harsh anvil
#

maybe you could ping a staff member here and link them the post containing the re-upload?

minor mountain
#

me?

sullen harness
harsh anvil
#

explaining they stole it etc

minor mountain
#

I dont think so

harsh anvil
#

or contact them on the forums

minor mountain
#

I restarted my computer and clicked run bat

lilac crest
#

@atomic rapids Can you help me right now in Privat chat?

winter vapor
#

help, im trying to install a plugin to my server but my friends dont have perms

sullen harness
#

Is it a localhost server?

lilac crest
#

Or @jagged torrent Can you help me right now in Privat chat?

winter vapor
#

online server

minor mountain
#

@sullen harness yes

winter vapor
#

running on my pc

minor mountain
#

local host for me

sullen harness
#

@sullen harness yes
@minor mountain that's strange... Maybe try deleting server, spigot yml and txt files

minor mountain
#

so everything?

bold anchor
#

Did you try killing all java instances?

sullen harness
#

Just spigot.yml snd sever.txt files

#

Did you try killing all java instances?
@bold anchor try that

undone narwhal
#

Hey guys,
What if you put an 1.15.2 plugin on a 1.8 server and I call the Inventory#setItemInMain(or Off)Hand() ?

sturdy oar
#

big crash

jagged torrent
#

eyy I was tagged

sullen harness
#

Error

bold anchor
#

You don't put a 1.15.2 plugin on 1.8 server

#

You can put an 1.8 plugin on a 1.15.2 server.. sometimes

undone narwhal
#

....

jagged torrent
#

What if you put an 1.15.2 plugin on a 1.8 server and I call the Inventory#setItemInMain(or Off)Hand() ?
it will throw a NoSuchMethodException

undone narwhal
#

Thx that what I was thinking unfortunately

sullen harness
#

it will throw a NoSuchMethodException
@jagged torrent I prefee calling it big boom

bold anchor
#

Well the Material enum is different

sullen harness
#

Yep

#

Thats not a thing in 1.8

minor mountain
#

yea it did not work

lilac crest
#

@jagged torrent Sorry for the Tag but i need help from an Supportteam Member

jagged torrent
#

what's the issue

minor mountain
#

me?

bold anchor
#

No, the person who tagged him.

lilac crest
#

My Plugin was uploaded to SpigotMC.

#

From another User

jagged torrent
#

report it

#

We will do our best to remove resources when a copyright complaint is received and we believe an infringement has taken place.

winter vapor
#

hey can someone help

worldly heathBOT
#

If you have a question, please just ask it. Don't look for staff or topic experts. Don't ask to ask or ask if people are awake or available. Just ask the question to the channel straight out, and wait patiently for a reply.

frigid ember
#

how can i price a resource i wanna upload?

winter vapor
#

how do I fix this permissions error - I added a new plugin to my server and my friends cant use it because they don't have sufficient permissions

#

i checked the xml of the plugin

#

theres no permissions section

#

a plugin called gwarp

frigid ember
#

how do i put a price on a resource i want to sell on spigotmc?

winter vapor
#

i see

#

ty

#

do you know a good plugin for perms

bold anchor
#

Luckperms

viral grove
#

Is it possible to get help with a server crash here if I link the crashreport in pastebin? I can't figure out how to make a forum post and I'm fairly desperate

bold anchor
#

Yes

harsh anvil
#

go ham

molten wedge
viral grove
#

Okay so context - I tried joining my server and it immediately crashed. I remembered I logged out in the end and after getting help from my friend he said to delete the end world files and my player data from our multiverse folder, so I did, restarted and I still couldn't join. My friend could join and I had no issue joining on an alt. I tried to regen the end world from my alt account, went through the portal and the second I hit it it immediately crashed, lo and behold I can no longer join from my alt either xD this is the pastebin https://pastebin.com/4NGaFXRi

#

Any help is appreciated, my much techier counterpart and co-owner is currently at work so I'm on my own

gleaming helm
#

Update

bold anchor
#

Update your version

gleaming helm
#

This looks like a bug that was fixed last night

viral grove
#

Ahh I had no idea there was an update available

#

Thanks guys

gleaming helm
#

np. If that happens in the future one of the first steps you should try is to check for updates.

viral grove
#

thanks a bunch☺️

#

Within our bisect panel where you can flick between versions it says we're on the most up to date version, is that just a case of bisect not being up to date yet since it only dropped last night?

bold anchor
#

Probably

#

Then just go a few versions back

viral grove
#

Alright thankyou

gleaming helm
#

If you go back about 2 days you'll be in the clear

buoyant path
hoary parcel
#

I dont even see any pathfinding?

#

what you talking about?

buoyant path
#

I can get a better video if you would like

#

What happens is he hits the player

hoary parcel
#

oh its an npc?

buoyant path
#

And the guard comes flying in

#

Put it in .25x speed

#

To see it better

hoary parcel
#

why wouldnt you just use whatever minecraft uses?

buoyant path
#

Lag plus players can easily run away

cerulean musk
stone rampart
#

onlinemode on bungee or spigot?

cerulean musk
#

yes online mode on on bungeecorde

sturdy oar
#

servers are offline right?

#

(offline-mode)

gleaming helm
#

If you can't firewall, use offline mode

#

Sorry

#

Brain fart

#

Use BungeeGuard if you cant firewall

cerulean musk
#

@gleaming helm i have bungeecord already

gleaming helm
#

No, bungeeguard

cerulean musk
#

@sturdy oar onlinemode=false on my servers. just onlinemode= true on bungecor

gleaming helm
#

What's probably happening is people are connecting straight to your backend servers

#

You have 2 options

#
  1. Properly install and configure a firewall
#
  1. Install bungeeguard on your proxy and backend servers
#

Read this for more info

sturdy oar
#

I recommend closing access until that is fixed

gleaming helm
#

^

sturdy oar
#

It happened to me once as well lol

gleaming helm
#

They can log in as you

sturdy oar
#

it didn't end in a fun way

gleaming helm
#

No, it ended in a fun way for somebody that wasn't you

sturdy oar
#

nah it was my fault tho

#

i forgot to use Pterodactyl's docker private address

gleaming helm
#

ooooof

sturdy oar
#

they basically hosted their own external bungeecord on my backends

gleaming helm
#

Yep

#

I know how this one works

#

Seen it happen many times

steady cedar
#

yeah

#

Me too

gleaming helm
#

The number of people that don't have firewalls is scary

sturdy oar
#

yeah luckily i had backups and fixed that in a few hours

#

just a few spheres of lava

gleaming helm
#

Somebody made an automatic scanner that finds some vulnerable servers

#

I don't remember the dude's name tho

#

Started with a K

#

And ended with an _

sturdy oar
#

i mean you can pretty much just find out that with nmap i think

#

port should not be open 😐

gleaming helm
#

Yeah it may or may not have done automatic scraping tho and may or may not have been left running overnight and mayyy or may nottt have found some alarmingly high profile things in the list.

steady cedar
#

No it started with a k

#

and ended with a 6

gleaming helm
#

(The high profile stuff was notified, there was just too much low profile stuff to notify all of it)

dusky flare
#

guys i need help

#

i need a plugin that let the non op player teleport between the worlds [multivers world plugin ]
!!!

#

.

small swift
#

anyone know of any plugins that add potion effects to items/armor

#

or any java tutorials lol

dusky flare
#

no one helps here ;-;

steady cedar
#

you waited 2 minutes

dusky flare
#

XD

hollow hedge
#

i need a plugin that let the non op player teleport between the worlds [multivers world plugin ]
!!!
@dusky flare A permissions plugin? Like LuckPerms?

dusky flare
#

yp

#

but i dont know how to use luckperms

#

if i used luckperms can i let non op player use /mvtp [worldname]

hollow hedge
#

You could assuming you set up your permissions properly. I'm sure there are a plenty few tutorials around on the internet on how to use LuckPerms.

dusky flare
#

ok thx

#

but there is a littile propleme

hollow hedge
#

And that is?

hardy cedar
#

when u think that u did good at MySQL
[00:21:51 WARN]: [GraveMCLevels] Task #6 for GraveMCLevels v2.7 generated an exception
java.lang.NoClassDefFoundError: com/zaxxer/hikari/HikariDataSource
at me.joseph.levels.sql.MySQL.getConnection(MySQL.java:39) ~[?:?]
at me.joseph.levels.PlayerData.Update(PlayerData.java:294) ~[?:?]
at me.joseph.levels.PlayerData.<init>(PlayerData.java:29) ~[?:?]
at me.joseph.levels.Main.registerNewData(Main.java:1524) ~[?:?]
at me.joseph.levels.Main$5.run(Main.java:1181) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) ~[server.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [server.jar:git-Spigot-db6de12-18fbb24]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_241]
Caused by: java.lang.ClassNotFoundException: com.zaxxer.hikari.HikariDataSource
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_241]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[server.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[server.jar:git-Spigot-db6de12-18fbb24]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_241]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_241]
... 12 more

dusky flare
#

that if i use luckperms it display the world name of the player in the chat

hollow hedge
#

You can edit the Multiverse configuration file to disable that feature I believe.

#

Believe the setting is called something along the lines of "prefix-chat"

hardy cedar
#

or u can do /mvconfig prefixchat false

dusky flare
#

ok i will try ........ thx bro

hardy cedar
#

that may work lol

dusky flare
#

@hollow hedge thx bro

hollow hedge
#

You're welcome, let me know how it goes.

dusky flare
#

@hardy cedar thx bro

#

k

hardy cedar
#

well i did nothing ,_,

#

it was @hollow hedge

harsh anvil
#

@hardy cedar you gotta shade it 😉

bold anchor
#

That need shaded too tho

#

Just lets you write less code for everything to work

harsh anvil
#

does it do mappings?

#

classes->tables?

hardy cedar
#

@hardy cedar you gotta shade it 😉
@harsh anvil wdym

#

lol

minor mountain
#

is this bad?

knotty surge
#

Doesn’t look like an ORM @harsh anvil

harsh anvil
#

you need to "shade" the hikari classes into your project or else they wont be included in the final jar

#

if ur using gradle take a look at the shadowjar plugin

#

if ur using maven look at the shade plugin

#

oh well

#

shame

bold anchor
#

Did you rename your file? @minor mountain

minor mountain
#

I put the wrong start bat

#

hit me on the head

hardy cedar
#

@harsh anvil the plugin doesnt work

#

,_,

harsh anvil
#

read the docs

#

¯_(ツ)_/¯

#

works fine for the other thousands of people using it

hardy cedar
#

The plugin which gives the error

#

doesnt work

#

lol

harsh anvil
#

i figured that much

#

so fix it

lunar otter
#

anyone know how to use MyCommand?

bold anchor
#

Is that the weird command in a config thing?

lunar otter
#

no its a plugin that allows a lot of custimization with comands and such but its massave and im having trouble knowing what im doing

hardy cedar
#

@lunar otter what do u want from it lol

lunar otter
#

ive tied a comand to a block and when players click said block they dont have the permissions required of it

#

but they can run the command in chat

hardy cedar
#

U can just block it

lunar otter
#

idk how to let players click on the block and run the command

hardy cedar
#

Through any plugin like plugin hider or something

#

idk how to let players click on the block and run the command
Oh

lunar otter
#

ive given the permissions for the command and the one that mycomand says but its still not working so i thought id ask here since they dont have a discord

#

yeah does it need to be on?

#

mhmm

#

i figured

#

XD

bold anchor
#

You are probably better off contacting other users of the plugin

lunar otter
#

i didnt see any contact info anywhere on spigot. nor youtube videos or forum posts ab it

hardy cedar
lunar otter
#

ok ty

bold anchor
lunar otter
#

ty for the help

#

its apretiated

grizzled isle
#

Hi there, I'm having some trouble with command blocks on my server. If anyone can help, I'd be grateful!

bold anchor
#

Ask, your question not for help or topic experts

grizzled isle
#

Sorry, basically, Command Blocks aren't working for some of my ops. I can use them and my friend can use them but the rest of my Opped staff can't.

bold anchor
#

Are they in creative?

grizzled isle
#

Yep

#

Op level 1

bold anchor
#

There is levels for ops?

grizzled isle
#

Yup

#

1 is the highest

bold anchor
#

And, how is it not working?

#

Do you have some permission plugin interfering?

grizzled isle
#

They can't place or interact with them. I have no permissions plugin.

bold anchor
#

Any other plugin interfering?

#

If you use just a vanilla server are they able to do it?

grizzled isle
#

I can't really use a vanilla server to test it but there also shouldn't be any interfering plugins.

lunar otter
#

level 4 is the highest i thought

#

yeah its 4

lusty shadow
#

Does anybody know how I can edit a player's tag? I'm developing a disguise plugin and I've got the skin, display name, chat name, tab name, but not tags...

minor mountain
#

so uh

#

how do I open up the console to give myself operator

bold anchor
#

That's a very valid question, how are you starting your server?

frigid ember
#

Puzzle: You're sending 200,000 block changes to the client. For each chunk, do you use a full map chunk packet (for which the server first calculates a delta and creates the packet with all necessary chunk info) or a multi block change packet (which you create to only contain the positions and block states necessary) for the best performance?

gleaming helm
#

Better Puzzle: is there a way to do whatever it is you’re doing without sending 200,000 block changes to the client

frigid ember
#

No

#

Which packet

bold anchor
#

Try both, check performance, choose one

frigid ember
#

Surprisingly, it's the full chunk packet!

#

who would've thought

steady cedar
#

@frigid ember Can you pass it over?

frigid ember
#

pass what over

steady cedar
#

that shit you're smoking that's that good shit

frigid ember
#

it's true actually

#

chunk packets are fairly seamless, multiblock packets freeze my client

steady cedar
#

oh mb it's just your cpu

#

from receiving 200 thousand block changes bro?????

frigid ember
#

it's not that many

#

it's 65 * 65 * 65

steady cedar
#

my pc turned off

#

because of hearing you say

bold anchor
#

IIRC Minecraft usually sends large changes in chunk packets

steady cedar
#

"send 200k blocks to the client" my guy

gleaming helm
#

Or you could just say the number, which is 200,000, and realize that it is a number

#

And it is in fact large

frigid ember
#

not that large

#

vaguely resembles largeness

steady cedar
#

it's just two hundred thousand

#

remember 200k is closer to 0 than a million

#

that's a small number

#

0 is small

#

like your brain.

#

when you came up with that idea my guy.

frigid ember
#

you're just envious that I have 200,000 blocks to send and you don't

steady cedar
#

My computer is not envious

#

That's for sure

frigid ember
#

would you like to receive my packets? I'm shipping internationally

steady cedar
#

LMFAOOOOOOOO 😐

gleaming helm
#

I would but I don’t think he has room for your 200,000 blocks in his house with his massive cock and balls

steady cedar
#

you spend your time looking at my cock and balls?

gleaming helm
#

LOL

fiery jasper
#

1

gleaming helm
#

2

steady cedar
#

The amount of brain cells sniper has

fiery jasper
#

2 BRAIN CELLS

steady cedar
#

Firing at random intervals

#

@frigid ember But for real, send the blocks in bulk at timed intervals. Make sure you have consent forms for the buttfuck their computer will receive too

frigid ember
#

so if I wait 1 tick, that's long enough for you to breathe, right?

steady cedar
#

count to 50

#

but in milliseconds

#

honestly tho

#

whatever you're doing there's gotta be a better way

gleaming helm
#

^ sending 200k block updates does not sound like a good idea to me

steady cedar
#

Send only the blocks you need to update

#

Would be my first suggestion

worthy pewter
#

is there an event in the API for detecting an entity dispensed from a dispenser (TNT, fireballs, etc)?

worthy pewter
#

can you get the entity from BlockDispenseEvent? I could only find the item being dispensed

steady cedar
#

If it's an "Item"

#

That's the entity

gleaming helm
#

That’s because the entity hasn’t been created yet

steady cedar
#

If it's an "ItemStack"

gleaming helm
#

No you can only get the item stack because the entity doesn’t yet exist

steady cedar
#

that's the itemstack

worthy pewter
#

that was my understanding kevin

#

is there a way to get the entity itself? EntitySpawnEvent doesn't appear to include entities spawned from dispensers

gleaming helm
#

What are you actually trying to do? This is a bit of an xy problem

worthy pewter
#

I am trying to track where TNT came from and where it exploded

#

I had originally tried to use EntitySpawnEvent, but it doesn't seem to be fired for Primed TNT from a dispenser

steady cedar
#

Are you sure?

#

That seems like it would be a bug..

worthy pewter
#

I had a debug message for every entity being spawned and it didn't show up, I'll try again

#

nope, EntitySpawnEvent doesn't fire for tnt from a dispenser

bold anchor
#

There is the EntityIgnite, and EntityPrime event, don't think there is anything specific in the spigot api.l

#

I mean, if you want to cheat you can use the EntityAddToWorldEvent provided by the paper fork Tyler

gleaming helm
#

Woah that’s the F word you can’t say that

steady cedar
#

P-P-Paper?! Zoo wee mama!

worthy pewter
#

unfortunately I can't use paper (or any "modern" spigot) for this...

gleaming helm
#

What

#

Why not

bold anchor
#

Then you are stuck with the legacy events, EntityIgnite and EntityPrime etc (not sure what they are called exactly)

worthy pewter
#

it's a long discussion that would take us from the topic at hand

gleaming helm
#

It’s also one where we could very easily recommend suggestions

steady cedar
#

He's in the spigot discord, kevin. Respect spigot's authoritah.

worthy pewter
#

detecting when the tnt or fireball explode/ignite aren't the problem, I can do that fine

#

detecting when they spawn is the issue

#

or more accurately, dispense

gleaming helm
#

Do you only care about the timing?

#

Or do you need the actual entity itself

worthy pewter
#

I only care about the location and the entity itself

#

because I need to track where the TNT/fireball came from

gleaming helm
#

Huh....

steady cedar
#

Are you trying to track it through it's entire lifespan?

worthy pewter
#

yes

steady cedar
#

Your best bet is to use a scheduler, then.

#

Run one when a tnt is spawned. Check periodically if said tnt is still an existing entity, if not, it has exploded

#

Or maybe use a list of tracked entities

worthy pewter
#

that's not the issue

#

the EntityExplodeEvent works great for removing it from my tracking of where the TNT came from

#

the issue is that I can't add the entity to my tracking since I can't detect when it spawns, unless I start another tracking

#

I was hoping I'd not have to track all TNT and fireballs in the world, and compare for which ones are new every tick

gleaming helm
#

I still don’t understand why you need to track them

steady cedar
#

You realistically shouldn't, you should probably bring this to the attention of @subtle blade (hehe)

subtle blade
#

wha

steady cedar
#

because he can't tell when they spawn

worthy pewter
#

I need some method to detect when Primed TNT spawns from a dispenser

#

and I need the entity itself

#

(so BlockDispenseEvent won't work)

#

EntitySpawnEvent isn't fired for TNT or Fireballs from a dispenser

#

and I don't know what other event would work

#

(or if there is one)

#

and while adding it to an event or adding a new event is great, it doesn't help me

#

well

#

as an alternative

#

is there a way to find the code for the initial velocity of TNT and fireballs in vanilla?

#

if I can't detect the tnt or fireball being spawned I could atleast detect it being dispensed, cancel the event, and run my own

worthy pewter
#

nevermind, ProjectileLaunchEvent covers it

#

bad news, ProjectileLaunchEvent isn't fired for TNT (but is for fireballs)

pastel arrow
#

TNTIgniteEvent or it might me TNTPrimeEvent?

bold anchor
#

Fairly certain the second one is paper only,

pastel arrow
#

I don't use paper so 🤷‍♂️

worthy pewter
#

ok new plan, since no apparent event is triggered when TNT is dispensed I'll do it myself

#

but I need to know what velocity and location to spawn the tnt at

#

if anyone knows ping me

bold anchor
#

Are you trying to reimplement it?

molten wedge
#

1.16?

bold anchor
#

?

worthy pewter
#

I'm trying to reimplement TNT dispensing yes

slate ocean
#

anyone know why my nametag and name in tab is white but its not for someone elses screen

#

i use nametagedit

hardy cedar
#

Maybe different rank?

#

Lol

#

Or he just changed his tag with /nte command

vagrant widget
#

@slate ocean u canfig group tags in config of NTA

small swift
#

Anyone know of a script condition to check the offhand

rocky plinth
#

Hi, I just wanted to ask if there's an option / plugin

#

When a server is on

#

Then in discord show on

#

And when server is down

#

well, shows offline in díscord

calm snow
#

I'm using the PlayerInteractAtEntityEvent, how can I get the EntityType that the player interacted?

#

(if this is even possible)

jolly ember
#

Hi guys, how to make player gliding but his velocity should be like non-gliding player?

frigid ember
#
[04:58:37 WARN]: Exception in thread "ForkJoinPool.commonPool-worker-1" 
[04:58:37 WARN]: redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
``` what does this mean exactly?
pastel condor
#

For some reason when I set the owner of a skull in my GUI and the owning player is online, it shows their head but the moment they go offline the skull becomes an Alex / Steve head. How can I fix this?

#

1.15.2, I’m using .setOwningPlayer(offline player) and its an offline server on online bungeecord

sage summit
#

I'm trying to disable fall damage in certain worlds for players but I don't know how to do it

wraith thicket
#

EntityDamageEvent#getCause and check for DamageCause#FALL

sage summit
#

ok thanks

wraith thicket
#

Also posted on the forum on the same issue a few minutes, probably it was your thread (didn't check the name)

sage summit
#

it was mine, thanks

frigid ember
#

offhand tool of player @small swift

dense escarp
#

there are no tutorial for iptables bungeecord server deny port?

chrome edge
#

There are but not for bungeecord. You should learn how to use it first and may understand how to implement to your project.

scenic osprey
#

hi, when i use world.spawnEntity(loc, EntityType.PRIMED_TNT) the tnt isn't in the exact location, i know it's supposed to move a bit but it moves about a block away from the actual location

sturdy oar
#

Is it only the TNT

#

I know a few movement issues on primed TNTs related to client

scenic osprey
#

only the tnt i think

polar wigeon
#

what do you guys do to automate server monitoring for if it ever overloads or unexpectedly stops?

hoary parcel
#

Normal k8s health checks

#

And grafana boards

#

Cause data porn best porn

polar wigeon
#

how do you notify yourself tho?

hoary parcel
#

Normally no need for that as everything is handled automatically

#

Self healing clusters <3

#

But you can setup whatever webhook

#

Telegram has an easy API, so has discord

gleaming helm
#

^

#

I get a discord and tele notification, plus the thing attempts to fix itself automatically

#

Notification if shit fucks up, and another notification if it can't fix itself or if it does fix itself

#

And in the meantime the load balancers route players elsewhere, so ideally nothing is really affected

full gull
#

Website was registered yesterday, and the GitHub account was created 6 hours ago.

#

Downloads a plugin called "rServer.jar", then that file downloads a plugin called "RemoteAPI.jar"

#

and their SpigotMC account registered today.

gleaming helm
#

I'd be shocked if that shit catches a single cheat

polar wigeon
#

lol that's fucked

#

tag a forums staff?

gleaming helm
#

This is all skidded code too

#

Like

#

Like 100% skidded code

#

@subtle blade

polar wigeon
#

i love how much effort they put into making that website and listing servers that (probably don't) use it

torn robin
#

don't tag staff in here

#

that's not what this discord is for

polar wigeon
#

how come lol

gleaming helm
#

Yeah this is so malicious

zenith palm
#

i hath been summon

#

'aight how sure are we this is mailcious

steady cedar
#

just yesterday the server I worked on had a problem where their entire network got infected because of a plugin that injected classes to all the plugins when first run

#

and I told them to try to download resources from spigotmc next time and not shady ass sites

#

looks like even that wasn't a good idea

gleaming helm
#

Convinced yet?

#

@zenith palm

polar wigeon
#

no i am not let me run it on my pc and see if i get hacked first

zenith palm
#

yoink

polar wigeon
#

DAMN

steady cedar
#

yeet

polar wigeon
#

it's gone

gleaming helm
#

YEET

polar wigeon
#

well done bois

steady cedar
#

ladies and gentlemen, we got him

gleaming helm
#

ggs all around

polar wigeon
#

Your issue has been Resolved. Please come again! @full gull

steady cedar
#

although it is concerning that wasn't checksd by resource staff

full gull
#

nice

torn robin
#

free resources aren't checked

full gull
#

thank you staff

torn robin
#

you can report malicious free ones though like what just happened

steady cedar
#

wait really

full gull
#

i downloaded the plugin so i can take a look at it on a VM

torn robin
#

really really

full gull
#

if you also want it, DM me

gleaming helm
#

The resource Unixo.co free Anti-Cheat (Multi-version) has been deleted. Reason: Contains backdoor

#

gg

pastel condor
#

Lol

steady cedar
#

The average spigotmc user won't be able to tell if a resource is malicious or not so that's a bit unfortunate

torn robin
#

considering premium resources take about 2+weeks minimum to get confirmed, moderating free resources would drastically increase the wait time

pastel condor
#

installs plugin

gleaming helm
#

Luyten could handle the first two layers

#

And then I had to pull out the big guns

zenith palm
#

Yeah just saying if you install that resource it's on you.

full gull
#

@zenith palm hey, i would ask you bring this up internally with the rest of the team, please make it so you can't post resources the day you register, most of the time they would be malicious

#

make them wait a week first

#

or something

#

idk

steady cedar
#

@gleaming helm you just have an entire toolkit to decompiling plugins huh

zenith palm
#

Make a thread in the feedback section

steady cedar
#

Why am I surprised 😠

gleaming helm
#

No I have a toolkit for reverse engineering software

#

I do CTFs

steady cedar
#

I wonder why 😠

#

no you don't

#

sh

torn robin
#

@gleaming helm what tools do you use for decompliation?

polar wigeon
gleaming helm
#

For C-related stuff I use IDA Pro, for java I have a private tool that was created by a few people on my team

#

Don't do much java at all tho in CTFs

torn robin
#

Spigotmc does not represent or warrant that the platform including the services will be error-free or uninterrupted; that defects will be corrected; or that the platform or the server that makes the platform available is free from any harmful components. Spigotmc does not make any representations or warranties that the services offered are accurate, complete, or useful. Spigotmc does not warrant that your use of the platform is lawful in any particular jurisdiction, and spigotmc specifically disclaims any such warranties.

gleaming helm
#

The java tool pretty much just patches jars so they can be decompiled by other tools, then it selects another tool to decompile it.

pastel condor
#

For some reason when I set the owner of a skull in my GUI and the owning player is online, it shows their head but the moment they go offline the skull becomes an Alex / Steve head. How can I fix this?

torn robin
#

how are you setting the owner?

pastel condor
#

meta.setOwningPlayer

steady cedar
#

setSkullOwner was the right one wasn't it

#

Or was it changed

pastel condor
#

One sec, I’ll check

torn robin
#

setOwningPlayer I believe is 1.9 and uses UUID

#

setOwner was a username iirc, deprecated

pastel condor
#

meta.setOwningPlayer(player);

#

Not sure why there are Alex heads when the player goes offline

proper cairn
#

Is there any use for the abstract class in spigot?

#

Like abstractArrow for instance

torn robin
#

well there's different types of arrows right

proper cairn
#

Correct

torn robin
#

what exactly dya mean any use?

#

Arrow, SpectralArrow, TippedArrow, and Trident all extend it

tiny dagger
#

| The resource Unixo.co free Anti-Cheat (Multi-version) | has been deleted. Reason: Contains backdoor

#

was that yours kevin?

gleaming helm
#

Was it my resource? Fuck no LOL

tiny dagger
#

oh

sturdy oar
inland oxide
#

1.16 next Tuesday, perhaps we can get a Bukkit API preview?

tiny dagger
#

fendi this should be true for any type of resource

#

nice

sturdy oar
#

Yes I edit

tiny dagger
#

i was about to say

#

isn't the api still discussed?

#

what if by the end of the release they change it to fit better the final design

oblique axle
#

need help

#

got error code too

#

or whatever it is

#

some random lines

#

in server log

undone narwhal
#

Just show it or explain it

torn robin
#

?ask

worldly heathBOT
#

If you have a question, please just ask it. Don't look for staff or topic experts. Don't ask to ask or ask if people are awake or available. Just ask the question to the channel straight out, and wait patiently for a reply.

oblique axle
#

ok

#

so when ever i use world edit to load this schematic file server crashes

#

look at this

#

i am no expert but i got this from log

#

any idea how to fix?

torn robin
#

Try using FAWE or don’t load in big schematics

oblique axle
#

not sure if it is big

#

its a skywars map

undone narwhal
#

And I recommend updating to 1.15.2, or wait 1.16 release.

oblique axle
#

its 1.8

#

for pvp

#

with friend

#

s

undone narwhal
#

Pvp can be corrected in 1.15.2 with a plugin

oblique axle
#

oh ok

gleaming helm
#

Man...

oblique axle
#

but is there a skywars plugin like the remastered on for 1.8

sturdy oar
#

🙍‍♂️

oblique axle
#

?

#

lol

gleaming helm
#

You're probably fine to stay on 1.8

oblique axle
#

but server crashes

#

idk

gleaming helm
#

If you use FAWE then you should be good to go

sturdy oar
#

🤦‍♂️

gleaming helm
#

FAWE doesn't crash on large schematics

oblique axle
#

what is FAWE?

gleaming helm
#

FastAsyncWorldEdit

sturdy oar
#

Fawe is stable on those old versions

#

wouldn't recommend it for 1.15.2

oblique axle
#

ok ill get it

#

can it load

gleaming helm
#

Yea don't use FAWE in production on 1.15.2

oblique axle
#

shcematic files

gleaming helm
#

Yes

#

It works just like worldedit

oblique axle
#

schematic*

#

ok

sturdy oar
#

Yes it's world edit after all

oblique axle
#

oh ok did you see the log thin i sent

gleaming helm
#

Yes we did

oblique axle
#

is there another problem

#

or will FAWE fix it

gleaming helm
#

It just look like it hung because you're trying to change a very large number of blocks with a very inefficient plugin on the main thread

#

The error you got is exactly what I'd expect to happen

oblique axle
#

oh ok

#

i loaded another map befor

#

it was small

sturdy oar
#

I remember trying WorldEdit with milions of blocks

#

It didn't end well

oblique axle
#

lol

#

anyways tsym for help

sturdy oar
#

However FAWE handled it properly

gleaming helm
#

Just last week I pasted a schematic with about 600 million blocks with FAWE without a problem

steady cedar
#

600 million blocks?

gleaming helm
#

mhm

oblique axle
#

0_0

sturdy oar
#

Yeah I replaced the whole End into glass

steady cedar
#

@frigid ember contender

#

right here bro

#

check him out

#

600 MILLION blocks

gleaming helm
#

The schem file is like 50mb

steady cedar
#

but that's closer to 0 million than 2 billion am I right?

#

😐

sturdy oar
#

Kevin

gleaming helm
#

what

oblique axle
#

so do i delete

#

the world edit plugin

#

and put FAWE

gleaming helm
#

I believe on 1.8 you delete worldedit and then replace it completely, but I'm not entirely sure. Check their documentation to be sure.

sturdy oar
#

Try this kevin

steady cedar
#

No.

#

On 1.8 you use it with worldedit.

#

FAWE and WorldEdit

sturdy oar
#

//generate wool data=((y+1)*8)*(x*x+z*z<0.2)+(x*x+z*z>0.2)*15; ((((x-(sin(y*5)/1.5))^2+(z-(cos(y*5)/1.5))^2)<0.04)) +((((x+(sin((y)*5)/1.5))^2+(z+(cos((y)*5)/1.5))^2)<0.04)) +(((y+1)%0.125<0.025) *(((((sin(y*5)*sqrt(x^2+z^2)-x)^2)+((cos(y*5)*sqrt(x^2+z^2)-z)^2))<0.005) +((((sin(y*5)*sqrt(x^2+z^2)+x)^2)+((cos(y*5)*sqrt(x^2+z^2)+z)^2))<0.005))) *((x^2 + z^2) < 0.5 )

steady cedar
#

Both of them

oblique axle
#

what is anme for fawe plugin when i type fawe not showing up?

#

name*

steady cedar
#

FastAsyncWorldEdit+FAVS

gleaming helm
#

Holy fuck I cannot be bothered to understand what that mess does

steady cedar
#

type it like that

sturdy oar
#

Double helix

#

Symmetrical

#

I generated with K3DSURF

gleaming helm
#

Hang on I'll play this game lol

#

Lemme make a new multiverse world tho

sturdy oar
#

I think you might have to dispatch from console

#

That doesn't fit into chat

#

Or you can always make player dispatch that with sudo from console

#

(the EssentialsX sudo, not the Linux one)

gleaming helm
#

arghh it's all messed up lol

#

eh this is way too much effort

sturdy oar
#

you want another?

gleaming helm
#

No it's not that

sturdy oar
#

you need to do , //pos1, //pos2, //outset 50

#

Then the command

oblique axle
#

aternos is so handy

sturdy oar
#

Oh oh

oblique axle
#

best

sturdy oar
#

Oh god

gleaming helm
#

No I mean like

#

oh fuck

#

Dude

#

No

deft palm
#

@oblique axle hi hatory

oblique axle
#

why lmao

steady cedar
#

doesn't aternos shut down

#

if you don't have a player online

#

every 10 minutes

#

or something

deft palm
#

yep

sturdy oar
#

Get a 3€ shared hosting

oblique axle
#

i cant host a server normaly

#

fine lmao

#

ok i will

#

what is best one

#

for hosting

sturdy oar
#

I don't usually recommend shared hosts, but God when I ear Aternos

#

Apex is pretty good from what I heard

oblique axle
#

oh yeah

#

i am getting apex

sturdy oar
#

I honestly just buy Debian VPS

oblique axle
#

dude

#

what are commands for loading for fawe

sturdy oar
#

?

oblique axle
#

laoding a file

#

loading*

sturdy oar
#

wut

oblique axle
#

loading a .schematic file

#

to paste

#

is it ./load filename

sturdy oar
#

//schem load [name]

oblique axle
#

ok

#

ty

#

umm

#

where does the .schem files go

#

in what folder

sturdy oar
#

WorldEdit/schematics/

#

if doesn't exist , create it

oblique axle
#

i cant send photos

sturdy oar
#

Of course

#

Btw they have a documentation

#

Just go read it

oblique axle
#

what should i name the file?

sturdy oar
#

🤷‍♂️

oblique axle
#

hold up this is confusing

#

ill pm you

sturdy oar
#

No

oblique axle
#

why

sturdy oar
#

Just read the documentation my dude

#

It's pretty clear

oblique axle
#

where is it

#

this is so confusing

wraith thicket
#

Which is why he told you to read the documentation...

sturdy oar
#

Even bothered giving you the link

oblique axle
#

ok guys i cant find anything plus the files are all weird

#

its just config.yml

#

and other files which have different languages on em

#

ill just create one

#

now i really neeed help

subtle blade
#

:(( we have report buttons you know?

deft palm
#

ok what

subtle blade
#

I was sleeeeeping

deft palm
#

lol

oblique axle
#

FAWE

sturdy oar
#

go back to sleep

vale whale
#

Hello. Does someone know a good plugin that automatically allows a global chat plugin on y our bungeecord network?

frigid ember
#
    public HashMap<UUID, Integer> blocksMined = new HashMap<>();
    
    @EventHandler
    public void onOreBreak(BlockBreakEvent event) {
        Block block = event.getBlock();
        Material material = block.getType();
        Player player = event.getPlayer();
        if (material.equals(Material.COAL_ORE)) {
                if (material.equals(Material.IRON_ORE)) {
        if (material.equals(Material.GOLD_ORE)) {
                if (material.equals(Material.EMERALD_ORE)) {
        if (material.equals(Material.DIAMOND_ORE)) {
            /*I need to add +1 to hashmap and make it so that if the player reaches 50 for                               example I can add something that I want*/
                
        }
    }
}  ```
#

probaly done in a stupid way

#

What im trying to do is award people if they reach x ores mined

sturdy oar
#

oh god why you have 5 nested if

#

what's that even

frigid ember
#

probaly done in a stupid way

#

xd

sturdy oar
#

this is how you would increment the map properly

gleaming helm
#

NO

#

NO STREAMS

#

BAD

#

BAD BOY

sturdy oar
#

dude come on that doesn't get executed 2000 times a second

gleaming helm
#

.contains()

#

if (oreMaterials.contains(material))

sturdy oar
#

actually yes contains

#

also oreMaterials can be static

gleaming helm
#

at first I thought that stream was a joke

#

Also don't use a list

#

Use a set

sturdy oar
#

ok i'll delete that

gleaming helm
#

O(1) contains() times vs O(n)

sturdy oar
#

i'll make it decent so he doesn't copy bad stuff

steady cedar
#

Wtf o(1) bad o((n-1)!) gang

subtle blade
#

Added bonus, if it’s Material constants, EnumSet

steady cedar
#

bogosort type beat

subtle blade
#

😄

gleaming helm
#

Also @sturdy oar You should look into EnumMap when you get a chance. It's has the same properties as a HashMap but when your keys are enums, it's about 1 billion times faster

subtle blade
#

EnumSet = best set. Change my mind

gleaming helm
#

EnumSet != best set with non enum elements

sturdy oar
#

I do use EnumMap in my plugin

subtle blade
#

Doesn’t let you use non-enum elements so we good

gleaming helm
#

Yes you fail at compile time

subtle blade
#

Your IDE should yell at you first :((

frigid ember
#

thanks fendi

sturdy oar
#

now this is how you would do it the "pure java" way

gleaming helm
#

I consider IDE fails to be compile-time fails

subtle blade
#

Fair

gleaming helm
#

No

#

You're still doing an O(n) lookup

subtle blade
#

EnumSetttttt

gleaming helm
#

^

sturdy oar
#

it's pretty much micro optimization

gleaming helm
#

That's just as bad as before from a time complexity standpoint

sturdy oar
#

but if he wants to do it , i guess it's fine

subtle blade
#

Also, Integer::sum that lambda

#

map.merge(player.getUniqueId(), 1, Integer::sum)

#

😄

sturdy oar
#

i didn't use advanced stuff so maybe he would understand

#

i know method reference can be used

gleaming helm
#

wtf is that unreadable ass shit

sturdy oar
#

Chocos'

#

?

#

or mine

gleaming helm
#

Just add it like a normal person

#

Yours looks way more readable than that

sturdy oar
#

yeah the map merge is weird

gleaming helm
#

That's not self-documenting code

#

That requires me to actually recall what that whole thing actually does when it could very easily be implemented without a single method call

#

Let alone like 4

subtle blade
#

You don’t know what “sum” means? Lol

gleaming helm
#

The compute thing is way more obvious on first glance

sturdy oar
#

actually i realized, is there a convention to put 'static'?

#

like private static final, or private final static

gleaming helm
#

The only convention you missed is

#

ORE_MATERIALS

#

And not abusing the hell out of streams, but you fixed that

steady cedar
#

What's the matter with you, eh?

frigid ember
#
    private final HashMap<UUID, Integer> minedOresMap = new HashMap<>();
    
    private final static Material[] oreMaterials = {DIAMOND_ORE, EMERALD_ORE, GOLD_ORE, IRON_ORE, COAL_ORE};
    
    @EventHandler(ignoreCancelled = true, priority = EventPriority.HIGH)
    public void onOreBreak(BlockBreakEvent event) {
        UUID uuid = event.getPlayer().getUniqueId();
        Material minedBlockMaterial = event.getBlock().getType();
        for (Material oreMaterial : oreMaterials)
        if (minedBlockMaterial == oreMaterial)
            minedOresMap.compute(playerUuid, (uuid, minedCount) -> minedCount += 1);
        }        
    }```
doesn't get the ore names, doesn't get playerUuid im using spigot 1.8.8 as referenced library
steady cedar
#

you really just

#

copy pasted it

#

man...

gleaming helm
#

what the fuck

sturdy oar
#

use EnumSet as Kevin told you

#

it's a little better than an array

#

although both work of course

steady cedar
#

o(n)

gleaming helm
#

Yeah both work that's not really the issue

steady cedar
#

o(1)

#

"just a little" 😎

gleaming helm
#

Idriz in this case it's 5 elements

sturdy oar
#

yeah i know that, but we talking about 5 elements in this specific case

steady cedar
#

i know but

gleaming helm
#

that's not a HUGE deal

steady cedar
#

o(1) or o(5)

sturdy oar
#

it's like saying 0.5 nanoseconds or 0.6

gleaming helm
#

The bigger deal is

steady cedar
#

1 is smaller than 5

#

btw

gleaming helm
#

the lack of indentation in that fucking SACRILEGIOUS for loop

sturdy oar
#

i did indent it

#

🤷‍♀️

steady cedar
#

he made a new language

#

sacradileguosuahs

#

wtf

#

get outta here

gleaming helm
#

stfu

steady cedar
#

who

gleaming helm
#

who asked

steady cedar
#

no, who asked

gleaming helm
#

IT DOESN'T

#

WORK ON ME

steady cedar
#

IT DOESN'TN'T

gleaming helm
#

LOL

#

GOD DAMMIT

sturdy oar
#

oh i just realized i could use EnumSet in one of my other plugins

gleaming helm
#

yes that's better

sturdy oar
#

static imports

gleaming helm
#

I don't have a problem with static imports

sturdy oar
#

i like them as well

#

they make code shorter

#

and it's pretty clear to everyone those are Materials & BlockFaces

#

now i can flood the code with more streams

#

dude

#

you're not supposed to just copy-paste it lol

#

... and he deletes the message

#

Kevin

#

which one do you prefer: stream or plain Java?

steady cedar
#

plain java

gleaming helm
#

You've got a nested stream

steady cedar
#

i'm a spokesperson for kevin

#

he would like plain java

gleaming helm
#

For each block face

#

You create ANOTHER stream

steady cedar
#

im your spokesperson shut your fucking mouth kevin

gleaming helm
#

If you can write it in plain java easily, a stream is unnecessary

sturdy oar
#

indeed

#

i just write streams equivalent to troll

gleaming helm
#

lol I respect a good troll

fossil shoal
#

How would I go about saving and loading data about blocks? (It has to be in memory on runtime)
Some options I thought of:

  1. Load data on start (sync or async?) and save on disable all to one file
  2. Save them to separate files by chunks and loading async when the chunk loads. I am not sure about this one because what if the data is needed but is not yet in memory
vapid kindle
#

how much data?

iron nebula
#

Loading async as the chunks load is the way to go

#

Tho how "critical" is the data

#

You can keep blocking the events until everything is loaded up

fossil shoal
#

I would say "critical". Blocking the events could result in a weird behaviour since I am listening to place, break, interact and redstone

iron nebula
#

Explain

#

What are u trying to do

fossil shoal
#

I would rather not get into details of the plugin rn, too much to explain..
The absence of data could be critical because some players should not be able to interact with certain blocks, if the data isn't there, they will be able to.

vapid kindle
#

well, how much data are we talking about?

#

because saving and loading it when we're talking about like KiB of data is different to GiB of data...

fossil shoal
#

theoretically it could be a whole chunk's size collection of the objects (which by themsevles aren't big)

gleaming helm
#

so not much in actuality

fossil shoal
#

well, idk how crazy people are

vapid kindle
#

well, if you listen to non-player events like redstone, i.e. stuff that could be executed right when the chunk is loaded, not when a player enters it, then the data has to be available at that point

fossil shoal
#

even if I only listened to player events, there could still be a chance that the data isn't available when the player is in the chunk

vapid kindle
#

so if the data is not too big I'd probably say, cache it in memory and avoid the hassle of dealing with IO (save for save/load)

#

it increases you memory usage, though

velvet halo
#
@EventHandler
public void onEvent(BlockBreakEvent event) {
    if (!worlds.contains(block.getType().name())) return;
    if (!blocks.contains(player.getWorld().getName())) return;
    //Run code here...
}
``` Hey so I am running into an issue right now. There are TPS drops for some reason when checking if a list/set contains a string. What would be a better and more efficient way of doing this?
vapid kindle
#

are only block types stored in the list?

cerulean musk
velvet halo
#

Strings of the Block Types are stored in the list.

#

So it is a string list

fossil shoal
#

so if the data is not too big I'd probably say, cache it in memory and avoid the hassle of dealing with IO (save for save/load)
Their size is about 100 bytes, maybe a little less

vapid kindle
#

any particular reason you store the strings, not the enums itself?

#

@fossil shoal and in total? Like, how many different instances do you expect?

fossil shoal
#

I can't be sure, someone might fill an entire chunk.. I could limit per player or per chunk or both
(I am not running it on a server of mine, it is going to be a public plugin)

velvet halo
#

It is the way data is stored. Enums to strings

vapid kindle
#

@velvet halo well, stop storing Strings and instead store the enum directly.. It's faster to compare two numbers than it is to compare two strings. Also, you might want to use a Set, more specifically an EnumSet, for better performance.

velvet halo
#

Alright thanks 👍

vapid kindle
#

@fossil shoal anticipating users is always an issue 😦 And public plugins may run on weaker servers, that don't have the abundance of RAM I'm used to...

#

you could try to come up with some smarter caching. Like trying to predict future chunk loads (e.g. by loading stuff when nearby chunks get loaded) and keeping frequently accessed stuff in memory

fossil shoal
#

Uhh, maybe in the future, I think I will keep everything in memory and have a configurable amount of instances per player and per chunk for now. That way weak severs can customize it to their needs.

#

Thanks for the help!

bitter tendon
#

Is it possible to prevent block breaking client side like the debug stick?

tiny dagger
#

not sure no

#

only the sword can prevent it

#

in creative

iron nebula
#

Robert, if its just player intractable stuff that you can block then its fine. If its environment stuff then its gets tricky

#

Just remember that chunks are loaded way in advance before the player moves inside them so in theory the chunk is always loaded when player starts to interact with stuff

#

Use switch statement ^

#

Yes

tiny dagger
#

save it in an enum set for the O(1) times 👀

iron nebula
#

Are its e.GetBlock.getType

fossil shoal
#

Robert, if its just player intractable stuff that you can block then its fine. If its environment stuff then its gets tricky
@iron nebula I do listen redstone but the only ones I care about are when a player uses it

iron nebula
#

Fr33styler u know switch is O(1)

tiny dagger
#

it is?

iron nebula
#

Yes..

tiny dagger
#

huh

#

the way it run it always felt like checking each

iron nebula
#

It creates internal hashmap

#

@iron nebula I do listen redstone but the only ones I care about are when a player uses it
Then its a bit tricky

#

How do u even track which player used restore? Bukkit doesn't expose it?

#

Unless u are manually doing the racking

fossil shoal
#

I mean, can a lever or a button be used by something other than a player?

iron nebula
#

Uh no? But saying "redstone" can mean anything

fossil shoal
#

I meant BlockRedstoneEvent

vapid kindle
#

wood button? Yes

#

also pressure plates, redstone clocks

iron nebula
#

Well unless u give more context its hard to say

bold anchor
#

Maybe.

fossil shoal
#

no need for now, thanks for the help, all!
I will keep the data in memory, maybe in the future I will also need to check for redstone that is not powered by a player, and then it will get real tricky to do if I load the data on chunk load

iron nebula
#

Well I will look forward for the Italian special 🍝

fossil shoal
#

What do you mean?

#

Can someone help pls?
@frigid ember Get all the relatives of the block, check if they're logs of the same type, if they are perform the same check for them aswell, make sure you don't go back to blocks you have already cheked

#

How would it?

#

you only do it to the relatives (the ones that are attached) of the block..

#

as I said, if they are logs perform the same check for them aswell

umbral shoal
#

Does anyone know a good mob spawner and mob stacking plugin?

#

I've used lagassist on my test server before but all it did was duplicate mobs (might be an error in my configuration)

crimson acorn
#

Question, since you said that there was a snapshot server to iron out any issues for a fast launch, are there any issues at the moment which is likely to break lots of plugins?

frigid ember
#

some code from / spawn and / setspawn to save the spawn in config.yml

fossil shoal
#

@frigid ember are you asking for code?

frigid ember
#

I have an error and I cannot solve it

tawdry venture
#

Is there any event getting triggered when an arrow falls to the void?

jagged torrent
#

no

subtle blade
#

Gonna have to specify on that getName() question

#

And it’s gone lol

#

FeelsMobileMan

floral isle
#

getName().equalsIgnoreCase

#

in 1.15 dont work

#

there are a replacement?

subtle blade
#

Yeah but which getName(). On what class

#

Because I can assure you that Java’s equalsIgnoreCase() works lol

floral isle
#

public void onInventoryClick(InventoryClickEvent var1) {
if (var1.getInventory().getName().equalsIgnoreCase(MainMenu.getTitle())) {

tawdry venture
#

how do I detect easily if an arrow fell to the void?

bold anchor
#

I thought titles were removed in an older version

sturdy oar
#

yeah isn't it removed lol

#

I'm pretty sure title is now stored in InventoryView

floral isle
#

and there's a replacement?

sturdy oar
#

you simply get the InventoryView lol

#

Inventory title field has long been removed

floral isle
#

ok thx for the help

rocky plinth
#

Hi, I just wanted to ask if there's an option / plugin
When a server is on
Then in discord show on
And when server is down
well, shows offline in díscord

undone narwhal
#

I know there is a plugin called DiscordSrv which link your server with discord, but don't know the features (SpigotCraft is a DiscordSrv bot)

rocky plinth
#

ok I'll see it

#

Ty

floral isle
#

eh?

flat pelican
#

?he

forest rock
#

So will Spigot work with 1.16? How will this work.

frigid ember
#

i have a problem with my server
everytime i join or using a plugin i got kicked with this error message International Expection: io.netty.handler.codec.DecoderException: Java.until.zip.DataFormatException: incorrect header check
or Internal Exception: io.netty.handler.codec.CorruptedFrameException: length wider than 21-bit
can somebody help me

#

Dependency 'org.spigotmc:spigot-api:1.15.2-R0.1-SNAPSHOT' not found, any ideas?

#

i'm using intellijidea community & ubuntu 20.04

bold anchor
#

Add the repository?

frigid ember
#

i did

#

nvm, i think i got it

#

can somebody help me ?

hollow hedge
#

can somebody help me ?
@frigid ember What version of Minecraft are you running? Searching for those exceptions on google appears to pull a lot of 1.8 issues.

frigid ember
#

1.12.2

hollow hedge
frigid ember
#

is the error a server or client problem?

#

if it's a client problem it is okay if it's a server problem it would be bad

hollow hedge
#

I'm almost certain it's a client issue.

frigid ember
#

okay

#

thank you

frigid ember
#

do somebody know a plugin that makes that you can put potion effects on items (if you wear a farming armor you get speed)

sturdy oar
#

in which case this can be null?

#

i can't think of why the Block Damager on a EntityDamageByBlockEvent would be null...

steady osprey
#

i want to go through all summoner objects and save them to an array, heres a yaml example

data:
  Summoner@5c647e05:
    Level: 1
    Location: World x y z
    Type: Ores
  Summoner@7852e922:
    Level: 3
    Location: World x y z
    Type: Ores
  Summoner@70dea4e:
    Level: 2
    Location: World x y z
    Type: Generator
  Summoner@6ghg524:
    Level: 1
    Location: World x y z
    Type: Ores
  Summoner@546gmr6:
    Level: 1
    Location: World x y z
    Type: Generator
  Summoner@ncki78f:
    Level: 2
    Location: World x y z
    Type: Ores

how would i loop through all the Summoner@...s and get the data from them

sturdy oar
#

you load a list of objects

#

with yaml deserialization

#

oh nvm

#

you can probably just get the keys

#

this can be done in a few ways

steady osprey
#

the Summoner@...s are Configuration Sections right

tame current
#

My server crashes without timings error or console error

#

can someone help me

lone fog
#

Does it still have a crash report

frigid ember
hoary parcel
#

Switching to IJ might help ^^

#

Providing more info might help too

#

What doesn't help is posting screenshots without any info

frigid ember
hoary parcel
#

Remove the file

#

Stop at the slash

frigid ember
ivory tundra
#

I CANT MAKE A SERVER

#

I DID THE TUTORIAL

#

but when i open the .bat it does nothing D:<

sullen harness
#

java -jar spigot.jar

frigid ember
#

I need help finding a good custom menu plugin for my server so when u join u get the item for the menu and you can click on items in the menu to tp you to other maps/worlds

#

I have looked on google non work

hoary parcel
#

@frigid ember that's eclipse being dum, you can cycle thru suggestion typoes with control space or smth iirc

#

Choco might be able to help

#

I don't use eclipse

subtle blade
#

@frigid ember you can cycle between different proposals using Ctrl + Space

#

Seems your default was changed from task-focused Java proposals to template proposals

#

Go to Windows -> Preferences... then Java -> Editor -> Content Assist -> Advanced

frigid ember
#

Hey guys

#

I've got the following method for playing sound in a world. I want to play the sound at a location, not at specific players or for all players. I want to play the sound ONLY to those players are are near this location.

#

        Bukkit.getWorld(Statics.worldName).playSound(location, soundName, SoundCategory.MASTER, 100, 1);

    }```
#

Yet for some reason, this sound is played for all players in the world, rather than those close to the location.

#

Any idea whats going on here?

subtle blade
#

You've set the volume to 100 😛

#

"volume" is a metric of distance

#

i.e., you've set it to be very, very distant

frigid ember
#

oh