#dev-general
1 messages · Page 606 of 1
getting null error on this QPlayer playerData = questsPlugin.getPlayerManager().getPlayer(uuid); return playerData.getQuestProgressFile().getQuestProgress(questsPlugin.getQuestManager().getQuestById(questName)).isCompleted();
what is returning null?
also you should probably go to #development
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.
im not sure exactly what you're doing but i think a decent way to identify if an item is yours is by using a NamespacedKey
Category theory is the heart of mathematical structure. In this video, I will drive a stake through that heart. I don't know why I made this.
Grothendieck Googling: https://mobile.twitter.com/grothendieckg
Join my Discord server to discuss this video and more: https://discord.gg/AVcU9w5gVW
MUSIC
Oregano
Vendla (Epidemic Sound)
Penumbra
Kevi...
This video made me laugh xd
hmm?
are those buttons and 'only you can see this message' messages something new to discord?
Were added a little while ago, just never got around using them in any of our public features till now
that's pretty cool, i like it a lot compared to interacting with bots in DMs
definitely 🥲
with what i wanted to do i needed to determine if the item was a fresh vanilla item or was modified, if its modified then dint do anything, it it wasnt then give it the tag.
i found a way tho
Why does PlayerItemConsumeEvent#getItem return a clone of the item p.p
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.
Ay so I got a question that's probably stupid but do yall put "I" in front of your interfaces?
Eg ISomeInterface vs SomeInterface
it's useless noise imho
Which one would be better?
without I
i think its to differenciate between interfaces and not
tho ive not figured out how to use interfaces yet
Ah
normally, you shouldn't need to differentiate
I guess I'll go without the I prefix then
Imagine if JDK interfaces were called IList, ISet, IMap and so on
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.
IMO live demos are always nice, because you can demo it like an actual server, but add “cheat” commands to get vouchers, reset etc.
It gives a sense of idea of how the plugin would be incorporated in the real world
for real
amazing
@ocean quartz we gotta learn from this
"did you ask for Nintendo's permission for this"
Worthy contribution imo
@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
Can you try again?
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
man. white theme looks so fucking good https://i.imgur.com/h7GrtV8.png
Why would you do that to yourself?
because I hate myself
In these trying times I fail to see ... who asked?
Really 😂😂
@obtuse gale I'm starting to like this compact look over the more "stylish" one
you're vey funny chazza. but you know what's even funnier?
Your coding skills /s
no. me leaking logs. that's funnier https://i.imgur.com/I5nuRI1.png
LOL
Message sent by @static zealot deleted in #dev-general by themself.
Mitten, I wonder who asked
X-posed
cool
again. In these trying times I fail to see who asked
cool cool
rekt
No, stfu weeb
rekt
I thought you were a weeb developer
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
nope all purchases are final
and if you charge back more then likely it will either get you banned from here and or spigotmc.
I won't. Didn't expect it either, but yeah annoying situation (that I got myself into)
What did you think it done
I thought it at least had /vote, /testvote as I was recommended this plugin when asking for those features
iof your gunna do a test vote then use mctools.org's votifier tester
Yes, and while that can be done quite easily myself, I have no way to test if it works
Or use joinservers vote tester soonTM
My server is on my pc, but I suppose I can portforward it
well how else are you supposed to process votes...
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
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
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
cause the problem isnt usually the vote plugin, its the connection to vvotifier
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
nuvotifier has that?
I'll check that out
neat
yeah. also there's testvote websites out there
but nuvotifier's test vote is pretty good
which is what mctools.org has
yeah. pretty sure that's the one I used before.
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
i dont think voteparty has vote reminders as far as i remember
I don't think there's plans on this plugin actually connecting to voting websites. no voting plugin does that.
or maybe i never enabled it idk
and for reminders, that's also in the works
idk when but pretty sure glare said he's working on it
I have no plans to replicate what NuVotifier does. There's absolutely no reason to do so.
but recreating the wheel >
always
Sometimes, depends what I’m coding, usually will jot stuff on a whiteboard
Mainly DB logic
oo whiteboard thats good idea
Diagrams for db logic are great
https://miro.com is a great tool for that
I used it before it was rebranded. It was a simple drawing whiteboard but now it has a lot more features
for me handwriting is better 🤷♂️
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
just energy waste. but they're 2 different things xD
Is it possible to keep a chunk loaded when no one is loading it and every player is offline? For sugar canes
Please @ me
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?
you can either addPluginChunkTicket or setForceLoaded, afaik the only difference is that plugin chunk tickets aren't persistent between restarts (that + other plugins can't remove your ticket)
Interesting, thank you, so they should both load sugar canes I guess?
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
How come?
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
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
err.. what
wdym?
also lists throw an exception if it doesn't contain an element in the index
you're right, i should have said that i want the list to build a new element in case it didnt find one
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
ngl i have no idea what you're talking about
i swear i'm not crazy
i think ur crazy
🥲
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
that's not even a jdk thing 
MapMaker is i think
it 100% isn't, lol
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 💀
are you using spigot?
yeah
it has com.google.com shaded
soon
🙏
Yo lets goooo
I got access to cloudflare email routing
now I can have custom emails on my domain
boom
it works
Imagine all the Beta api in the jdk
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 🙂
Can we ban percentage of income requests lol
I give you % of my server earnings, rn unreleased which means lots of $$ to you
Can give 95% of profits until we launch :kappa:
yeah already not allowed unless an estimate is present
hmm. I guess funnycube doesn't give warnings. just takes them down. kek
correct
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
next pvp client o yeah xdd
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?
Roughly a dozen times 😩
are all of your drives good?
Happy overthrow your government day people
ayyy
(that was a joke)
weird to think it's been a whole year lol
are you american chestly
ikr
washingtonian
a year since what
insane
the us capital was stormed
oh
according to the raid controller panel or whatever that's called all drives are healthy
capitol*
huh
Got my second dose of the vaccine today, and now my wifi is laggy 😦
second???
JnJ or something?
5g waves interfering with the wifi
both apply ;)
Well booster shot, first one was johnson, so this one counts as a second one
ah i see
yikes on the johnson
phizer superiority
nah bro moderna is best
i have pfizer
highest effectiveness
wowow
well I think it was pfizer
though pfizer is pretty cool too
bunch of nice people were handing out vaccines under the bridge so I lined up
nah... not what ive heard
pretty sure it was pfizer
thats pretty suspicious ngl
Mate, only needed one dose, I don't actually give two fucks on which one is the best
made me a bit sleepy
sold old dude under the bridge injecting people with sh*t and you were just like, ya, lemme do that??
yeah one dose that has half effectiveness
yeah ez vaccine
or high, guess its good both ways
Who asked tho
in aus u have to have 2 doses to live
i mean, i just want you to be safe mr Frost man
the gov kills anyone who doesn't have 2 doses
Got vaccinated in the early stages when they didn't know shit so it was considered aight then
god i wish
lots of people complain about it
idk my vaccine felt pretty good so i'm chill with it
Haven't had any issues myself so that's cool
I nearly became autistic after taking the vaccine but narrowly survived
the side effects are crazy
You were already autistic
Lmao
Doing drugs helps
they're asking everyone to get a third dose now
4th here
wowie
idk all these needles kinda annoying
might just make a 5g cocktail and inject it
Would become a daily dose sooner or later
ya ok, trying to "science" your way out of this one buddy
You need 3 doses to get across the border here
I dont mind needles, not anymore at least, I mind covid and people
people have always been an issue
Yup
The media is the issue, and people being people having no brain cells
windows?
neurotypical
lmao
Humanity is doomed either way so meh
You have a negation there, pig
Oh dang, I thought it was the other way around... weird
pretty large difference too
why so
well why is it
yuh
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
idk, 1.5 is best case
Worlds gonna end by 2036
ive heard 2-2.5 is much more likely
Will result in everything being dead
nah
climate change doesnt exist, its a construct crated by the high powers that drink baby blood to insure a easily ruled and scared society
everyone knows that /s
literally 1984
negative on that statement
You sure about that
certain
What are you gonna do when outside will be 1.5C, PIG 🤣
buy a jumper?
Got evidence backing your claim?
where's yours frosty
but yes
What is that lol
a protective article of clothing designed to prevent heat loss in the upper body
Recent occurrences of the worlds situation is my evidence Pig
I see
what? covid?
No, we're talking about people
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
I just doubt convid is natural.
hey, atleast papi 3 will be out by then
and a paper hardfork will exist
Or will it !!?!?!???!?‽‽
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?
exactly
3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954930381964428810975665933446128475648233786783165271201909%
Can I have some?
no! its with apple! my favourite
😢
plz

no
ok. you can have some
why even purpur, the fork of the people who can't even manage their CI
If you were to figure out proper multithreading then a lot
the question should be why rust
But that's the main thing holding java back
It's fast
is it tho?
why nog
speed is
like C
and language is better
yes
but have you seen me running?
Pretty much C speed
faster than rust 10%
Hmm
idk hundreds
the only reason java is "slow" is because it's "all" single threaded
probably

well
And that's in java so it still has the overhead of the JVM
minestom doesn't have all the vanilla stuff does it?
it dont
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
well in most benchmarks i v seen that rust is faster than C
source?
i think overall rust will be slightly slower
not enough to make a difference
but it does have some overheads
just google "rust vs c speed" and check first x results
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
like
idk
i cant even think of anything where the minor overheads would be enough to justify not using rust
kernel development ig
well imagine server that could split all resources to newest EPYC 
that could handle more than 500 players or?
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
yes im asking generally
if you want to compare speed of languages, only pick results that back your claims ;)
true...
nein
i picked first results
haskell 
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
If you think you can just use rust and instantly receive better performance you’re so wrong in many ways. Everything just depends…..
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 😂
-_-
ye 1.7 no entities except players thats kinda different than 1.18 survival
??
it was just hypothetical question
.
either way it would still hold much more than 1.18 by 5x under same circumstances
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
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
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
anywhere in the thousands
like what is the max player count you can get w $999999 budget without ruining survival experience
to 10s of thousands
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?
it all depends dude...
.
all of them
probably the worst question of 2022 yet im sorry lmao
-_-
exactly my point. xD
whats bad about being curious what is the limit
approx
and how tf can we know the limit without ever reaching it?
and not many have used custom servers for good purpose
100-110 1000-89998
i dont think language matters all that muuch
for this it would really matter
i work on a server in kotlin. and im hoping itll hold 10s of thousands at some point its all a progress
if you want to reach limit
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
Just add the flag -Dcross.platform=true to your build command
13985
exactly that
any more and the server will crash
Damn. BM knows
BM knows everytime
not everything. I bet he doesn't know the things he doesn't know.
then he probably knows that I screwed your mom /s
he knows thats false
Can someone help me
they left lol
xd
http 😵💫
pls stop
You stop
that took a while
you actually just buy the domains to do this?
I was gonna make it a help guide tbf because so many keep asking in #deluxechat just not got round to it
Hahaha my school blocked the domain because it’s too new
hahaha
https://pastebin.com/jqsLTBs3 Help please, it crashs my server. It is only on Paper, Spigot is working correctly, but without data saves
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
@prisma wave are you Santa forever now?
no. just for the next 4 years
I miss Mr. Mits
inb4 you buy nitro just to change your HC name
damn
supports discord, i'm sure you get a lot of use out that every day
ol' scrooge mitten more like
i get a lot from the streaming benefits
and it's cheaper than a netflix subscription, which I use way less than discord
same price as netflix here
And yeah I'll prolly cancel that too soon
Spotify is the only subscription worth the money
atleast with netflix ur getting ur moneys worth even if u hardly watch it
poor amazon prime is all but forgotten about
i get my moneys worth with discord every day since I use discord for multiple hours every day lol
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
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
well u can send messages without nitro 🥴
I agree, ive debated cancelling again
what specific features are u using from nitro thats worth it to u
for ages I refused to get nitro, dont see it worth it
i mean that's not the point
it's nice to have gif pfp and stuff but it's not worth that much
i like discord and i want them to succeed
🥴
The only real things I "need" it for is boosting
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
Sure, but I don't think you realize how little data is worth with this many people
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
discord as a product is still good but the company is falling off
Oh god I hate google, i avoid where possible
esp google analyrics, they spy so much
if they add monkey jpeg flexing I'm never paying for nitro again
isn't that the point lol
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
I don't mind that exclusively but the idea of official integration for flexing your shit apes is horrific
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
...
I think Discord is worth a little extra, too :)
But both is too much
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
yeah I couldn't really care less about data stealing, as long as, as a consumer I can go somewhere else
how so? They're working towards their user's interest alot now adays
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
I am mainly annoyed about the nft cringe and also slash commands being shit
And all of the stuff that led up to d.py shutting down seems pretty bad too
oh that nft stuff was bad
but they thought they were being hip lmao
and slash commands are getting better soon hopefully
Is it possible to do something similar to instanceof with switch statement?
in Java 18 it will be ;)
So the only way I can do that is by using if/else?
yeah probably lol
waiting for Java 18 ⌚
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
I'm using Java 17
then yeah, you can just do if (user instanceof Gamer gamer) { blah blah };
then it'll assign gamer to the casted version
Very hot ^
it'll be still in preview, as in Java 17
oh nope, apparently you can do it in Java 17
or may be it's just preview
hmmm
yeah it's just preview
well it won't be stable before java 19
because it's better to make sure that the feature isn't a pain point everyone complains about in a few years
i mean it doesn't break anything
you could go your whole java life without ever using switch expressions
yeah but if something isn't usable, you better just don't add it
generics don't break anything either
star did you know that 100 seconds pass just as fast as 1 minute and 40 seconds does?
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
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.
Freddy is using it for his own paste bin.
ERR_INVALID_HTTP_RESPONSE on Dynamic Map, how can i fix it?
Port - 25578
here is a config
Help please
sir this is #dev-general
some one help
why
wait
can't. gotta go fast
youre staff?
Salami
yes. why?
can we talk in dm please i need to say somethings important
We've been trying to contact you for your car's extended warranty
bruh
I'm not discord staff. I'm staff for this server only. if its related with discord the company then this is the wrong place (this entire server I mean).
dude not discord staff i mean staff here xd
what's your question, jesus christ
just ask it
Hi, I'm calling you regarding your PPI claim
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
:((
Did you not consider using Discord Worse instead?
dude
i use discord normal
i dont want ban again from other server

@static zealot sorry for ping can you answer please
I dunno, I guess it's a difference of opinions but my number 1 grip with Java is that it's old and lacks modern features that Kotlin and others have
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
Yeah well, I want my pattern matching switches
I don't think we need two entire preview periods for that
there was valuable feedback in the first preview. Just changing something then and releasing it would be catastrophic
it isn't really that lacking anymore
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
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
what's your other discord?
Hey guys! What is the best library to use for command-line argument handling?
Appache's common cli.
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)
Yeah, I'm currently using it, but when getting value of the option, it returns null... 
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
ah i wasn't parsing it lol
ah. Ic.
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?????
@fickle drum we'd really appreciate you not spamming every channel and sticking to 1. thank you
ah ok. i was just seeing if anybody knew anything or could just send me one file.
well. spamming every channel won't help anyone. and can even lower the chances of someone answering your question. people here dislike spammers.
Yeah, I know the problem, but you were spamming... So yeah, no answer for you
what problem? the problem I reported?
he's probably joking xD
ok sure I'll assume so.
Yeah, thank you Blitz!
xNtrow#9999
i think you remember me for spam in services as a kid lol
but now im a new person
ok. I'll personally unban but if admins feel that shouldn't be the case they might ban you again.
interesting. who's body did you steal this time?
yours
your its the best lol
thanks
ugh. can you try and join? bcz it doesn't look like you're banned
891245897659347004 (use ID)
bc i change mty tag
rejoin using a vpn
yeah. was using that. but literally all I can see is ban, timeout and kick.
like you're already on the server
ok. nah. it was just me
I thought I can unban from the user context menu
im still banned
@static zealot thanks i love you
i need to leave with this account?
nah
ok
yeah
I found something called try = [] you can add for each server. looks like what I need. will have to test tho
{
"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?
json
no but like array or what
object
i want to parse a file that has much more these but i dont know how its called
that right there is a json object
ok. cool
can u confirm this tho? without me having to test. bcz its probably not going to be today and I'm totally gonna forget
can someone give a brief explanation of what serialization is?
confirm what? idek what you're trying to do xD
In computing, serialization or serialisation is the process of translating a data structure or object state into a format that can be stored or transmitted and reconstructed later
so basically an item to code
that works like MoveMeNow. So when a server stops they're moved to that other server
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
I'll try and remember to test. just in case. if not I'll try looking for an alternative.
wait so serialization is mostly used in DB right? like a /chest, or such
to store the data inside it for example.
or auctionhouse
basically transforming an object in memory to a format to be stored or transmitted, like json, yml, in a sql db, or a custom format of your choice if you're into that - which can then be read back and transformed again into the "original" object
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.
That's not too hard to make
well. you gonna make it?
Even bypassing cross origin is possible with extensions
no idea what that means but ok
Maybe someday. Not atm though
browsers r big rood and don't allow u to do shit with other domains
yeah... me neither lol. I'm using trello bcz I've got too many things to do and really need a way to easily keep track of them
But chrome extensions can block it
well how do gmail addons and other stuff do it? idk. I'm just asking
I did that before
yes
Probably with a blocker
I did that for my pacman extension game
cool.
I take that back, it was an old revision of it. The new one doesn't need to
:D
140,000 users
oh shit. this might be good enough https://addons.mozilla.org/en-US/firefox/addon/trello-as-a-sidebar/?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=search
Why would you need that
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
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
I guess thats a good use case
helo i dont understand how is seed used in world generation like in code way can somebody explain pls
Ya i deserve this tbh... In retrospect i dont know how it made sense to have classloaders loading classes they are dependent on...
first time I hear about this exception lol
Has someone here ever used MCProtocolLib?
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?
World generation just uses random number generator which has a seed, same seed = same random numbers = same world
random noise is what you're looking for
ask ur question
How am I supposed to send client branding to server?
no wait
wrong question lol
So after receiving ClientboundLoginPacket I send ServerboundCustomPayloadPacket to change the branding but it does not change it
man. poor piggy is having a blast rn helping me :kappa:. he probably wants to end my life.
@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.
it's like 90% done
o
git?
is it closed src?
if so. Are you planning on adding different announcement types? aka chat, action and bossbar?
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
idk I'll have to look at it. I haven't in a while. why do u ask anyways
pretty sure it works
well I kinda need one. and was thinking of making my own but then remembered you were working / planning to work on one and wanted to see in what state it is
was even thinking maybe I can help. but since its not on git
thank you
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
😆
permanent
o damn. it even has toast announcements
yeah, it is nice
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*
ye
Kaliber want me to PR "1.18 support" to CombatStats? kek. so you have a reason to update on spigot?
no
it already works I think + I have uncommitted changes
ah. you do have a development branch as well.
nvm, the plugin i used to test it was shit, made my own check and it shows it as intended
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
don't think so
well. you can probably find a non spigot util for that.
or make your own
@distant sun "([^\"]\\S*|\".+?\")\\s*"
stole it from somewhere lol
🌚
nice
seems to work fine. you probably know more regex so you can understand it lol
also it already has all the \ required to be placed in a java string. no need to double them.
found a problem already. lol
looks good, ty
you can't have an argument be just "
It doesn't really matter
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
https://regex101.com/r/zTkG3M/1 seems to work fine
but yeah, it also returns the ""
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?
but if I rebase do my other commits remain?
for some reason I thought it removes all the extra commits
Already solved with regex but if you want to do it in a much more complicated way for no reason
😏
lmao
@oak coyote
Sir I need your help
@quick flume
@prisma wave
Hello anyone there?
I need help
There is no time to wait! Ask your question @rain citrus!
Ayo @compact perch who tf I ask questions
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait
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
no
fair
hello!
they never ping me... I feel so left out (and happy)
@eternal compass some love 
(and happy)
Well now I'm sad smh
Why :(
Because I got pinged...
I said I felt left out, but happy I wasn't pinged
Ouch
@eternal compass
@prisma wave
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
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
@sudden ridge the hex addon was deleted
How come bro, it was really good
it was a virus
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
i’m sure he’s happy to know you think that
I know this is asked quite often but any eta when hex will be supported?
According to the people working on the recode, “whenever it’s done”
Lmao fair enough
There has been no official eta of any kind
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
Doesn’t work with it
I assumed thats how the old addon worked?
The addon worked by injecting code into the event sequence.
i agree it should be open source
Ahh I see
I was banned from speaking in the deluxechat channel because I made a comment about how it wasn’t open source.
Actually that’s a misconception
How so?
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
Mad respect brother
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
o
Shame man
Are we not allowed to make an extension to add hex?
Before I give it a go
The original one still works probably
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
I’ll send him your regards
Sweet brother, night man
night
Ah
The queue plugins don't make sense tbh lol
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.
Which api does DeluxeChat use again? JsonMessage?
java
Yeah, some just break, the others dont make the use of a queue
You’re funny 😂 is it JsonMessage or another lib?
I wasn’t sure if you guys still used Fanciful
Fanciful? That stuff with FanyMessage?
Yeah
That still exists?
Ye
I remember using it like 4 years ago
sorry 😭
😬
i was clearing out my server list


