#help-archived

1 messages Β· Page 55 of 1

heady jolt
#

setCompassTarget

buoyant path
#

Yes ik lol

#

But setting it straight

fleet crane
#

You'd have to constantly update it every time the player moves

buoyant path
#

Im pretty sure i made that thread dude

#

i never got a good answer

frigid ember
#

he did lmao

heady jolt
#

okay then idk

#

LOL

buoyant path
#

And this is only for when they have an open inventory

silk nymph
#

How would I go about having a platform that you can walk onto and it teleports you to a random location? There must be a plugin for this because I've been in a server with one

heady jolt
#

PlayerMoveEvent can works too

#

Maybe lurk into someone source code might help

buoyant path
#

Im gonna try using targetblock

manic raptor
#

Hey guys, where can I find a list of all packet classes from net.minecraft.server.v1_15_R1 or just the javadoc?

(PacketPlayOutPlayerInfo, PacketPlayOutNamedEntitySpawn, etc)

heady jolt
buoyant path
#

I believe i might be able to get it by using getTargetBlock, it seems that is has more accuracy as you increase the distance

unreal hedge
#

Or you could continuously set the compass's target in the direction the player is facing?

buoyant path
#

Ive tried that

unreal hedge
#

Or maybe if you send a packet, the server won't overwrite it the same way it does with other packet-related things?

buoyant path
#

Im gonna see what i can do lol

heady jolt
#

πŸ€”

buoyant path
#

what if they face south lol

unreal hedge
#

My question is why would this be helpful? F3 literally shows what direction you are facing

frigid ember
#

If you know there's going to be a block somewhere in the distance you could use line of sight?

buoyant path
frigid ember
#

ah

buoyant path
#

I did all of the animation its just the compass

unreal hedge
#

Or what you could do is get some block really far north, adjust the player's compass' target whenever they walk the distance of a block

#

So if they walk 1 block east or 1 block west, adjust the target block.

frigid ember
#

are you setting it before adding it to the inventory?

unreal hedge
#

If they walk north or south, it wouldn't matter.

buoyant path
#

Yes it should be set before adding it to the inventory

#

you cant move unless hit whilst in an inventory

#

Idek anymore lol

silk nymph
#

Can I use a bukkit plugin on paper?

#

google isn't so descriptive on this one

buoyant path
#

Probably?

#

I don't see why it wouldnt work

frigid ember
#

@buoyant path get the compass Target and output it, see if it is actually changing

pastel condor
#

Yes you can @silk nymph

silk nymph
#

cheers

buoyant path
#

Its changing, I changed one of the commands in my plugin to set it just for testing and it definitely changes, with target block you can get really close, and all the other methods dont seem to work

pastel condor
#

I would recommend joining the paper discord btw @silk nymph

frigid ember
#

You sure it's not just a client side bug then?

buoyant path
#

Yeah its not because I've seen other servers do it

#

I just cant get it myself lol

frigid ember
#

May be worth restarting your client, just to check

buoyant path
#

Is there a way you can change the players yaw, but then make it seem like they haven't moved with packets?

silk nymph
#

I didn't realise there was one, thanks again lol

tropic nacelle
quick void
#

exactly πŸ‘

silk nymph
#

Hi does anybody know how big the regions are on worldguarD?#

#

I can't see any information on it on the github

#

just speaks of how to set a region, but not how to define the sizer

#

size*

frigid ember
#

You set it using the WE wand

#

Select the two diagonals (top corner and bottom corner that are diagonal) and create a region with worldguard's commands

silk nymph
#

Ok I did just see that actually lol but I don't think worldguard has loaded

#

I don't think it's working flat out

#

and I've no idea why, it's in the plugin folder

frigid ember
#

should give you some indication in console

silk nymph
#

I'm not getting any error reports

#

yes i am hang on

#

Am I allowed to paste?

frigid ember
#

?paste

worldly heathBOT
silk nymph
#

It's not that big

#

[09:22:50 ERROR]: Could not load 'plugins\worldguard-bukkit-7.0.2.jar' in folder 'plugins'
org.bukkit.plugin.UnknownDependencyException: WorldEdit
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:272) ~[patched_1.15.2.jar:git-Paper-229]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.loadPlugins(CraftServer.java:359) ~[patched_1.15.2.jar:git-Paper-229]
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:234) ~[patched_1.15.2.jar:git-Paper-229]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:895) ~[patched_1.15.2.jar:git-Paper-229]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]

#

This is the only error report I got

frigid ember
#

You don't have Worldedit installed @silk nymph

silk nymph
#

doofus i am stg

#

Cheers, again, lmao

manic raptor
#

Hi all

DataWatcher dataWatcher = this.entity.getDataWatcher();
dataWatcher.set(DataWatcherRegistry.s.a(6), EntityPose.CROUCHING);
connection.sendPacket(new PacketPlayOutEntityMetadata(this.entity.getId(), dataWatcher, false));

I'm having some trouble with packets, specifically where to find documentation on classes they use or some sort of Javadoc on them that's similar to the spigot javadoc. Does something like this exist? (eg. a Javadoc for classes such as PacketPlayOutPlayerInfo, DataWatcher, PacketPlayOutEntityMetaData, etc?)

In the segment of code I posted, I am sending a packet to make an EntityPlayer I created do the sneak animation for another player and it works well. What I can't figure out though, is what the DataWatcher is doing and specifically what the meaning of DataWatcherRegistry.s.a(6) is and why it works? (Why is it specifically 6, etc?) Is there some official place I can find this information? I've come across this https://wiki.vg/Protocol but I'm unsure on how to use it? Is there a better resource?

frigid ember
#

There's no public java docs for NMS at all, to my knowledge, it's only available to mojang partners (Mineplex etc)

unreal hedge
manic raptor
#

Oh right, okay... That's uh... disappointing

#

I'm unsure of how to proceed aha, a lot of the time if I've ever been stuck I've just refered to the Spigot Javadocs

#

Is there some place that we can read up on DataWatcher, it's arguments, values, etc?

unreal hedge
#

You could... check nms mappings and decompile 🀐

manic raptor
#

Hmmm

unreal hedge
boreal tiger
#

does FileConfiguration#load load everything in the file to memory?

unreal hedge
#

They really should change game state 7's desc so instead of 0 = bright, -1 = bright

frigid ember
#

MCDevs I think

manic raptor
#

Is there really no other way? πŸ˜› Anyone else maybe?

unreal hedge
#

I remember having a nightmare of a time regarding custom images in itemframes and gifs/videos.

#

I wanted to do something really cool with them for one of my minigames, was a while back though

#

With DataWatcher

frigid ember
#

Doesn't the DataWatcher just store the entities state?

#

Aka, if say, a horse is rearing?

hollow crystal
#

i cant run plotsquared on my server why

frigid ember
#

Fuck knows, mind pasting some logs?

#

?paste

worldly heathBOT
hollow crystal
#

i cant run plotsquared on my server why

hidden glade
hollow crystal
#

thanks

#

hoow i use this

#

@hidden glade

hidden glade
#

just copy and paste the logs

hollow crystal
#

the problem is that i cant load it so i cant see some logs

#

@hidden glade

hidden glade
#

hmm try chnaging the plugin versions

hollow crystal
#

ok

silk nymph
#

I'm having problems with non op survival players having access to certains commands that I don't want them to have access to, luckyperm doesn't pick up the commands?

raw nacelle
#

you're going to need to be more specific

silk nymph
#

You're right sorry

#

It's picking up //brush

#

These specifically

#

They don't show up in luckperms so they're somehow enabled by default

#

I just disabled all possible worldguard commands and they still show up

frigid ember
#

200% of tick 😐

#

@silk nymph that's worldedit, not worldguard

silk nymph
#

I meant that

#

In luckperms I disabled everything below TG which was all the word stuff

#

world

#

I'm not sure it's particularly a problem it just looks annoying and unrefined

frigid ember
#

I bought "Featherboard" on SpigotMC, paid already but is not letting me download it is still saying to pay even though I already paid. I also look at my resources for "paid resources" it doesn't show the Featherboard. I have proof of payment.

vernal spruce
#

Wait a bit or contact the author

frigid ember
#

Ok

#

Pretty sure it tells you in can take a bit of time when you pay

#

Hello, my server was working very well, now I open and no one can enter even me, does anyone know how to solve it?

#

Not without console logs

#

?paste

worldly heathBOT
frigid ember
#

I did not understand

#

If you don't share what your console says, we can't resolve an issue

marble ingot
#

This should be quite an easy question for some of you but I am trying to put strings into the config.yml in Whitelist on the command /report whitelist add <username> i have created the command just need to put the data into the section.

Whitelist:
  - str1
  - str2
frigid ember
#

Just struggling with writing it to the config?

marble ingot
#

yeh

#

not something ive done before and couldnt find an indepth tutorial online

frigid ember
#

Get the list from the config, add the new user to the list, set the list to the config again, then save it

marble ingot
#

thats what i thought i was doing lmao

#

lemme grab the code

#
                        config.getStringList("Whitelist").add("test");
                        plugin.saveConfig();
                        plugin.reloadConfig();
                        sender.sendMessage("Β§8Β§l[Β§dΒ§lESΒ§8Β§l] Β§7Added Β§c" + usernameFriendly + " Β§7to the whitelist.");```
frigid ember
#

that?

#

@marble ingot any reason you're not just holding the list in memory? negating the need to reload the config at any time?

marble ingot
#

im not really sure what im doing tbh lmao

boreal tiger
#

why not juse use the server's whitelist

#

instead of keeping a separate list

marble ingot
#

because its not a server whitelist

boreal tiger
#

ah my bad

frigid ember
#

help?

#

@frigid ember try joining the server, then paste what the console gives

vernal lance
#

@frigid ember your payment may be on hold

boreal tiger
#

we dont support paper here @frigid ember

#

it seems like the essentials translation is corrupt though

frigid ember
#

Nah that's just geoIP

#

it's a pain in the arse

boreal tiger
#

no before that

#

ah yeah my bad

marble ingot
#

@frigid ember could you explain how i would hold it in memory

boreal tiger
#

it would probably be best to ask for help in essentials' discord

frigid ember
#

@frigid ember the server is not online

#

@marble ingot what I mean by that is, why not just check against the arraylist? Load the list from config when the plugin enables, just alter the list while the plugin is active then save it when it disables

marble ingot
#

oh i do load it when it enables

#

ohhh

#

i get what you mean

frigid ember
#

@frigid ember Does the console give any extra output? to say that you're attempting to join?

marble ingot
#

i might try that then. But we've diverted anyway πŸ˜„

frigid ember
#

no and in minecraft this appears: connection timed out: no further information @frigid ember

#

@marble ingot first things first, add a for loop for debugging, after adding the test item, loop round the list and send each item as a message, just to help pin point the issue

#

@frigid ember Are you using a hosting provider or?

marble ingot
#

so is that a bug in my code and not a logic error

frigid ember
#

I'm not entirely convinced about config.getStringList("Whitelist").add("test");

marble ingot
#

is there a better way to do that?

#

This is me spewing code out of nowhere lmao

frigid ember
#

I'd always put the string list into it's own variable before altering

#

but that might just be a me thing lmao

marble ingot
#
                        List<String> whitelistValues = config.getStringList("Whitelist");
                        whitelistValues.add("test");```
#

bam

#

πŸ˜„

frigid ember
#

that's how I'd do it aye, just don't forget to set the list in the config before saving the config

marble ingot
#

wait thats what im doing wrong then

#

is it .set

frigid ember
#

Yeah

#

I'm still not entirely sure why you're not just adding to the already existing String list if you've loaded it onEnable though?

#

add it to that then save that to the config?

marble ingot
#

i may be understanding wrong but i would rather it save it to the config straight away so that it updates the config.yml

frigid ember
#

@frigid ember hamachi

#

You can still do that, it just saves you creating un-needed variables

marble ingot
#

eh

frigid ember
#

?

vital delta
#

hamachi lmao, i have not heard that name in a long time

frigid ember
#

But definitely give those adjustments you've just done a go and see if that solves the issue @marble ingot

vital delta
#

i associate that with 2012 youtube tutorials with that iconic song and how to set up a server for your friends to play on

marble ingot
#

lmfaoooo

frigid ember
#

@vital delta use what then

marble ingot
#

just host it off your computer

vital delta
#

and they bring up windows notepad

#

lmao

frigid ember
#

use what then

#

@vital delta

vital delta
#

chill dude

#

I was just saying its funny

#

Havent heard it in a long time

marble ingot
#

@frigid ember so what do i put in the .set

frigid ember
#

but which one do you use -_-

marble ingot
#

you host it off your computer using spigot

vital delta
#

^

#

Theres no need for shit like hamachi

#

Just port forward off your router

#

and host on a machine

vital delta
#

lmao

frigid ember
#

@marble ingot getConfig().set("Whitelist", whitelistValues);

marble ingot
#

ahh k litty πŸ™‚

#

for future reference if i wanted to get config of a sub category to whitelist how would i do that

frigid ember
#

What do you mean?

#

Like list within a list?

wheat pivot
#

Hello. I have a problem with PlaceHolderAPI for KitPvP. It don't works :/

frigid ember
#

?paste

worldly heathBOT
frigid ember
#

can't help without console output

wheat pivot
frigid ember
#

@wheat pivot are you certain it's downloading the correct one for the kitpvp plugin you're using?

wheat pivot
#

yes

frigid ember
#

Which kitpvp plugin is it?

frigid ember
#

if it's not working I'd get in contact with the dev, as they're hard-coded into the plugin itself

wheat pivot
#

ok

#

thx

dusty topaz
#

Β―_(ツ)_/Β―

chrome edge
#

...

dusty topaz
#

The teleport methods ...

#

are you blind or making a weak attempt at comedy

#

it's written out for you

chrome edge
#

You can use HashMap(deletes after restart) or save location into yaml

dusty topaz
chrome edge
#

I advise you to use HashMap for understanding how it works then you can take a look file system.

dusty topaz
#

it's an object

#
player.teleport(new Location(world, x, y, z))
hoary parcel
#

Imagine ppl learning java before deep diving into plugins

chrome edge
#

Good luck!

#

@hoary parcel impossible. It just a dream

dusty topaz
#

okay, so they can either A spam a discord with questions that they could put into google

#

or B learn java

chrome edge
#

I didn't know it ._.

#

Okay we shouldn't be too aggresive to him. He's trying to make a plugin but you have to learn java first. @frigid ember

dusty topaz
#

nah i'm not on the train of you have to learn java

chrome edge
#

Or In the future, you'll be learned java from plugins... It's bad

dusty topaz
#

i'm on the train of you should google stuff that can be googled

#

and when presented with the answer put at least a bit of effort into reading instead of just asking for the code

hoary parcel
#

@hoary parcel Most people want to write plugins and they find out they need to learn Java
@frigid ember and that's the second they should pause for a week and learn the base syntax of java first

#

HTML isn't a programming language

dusty topaz
#

you're telling me im not an xml dev

hoary parcel
#

And I bet the scope of your js work also isnt comparable to writing proper programms

dusty topaz
#

😠

#

JS has proper classes nowadays right

#

with es6

hoary parcel
#

Yes, sure

dusty topaz
#

so creating an object instance shouldn't be that foreign

hoary parcel
#

But I bet he didn't do that yet

#

Am not rude am just giving advice

#

Take a step back, learn the basics of java and you will have much easier time

chrome edge
#

Is it possible to run Minecraft server for a long time without memory leaks? If you've a miencraft server that has avarage 1000 players joins in a day, how many hours can it handle? After a while Java garbage collector going crazy...

hoary parcel
#

It can run for weeks

#

All depends on what you do

#

If you need daily restarts you have issues with your plugins

chrome edge
#

There are a lot of hashmaps and player datas... You may think like a minigame server.

#

Players joins and quit every 15-20 min

hoary parcel
#

Well, just unload the player data when they quit

tiny dagger
#

tell them how to clean? πŸ€”

hoary parcel
#

Else you gonna leak shit obviously

chrome edge
#

Well I do but after a while I got a memort leaks

dusty topaz
#

then you don't

hoary parcel
#

So you have a case were you don't clean up properly

#

First step is to get a heap dumo

#

And look what kind of data you leaking

#

Then you look at your code and figure out how that can happen

chrome edge
#

I made a debug system that shows me using ram every second.

#

It's normal increasing and decrease normally

#

after a while it's getting weird. Like when it peaks 1GB java gc deletes datas and it become 200-300 mb

hoary parcel
#

Just look at a heapdump

#

Everything else is just guessing

chrome edge
#

Are there any method that I can debug where the memort leaks are

hoary parcel
#

You also want to make sure you tuning your GC properly

#

Yes

#

There method is called taking a heap dump..
.

#

Then use something like MAT to look at the heap

#

And see where you have objects that should be referenced anymore

chrome edge
#

Oh is it include hashmaps and other objects?

#

Or just a files

dusty topaz
#

all objects

hoary parcel
#

The heap is where all your object life

dusty topaz
#

and death

chrome edge
#

Thanks for the information. I'll take a look at it and feedback to you or spigot forum maybe it can helpful for others.

hoary parcel
#

No

#

You can't cast a location to an entity

chrome edge
#

Bukkit.getWorld("world")

#

You should learn how to read docs.

#

String is string, world is world

hoary parcel
#

Clearly you don't

#

You are passing a string where it's expecting a world

#

You are casting a location to an entity

#

Don't apply IDE suggestions if you don't know what they mean

#

You are still casting a location to an entity

chrome edge
#

That's why we're saying you must learn java

hoary parcel
#

I said it 3 times know

#

If you don't understand my words you need to get your java book out of the drawer

tiny dagger
#

looks fine imo but you're missing rotation

hoary parcel
#

Pitch and yaw are optional params

#

As the method/ctor is overloaded

chrome edge
#

...

frigid ember
#

Create a inventory from a inventory converted to a string?

hoary parcel
#

No at that directed at freestyler

tiny dagger
#

it's optional but that doesn't mean he isn't just gonna look at 0,0

hoary parcel
#

Let him teleport once first till we teach him about pitch and yaw and how they are completely backwards in mc πŸ˜‚

tiny dagger
#

good thing we don't have roll too

hoary parcel
#

Just try it ffs

#

Man, imagine roll roation

#

I would just make the player spin all day πŸ˜‚

tiny dagger
#

shooting stars

#

:d

chrome edge
#

@hoary parcel In that case, I can use multi arena system for my games as you mention it there's no memory leaks. Should I use it?

frigid ember
#

Can i create a inventory from a inventory that was converted to a string?

hoary parcel
#

Loading and unloading worlds is very vulnerable to memory leaks

#

But it can be done if you are careful, yes

#

Just need to make sure that you destory location objects as they keep worlds in memory

chrome edge
#

If I delete the world before deleting datas. May it be problem?

frigid ember
#

How do i create a inventory from a inventory that was converted to a string?

hoary parcel
#

Nah, that should be fine

chrome edge
#

@frigid ember It's up to you. You can make a class and convert to JSON

#

And use GSON api for make class again

#

Thanks

frigid ember
#

Are there no easy ways for it?

#

I used .toString before

chrome edge
#

@frigid ember If there is, I don't know.

frigid ember
#

k

hoary parcel
#

Then you better create a variable world

#

...

tiny dagger
#

Bukkit.getWorld("name")

hoary parcel
#

That's not how you define a world variable, that's how you get an instance of a world

#

You forgot the type declaration

tiny dagger
#

but he doesn't have a world variable tho

#

pretty sure at least

hoary parcel
#

He should do that

#

But that's already too much for his java skills

tiny dagger
#

he is gonna understand all this soon

hoary parcel
#

I don't spoon-feed

#

I want you to learn it properly

#

Because if you don't

tiny dagger
#

you're gonna end up like me

hoary parcel
#

You will be hanging in this channel for the next 3 years

#

If you learn how to do it yourself, you don't need to ask as many questions

#

So go take a look at a java tutorial and look at how variable declaration works

#

It's not rude, it's a fact

#

You don't know how to declare a variable.

#

That's fine

#

You can learn it

#

But nobody here should tell you how to do it

#

Because then you will just copy without learning

chrome edge
#

It's not a physical or intelligence skills. It's just you don't know how to do it.

wanton delta
#

Were not here to give java tutorials

chrome edge
#

We're saying it's bukkit library help not a java learning platform

dusty topaz
#

no

chrome edge
#

It's java...

dusty topaz
#

a world is not bukkit

#

i can make an object called world and making a variable of it is no different

wanton delta
#

My guy its really just a case of looking it up on google or watching some videos

frigid ember
#

a world is not bukkit
@dusty topaz You can get the world with Bukkit.getWorld("")

#

World world =

hoary parcel
#

Don't tell him

#

He needs to learn himself

frigid ember
#

k

dusty topaz
#

bruh

#

you completely missed the point

#

of what anyone here said 🀦

wanton delta
#

Its not about defining a world

#

Its defining everything

#

Its all pretty much the same

quasi hound
#

hello guys how can I post a post on the forum pls help

wanton delta
#

Obviously not

#

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

marsh hawk
#

Is it still possible to display illegal itemstacks such as 0 and over 64?

hoary parcel
#

Just as you define a variable with any type

dusty topaz
#

yes @marsh hawk

#

not sure about over 64

#

but 0 for definite

#

though it will go away on interact iirc

marsh hawk
#

is that using packets or anything? or just basic spigot

#

Yeah thats fine

dusty topaz
#

new ItemStack(Material.BONE, 0);

#

no bones!

summer terrace
#

πŸ…±οΈoneless

dusty topaz
#

I think there is more than 3 people typing but it's just because that guys name is so long lol

wanton delta
#

lmaooo

tiny dagger
#

World world = Bukkit.getWorld("name");
just for a local variable ^

wanton delta
#

bro

tiny dagger
#

but that's the last of spoon feed you'll get

#

:d

hoary parcel
#

not final

dusty topaz
#

he doesn't need any more spoonfeed

hoary parcel
#

πŸ˜‚

dusty topaz
#

he got all he needs

#

and do people seriously make every local field final

#

i don't :^)

#

YT is the definitive source of information

wanton delta
#

Its not bukkit specific

dusty topaz
#

Not the documentation, not the forums

#

YT! ;D

tiny dagger
#

oracle java tutorial has a nice explanation

wanton delta
#

Using variables isnt unique to bukkit

#

They all work the same

tiny dagger
#

c++ c# works the same

hoary parcel
#

Immutability is a good thing avro 🀷

wanton delta
#

Then u dont seem to know how it works 🀷

hoary parcel
#

Ffs at least change your name please dude

#

This is insane

wanton delta
#

It’s incredibly long

#

Annoying

hoary parcel
#

Just use your spigot name like every body else

wanton delta
#

Are you compensating for something?

tiny dagger
#

a

wanton delta
#

;)

#

I wish only verified users were allowed to talk -_-

#

Because

hoary parcel
#

Because that raises the barrier of entry and acts like a filter

#

Keeps dum dums out

boreal tiger
#

lmao

#

dum dums can create an account

wanton delta
#

Its very common to see unverified ppl come in here and ask for plugins

boreal tiger
#

some dum dums

wanton delta
#

How to start a derver

#

How to code

#

Its just

boreal tiger
#

thats a legitimate question

wanton delta
#

errr

#

All the info is in spigot mc

boreal tiger
#

this is not for development only

wanton delta
#

And google

hoary parcel
#

Who said I ment you?

#

Do you think you are a dum dum?

wanton delta
#

Bro um if u cant define a world variable, 😳 errr

hoary parcel
#

Who needs variables in code anyways?

chrome edge
#

@frigid ember are you using notepad++?

boreal tiger
#

variables arent related to minecraft only lol

wanton delta
#

Its the exact same thing with spigot πŸ€¦β€β™‚οΈ

hoary parcel
#

I can't help you if you feel spoken to when somebody talks about dum dums

wanton delta
#

Foo foo = new Foo();

#

Its the same

boreal tiger
#

@frigid ember doesnt matter lol

#

thats just the type

wanton delta
#

For every variable

#

It works the exact same way

boreal tiger
#

the fact that you're saying that shows that you have no idea what you're doing

wanton delta
#

Foo foo = new Foo();
@wanton delta

#

Bar bar = new Bar();

#

uhn

chrome edge
#

._.

boreal tiger
#

@frigid ember people dont imagine stuff

#

there's javadocs for a reason

wanton delta
#

All i remember looking up is β€œhow to get world bukkit”

#

The rest came fairly naturally

hoary parcel
boreal tiger
#

lmao

wanton delta
#

I do remember asking β€œhow to define variables” cuz i was new... thats just how we all start

chrome edge
#

We'd like to help you about spigot and related minecraft things not basic java...

wanton delta
#

Worlds, players, foo and bar is all the sme

chrome edge
#

We're not rude you're rude one

runic wadi
#

does anyone want to see me instantiate a Fuck?

hoary parcel
#

Nah, don't allocate a fuck on the heap

#

That's a waste of heap space

runic wadi
#

it's a local Fuck

boreal tiger
#

its not that different

wanton delta
#

Fuck fuck = FuckFactory.createNew()

hoary parcel
#

Which is why we said you should learn java

#

It will make your life easier

chrome edge
#

you know java is different?

tiny dagger
wanton delta
#

So instead of looking up how to define variables

#

And avoiding tjis conversation

#

You come here, out of all places

tiny dagger
#

if you said you know js you would soon click all this in place

chrome edge
#

Okay, you should think about what kind of java basics do I need for make basic minecraft plugin.

#

and you may google it

wanton delta
#

?jd

worldly heathBOT
tiny dagger
wanton delta
#

Learn how to use em

tiny dagger
#

yeah

#

that's the difference between web programming and app programming

#

so just start slowly with the first chapter

#

it will get you going

#

i mean both first and second

#

you need to know a few things

#

you can go straight in

#

but you're gonna have a hard time

#

and people pointing at you to learn java

#

and as they said you're gonna learn to realy on others than your own understanding

#

what's wrong with reading the oracle doc i gave you?

lilac wasp
#

^

tiny dagger
#

it's very well structured

regal siren
#

Just go to ud or what ever and learn the basics there

tiny dagger
#

with life examples

#

to make you understand them better

cosmic yacht
#

Hi, does anyone know how to change my paypal account for the plugin payments? (And thanks to fr33styler for the java doc, I'll definitely read that xD)

regal siren
#

There are free courses

#

I mean

#

If u want to practise

#

of course you have to use docs

marsh hawk
#

I still can't manage to display an itemstack at 0. It just removes it from the inventory

tiny dagger
#

i think that's a thing in 1.8.8

#

πŸ€”

marsh hawk
#

apparently it's still possible

tiny dagger
#

oh it is

#

but i think it's likevery strict

dusky herald
#

lol

#

You could also do if(player.getItemInHand().getType().equals(Material.SANDSTONE)) {

sudden needle
#

Hi all, does anyone else have issues with hoppers working on their servers with 1.15.2?

frigid ember
#

does anyone use a inventory api they prefer?

dusty topaz
#

@dusky herald you don't need to use .equals there

limpid monolith
#

You could also do if(player.getItemInHand().getType().equals(Material.SANDSTONE)) {
@dusky herald The == approach is better because you're dealing with enum constants, .equals() works aswell but is a unnecesarry method call and would throw a NullPointerException if .getType() returned null

slim igloo
#

hi. I want to play a game in minecraft such as fallen kingdoms, and I was trying to create a minecraft server. I discovered spigot thanks to aternos. How do I use this server maker ?

#

I'm super bad at using java and everything

pure pasture
#

Hi how would you delete a map by it's name?

opaque pike
#

who has a good suggestion for 20 player VPS

#

reasonable priced

#

I tried hostwinds on an e3-1230v2 and it's not cutting it

frigid ember
#

@slim igloo youtube "how to make a spigot server" would be your best bet

slim igloo
#

@frigid ember ok thank you that is nice of you

upper hearth
#

afiak aternos does a lot of the work for you.

bleak osprey
#

hey,

LP cant connect to MariaDB, i get the failure "connection refused". and yes, i already followed the guide.
I opend the port at the firewall (in-out). gave permissions and even created an own VIP-Pass for mysql at the ufw. i created a user and gave him permissions to the database, but i get "connecton refused"

can anyone help?

#

tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 16026/mysqld
its listening

patent monolith
#

I can't tag people anymore .-.

bleak osprey
#

😦

patent monolith
#

I will soft-tag I guess :/

#

@ DaynaSea#4365 what kind of issues?

#

@ mhia#7153 like a menu api?

frigid ember
#

Recrutement builder minecraft sur mon seveur me mp discord

mairsi d avoir la version paient de minecraft

Et pc

sudden needle
#

he is having trouble with mumbo's super smelter design

#

the last hopper wont light

#

or furnace*

#

I'm assuming its a mojang bug

frigid ember
#

Recrutement builder minecraft sur mon seveur me mp discord

mairsi d avoir la version paient de minecraft

Et pc

patent monolith
#

is there fuel going in?

sudden needle
#

yeah

patent monolith
#

and things to smelt?

sudden needle
#

yep

opaque pike
#

can anyone reccomend a good VPS host 20 ish players?

sudden needle
#

i did some research online and it seems like others are having the same issue with his design

patent monolith
#

if you remove the last furnace and make the smelter smaller, will it occur for the new last furnace?

sudden needle
#

i'll ask him

#

i do have a hopper limiter on my server so they cant build these giant lag machines so that's probably an issue for him πŸ˜„

patent monolith
#

well if the fuel and smelt-contents are already in the furnace, I don't see what is stopping it

sudden needle
#

its probably his design as it isn't that big

patent monolith
#

got a screenshot?

sudden needle
#

can i send here?

patent monolith
#

yeah

sudden needle
#

he says, "when the last hopper gets an item, the comparater sends a signal to the redstone torch which allows the hoppers below to take an item and they aren't doing that."

bleak osprey
#

hey,

LP cant connect to MariaDB, i get the failure "connection refused". and yes, i already followed the guide.
I opend the port at the firewall (in-out). gave permissions and even created an own VIP-Pass for mysql at the ufw. i created a user and gave him permissions to the database, but i get "connecton refused"

can anyone help?
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 16026/mysqld
its listening

just asking again πŸ˜„

sudden needle
#

thats his design

patent monolith
#

that last furnace that is visible there, that's the one?

#

@bleak osprey in relation to the server with LP, is the database localhost? on LAN? on a remote server?

sudden needle
#

yes

bleak osprey
#

@bleak osprey in relation to the server with LP, is the database localhost? on LAN? on a remote server?
@patent monolith local

sudden needle
#

ok he says he think he has it working

bleak osprey
#

both at the same sytem

sudden needle
#

i told him to do some research about it online as others were offering work-around suggestions - so im thinking its not spigot lol

patent monolith
#

@bleak osprey what account is configured in the db?

#

@sudden needle nice

sudden needle
#

he set the repeaters to two ticks

bleak osprey
#

@bleak osprey what account is configured in the db?
@patent monolith one with * for Pterodactyl and one with panel.* for LP

patent monolith
#

@sudden needle yeah, it's strage that it would be doing that... what plugins do you have?

#

strange*

sudden needle
#

i modify a lot to keep the tps down

#

up

#

whatever

patent monolith
#

@bleak osprey are you using the root account?

bleak osprey
#

@bleak osprey are you using the root account?
@patent monolith nope. just an account created for LP

patent monolith
#

try configuring an account 'root'@'<address of server in relation to database>

#

in your case, 'root'@'localhost'

bleak osprey
#

u7_3m3xUJTBnn | 127.0.0.1

sudden needle
#

i have minimum plugins

bleak osprey
#

it looks like this @patent monolith

#

@sudden needle you are using poket games? how is it?

sudden needle
#

omg i love it

bleak osprey
#

omg i love it
@sudden needle i not sure if i could buy it πŸ˜„

sudden needle
#

gamebox is similiar but free

bleak osprey
#

uh

sudden needle
#

i just bought it for the gemcrush games :p

bleak osprey
#

really? i will have a look at it

sudden needle
#

while im working i can just leaisurely play xd

bleak osprey
#

while im working i can just leaisurely play xd
xD

sudden needle
#

pocketgames has so many fun ones too!

bleak osprey
#

Pretty cool!

patent monolith
#
CREATE USER 'u7_3m3xUJTBnn'@'localhost' IDENTIFIED BY '<YOUR PASSWORD>';
GRANT ALL ON panel.* TO 'u7_3m3xUJTBnn'@'localhost';
sudden needle
#

that and benz made it so i have to say it's pretty cool

patent monolith
#

@bleak osprey does it give messages in console?

bleak osprey
#

that and benz made it so i have to say it's pretty cool
@sudden needle iam using his jumppads plugin, kinda cool true.
I like his plugins, so iam thinking about to support him ^^

sudden needle
#

yeah! how is jumppads?

bleak osprey
#

iam using it with the racing plugin, makes the races more unique

sudden needle
#

fun!

bleak osprey
#

@patent monolith did it agin, bust still get an error from LP

patent monolith
#

is there a stacktrace in console?

#

or is it just a one-liner

bleak osprey
#

stack

patent monolith
#

wanna dump in ```<>```?

bleak osprey
patent monolith
#

even better lol

bleak osprey
#

πŸ˜„

patent monolith
#

does it use ssl?

bleak osprey
#

this is the guid, i said its not helpful πŸ˜„

#

yes

opaque pike
#

any VPS host reccomendations

bleak osprey
#

ERROR 1045 (28000): Access denied for user 'u7_3m3xUJTBnn'@'localhost' (using password: YES)

#

lol

#

tried to login with this user..

patent monolith
#

try root?

bleak osprey
#

yes this is possible

#

but if iam using root on LP, it wont work too

patent monolith
#

oh, it doesnt like it?

bleak osprey
#

idk lol πŸ˜„

patent monolith
#

what does lp say when you try configuring 'root'?

bleak osprey
#

the same

#

ERROR 1348 (HY000): Column 'Password' is not updatable

#

i cant update the password

patent monolith
#

you dont know the root password?

#

also is this on linux or windows

bleak osprey
#

i know the root password, but i want to change the password of the LP user... because i dont get it why he cant login.

its running on Ubuntu 18.04.4

patent monolith
#

just delete the user and create it again

bleak osprey
#

xD

#

sure

patent monolith
#
CREATE USER 'u7_3m3xUJTBnn'@'localhost' IDENTIFIED BY '<YOUR PASSWORD>';
GRANT ALL ON panel.* TO 'u7_3m3xUJTBnn'@'localhost';
``` did you use queries like these?
bleak osprey
#

yes

#

root@v2202004118956114910:~# mysql -u Luckperms -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 7209
Server version: 10.4.12-MariaDB-1:10.4.12+maria~bionic mariadb.org binary distribution

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> use LP;
Database changed
MariaDB [LP]>

#

worked to this point

patent monolith
#

hmmm, what schemas are there?

#

does panel exist?

#

try ```sql
SHOW DATABASES;

bleak osprey
#

17:12:40 [SEVERE] Caused by: java.sql.SQLNonTransientConnectionException: Could not connect to address=(host=localhost)(port=3306)(type=master) : Socket fail to connect to host:localhost, port:3306. Connection refused (Connection refused)

#

yes it does

wraith dew
#

dont you get a different error if it is an authentication issue?

bleak osprey
#

storage-method: mariadb

The following block defines the settings for remote database storage methods.

- You don't need to touch any of the settings here if you're using a local storage method!

- The connection detail options are shared between all remote storage types.

data:

Define the address and port for the database.

- The standard DB engine port is used by default

(MySQL: 3306, PostgreSQL: 5432, MongoDB: 27017)

- Specify as "host:port" if differs

address: localhost:3306

The name of the database to store LuckPerms data in.

- This must be created already. Don't worry about this setting if you're using MongoDB.

database: LP

Credentials for the database.

username: Luckperms
password: 'XXX'

#

looks like this

wraith dew
#

change localhost to 0.0.0.0

#

try*

#

that

bleak osprey
#

ok

limber marlin
#

Anyone know where in source code for a plugin I should look for the type of particle it uses?

#

hopefully not too dumb of a question

bleak osprey
#

17:14:43 [SEVERE] Caused by: java.sql.SQLNonTransientConnectionException: Could not connect to address=(host=0.0.0.0)(port=3306)(type=master) : Socket fail to connect to host:0.0.0.0, port:3306. Connection refused (Connection refused)

patent monolith
#

Im kind of confused

wraith dew
#

yeah i realized that was for something else

bleak osprey
#

why?

patent monolith
#

ok so

#

a few things

#

first, what is the name of the user that you configured on the db?

bleak osprey
#

Luckperms

patent monolith
#

second, what database did you grant to it on the db?

bleak osprey
#

LP

patent monolith
#

ok

#

so panel and u7_3m3xUJTBnn are irrelevant, correct?

bleak osprey
#

yes

patent monolith
#

ok

wraith dew
#

wait did you try to connect to 0.0.0.0

#

?

bleak osprey
#

like u said

patent monolith
#

what query did you use to create the account?

wraith dew
#

i meant change it in the config to 0.0.0.0

#

on the server

bleak osprey
#

some days ago i already tryed it

#

but can do again

#

sec

quaint shuttle
#

I am owner of a server, and i can only access others echests i cant edit

bleak osprey
#

i meant change it in the config to 0.0.0.0
@wraith dew ok did

wraith dew
#

and you still get the error?

patent monolith
#

@quaint shuttle what tool do you use to view other people's echests? essentials?

#

it might not work if they are offline

bleak osprey
#

17:20:22 [SEVERE] Caused by: java.sql.SQLNonTransientConnectionException: Could not connect to address=(host=localhost)(port=3306)(type=master) : Socket fail to connect to host:localhost, port:3306. Connection refused (Connection refused)

patent monolith
#

or it might not work if they have op

#

@bleak osprey did you have any luck on that github article?

bleak osprey
#

nope 😦

wraith dew
#

@bleak osprey are you sure you are on the right port?

#

in luckperms config

bleak osprey
#

Pterodactyl runs on 3306 too

wraith dew
#

nvm

bleak osprey
#

it mariaDB 10, but works on 3306 too

quaint shuttle
#

ok but @patent monolith she was online, is it a perms thing? if so wat permission

bleak osprey
#

'That the server is online & accepting connections'

iam not sure how to check this

wraith dew
#

check firewall?

patent monolith
#

@quaint shuttle what tool do you use to view other people's echests? essentials?

#

oh yeah, firewall

#

kek

bleak osprey
#

To Action From


443 ALLOW Anywhere
80 ALLOW Anywhere
22 ALLOW Anywhere
2022 ALLOW Anywhere
8080 ALLOW Anywhere
25565 ALLOW Anywhere
3306 ALLOW Anywhere
3307 ALLOW Anywhere
Anywhere ALLOW 127.0.0.1 3306/udp
3306/tcp ALLOW Anywhere
3306 (v6) ALLOW Anywhere (v6)
3307 (v6) ALLOW Anywhere (v6)
3306/tcp (v6) ALLOW Anywhere (v6)

quaint shuttle
#

@patent monolith I use essentials

wraith dew
#

is that inbound or outbound?

#

or both

bleak osprey
#

both

wraith dew
#

ok

#

try creating a user like 'username'@'%'

bleak osprey
#

yesterday i got a ufw log... but i cant remind where i found this

wraith dew
#

actually that probably wont work

bleak osprey
#

try creating a user like 'username'@'%'
@wraith dew this wont work to

patent monolith
#

heres what i suggest

#

yeet the entire sql server and get mysql

#

maybe that will work?

wraith dew
#

hes using a fork

bleak osprey
#

yeet the entire sql server and get mysql
@patent monolith its mysql πŸ˜„

patent monolith
#

dont they have a mysql itself?

wraith dew
#

not in built

bleak osprey
#

sure

wraith dew
#

mysql has to run as a separate service

patent monolith
#

mysql-server

bleak osprey
#

i already tryed pma... but this wasnt useful

patent monolith
#

on apt-get

bleak osprey
#

two databases?

patent monolith
#

nah

#

just shut down the mariadb one

bleak osprey
#

but then my panel wont work

wraith dew
#

can you paste sudo systemctl status mysql

#

the result of that command

patent monolith
#

wait wut @bleak osprey

bleak osprey
#

hm?

patent monolith
#

what is panel?

wraith dew
#

id try using mysql rather than mariaDB

#

there may be compatibility issues as LP probably uses the Mysql JDBC

#

there shouldnt be but idk what versions cant be used so it might work

#

apt install mysql

patent monolith
#

that article walks through how to do it

bleak osprey
#

Luckperms prefer MariaDB over mysql.

@patent monolith iam using Pterodactyl, it uses mariaDB to create servers and store datas of them. this one works fine.
But if i create a user and a databse via SSH oder Ptero, they wont work.. idk why. The strange thing is: its all on one system, so i dont get it why the user of LP cant reach the databse it self.... The ports are free in the ufw, from ssh the user can login to his databse, but he cant from LP

unkempt atlas
#

Help, I've waited 2 days to be able to download a recource I bought and still can't!

silk nymph
#

Hi, I'm giving a group /rtp commands on luckperms but they can't use them

#

nor with wild nor wilderness

patent monolith
#

so basically, pterodactyl allow multiple mysql servers on one machine?

wraith dew
#

why?

patent monolith
#

@silk nymph what plugin does the rtp?

#

@unkempt atlas what plugin is it?

bleak osprey
#

so basically, pterodactyl allow multiple mysql servers on one machine?
@patent monolith idk, but iam talking of databases πŸ˜„

patent monolith
#

or resource

unkempt atlas
#

RedisBungee

silk nymph
unkempt atlas
#

My payment is still pending

silk nymph
#

It says it requires vault so i installed that too

patent monolith
#

@unkempt atlas in paypal or spigot?

unkempt atlas
#

Paypal

patent monolith
#

@silk nymph see if you can find out about the rtp command

unkempt atlas
#

Redisbungee has not accepted the paymnt

patent monolith
#

@silk nymph like to see what plugin allows it

silk nymph
#

cheers

#

wil do

#

How do I lol

patent monolith
#

@unkempt atlas the author probably needs to approve of it

#

@silk nymph do /pl

silk nymph
#

The only thing it's looking like it could be is random teleport

#

but that is using /wild and /wilderness I thought

#

and none of them work which is a bit confusing, they won't show up in luckperms

#

Yeah they all come from it, should I just try a diff teleport plugin?

gusty shuttle
#

Not sure if anyone can help me, I've always used Pex and I'm trying LuckPerms now. It might sound stupid but how do I set a users group? I don't understand how it works, it just goes on about 'tracks' but I don't understand it

marble narwhal
gusty shuttle
#

@marble narwhal cheers mate. I didn't see that page, I was only looking at the Users subpage πŸ‘

frigid ember
#

@gusty shuttle I use /lp user Govindas parent set Creator

marble narwhal
#

Also are there any people in here who have experience with patching the server? I'm trying to change the most small thing in CraftBukkit as a test, but it isn't working :(
I've tried running the makePatches.sh, however when I build the spigot-server with maven it doesn't seem to work. Really new to this, so I'm probably doing something really stupid.

frigid ember
#
    PlayerConnection connection = ((CraftPlayer) p).getHandle().playerConnection;
        EntityArmorStand stand = new EntityArmorStand(((CraftWorld) p.getWorld()).getHandle());
        stand.setInvisible(true);
        stand.setLocation(loc.getX(), loc.getY() + 10, loc.getZ(), 0, 0);
        PacketPlayOutSpawnEntity f = new PacketPlayOutSpawnEntity(stand, 1);
        
        PacketPlayOutAttachEntity a = new PacketPlayOutAttachEntity(1, entity, stand);

    connection.sendPacket(f);
    connection.sendPacket(a);
narrow crypt
#

Is it possible to check if someone executes a command but still let other plugins do their actions?

#

ping me please :)

nova mural
#

@frigid ember what is entity defined as in your attach packet

frigid ember
#

on command event @narrow crypt

tranquil rampart
#
[18:26:52 INFO]: UUID of player Creveoolus is 93150a1a-0864-371f-bfb7-2e820ae28f0d
[18:27:53 ERROR]: The server has stopped responding!
[18:27:53 ERROR]: Please report this to http://www.spigotmc.org/
[18:27:53 ERROR]: Be sure to include ALL relevant console errors and Minecraft crash reports
[18:27:54 ERROR]:               net.minecraft.server.v1_9_R1.BlockFlowing.onPlace(BlockFlowing.java:266)
[18:27:56 ERROR]:               java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
[18:27:56 ERROR]:               org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:261)
[18:27:56 ERROR]:               org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:198)
[18:27:56 ERROR]:               org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readCharacter(ConsoleReader.java:2145)
``` Whyyyy
frigid ember
#

@nova mural

    EntityPlayer entity = new EntityPlayer(nmsServer, nmsWorld, new GameProfile(p.getUniqueId(), Color.color("stats")),
        new PlayerInteractManager(nmsWorld));
subtle blade
#

v1_9_R1 Update your server. You're 4 years behind

tranquil rampart
#

Me? @subtle blade

subtle blade
#

Yes

tranquil rampart
#

sorry for ping

#

hmm

#

what i nee to upgrade to?

subtle blade
#

1.15.2 preferrably. Again, you're 4 years out of date. 1.9.4 was released in May of 2016

tranquil rampart
#

And all my installed plugins?

#

What with it

subtle blade
#

Some may require updates, surely

#

Backup your server, update on a local copy and ensure everything works. This is generally how you should be updating your production server

tranquil rampart
#

ok

#

I have manyversions on it

#

can i upgrade it only to 1.12?

#

@subtle blade do i need upgrade to 1.15? (srry ping)

fading owl
#

anyone here use hibernate jpa in conjunction with a spigot plugin

frigid ember
#

Hey guys, how do I add a fake player to a scoreboard?

What I'm trying to acomplish:
I'm trying to hide the fake players name plate

What I currently have:

    EntityPlayer entity = new EntityPlayer(nmsServer, nmsWorld, new GameProfile(p.getUniqueId(), Color.color("stats")),
        new PlayerInteractManager(nmsWorld));

    /*team add <team_name> [display_name]
        team join <team_name> @a
        team modify <team_name> nametagVisibility never
        */
  
    Scoreboard sc = p.getScoreboard();
    
    if (sc == null) {
        sc = Bukkit.getScoreboardManager().getMainScoreboard();
    }
    
    sc.registerNewTeam(p.getName());
    
    sc.getTeam(p.getName()).setNameTagVisibility(NameTagVisibility.HIDE_FOR_OWN_TEAM);
    sc.getTeam(p.getName()).addEntry(p.getName());
    sc.getTeam(p.getName()).addEntry(entity.getName());
    
tiny dagger
#

you just did that :p

#

twice

frigid ember
#

So adding the entry is enough?

tiny dagger
#

didn't you tested it already?

frigid ember
#

Yeah, it's not working

vocal maple
#

Hello. What should i use instead of block.getData()? It's been marked deprecated for centuries

frigid ember
#

This is my code:

        final Player p = (Player)sender;
        if (!cmd.getName().equalsIgnoreCase("nieuws") || args.length == 0) {
            p.sendMessage("Β§3Use: Β§b/nieuws <Message>");
            return true;
        }
        if (args.length > 0) {
            String msg = "";
            final String[] arrayOfString = args;
            for (int j = args.length, i = 0; i < j; ++i) {
                final String message = arrayOfString[i];
                msg = String.valueOf(msg) + message + " ";
            }
            for (final Player p2 : Bukkit.getServer().getOnlinePlayers()) {
                if (p2.hasPermission("nieuws.use")) {
                    Bukkit.broadcastMessage("Β§7[Β§9NieuwsΒ§7] Β§r" + msg);
                }
                else {
                    p.sendMessage("Β§cJe hebt hier geen permissions voor!");
                }
            }
        }
        return false;
    }
}```
Colorcodes are not working, how can i fix that? https://gyazo.com/6cb2d17fded7855c2088a03ccc91928f
alpine musk
#

please advise flags to start the server, but not the aikar.

chrome edge
#

@frigid ember which ide do you use?

#

ChatColor.translateAlternateColorCodes('&', string)

frigid ember
#

That isnt my question

chrome edge
#

Use it

frigid ember
#

Oh thanks

subtle blade
#

Or just use the ChatColor constants

#

Don’t use section symbol in source

#

translate method should only be used for user input, not hard coded values

frigid ember
#

Hey guys

#

How do I get (net.minecraft.server.v1_8_R3.Scoreboard) from a scoreboard

tiny dagger
#

by casting craftscoreboard

#

then gethandle

frigid ember
#

Alright thanks

nova mural
#

Anyone know how frequently the position change packet fires in terms of yaw and pitch?

#

Like will that fire no matter how small the change in yaw / pitch is

#

I’m assuming yes but I figured I’d double check before I got too deep into what I’m doing

tiny dagger
#

yes

#

if you don't believe me try a sniffer and see for yourself :p

patent monolith
#

is there an NMS way to get the amount of ticks needed to mine a block given all the conditions of the player?

#

well, yes there is lol, but would anyone happen to know how?

subtle blade
#

afaik that's all determined by a block's hardness. How that's converted into ticks, I'm unsure, but at least you've got that info lol

patent monolith
#

yeah, I was planning on using the hardness at first, but after some scrolling on the wiki I realized that there is too many conditions

blissful verge
#

How can I make it so an item can't be used for normal crafting recipes

bleak osprey
#

if some one hase some knowledge about MySQL or mariadb, i would be glad about some help for LP πŸ˜„

silk cape
#

I need hel

#

p

#

my server does not recognize

#

symbols

#

β˜… instead of this i get

green hornet
#

anyone know how to stop this happening?

tiny dagger
#

yes

#

stop editing the list you iterate over

green hornet
#

dont let anything modify pathfinder goals? πŸ˜„

#

im not

tiny dagger
#

you don't know that

#

but you're doing it while something down the nms was iterating over

green hornet
#

im not doing any path finder stuff i promise

tiny dagger
#

then show the code?

#

it's very sensible

green hornet
#

show what code?

tiny dagger
#

the plugin that is causing this

#

:p

green hornet
#

i dont know which plugin is causing it

tiny dagger
#

you're not a dev?

blissful verge
#

How can I make it so an item can't be used for normal crafting recipes

green hornet
#

i am a dev yeah

tiny dagger
#

a plugin dev or a server dev? πŸ€”

green hornet
#

server dev we have our own plugin but we have a ton more too

nova mural
#

@blissful verge you would have to use nms to iterate through existing recipes and disable any with that item

#

@green hornet i’m gonna assume it’s solinia3core as issuing that command caused the issue

green hornet
#

i think you might be mixed up

nova mural
#

somewhere within that plugin a hashmap is being modified while it’s being iterated

#

You issued a solinia3core command

#

And then immediately

#

an error came

green hornet
#

but the error stack says entity join world , and that command just stores a string in a hashmap

nova mural
#

I didn’t see the join event

green hornet
#

i pointed red lines up the stack from where it started

nova mural
#

If i were to guess

#

I’m gonna go with you tried to send an iamversion command

#

But reflection couldn’t find your version

#

I’m reading the Ticking Entity trace

green hornet
#

reflection isnt being used for iamversion

nova mural
#

And am going to assume that there was a problem with your iamversion command

green hornet
#

all i can think of is that mythic mobs does something with the path finder goals when npcs are activated on login

nova mural
#

Do you ever pull version number for any reflection?

#

You setting the version will mean StateManager will update

green hornet
#

iamversion is just a command they type when they login that has a string argument

#

the server puts what they send in a hashmap against their playerid

#

where as that error said the entity pathfinder goals had a concurrent modification to it

#

or something it is reading during goal processing

#

dont suppose it could be removing an entity?

#

i can try run next tick

sharp dew
#

(I don't kwon if i should write this here, if not tell me where I should) i'm trying to sign up into the forum but some errors appear on the side of the field saying for example "The field '48daef6afe775d918478200dd3e0234d' was not recognised." and when i press Sign up i get back to the sign up screen with every field black and i get a red message Login screen:https://imgur.com/DffHz65 Error message screen: https://imgur.com/acjCuI8

subtle blade
#

What browser are you using?

sharp dew
#

Chrome

#

81.0.4044.129

tulip garnet
#

Hello, can I ask here some help about the groupmanager api?

subtle blade
#

Sounds stupid but give it a shot with another browser. Even Edge if you have to

#

GroupManager's dead ;P

sharp dew
#

Ok i'll try

#

bye

tulip garnet
#

Yup, but I still need help with it's api x)

#

@subtle blade

subtle blade
#

It should hook into Vault

#

In fact, I believe Vault has a default implementation for it

tiny dagger
#

yup ^

tulip garnet
#

I'm making a plugin that sets the prefix of the player in the tablist, our server opens tomorrow ^^"

#

And we are in 1.8.8

foggy mural
#

hi

#

is it possible to put 4g and 500 mega of RAM?
in the script
in the java -Xms10G -Xmx10G

runic wadi
#

our server opens tomorrow
oh neat
And we are in 1.8.8
OH NEAT

boreal tiger
#

πŸ˜‚ lmao

digital sphinx
#

I Start my Server

#

Than ther is in console Killed

#

But why

subtle blade
#

Probably just wrote "Killed" in your start.bat or something

digital sphinx
#

screen -S Magictiger java -jar spigot-1.15.2-R0.1-SNAPSHOT.jar

#

idk but i dont think so

vagrant widget
#

What’s that start.bat?

#

I’ve never seen it befor

#

I’ve never seen anybody use it before either

#

Unless ?

subtle blade
#

run.bat, start.bat. Whatever you call it, a batch file to more easily start your server

nova mural
#

I haven't had to touch netty in a hot minute, can someone hear me out real quick

#

*help

#

I'm trying to grab the channelpipeline, but NetworkManager no longer carries the channel property?

tiny dagger
#

it does

#

is this what you look for?

nova mural
#

that's the exact code I got from one of my old listeners

#

Could be intellij wigging out

#

Guess I'll clear my cache and see if that fixes it

tiny dagger
#

intellij uses cache?

#

why

nova mural
#

idk lol

frigid ember
#

what kind of a question is that

#

cache bad

#

mfw

nova mural
#

It's kinda annoying when I load in all my files but my cache is corrupted

#

so all I see is red

#

but other than that it's not bad

tiny dagger
#

because if they have a cache at least it has to work?

frigid ember
#

it does?

#

given person is simply unlucky

nova mural
#

:^)

#

i always run into cache problems on intellij

#

No matter the computer I use

#

idk why

frigid ember
#

yeah you're cursed

#

you didn't kiss that weird goth girl from high school, right?

nova mural
#

oh crap that was me

#

I knew something was wrong when she sunk her teeth into my neck like a vampire

#

It's ok invalidating and regenerating caches fix all problems :^)

frigid ember
#

yeh it do be like that sometimes

tiny dagger
#

but what's that cache even do?

frigid ember
#

look it up

tiny dagger
#

watching a movie rn

frigid ember
#

then why are you here

nova mural
#

oh it didn't even fix it

#

nice

frigid ember
#

whatever, am out

tiny dagger
#

because discord is not distracting

nova mural
#

πŸ€”

red bolt
#

is it a heavy task if you read data from files ?

nova mural
#

My netty is outdated as hell haha

#

I just found the function

#

static Channel a(NetworkManager networkmanager) { return networkmanager.i; }

tiny dagger
#

wait one question

#

is every player having their own pipeline? πŸ€”

nova mural
#

wait

#

why did i set every player

#

to have their own pipeline

#

every player did have their own pipeline

#

couldn't tell you why

hollow willow
#

What does people here use to backup their servers? I have a bungee server, and want to backup all worlds twice a day, and the whole server directort every week. MySQL databases twice aday aswell.
Is cron tasks the way to go?

nova mural
#

wait

#

why does my netty networkmanager not have a channel grabber

#

wtf

tiny dagger
#

why do you ask us

red bolt
#

is it a heavy task if you read data from files ?

#

directly

#

instead of caching it

tiny dagger
#

yes

#

hdd is slow

red bolt
#

its a small currency plugin

tiny dagger
#

even ram is slow for some operations

red bolt
#

and idk how to cache it

tiny dagger
#

hashmap

#

put it on join

#

remove it on leave

red bolt
#

yeah but like the whole read from files on enable/disable is kidna tricky for me

tiny dagger
#

use a sql database

#

i've done something here

#

every player interaction is done async

#

to prevent lag

#

while some calls are still done on main thread because vault needs them

agile whale
#

Any idea why setNoDamageTicks would not be working? I set the players noDamageTicks to 0 yet getting the value directly after setting it, getNoDamageTicks still returns the same value before it was set.

frigid ember
#

can we get plugin help on this?

tiny dagger
#

open nms and look

frigid ember
#

I made a armor with potion effects but i want to make it so only if u have the armor on then u can get the effects, how do u do that?

agile whale
#

I guess that could work for debugging purposes, but I can't use nms as the plugin is cross-version compatible

tiny dagger
#

then you probabily should check your code πŸ€”

frigid ember
#

me?

pastel basin
#

@agile whale you can be cross-version compatible using nms by accessing it through reflection

agile whale
#

Yeah but thats not really what I'm looking for. I'm asking why setNoDamageTicks would not be working in the first place

pastel basin
#

decompile bukkit and look how it handles that number

tiny dagger
#

where are you doing setnodamage ticks? πŸ€”