#dev-general

1 messages · Page 606 of 1

brittle leaf
#

was stuck on how to identify if an item was vanilla, one of my modifed items or one of someone elses modified items. i found a route to take to figure that out

sturdy zinc
#

getting null error on this QPlayer playerData = questsPlugin.getPlayerManager().getPlayer(uuid); return playerData.getQuestProgressFile().getQuestProgress(questsPlugin.getQuestManager().getQuestById(questName)).isCompleted();

brittle leaf
brittle leaf
#

my method was to filter the itemmeta of an item to remove crossbow, storedenchant, regular enchant, damage meta and leathercolor meta from the item,
check if the filtereditemstack was similar to a brand new itemstack, if it was then give it my own meta tag.
afterwards i check if the item has that tag and if it does then do logic relating to updating the itemstacks lore, else just return the original itemstack.

oblique heath
gusty glen
#

This video made me laugh xd

oblique heath
#

yooo what is this new thing of barrys

#

the chat settings

pallid gale
#

hmm?

oblique heath
#

are those buttons and 'only you can see this message' messages something new to discord?

pallid gale
#

Were added a little while ago, just never got around using them in any of our public features till now

oblique heath
#

that's pretty cool, i like it a lot compared to interacting with bots in DMs

pallid gale
#

Yeah it's nice

#

Better then slash commands

oblique heath
#

definitely 🥲

brittle leaf
#

i found a way tho

distant sun
#

Why does PlayerItemConsumeEvent#getItem return a clone of the item p.p

brittle leaf
#

cause not like you can chamge it after its been eaten

#

also relating back to my original message about my method, instead of removing individual submetadata imma just create a new itemstack with the name and lore of the original item and check if its similar.

chrome trellis
#

Ay so I got a question that's probably stupid but do yall put "I" in front of your interfaces?

#

Eg ISomeInterface vs SomeInterface

potent nest
#

it's useless noise imho

chrome trellis
#

Which one would be better?

potent nest
#

without I

brittle leaf
#

i think its to differenciate between interfaces and not

#

tho ive not figured out how to use interfaces yet

chrome trellis
#

Ah

potent nest
#

normally, you shouldn't need to differentiate

chrome trellis
#

I guess I'll go without the I prefix then

potent nest
#

Imagine if JDK interfaces were called IList, ISet, IMap and so on

distant sun
#

What do you guys think about having a demo version of one of my plugins so people can test it before buying the full plugin? I personally hate that for most plugins the only way to test them is to join the test server of the developer, but there you are limited to test what the developer thought it is important to test, but you are probably interested about how a certain setting works.
I have a vouchers plugin, the idea is to allow only N vouchers to be created, anything else will be fully usable.

wintry plinth
#

It gives a sense of idea of how the plugin would be incorporated in the real world

distant sun
#

for real

remote goblet
#

amazing

distant sun
frail glade
#

"did you ask for Nintendo's permission for this"

remote goblet
#

sued for charmander in code

hot hull
#

Worthy contribution imo

frail glade
#

@prisma wave it's offline for a few

#

Cloudflare is throwing ssl errors on the service it uses and I just woke up

#

Booting up my PC to figure out what happened

prisma wave
#

😭

#

Thought it might have been tcpsbield

#

Glad it's not me being dumb lol

frail glade
#

Can you try again?

prisma wave
#

Yay

#

Ty

frail glade
#

That was weird. Cloudflare full ssl strict broke in the night but I moved it off strict and it worked

#

I'll figure out why later

static zealot
frail glade
#

Why would you do that to yourself?

static zealot
#

because I hate myself

prisma wave
#

bad bait

#

Try harder

static zealot
#

In these trying times I fail to see ... who asked?

frail glade
#

I have blue light glasses and I still wouldn't use that

#

Bahahah

wintry plinth
#

Really 😂😂

static zealot
#

@obtuse gale I'm starting to like this compact look over the more "stylish" one

wintry plinth
#

How could you say that to Mitten Blitz

#

Honestly shocking

static zealot
#

you're vey funny chazza. but you know what's even funnier?

wintry plinth
#

Your coding skills /s

static zealot
wintry plinth
#

LOL

#

Message sent by @static zealot deleted in #dev-general by themself.
Mitten, I wonder who asked

#

X-posed

static zealot
#

cool

wintry plinth
#

rekt

#

Travelling up to Scotland next month :o 6h train trip

static zealot
wintry plinth
#

Toxic

#

Be nicer its 2022

wintry plinth
#

rekt

hot hull
wintry plinth
#

I don’t identify as a weeb thank you 🤬

static zealot
#

rekt

ocean quartz
#

I thought you were a weeb developer

wintry plinth
#

ye I do the phpz on the weebs

#

spiderman

gentle violet
#

It wouldn't be possible to get a refund VoteParty would it? I've misunderstood the capabilities of the plugin and unfortunately I have no use for it

brittle leaf
#

and if you charge back more then likely it will either get you banned from here and or spigotmc.

gentle violet
#

I won't. Didn't expect it either, but yeah annoying situation (that I got myself into)

wintry plinth
#

What did you think it done

gentle violet
#

I thought it at least had /vote, /testvote as I was recommended this plugin when asking for those features

brittle leaf
#

/vote?

#

like show a message in chat of all the links?

brittle leaf
gentle violet
#

Yes, and while that can be done quite easily myself, I have no way to test if it works

wintry plinth
#

Or use joinservers vote tester soonTM

gentle violet
#

My server is on my pc, but I suppose I can portforward it

brittle leaf
#

well how else are you supposed to process votes...

gentle violet
#

It's only while I'm setting up the server so I don't have to pay for host when it's work in progress

brittle leaf
#

personally what i used to do was on release before the server went live to everyone was test voting to make sure it actually worked

static zealot
#

I'm confused. M41N what features do you want? if you want to test votes, NuVotifier has a testvote command. you can just run that and VoteParty will pick it up

brittle leaf
#

cause the problem isnt usually the vote plugin, its the connection to vvotifier

static zealot
#

if you want a command to display voting links it is something that's going to be added in the future but at the moment we recommend using MyCommands or similar to send the messages

brittle leaf
#

neat

static zealot
#

but nuvotifier's test vote is pretty good

brittle leaf
static zealot
gentle violet
#

I do hope the actual process of voting will be supported in this plugin at some time either way. It just works better when it integrated with the plugin so it knows when to send vote reminders and so on

brittle leaf
#

i dont think voteparty has vote reminders as far as i remember

static zealot
brittle leaf
#

or maybe i never enabled it idk

static zealot
#

and for reminders, that's also in the works

#

idk when but pretty sure glare said he's working on it

frail glade
#

I have no plans to replicate what NuVotifier does. There's absolutely no reason to do so.

wintry plinth
#

but recreating the wheel >

distant sun
dense dew
#

hello guys

#

how often do you draw stuff when you code?

static zealot
#

always

wintry plinth
#

Sometimes, depends what I’m coding, usually will jot stuff on a whiteboard

#

Mainly DB logic

dense dew
#

oo whiteboard thats good idea

ocean quartz
#

Diagrams for db logic are great

hallow crane
#

I used it before it was rebranded. It was a simple drawing whiteboard but now it has a lot more features

dense dew
#

for me handwriting is better 🤷‍♂️

hallow crane
#

I recently switched to iPad with Apple Pencil, that also does the job if you can’t use a mouse to draw

#

No paper waste

static zealot
#

just energy waste. but they're 2 different things xD

timber oak
#

Is it possible to keep a chunk loaded when no one is loading it and every player is offline? For sugar canes

#

Please @ me

unkempt basin
#

Hey guys, so i was wondering how poeple make different looks on their menus through their resourcepack. Like do they apply nbt tag for the chest or a certain item you place within the menu?

obtuse gale
timber oak
obtuse gale
#

they prevent the chunk from being unloaded

#

idk what the exact thing you're doing is but most of the time you want to use plugin chunk tickets despite the lack of persistence

obtuse gale
#

like for instance if you're making an "offline" quarry mining plugin, you don't want other plugins to interfere and allow unloading the chunk

#

force loading is a vanilla mechanism too (/forceload or whatever the cmd is) so the game may react differently to that too

forest pecan
#

Can somebody help me

#

with ShopGui+

oblique heath
#

anybody know how to describe a custom behavior for lists or maps when they would normally return null after calling get()

#

i remember seeing something about that a long time ago but cant find it again

obtuse gale
#

err.. what

half harness
obtuse gale
#

i mean it depends

#

in a list, no element doesn't mean null element

oblique heath
#

thinking about it maybe i saw some fancy set or map that did this and not a list

#

since that would make a bit more sense

obtuse gale
#

ngl i have no idea what you're talking about

oblique heath
#

i swear i'm not crazy

onyx loom
#

i think ur crazy

half harness
#

🥲

oblique heath
#

i found it

#

sort of

#

i'm 99% sure i was thinking of MapMaker.makeComputingMap

#

but apparently that method was removed(?) in favor of using CacheBuilder?

#

i have no idea how i managed to get my hands on makeComputingMap when i did

obtuse gale
#

that's not even a jdk thing wutcat

oblique heath
#

MapMaker is i think

obtuse gale
#

it 100% isn't, lol

oblique heath
#

is com.google.common part of the jdk

#

if its not i have no idea why i have access to it i never added it 💀

eternal compass
oblique heath
#

yeah

eternal compass
oblique heath
#

ahhh

#

that explains it

obtuse gale
#

that's google guava yeah

#

google isn't in the jdk just yet OMEGALUL

oblique heath
#

soon

onyx loom
#

🙏

eternal compass
#

Yo lets goooo
I got access to cloudflare email routing

#

now I can have custom emails on my domain

#

boom

#

it works

potent nest
#

Imagine all the Beta api in the jdk

static zealot
#

2.5% #926704035015307344. Damn. to make 20$/hour you need to produce 800$/hour. that guy kidding or something? You'd need to produce more than 128k per month to get a minimum wage. lmao

#

I'm in 🙂

hot hull
#

Can we ban percentage of income requests lol

static zealot
#

pretty sure they're not allowed

#

lol

wintry plinth
#

Can give 95% of profits until we launch :kappa:

pallid gale
static zealot
#

hmm. I guess funnycube doesn't give warnings. just takes them down. kek

pallid gale
#

correct

wintry plinth
#

I think would be even nicer (I know prob more of a pain to do via discord vs a site) where someone lists what they want and their budget range

Then people can go on and submit their price, if it’s within range it’s accepted, if it’s not they have a few more goes then it goes off

#

Otherwise people end up charging what the persons budget it

dense dew
#

next pvp client o yeah xdd

quaint isle
#

Do we have any sysadmins here? I am a bit lost right now.
Our raid 0 server is not booting properly. After the windows loading screen is gone and the cursor appears for the first time, it keeps restarting after 2-3 seconds.
It is possible to boot in safe mode and trouble shoot, which reports a the error "partition table does not have a valid system partition".
We can access the X: drive from the commandline (which contains the folders "Program Files", "Users", "Windows", but all of it is empty).

Any idea what happened here?

quiet depot
#

hello

#

have you tried turning it off and on again

quaint isle
#

Roughly a dozen times 😩

humble silo
#

Happy overthrow your government day people

cinder flare
#

raid0 is just striping ain't it

#

so if you lose one drive you lose everything

humble silo
#

Ill meet you at the capital star

#

lol

cinder flare
#

ayyy

humble silo
#

(that was a joke)

cinder flare
#

weird to think it's been a whole year lol

quiet depot
#

are you american chestly

humble silo
#

ikr

humble silo
quiet depot
#

a year since what

humble silo
#

jan 6th

#

obviously

quiet depot
#

insane

humble silo
#

the whole world should know because its AMERICA

#

gosh

#

lol

cinder flare
quiet depot
#

oh

quaint isle
quiet depot
#

capitol*

hot hull
#

Got my second dose of the vaccine today, and now my wifi is laggy 😦

quiet depot
#

my dude

#

a building in DC called the capitol was stormed

humble silo
#

JnJ or something?

quiet depot
cinder flare
hot hull
#

Well booster shot, first one was johnson, so this one counts as a second one

humble silo
#

ah i see

humble silo
#

phizer superiority

cinder flare
#

nah bro moderna is best

quiet depot
#

i have pfizer

cinder flare
#

highest effectiveness

humble silo
#

wowow

quiet depot
#

well I think it was pfizer

cinder flare
#

though pfizer is pretty cool too

quiet depot
#

bunch of nice people were handing out vaccines under the bridge so I lined up

humble silo
quiet depot
#

pretty sure it was pfizer

humble silo
#

thats pretty suspicious ngl

hot hull
quiet depot
#

made me a bit sleepy

humble silo
cinder flare
humble silo
#

or high, guess its good both ways

quiet depot
#

might've got aids

#

was using the same needle

cinder flare
hot hull
quiet depot
#

in aus u have to have 2 doses to live

cinder flare
quiet depot
#

the gov kills anyone who doesn't have 2 doses

hot hull
#

Got vaccinated in the early stages when they didn't know shit so it was considered aight then

cinder flare
quiet depot
#

lots of people complain about it

#

idk my vaccine felt pretty good so i'm chill with it

hot hull
#

Haven't had any issues myself so that's cool

quiet depot
#

I nearly became autistic after taking the vaccine but narrowly survived

#

the side effects are crazy

hot hull
#

You were already autistic

quiet depot
#

oh

#

maybe i nearly became nt

distant sun
distant sun
quiet depot
#

they're asking everyone to get a third dose now

distant sun
#

4th here

quiet depot
#

wowie

#

idk all these needles kinda annoying

#

might just make a 5g cocktail and inject it

distant sun
#

Would become a daily dose sooner or later

humble silo
hot hull
#

You need 3 doses to get across the border here

humble silo
#

I want sources

#

and... uh.... more sources

distant sun
quiet depot
#

people have always been an issue

distant sun
#

Yup

hot hull
#

The media is the issue, and people being people having no brain cells

cinder flare
quiet depot
#

neurotypical

hot hull
#

Humanity is doomed either way so meh

quiet depot
#

wot

#

humanity is not doomed

distant sun
#

You have a negation there, pig

humble silo
quiet depot
#

I do

#

"not"

#

is the negation

humble silo
#

pretty large difference too

distant sun
#

Yeah, you probably left it there by accident

#

Humanity is doomed*

quiet depot
#

nah

#

was on purpose

#

humanity is not doomed

onyx loom
#

why so

quiet depot
#

well why is it

onyx loom
#

id say were pretty doomed

#

everything bad

cinder flare
humble silo
#

1.5C by 2050??? 🥺

#

nvm

#

were doomed

distant sun
#

Wtf

#

Where is that

cinder flare
#

climate change predictions

#

that we're falling well into line with

quiet depot
#

hate to break it to you but 1.5c is just gonna kill a bunch of pretty fish and coral in the ocean, make some bad weather, but ultimately not really do much to humans because we're way too smart to die that pathetically

humble silo
#

idk, 1.5 is best case

hot hull
#

Worlds gonna end by 2036

humble silo
#

ive heard 2-2.5 is much more likely

distant sun
#

Pig...

#

People die in dumb ways already

quiet depot
#

yes climate change bad

#

but will it result in all humans ded?

#

absolutely not

hot hull
#

No

#

Not what's gonna wipe us out

#

We're gonna wipe us out

distant sun
#

Will result in everything being dead

quiet depot
#

nah

humble silo
#

everyone knows that /s

quiet depot
#

literally 1984

humble silo
#

well

#

not quite

#

more like 2020

#

but ya

quiet depot
hot hull
#

You sure about that

quiet depot
#

certain

distant sun
#

What are you gonna do when outside will be 1.5C, PIG 🤣

quiet depot
#

buy a jumper?

hot hull
#

Got evidence backing your claim?

humble silo
#

thats now what that means

#

lol

quiet depot
#

where's yours frosty

humble silo
#

but yes

distant sun
quiet depot
#

a protective article of clothing designed to prevent heat loss in the upper body

hot hull
#

Recent occurrences of the worlds situation is my evidence Pig

distant sun
#

I see

hot hull
#

No, we're talking about people

quiet depot
#

i'm just being realistic

#

there's a lot of people

#

we're not going anywhere

#

the only thing that could get rid of us is natural (sun fart, asteroid, that sorta stuff)

#

I genuinely don't think self inflicted extinction is realistic

distant sun
#

I just doubt convid is natural.

eternal compass
#

and a paper hardfork will exist

obtuse gale
#

Or will it !!?!?!???!?‽‽

dense dew
#

hi guys, what do you think, how much players could take MC survival server if it were written by best coders in C/Rust? about how much % more than Purpur server approx by guess?

static zealot
#

exactly
3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954930381964428810975665933446128475648233786783165271201909%

static zealot
#

no! its with apple! my favourite

oak coyote
#

😢

static zealot
#

no

static zealot
potent nest
#

why even purpur, the fork of the people who can't even manage their CI

static zealot
#

because why not

#

lol

prisma wave
static zealot
#

the question should be why rust

prisma wave
#

But that's the main thing holding java back

prisma wave
static zealot
#

is it tho?

dense dew
#

speed is

#

like C

#

and language is better

prisma wave
static zealot
prisma wave
#

Pretty much C speed

static zealot
#

faster than rust 10%

prisma wave
#

Hmm

prisma wave
#

idk hundreds

static zealot
#

a lottttt

#

a lot is 2 lots - 1 lot

prisma wave
#

the only reason java is "slow" is because it's "all" single threaded

dense dew
#

would be possible

prisma wave
#

probably

dense dew
prisma wave
#

I couldn't say exactly but look at something like minestom

#

Shit's fast

static zealot
#

well

prisma wave
#

And that's in java so it still has the overhead of the JVM

static zealot
#

minestom doesn't have all the vanilla stuff does it?

dense dew
#

it dont

prisma wave
#

no, but nothing in vanilla is particularly resource expensive

#

the biggest thing is chunk loading and entity ticking, both of which are done async in minestom afaik

dense dew
prisma wave
#

source?

#

i think overall rust will be slightly slower

#

not enough to make a difference

#

but it does have some overheads

dense dew
prisma wave
#

Our tests indicate that replacing C with Rust led to some performance degradation. An implementation written in Rust achieved around 85% of the C performance in the overload test, but we still see some space for improvements in the bindings implementation, which could bring us closer to C’s performance. At the cost of this performance loss, on the other hand, we get Rust safety controls, which simplify the creation of safe code. In the case of system programming, such as network applications, that is very valuable.

#

rust deliberately sacrifices some performance for more safety

dense dew
#

other sources says Rust is faster so idk 🤷‍♂️

#

as you said it doesnt matter tho

prisma wave
#

it doesn't matter no

#

unless you're making something extremely performance critical

dense dew
#

like

prisma wave
#

idk

#

i cant even think of anything where the minor overheads would be enough to justify not using rust

#

kernel development ig

dense dew
#

that could handle more than 500 players or?

prisma wave
#

that's the thing

#

in this case, architecture is more important than language

#

you could make a single threaded server in C and but a multithreaded server in JS would probably be better lol

dense dew
#

yes im asking generally

prisma wave
#

(possibly a minor exaggeration)

#

idk exactly

#

but probably yeah

potent nest
#

if you want to compare speed of languages, only pick results that back your claims ;)

prisma wave
#

true...

dense dew
#

nein
i picked first results

dense dew
#

haskell fluchet

raven star
#

guy i need so help to verify my old acc on discrd

#

i need a number

#

i hve a rilly good frand on it

#

plz

#

dm me ill show u

#

plz

obtuse gale
#

Spigot isn’t multi threaded whatsoever

#

You probably should stick to just working on spigot. There are servers like mmc that can hold 2k on single servers.

#

You’ll need to know networking and the butt hole of minecraft to make it in rust 😂

dense dew
dense dew
#

it was just hypothetical question

obtuse gale
#

and a custom server would be the worst thing you could settle on for something like survival

#

you would have to recreate every single little thing

dense dew
#

ye ik

#

thats not what im asking

#

im just curious

#

about performance

obtuse gale
#

wdym?

#

obviously spigot doesent hold much because that code is shit. and its single threaded using netty

#

anything multi threaded would probably beat it

#

and if you care so much about performance you dont really do tick based either

dense dew
# obtuse gale wdym?

My question was:
How many players could approx hold Rust server written by pros that really cares about performance and it could use all AMD EPYC resources for example

obtuse gale
#

anywhere in the thousands

dense dew
#

like what is the max player count you can get w $999999 budget without ruining survival experience

obtuse gale
#

to 10s of thousands

static zealot
#

my question is how much money can I spend if I go to the most expensive shops in town and I have millions of dollars?

obtuse gale
#

it all depends dude...

dense dew
#

all of them

obtuse gale
#

probably the worst question of 2022 yet im sorry lmao

dense dew
#

-_-

static zealot
dense dew
#

whats bad about being curious what is the limit

obtuse gale
#

cause you cant know

#

without doing it?

dense dew
#

approx

static zealot
#

and how tf can we know the limit without ever reaching it?

obtuse gale
#

and not many have used custom servers for good purpose

dense dew
#

100-110 1000-89998

obtuse gale
#

i dont think language matters all that muuch

static zealot
#

approx from what? we don't write servers in rust

#

lol

dense dew
obtuse gale
#

i work on a server in kotlin. and im hoping itll hold 10s of thousands at some point its all a progress

dense dew
#

if you want to reach limit

obtuse gale
#

youre not gonna be able to hold many players off the bat

#

and no it doesent

#

theres much more shit holding you back before its cuz of the language

#

the way you have to work with the minecraft client is just absurd

#

inventories are shit

#

everythings shit

#

and gl making all cross platform libraries with that shit

#

when you go to a low level lang

distant sun
#

Just add the flag -Dcross.platform=true to your build command

prisma wave
#

exactly that

#

any more and the server will crash

static zealot
#

Damn. BM knows

frail glade
#

I'm curious about testing that.

#

I've done 2,000 in a test.

dense dew
static zealot
#

not everything. I bet he doesn't know the things he doesn't know.

dense dew
#

BM know things he doesnt know

#

he know everything

static zealot
#

then he probably knows that I screwed your mom /s

dense dew
#

he knows thats false

finite vapor
#

Can someone help me

dense dew
obtuse gale
#

they left lol

dense dew
#

xd

wintry plinth
obtuse gale
#

http 😵‍💫

dense dew
wintry plinth
obtuse gale
#

that took a while

wintry plinth
#

Ye idk why

#

I thought embeds was disabled or something

sly sonnet
wintry plinth
hallow crane
earnest ibex
#

Can someone send me working Paper 1.16.5?

#

Because i cant find that

earnest ibex
#

so i need to fix this Paper Error

#

Version - 1.16.5

#

All of plugin are for this versions

#

No pirate versions of plugin, all is good

#

idk why it crashs my server

obtuse gale
#

@prisma wave are you Santa forever now?

static zealot
#

no. just for the next 4 years

obtuse gale
#

I miss Mr. Mits

prisma wave
#

I think i might be

#

I'm not boosting anymore so I can't change it 😖

cinder flare
#

inb4 you buy nitro just to change your HC name

prisma wave
#

this has been a good reminder to cancel my nitro subscription

#

Waste of money

cinder flare
#

damn

prisma wave
#

Not buying that shit again

#

Stupid and bad

cinder flare
#

supports discord, i'm sure you get a lot of use out that every day

prisma wave
#

they make enough money from selling my data

#

Im not a charity

cinder flare
#

ol' scrooge mitten more like

prisma wave
#

yep

#

just not worth $10 for what, a gif and some emojis

cinder flare
#

i get a lot from the streaming benefits

#

and it's cheaper than a netflix subscription, which I use way less than discord

prisma wave
#

same price as netflix here

#

And yeah I'll prolly cancel that too soon

#

Spotify is the only subscription worth the money

onyx loom
#

atleast with netflix ur getting ur moneys worth even if u hardly watch it

oblique heath
#

poor amazon prime is all but forgotten about

cinder flare
onyx loom
#

yea i suppose so

#

it all depends on however long ur in a vc for and if ur screen sharing

#

emojis are just not worth it

cinder flare
#

i mean i also literally just send messages and read messages for hours a day every day, and i think the value that brings is worth a small monthly cost, especially since I have "alternative" ways to acquire most shows, and I don't really have an alternative to discord

onyx loom
#

well u can send messages without nitro 🥴

wintry plinth
onyx loom
#

what specific features are u using from nitro thats worth it to u

wintry plinth
#

for ages I refused to get nitro, dont see it worth it

cinder flare
prisma wave
#

it's nice to have gif pfp and stuff but it's not worth that much

cinder flare
#

i like discord and i want them to succeed

onyx loom
#

🥴

prisma wave
#

The only real things I "need" it for is boosting

cinder flare
#

sure, it comes with a few small features, but i get so much use out of discord it'd be criminal not to compensate them at least a little for everything I've gotten from them

#

i guess it's a matter of opinion, but i am certainly grateful Discord came along to save us from Skype

wintry plinth
#

They love your data too

#

microsoft likes this message

cinder flare
#

Sure, but I don't think you realize how little data is worth with this many people

cinder flare
#

What is weird though is that I feel how chazza feels about Google, I'm okay with them selling my data for the service they provide and having targeted ads is kind of nice when they do somehow slip by my adblock

prisma wave
#

discord as a product is still good but the company is falling off

wintry plinth
#

Oh god I hate google, i avoid where possible

#

esp google analyrics, they spy so much

prisma wave
#

if they add monkey jpeg flexing I'm never paying for nitro again

wintry plinth
#

well soon discord will have blockchain stuff

#

for those nft men

#

😂

prisma wave
wintry plinth
#

its more that for google analytics they use the data themselves

#

i prefer to pay for services in that regard and my visitor data is private

prisma wave
wintry plinth
#

but my 10 btc ape

#

:kappa:

cinder flare
#

I mean, I am of the opinion that using my data to pay for a service like Google or Discord is well worth it, I sure don't lose anything from it

prisma wave
#

Yeah

#

Pay with my data

#

Not my money

wintry plinth
#

...

cinder flare
#

I think Discord is worth a little extra, too :)

prisma wave
#

But both is too much

cinder flare
#

Like, all these people come out of the woodwork and are like "oh my data! this is a travesty!" Why? It doesn't affect me whatsoever, besides sometimes giving me like NewEgg ads or something and I appreciate that

prisma wave
#

yeah I couldn't really care less about data stealing, as long as, as a consumer I can go somewhere else

eternal compass
#

admittedly they've done some stupid stuff

#

but they have a ton of features for servers that they're in the process of adding that are actually nice

#

like I can finally mute people with timeouts and not have people get through

#

from bad channel setups

prisma wave
#

And all of the stuff that led up to d.py shutting down seems pretty bad too

eternal compass
#

but they thought they were being hip lmao

#

and slash commands are getting better soon hopefully

sly sonnet
#

Is it possible to do something similar to instanceof with switch statement?

cinder flare
#

in Java 18 it will be ;)

sly sonnet
#

So the only way I can do that is by using if/else?

#

yeah probably lol

#

waiting for Java 18 ⌚

cinder flare
#

yeah, you can also do pattern matching instanceofs in recent Java versions

#

so you don't have to do two separate lines for checking and variable assignment

sly sonnet
#

I'm using Java 17

cinder flare
#

then yeah, you can just do if (user instanceof Gamer gamer) { blah blah };

#

then it'll assign gamer to the casted version

distant sun
#

Very hot ^

sly sonnet
#

Ah that

#

thanks guys

potent nest
cinder flare
#

or may be it's just preview

#

hmmm

potent nest
#

yeah it's just preview

cinder flare
#

ah that's so sad

#

i want it

potent nest
#

well it won't be stable before java 19

cinder flare
#

sad

#

i don't see why not

potent nest
#

because it's better to make sure that the feature isn't a pain point everyone complains about in a few years

cinder flare
#

i mean it doesn't break anything

#

you could go your whole java life without ever using switch expressions

potent nest
#

yeah but if something isn't usable, you better just don't add it

#

generics don't break anything either

cinder flare
#

i mean it's obviously usable

#

and very easy to prove its correctness

static zealot
#

star did you know that 100 seconds pass just as fast as 1 minute and 40 seconds does?

potent nest
#

well, you can discuss a lot about null handling, exhaustiveness, pattern matching in general (see guards). Just throwing features into your language is a very kotlin thing to do

#

and as soon as you change something, you need to wait for feedback again

frail glade
#

Anyone here using Cloudflare Pages for anything? I enabled analytics on one of mine about a month ago and it still says there's been 0 page views since then and I'm unsure if I'm missing something.

static zealot
#

Freddy is using it for his own paste bin.

wintry plinth
#

you got no fans

earnest ibex
#

ERR_INVALID_HTTP_RESPONSE on Dynamic Map, how can i fix it?

#

Port - 25578

#

here is a config

#

Help please

obtuse gale
delicate meadow
#

some one help

obtuse gale
#

why

delicate meadow
#

wait

static zealot
#

can't. gotta go fast

obtuse gale
wintry plinth
#

Salami

static zealot
obtuse gale
#

We've been trying to contact you for your car's extended warranty

#

bruh

static zealot
obtuse gale
#

what's your question, jesus christ

#

just ask it

wintry plinth
obtuse gale
#

oh ok so im an alt i got banned in my main for using discorrd better but i delete it i want to ask if i can get back in the server with main

#

if no its ok

#

i can only its the best server for help lol

#

o

#

yea that sad

#

:((

wintry plinth
#

Did you not consider using Discord Worse instead?

obtuse gale
#

dude

#

i use discord normal

#

i dont want ban again from other server

#

@static zealot sorry for ping can you answer please

cinder flare
potent nest
#

the development of java is clearly slower, but mainly because backwards compatibility is important and new features are evaluated carefully

#

at this point, Java takes advantage from mistakes done in kotlin

cinder flare
#

Yeah well, I want my pattern matching switches

#

I don't think we need two entire preview periods for that

potent nest
#

there was valuable feedback in the first preview. Just changing something then and releasing it would be catastrophic

prisma wave
#

Once we have proper pattern matching it'll be great

#

Even the holy kotlin only has beta male pattern matching

#
public static <A, B, C> C<B> map(Function<A, B> f, C<A> input) {
  if (input instanceof a:b) {
    return f.apply(a) : map(f, b);
  } else {
    return [];
  }
}
#

this will be java in 2023

#

higher kinded types + list literals + cons syntax

static zealot
#

hello. Am back. and noticed I got 2 pings

#

so that's cool

brittle leaf
#

would it be better to split up my code into multiple plugins or just have one big plugin, why im asking this is because im making quite alot of custom stuff and they would be linked together based on stuff, like custom mobs have a level assigned to them, an enchantment might do a calculation based on that level and im not sure how to link stuff if i have them seperate but i also dont want to overwhelm my listeners with different checks constantly

static zealot
sly sonnet
#

Hey guys! What is the best library to use for command-line argument handling?

static zealot
#

well idk if its the best but is what gave me at one point and its what I use (in one place only but it works xD)

sly sonnet
#

Yeah, I'm currently using it, but when getting value of the option, it returns null... thonk

static zealot
#

sounds like a you issue tbh. lol. 1 sec

#

This is the code I use to get a -t <token> argument from my startup commands. Its literally a copy paste from what matt gave me (I think. don't remember) ```kt
fun fetchTokenFromFlag(args: Array<String>): String {
val cli = DefaultParser().parse(
Options().apply {
addOption(Option.builder("t").hasArg().argName("token").required().build())
},
args
)

return cli.getOptionValue("t")

}

#

and yes you don't have to specify the -

#

that might be what you're doing wrong

sly sonnet
#

ah i wasn't parsing it lol

static zealot
#

ah. Ic.

fickle drum
#

guys can somebody help me. i can't get my minecraft Intellji ide to work. It does simple things but just doesn't do the rest. plugins other people send me with my exact code in works though. can somebody send me a completely blank plugin so that i can edit it? because i think that'd work.
please?????

static zealot
#

@fickle drum we'd really appreciate you not spamming every channel and sticking to 1. thank you

fickle drum
static zealot
#

well. spamming every channel won't help anyone. and can even lower the chances of someone answering your question. people here dislike spammers.

sly sonnet
#

Yeah, I know the problem, but you were spamming... So yeah, no answer for you

static zealot
#

lmao

#

does it work now wxip?

fickle drum
static zealot
#

he's probably joking xD

fickle drum
sly sonnet
obtuse gale
#

i think you remember me for spam in services as a kid lol

#

but now im a new person

static zealot
#

ok. I'll personally unban but if admins feel that shouldn't be the case they might ban you again.

static zealot
obtuse gale
#

yours

static zealot
#

or are an advocate for velocity

static zealot
#

what's an alternative for MoveMeNow

#

xD

static zealot
obtuse gale
#

lol

#

im still banned xd

obtuse gale
#

bc i change mty tag

brittle leaf
#

rejoin using a vpn

static zealot
#

yeah. was using that. but literally all I can see is ban, timeout and kick.

#

like you're already on the server

obtuse gale
#

h o w

#

maybe discord is bugged

#

wait

static zealot
#

I thought I can unban from the user context menu

obtuse gale
#

im still banned

static zealot
#

but I have to go in server settings

#

ugh. I just revoked it

rugged spear
#

@static zealot thanks i love you

obtuse gale
#

i need to leave with this account?

static zealot
#

nah

obtuse gale
#

ok

obtuse gale
static zealot
#

I found something called try = [] you can add for each server. looks like what I need. will have to test tho

sly sonnet
#
{
  "minecraft:air": {
    "bedrock_identifier": "minecraft:air",
    "block_hardness": 0.0,
    "collision_index": 0,
    "can_break_with_hand": true
  },
  "minecraft:stone": {
    "bedrock_identifier": "minecraft:stone",
    "block_hardness": 1.5,
    "collision_index": 1,
    "can_break_with_hand": false,
    "bedrock_states": {
      "stone_type": "stone"
    }
  }
}

How do you call this json thingy?

obtuse gale
#

json

sly sonnet
#

no but like array or what

obtuse gale
#

object

sly sonnet
#

i want to parse a file that has much more these but i dont know how its called

obtuse gale
#

that right there is a json object

static zealot
#

well. an array of objects

#

is it not?

obtuse gale
#

no

#

it's an object itself

static zealot
#

ok. cool

static zealot
pastel imp
#

can someone give a brief explanation of what serialization is?

obtuse gale
static zealot
pastel imp
#

so basically an item to code

static zealot
pastel imp
#

code to item

#

?

#

(by code I mean, a sequence of numbers and letters)

obtuse gale
#

This specifies what servers Velocity should try to connect to upon player login and when a player is kicked from a server
sounds like it yeah

static zealot
#

I'll try and remember to test. just in case. if not I'll try looking for an alternative.

pastel imp
#

wait so serialization is mostly used in DB right? like a /chest, or such

#

to store the data inside it for example.

#

or auctionhouse

obtuse gale
pastel imp
#

understood

#

I saw a serialization system using base64

static zealot
#

Yooo. Anyone know if there's a Trello integration extension that basically lets me open boards from any browser page? Basically a small menu like other extensions have (see photo for example) to which I maybe can pin a board?

#

it'd be amazing if it also worked on Firefox.

eternal compass
static zealot
#

well. you gonna make it?

eternal compass
#

Even bypassing cross origin is possible with extensions

static zealot
eternal compass
quiet depot
static zealot
eternal compass
static zealot
eternal compass
#

I did that before

eternal compass
#

I did that for my pacman extension game

static zealot
eternal compass
#

140,000 users

distant sun
#

Why would you need that

static zealot
#

I'm not even using it. I thought it would be good

#

I just wanted something to basically open a small page inside the already opened tab that would show me a board. without having to switch tabs.

#

I've just added a bookmark to the board for now and am opening the tab every time. this will have to do

static zealot
# distant sun Why would you need that

bcz I multitask a lot. I usually have 3-4 apps running at the same time and quite a few browser pages. and having 1 less page to switch between would be amazing

distant sun
#

I guess thats a good use case

dense dew
#

helo i dont understand how is seed used in world generation like in code way can somebody explain pls

humble silo
#

Ya i deserve this tbh... In retrospect i dont know how it made sense to have classloaders loading classes they are dependent on...

wind patio
#

first time I hear about this exception lol

sly sonnet
#

Has someone here ever used MCProtocolLib?

gusty fulcrum
#

anyone know css flexbox here? In what case would I use order: ? I get what it does but surely you grab the content in the order you want beforehand?

prisma wave
dense dew
#

ye but like

#

idk how to explain XD3D

potent nest
#

random noise is what you're looking for

quiet depot
sly sonnet
sly sonnet
#

no wait

#

wrong question lol

#

So after receiving ClientboundLoginPacket I send ServerboundCustomPayloadPacket to change the branding but it does not change it

static zealot
#

man. poor piggy is having a blast rn helping me :kappa:. he probably wants to end my life.

static zealot
#

@onyx loom you still working on the auto announcer plugin? or did you never start? I remember you mentioning wanting to make your own or something like that.

onyx loom
#

it's like 90% done

static zealot
#

o

#

git?

#

is it closed src?

#

if so. Are you planning on adding different announcement types? aka chat, action and bossbar?

onyx loom
#

yes

#

it's not on git yet

static zealot
#

alright. nice. I don't assume its going to be done any time soon tho? or at least test ready

#

also. maybe list 1.18 as supported version on combatstats spigot page

onyx loom
#

idk I'll have to look at it. I haven't in a while. why do u ask anyways

static zealot
#

pretty sure it works

static zealot
onyx loom
#

o

#

I'll lyk soon

static zealot
#

was even thinking maybe I can help. but since its not on git

static zealot
compact perchBOT
static zealot
#

😮

#

damn. ty gaby. will take a look.

onyx loom
#

smh

static zealot
# onyx loom smh

dw. I'll still switch to yours when you finish it. but until then I was going without one./

#

now I can have a temporary replacement

onyx loom
#

😆

distant sun
#

permanent

static zealot
#

o damn. it even has toast announcements

distant sun
#

yeah, it is nice

static zealot
#

oh wait. gaby you use this one right? pretty sure you showed it to me before but completely forgot

#

what will you use for message formatting tho kaliber? MiniMessages or matt's lib?

#

or your own maybe?

#

or use*

static zealot
#

Kaliber want me to PR "1.18 support" to CombatStats? kek. so you have a reason to update on spigot?

onyx loom
#

no

static zealot
#

lol. ok

#

you letting it die tho?

onyx loom
#

it already works I think + I have uncommitted changes

static zealot
#

ah

#

k

#

well back to my work then

static zealot
sly sonnet
distant sun
#

Do you guys know if there's an util in spigot that would turn a string like FirstArgument "Second argument but with spaces" into [FirstArgument, Second argument but with spaces]? So basically split a string at space but take everything that's inside quotes as one argument

obtuse gale
#

don't think so

static zealot
#

well. you can probably find a non spigot util for that.

#

or make your own

#

@distant sun "([^\"]\\S*|\".+?\")\\s*"

#

stole it from somewhere lol

obtuse gale
#

🌚

distant sun
#

nice

static zealot
#

seems to work fine. you probably know more regex so you can understand it lol

static zealot
static zealot
distant sun
#

looks good, ty

static zealot
#

you can't have an argument be just "

distant sun
#

It doesn't really matter

static zealot
#

but it has escaping

#

and then you can just replace \" with "

#

and also. it gets the entire thing. including the "" when its one of those arguments

#

so replace first and last " in each group

#

k. bye

distant sun
#

but yeah, it also returns the ""

static zealot
#

ffs. so I have 2 github branches. 1 is the main branch and then I have a secondary branch that is an extra. I always want the main branch changes in my secondary branch but never want the secondary branch changes into my master. Now I made a PR from main to secondary and there's a conflict. how the fuck do I resolve it without having to make a commit in my main branch?

#

I have also tried merging my main into secondary locally and it didn't let me. and doesn't seem like there's a way to force merge?

frigid badge
#

rebase secondary on main?

#

or just fix the conflicts locally

static zealot
#

for some reason I thought it removes all the extra commits

static zealot
#

lmao

distant sun
#

🤣

#

ty ty

rain citrus
#

@oak coyote

#

Sir I need your help

#

@quick flume

#

@prisma wave

#

Hello anyone there?

#

I need help

compact perchBOT
#

There is no time to wait! Ask your question @rain citrus!

rain citrus
#

Ayo @compact perch who tf I ask questions

quick flume
#

this isn't even really a help channel

#

?help

compact perchBOT
#
FAQ Answer:
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait

Source

quick flume
#

and please read the #rules as well

distant sun
#

Do you have any idea, starting with which version, setting the amount of an item to 0 would remove it?
Answer: 1.11 or 1.11.2

obtuse gale
#

no

distant sun
#

fair

prisma wave
eternal compass
#

they never ping me... I feel so left out (and happy)

sweet cipher
#

@eternal compass

#

I hope you feel right in now

agile galleon
#

@eternal compass some love pikaheart

eternal compass
agile galleon
eternal compass
#

Because I got pinged...
I said I felt left out, but happy I wasn't pinged

agile galleon
#

Ouch

prisma wave
#

@eternal compass

eternal compass
#

@prisma wave

obtuse gale
#

hi is there any way to make a queue using a bungee server

#

just a queue for a full server

#

i also have a extra server

#

if i need it

agile galleon
#

My queue doesnt have a queue server, but rather just kicks the peps on join and they have to reconnect in the next 2 mins to stay in position

#

But yeah sure it is possible

#

You let someone in when someone quits, remove the player you let in from the map, and send a message to everyone in the queue

hallow crane
#

@sudden ridge the hex addon was deleted

sudden ridge
hallow crane
#

it was a virus

sudden ridge
#

pog

#

For real why was it removed?

hallow crane
#

The author was getting hate when somethings didn’t work some of the time even though he put many hours into putting something out for free for anyone to use

sudden ridge
#

Shame man, was really well put together

#

Mad respect for however made it

hallow crane
#

i’m sure he’s happy to know you think that

sudden ridge
#

I know this is asked quite often but any eta when hex will be supported?

hallow crane
#

According to the people working on the recode, “whenever it’s done”

sudden ridge
#

Lmao fair enough

hallow crane
#

There has been no official eta of any kind

sudden ridge
#

I wanted to try to add myself, but its not open source

#

I suppose you could use papi to add hex but I'm not that big brain

hallow crane
#

Doesn’t work with it

sudden ridge
#

I assumed thats how the old addon worked?

hallow crane
#

The addon worked by injecting code into the event sequence.

#

i agree it should be open source

sudden ridge
#

Ahh I see

hallow crane
#

I was banned from speaking in the deluxechat channel because I made a comment about how it wasn’t open source.

sudden ridge
#

LOL

#

To be fair, if it was open it the pl would be free

hallow crane
#

Actually that’s a misconception

sudden ridge
#

How so?

hallow crane
#

My chat plugin sold over $3,000 in copies and it was open source the whole time

#

The people who didn’t know how to compile it chose to support it

hallow crane
#

The creators of deluxechat chose to have it closed source because I assume they oppose the open source software movement

#

only reason I could think of

#

I can’t advertise it here or they’d ban me

sudden ridge
#

Shame man

#

Are we not allowed to make an extension to add hex?

#

Before I give it a go

hallow crane
#

The original one still works probably

sudden ridge
#

Oh

#

I have the jar on my storage dedi somewhere

#

Is the original link still up, last I used it was when 1.16 came out

hallow crane
#

Here’s the latest

#

@sudden ridge

sudden ridge
#

I really do appreciate it mate

#

If you know the creator can you send my regards

hallow crane
#

I’ll send him your regards

sudden ridge
#

Sweet brother, night man

hallow crane
#

night

obtuse gale
#

The queue plugins don't make sense tbh lol

pallid gale
# hallow crane I was banned from speaking in the deluxechat channel because I made a comment ab...

This is false, I won't stand for people spreading misinformation. You were removed as you constantly broke the rules despite numerous warnings. Out of good faith we allowed you to continue to read the channel but warned we won't stand further disregard of our rules that everyone else has to follow. I won't speak any further about this matter publicly. DM me on Spigot if you have an issue with it.

wintry plinth
#

Which api does DeluxeChat use again? JsonMessage?

distant sun
#

java

agile galleon
wintry plinth
#

I wasn’t sure if you guys still used Fanciful

agile galleon
#

Fanciful? That stuff with FanyMessage?

wintry plinth
#

Yeah

agile galleon
#

That still exists?

wintry plinth
#

Ye

agile galleon
#

I remember using it like 4 years ago

forest pecan
#

@prisma wave 🥲

prisma wave
#

sorry 😭

distant sun
#

😬

prisma wave
#

i was clearing out my server list

obtuse gale
#

Aw @prisma wave

#

Savage