#dev-general
1 messages · Page 201 of 1
Not front end web, haven't done too much games, aside from plugins. Even then I never really made full plugins, I mainly just played around to learn something new
I think that's why I'm having a hard time deciding is that I don't really how to answer that haha
I think I'm going to have to just go with the db/api/web app idea and roll with it
I just don't know what data to use
I might even just make like a to-do/issue tracker type thing instead
But that's my cop out option
for the data, you could do people
just use an online generator to generate a bunch of ids https://www.elfqrin.com/fakeid.php
then your api could find people based on queries
location, age
names, nicknames (similarity searches)
passwords (haveibeenpwned)
That's a pretty good idea actually
yeah, I made the exact thing I'm describing a while back
last year, to demo my framework
Would I be able to systemically generate fake people and input it into my database? Or would I be better off doing that part manually?
I found a website that allowed me to generate multiple ids at once, so I generated around 10k, and made a program that would input them into my db
Sweet. That helps a ton!
Piggy
Any idea what something like this would refer to?
r6 = 32000(0x7d00, float:4.4842E-41)```
any other code that goes along with that?
what were you decompiling?
its mostly commented out by the decompiler due to some eroors
what were you decompiling?
@quiet depot
An app called CubeACR
for a project
Java, Decompiler im not completely sure, they added us Java developers after their initial rounds so we were straight up given the decompiled source
Heres a part
what's the class?
@quiet depot
The name is probably going to be diff on diff decompilations, its obfuscated
it should be under the package com.catalinagroup.callrecorder.service.recorders
Try to find a similar structure to this maybe? The variables were renamed by me, it was mostly gibberish
Should I send you the class file maybe?
yes please
I might just not be decompiling this correctly, I've never tried to decompile an apk
ah
Wassup

Any good devs on?
Only devilomen
Good to know

If there were more hours in a day maybe
🤣🤣
$500/minute and i'll do it


Seems cheap
Lmaoooo jk
Nah for tho anyone who don’t charge? Will be paid in the future!
I'll work on the server as long as i can make all bees explode
aka make an bee stick that summons bees to explode whoever you attacked
💡
that's the most work i'll do for you
You could actually be onto something here
i stole that idea from minecraft dungeons
it has enchantments that spawn 3 bees to fight for you
Oh, never bothered to check that game out. I feel like it's just trying to smooch of off MC's reputation
It's actually fairly good
It very well could be, but it steers Minecraft away from what Minecraft is supposed to be.
But its not minecraft....
Nah you're right. It's Minecraft Dungeons
🔨 
I mean not every Minecraft games should be a sandbox with infinite everything imo. A game like Minecraft Dungeons is welcomed.
I mean not every Minecraft games should be a sandbox with infinite everything imo. A game like Minecraft Dungeons is welcomed.
@static zealot For sure. But dont call it Minecraft
its not Minecraft ... its Minecraft Dungeons xD
Pretty sure the only reason the game got the traction it did was because of whaT THEY NAMED IT
yep
ffs caps
Slap "Minecraft" on anything and it'd get the attention of kids
I mean yeah its good marketing
^
That doesnt mean its a bad game.... I havent played it so I cant say much, but yeah, all companies want is to make money so why WOULDNT they put minecraft in the title
the thing is that not only kids play MC. That's why it is so big. Bcz its old as well and a lot of grown ups can have the nostalgia feeling when they play it. I played it 9-10 years ago and still play it. I did have breaks but it is and will be my favourite game.
I can't judge whether it is or isn't a good game since I haven't played it. But I dont think I'd be comfortable with a game I loved being turned into something that is level-based/has a story or main objective

Do the characters have dialogue in Dungeons?
Anyone got a good forum that can connect to server
XenoForo is highly customizable - but comes with a pretty sizable price tag
MCM uses XenoForo pretty sure.
So does hypixel
Has LagPickle fixed their issues yet? Last time I jumped on there it was unplayable..
@fluid crag I can do ur plugin but ur DMs are closed
add me
For the last couple of years, DigitalOcean has run
Hacktoberfest, which purports to “support open source” by giving free
t-shirts to people who send pull requests to open source repositories.
In reality, Hacktoberfest is a corporate-s...
Interesting
Also @ocean quartz pdm time?
People are stupid.
Indeed
clean
I think the map is not on the same class on some versions
@prisma wave Hell yeah
That's what i want yeah, I'll try at least
tbh it will probably be pretty easy if you use lucko's thing
@heady birch still a really whacky way of registering your commands but I guess it's cleaner than the old one
Why do it that way tho?
i think so
lmao
relocation?
uh
RELOCATION
no
phew
java
the majority is in java
I retract the ugh then
the gradle plugin is Kotlin but you probably won't need to edit that much
and matt / me can do that
Ive been using this choco updater thing for about 2 years
No
nope

Someone remake it in VR please, I need to practise for tommorrow night
Pretty sure it just updates whenever the image is queried
where's the img from
I like this one more https://komarev.com/ghpvc/?username=igabytm&color=red
is the same for everyone 🙂
me too!
it's impossible not to get a+ lol
lol
you can do it niall!!
lol even i have A+
is there any way to identify which build task(s) are used to build a project from github?
OMG
it's impossible not to get a+ lol
tru
clojure on the most used languages
good question
@prisma wave Why no Elara
absolutely not
[19:18:12 WARN]: [BattlePass] Loaded class n3kas.ae.api.EnchantApplyEvent from AdvancedEnchantments v8.0.0-Pre5.6 which is not a depend, softdepend or loadbefore of this plugin.
Is spigot stupid or what lol, AE is literally a soft-depend on BattlePass' plugin.yml
Spigot is stupid yes
And that's the most useless warning they could've added
¯_(ツ)_/¯
I do skript development for cheap. Only $69 an hour. DM if interested. Thanks
ight bet
told you the kids from my old server server are hardcore
Would be a bad idea not to store player's balance in memory and instead query / update the database everytime?
The biggest issue would be placeholders I assume
Interval saves here I come
lots of fun
Tell me about it
Wonder how hard would be to work with redis
to make stuff update through servers
depends if you like know redis
i tried that a while back and it was kinda scuffed for me
but i also iddn't know much about redis
Never tried it but took a look at their docs and doesnt look that bad
i just found it easier to use lists and maps, but im sure it's not that hard
For accessing data from multiple servers?
oh no
also i didn't really know whether it was a substitution for mysql or if i should've used it standalone, so i had sorta a weird hybrid
Mhm I thought you can use it to tell to other programs that a value was changed.
oh maybe
For example a player spend 10 tokens on server A and server B will update the balance stored in memory
It might not be redis
redis is a cache i believe
well i think that is how it works but i was never sure if those 10 tokens would always be stored in redis or if i had to still save the cache back to mysql
but thats what i ended up doing
so for multiple servers its good, but if you are on a single server its the same amount of work as a map of uuids and tokens for example
Definitely
After the memory leak caused by tokenenchant's poor mysql integration on a server i was working for, I'm trying to learn more about performances and how to do stuff right
most server owners don't want to setup a redis cache. I would store in map, even thousands of users wont be too much memory. then occasionally insert into database asynchronously. but dont just iterate the whole map. maybe have a hasChanged flag or similar so you only run UPDATEs when you actually need to
Plugin messaging only works if a player is online =/
that too
Which is a dumb system imo
Ye I took that into account, Niall, I dont plan to add bungee support to any public project(s) anytime soon
Im talking about my own server
Is anybody good with deobfuscation? I have some issues with a plugin and wanted to take a look at the code but is obfuscated :(
@distant sun you clearly don’t understand how plugin messaging works, there is no way to communicate with other servers if there is no player online. It isn’t that they just thought eh let’s require a player online
and redis is an in-memory key value store
Shut up lemmo >.<
:smh:
but yes redis is an excellent idea for sharing data between servers.
I hate when this happen smh https://i.imgur.com/n4uyZKL.png why do I feel that I have to give it even more memory .. ?
IntelliJ loves random access memory
please how can i get a value from another plugin on my server
use their api?
yea
its about Vault
i included it into maven and i just wondering how to access his values
what are you trying to do
im trying to access the bank balance of players
look on github, it has example on how to access the api
anybody know how to add dependencies to this? https://github.com/java-deobfuscator/deobfuscator/
adding the path to server jar on path doesn't seem to work
so anyone wanna help me web scrape for my discord.js bot? 
but like fr
anyone wanna help with spiget xd
im too dumb for that :o
idk javascript but its a json api
so if you know javascript i assume you know how to use json and make requests
so just make a request and get the json
Yes
I want to get into plugin development, but I'm used to vim for coding. Do I really need a big fancy IDE for Java to make it all work well?
No, but you're shooting yourself in the foot by not using an ide
you'll be significantly disadvantaged by not using a proper ide
use intellij and the vim emulation plugin
I understand what you're saying
oh that sounds nice
yea once you get used to a lot of the shortcuts and whatnot it would suck to not have access to them lol
you'll still be sacrificing speed, that's the same when transferring to anything that isn't vim
nothing competes on that level
but it's still usable
just not as snappy
yea but its definitely the next best thing to have the full features of an ide and still have access to all the powerful things that vim gives you
Worth it to look for java specific vim plugins, maybe?
i think the slightly less snappy vim is definitely worth it for intellijs hints, warnings, build tool integration, etc
yea you could see if there are any out there
what features from an ide are you looking for paul?
Mostly docs hinting and doing all that maven stuff for me
you can probably find vim plugins for docs and hints but idk about setting up your maven project for you
also i feel like vim might be a bit limiting if you have a large project you are working on
depending on how your vim is setup currently i guess
I doubt vim would be too limiting there
I'm not sure if it's comparable, I've never used vim
but I've used sublime for some pretty big projects
I can handle larger python project just fine with it, mostly it's just good organization
idk ive never really used vim standalone for anything other than editing my vimrcs and some text files / python here and there. ive mostly used it with my intellij / pycharm / phpstorm etc, which is where i like it best
i think its all personal preference tho
I haven't touched Java in 10y or so, is there any reason the project layout would significantly differ?
are you asking if the layout would differ from a python project?
I mean, what about the layout would you believe to be unmanageable?
might not be too different
well i only said that cause i dont have a ton of experience working with large projects using vim standalone
if you can quickly get around to all your files, and are great with windows and whatnot, it would probably be fine
i think the only real thing you would be missing is the hints and warnings that an ide would give you, but there are probably plugins available for that sort of thing
you mean things like hinting class/method names?
yea
probably something for that
yea most likely
also you could always just start out with vim and if you find it to be too limiting then just open the project in intellij lol
guys anyone knows how to set night time for a region?
A worldedit region?
time set night
Or worldguard
WG
loop over all players in the region, set their personal time to night
Probably the easiest way
Idk wg might natively support it
yes it does lol
it doesnt work
get out of the region and go back in
it does work, but it also doesn't update as soon as you change the flag for those already inside the region
because
idk
Fair enough
because it works on boundary checks or whatever
wait whats the value first
tick time
rg flag spawn time-lock night?
unknown flag tick time
🤦♂️
xS
it takes a number
that number is the time in ticks
why are you even in #dev-general lol
cuz smart people can help me here
it takes a number
that number is the time in ticks
6000 is noon
1000 is (debatably) sunrise
play around with them
fefo 12k is night right?
I'm having a really hard time trying to understand how to work with adventure >->
Looks like in about 3 weeks the leaderboard top is going to switch 😦
congratulations 🎉
😐
one last question. anyone knows halloween plugin 👀
oh sry
in my day everything was in #general
Nbt tags
CanBreak etc
lol no I meant the adventure api
super reasonable and recognizable name
don't know what that is
aka text
"use text"
kids these days will never know how to ComponentBuilder
"google java text library"
lol
all they know if MF-msg
all they know if MF-msg
@heady birch and thats all we need to know 🌝
Adventure was a bit confusing at first yeah
@obtuse gale What are you having trouble with?
well
for starters
I don't even know where to begin on how to use it lmao
and the docs aren't very suggestive >->
who doesn't love this type of documentation
"Good luck figuring out how to use our stuff"
I am derping really hard right now. What's the correct Kotlin way to do the following without a bunch of if/elses ?
val group = matcher.group()
when(group) {
matches(Regex(hexPattern)) -> {}
matches(Regex(legacyPattern)) -> {}
}
I have a bunch of pattern strings (hexPattern, legacyPattern...) and the group matches one of them.
do you use regex on a regex match?
isn't it better to use precompiled regex?
val group = matcher.group()
matches(Regex(hexPattern))
not sure what you mean...
So matcher is a Matcher from "$hexPattern|$legacyPattern|$...", right
matcher parses the input
and for each match, the matcher.group() matches one of the patterns
and I need to do different things with the string when it matches the different patterns
and I am too dumb to think of the right Kotlin way to do this
me
i would just for each character
is it &?
ok
next character
is it #?
ok
get next 6 chars
no?
get the next single char
resolve from legacy code
done
it's a bit more complex than that
with lookaheads and lookbehinds
@heady birch and I specifically want to avoid checking "is it a, do a(), is it b, do b()..."
with a when statement if possible
@empty flint just do when { group.matches(blah) }
aaaaaah
But yeah you should be caching the regexes
I completely forgot about the empty when
Also why are you mixing kotlin regex and Java matcher
I didn't know there was such a thing as kotlin regex that differs from Java regex
you're literally using it?
kotlin.Regex is an alternative to Pattern and Matcher
Personally I think you should only use 1 rather than mixing them both
Gets messy
No I know that Regex(...) is a Kotin thing but I didn't know it differed from the Java pattern and matcher stuff. In what way does it get messy?
Hm maybe I should read up on that stuff a little bit
I just dove in
return this.replace(hexRegex) { result ->
""
}.replace(altRegex) { result ->
""
}.replace(legacyRegex) { result ->
""
}.replace(gradientRegex) { result ->
""
}.replace(rainbowRegex) { result ->
""
}
Why is kotlin so elegant 😄
Ty @prisma wave
who place the bracket on the 2nd line
@distant sun It's obviously not gonna stay { "" }
Second line because the transformation will take up more than one line of code
obviously
return this.replace(hexRegex) { "" }
.replace(altRegex) { "" }
.replace(legacyRegex) { "" }
.replace(gradientRegex) { "" }
.replace(rainbowRegex) { "" }```
perfect 🙂
No I know that Regex(...) is a Kotin thing but I didn't know it differed from the Java pattern and matcher stuff. In what way does it get messy?
@empty flint
My point is it doesn't differ, they're 2 different ways of doing the same thing
You should be using 1 for consistency imo
@empty flint we are not going to get along 🙂
Another way to do it
return with(this) {
replace(hexRegex) { "" }
replace(altRegex) { "" }
replace(legacyRegex) { "" }
replace(gradientRegex) { "" }
replace(rainbowRegex) { "" }
}
Less .
poor design
I should
Though idk if it will, because it's probably not mutating this, can test in a sec
Yeah it needs the chaining because it always returns a new string after replacing
Sad
elara will not have this problem
elara will not have any problems, if the features dont even exist yet
no string replacement in elara
no strings
there are integers actually
and print functions
what actually works in elara atm
ez
lol
wait do u need to use brackets there?
for now yeah
ah
haven't figured out how to parse the fancy calls yet
fair enough
yugi seems to think it's impossible
print a + 2 👀
i'm not convinced
nothing is impossible
@empty flint we are not going to get along 🙂
@heady birch What did I do 😦
lmao do you often feel like emotionally scaring strangers? I am not going to sleep tonight because you said that 😦
he said sorry
he said sorry
@onyx loom but did he mean it this time or did he just feel like saying it again?
🤔
Niall is a tricky mind
whos good at CSS?
Anybody bored enough to debug regexes? I swear this is sopposed to work according to the explanation...
((?<!\\)(?<=<g)((?<=:#)(([0-9a-fA-F]{3}){1,2})+)(?=>))
<g:#000:#ffffff>
mf-msg
pretty sure the lookbehind doesn't work with the +, but idk how to fix that
mf-msg
@distant sun Yeah working on expanding it as it doesn't quite suffice my needs...
I mean, it has a regex for that iirc
Could never get the lookbehind to work correctly when matching with java
Nope, no regex in mf-msg
you are just bad
@distant sun lmfao
step up or shut up gaby 😛
Could never get the lookbehind to work correctly when matching with java
@ocean quartz Non-capturing group solved it
I think the desaturation now works
Also why the fuck does plugin.yml have author and authors instead of you just one with a list of 1 or more .-.
How does your parser work without regex btw?
Character scanning
ah
It's much faster
kiteboard years ahead of all technologies
what does bukkit wiki says?
or maybe the just concatenate author and the authors later
@prisma wave What would "Nothing" be in Kotlin? 
Can't leave it blank but can't put anything in there either .-.
"No type is Nothing, but so is every type" now that is a brain fuck
"No type is Nothing, but so is every type" now that is a brain fuck
@hot hull it's true
you can't manually get Nothing, but if you have Nothing, it can be any type
@ocean quartz You said the color codes can be escaped with \<#...>, does that work with &#... and &c as well?
Yup everything is escapable
Good man
\<hex>, \&hex, \&c, \&l, \<g>, \<r>, \[](), \|, \:
Yup everything is escapable
\\\\
That would also work actually xD
<o/
elara 1.0 has been released
This version includes
Addition and subtraction, integers but no floating points, strings, printing
It's fast tho
Char is just a string with length 1!
ohlol forgot about thopse
Hmm not sure how i'll do the commands in this 😩
elara
arela
🤔
alera
thinking
can someone kill me please
I'm so done with this shit
why in the hell would you want to have an entire email client onto your website
just use gmail or some shit
reinvention of the wheel ?
yup
because they want to integrate it so they can make proposals from emails
and easily send invoices
can someone kill me please
@frigid badge sure
Doesn't sound easy, well gl
well I’ve build it months ago already just it stopped working and can’t figure out why
Nice
Anyone ever used Crystal before?
I guess this works
@prisma wave What is it? sounds familiar.
yeah
Is it compiled
I think so
Jvm/cobol
@frigid badge :((
Lol
very relatable
Fr
I'm not like other girls
No spacing whatsoever
Programmers never simps
You simp for the compiler to compile your code without errors
"Oh gorgeous javac, I will kiss the cpu you run on for a chance of one program execution without any errors."
Is that simping enough?
elarac
Why does a matrix class have a main entry point method lol
Because it can lol
Ye lol
stop.foo
@ocean quartz if a String contains an invalid hex string as part of a gradient, it breaks the parsing of the whole component.
<#abcdef>Hex!
&cColor!
<g:#abc:#defghi>Gradient!
\&#abcdefAltColor!
&#abcdef0Hex!
<r:0.5:1.0>
Note the gradient's second element is "#defghi" which is not a valid hex color.
The result is this:
the last color does not get parsed anymore
ye base 16
Oh and fixing the gradient revealed that the escaping of &#abcdef does not work as advertised:
Interesting, I'll take a look at that later
Sure mate, I told you I'd abuse the shit out of that framework 😄
Useful though because you pickup issues he may not find e.g
yep
eg
in intellij but that can't replace partly and just one file at the time
There's a windows batch rename utility, but that won't harmonize well with IJ
You could maybe find/replace in whole IJ project?
basically wanna replace any file that has the token "baby" to "child"
mv ?
that probably wont work
it lets you move files around
but it can also be used to rename stuff im pretty sure
maybe I can write a java program to do it for me
kotlin program
yea probably
seems like this was a feature request some years ago
I dont know go that well
go is pretty speedy
ctrl shift alt k
apt-get install rust
fn main() {
println!("Hi!");
}
thanks
Hi!
what's the ! for lol
macro
Hi!
semi colon 🙄
ikr
toString impl
@ocean quartz How many decimal places does the rainbow format accept? Float or Double or something custom?
and can it be just <r:1:1> or does it have to be <r:1.0:1.0>?
1d
That one probably wouldn't work
@empty flint The problem wasn't anything to do with the gradient, it was .. my dumb brain only
Me fixing this hard problem
When you saved the entire universe in the last second
@empty flint The problem wasn't anything to do with the gradient, it was .. my dumb brain only
@ocean quartz I can only report what I find breaks something 😄 Glad you found the error.
Another quick question: can you use legacy color codes in a gradient?<g:&c:&2>?
Yeah, apreciate it ;p
And no, it wouldn't work too well so didn't think about adding it
Interesting
I need to upgrade kiteboards system because currently theres shared logic between 2 (and counting each time a new version is released) classes that are very closely tied into the version they are running on. So I must figure an efficient way to do the business logic centrally then delegate that to the adapters
Add mf-msg support to in 
Wait how does live code with intellij works?
spring
so no official feature?
what
yeah it did
how does that work?
websockets probably
no but like how do I set it up
oh idk
I was tryna google it and nothing appeared
@prisma wave Why would one use StringBuilder instead of String concatenation?
faster
how much faster
a whole nanosecond
1 elarasecond
idk off the top of my head but pretty significant with big strings i think
string concatenation 🤮
@steel heart
Its only useful if you a concatenating over a loop or something, coz you create a lot of unnecessary string objects. In normal cases the java compiler converts your concatenation to use StringBuilder anyway so you can safely just use normal string concatenation in that case
Depends on the use case
true
As I said, your normal concatenation is inlined with string builders anyway
How does it create a string without concatenating the objects
How does toString work on a StringBuilder? creates a string object with the charsequence
StringBuilder itself is an instance of CharSequence aswell I think
As in it extends that
Ah
Elara: 0.0002ms
Elara: null
kotlin... bad...?
@old wyvern frick I'm looping
How do you even check how long it took to finish @ocean quartz
Gets insane in large amounts
o
measureNanoTime Gaby
wow
what is that
Subspecie subspecie = new Subspecie();
String texture = PrehistoricEraMod.ID+":"+baseTexturePath+subspecieName+"/"+name+"_",
child, childSleeping,
teen, teenSleeping,
female, femaleSleeping,
male, maleSleeping;
if (hasChildTexture) {
child = texture+"baby_"+subspecieName;
childSleeping = child+"_sleeping"+".png";
child = child+".png";
subspecie.child = new ResourceLocation(child);
subspecie.childSleeping = new ResourceLocation(childSleeping);
}
if (hasTeenTexture) {
teen = texture+"teen_"+subspecieName;
teenSleeping = teen+"_sleeping"+".png";
teen = teen+".png";
subspecie.teen = new ResourceLocation(teen);
subspecie.teenSleeping = new ResourceLocation(teenSleeping);
}
female = texture+"female_"+subspecieName;
femaleSleeping = female+"_sleeping"+".png";
female = female+".png";
subspecie.female = new ResourceLocation(female);
subspecie.femaleSleeping = new ResourceLocation(femaleSleeping);
male = texture+"male_"+subspecieName;
maleSleeping = male+"_sleeping"+".png";
male = male+".png";
subspecie.male = new ResourceLocation(male);
subspecie.maleSleeping = new ResourceLocation(maleSleeping);
subspecieMap.put(i,subspecie);
looping this
1 million? 😳
Well that's how you test stuff :)
1 million?
gonna take some time but sure
Show the code :0
Just a sec, running 1M xD

Just a sec, running 1M xD
@ocean quartz actually more seconds
Still running
@steel heart This is the entire thing https://paste.helpch.at/yagoxakuta.js
bruh xd
shit
Gotta remember it's 3M since it'll do it 3 times
lmao
jesus why do I forget = on the <=
time to only use String Builder from now on for those micro optimizations 
im pretty sure its worse at smaller levels no?
Difference in small values is pretty negligible
scroll up
hm this is true
I'll decompile in a sec to check
Unless the interpolation is doing something
Why doesn't kotlin compile concatenation to string builder? Doesn't that make more sense
I did 500k!
I just hope gc does a good job and I don't have to worry about my strin concatenations
Took a while xD
lol
@prisma wave Only difference so far is that normal concatenation uses strings
Kotlin uses characters
Hm
I can't imaging that would make a massive difference, although it might make some
@prisma wave Well, here is the difference in byte code, it does have some difference
https://paste.helpch.at/qasabilato.js <- Kotlin
https://paste.helpch.at/acufitejod.js <- Normal
Well, here is string builder
https://paste.helpch.at/qucekowuwe.js
So all calls StringBuilder at some point, it's just how it's handled i guess
heap memory allocation taking ages since 1944 👌
im having issue making embed on discord bot
and also how can i make const Embed = require('./Embed');
@ me
oops wrong chat
So app development boiz, will I want to yeet myself?
as in android?
Yes
It's cool I guess
So the normal amount of wanting to yeet myself correct?
I say give it a go ¯\_(ツ)_/¯
Unless you already do UI stuff, it's a pretty neat experience I used to learn how to properly separate the data you're working with with the end-user elements.
And a bit of threading too since anything that happens from the UI, methods will be called on the UI thread, and you don't want to block that lol
I found it a bit useful, fun maybe
Trying to venture out from mc, so yea anything is a good experience
Does kt also use xml for design? Or doesnt matter cuz android uses it?
It's xml for design yea
😔
My PC is not liking me right now
I wanna make cool plugin someone give idea kthx
@ocean quartz I did some more testing with rainbow:
Note the last and second to last lines here.
The Doubles input into the function exceed the logical spec limit of a saturation and brightness value:
<r:0.5:1.2>blablablabla
<r:2.045234234234242:1.2>blablablabla
Also, you sait it uses a Double but the RainbowColor class uses Floats. Am I missing something here?
any idea how to optimize sign editing (50+ signs at once)?
Some are 0
cauzse there is 0 signs ther 🙂
Oh
yeh
and thats like just 15 sings and it takes 33ms
kinda need to check if i can do this faster using NMS
but i kinda dont know how to use multiversion NMS
packets will probably be alot faster
idk if i want packets..
i mean users already need protocollib so i guess i could add packets
but again i would need to use CraftSign
https://bstats.org/plugin/bukkit/GUIHelper/5497#coreCount 40 cores, damn
Ye :(
@quiet depot do you think it will be worth trying to add sponge support to my plugin? For fun, idk. Most likely not as advanced as papi
trying to edit signs using NMS any idea how to?
what's your plugin?
https://minidigger.github.io/MiniMappingViewer/#/mojang/server/1.16.3 signblockentity maybe
MiniMappingViewer
GUIHelper
Dunno what gui plugins exist on sponge though
Btw can I join a sponge server with the normal client?
yes
Nike
Niall do you think this would work:
http://images.virtusdevelops.eu/shareX/x03ti848.png
Perhaps send it only to players around that sign?
shot thats wrong packet
Dunno what gui plugins exist on sponge though
@distant sun deluxemenus? 😳 👀
Do a research for me, ty bb
no
to waste the time you don't have duh?
:))
@ocean quartz I guess the compiler can't optimize the string builder calls as well as a person can
i guess my JSON formatting isnt right?
nbt.put("Text" + (i + 1), "{"extra":[{"text":"" + lines.get(i) + ""}],"text":""}");
why da fk are they friking invisible?=???
take a look at this, it might help you https://minecraft.tools/en/sign.php?sign=Text 123&signtype=323&command=&signname=Custom Sign
Time to learn java boys. See ya all in 5 years maybe when I've learnt the basics.
:;
fun
thete is no text
anyone got some good tutorials I can read or watch? Like for the basics of the basics. Or is any Java Tutorial link from googling that ok? xD.
Oh wait nvm I think w3schools has a tutorial
will be checking that
minecademy 5/5
thank you piggy. Idk what my life would be if you wouldn't be here to send me to that wonderful place of peace and prosperity called mineacademy.
Piggy, poggers
yes kangarko and his team know their shit
Gasper if performance is your #1 aim would suggest direct NMS not through the Protocol Lib
that doesnt help if signs are invisible
Well that's kinda funny
eh whatever i'll try NMS but can someone help me convert this Kotlin to java
private fun Any.updateField(name: String, value: Any)
= this::class.java.getDeclaredField(name).apply { isAccessible = true }.set(this, value)
In Spigot NMS, some of the classes have a comment codes saying we should use ProtocolLib for better approach
lel
blame the renderer
every program must contain the main() method. is this true?
yes
hmm in java should I do the same as in kotlin and make variables final as much as possible? Or does it not make a difference?
I mean I don’t use final because it fkn stretches the lines
except for when it’s actually needed
but for params, nono
I mean the small amount I used kotlin I almost never used var. Only val. Since I don't rly need it.
Ayyy matt-msg desaturation works :D
😐
yes !!
evil
elara will crash your pc if you type !!
@empty flint Oh yeah you're right it's float, I started it as double but the method takes a float so had to change
Kotlin haters everywhere
At least 3 haters here tried it and now love it

Gaby
oh
Kotlin haters everywhere
At least 3 haters here tried it and now love it
@ocean quartz Did you have a chance to look at the &#ABCDEF notation? That doesn't compile for me...
gaby hasn't circlejerked about it
No elara
that's a shame
lol what

