#help-development
1 messages Β· Page 297 of 1
And it's not shitty, I'm happy that the APIs actually get extended.
might* get extended 
I'm sure that at least the boolean and uuid datatype will get accepted
I'll just do 2 pull requests - first one just being boolean and uuid, and then after that I'll do another one for all the other things
Yeah, and that's what I think will be most helpful. While, arguably, the ItemStack is also well defined, but I guess it's going to be harder to convince people of adding that.
and I'm 99% sure that at least the first one will get accepted
Anyways, have to go back to working. These tires are not going to move themselves
yes they are
its only logical, 0 = nothing/missing, and nothing/missing must mean false, ezpz
I am still waiting on 100 brand new tires though
well the only person I have to convince will be md_5 and he's obviously happy with the current itemstack serialiaztion, so I guess the other things also isn't sth he'd be upset about
but only time will tell
wtf mechanic?
first of all I'll wait whether my translation key PR gets accepted
put them on a hill and they move themself
or r u like andrew tate and have 35 cars
Tire technician but i do some mechanic work too
o
i have exactly one car and it's a bit out of my league
They pay me like $23 an hour to mess with tires
I could have it backwards. Lol
Okay, I'm going to stop scanning through this monster of a codebase. It just seems like value == 0 ? false : true is the standard, as I've said.
I'm getting between 150 and 500β¬ per hour and I still drive a 2012 opel (vauxhall) astra lol
Anyways be back in an hour or so
I'll be alseep then, so have a good day/night/whatever β€οΈ
alex going to bed early
well one sec
it's 5:24 right now. my boyfriends has to work until 14:00. so he won't arrive here before 15:00. that means I still got like 9.5 hours
what is his job
it is 23:25
he's a "nurse" in a hospital
it is 4:25am
it would be bad if he did prostate exams
why would that be bad
he's just performing an exam and gets a boner because hes just touching a dick
ughm I don't think you know how a prostate exam works lmao
probably not
also you don't randomly get boners by touching other people
u dont?
how would you know
Yeah, I also get many things backwards. I was just getting a bit agitated about how you were that confident about No they dont and False has always been anything not equal to 1, suggesting that my proposed alternative check would be wrong and not "state of the art".
Anyways, I'm happy that we now settled it and know that java indeed works by comparing against zero internally. This is just also due to historical reasons, as all systems support JZ (jump zero) in some way, shape or form, while not all have a hardware-instruction for jump when one.
I mean straight women also don't get wet from shaking hands with random dudes
U DONT?
who here is a woman and is straight
I mean I also cannot participate in this discussion
shit, I locked myself out of the discussion i started myself
oliver is at least bi-curious
Im semi straight man
what does that mean?
Uhh idk what I am
17
then this is totally normal
my dog has came into my room and is now just sleeping on my floor
Yep
good boy
shes a girl
good girl
Still young thank god being old must suck (28)
16-18 is the age where you find out whether you are "strictly straight" or not
dogs are kinda like women on the internet
Fuck
theyre all male until they arent
I thought u were
I am WAY younger
27
27.5?
Wow
hes 27
yeah 27
Wayyy younger
okay one sec
630720000
tick tock
I'll ask wolfram alpha
x 365 to get a year
you can
quick maths
I do see it tho
about 8 million ticks left until I turn 28
we can all see that
Somebody took the exactness of a year serious there, :D
π
1122 hours left until my birthday
What's that .24? The average to compensate for our wobbly ass rotating planet not taking the same time to go around it's ellipse every year? lol
vatican
congrats afterwards
my dog has farted
Well actually that's the time it takes the earth to go arnd the sun
(my latin skills are superior)
But we can't start a new year 6 hrs into the day
anyone of you learnt latin in school?
So we just say it's 365 days
Let the 0.24 add up for 4 years
Then add an extra day
Is that time constant for all years tho? I don't think so, because other planets do act out forces on us, and their years are far longer/shorter.
https://la.wikipedia.org/wiki/Vicipaedia:Pagina_prima here's the latin wikipedia. please send me a random article from that and I'll try to translate the first sentence (pls someone actually send a link, I wanna check whether I forgot everything I knew or whether I still understand it)
You're right but it's the average
Won't be constant
Yep, nice, I'll remember that .24 when I want to exactly calculate something again, xD.
Md_5 abt to ban us for not using #general π
michaeeeel
Vicipaedia est libera encyclopaedia, ad quam augendam omnes invitantur.
Wikipedia is a free encyclopedia, to which all are invited to augment
my father is called michael too
md_5 v alex latin battle
"wikipedia is an encyclopedia where every can contribute"?
lets go
lets start with easy sentences
"Guttam videsne?" @sullen marlin
Got milk?
close
In case you don't remember, Harry Potter is an eleven year old wizard. Long ago, Harry's parents were killed in a battle with the evil Lord Voldemort. When we first meet Harry, he is living miserably with his repulsive and non-magical (or Muggle) Aunt Petunia and Uncle Vernon and their even more ...
It's two words. π’
damn that'a awesome
I would understand that
anyway, I'll explain "guttam videsne" quickly:
"gutta" = the drop (like a drop of water)
"videsne" comes from "videre" = to see (that's where the word "video" comes from, video means "I see")
-s is the "you" form and "ne" is a question
so "guttam videsne" means "do you see the drop?"
I always had a D in latin but at least I still know the basics
You said it's close to got milk wtf
yeah because milk is a fluid
LOL
bonum noctis
vatican
haha
anyway md is there a reason why bungee doesn't have a config api similar to spigot? like this whole nice getConfig() and saveDefaultConfig() etc?
it does
ughm it does not
the bungee "Plugin" class has no "saveDefaultConfig()" or "getConfig()" method
that's what I meant
yeah well it might be minor for you as the dude who wrote this, but it's a major thing for us plugin devs lol
aight PR incoming... maybe... someday lol
it's not if you wanna recreate the spigot behaviour
he means its minor as the person writing it, but as the person using it its extra nonsense π€·ββοΈ
though saveDefaultConfig really is just a saveResource
if there's an equiv in Bungeecord
this is my main class for a bungee plugin that basically does nothing besides to provide "saveDefaultConfig()" and "getConfig()"
that's a bit more than one line lol
(I dont wanna complain ofc, just wanted to mention that bungee config loading is indeed much more work if you wanna recreate the way how it works in spigot)
Pretty sure the bungee api does have a load() method to load the config
yes sure but
in spigot, you do getConfig() and it automatically loads the config.yml from the .jar file
in bungee you have to do that on your own
and also saveDefaultConfig()
I will PR this when I got nothing to do tomorrow or saturday or sth
nah it's almost 6 am
"almost" so you have time
lmao
I can't do that within 8.5 minutes
says you?
I might be an "extremely stable genius", but that's not enough to add it within 8 minutes
clearly not a 10x developer
mfnalex, 1995, colorized
bro did your commissions rate in the about me go up again
it has been 105β¬ for months
i have bad memory
VAT is 19%
then there's business expense tax, which is another 25%
then I also gotta pay income tax
so when someone pays me 105β¬ including VAT, I am left with roughly 60β¬
are you actually charging that? π€
I have to
thats crazy, u go man
yeah it's a bit sad
I'm currently still arguing with the finance authority about whether or not I have to do the 25% business tax
because in my opinion, I'm a freelancer
and those don't have to pay the 25% business tax
but unless there's an official verdict I put the 25% on the side to be safe
I have a question, does not concern (Spigot). is there a Linux panel where I can control all the users I can manage? who knows something like that please write me would be very nice
a linux gui? I mean maybe in some graphical systems
that does not matter, my company is a GbR, which is a "transparent" company that doesn't have any rights on its own, it's a weird german construct
though a third party web interface for managing users? I havent heard of one
Nah webinterface π
but also doesn't make sense to have, the commands to manage them are quite simple
and rarely need to be used
basically meaning that although I appear as a company, everything comes down to me, and hence I argue that this is also the reason why I don't have to pay the business tax of 25%
(and exposing user management, including permissions, is kind of odd to do on a web interface that needs to be made public to access on a remote machine)
@tender shard and there's no precedence for this?
I find it hard to believe you're the first in this situation π€
weirdly enough, no. germany's highest civil court will decide about this on 27th of august
interesting
wait no
not the highest civil court
the "Bundesfinanzhof" will decide it, not the BGH
idk if you're german so no idea if that means anything to you
am not German
alright
Oh ein Deutscher hallo
so in other words, germany's highest "tax court" will decide it in august. it's in munich
hi, hello, weiΓwurst, but please stick to english here
alright, welp I'm rooting for no tax just 4 u mate
it's the server rules that you are supposed to speak english here lol, not my decision
(unless you like to give 25% to the government ontop of the other tax)
yeah well the money I make from spigot isn't much anyway
it's maybe 20β¬ per day or so
sometimes way more, but only when a new update got released, because then admins always buy new plugins
don't you just freelance now?
my main job is being a lawyer
again?
oh
I see ;c
I currently have a funny case
lemme explain
in germany people like bicycles very much
this dude, my client, bouht a bicycle from this company that he's suing
let's call the dude "john" and let's call the company "company"
"company" however doesn't just sell bikes, they manufacture them for you
like "customized bikes"
so john bought one of those bikes and then he rode it above some train tracks
wait, lemme send a pic
sth like this
but then john claimed that the bicycle fell apart while riding over this piece of road, and that it was the fault of "company"
he broke his neck and a few other bones
so now he's suing "company"
the bike broke.. going over a train track?
"company" admitted "yeah the bicycle may indeed have fallen apart but that's not our fault, it's the fault of the person who delivered the bike parts to us"
and yeah that's currently my job
yeah it kinda fell apart
and now the question is:
Good morning my love
is it it the "company"'s fault, who only assembled that bike, or is it the fault of the company that delivered the parts to be assemlbed by "company"?
hey cazcez β€οΈ
why not sue the parts manufacturer then? does the client believe it's the company's fault or is it more beneficial to sue the company instead?
or is the part manufacturer not German
because the dude who fell down doesn'thave any contract with the manufacturer of the parts
ah okay
does his contract specify whether the company that sold it is liable though?
we call this situation DRITTSCHADENSLIQUIDATION in german
feels like if that mattered it'd have to be quite specific in the contract
("third party liquidation")
why do you have a long word for just about everything xd
oh that's easy to explain
we combine existing words instead of inventing new ones
for example
you have a nose, right?
and your nose has two holes in it
english people invented the word "nostril" for that
in german we just say "Nasenloch" which translates to "nose hole"
π€ that's interesting
Nase = nose and loch = hole
alex go to bed
you go to bed
so DRITTSCHADENSLIQUIDATION breaks up into 'third', 'party' and 'litigation'?
there's many reasons why german is a shit language, but that's not one of them
exactly
if so, why do you not just use the 3 different words
separated
Nase loch vs. Nasenloch
Dritt = "third", schaden = "damage", and "liquidation" = obvi "liquidation"
because it's gramatically one word
then what about a red shirt?
well idk why it's the way it is lol
is that 2 words or 1
that's two words - "Rotes t-shirt"
it's because erm
a tshirt can have many colors
that's why the color isn't part of the actual word
"red" is just an adjective
idk german is werd, but every language is weird
I cannot explain why it is like it is
well that depends
i out-curiousity'd alex
how often to you say "third party litigation" or "first party litigation"?
probably you never said this, right?
correct
so it's not just an "addtivie" to the word, but actually a part of it
hm maybe another example
"school bus"
well it is an adjective, but I understand your point
you use it so much that it becomes an idea of its own
in german we'd call it "Schulbus". so yeah Schule = school and bus = bus
but a "school bus" is "one thing"
it's not a school + a bus
it's one thing, you know what I mean?
so it's a schoolbus in german and not a school bus
our language has many querks, e.g. the whole der/die/das thing - but the word compounds are totally logical
Kaffeetasse (Kaffe = coffee, tasse = mug)
I dont know that means
so bad example
what is a stove top?
yea
This would depend on how it broke apart.
another good example is fridge
you call it fridge
we call it "KΓΌhlschrank" = "cold cupboard"
so yeah german words seem to be long on the first glance, but actually it's just a compound of already existing easy words
If the part that broke was the frame. Then i would agree it was a defective part from manufacturer unless it has a labeled weight limit and said rider was more then said weight limit
the actually fuckery in german is that every word has its own gender
e.g. a car is "Auto" and it's neutral. a bottle is "Flasche" and it's female. An amplifier (for music) is "VerstΓ€rker" and it's male
and now it get's really weird
is there any written indication for male/female?
"Das MΓ€dchen" = "the girl" - and guess what, that word is neutral and not feminine
It should just all be neutral
der = male, die = female, das = neutral
but it gets more complex now
you have different "causes". For example: "Ich fahre das Auto" = "I drive the car". Note how there's a "das" before "Auto". Makes sense, because "das" is neutral", and "car = Auto" is neutral too
but now you could also say:
"Ich fahre mit dem Auto" = "I am driving with the car"
now suddenly it's "dem" and not "das"
german is very complicated, not because of the words, but because of the grammar. This is however is why we can create absolutely precise sentences without using too many words
am not going to learn german
Doesnt make sense to really say driving with the car though. In english it wouldnt really be correct
sure but direct translations rarely do
idk, it was just an example. german has 5 different cases (nominative, dative, genitive, ablative, and another one which I forgot).
While true i dont know german therefore dont know how else that sentence would be translated
let me give you an example:
in english you'd say "I can't answer right now, I'm walking the dog"
is that something an english person would say?
Sure
yes
or are you walking "on top of the dog"?
with
in what, German?
yeah wait haha
if u say that in English people will think you're riding the dog
"I'm walking the dog" could also mean that "the dog" is an adverb
Lol
granted, in real life there would be no situation where anyone would confuse it
The only reason i pointed out the sentence is because you drive the car. To say with the car would mean you are driving a car inside a car lmao
yeah it was a bad example
or like tailing a car behind your car
tailing as in like
locked
towing is the word I'm looking for
oh but that still doesnt make sense
these are both bad examples alex
you should write a math textbook
Lmao
Mary has 549 apples, and wants to give Joe 2,409 for Christmas. Does Mary need to buy more apples?
No just magically make more appear
yeah anyway, I can't think of any real life example right now, let's stick to teh "I'm walking the dog" example. in german there's a difference between "I walk the dog" and "I walk the dog". But if you'd translate this 1:1 to german, it would literally mean "I am the dude who is making the dog be able to work" and "I am the dude who goes outside so that the dog can walk" lol
and the difference between this is sometimes as little as der/die/das
Lol
wottf2
Odd way to speak too
This is why i like english
english is unprecise
oh pls English is just as confusing
german is an extremely precise language but also has very complicated grammar rules
Exactly and because of this everyone still knows what you mean without being precise
sure, in 99% of cases, you are right
but the preciseness is important for example in law texts and similar things
I should say, they know what you mean without looking at you weird for choice of words lmao
german is a fucked up language, but english isn't any better lol. your pornounciation is fucked up
do, dough, done, does
the "o" sounds different in every word
Guarantee you i try to speak german and people are going to think i am weird because i used some incorrect word somewhere
oh no, we are used to people speaking half-assed german
done and does are the same
everyone will understand you even if you speak like shit
at least to me I think
oh yeah true
yeah anyway, you get what I meant
e.g. mean and meant
well xd
the "ea" sound is different just because there's a t at the end
that makes little sense to me, e.g.
when I arrive at the "t", I already read the "ea" part
you're just meant to know how to pronounce each word
why does the "t" affect the letters that were already there before
no good rules, none of them work 100% of the time
yeah exactly
No one really cares in the US how you pronounce words unless it is extremely incorrect lmao. They might look at you weird a little bit but they would probably still know which word you are saying
in german, every letter is basically almost always the same
well there's ofc also exceptions to that
TL;DR: all languages suck
and yeah german has long words, but it's just combined words of words that already exist
I dont pronouch th words properly
I pronounce th words with a d sound
So the is duh when i talk. But no one cares lmao
good question
it should normally just be "Naseloch"
but that sounds weird and so we add this letter. Dont ask me why. It's called basically a "fugue sound", here's the wiki article about it -> https://de-m-wikipedia-org.translate.goog/wiki/Fugenlaut?_x_tr_sl=de&_x_tr_tl=en&_x_tr_hl=de&_x_tr_pto=wapp
Fugenlaute werden in der deutschen Sprache und in einigen anderen Sprachen bei Wortzusammensetzungen (Komposita) sowie manchmal bei Wortableitungen an den Nahtstellen (Fugen) der Zusammensetzung eingefΓΌgt bzw. kΓΆnnen dort eingefΓΌgt werden. Beispiele sind: Arbeit-s-zeit, Seite-n-zahl, Gelenk(-s-)rheumatismus (hier optional).
Die Bezeichnung Fuge...
π€ alright
Anyways. Time to go change tires. Thought it was your bedtime alex?
it doesn't really make sense. It just developed over time, idk
it's only 6:34
u couldve made a bungeecord PR in that amount of time
maybe tomorrow
also
I wont PR anything before my craftbukkit PR got accepted
or denied
I wanna know if I did everything "in an acceptible way"
gl
damn wtf
no wonder that foreigners always speak shitty german. the rules alone for this tiny part are way too complicated
I mean I don't even understand this myself fully and I've been speaking this shit for 27 years
well tbf
English has many rules that natives don't know
like I don't "know" the exact order of adjectives
we just use them properly
oh funny thing
because it "sounds right"
they/their/they're
somehow, americans always use the wrong form, while people who are from other countries know which version is correct
another example:
should have / should of
somehow americans always say "I should of written that down" although they mean "I should've written that down"
yeah I apologize for half of this country (speaking for US because am not familiar with British English and how well it's performed xd)
they are quite illiterate beings
but I always get angry when I see that optic once again wrote "I should of done that"
like you should block me
I don't know that there is any correct time to say should of?
think that's because it sounds similar to the contraction, should've
I also cant think of any proper sentence where it'd be correct
yeah, probably formed because of the contraction
yeah it's because native english/american people learn the language by listening
yep
but I think that they/their/they're is something that one should of learnt in school lol
and yes I did that on purpose
well the boldface gave that away xd
haha yeah
and they did learn it, probably
they just forgot it, or don't care
many rules are learnt in school & forgotten
in german, the biggest mistake is that people from other countries always use the wrong "der/die/das"
but that's no problem, everyone knows what they mean
when I'm in turkey, I also try to speak turkish, and I bet I do a thousand mistakes while speaking it, but everyone appreciates that I at least try to speak their language
so yeah, fuck those mistakes, as long as people understand you, everything's fine imho
half agree
it's irritated, but understandable
i.e. I don't know the different between por & para
though I believe it**'**s a difference of male/female
isnt that spanish?
that's a different "case"
por" means like " reason for" or "where" or "when", while para is bascilly like an adverb
although I am not sure
para is like the latin ablative
it's for stuff like "why"
yeah languages rarely make sense
yeah it's always weird haha
and I'm definitely not qualified to comment on either Latin or Spanish lmao
thank god that ancient greek died out
fun fact: the greek word for "yes" is the same as the colloquial german word for "no"
"ne"
ah
in french it'd be like neaux
like no stress on e
I'll just make a short video
u dont need to
actually u need to go to bed
its 6:50am?
mate u needed to be sleeping 6 hours ago
"neeh"
yeah anway TL;DR: german words make total sense, we just combine existing words; and the pronounciation is also extremely easy - it's just the grammar that's complicated because e.g. every word has it's own gender, and it makes no sense, e.g. "girl" isn't a female word in german, but a neutral one
we say "DAS MΓ€dchen" so basically girls are objects in german lol
however for adult girls, basically "woman", then that word is female now
oh ;c
totally!
my logic immediately broke
languages never follow any logic
that's why I studied law tbh
because it has 1000 exceptions?
law is like "math, but using language"
well for example, let's imagine there's a law that says "You are allowed to upload a spigot.jar if only your friends can access it"
now it starts to become complicated already
what does "can" mean?
can someone access something if you upload it to a password protected FTP server?
oh yeah that's common everywhere
ofc someone might be able to bruteforce the password and then they "can" access it
and now the second question
what if I run buildtools.jar directly on the server that runs the FTP server? If i did so, I never "uploaded" anything, right?
or another thing- I could just rename "spigot-1.19.3.jar" to "something.jar" before uploading it - did I now upload a "spigot .jar"?
yeah or that, exactly
now whut u going to do
exactly, that's indeed a good question
a judge would probably say "yeah but obviously, tar.gz or zip etc is a commonly known format that can easily be reverted to the original file, so get rekd"
you know what - I make like half of my income through this idea
e.g. someone runs through a red light, and they get an invoice about 300β¬ (yeah it's kinda expensive to run red lights in germany) - then they come to me
and I tell them "No! Don't pay it. Let's discuss this in court"
and the court schedules a date for like... "in 9 months"
lmao
but things like this are lapsed after 3 months
so the only thing the judge can say "Yeah it happened 9 months ago? Case dismissed"
wait what lmao
it's true
yeah, the state was too slow to do anything
that's hilarious
for "minor things" it's 3 months
given that the court's docket wasnt even open even if the state was available
for felonies it's usually 3-5 years
stuff like murder has no tim elimit
but "driving too fast" or similar is usually "3 months"
and as said, if you say "no, let's settle this in court" to the authority, then it takes at least half a year before you get a court appointment, and then it's too late for the state to do anything
that's funny
it's a bit sad too lol
I mean, if you really fuck up, the state attorny finds another way
if you go like twice the speed limit, they'd e.g. say "that was reckless dricing" and now it's a felony again and they have 3 years to fuck you
oh so I cant run 10 red lights and ask to discuss it in court 9 months later?
π’
but if you just go 20mph / 35kmh too fast, then usually I could just delay it until it's lapsed
but technically its 10 cases of running a red light
oh we also had a famous court case about that
the police in berlin once thought "haha, if one drives too fast, he gotta pay 30β¬. so what if we put 10 speed camers right next to each other, then he'd have to pay 300β¬"
the court said "no. there has to be at least 1.5 km distance between the speed traps"
however, a red light is different
if you run over 10 red lights, and they aren't at the exact same crosssing, then it's indeed 10 different violations
and you'd probably get an MPU and lose your driver's license
so don't do that
in germany, going over a red light is a VERY BAD thing
aw
you can exceed the speed limit by 50 mph and we don't really care, but running over a red light is a nogo
we do not have school zones
running a red light = automatically 300 β¬ fine, two points on your license (with 7 points you lose it) and 1 months "no driving"
for one offense?
yes
(unless the light was red less than one second)
if it was only like 0.8 seconds red, then it's considered "a mistake" and you only pay like 50β¬ and it's okay)
if it's red, it's red. that's what the yellow lights are for
wait, I'll draw a "table" lol:
"Many red-light cameras give drivers about 0.2 seconds. Some cameras give drivers 0.5 seconds. Some cameras give no tolerance. The correct tolerance is around 2.5 seconds."
Going over a red light:
- Was it red for longer than one second? -> You are fucked, 300β¬, 2 points on your license, and 1 month of "no driving"
- Was it red for less than one second? -> Roughly 50β¬ and that's it
interesting
it's weird, I didnt make those laws
most likely because <1 second is unlikely to have a full intersection
and the clearance time
if you cause any "disturbances" by crossing the red ligt, it's an additional 70β¬
if you cause an accident, it's an additional 80β¬ (inclduing the mentioned 70β¬)
i.e. if u go through a red light before 1 second, your time to clear the intersection might be quicker than a car to accelerate into the intersection
though that goes into traffic light timings, idk how they do that in Germany
oh wait, no no no
in the US, you have the lights on the opposite side of the intersection, right?
yeah
yeah in germany it's the other way around
well that doesnt effect anything
the traffic lights are at "your side" of the intersection
it does
no it doesn't
for example, it's totally fine to go onto the intersection while the light still shows green. but then you might get suck "inside" the intersection
that's fine in the uS
ah ok
if you pass the white line when it's green/yellow, you are fine
ah yeah okay, same here
It's more fun just zooming through, who cares about colours.
sorry, you just lost your license
2/7 points
1 mo no driving
300 eur fine
get fucked
does your state also allow "turning right on red"?
yeah, unless noted otherwise
Can't lose what you don't have π
i never understood why this doesnt exist everywhere
in germany, some signlas have an extra symbol for that
like this
that means "if it's read, you gotta stop, but after that you may turn right if the road is free"
well immediate guess is that if the law requires a sign, then it requires you to look to see if you can
yeah ofc
We have Arrows for that, arrows that match the lights colour. Not just a sign.
otherwise, if the law says "if there is a sign to NOT right on red, then you cant" and you dont look for the sign
yes we got that too ofc
but why would you need a light if it's allowed all the time
well the arrows are seen at very large intersections here
I don't think we have it at smaller ones
lmao
damn those snapchats bot that send you videos of girls licking their lips, pretending to be in love with you althouh they nver saw a pic of you
well i mean π π
I have seen a pic of u
well, only videos I think
π€
nope there was a picture
NO
i am the snapchat bot
the finger emojies (π π) may only be used by @buoyant viper when we talk about each other. or with each other β€οΈ
everyone else is not allowed to use it
thanks for your cooperation

use it anyway π
sounds good
I will notifiy choco if you people abuse hannah's and my priviledge
I'll just tell Choco to revoke those privileges.
you bet
except for a pink name
I'm talking about sex here all the time and minidigger was really upset yesterday and Im still here
idk I won't comment on paper's discord
iirc he's core team
yeah for sure
Yes, MiniDigger is apart of the core team for Paper
knew he was, didnt know if still is
ik a few people left recently
or just one, dont know/remember
and recently as in months atleast xd
we all know that paper's discord is a bad joke anyway
"Oh you sent a link to soundcloud?" -> perm ban
the whole paper community is kinda toxic per se
"Why does paper not have XYU method?!?!?!?"
"Well then pull request it"
I'm in the paper discord, i'm not toxic π
"Oh no I don't wanna sign the CLA"
I was there too and I wasn't toxic either
let's see how long you'll last there
tip: do not send any sundcloud lins and do not argue with staff
if staff says something, say "Oh yeah, I am totally agreeing"
this soundcloud thing seems to have been mentioned a bit
did u get banned for that xd
yes
Don't use soundcloud and don't argue with people so I'm good π
lmfao
anyone use discordsrv api?
He is literally talking about everything except development at #help-development
'_'
people sent links to songs where the "singer" said "n-word n-word, all jews must die" and stuff
that's a common thing
then only one time, I also sent a soundcloud link
get used to it xd
HΓ€ngst du schon am Haken? Knusprig Paniert und JEFF & Jefferson ergeben zusammen: Le Crochet!
I don't think I've used #help-development properly 99% of the time
this one
and that got me a perm ban
and now the best thing:
that song isn't even about making fun about fat girls
maybe u shouldnt have sent a soundcloud link with that title xd
it's actually a satire sore that mocks people who think like "huhu fat girls suck lol"
Alex i kidnapped a stray cat and waiting an answer from you for half an hour
kidnapped?!
#general
Is there way to check whether block is decoration block? (traversable block)
hello, is it possible any1 can help me tweak this plugin so instead of creating explosion it spawn a primed tnt instead
Check if the creative category is decoration?
I mean check the block is decoration block. Grass, tall grass, flowers etc
Might have to create a set manually and check if the set contains the material to check
If its grass like things you can check if its ageable
You can also use tags
Umm is there any feature like traversablility?
declaration: package: org.bukkit, interface: Tag
This chat gets cluttered with absolute nonsense lol
its apex's normal console ig
Are you using a bungee version that doesnt support 1.16?
Only 1.16+ by the looks of it
this is not an issue
this is
Obviously there is something wrong with whatever plugin that command comes from
And we are supposed to know from these pics of your console?
?paste
^ use that not sending files
there isnt any errors.
So you literally send another pic...
Ot sends a file when the message is too large
what do you need exactly?
Args will never be null fyi
Just empty
Also the way you check args is wrong
You should be checking length
Also not sure why you are using super with name
Also onCommand returns a boolean. So all your returns should either be returning true or false
Which is the method you are missing it seems
You really need to learn a bit more java as well as read documentation or read it better
Hi. Can we disable light level requirement for farming?
does any1 know a plugin that spawn a certain entity on any entity's death
This is #help-development
i didnt know where to post it sr
Stacktrace:
https://pastebin.com/cm6ydpAQ
Line 11 is just a class: public class LocationSerializer implements JsonSerializer<Location>, JsonDeserializer<Location>
And line 25 is Bukkit.getLogger().info("Serializing location: " + src.toString());
hello .. #1060646223075360829 anyone have good idea on how to do the event part?
no one answred my question from yestrday ..
this is how my config looks like :
there is a command to create new perks
should i have effects ? or commands that trigger to player's that have the perk ? ..
Bukkit says "Don't asynchronously use the Bukkit API." Does this include any (non-bukkit) code that is activated when an event is called as well?
in other words, can i use async inside of all bukkit events?
I get a Plugin already initialized!
I think the exception is gave cause I'm using a plugin's API before the plugin itself loads
Should I change the name of my plugin to let it load after the other?
make sure you don't have duplicate plugins. If you use a plugins API, make sure to add it as a depend or softdepend in your plugin.yml. That should make your plugin load after that plugin
I'll give a try
dont call your plugins constructor
I'm not calling the main method twice
I didn't add the depend in the plugin.yml, thanks @summer agate
CraftWorld / WorldServer
π thanks
i needed that cuz i need my config to load pre world
so i'm not sure whats the best place to put it in
Development is for help on code related things with plugins.
ah ok ty
You can set in plugin.yml for plugin to load pre world
Not really needed to mess with nms for that lol
its my server fork actually
I load my config in DedicatedServer (just like others) but for example WorldOptions still gets the default value, not one from the config file
lets say i have my boolean set to false, but default is true, it will use true
I understand. Thought you were making a plugin
Didnt know you needed it for a custom implementation
π
To check the color of a glass in 1.12.2 you should use itemStack.getData()?
Or check the material for which stained glass it is
not possible?
it is possible
Everything is possible
i dont understand custom yml files
im looking at chinese here
does someone have a good documentation about creating,writing and saving config files?
Certainly possible, but pretty hard to pull off in a somewhat elegant manner. I've taken a few minutes to research this topic and other plugins seem to track growables and simulate their behaviour themselves, which is expensive and overcomplicated. Looks like bukkit events cannot affect lighting levels, as they're not even called if the place you're trying to farm at has insufficient lighting levels.
Spoofing lighting levels would be pretty neat, as we could then keep and use the internal growth logic. Don't know how to do so yet, though.
Quick question - can you generate books with more than 50 pages, or is it a hardcoded limit?
They increased the limit to 100 pages in 1.14, which is why my screenshot reads that constant. This is a little excerpt from a decompiled client, so it's a hardcoded limit. I'm sure it's the same with the 50 pages.
So even if you manage to send more pages to the client, it will not handle them.
It's client code. Do you really want to write a mod for that? :D
It's just like the topic with scoreboard teams. The client only allows you to be in one team at a time, so it doesn't matter what you do on the server, that's a hard limit. Same with bookpages, the client refuses to render more than 100 pages.
Huh?
yea
well i could just write an overload event of sorts where it regenerates the book when one swaps to the first or last page but that sounds like unnecessary complexety
for example u can be in player 1's scoreboard team as well as in player 2's scoreboard team
if they both have their own scoreboard that is
Are events even triggered when you navigate pages? Don't think so, book viewing is client-side. You would need to add clickable text which then jumps between max-page boundaries.
huh didnt know that
to be fair, clickable text was my first idea too
wait
lecterns tell you what page ur on
and vice versa
couldnt u pretend the books a lectern
Oh, you mean that a player can be in multiple teams on multiple clients? Because one client can only - if I'm not mistaken - have one scoreboard set at a time. So for any given client, a player can only be in one team. That's the only thing that matters, because it disallows things like the ghost effect between different teams and thus renders it useless for 90% of situations out there.
nah i mean if all players have their own scoreboard
a certain player could be in a team in all of them
That moment when you lost connection to updates at 1.8 and don't even know what a lectern is... lol.
That's what I meant too. You can still not be in two teams at any given time, from the view of your client.
true. from the view of the client each player will only be in 1 team
Which is the limitation that I think is noteworthy, because it makes many things harder and some things impossible.
Oh, a lectern is like a multiplayer book reader? Then it would surely synchronize state when navigating pages. I'm sure you can open a virtual lectern, just like we can open virtual crafting- or enchanting tables. Then you'd be all set for generating new page content when a certain page has been reached.
well i could
lol
but it'd be so much easier to just make 2 books
i was just curious if i could create a massive book using server-side code
Yeah, depends on your requirements. If you want to have one massive book, that's the only way. But well, what would you even write in there? lol
im working on a new magic system in plugin form, and was thinking of using books to convey the how
making different volumes makes more sense than one big one tho
like i said, that question was academic curiosity only
you can translate text documents to book pages if you do it right, and then you could just have multiple volumes if it goes beyond 100 pages π
This would allow you easier editing too for your so called magic system since you could just modify the text files
well the idea atm is that i just keep a yml file containing all the text so that whenever a book is opened it checks if the checksum changed and if yes regenerates the book
self-updating grimoire
not sure why you would use yml
habit mostly
Hello, how can I check if the block at a specific location was broken so I can cancel the break event ?
I save the block location in a database but idk how to check if the block at that location is broken by the player
You are correct. 0 is boolean false, everything else is boolean true
But there is a catch
The Java Virtual Machine encodes boolean array components using 1 to represent
true and 0 to represent false. Where Java programming language boolean values
are mapped by compilers to values of Java Virtual Machine type int, the compilers
must use the same encoding.
Albeit a very minor one
You listen on the event and check if the broken block has the same coordinates as the block in your db
And that is not an artifact of using 1 bit per boolean (which would make sense):
In Oracleβs Java Virtual Machine implementation, boolean arrays in the Java
programming language are encoded as Java Virtual Machine byte arrays, using 8 bits per
boolean element.
should be able get the Block with event.getBlock()
' if(e.getBlock().getLocation() == location){
e.setCancelled(true);
e.getPlayer().sendMessage(ChatColor.AQUA + "DON'T BREAK ME");
}'
not working
@somber berry use equals
For constants*
Or Enums
Enums are constants
Hello guys. I want to register listeners in my plugin based on a list specified in the config.yml, is there any way to do that directly, without having to have some module in my plugin that maps the values in the config to the actual events? There are too many available events to do it that way.
Yeah okay nvm true
Oh ok, bad C# habbit :)) I will give it a try rn
Yes there is
I would be indebted to you if you could point me in the right direction.
man, sorry if i'm asking again but how can i do that?
Something like what he is doing in his code https://www.spigotmc.org/threads/temporarylistener-a-cool-class-ive-created-and-share-to-you.583926/
yaay
it worked
thx
best thing when something works after painful hours of debugging
How can you write a getter?
not exactly true
i mean i want to check if the menu is in the ArrayList, but the event checking is in another class and i cant access that arrayList
equals() compares the content of an object == checks reference aka memory address are the same
@orchid gazelle
Thanks for linking. I've gone through it and I have to say I don't really understand what's being done.
going to have to do some learning then π
So if I load/deserialize an object from a file and compare it, the memory address will be different. So equals() will return true and == false right?
if the objects are of different instances == will fail
but if the content of both are the same
.equals() would be true
Yeah ok
the reason == works great with enums is because they are static, and static means only a single instance
you also need == with primitives
string isn't a primitive hence you need .equals()
Make it a private variable outside of code and write a getter
making it public works too but generally considered bad practice lol
if its public, you don't necessarily need a getter
you could just access it from the class object
it says invalid modifiyers
modifiers?
yea sorry