#help-archived

1 messages · Page 190 of 1

lone fog
#

Fix it

subtle blade
#

I'm not 100% certain if that applies to FurnaceRecipe, although I'm inclined to believe that's not the case

lone fog
#

Or else >:c

subtle blade
#

Well that's why it's still deprecated

#

We kind of want to get that implemented before undeprecating it

#

Basically have it apply globally to all recipes

lone fog
#

Yeah

lone fog
#

I remember when BlockDropItemEvent was draft

frigid ember
#

is this where i ask about FastAsyncWorldEdit?

lone fog
#

No that would probably be the FastAsyncWorldEdit discord

#

If they have one

frigid ember
#

well i got lead here

#

go to IntellectualSites

#

they have FAWE support there

#

look

pastel nacelle
#

the chad option is to not use fawe

#

which, for the record, is short for fast async world exception

lone fog
#

But

#

It’s a fast exception at least

scenic girder
#

would it be unwise to ask a general server question here that doesn't relate fully to spigot? I'd ask on the forums but it's 2am and I've spent 3 hours trying to fix this and cant bear waiting for a response

pastel nacelle
#

don't worry

quick arch
#

^

pastel nacelle
#

however stupid or off topic your question might be, someone has asked a more stupid and off topic question before

#

usually in the last 24 hours

quick arch
#

like the one above yours

scenic girder
#

here goes

#

I'm trying to port forward a locally hosted server (hosted on my laptop, just for me and a couple other people max at one time). so I've port forwarded it, and tried almost every solution online but no cigar - it still says closed when I check it with all ping sites. definitely a port forwarding issue as I can connect using localhost/my pc's ip. I want people to be able to connect externally using my public ip.

#

excuse the spelling errors. my brain is very tired

pastel nacelle
#

to be honest I would almos recommend just grabbing a cheap plan off some low end shared hosting provider

keen compass
pastel nacelle
#

pebblehost for one has plans starting at like 3usd/quarterly

#

port forwarding can be a piece of shit sometimes

quick arch
#

ngrok 🤔

pastel nacelle
#

especially if your ISP is one of the nasty ones

quick arch
#

port changes everytime it starts however

scenic girder
#

I live in the UK so I believe it's slightly better here, but still damn annoying

pastel nacelle
#

not to mention that even a 0.30$ usd/month shared hosting server will probably outperform your laptop

quick arch
#

especially if your ISP is one of the nasty ones
that's Choco, he's paying 140 CAD for 14/10 or something (that's the best speed and provider at his place)

crimson sandal
#

Oh jeez!

quick arch
#

yeah rip him

rich olive
#

canadian isps are scammers

crimson sandal
#

The house I just moved to has 150/30

potent oxide
#

then add the value
@south talon same thing with remove?

rich olive
#

at the building I work at, they installed fibre 8 years ago and still haven't "activated it"

#

stuck using dsl

quick arch
#

Choco won't move out cause it's nice there or something 😢

crimson sandal
#

Soon it’ll have almost gigabit with 900 down 😄

scenic girder
#

sucks to live in the british countryside

hardy cedar
#

I pay 40 $ per month and i get 100 gb for those 40$ and actually with 15mb speed 💔

crimson sandal
#

At my accommodation at Uni I got 1000/1000 1ms

#

That was the life

scenic girder
#

whaaat

pastel nacelle
#

1ms to the building next door maybe

#

1ms across the globe is unfeasible even on fibre

crimson sandal
#

1ms across the uk

hardy cedar
#

100gb to use is nothing ngl i can finish it in 15 mins

scenic girder
#

1ms is impossible with our current technology

#

right?

pastel nacelle
#

yeah i use several times that in a month

scenic girder
#

star link is, what, 43ms?

crimson sandal
#

Star link is bad for latency?

pastel nacelle
#

thankfully where I live at we don't have limits on data

#

can just churn out utorrent indefinitely

scenic girder
#

I was under the impression it would be faster than the big boi cable under the sea that the NY stock exchange use

#

may be muddling up facts here though

crimson sandal
#

I think it’s faster but obviously there’s way more distance to travel so that cancels it out

lone fog
#

Starlink is probably worse than fibre

#

But faster than higher orbiting satellite

crimson sandal
#

And obviously you’re working with moving satellites

odd knoll
#

Starlink will be better over long distances IIRC.

lone fog
#

But can I get more than 10/1 for $70CAD

crimson sandal
#

Hopefully 😂

#

But 1ms ping is definitely a thing

#

I get 10-14ms at my house

scenic girder
#

I think star link is actually faster than fibre

odd knoll
#

SFP ports :).

scenic girder
#

as light moves slower in glass than a vacuum

#

hm

#

wait

red zenith
#

Starlink is LEO, Traditional Satellites are 33k+ miles away. So the latency is going to be comparable with land line.
However, the weather is still going to impact your service.
But, if you live in a rural area where the isps are scarce and unwilling to spend the money to roll out traditional internet, what other options do you have?

lone fog
#

Easy

#

Put the data you need to send onto USB and mail it

crimson sandal
#

Yeah fibre is still going to be more reliable for most people

red zenith
#

I'm using fixed wireless now, but AT&T is still relatively bad.

#

Yeah, but if you cannot get fibre, it's not even worth mentioning.

wide yacht
#

hello could any one help me upgrade from spigot 1.15.2 to 1.16.1 iv tried to do --forceUpgrade and --rev 1.16.1 but it just redownloads 1.15.2

lone fog
#

When can we all get gigabit

odd knoll
#

Sounds like backblaze.

#

Internet too slow? We'll just mail u a drive free of charge.

red zenith
#

When giga hits you with her chompers

crimson sandal
#

When’s 10gigabit coming to the home? 🤔🤔😂

keen compass
#

starlink isn't going to be faster. It could have a higher bandwidth capacity, but due to latency and power required to transmit that far, it won't be faster and if it does become faster it will be super expensive to keep those speeds due to power constraints lol.

lone fog
#

java -jar BuildTools.jar --rev 1.16

pastel nacelle
#

forceupgrade is not necessary for updates past 1.13

odd knoll
#

O shoot, this is help. We should go general.

red zenith
#

In terms of latency it should be miles better than traditional. Obviously not my first choice.

keen compass
#

its not miles better

red zenith
#

in terms of distance, it certainly is

keen compass
#

you will get no better then 100ms

red zenith
#

I'm lucky to get that now

pastel nacelle
#

distance isn't even the real concern

#

it's the number of relays and switches on the way

#

a plain signal would cross the globe in practically an instant

keen compass
#

distance is the concern as that is what is the major factor in latency. It isn't a factor in bandwidth capacity or how fast you are transmitting.

#

Plain signal will not cross the globe instantly

pastel nacelle
#

yeah, physical distance isn't

red zenith
#

What we need more than anything is more competition, to force the cellular isps and other companies that provide service, to make theirs more reasonable.

keen compass
#

However, I am glad we are finally having some entity do more with space

#

so while although Starlink won't be better in what we have, what it will do is provide more access to what we have already

wide yacht
#

java -jar BuildTools.jar --rev 1.16
@lone fog i just tried that and it downloaded 1.15.2 again lmao

keen compass
#

as well as cheaper access

wide yacht
#

i dont understand at all lmao

lone fog
#

Well it shouldn’t

#

Everyone else has done it

red zenith
#

come on man, everyone is doing it

scenic girder
#

as well as being lower than all other comms satellites, they send information straight to the user instead of to a ground stations and through cable

#

which is exciting

lone fog
#

Actually it’s --rev 1.16.1

wide yacht
#

oh i cant send screen shots

quick arch
#

Just get unstable dev versions with --dev >:)

lone fog
#

You need to be verified

wide yacht
#

but yea i tried 1.16.1 as well as just 1.16

pastel nacelle
#

well i mean

scenic girder
#

ya need to verify

keen compass
#

@scenic girder indeed, but I don't see it being possible because of the lower power constraint of devices for home use, you won't get instant connections nor will that be possible

#

for instant connections*

pastel nacelle
#

physical distance, except for the implied switch/relay infrastructure to keep the signal intact, is a non-factor

keen compass
#

it is a factor

pastel nacelle
#

a plain signal can cross the globe like several thousands of times in a millisecond

wide yacht
#

ya need to verify
@scenic girder my spigot account?

quick arch
#

yes

#

verify your spigot account

keen compass
#

@pastel nacelle that is impossible

#

but ok

wide yacht
#

it is lmao

scenic girder
#

yup horse

red zenith
#

3/4 of second latency vs 1/10th would be noticeable

wide yacht
#

lemme double check

quick arch
#

There's a verification channel where you verify

lone fog
#

Light can circle the circumference of earth at the equator in 0.133 seconds

#

So it would not be thousands of times

wide yacht
#

oh to send screenshots?

pastel nacelle
#

the speed of a signal in copper is like 280,000km a second

quick arch
red zenith
#

You're more than welcome to sign up for service in the real world, under realistic settings, and try it, trust me, satellite sucks

keen compass
#

I literally trained on satellite communications in the Army. It is impossible to have instant connections via satellite with restricted power constraints. Only way it is possible is both the sender and receiver don't have power limitations and can project enough power to make that possible. Currently it isn't feasible or a reality yet on that part. It isn't free to emit signals. It costs energy to emit signals of any kind.

pastel nacelle
#

again, i'm taling about physical distance alone

#

yes

#

yes, physical distance does necessitate infrastructure to keep the signal viable

wide yacht
scenic girder
#

makes sense

pastel nacelle
#

99.9% of the latency comes from these systems

#

not the physical distance

keen compass
#

Even physical distance, we still have the atmosphere the signal has to travel through. While we can compensate for signal loss, we don't automatically regain the bandwidth on that signal loss

pastel nacelle
#

yes, which, again, necessitates infrastructure to keep the signal from dissipating

#

which will account for 99.9% of the latency

#

not the physical distance itself

wide yacht
#

that was after typing verbatim java -jar BuildTools.jar -- rev 1.16.1

keen compass
#

Which infrastructure are you referring to, to keep the signal from dissappating the devices are going to be in peoples homes

#

in the US, FTC restricts the power devices can consume

#

or emit

pastel nacelle
#

yes. but again, my argument is that the distance itself isn't the bottleneck

keen compass
#

now if we were talking about like a base station then sure that could be more possible to do

#

@pastel nacelle its not the only bottle neck no

#

but it is one of many, because it is the distance that determines the amount of power required

lone fog
#

Dangit guys go talk about your 5G mind control in general

scenic girder
#

on a completely unrelated sidenote, where my thinkpad users at

pastel nacelle
#

power is a trifling concern

keen compass
#

@lone fog not even talking about 5g

#

not even remotely close

lone fog
#

Yes that was a joke

wide yacht
#

Just get unstable dev versions with --dev >:)
@quick arch i just did that fuck it

#

that did work thanks lmao

quick arch
#

lul

wide yacht
#

literally the only way to do it

#

never mind it didnt work lmao

#

it looked like it was

#

but its still 1.15.2

lone fog
#

Do you need to update build tools for newer versions?

#

I didn’t think so but maybe

wide yacht
#

i have the newest one i was thinking maybe it was an update for 1.15.2 or something idk

#

idk which one to download if not the newest one

lone fog
#

No newest should be right

scenic girder
#

I am so pissed

#

I've done so much to try fix my server's portforwarding issue

#

and that beacon program was like

#

'ports go brrrr'

#

seriously ive spent 3 hours

#

changing router settings, setting up my pc to have a static ip, restarting the router after changing so many settings

lone fog
#

Don’t get ddosed by angry kids :p

wide yacht
#

No newest should be right
@lone fog im trying a slightly older one right now just to see what happens

scenic girder
#

aha I don't really 'game' anymore so not an issue

wide yacht
#

it seems like its downloading 1.16.1 but we'll see

#

ok so that worked

#

idk if theres a place to report bugs or if that even is a bug

#

but build#120 of buildtools wont download 1.16.1

quick arch
#

the latest version 🤔

wide yacht
#

i used build#113 with no issue

quick arch
wide yacht
#

yea idk weird but very annoying lmao

frigid ember
#

Is there an entitytargetevent or something like that?

nimble stump
#

Actually yes

#

Lol

#

I believe it’s like EntityTargetEntityEvent or something

lucid quiver
#

hi everyone - i apologice for my absolute n00b-ness here, i'm starting down a project to use MC for some data visualization (weird i know). i have spigotmc up and running, and i can connect to it with the java client, no problel. i'd like to generate a void creative world as a sort of 'lab space' i can build things in. i downloaded the VoidGenerator.jar file and put it in plugins/ - i restarted the server, and i see the configuration.json file in plugins/VoidGenerator/ - so that's good. I do not now how to activate it. all the tutorials seems to say use the multiverse plugin to manage this - but i have just one world, one scratch space. can i invoke this plugin to regenerate the world as voidspace easily?

#

also, serverthreads showed it go active:
[22:31:08] [Server thread/INFO]: [VoidGenerator] Loading VoidGenerator v1.6.1
[22:31:08] [Server thread/INFO]: [VoidGenerator] Enabling VoidGenerator v1.6.1

#

crap. i got it 🙂 . i had to all the world... 'world'... now i have a void world. Never mind! 🙂

frigid ember
#

EntityTargetEntityEvent i

#

EntityTargetEntityEvent i'm not sure this is an event

#

It says this event doesn't exist

quick arch
raw arch
#

Anyone here familiar with ParadiseLand?

latent rock
#

How do I disable mass iron golem spawning from villager farms?

#

Not villager farms but hubs

frigid ember
#

Looking for a factions plugin for my factions server

#

Paid or unpaid idc

tall crystal
#

@lucid quiver It doesn't matter if you only have one world or not that plugin works specifically as being a generator for multiverse

lofty otter
#

so im just using buildtools and its installing portable git even though I have git installed? I googled a bit and found this, https://www.spigotmc.org/threads/building-spigot-on-windows-without-downloading-portable-git.344198/ It says at the bottom that if git is in the path that portable git wont be installed. But i have git in the path so wtf?

fleet crane
#

@lofty otter you need bash in the path also

lofty otter
#

like the linux bash?

#

is that even a thing on windows

buoyant path
#

Does worldguard have an API?

tough kraken
#

can i get the console output? in my case, get every line that has been sent to console, and send it to my discord-channel

the question is how to get that output

buoyant path
#

probably with Bukkit.getLogger()

#

LogRecords I believe not sure

fleet crane
#

@lofty otter yes and msysgit includes it

quick arch
#

get every line that has been sent to console
Apache Log4j iirc

sage summit
#

How would I make a chest gui that can store items and saves those items per player? Like the essentials /enderchest

grim halo
#

@buoyant path Yes worldguard has an API

buoyant path
#

I see now

#

but their maven dependency is not loading

grim halo
#

@sage summit If you just want to store Items in an Inventory its not much of a GUI anymore.

buoyant path
#

ive spent 10 minutes trying to get the dependency to work lol

sage summit
#

oh yeah true

frigid ember
#

anyone know the problem

grim halo
#

You can just create a new Inventory and open it for the Player.
The simplest way would be something like:
Map<Player, Inventory> then load the inv when the player joins and save/unload the inv if he leaves

frigid ember
#

can anyone help

sage summit
#

ummm ok, ill try my best for that

grim halo
#

@frigid ember Wrong file formatting. Dont use tabs.

#

It literally says "(Do not use \t(TAB) for indentation)" XD

frigid ember
#

what tf is tabs

grim halo
#

The button with arrow left + arrow right... the one over capslock

#

The button that is on 50% of keyboards literally labeled "tab"

#

@buoyant path Did you remember to also add the repo and not just the dependency?

buoyant path
#

yea

#

it says version 7.0.3 does not exist

#

but I have it

#

here

grim halo
buoyant path
#

intellij can be weird sometimes I guess?

grim halo
#

Sometimes maven does weird things with dependencies. I always just restart intellij if he oesnt want to resolve the repos

buoyant path
#

@grim halo it wont show my project src anymore

frigid ember
#

how about this one

grim halo
#

Thats just a plain old NPE

#

Go to the line and check what Object might be null

#

NPE = NullPointerException

frigid ember
#

What

#

how to

#

im using a plugin btw called specialized crate

grim halo
#

if(someObject == null) {
System.out.prinln("SomeObject is null")
}
Just remove it after you found out whats null

#

Wait so its not your own plugin?

frigid ember
#

nope

grim halo
#

Then check if you set up the config correctly. If it still doesnt work contact the author

frigid ember
#

author is inactive -_-

#

How do I get the Default Level of the server? There's no getDefaultLevel() function, so I figured I'd ask

#

or at least see if there's an alternative

grim halo
#

What do you mean by default level? You mean the difficulty?

frigid ember
#

Default world*

grim halo
#

Hm... not sure if there is an api way. Let me check

frigid ember
#

Alright

grim halo
#

I would have 2 ideas without looking at the docs.

  1. Bukkit.getWorlds(). and check the first 3. Pick the one that does not contain "nether" or "end" (Its also possible that the world with the index 0 is always the default world)
  2. Get the server.properties and just read the line to check the world name
frigid ember
#

Ohh, I'll have to test that out. Let me know if you find anything out with the API.

fleet crane
#

getWorlds().get(0) ?

grim halo
#

Assuming the main world cant get unloaded and is always at index 0 (Never tried unloading the main world)

frigid ember
#

i don't think you can

vernal spruce
#

Yep you cant

quick turtle
#

I get an UnknownDependencyException for ProtocalLib when I do depend: - ProtocalLib in my plugin.yml file. Doing /pl tells me ProtocalLib is installed so I don't know why it doesnt recognize it

vernal spruce
#

is that the right format

#

for adding dependency?

quick turtle
#

Yea

#
depend:
  - PotatoOlympics
  - ProtocalLib
vernal spruce
#

thats not how you add a dependency

quick turtle
#

wait

#

Yes it is

#

its a yaml list

#

but im retarded

#

I put protocal

#

instead of protocol

vernal spruce
#

depend: [WorldEdit, Towny]??

quick turtle
#

You can use a yaml list as well.

#

it works and always has

vernal spruce
#

Yeah no shit i saw

quick turtle
#

e.e

vernal spruce
#

i guess do it if you can thats a valid reason lmao

quick turtle
#

lol

bronze acorn
#

hi dlg

quick turtle
#

Hey Taah

kind crow
#

Hi, I'm looking for a bungeecord plugin that is moving players to one fallback server when they get kicked with one kick message, moves them to another fallback server when they get another kick message and kicks them if the kick message doesn't match with either of the ones from the list. KickMe now only supports one fallback server I think

slim hemlock
#

is there a way to hide the purple glow on enchanted items for specific items?

grim halo
#

@slim hemlock The enchantment glow is client side. If the client thinks the item is enchanted then it will glow

#

There is a workaround. You can intercept the item packet, remove the enchantments, add the lore for the enchantments and send it to the player.

slim hemlock
#

so packets only?

grim halo
#

I think so yes. But it shouldnt be that hard. Ill write you an example if you want

slim hemlock
#

I'm afraid this would sort of affect performance at scale unfortunately if that's the only way

grim halo
#

It will for sure not. You wont ever see this in the timings.

slim hemlock
#

even if it's doing this for dozens of items per player for 40+ players per server?

silent shuttle
#

good morning guys

grim halo
#

You will reach the vanilla server limit way before you notice this.
It might start to come up if you have >500 ppl on one server.

#

At around 1% tick time

slim hemlock
#

well if you can show an example i'd love to see it then

grim halo
#

k give me some mins

vernal spruce
#

Where the ideea that packets are resource expensive came from?🤔

slim hemlock
#

I'm more worried about finding when it is necessary to prevent the packet from being sent than the act of sending the packet

#

or not sending, in this case

vernal spruce
#

You dont prevent it

#

You just catch it and stop it

#

Its actually rather easy as its closeish to the event system

#

You can listen to the packets and simply check if it has the name

frigid ember
#

anyone know how i can make it so i have 3 lobby servers?

vernal spruce
#

Just google it im sure it has been asked alot of times

#

As im not experienced in bungee got not help for it

proud beacon
#

why is it soo buggy in 1.15 and 1.16?

frigid ember
#

np

vernal spruce
#

Buggy?

proud beacon
#

Yes

#

its lagging alot and sometimes crashing my minehut server

vernal spruce
#

Minehut?

proud beacon
#

yes

vernal spruce
#

Ahh ofc

#

Ur runnig a free host dont expect quality

proud beacon
#

i paid 2$ for it

#

i paid upgraded

vernal spruce
#

And is that much for you?

#

A avergae size server pays 200$+ to hold a stable server

proud beacon
vernal spruce
#

At such a low specs dont expect everything to run smoothly especially with the ram

proud beacon
#

oh ok

frigid ember
#

just a bit of advice, don't expect your server to success unless you have a decent budget. you need at least a thousand or more preferred to make something decent. not to mention, you actually need to know what you are doing, need good staff, devs if necessary and of course content creators to get the word out there, @proud beacon.

proud beacon
#

i thought a 8$ server will run out but i dont have that budget

vernal spruce
#

I mean unless you have the players for it no need to upgrade

proud beacon
#

also i have a question can my 4 gb ram i5 old laptop be a server?

vernal spruce
#

Also i think a vps would be much better if you have the knowledge to configure it

#

You can but its not recommanded

#

to hold servers on local machines

proud beacon
#

oh ok

vernal spruce
#

As its really risky

proud beacon
#

ok

#

so i just wait until i collect some players in minehut then i will go on a real server

vernal spruce
#

I mean you need steady income

#

rather than a player number

#

like 12$ might be enough for a first vps

#

Hetzner or other cloud centers give you 8gb ram for 10E

#

and decent specs(cpu)

#

but they require knowledge in running them

#

once you bought a vps ur on ur own

grim halo
#

i got an i7 4790 + 32GB of ram + SSD dedicated for 23.50$. I got it back when not so many ppl knew about hetzner. Super nice for mc servers.

vernal spruce
#

Oh dang you got a good price

#

Are they expensive now? i thought theyr decent

#

ahh yes

#

its from 30+

grim halo
#

Theyre still good but a lot off ppl just bet way too early now. So the racks dont go as cheap anymore

vernal spruce
#

@grim halo got any problems with it? i heard some negative things but in my experience(3 different clouds) were perfect

glacial umbra
#

Is there any way to make the /nick | /nickname command be able to allow inputs with spaces?

grim halo
#

I never had any problems. 99.9% uptime and they even upgraded my hdd to an ssd when i asked (i payed them the drives tho ^^)

vernal spruce
#

@glacial umbra with a stringbuilder you catch

#

all the args after a certain index number

#

@grim halo so overall its a good hosting service

glacial umbra
#

Alright- I'm not really into java coding, but I'll let another person who knows about it know

grim halo
#

Ok im done with the enchantment hide packet adapter.

#

?paste

worldly heathBOT
vernal spruce
#

Ahh that question for sending the item enchanted without an enchant?

slim hemlock
#

ok so a few turnarounds later it turns out both the packet solution wouldn't work for a list of reasons and also custom models in resource packs have a way to not have enchantment glow applied to them so my issue is resolved but I'd still like to see the packet solution for other packet things I'm going to need to address

grim halo
#
  @Override
  public void onEnable() {
    ProtocolLibrary.getProtocolManager().addPacketListener(new EnchantmentHideAdapter(this, item -> item.getType()== Material.IRON_AXE));
  }
vernal spruce
#

never had a problem with enchantment numbers

grim halo
#

Thats how you register the adapter so that only iron axes will have no glow

vernal spruce
#

tbh i just ignore them

scarlet creek
#

Can I ask about plugins here? Or is this the wrong place?

vernal spruce
#

?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.

grim halo
#

lul where can i find all commands from cafebabe

#

?help

#

?info

vernal spruce
#

?commands

#

@grim halo press her

slim hemlock
#

thanks for the help 7smile I'm going to read up on this as soon as I wake up tomorrow

vernal spruce
#

and type "commands" in a private message

grim halo
#

Ah nice

scarlet creek
#

Okay, does anyone know about a plugin for banning mods, specifically minimaps for Paper 1.16.1? I tried gProtector, installed it as instructed, but it doesn't work.

vernal spruce
#

You cant really detect modded clients

grim halo
#

?topic

vernal spruce
#

All anticheats or similar have a really hard time doing it

scarlet creek
#

Dang

vernal spruce
#

@grim halo most likely been added some server only commands

#

wich somehow we can see

grim halo
#

Its rly hard. You can listen for certain packet channels that send forgemod infos but they are not guaranteed to send them

vernal spruce
#

!commands

#

I mean most clients dont do

#

i think only the big ones like badlion

#

wish we had more control over certain stuff

#

when it comes to client<->server

scarlet creek
#

Okay, thank you so much. Guess I'll have to find a different way.

grim halo
#

Yes it would make several things easier

#

I think there was one plugin that did this

vernal spruce
#

It would also help creating alot of new stuff,most annoying is the fact

#

that i cant listen to every keypress

#

thats triggering

#

could make some nice immersion gamemodes if i could

frigid ember
#

you could also probably make a keylogger for cracked servers where you have to login

grim halo
vernal spruce
#

The recent login plugins already simply

#

show you the password typed in the console

#

im talking about copy of games

scarlet creek
#

It doesn't support 1.16.1, though, does it?

vernal spruce
#

like a dayz mod

#

r to reload,z to go proned on ground(set to glide or crawlhole)

#

or mmorpg with keybinds to specific skills and shit

grim halo
#

keybinds would be nuts

vernal spruce
#

yeah

edgy sail
scarlet creek
#

Oh, interesting.

edgy sail
#

LibHatesMods does something similarish, in that you can detect forge & fabric

#

But nothing else

vernal spruce
#

ik that i can use a modified client to do this but it would be locked to that specific thing..

grim halo
#

All we need is:

  • Creating new GUIs
  • Support for custom Blocks
    Then we are almost at forge mod lvl at what we can do
vernal spruce
#

basically becomes a modded server at that point

#

imagine having custommodeldata

#

for blocks

#

ma gawd

quick turtle
#

Lol good luck getting Minecraft to give u that level of customizability

vernal spruce
#

it eventually might

#

or a standard created by spigot/paper at that point

edgy sail
#

New guis - You can use a resource pack to remodel inventories, but :(
Custom Blocks - Resource packs support this

quick turtle
#

That's true ever since 1.9 the game had been changing majorly every major release

vernal spruce
#

Yeah but you sacrifice

grim halo
#

They were talking about mod support for over 7 years now. I dont think this will come any time soon

vernal spruce
#

a block type

#

you cant create/add as many as you want

edgy sail
#

mmm, you could use armorstands.

vernal spruce
#

and brick the server with more than 200-300..

quick turtle
#

Wdym u can use durabilitys

edgy sail
#

😄

vernal spruce
#

I thought about some posibility

grim halo
#

The render performance would take a huge hit if you used armorstands

#

also the tps would just perish

vernal spruce
#

We do have the mushrom block to try do textures

#

but were limited to minecraft patterns

edgy sail
#

Yeah I was thinking about "fancy" blocks, not actual dirt type common

vernal spruce
#

Yeah they could work

#

in that case

grim halo
#

Also the mushroom blocks dont have a hardness or explosive resitance.

vernal spruce
#

you can screw with that

#

but still not the best

edgy sail
#

3.3mb 😐

grim halo
#

And they update as soon as you place something nearby. Tried a lot of stuff with them and nothing was rly satisfying

quick turtle
#

You can code that in but its hacky

#

The hardness and stuff ^

vernal spruce
#

Hmm 1 sec

#
        PacketContainer fakeAnimation = protocolManager.createPacket(PacketType.Play.Server.BLOCK_BREAK_ANIMATION);
        fakeAnimation.getIntegers().write(0, player.getEntityId() + 1).write(1, stage);
        fakeAnimation.getBlockPositionModifier().write(0, new BlockPosition(location.toVector()));
        try {
            protocolManager.sendServerPacket(player, fakeAnimation);
        } catch (InvocationTargetException e) {
            e.printStackTrace();
        }
    }```
#

you can simulate the break animation

#

but the block wont receive the "cracks"

#

Wich again having to do this for every single blocks wont be nice

#

Maybe in the upcoming years we will receive a miracle from mojang

edgy sail
#

I'm legit surprised you can't register custom blocks in resource packs

vernal spruce
#

I think its mostly because were limited to what we can store in a block

#

as it pretty much loses all custom data once placed

#

Meaning by being able to add data to it we could achieve that

hollow rune
#

Yo just a quick question idk if anyone will know. Are there any printer plugins that support 1.16 and work. I’ve looked around everywhere and found nothing. Thanks

vernal spruce
#

but the space of a world drastically increases

edgy sail
#

I meant, adding custom blocks as their own thing

vernal spruce
#

printer plugins?

edgy sail
#

I think he means putting an image on a held map

vernal spruce
#

Oh

hollow rune
#

Yes printer plugins, like schematica printer then you have the ingame /printer which allows them to print

vernal spruce
#

Ahh thats kinda hard to pull off with a plugin

#

As schematica handles everything clientside

edgy sail
vernal spruce
#

he wants schematica printer

edgy sail
#

lol

vernal spruce
#

where it adds a blueprint of a schematic

#

wich is almost impossible to pull off without it looking wanky

#

As we have to use real blocks rather than custom ones that only the client can see

edgy sail
#

Armorstands + Marker + Head

vernal spruce
#

would still look pretty bad and kill performance

edgy sail
#

But yeah, it'd still look ugly

#

Come on dude, armorstands are the future

vernal spruce
#

@hollow rune so in short nope dont think you will find any

#

As thats a modded client rather than a server

#

option

hollow rune
#

Stellrow no what it does is it hooks into shopguiplus and allows the printer mod to take from the creative inventory and get charged

sinful spire
#

Uh, why not just worldedit/fawe and /schem load schematic.schematic?

vernal spruce
#

Ahh

hollow rune
#

That’s all the printer command does and that’s all I’m looking for

#

For 1.16

vernal spruce
#

Basically you want

#

a paid creative..

#

I think there were some

hollow rune
#

Something like that for 1.16

ancient ridge
#

jesus that cloudflare link

sturdy oar
#

Oh God

#

That was worse than Amazon

hollow rune
#

LOL

hollow rune
#

It only supports lower versions

#

That’s my issue ahah

vernal spruce
#

have you tried it?

bold anchor
#

Why?

hollow rune
#

Yeah I’ve tried them

#

They don’t enable which is sad :/

vernal spruce
#

Hows the error look like?

hollow rune
#

I found one that semi works but if you give the permissions they don’t work and it doesn’t let you edit your inventory

#

I’ll show the printer mode error instead as that’s the better one sec

vernal spruce
#

but nonetheless interesting ideea

#

might do it when i have time

sinful spire
hollow rune
#

Code one? Pls put it on spigot XD and make it work on 1.16 ly

vernal spruce
#

I mean i only code for latest

#

unless doing a request

sinful spire
#

1.16.2 should be tomorrow

vernal spruce
#

Doesnt matter

sinful spire
#

Or probably just s snapshot

vernal spruce
#

what works of 1.16.1 will work on 1.16.2

sinful spire
#

Probably

hollow rune
#

Ive alr got 1.16.2 support on my server lmao 1 step ahead

#

want me to pm u the error as i dont wana flood this

vernal spruce
#

verify ur account

#

then simply paste it

#

?paste

worldly heathBOT
vernal spruce
#

and show the paste link

#

As only verified users can post links

hollow rune
#

there

vernal spruce
#

thats strange

#

a missing method

#

oh wow

hollow rune
#

A method thats probs required in newer versions

vernal spruce
#

the guy used the wrong import

hollow rune
#

l0l

#

its a paid resource so rip that

#

i could try contacting them to do a 1.16 fix but

vernal spruce
#

are you running

#

latest version on the server?

hollow rune
#

this is the latest version p sure

#

yes

vernal spruce
#

so this is the paid plugin?

hollow rune
#

yes it is

vernal spruce
#

Go to his discord and ask for support

tough kraken
#

well actually i am a bit confused about the Server paths.
how would i check if another plugin exists in the plugin folder?
i want to do something in my code, and check if another plugin (related to this) exists in the plugin folder
what would be the file path for a plugin.jar?

vernal spruce
#

Be more specific you want to check if a plugin is on the server?

tough kraken
#

yeah, my code is related to a plugin, and if someone hasnt it installed, it would showup errors on join

sinful spire
#

because in the plugins folder it could be just disabled with something like plugman (ew)

vernal spruce
#

beside having it soft-depend(wich will load it after it)

#

you can simply check if its loaded through the bukkit pluginmanager

#

wich returns null if its not

tough kraken
#

you can simply check if its loaded through the bukkit pluginmanager
@vernal spruce that would give a NullException, if it doesnt even exits

#

tried that before

vernal spruce
#

no it just returns null

tough kraken
#

uhm

vernal spruce
#

it literally says in the javadoc

#

there is no nullexception

sinful spire
#

just catch thst exception 🤷

vernal spruce
#

if it threw a exception

tough kraken
#

i will try it again, thank you

vernal spruce
#

the IDE would force you to catch

dusky sigil
#

So i want to put delay in my code, like how Timeunit.SECONDS does it. Problem is that method sleeps the whole server, so how can i do this for the plugin only?

#

I want to use a runnable

vernal spruce
#

You use the bukkitrunnable

dusky sigil
#

but that repeats

vernal spruce
#

you have method

#

for all types

#

wait/repeat

dusky sigil
#

i do?

#

how do i do the wait one?

vernal spruce
#

.runTaskLater(plugin,delay{ticks})

dusky sigil
#

kay thanks

sinful spire
#

Plugin be like: i'll do it later

vernal spruce
#

straight outa wiki

#
        
            @Override
            public void run() {
                // What you want to schedule goes here
                plugin.getServer().broadcastMessage(
                    "Welcome to Bukkit! Remember to read the documentation!");
            }
            
        }.runTaskLater(this.plugin, 20);```
dusky sigil
#

"Welcome to Bukkit! Remember to read the documentation!");

#

that stings bro

sinful spire
#

straight outa wiki
nah

dusky sigil
#

i think he changed some things slightly

vernal spruce
#

nope

#
BukkitWiki

This tutorial will guide you in using the scheduler provided by bukkit. It will allow you to defer the execution of code to a later time. This is not the same as registering a Listener, a block of code which is executed in response to an event in the game. Blocks of code may a...

#

Anonymous runnable part

dusky sigil
#

the wiki is savage than

vernal spruce
#

yep..

inland oxide
#

what is the format that fromLegacyText is expecting for rgb?

vernal spruce
#

Havent messed with rbg yet so im out😂

tough kraken
#

so probably like this?

if (Main.getPlugin().getServer().getPluginManager().getPlugin("DiscordSRV").isEnabled()) { EmbedBuilder eb = new EmbedBuilder(); eb.setTitle("**[Challenge] Timer gestartet**"); eb.setColor(Color.GREEN); DiscordSRV.getPlugin().getJda().getTextChannelById("735042945526530054").sendMessage(eb.build()).queue(); } else { //disabled }

inland oxide
#

don't say is something like &x&0&0&f&f&0&0, that's just silly

#

should be more like &#00ff00, right?

vernal spruce
#

doesnt it have to be

#

converted to hex?

sinful spire
#

#66FF00 the best green smh

inland oxide
#

i'll try the first one, since the second one doesn't work (directly)

dusky sigil
#

}.runTaskLater(this.plugin, 20);

#

im getting an error with plugin

#

plugin cannot be resolved or is not a field Main.java /Boss/src/me/ronsiv/Boss line 121 Java Problem

#

and also error with

#

BukkitRunnable()

#

The type new BukkitRunnable(){} must implement the inherited abstract method Runnable.run() Main.java /Boss/src/me/ronsiv/Boss line 117 Java Problem

vernal spruce
#

well its clearly you didnt properly made the override inside

#

post the code

#

?paste

worldly heathBOT
dusky sigil
#

oh

#

i need a override

#

im using a void though

vernal spruce
#

            @Override
            public void run() {
                //Noice code in here
            }
        }.runTaskLater(pl,20);```
#

this can go literally inside anywhere

#

and pl is a instance of the main class

#

that also sounded quite explicit

dusky sigil
#

i dont see how that was ex- oh, oh ok

#

pl cannot be resolved to a variable Main.java /Boss/src/me/ronsiv/Boss line 123 Java Problem

#

so

#

i need a pl var?

vernal spruce
#

that pl var is a instance of the main

dusky sigil
#

so i need a var?

vernal spruce
#

paste the class

#

?paste

worldly heathBOT
dusky sigil
vernal spruce
#

ur working in main

dusky sigil
#

i need ANOTHER CLASS?

vernal spruce
#

meaning you simply have to give that instance

#

meaning "this" keyword

dusky sigil
#

so do this.this?

vernal spruce
#

just "this"

dusky sigil
#

that fixed it

vernal spruce
#

Also not recommanded to have everything in one class but i guess for starting..

dusky sigil
#

i mean

#

its not that complicated

sinful spire
#

Clicking on that link opened it in ME Text and crashed my phone bruh

dusky sigil
#

ill see if i need more

vernal spruce
#

lol rly

#

it just opens a site not a app

sinful spire
#

yeah

dusky sigil
#

Do i have to call my var run?

#

my void**

vernal spruce
#

ofc

dusky sigil
#

well that kinda sucks

vernal spruce
#

thats the implemented method

#

from the runnable

dusky sigil
#

so i can only have one runnable?

#

per class?

vernal spruce
#

you can do as many

#

as you want

#

inside that run{

dusky sigil
#

but its the same method name

#

what if i want different timings tho

#

not just 20 ticks

vernal spruce
#

you are creating a new instance with new BukkitRunnable

dusky sigil
#

wont that get a error?

#

same method run

vernal spruce
#

Someone been slacking on the java basics..

dusky sigil
#

ok sure

vernal spruce
#

Thats the method implemented by the runnable you just newly created

#

its tied to that specific one

#

when you create a new runnable somewhere else it will have its own

dusky sigil
#

like a.. mini class?

vernal spruce
#

run method

#

it is a class by itself..

dusky sigil
#

so how do i call this?

vernal spruce
#

you create a instance of it as you did it

#

    @Override
    public void run() {
               
    }
    }.runTaskLater(pl,20);```
#

inside the run you type ur code

#

wich you want to be executed after that time

dusky sigil
#

oh

#

so its not actually a method

#

ohh ok

#

simpler than i thought

vernal spruce
#

    @Override
    public void run() {
               getPlayer().getInventory().addItem(Diamond)
    }
    }.runTaskLater(pl,20);```
dusky sigil
#

will this only execute once though?

vernal spruce
#

yes

dusky sigil
#

okay

vernal spruce
#

its defined by the type you give it

#

you can delete the .runTaskLater(pl,20) and when you type . it will show you all possible types

inland oxide
#

ok, so it is silly.

#

makes no sense to pad it with an extra character unless there is some sort of unicode issue.

#

§x.7.2.8.9.d.a works perfectly fine too

#

seems there is no real format since it' skips characters

#

§x#7#2#8#9#d#a probalby works as well as §x§7§2§8§9§d§a

hearty spruce
inland oxide
#

oh silly, but "won't leak hex".

hearty spruce
#

Could just use ViaVersion and it auto coverts colors

inland oxide
#

blasphemy!

#

thing is, yeh it won't leak hex, just will use the wrong color and give no indication of breakage.

#

well, I guess we will end up with more "standards" then.

inland oxide
#

and?

#

well, its nice to know that the rgb stuff works in all the gui that I've tested so far.

#

chat, actionbar, title, tablist...

#

didn't test the scoreboard

#

but probably the same

#

not working for me for item names

dusky sigil
#

How can i summon mobs randomly in a area?

#

kinda like spreadplayers

inland oxide
#

is it your server?

#

are you op?

dusky sigil
#

thats weird

inland oxide
#

what version?

#

and if you join with a 1.16.1 client, does it work?

dusky sigil
#

just join with ver 1.16.1

#

try that

#

oh

#

minehut has spigot?

#

i didnt know tha

#

that

#

this prob isnt a spigot problem though

inland oxide
#

whats loading in the console?

#

and have you tried from the console

dusky sigil
#

the - console?

#

.....

inland oxide
#

make sure you server.properties has op-permission-level=4

tacit trellis
#

is there an AIML library to use with a spigot plugin?

inland oxide
#

?paste

worldly heathBOT
raw light
#

server.properties has nothing to do with luckperms man. its ono of your the main files downloaded in the home directory

inland oxide
#

I suggest you learn how to manage a server first. Accessing the console log and editing the server.properties files is very basic stuff. I don't know what kind of host you have, but when you do everything with a menu, you don't get the full understanding of how to properly configure a Spigot server. Suggest you figure out how to get access to the file directory where the server.properties, bukkit.yml and spigot.yml files are stored, as well as the log folders. Any decent provider will at least give you access to the console, might be a menu option.

raw light
#

^^

inland oxide
#

What is going on with item naming and lore?

#

I can't get any lore on an item for some reason.

sinful spire
#

I suggest you learn how to manage a server first. Accessing the console log and editing the server.properties files is very basic stuff. I don't know what kind of host you have, but when you do everything with a menu, you don't get the full understanding of how to properly configure a Spigot server. Suggest you figure out how to get access to the file directory where the server.properties, bukkit.yml and spigot.yml files are stored, as well as the log folders. Any decent provider will at least give you access to the console, might be a menu option.
welp, he has minehut which is one of these free hostings that just connect you to their bungeecord and you get something like serverName.minehut.gg you dont get access to most of the files and live console output is not avaiable

inland oxide
#

that sux

sinful spire
#

i would just suggest him selfhosting for a bit to learn how to setup plugins and stuff

#

also you get pre made plugin configs that you just edit in yaml..

#

like already made tablist with ${server_name} and stuff

inland oxide
#

Is lore somehow different in 1.16.x?

dusky sigil
#

How can i summon mobs randomly in a area?
anyone?

#

kinda like spreadplayers

inland oxide
#

random x and y?

dusky sigil
#

in a area

#

like a 16x16 area

inland oxide
#

make a location

#

with a constructor

#

with random coordinates from the general area

#

and spawn them there

dusky sigil
#

i want to spawn 4, do i have to make 4 enitites?

inland oxide
#

usually.

dusky sigil
#

aw that sucks

grim halo
#

If you want to spawn 4 entities you need to "make" 4 entities...

dusky sigil
#

i mean

#

hm

#

ill think about this later

grim halo
#

I mean you dont really need to "make" them. You just tell the world that you want EntityType X at Location Y.

raw light
#

loading one of my old worlds up. zero plugins
and there are areas on my old map i cant place blocks
no animation to place at all. is it a corrupt chunk or the jar? how do i see if a chunk is corrupted. ive tried both paper and spigot and the same issue

dusky sigil
#

again

#

this probably isnt

#

a spigot problem

grim halo
#

Run your world with --forceUpgrade

opal heron
#

Does anyone know the placeholder for armor defense?

raw light
#

well how tf would i know if its a spigot problem or not @dusky sigil

this is why people ask in the help channel

fossil thorn
#

Everytime i get this Error if i try to build my intellij project: Error:java: Compilation failed: internal java compiler error

raw light
#

@grim halo ill give that a go thanks

opal heron
#

well how tf would i know if its a spigot problem or not @dusky sigil

this is why people ask in the help channel
@raw light

wdym?

grim halo
raw light
#

i was talknig to the person i tagged Ixxa

grim halo
#

@raw light Did you run your server with --forceUpgrade?

raw light
#

about to try now

#

does it go anywhere specific

grim halo
raw light
#
java -Xms2G -Xmx2G -XX:+UseConcMarkSweepGC -jar spigot-1.16.1.jar --forceUpgrade
pause```
#

is that fine?

grim halo
#

yes

raw light
#

in b4 my world breaks

#

😂

grim halo
#

Also 2G is a bit small

raw light
#

this is just localhost

#

on my rig at home

opal heron
#

@grim halo oh im talking about the defense you currently have

raw light
#

o damn. 989,847 chunks

#

didnt expect that

opal heron
#

lets say you did %health% it'll tell you how much health you have

#

so i wanna do the same but in defense

raw light
#

if i give it more ram will it runt he upgrade quicker?

#

and does the upgrade break anything?

inland oxide
#

you did make a backup first, right?

raw light
#

of course. im reviving a 1.12 server to 1.16. this is just all tests

inland oxide
#

i think you need to go through each major version and upgrade

opal heron
#

@plain olive is that a skript?

raw light
#

ah i see

#

the upgrade failed

inland oxide
#

not 1.12 -> 1.16.1, but 1.12.2 -> 1.13.2 -> 1.14.4 -> 1.15.2 -> 1.16.1

raw light
#

is there a spigot page for the upgrade flag i didnt see it

inland oxide
#

gosh i'ts late.

#

so, doesn't look like there is a way to use rgb in lore, huh.

#

at least from the command line

mellow wave
#

RGB Lore is possible

inland oxide
#

It's not working for me @mellow wave

grim halo
#

Go ask in the skript discord

inland oxide
#

what did I miss...

#

/give klugemonkey minecraft:stone{display:{Lore:[{"color":"#7289DA","text":"Test"}]}} 1

mellow wave
#

@inland oxide /give @p stick{display:{Lore:['{"text":"Cool Stick","font":"#","color":"#3DFFF2"}']}} 1

#

um

#

See font

#

Tag

inland oxide
#

says that's optional

mellow wave
#

idk That's the difference I could see. The command I sent works

inland oxide
#

maybe the single quotes?

mellow wave
#

Wait no my bad

#

That font is optional

#

You can remove it

inland oxide
#

yup!

#

single quotes missing

#

coolio

plush kraken
#

why on here does it set the player who executed the command and they player they want to sets gamemode to creative and say your gamemode has been updated to creative and you updated {players} gamemode to creative??

    public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
        if (command.getName().equals("gmc")) {
            if (sender instanceof Player) {
                Player player = (Player) sender;
                if (player.hasPermission("lirus.gmc")) {
                    player.sendMessage("§eYour gamemode has been updated to to §ccreative§e.");
                    player.setGameMode(GameMode.CREATIVE);
                } else {
                    player.sendMessage("§4You do not have permission to perform this command!");
                }

                if (args.length == 1) {
                    if (player.hasPermission("lirus.gmc.others")) {
                        Player target = Bukkit.getPlayer(args[0]);
                        if (target != null) {
                            target.setGameMode(GameMode.CREATIVE);
                            sender.sendMessage("§eYou have set " + args[0] + "'s gamemode to §ccreative§e.");
                        }
                    }


                } else {
                    Console.sendMessage("§4You must be a player to use this command!");
                }
            }
        }```
mellow wave
#

You're always setting your own gamemode too

plush kraken
#

How do I change that?

grim halo
#

check if argument length is 0

mellow wave
#

^^

grim halo
#
mellow wave
grim halo
#

no idea. just googled and got the first thing i saw

sinful spire
#
command /start [<text>]:
  permission: group.default
  trigger:
    set {_startpick} to a diamond pickaxe named "hey" to be unbreakable
    give player 1 {_startpick}
``` @plain olive
#

10 seconds of skript docs

opal heron
#

anyone knows how to fix special characters turning into a weird a symbol

sinful spire
#

change coding to utf-8

mellow wave
#

Save in UTF-8

opal heron
#

the config is on utf-8

#

already did that

mellow wave
#

Then change the letters in it again

plush kraken
#

also the perms wont work for some reason

sinful spire
#

^

plush kraken
#

wait dw

fossil thorn
#

Everytime i try to build my project i get this error message: Error:(44, 26) java: unreported exception java.lang.IllegalAccessException; must be caught or declared to be thrown Error:(43, 26) java: unreported exception java.lang.IllegalAccessException; must be caught or declared to be thrown

opal heron
#

still no luck

#

im getting a message tho "Default system encoding may have misread config.yml from plugin jar"

mellow wave
#

What are you saving the file with?

#

Use McStacker it has more options, also if the max is 3 then 1 is fine?

grim halo
opal heron
#

@mellow wave .yml

mellow wave
#

No what program

opal heron
#

notepad++

mellow wave
#

That should work

opal heron
#

do you wanna see what it turns to?

mellow wave
#

Sure and could you dm me that file so I can take a look at it?

opal heron
#

okay

fossil thorn
#

@fossil thorn What ide do you use? This should be done for you automatically.
@grim halo the first 1

grim halo
#

I dont know an ide that is called "the first 1"

#

Do you program in microsoft word?

fossil thorn
#

i mean i used try {

} catch

grim halo
#

Ah ok. Normally your IDE yells at you if you forget it ^^

fossil thorn
#
                    a.set(packet, footer);```
#

set has a red underline

grim halo
#

red underline = fatal error = wont compile

fossil thorn
#

ye i know but how i fix it

grim halo
#

hover your mouse over it and read what your ide tells you

#

no idea what a, packet, header or footer refers to so i cant gice you advice unless you provide more context

subtle blade
#

Looks to me like protocollib's headerfooter packet wrapper

#

Though yeah, the less information you give us, the more difficult it will be to help you

#

When you ask a question, give more information than you think is necessary

raw light
#

trying to forceupdate from 1.12.2 to 1.13.2 one of my old worlds and it appears to be stuck. is it fucked?

median wave
#

so guys ive been trying to learn about all different kinds of plugins for minecraft

#

is there a reference for us to base upon while trying to find a way to make mobs in minecraft 1.16?

raw light
#

what do you mean make mobs

median wave
#

like mobs that has custom attributes, like zombies trying to kill pigs etc

#

like i dont even know if its possible

#

becase i dunno if i havent looked enough, is there like an area for the documentation of spigot api?

inland oxide
#

I'm wondering why TokenEnchant has a landing page for a 15.x.x version that doesn't support 1.16.x spigot, yet, they check off the box for 1.16 and only make it available from mcMarket?

steady osprey
#
data:
  something:
    key: value
    key: value
  something2:
    key: value
    key: value

im trying to do config.getConfigurationSection("data") but its returning null

plush kraken
#

NCP

inland oxide
#

Isn't it against the rules to list a plugin version here and if you are not actually making it available here??

#

Doubt the 15.4.1 version properly supports 1.16...

#

Doesn't that violate some acceptable use policy?

steady osprey
#
data:
  something:
    key: value
    key: value
  something2:
    key: value
    key: value

im trying to do config.getConfigurationSection("data") but its returning null

grim halo
#

try listing the keys with config.getKeys()

plush kraken
grim halo
#

@plush kraken You cant cancel the LoginEvent

plush kraken
#

oh

#

why

#

or

#

how do I stop it

grim halo
#

You can disallow him to join. I think you can just set the event result

#

setResult(Result.KICK_OTHER) or something like that

plush kraken
#

is there like a disconnect one?

grim halo
plush kraken
#

Ok

grim halo
#

Probably just KICK_OTHER

#

You can always set the kick message in the event too

plush kraken
#

How do I define the reason then?

#

oh ok

#

eh

fickle flicker
#

Hello 👋

grim halo
plush kraken
#

i saw that

#

im confused

fickle flicker
#

Do you have any tips or even examples of good command managers?

grim halo
plush kraken
#

still confuses me

#

where I put it

grim halo
#

@fickle flicker what do you mean by command manager?

fickle flicker
#

@fickle flicker what do you mean by command manager?
@grim halo Command and sub command management

plush kraken
#

@grim halo where do I put it

hardy cedar
#

Oops wrong server

#

Chat*

fickle flicker
#

And if possible (I don't know if it's a good practice), to be able to register commands dynamically

grim halo
#

@fickle flicker I use Aikars ACF. I thinks its very powerfull but you need a bit more Java experience to use it.
https://github.com/aikar/commands

#

Registering a command with autocompletion etc only takes 2min for me with this.
No plugin.yml tinkering or anything

fickle flicker
#

Cool, I'm watching this, thanks 🙂

plush kraken
grim halo
#

You can not kick a player that is not even logged in yet.
Set the proper event result.

plush kraken
#

????

#

How

grim halo
#

Also if the player is banned he wont be able to connect

plush kraken
#

Sorry im new to java

subtle blade
#

He showed you the exact method to use above

tacit trellis
#

what is the plugin.yml path name?

grim halo
#

if you are new to java you should not start tinkering with spigot. Learn the absolute basics and come back.

plush kraken
#

He showed you the exact method to use above
@subtle blade I dont understand how tho

#

how to use it

subtle blade
#

So you should learn how to write in Java first

#

At least understand the fundamental concepts of the language like methods

plush kraken
#

but how

#

pls explain

opal heron
#

Is there a way to make portalframes, endcrystal possible to /give?

#

Essentials blacklist items isnt the problem

grim halo
#

You have an instance of PlayerLoginEvent.
PlayerLoginEvent has the method setResult that takes one of the above
enum values. All you need to do is invoke the setResult method with one parameter of type
PlayerLoginEvent.Result.
Thats the explanation.

plush kraken
#

ohhhhhh

#

ok

grim halo
#

Not even close...

tacit trellis
#

what is the plugin.yml path name?

subtle blade
#

I don't know what that means

#

plugin.yml should be in your project's root directory

tacit trellis
#

like how can I get the path name of files in my jar?

plush kraken
#

Not even close...
@grim halo oh

subtle blade
#

Just relative positions

#

"/plugin.yml" for instance

tacit trellis
#

because I have a directory in the with files I need

#

oh

#

hmm

#

ill try

plush kraken
#

Could you show me 7smile7

grim halo
#

Yes i could. But i dont think it will help you so im not going to.
Pls take our advice and learn the very basics of java.
It will only take you 1-2 days if you are dedicated.

tacit trellis
plush kraken
#

Yes i could. But i dont think it will help you so im not going to.
Pls take our advice and learn the very basics of java.
It will only take you 1-2 days if you are dedicated.
@grim halo k

subtle blade
#

What are you trying to do, GoDead?

tacit trellis
#

I have aiml files in my jar

#

and I need to get the path to access them

plush kraken
grim halo
#

@tacit trellis You can get files as InputStram with your JavaPlugin instance via
this.getResource(fileName)

plush kraken
#

......

tacit trellis
#

would I have to get every file individually then?

grim halo
#

I think so yes. How many are there?

tacit trellis
#

50+?

grim halo
#

You can zip them on compile -> save them with JavaPlugin#saveResource() -> unzip them in a folder -> list them and iterate

plush kraken
#

Can someone else help me?

tacit trellis
#

You can zip them on compile -> save them with JavaPlugin#saveResource() -> unzip them in a folder -> list them and iterate
I could do this but unzip them in a folder and get that folder directory

grim halo
#

right

tacit trellis
#

okay Ill try

chrome lark
#

You should be able to get the JarFile entry from somewhere which would let you access it virtually like a filesystem almost

#

should be easy to write a few lines to recurse over the structure tree and throw it out to the disk

subtle blade
#

Did this for an arbitrary set of dragon template files in my jar

grim halo
#

Ah almost forgot thats a thing.

subtle blade
#

There's probably a much better way to achieve that, or at least avoid having to iterate across all compiled files as well, but yeah

grim halo
#

Wait i maybe got something in my current project that puts together a resourcepack from files inside the jar...

crimson sandal
#

@subtle blade have you ever seen this crash? Apparently getConsoleSender is returning null when it shouldn't, if I remove the @NotNull annotations the server will run 🤔 https://paste.md-5.net/okavotuvif.rb

#

I'm running in IntelliJ's console so I'm wondering if it's anything to do with that

chrome lark
#

Don't build with your IDE

#

(At least, if you do, disable the nullability assertion stuff in the decompiler

grim halo
crimson sandal
#

Ah, nice that worked 🙂

grim halo
#

Pretty similar to what choco did

tacit trellis
#

is that for an entire directory is it for a single file?

chrome lark
#

You can basically navigate a zip file like a fs almost

#

Just, 🤷‍♂️

grim halo
#

Its for an entire directory

oblique axle
#

I need help

#

Is it

grim halo
#

I think spigot is very strict when it comes to accounts.
You basically have to manage your accounts in a way that things like this dont happen.
But you should maybe ping a staff member for this.

oblique axle
#

Possible to use an older version of a plugin in a newer server like what I am saying is. Is it possible to use a 1.13 plugin on a 1.16 server?

grim halo
#

Depends on how the plugin is written. You can at least give it a try.
If its a 1.13 plugin that doesnt use NMS your chances arent too bad