#general
3141 messages ยท Page 70 of 4
I mean
yea and they worked out great didn't they
if they cant touch stuff thats in mods they cant really do anything
especially pistons
Yeah but I'm just saying things like bushes, that they add recently, are so messy and incoherent, it makes no sense.
Things like Natura add berry bushes that you can use, they have unique features, they actually grow and do cool stuff.

Minecraft cherrypicked that, and wahddaya know, it doesn't do anything special.
should make a #semi-coherent-rants channel
do it
Brian do you actually think Mojang just peruses shitty mods to lift ideas from
I mean theres so many mods its hard not to add already done things
the simpsons already did it
And thats only half of each update
you too
no u
we need a daycare channel 
Hm, in a RabbitMQ fanout exchange, is it not possible to exclude a specific queue for outgoing messages? For example, I don't want the server to send a message to its own queue.
There's also internal bullshit and non normal gameplay features. Custom boss bars. Resource packs. NBT dependent textures.
what
cavegame was a mistake
notch was a mistake
hold up there
Minecraft was a mistake
sorry, I went further than y'all
Java was a mistake?
cavegame was a-- thanks Byte
shouldve written the game in erlang like a man
yeah java's a mistake
The universe was a mistake
i went further tho logics
we need C
also seriously look at notch's twitter and tell me he's not a mistake
alright wtf did u say
life is a mistake
ASM was also a mistake
the last time I looked at notch's twitter to see what the outrage was it was like 95% baiting stupid people and 5% semi-edgy teen shit
it's probably ur elder
@upper flicker similar experience
C is big gey
I didn't see Notch doing anything other than trolling retards
I wonder if Notch got really satisfied with his 2 billion dollars
PDP's were a mistake
lmao the java islands were a mistake because they gave the name to the language---
Notch a bitch. Didn't even offer a noteworthy share of his profit to the people who got him there lol
now I went further than y'all!!
@acoustic pilot didn't he split it with Jen?
lool
He gave all the devs like 5 or 10k
I'm sure everyone is making fine money though.
I mean he didnt have to give them shit
They work for Microsoft.
the game was already on the rise before they were hired
I dont get too bent out of shape about it
Well, a few thousand dollars salary a month doesn't really compare to 2.5 billion.
Dude could've given split like 100 million amongst them, they could've all retired, and Notch would've still had like 2 billion lol
2 wants that sick sellout money
Bill gates could also give us all 1 thousands bucks each
give me 0.01% of your money
Are you a 1.8 kind of person brian
plseae
and elon musk could share his wealth with the employees whose backs all his success is based on
1.13 was the rewrite we've been waiting for and then it disappointed.
idk what world youre living in
Agreed
On my computer, 1.12 had 100-80 FPS.
lmao 1.13**.2** runs just fine for me
Elon musk made his money off paypal tho
here
FPS has consistently been going up for me since 1.8.
I like 1.13 for the gameplay at least
#define 1.12 1.12.2
1.13 client runs better than 1.12 client here
but I probably have a nicer gpu than your potato card
You probably do
If you cant run mc in 2019 wtf you doing with your life
lwjgl3 4 lyfe
it's called I NEED MONEY GIVE IIT TO ME
1.13 client with Optifine runs a bit better than 1.12 client with Optifine here
i got 3euro on my bank account
gimme
@worn ember hey I need to borrow 3 euro
Here I had a 150% drop in FPS, I have EXTREME mouse lag.
I'm talking half a second mouse lag.
@worn ember MC started complaining ~3 major versions back that my video card was outdated and may not be able to run MC in the future.
lmao I have 3 and something โฌ in coins of 1, 2 and 5 cents LMAO
Also Windows 10 stopped supporting my video card, so can't play Minecraft on that.
Hence, I use Windows 7.
well upgrade then
same, I'm still on 7 because of my CPU
I have a laptop
or actually my motherboard because my BIOS gives me no option to enable virtualization
I have to completely replace it
my CPU technically supports it
we're talking about 500$ so I can run mc
which is worth it
lol
BUT
I'm waiting for new AMD gpus and CPUs.
@acoustic pilot I won't disagree with you but I personally don't think they were entitled to it.
2019 is expected to be a good year.
lol if you pay 500$ to pay mc then you can play other games lol
I forget what's on the horizon but that means things like 1060tis are going down
logics that's why I said which is worth it
yeye
there's a lot of other games and stuff I want to do that I can't atm
Zen 2 when
I wish I could at least play GTA IV lol
soon supposedly
Let me retire my Zen 1
GTA IV runs like shit on everything
hell it ran like shit on consoles
the pc port is not a ton better
@stiff yarrow Entitled? No. But certainly a mark of your character to not split something more sizeable amongst the people who got you there, especially when it would still only represent a small fraction of your profit.
I don't think so
uh from what I read the console/original version was ok but then PC was half-baked
and that 1.0.4.0 patch is the best for performance because after that patch the shadows become GPU-intensive
I mean, "ok" as in 25FPS max, 10 when shit started going down
it was not an amazing game on console
if anything PC made it nicer
because you can just throw hardware at the problem
It would have been a nice gesture but I don't think I can say I have a problem with him not doing that
how wasn't it good for the consoles though, I doubt sony would allow that??
for the PS3 lmao
Guess we disagree there, I say it stains his character.
I played it on ps3 it didnt run very well
Though he seems to do a good job of that on his own in excess, these days, too.
wish you could gta 4get it huh 2
not really no
ur not fun
ur puns r shit like ur species
2 ur retarded
thats racist
that wouldnt be racist
ur wacist
dum fuk
wow pulling out fuk
the classics
am going to discord's help and support team
is 2FA still recommended when your password is already a 20-character randomly generated string that you need a password manager to use?
@tropic flame That's kind of a dumb question.
doesn't hurt to have more security :>
@static badge you used thatr word quite a few times, they really like that :>
@acoustic pilot I'm actually asking it seriously
It's like, you have to ask yourself, why does 2FA exist in the first place?
2 ur retarded
And then you realize, your question is dumb.
certainly will be when discord bans you

well I ask myself why it exists when it introduces an extra code to put at login that is sent through SMS (or some random app that the company supports and then you probably end up with +4 different ones for different websites), recovery codes you gotta save for the case your phone gets stolen or bricked
@implNote
is it me that I'm lazy for all of that
2
that's not an annotation
its not a tag either
@acoustic pilot I don't really follow what he does post Minecraft, maybe if I was closer to the situation it would bother me but as an outsider these people who worked under him were paid which is already compensation for working on the project. After he sold it they still remained at the company as far as I know, and I can only assume they are being paid fairly.
I will say that if I were in Notch's position I almost certainly would have made it rain on the few employees I had before my exit, but I can't fault him for not doing that.
didnt stop you
well the <br> tag certainly stopped you
Well, I can and do fault him. But I'm also a strong believer in redistribution of wealth, mostly to the working class.
The fact that billionaires exist at all is a bit disgusting to me.
But that's a whole other can of worms.
isn't that like borderline communism
To understand my position, you sort of have to understand that.
yeah no I do understand that position, it's "reeeeee people have a lot of money"
"and im not a fan of that"
grabs popcorn
who here
was talking about
oh yeah
Yeah so I'm waiting on Zen 3 and everything price dropping before I spend 500$ to build a computer that could soon be outdated (in comparison to what I could get then with 500$)
it would also be nice that we all donated to africa, but not all of us do, because it's not technically a problem of our own
even if that sounds cold
it's not my fault that they're in the situation they are
what
it's called a comparison
Just wait until automation outpaces human job growth, redistribution of wealth will be a front and center political issue that resonates with a lot more people.
Though it probably won't happen for another hundred years lol.
@austere ivy what I said wasn't about you lol dw
my opinion is, is that Africa isn't doing well in their individual communities
It'll snowball, eventually.
some parts are barely in the industrial age
it'll be interesting but I don't think that'll be the winning solution :>
so if they can't sustain themselves
you still need humans to automate the robots
if we give them food and then suddenly just stop, they'll have more children but then can't sustain those children
robots don't make robots themselves
You won't need very many to fill that role.
Eventually robots will be making and automating themselves, yes.
And there will be excess unemployment
So you either tax the robots, or figure out something else.
robots will be our doom
But taxing robots is a form of wealth redistribution
kill us all like in terminator
even john connor
he's fucking dead i guarantee you
Like I said, human unemployment will eventually snowball as automation outpaces job growth.
Unless we halt/slow it.
It's an inevitable reality so long as there isn't any war to slow it down.
@wide chasm That's already what we're sort of doing, slowing it down.
but industries will lobby strongly for automation, as they do for everything else that benefits the company, teh shareholders and the execs.
while the working class is stiffed
Eventually all the unskilled labor will be phased out, that'll be the first to go.
there's shareholders who hold Teh?
I wouldn't be surprised if we tried to halt it, and honestly I don't know if I would be against it
Then AI/ML/NN will take over the skilled labor.
So things like UBI will be an impactful political issue down the line, not any time soon, but eventually.
And that UBI has to come from somewhere
I say taxing robots, probably.
some things are just not meant to leave the lab lmao
Do you prefer this?
Otherwise gonna end up with unemployed masses, perhaps leading to chaotic legislation like sterilization, or just billions living in slums under shitty conditions
Or this?
what's the change you're doing, color scheme? @gusty idol
when a robot does a WAY better job of it?
@acoustic pilot Wait until robot ethics get involved in this and they suddenly need salaries too ๐
No, I'm talking about the way the test is written
lol
robot ethics are nonexistant
people think AI is like whoa so powerful
in reality
it's if statement
lmao I'd pay to see robots discussing about abortion
making hydraulics go back and forth
@wide chasm Not a joke, robot ethics will be a thing, that's much further down the line, though
Robotic sentience is inevitable.
Of course they'll be a thing, but I just don't want to think about it.
and since humans want to see EVERYTHING as having a conscience we'll see silicon
sentience would be faked, Byteflux
if we don't give them the ability to have ethics
they won't have ethics
simple as that
Good luck drawing the line between a human brain and a robot brain i.e. it's chip.
robot 1: this is a life, therefore you cannot kill it!
robot 2: but sir, we are actually... made of metal and electricity
robot 1: ... yeah you're right
abortion made legal for robots
Not in our lifetimes, but it will be a thing
highly doubt
Government can't enforce their will on everybody/
byteflux
I'm certain it'll be a thing.
even if I'm wrong who can say I'M WRONG RIGHT NOW!? ;D
Not like you guys will ever see it.
Even if there are laws prohibiting it, there will always be a black market for it.
Someone will illegally create sentient robots.
"mhm, 12k if statements in this bad boy"
Yes.
It first starts with some random people on the internet saying how it's unfair robots don't have rights. Then people laugh and within a few decennia there are serious political discussions about it.
yeye I got these insulated cocaine cables LMAO @austere ivy
just like ๐
Once they've been created, they exist, you either shut them down or you debate the ethics, or both
4chan legit made ๐ into a white supremacist symbol
nice job 4chan
they also did the put your iphone into a microwave thing
who cares about 4chan
I have yet to meet anyone irl who gives a shit what 4chan says the ๐ means
yes
๐
I have yet to meet anyone irl who cares about me misgendering them
but there are people out there
and we can't ignore them just because we haven't seem them irl
if you let stupid people take normal symbols and turn them into symbols of hate or stupidity, you're just as stupid
I dont ignore them
mfw I forget netbeans only has a "light theme" and my eyes get killed on window switching
^
I call them fucking stupid
^
what are they going to do write about it on their blog
I share sentiments with Z
Wow he said the F word on this Christian server
glances at topic
๐
Interesting, human cloning isn't banned in the US.
Numerous attempts have been made, but failed.
What
oh thank god it is banned in europe!!!1
rip notre dame
Bush Jr actually vetoed two bills to ban human cloning lol
what
"religion only exists to make wars
at this moment it's pretty much its purpose"
I disagree but ok
for the big bang theory to be mostly accepted, there must be some things around that make the scientists think it actually happened, right?
@worn ember Apparently primates have been successfully cloned, also Dolly's death supposedly wasn't related to her being a clone.
I'd prefer to believe that than in some big bearded man looking at me from the sky eating cereals everyday at breakfast
Yes apparently it was China that successfully cloned the primates
god damn china
So human cloning probably isn't too far off
Another few decades maybe, or more, but not too far off
can clone primates but not a stable country 
I disagree, Logics.
China is stable, though? I mean, they aren't as economically prosperous, relatively speaking, but within the past decade, China has uplifted nearly 800 million people out of poverty and into the Chinese middle class (which, again, relatively speaking isn't as prosperous as western nations, but a huge step up)
It's actually quite impressive.
I think it all is dependent on how the universe started, but no one can really know that. Rather, I like to start from the historical validity of the bible, whether it was faked or not. There's various evidence that says the bible is historically valid (in the sense it was real when it was written, and not faked later on.) and you can just go from there.
Again in 70 years none of this will matter.
I'm going to bet some of you are going to get dementia or something so maybe 50 years for some lol.
So we can argue all you want, but it really just comes down to what happens after you die.
We know that we're all here, we are somehow here, and I choose to believe that an omniscient God has created us, rather than us just poofing out of nothing.
๐
he's the one who started it ยฏ_(ใ)_/ยฏ
Gives me some hope in the afterlife, it sure is a lot better than just imagining there's nothing.
it's funny to think that dinosaurs were his first try of some cool living creatures lmao
let's not get into religious discussion either 
and then he probably thought like "hmmm they are too big, kill them"
Alright.
The popular ideas are that there's nothing that happens when you die, or there's the christian afterlife when you die. One of them gives me hope, so.. yeah.
enough about your preferred rationalizations
let's get onto today's segment of... drumroll
Gonna be a shitty day for all of you when you find out the Mormons were right.
^_^
lol
its the magic underwear
I hope there isn't an afterlife.
real shit when you realise the leafs were right
leafs are cancer
I can use api to download latest version 1.12.2?
i hope there is an afterlife so I can continue the leaf war
I don't need to be buddhist to believe in reincarnation lmao, I mean if it's supposed to comfort me then I hope we get reborn as new people in this earth after we die
For ptero egg
One life is more than enough, I don't need another.
let's be real ur braincells are probably going to form again
Maybe
I mean you have like 3 so the chances are greatly increased
you don't know
That's not how Buddhist rebirth works.
oh.
๐
how's it work
Way off the mark there, buddy.
@void void api provides it, no idea if ptero has eggs that use it
that's why I said I don't need to be buddhist for that @acoustic pilot
idk it's how I became a leaf
iirc you keep getting reincarnated until you're a good person?
mainly because I find buddhist's view stupid lmao
Just stop lol
Stop talking about something like you know it, when you know nothing about it.
never said I knew about it xD
that's just my opinion /shrug
Maybe you didn't say it, but you behaved and said things as if you did.
but if he did that he'd be silent
I might not have a good one..
I thought my religion teacher said something about rebirth into animals as well as humans and then you go up until you're a good person or something and then congrats you don't reincarnate? Idk, whatever, too complicated for me.
I don't take religion seriously at school
if I get to choose then it's okay for me
If you actually care to educate yourself on the particulars, read https://en.wikipedia.org/wiki/Rebirth_(Buddhism)
there will be one point where I'll get tired of getting reborn lol
Personally, I don't care much for buddhism other than the aspects of it that can be carried over to taoism.
maybe you'll care more for it on the next incarnation
looks up taoism
buddhism, taoism, autism, all the same thing really
here's the thing
in the other hand though, I guess knowing that it will end some day and it's actually over makes it more fun for many people
how on earth would they know these things
oof that is some serious edge you got there darkeyedragon
Can't you say that about any religion?
@worn ember LMAO
don't go running with it
I prefer Shinto 
I'm partial to norse mythology
I mean, i'm pretty convinced that being death is just like being asleep
because there is some seriously good power metal made about it
yes you can literally say that about any religion
with christianity, it's more about the documentation about real life events
and any religion that spawns good power metal is a good religion to me
thats why they're faiths
also the new god of war
with buddhism you literally can't know, because once you die apparently you go to another realm so you can't communicate with this one? I dunno I didn't read that much into it
The bible is heresay.
if you take the bible as a historical document youre a fucking retard
imo, religion was just "invented" to keep people obediant
An infallible being didn't write the bible, FYI.
^
And it's been translated countless times.
I'm not christian but christmas gives me food and easter gives me chocolate so why would I hate it
come at me randoms
at least christianity
and it's not all one book.
wait is easter christian actually?
The bible also describes the afterlife with Heaven etc. I don't think you can really proive that either.
yes
alright
yes
the Bible has as much credibility as any religious document
its probably another pagan holiday they stole

Walls being pained today. Left is new colour, right is old colour
Nice, kash.
So you're just putting your faith in heresay
the deadn't of jesus
Heresay that's been translated thousands of times.
what do you put your faith into byteflux
i put my faith in bits and bytes
Oops ๐ฆ
also, that's heresy
I definitely meant hearsay
Only thing I remember about christianity is that Jesus was born, then died, then... not? Idk, it ends there or something.
hear say
if they dont say can you still hear though
believe whatever you want to believe as long as I don't have to participate
People wrote the bible, people translated it, it's highly questionable. As much as any scripture.
hey
I take offense to that, as a translator
Certainly not scripture.
Jesus is my dad
also
I put faith in a cosmic higher power, but not scripture.
byteflux
Skripture
Called the universe.
900 y/o man builds boat that holds 2 of every species on the planet.
One, do you know the definition of heresy?
runs
If I put slowmode on I just want you to know its not because youre spamming, its because this is literally giving me cancer
๐
As long as there is no good evidence, I don't believe in it.
I'm referring to hear say, not heresy.
Discord has a slow mode?
wouldnt that cause massive incest anyway lmao
it's HEARSAY ONE WORD
darkeye
how hard it is
jesus christ
which is also massive incest

maybe not lol
Brian you seem very educated
i'm an uneducated idiot so
Adam+Eve = incest fest
maybe you'd agree with what the bible says if you had the vocabulary required to understand what's written in it
in the bible, God ordered people to stop incest
Fun fact: Every painting of Adam and Eve has them with belly buttons ;)

Hearsay, as in its definition information received from other people that one cannot adequately substantiate; rumor.
Not heresy, as in being a heretic.
so
Both the start of the universe from scientific standpoint as religious standpoint is "we don't know, but I guess it's something like this", so I don't care about it.
people in the medieval ages weren't very smart either way.
god put a baby in Mary without her knowing, which technically makes it rape
I believe in the one true pepe 
oh boy
Scientific standpoint and religious standpoint both say "we don't know, but we guess" and that's my entire point.
Another fun fact: Eve was not Adams first wife.. or his second. ;)
One has an afterlife that's filled with good, and one has an afterlife that's filled with nothing.
did he do the snake too?
is that a bad thing billy?
I choose to believe in the one that gives me some hope at least
I regret adding the templeos emote
also billy source of that please
I want the afterlife with nothing, so I'll pick that one.
I see terry himself is with us

it's not like christianity was there before to teach him better
hello again friends, not to interrupt this epic debate but can someone help me decipher this error in a plugin? plugin is MuteSystem https://pastebin.com/SiK40kZ3

That was on accident
@placid thicket
I'm just pointing out people with faith know less about their book than atheists like me ^_^ don't mind me
you're in the wrong section
Please don't hurt me.
I know lmao I just found it funny
@placid thicket Try #paper-help
this is #general @placid thicket, this means that there is nothing of any fruitful discussion here
if you need actual help go to #paper-help.
If someone cares enough, they'll help.
RIP, my bad
idk, I feel like I am teaching basic english lessons to people who probably have english as their first language
nowhere in the bible does it say it's an apple
the very definition of productive
yeah it was a golden apple /s
I was taught an apple, so I just went with that.
@placid thicket Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader
you're missing a lib or you're not shading it correctly
@austere ivy look up Judith. She's my favorite wife of Adam, but she's been lost in translation over the centuries.
wrong channel
no u
go suck my pp zz
no u
judith isn't officially accepted as a true document
A very clear example of the fallibility of humans and why putting so much faith in it is so questionable lol
judith is a thot
๐ข
I have a bodypillow of her
The bible is a product of human fallibility, too.
judithot
All scripture is
is it wrong to have a body pillow of jesus
Giant horse xoxk
So, has anyone recently found a good scientific article or something?
I don't mind people believing in silly stories if it doesn't affect my daily life
about?
@finite wave Yes, please
Went for the leaf I see ๐
fukin haskell
Itโs actually interesting
Dig deeper, @austere ivy ;) I barely showed you this rabbit hole. It's up to you to go as as far you want to know ^_^
C Ninja in the lead bois
Read the text you idiot
no thanks
i already need to read enough papers to make my report on selfdriving cars lmao
Papers? Why not Wikipedia? /s
cuz you cant copy past 30 pages out of it
Welp, got my answer. There's no way to exclude a specific queue in a fanout exchange in RabbitMQ, have to discard the message in the client.
self driving cars no bueno yet, many challenges, humans, legal, technical, augmented driving current, so far is mostly ok
there's your paper
glhf
@upper flicker did you know its illegal to be a nub
@worn ember I see you aren't specialised in plagiarising from Wikipedia. First you take that text, if it isn't enough you take their sources' text as text.
Long as Microsoft doesn't make those cars we'll be ok. Don't need bsod to become literal
@worn ember why arent you in jail then
human issue is simple: prefer to drive over a crowd if you have to choose 1 person vs crowd
I had to write some stupid 40 page thing on Artificial Intelligence. Which I then just plagiarised Wikipedia for. 66.7% ain't bad.
@wide chasm theres plagiarizing checks tho, it'll literally know if you copied text, like from all the college database but also wikipedia and whatever other sites
its insane
if you're copy and pasting shit from wikipedia you basically have it coming
@worn ember That was the case for me as well. That's why you rephrase it.
yeah
if you cant read a few articles and form an opinion then phrase your opinion and cite it, idk what youre doing
you just copy it and rephrase it
"opinion"
i cant fill 20-40 pages with an opinion tho
yes you can
Of course you can, look at religion they filled whole books with them
oh no
runs
pls no
well at least they burn for a while
much harder to fill 20-40 pages with facts backed up by reference texts
The only kind of book burning I approve of ๐
sure it is
its your opinion based on the facts you cite
even research papers are laden with opinion
I get why they say that
uh
you usually start scientific experiments by explaining the results you are sort of expecting
what they usually mean with stupid things like that is "make sure you cover both sides before making your decision"
@acoustic pilot seems like extra work to exclude a queue in a fanout
Just FaF is what I do
but most importantly expire ya messages
It's seemingly impossible, so just ignoring the message in the client works fine if it originates from itself.
i wasn't doing that and found 750k messages in a queue
That's probably because you set up your queue incorrectly lol
I just broadcast immediately expiring messages
Or your consumer isn't acking the messages
Yeah I didn't know wtf I was doing at the time
My queues are auto-delete, non-persistent and my consumer is auto-acknowledging. Perfect for my use case.
I haven't gotten to the point where I want deliveries to be waited on yet, but soon probably will be
Yeah I don't think I do auto-ack
What's your use case?
Plugin messaging to replace Bungee/Spigot's messaging APIs
RIght
personally I just use winsock for that
Yeah we use rabbit for all of our cross-server comms
including server heartbeats
which were what I was pooling up and had no idea
The fanout exchange is what I use for it because it's basically identical to the behavior of those APIs, but I'll probably set up direct exchanges too for direct server-to-server communication.
Yeah, heartbeats fanout; every server is aware of the status of every other
then we just use direct for PvP matchmaking and the like
I was just looking to prevent the server from sending a message to itself lol
Seems best way to do that is just ignore the message in the consumer if it originates from itself
ahh
Just had to track the server ID in the message https://i.imgur.com/D8SIkDv.png
that is a displeasing color scheme...
ur existence is displeasing
its a little colorful
Interesting your consumeQueue
its a rainbow, cant you see?
It's the Dracula theme in Material Themes UI

ConsumeTask is an async task, and postEvent() is different based on Bungee vs Spigot.
oof is that strings as magic numbers
strings as magic numbers :LUL:
On Spigot I ensure that the events are posted on the main thread https://i.imgur.com/bFCx8Rd.png
@stiff yarrow mcmmo-kraken addon when
Is yours to be a public plugin or something?
nope
@upper flicker the deep ones sleep for now

I expect that most of the time I want to handle messages will be on the main thread in Spigot
Just what I'm expecting
Ah, that has not historically been the case for me
I currently am not handling any messages yet so not sure
Most of my communications do work async with some last-minute things maybe be sync
And then just sending messages to players doesn't need to be on the main thread, or sync
I'm guessing that I might be using Bukkit APIs in the message event handlers, but not entirely sure yet.
๐ค
Yeah, you could be; I guess I just don't make that assumption, and then when i see an error in console, I go fire that code or whatever it is as a Bukkit synctask
spot the mistake
The Bungee one is a lot simpler, obv because there is no main thread https://i.imgur.com/rEjkMaA.png
You should extract variables
i managed to get in on songodas beta testing now im a tester. found 25 bugs in 1 plugin lol
But that's my thing
the colors?
yea
yeah that's too many
I dunno, I guess I just like vibrant color schemes lol
๐ณ๏ธโ๐
(he's accoustic)
I odn't think my eyes like bright color schemes
Looks great with the Nyan Progress Bars too lol
maybe u r not a rainbow
I've got the NYAN thing as well
.g nyan progress bars
(DiscordBot) https://plugins.jetbrains.com/plugin/8575-nyan-progress-bar -- Nyan Progress Bar - Plugins | JetBrains: "1.12 NPE 1.11 fix indeterminate progress bar (remove dashed style) 1.10 remove hidpi bug workaround (see:..."
@upper flicker https://i.imgur.com/slsAudA.gifv idk, i got bored
it needs a name
that is ... uh... a lot of pixels
@fringe quartz its been there for a while now
it was made from a vector
a single vector?
vectors are still pixels ree
god tier
is this an OC?
yes it was made by a friend
it must become a meme
I should probably have my friend do the nossr man in different poses
Will be meme soon
@upper flicker train an ai that draws him in different poses
rotates in photoshop
he usually does trace vectors of weeb shit for fun
nossr man was an OC tho
I'd link his weeb vector collection but you get put on a list for looking at them 
https://i.imgur.com/jl9VEWV.png this is one I had him trace that isn't NSFW
howdy
what does everyone think of this:
public static String parseConfig(byte type, String make, String configkey, Object... formats) {
if (type == 0) {
// Default prefix.
return colorString(main.getConfig().getString("tfc_prefix") + " " + String.format(main.getConfig().getString(configkey), formats));
}
if (type == 1) {
// Custom prefix.
return colorString(main.getConfig().getString(make + "_prefix") + " " + String.format(main.getConfig().getString(configkey), formats));
}
if (type == 2) {
// No prefix.
return colorString(String.format(main.getConfig().getString(configkey), formats));
}
if (type == 3) {
// Multiline.
return colorString("&" + main.getConfig().getString(make + "_color") + "&l> " + String.format(main.getConfig().getString(configkey), formats));
}
}
terrible
:(
I think you also should extract variables.
basically I have a pretty strict style for my server
magic numbers, use of static main, repetition, etc...
What's make?
you should probably use enums for those numbers or something
if/else switch without an else
could just be a normal switch
that also gives a default
hm
which atm you don't have, meaning that doesn't compile
My server has a pretty strict style.
it'll compile fine but it wont cover all cases
HONESTLY shhhhhhhhh
darkeyedragon: no it won't
:(
TBF you asked; don't get mad that we responded to your question
no you listen
Yes, we just said it
your code sucks, we gave you suggestions to improve it
I was previously doing this:
take it or shut the fuck up and leave
public static String formatConfig(String prefixkey, String configkey, Object... formats) {
return colorString(main.getConfig().getString(prefixkey) + " " + String.format(main.getConfig().getString(configkey), formats));
}
public static String formatConfig(Boolean useprefix, String configkey, Object... formats) {
if (useprefix) {
return colorString(main.getConfig().getString("tfc_prefix") + " " + String.format(main.getConfig().getString(configkey), formats));
}
return colorString(String.format(main.getConfig().getString(configkey), formats));
}
toxic++
Alright tell me how to do this in code.
we wont spoonfeed you dude
I need a way that I can give a function the category, and a config key, and optionally formats and it spits back out a proper message.
we literally gave you suggestions. if you want us to write your code, pay us
i start at $70/hr for contracting work
nossr is cheap, $5/hr
Currently style is, is that all messages begin with &7[&(category color)(category)&7]&r
main.getConfig().getString(configkey) you use this part like 3-4 times, make it a local variable
and multiline begins with &(categorycolor)&l>
no one gives a shit about the contents of your style/messages
we're talking about your code
wiz is slowly being driven insane by this chat haha
you think I don't know how bad the code is? that's why I'm here lol
we literally told you what to change...
scroll up and read again
maybe brian uses eclipse and compiles with errors
@austere ivy This probably doesn't compile because idk what all your other methods are, but this is a step in the right direction: https://hasteb.in/viyeyiho.js
though you can minify it way more than that
you seem to do String.format(main.getConfig().getString(configkey), formats)) in all 4 cases
Still looks like a mess on here.
@austere ivy
Use switch over if else chains
Also you aren't returning anything guaranteed so your IDE will complain
Also couldn't this just be a method why does this need to be 4 if statements
does the method need to be public?
does the method need to be static?
what the hell is formats and why is it an Object
if formats is a type pass its type
Lol based on a spreadsheet I made to figure out a price for a plugin that client asked me to make I value myself at 4.5$/h
what?
it's a disease
no ,_,
also your method is called parseConfig but what it really does is return a formatted string
So it's a very abstractly named method that doesn't do what I would think based on its name
if you pass anything BUT a configKey you get a plugin runtime error
O cryptite is in here
This entire thing is just for me to be a bit lazier on writing messages.
hi crypt
Also what's your use case? Passing arbitrary bytes as your method to distinguish how its formatted is really weird
@austere ivy that's not parsing a config
that's very much not parsing a config
I was gonna name it formatConfig
that's formatting a string which comes from your config
its not formatting a config either
tbh this should be two things: 1) get string from config 2) format string
it is now named formatConfigString
that's still retarded
lol
that is better but still bad
adding String to the end doesn't change that
Instead of a byte you could use an enum which might make more sense (inferred enums here) https://hastebin.com/uhecareyop.js
@acoustic pilot idk if I trust a kid to send me money and not chargeback
all of this is just so it can be easier
for me to send messages
I had it before where I manually put in the prefix and the message and formatted that
so then I made another thing before this but still had to manually put in prefix
so it's just a pain if I have to write MessageType.MULTILINE and MessageType.NOPREFIX rather than 1, 2, and 3.
A lot less readable for everyone but I'm the only one working on it.
Don't get into bad habits just because you're the only author
You'll screw yourself over in the future
yeah I'd probably scream if I saw this code lol
that's a good metric then
it's good that you asked here because it means you want to learn
you don't have to use ENUMs specifically but okay
just prepare for w r a t h
if your own code makes you scream that's a good sign you should change it
switch(magicNumber)
{
case 1:
case 2:
case 3:
default:
}```
there you go you can now use your magic numbers
don't encourage retardation nossr

yeah I know it's awful code
but how would you guys do it
I'm not asking you to spoonfeed m
me
but can you tHINK of any other way to do my specific usecase?
"i know it's bad but i don't want to fix it. i just want to ask for advice and then discard it"
fuck off pls
I'm not discarding it
you were told a lot of things to do
does it need to be a switch
show us some example(s) of how you actually use that method?
it doesn't seem like it
come back when you've done it
here's what I'm at.
oh uh
This is using old syntax, so that's why I'm trying to kinda redo it.
player.sendMessage(Misc.formatConfig("rules_prefix", "msg_rules"));
player.sendMessage(Misc.formatConfig("msg_gamemode_change", "Survival"));

is this guy actually using eclipse with errors turned off
hold on lol
because those calls straight up won't compile
even with the old syntax you gave us
ALRIGHT SO
Let your IDE do renames for you
That's what I had before
oh
that's what I'm trying to clean
what do you have now
and remake
I'm doing this because I realized I need multilines.
The way I'm doing it is specifically because of this: In my server, I have it so there's different categories in my plugin, and each category has a specific color. Rules is &c and such. So you can see with that, I can just give it the "make" (such as rules) and then it searches the config with rules_prefix and rules_color
So then I can just give it any formats I want to do, the make, the actual message after the prefix, and the type (multiline, no prefix, etc) and badabing badaboom that's it. Issue is, is that if you specify the type as no prefix, you still have to enter A prefix.
Which is why overloading it (which is what I did before) helped fix that.
It all fell apart when I needed to overload a possibility of putting your own custom prefix (String prefixkey, String configkey, Object... formats) and (String configkey, Object... formats)
would interfere..
So THEN I tried using this:
Very ever so slightly different.
You now need to put in a boolean. Unnecessary, kind of ugly.
That's when it struck me, instead of a boolean I could just use a byte and have specific things for different byte values.
But then it comes back to the problem that you still have to put in a prefix even if you put MessageType.NOPREFIX .. so.
kinda a mess.
mfw mojang's brigadier command checker is broken for /particle ;_;
I'll take anything I can get with this though, as it's a lot better than EVERY SINGLE SEND MESSAGE looking like this:
that's why nossr said use different methods
so each method takes exactly the params it needs
instead of stuff all params in one method
`player.sendMessage(colorString(main.getConfig().getString("rules_prefix") + " " + String.format(main.getConfig().getString("specific_message"), formats));
And wizjany
again, it all falls apart since String.. formats
it won't if you use it correctly
like this:
player.sendMessage(Misc.format(configKey, args...))
player.sendMessage(Misc.formatWithPrefix(configKey, "customPrefix", args...))



