#dev-general
1 messages · Page 52 of 1
When you have the money, who tf cares about the cost
When you made ur money u know it’s value
thats not really the point
it looks more professional
and authentic
More expensive not more professional check wix for example
Your mouth is big, your knowledge is miniscule
U literally can move texts add texts
isnt wix most likely for static websites?
We are not even speaking about individuals buying a website, it'a companies lol
I mean they may have some features
Backend is easy to make
Not most, it is almost purely static
And Shopify for shops lol
maybe tesla should just use wix & shopify too then
Anyway idk I won’t charge people 2500$ for a website it’s insane price
It’s literally a scam price
💀
this is literally the regular price
I can't believe bro actually lives in the real world
in lower category
dude entry level software engineers in the US earn like $80000 a year, $2500 is nothing
There is so much that goes into the price of a website, how big the pages are, what functionality they need, are you providing your own graphics, are you the one hosting it, are you the one setting up the hosting, does it need backend, shop, gallery, etc, you can't just say 2500 is too expensive or 200 is too cheap
Ur not hosting it forever
Maybe you are
And they pay a flat fee per month for maintenance and host
I don't think you have any knowledge on the business world lol
In this matter
We are not speaking about minecraft
Monthly revenue is 30k €
In Monopoly money?
It’s not a lot but 4 employees company
Lmao
Some people will charge less because they just use a template they made and change things to fit the client
Might as well use something like squarespace
But if you want something custom then you need your worth
On minecraft terms, it's like a plugin, if you sell it on spigot 10€ is fine but the same plugin as custom to a client could be 1000€
R u part of the 🏳️🌈 community by any chance ?
Lol what
wtf
Lol wtf
For reference, I am a straight man, but thats homophobic lol
so first of all. Boy is spreading absolute garbage over here, tries to tell that web devs are charging way too much, even tho the pay is sometimes lower than 20$/h and now he's just flexing.
Sorry, but you are an absolute dummy in here. You got absolutely random arguments that do not make any sense and basically just triggering whole community
What in the world does that have to do with anything
I thought u r a women sorry
?
@chilly zenith sort this guy out
Just straight homophobic?
.....
Being a woman doesn't make you part of the LGBTQ?
It’s a question
This guy is just trolling I swear
Why it makes u so angry
yea
What if he was part of it?
Nah Afonso
why does the answer matter
Wasn't he banned already once?
=mute @slate elk global
You've muted 89621!
lol
thank god
LOL
Tf
that was a mute speed run
This was the most random thing I have seen today
So apparently I look like a Woman I guess?
xDDDDD
Probably will go to a different discord to complain about the mute from this .. leftist server and its .. shuffle cards .. lgbt agenda
rip Chazza 😦
I swear this guy was already banned once
But someone unbanned him
I am like 97% sure
(Those 3% though)
Afonso?
And the far left propaganda we're spreading
random question
Nah that was grandhappy
wanna work for me? 
What just happened
https://discord.com/channels/164280494874165248/164280495964815360 if anyones bored 😂
Where would you get clients that pay 2,5k though lol
Would join but on the train going home from work
oof
otherwise I would join
Safe trip!
What time is it where you are
Oof
I love how we went from questioning 2,5k for a website, over homophobia and a mute to hiring Afonso lmao
LMAO
What a journey 😂
Welcome to #dev-general ✨
Do any of you know a little about Blockbench? I'm trying to put in a custom model into minecraft but for some reason my custom models texture isn't appearing only the model and the textures on my model in game are just the missing textures texture
🤨
До слободы доеду?
нет
im jelous i get $4/h
where u work by any chance? 🥺
damn i shud start making website on my own ig 😭 than geting employed
i get $150 per website -.-
for both of wordpress and fully costumn
huh
what
ok i see
guy just dont know how to say swear various badwords to such proposals xD
okay, i gues thanks for advice. I know both, just dont bring it to the table.
hmm
busines dont need someone who makes website, they need someone who doesnt cause problems with website, and someone who can contact if snibby snap apens and get it fixed in 5minutes or so no mater how
so the same person must know: costumer support (they need to understand, ask required questions, fix folowing problem in seconds), seo, sofware enginering, coding knowledge.
what you shud expect from costumer:
in nutshell: he has 2 hours to get website up before his busines opening
What costumer expects you to say: "I will do this in hour" "I finished"
anyone got any ideas on how to diagnose why my disk read speeds are like 400KB/s on an openvz vps
host says nothing wrong on their end, but I can't just download everything important and reset the vps because of the slow speed
i feel like there are very few cases where a disk that slow is your fault
i cant think of anything that isnt the hosts fault
ask the host if they can assist you in copying the data off your drive
will give that a go
Omg the phoenix super manager


what in the fk
any ideas what could be wrong?
chatgpt not useful
(I have no fking idea tf he is on about)
Says it can't find java 17
Cannot find a Java installation on your machine matching this tasks requirements
Aka skill issue
Also lmao wtf is that answer
yeah my exact question lmao
hella weird, other projects with java are compiling
lol
and java home variable is set
chatgpt not useful
why would it be..?
it's literally a bullshit generator
it's your phone's keyboard "next word" suggestions but on steroids
Also ChatGPT is probably the worst ai for generating code lol
The best I’ve used is Copilot but it’s shit tbh too
Only good for doing some trivial tasks here and there
Wanted it to read one of two sentences to you
Defo https://cursor.com all the way, I cancelled my Copilot subscription. Cursor uses any model you pick, e.g. Claude etc, but it’s actually good
well, doesn't it also require a claude subscription if you do use it?
so you technically require 2 subscriptions
but yeah, I have heard a ton of good stuff about cursor
No
I just pay for cursor and that’s it ($20/mo)
oh actually!?
so only need that?
Yes
do they have a jetbrains plugin?
No
i'm always incredibly sceptical of apps where it's just a fancy frontend around an existing model
its been 9 hours so hopefully u figured it out but if not, try running gradle with java 17
alternatively iirc theres a gradle property that you can set to tell it about additional toolchains like ones installed by ij
Definitely agree when it’s a random company, but Cursor is so known and it’s genuinely really cool what it can do
i HATE hate HATE when gradle is slow and stupid and takes ages to see that the dependencies changed
have you tried pressing the button in intellij that reloads it the second you change the build.gradle
Yep
Invalidate caches + restart, restart laptop
All it takes is for me to walk away like 20 minutes and it will have woken up
that's really weird, mine is always basically instant
never had any problems with out of date gradle stuff
I've had that issue on two laptops I've developed on
What's weirder is that even typing gibberish in the build.gradle, and refreshing, it doesn't complain
It's just like
"hmm, looks about right 👍" and goes on with its day
what operating system are we talking here
Both Windows and MacOS
ssd?
about 30% of the time for me gradle is a bitch but that's often because it's a large project, paperweight moment or i shut down intellij while it was doing something
huh yeah weird, gradle is pretty rock solid for me tbh
This project has two classes 😭
just normal windows + ssd and everything
sounds about right 👍 I can totally find those dependencies
if you do it from cli does it work?
cli?
what lol
I've never used gradle in the terminal
or I mean, the IDE terminal yes
What command am I meant to run though
./gradlew build or something
Ahh there you go there is an error now
Something about my JVM being on 17 instead of 21
magically it worked
Well thank you haha
yea don't be afraid to use the cli lol
that's really what IJ calls just in the background
Which if you're keen at looking at certain logging in the IDE you'll actually see the commands it's running
hello any support online?
how to config gsit stop siting in players ;-;
Just ask your question my friend - no need to ask to ask.
I need to be unbanned from an account that I was banned from but now I am unbanned only that they didn't unban me because they had hacked my discord and made spam but I got it back. (786271962065272864)
Looking for discord support?
HelpChat is a Minecraft plugin and development support server and is not affiliated with discord in any way.
If you require support from discord, we recommend you to visit their official support website at https://support.discord.com
On this website, you can read their FAQs, or open a support ticket if necessary.
Ah, HelpChat isn't Discord support.
Made this mobile design for a app to track golf putts, not exactly in love with the colors and the slider looks funny, what do you think? (the functionality will be explained to the user elsewhere) (should this go in #off-topic?)
I am muted in helpchat not in discord
therefore I require a support admin mod to unmute me
You guys recon if I have some form of currency on my server, that if it is physical I should write an anti-dupe system?
yes.
is that a real question
Do players withdraw the currency as an item, or is it always an item?
Because for withdrawal I would assign a serial to each item and keep a track for the active and redeemed items
yup
Yeah, it patches the vanilla bugs, but not those caused by plugins. I remember once someone duplicated some items because a plugin didn't cancel all inventory movements, and players could put items in their off-hand.
Yeah that's exactly what I was thinking, assigning a UUID to each item stack that is generated
Yeah well thats how I do it with my voucher module
You create an item, assign a pdc value with a generated UUID and save the same UUID (and other related voucher data, such as type) in the database. Even if the players somehow managed to dupe the voucher item, the database is checked if its valid and not redeemed.
anyone knows the name of that one config library that starts with D and ends with Conf?
Kotlinx serialization
YES, that is it
Will check it out
Configurate
Looking for Minecraft Model Artists. DM me portfolios.
uh sorry
do you guys know if its possible to alter textures/texturepacks while the server is running?
Im trying to change the appearance of the moon
🗿
no
well yea
but players need to rejoin iirc
Maybe a cheesy workaround?
you need to just send a new resourcepack to the players
Player does not need to rejoin, you can change the resource pack at any time
they just need to reload textures
It reloads automatically
You can send a packet I believe to force download it again
Pretty sure Paper has API for it
yes
No way, really
Player#sendResourcePacks part of adventure
Yeah you can do it per player
WIl it show like the red loading screen?
Yeah
Is their a workaround for this
Probably not
Im guessing not right
Not without any client side mod at least
Uh wdym?
Uhh i mean like could you use like how optifine and stuf runs so trough the launcher yk?
wait is this java?
javascript
a makes sense
It's as simple as possible, you just define a kotlin data class hierarchy and it will create it from whatever format with beautiful error messages
No annotations? Wow wow
nah who needs annotations
@pastel imp Imagine not doing
screenManager += Screen(..).apply {
addComponent(...)
}
😔
Or even better
screenManager.screen(...) {
component(...)
}
wait wut does apply do?
also +=???
what in the world
was updating it to be smt like this
but guess there is even better lol
Kotlin allows you to use operators, for example operator fun get(key: String) and then be used as something[key] or operator fun plus(other: Int) then something + other
As for apply it's a built in function that takes the variable as this so for example
val variable = ...
variable.something(..)
variable.something(..)
// rewritten as
variable.apply {
something(..)
something(..)
}
Would be much more clean as
screen(instance, player) {
size = Size(..)
center = Pos(..)
}
Basically just
fun screen(instance: Instance, player: Player, block: Screen.() -> Unit) {
Screen(instance, player).apply(block)
}
average kotlin magic
but yeah pretty much lambdas can have receivers so they're pretty much methods
hella cleaner, now time to add components, just gotta figure out how... 1s...
Screen.of 
Also incase you didn't know, when adding to a list you can do list += value instead of list.add(value)
what else am I supposed to do :-:
screen(instance, player) as a top level function
yeah, was just looking if I could make it be smt like
screenManager += Screen.of(instance, player) {
size = Size(10.0, 10.0)
center = Pos(0.0, 44.0, 2.0)
components {
component...
component...
}
}
You can yes
I see, rn I am returning a PlayerScreen (might have other use cases besides just player in the future, idk)
idk if this is the best of doing it ^^
First time actually trying to do a proper library lol
do I need to create another class for this? I'd assume
lmao did you just do that in like 5mins lol
Yeah :')
It's just an access modifier
public - available everywhere
internal - only available for current module
protected - only available for inheritance
private - only available for current class
I see, also, does putting a function outside of the class make it work like a static method?
or do I need a companion object for that?
either way, thank you for showing me this. Will probably use it a ton lol
probably gonna repeat the same thing for components themselves since they can be quite complex
I love dumb Kotlin magic RAAAA
yes
companion objects are just if you want the A.b namespacing syntax
eh unsure which I prefer tbh
normal functions are generally more idiomatic fwiw
@pastel imp u should be original and make a font & shader based UI lib
I feel like += doesn't make sense for that
Holdon Afonso using Kotlin?
Or was that another guy disliking Kotlin every time it came up?
i mean, you're adding a Screen to the ScreenManager, makes sense to me
@wooden dune It looks very solid to me! Love the kotlinx.serialization stuff. My only real recommendation would be to maybe look into a command framework? Looking at your two command files, so much is just validation and getting the raw string in the right format. I personally love https://github.com/Revxrsal/Lamp, as it makes this kind of command stuff as simple as it could possibly be.
Thanks!!
I have 0 experience with shaders lol, this isn't supposed to be original, what larkyy is doing has been done 200x too lol.
I was indeed a kotlin hater but at one point I thought "hell, I can't hate something if I never tried it" and here I am
Gotta say Matt, larkyy, brister and others have helped me in the transition a lot
Kotlin users rise up
it's all the Java I spent years learning, just so much nicer
I only wish there were more things to use it for, kinda sadge to have to go back to like TypeScript for frontend and like Laravel/Django for a mature backend
Why does no one make a way to use kotlin for front end xD
I mean you just can't unless you use WASM, but that has a lot of downsides right now
Like, you write it in kotlin and it compiles to html or whatever
oh I mean that literally exists lol, kotlinx.html or whatever
Oh lol
just doesn't really compare to like React or Vue in any reasonable metrics
Normal
Just use React or Vue in Kotlin :^)
I mean, no one has lost the time to do it yet.
haha, yeah when is someone going to write the Vue template parser but for kotlin
my dreams come true 😍
React has one I think, vue would be interesting
Do it
Xd
I mean to be fair, the best part of Vue is that the templates are fully valid XML, so like theoretically you should be able to just use that with custom attributes in kotlinx.html
but also a lot of the niceties come from the compiler and doing it that way forces you to bundle the compiler and have the browser render/compile stuff on the fly
Plus you still have to use like vite to bundle your JS 😭
You can, my docs website is written entirely in Kotlin :)
The frontend aswell? With compose?
with kotlinx.html iirc
Compose currently only works with WASM
Nope
like a serverside templating language
You can even do the css in Kotlin but I thought that was a bit much
somebody rewrite that java graph database in kotlin right this instant
might have to add "pages"/tabs
cause switching between 2 menus (screens) could be hella funky
That was always the goal of Kotlin, multiplatform with the same codebase
so better have a single screen that can display several menus/tabs
Also forgot to say, make the functions that have functions as parameters inline
Aka inline fun screen instead of just fun screen
what does that do?
screenManager += screen(instance, player) {
size = Size(10.0, 10.0)
center = Pos(0.0, 44.0, 2.0)
tabs {
tab("tab-1") {
components {
component(Component(instance, Pos(0.0, 42.0, 0.0), 10, 10))
component(Component(instance, Pos(0.0, 42.0, 0.0), 10, 10))
}
}
}
}
does this look decent?
It inlines the content instead of executing it, let me give you an example:
fun test(block: () -> Unit)
println("hi")
test {
println("there")
}
This would turn into something like
val block: Function1 = ...
println("hi")
block.invoke() // prints there
While if you have
inline fun test(block: () -> Unit)
println("hi")
test {
println("there")
}
It'll turn into something like
println("hi")
println("there")
There is no function, it gets "inlined"
Yeah but it's two different types, like it wouldn't make sense to do screen += screenManager
yeah but it's like adding something to a bag, a ScreenManager manages... Screens. So adding a Screen for it to manage makes sense
same as adding a ball to a bag to hold it makes sense, sure they're two different things but they do different things as well lol
and like, in Java, it would likely just be screenManager.add(Screen), so like, this is just a cuter way of doing it
Idk it just doesn't look right to me
excuses excuses /j
Adding something to a collection is different than adding two things together
Think of it this way
var number = // number is 0
number += 1 // number is now 1
val list = mutableList<String>() // list index is 0
list += "Hi!" // list index is now 1
Same would apply to the screen manager
You're adding a screen to the manager
yeah like I was gonna say, a fair amount of langs just have the + operator add to collections
Python, Kotlin, C#, etc.
But using += changes the variable itself for number, while it mutates internal data for list
I think that would make more sense
But still feels weird idk
I mean that's literally what this is lol
I think you're just too Java/C-pilled to realize the possibilites out there
+= mutates the value, we're talking about a mutable list therefore it mutates the list, makes perfect sense to me
I use Kotlin
And you haven't used any of the operator overloading in the standard library collections?
I have
So what's the problem then lol
It just seems weird using += on two unrelated types
I'm not saying not to use it
I'm just saying it seems weird lol
I mean yeah I think you're just too used to Java/C
They aren't unrelated though List<String> += String or ScreenManager (Manager<Screen>) += Screen
What does screen += screenmanager do?
Nothing
It doesn't
What
what do you mean "what" lol
Ah you it was used the other way around sorry
you define binary operator overloads with a left-hand-side and a right-hand-side, and the types have to match
it doesn't have to be commutative like mathematics lol
Just functionally, what does it do
the correct one adds a Screen to be managed by a ScreenManager
re.
Then that makes sense
Depends on how you implement it, but for example screenManager += screen adds a screen to the manager
So it's literally like adding a screen to a list but the list is fancier and does more stuff
Yeah
that's the thought process yea
nah they just like the mathematical definition of these operators
I get what fisher is coming from, += feels like it's mutating the variable, but in this case it's the value
It just seems like it might not be clear for someone reading the code what it would do.
It's obvious that number += number would change the original number.
But list += element could mean list = new list consisting of list and the element
Whereas list.add(element) is much more obvious.
That's just off the top of my head, I just feel like it makes more sense to add related things together,
because adding to a collection is different than adding two collections together.
But that's just my opinion
I mean it's mutating the value either way, no?
I mean I think specifically, += has always meant that it mutates the value in place instead of cloning and changing
So that ambiguity doesn't really exist I think
Yeah
But yeah it's just a matter of following the convention of the standard library, where they already have those overloads for like every collection, so if you are used to kotlin, it makes a lot of intuitive sense
int1 += int2 doesn't set it to int2
list += list also works, the same way list has addAll, both still make sense to me
I get that it may be harder to read if you are coming from the perspective that the += operator only has a single function, but kotlin allows operator overloading, you should always look at it from a perpective that it can have a different behaviour than the most obvious
I'm not saying it doesn't "make sense", I'm just saying it feels weird
But I think this will lead to nowhere. No matter how much sense such things make, if somebody feels weird about it rationale won't change that :)
And to me list += element adding to the list is the most obvious behaviour
Maybe I'll change my mind at some point who knows
yeah it's just a matter of style and the fact that some langs have operator overloading and use it
I've probably used it before honestly because it's there
I just feel like it makes more intuitive sence to use it for related things, like position + position creates a new position
And collection + collection creates a new collection
I guess if I think about it as a shorthand for list += listOf(element) it makes sense
Imo that feels weirder than just adding the element
Adding two lists together?
Yes
bro really likes homogenous operators lol
I mean the method in our beloved java is literally called add
You add and element
- is addition
just my opinion aswell ¯_(ツ)_/¯
I am unsure what you have to do with what I do or do not tbh lol but ok
?
I decided to do it like X, I do not have any knowledge with shaders nor do I wanna lose time with it
that looks so illegal
kotlin will do everything except be normal
fair enough ig
What is "normal"?
is there a normal?
More boilerplate
Who in the world 100 years ago thought we would be clicking some random plastic, that would send a tiny signal to a piece of a bunch of metals layed out in a certain way that make 0s and 1s that then are able to calculate stuff, which then humans used to create new forms of languages, to be able to communicate with said hardware instead of 1s and 0s, that follow a certain format, and whatever
We need getters, we need setters, we need explicit separate constructors
oh yeah, and the chips on our smartphones are better than the ones that launched a man into space
how's that normal?
that sounds like magic in some way
not kotlin 😳
Okay so no answer, got it 👍🏼
Ngnl some operators are a bit confusing, but in some situations they work very great
E.g. BigInteger > BigInteger instead of BigInteger.isGreater(BigInteger) (idk if this exists, js)
You can use > on BigInteger in Kotlin, but not in Java
Those operators are always present if the class implements Comparable
And even if you couldn't you could just make it an extension operator function
#showcase message
@lime gate what is it?
It's something Mojang uses for testing, I suppose xD
if (payload instanceof DebugGameTestAddMarkerCustomPayload debugGameTestAddMarkerCustomPayload) {
this.client
.debugRenderer
.gameTestDebugRenderer
.addMarker(
debugGameTestAddMarkerCustomPayload.pos(),
debugGameTestAddMarkerCustomPayload.color(),
debugGameTestAddMarkerCustomPayload.text(),
debugGameTestAddMarkerCustomPayload.durationMs()
);
Are markers not entities?
You're confusing the empty entities called marker with this, which is completely different. This is just rendering a cube that allows setting color and alpha 🐱
Does anyone here know how to make fabric mods?
im getting deja vu
Mixin wee
anyone here had experience with android and google play console?
[DeluxeMenus] Option 'hide_attributes' of item 'jobs_forging_n' in menu 'JobsMainMenuSkillTree' is deprecated and will be removed in the future. Replace it with item_flags: [HIDE_ATTRIBUTES].
okay
sir, this is the shitposting channel
I would love to make plugins but java confuses me 😭
are you familiar with any other programming language?
you just have to do it more
watch tutorials on concepts you don't understand
ask in #development if you need help with something specific
Html
css and xml
json
i have 6 years experience in csv
i founded a company that has a csv backend
and an ini frontend
ngl scratch is underrated
Or you could just post the error and get a dozen of pair of eyes :)
don't ask to ask
So I'm looking at the test permission function in the command class and I'm wondering does that just check if they're op, or if they actually have the permission defined in the command itself
All the documentation says is that it tests the given command center to see if they can perform this command. If they do not have permission they will be informed that they cannot do this.
But it doesn't specify whether that permission check is op related or permission node related
Also, which executes first, Command#execute or CommandExecutor#onCommand
is there a mod/way to obtain the base64 (or something else) which allows me to get the head (and its look) just by having the item in my inventory? 🤔
The item's meta will be a SkullMeta which you can use to get the player profile, that has information about the texture etc
any mod you know of which allows me to see the skullmeta on the client? (if it's even possible)
Uh no idea, skull meta is a bukkit thing
ah k
I wanna get into writing plugins by hand with Java
Can anyone give me some pointers to get started by chance?
Like, what to download essentially
I know people use Intelji and stuff but uhh, I'm not totally up to date on what the best stuff is, so just looking for suggestions
intellij all the way, also recommend gradle. Several ways to learn java, but I will go to the don'ts, one of them being, do not rush the learning process. Learn java first. Then you can start messing with small stuff in bukkit, and then go higher.
Fair enough, thanks!
I’ve been using this program called Visual Bukkit for a while
So I learned about general stuff that way, when they updated to V6 it actually uses classes and methods and all so it was definitely a learning curve, but it helped me learn how it works a lil bit
is that like scratch but for bukkit? 💀
oh god
good.
You can start with java
and then join the kotlin club
(I fell in love with this sh@... I hate the fact matt has always been right... 😭 )
I need to make an extension for a plugin I’m using using it’s API and
I can import APIs into visual bukkit
Buuuuuut it’s gonna be more worth it to make it by hand
lmao
say that on minestom
theyll teach u abt the kotlin curve
yeye, they already spoke about it
I've heard a lot about minestom, is there really any benefit besides performance and hyper customization?
Seems like a lot of rework to reinvent the wheel, even if the new wheel is made out of titanium
(just asking, really don't know much about the benefits)
i mean at this point performance is the main concern for a lot of people
lmao
Basically gotta throw away all the stuff on the market and make it on your own
minecraft servers only being able to hold a bit over a hundred people is kinda sad
it be like that
It do be like that
minestom is meant for ultra custom gamemodes
that don't require almost anything from vanilla
it's when it is easier to implement what you need than to strip away everything you don't need.
Gotcha
performance comes as an extra in theory xD
There are some people reimplementing vanilla in minestom
or time to procrastinate one of the two
work in progress but yeah
That's pretty cool tbh
wonder if at the end the performance will be better or not
Is there any plugins that might be good for MC development in intelji?
just start low, there is no specific plugin for starts
kk
yeah defo
I seen this one called "Minecraft Development" but didn't know if it was something worth using
yeah that plugin is peak
although bad for starters
cause it removes a lot of the boilerplate regarding gradle
and setup
you should at least do that once
Gotchu
So I should be using Gradle as the build system?
Idk if that's what you meant like regarding gradle
Use Gradle or Maven but I’d choose gradle
They are both good Java build tools which you can use but I’d prefer Gradle for my own purposes
Though I don’t want to give you a biased view
Fair enough, I seen Maven might be better for beginners but yeah makes sense
I’d choose Gradle because it’s easier to change back to maven if you learned how it all works sorta
I'll give that a go 👍
Maven is more of a build configuration and Gradle is more of a build script
But of course maven can have scripts and stuff with plugins or whatever so use whichever you like
Alrighty sweet
Many hate what they don't understand
true
Looked into the "kotlin curve" that was mentioned, been using it for 5 years and it has not curved down 
Also found this comment really funny
No, Kotlin goes lower once you have a huge unmaintainable project on your hands
Like this wouldn't be the case in literally every language lol
I prefer to understand things first in order to hate more efficiently
Lol
after kezz
True but they also love it, it's a complicated relationship
😔
What if we use the same port for votifer and normal?
what
Like we usually need two ports to set up votifer what if we only use one?
how are you going to do that
You don't need two ports for Votifier - just one.
Then why do people say min two ports on tutorials
What difference does it make
Oh, you need a separate port from your connection/join (primary) port.
What if we don't provide? If we use the same port
You need another port - most hosts offer additional ports for free.
I mean what's the need of the additional port?
For Votifier lol - it's how the server knows that the message being sent is for Votifier.
well it's like having one door vs two doors.
when players connect to the server, they use 25565 "door", when someone votes for your server, they use the <another-port> "door"
if you have the same port for both, how could you differentiate between a player join and a vote?
@lime gate imo u should get rid of the translucent background
i'm not sure what you'd replace it with but it just doesn't look good right now. i like the overall project just that one specific detail isn't very pretty imo 😭
It's hard for me to get rid of it because that translucent background is what started the whole idea, and also because I have no idea what to replace it with 🥲
#showcase message I still cease to understand how people do the cutscenes and particularly the ‘typing animation’ on the dialogues 
Anyone able to enlighten me? I’ve seen it several times
custom resourcepack
you can create a font and then set the elements up down left right
and send those elements in action bar
Yeah, I know it’s a resource pack.
I’m more interested in the technicality. I guess it’s just a custom plugin that handles the action bar etc
yea so for example you make a few copies of a font at different y values (or u can use new lines but I'm speaking generally here) and then just position them appropriately by moving them left or right
same thing for elements
can't you use negative spaces?
people have created fonts that let you create negative spaces which move the cursor back and forward, allowing for very good lateral sprite movements
for up and down
no
so only left and right?
up and down has to be hard coded or use the /n character (which is only down)
I see
I recall there was a way to not use action bars and use the "tooltip" action bar
aka when you switch items in hotbar, it displays their name there
I recall you could send a packet and display that there too
OR shaders
so it would be above action bars
yea you can use boss bar or title or scoreboard
or chat
ah ok
boss bar is usually the best option tho
cause it doesn't break with multiple plugins
still have to choose which one I will use on a game I am doing in minestom
but oh welp
first things first, gotta finish the UI library
xD
it depends on the anchor points
boss bar is anchored higher, action bar is lower
shaders allow custom anchoring tho which is cool
I used that for my vanilla armorhud plugin
I have never used shaders so, not gonna mess with them
plus, mojang gonna add actual supported tools to replace shaders
so, will wait for those
I like how they're leaning into community dev tools
they're finally recognizing the people who make their game fun
For java yea (bedrock modding is becoming worse tho, but f bedrock java is superior)
They are doing that for years now
yes I should have acknowledged that
I edited the plugin's codes, but: com.example:MotionVector.jar 1.0 is missing,com.example:MoverType.jar 1.0 is missing, com.example:KeyBind.jar 1.0 is missing
Can someone help me, please?
Even if I add it as dependency to pom.xml it doesn't work.
Outage still ongoing? It isn't
tell AI how to cure cancer
then give it 64 tries and 90% of the time itll cure cancer at least once
"ai will take our jobs"
Anybody know java well enough to add database configs to an existing plugin?
what are "database configs"
Database with configs or configs with databases, cant tell
spring challenge 2023 
one plugin of mine, has changed .classes to be a folder, hence i cannot preview it, any ideas how to achieve it?
What decompiler have you used?
fernflower, enigma, jd-gui
when i do jar -tf <file.jar>
i see the all .class being f.e "Main.class/"
with d----
being a directory
i need to revert it
do you have any idea how to?
Hi there, I would like to ask how can I "force" Jitpack to use Maven 3+ instead of Maven 2 when it comes to compiling my plugins ?
On Github and on Intellij, it seems I'm already on Maven 3.9.5. But what about on the workflow/pom.xml ? (POM use maven-shade-plugin 3.6.0 and ùaven-compiler-plugin 3.13.0)
On the workflows files, I use ubuntu-latest.
Thanks in advance, hope I'm not too confusing ^^
Did maven central remove a lot of packages by any chance?
Hi
hi hello hey
Hello
hi
What's up
So as I understand: having maven2/ in the logs is not a problem. But, at the start, Jitpack uses Maven 3.6.1
I tried forcing the use of 3.6.3 with a jitpack.yml file at the root of the project, it stills use 3.6.1 upon building.
I might not understand everything, Thanks for answering !
I'd really consider if you need .3 or if .1 will work for you, but https://github.com/takari/maven-wrapper is an example repo for that precise version of maven and jitpack.
I need .3 'cause some of the plugins throws me an error with .1 such as maven not compiling. So I downgraded some maven compiler/plugin/wrapper etc... But in the end I got back the first problem: "version 56 instead or 61" or something like that when packaging.
I'll check on the link
Ok, it worked perfectly ! Many thanks !
@heady grove I know it's hard to trust anyone online. But that doesn't mean you will say whatever you want to.
Anyway I have made it myself with HTML CSS and JavaScript.
Structure of the web is made with HTML all the design is done with CSS and JS is used in the hero section also when changing the theme and when you scroll.
It's quite funny looking at budgets of #1279692880973140020
It's quite funny looking at #1279692879492812810
Good evening, a quick question: what happens to entities in Minecraft when a chunk gets unloaded? I'm asking because I recently started working with entities, and now I'm at a point where I'm tracking certain "CustomEntity's". For this, I've been using custom events alongside events like CreatureSpawnEvent, DeathEntityEvent, and others. However, a doubt arose when I was testing and moved away from the chunks where these custom entities are located, and for some reason, they stopped behaving as they were supposed to.
and sorry, I got the wrong channel.
if I am not mistaken, if they are persistent, they get stored, on unload they get despawned and on load if they are persistent, they get spawned again.
If I am not mistaken, you can't simply store the entity in a variable
I understand, and yes, I already struggled a lot with storing entities in variables, but I managed to keep entities persistent by using other parameters, such as saving what I need from the entity and also using its own persistentData to store what I need and track the entity. If entities are saved when the chunk is unloaded, that will be really useful. I guess I'll need to check the ChunkUnloadEvent to get the information I need.
Is it worth my time to redo 1300+ lines in the messages.properties file of essentialsx
Probably not
Would anyone know why my /stack isnt working? when you do the command itll stack the items but if you try to shift click into a chest they immediately unstack. i know manually placing them in a chest breaks but shift clicking always worked. Any reasons?
Nope not really, plenty of templates exist online (I’m sure some are free, if not like $2)
Plus I’ve tried that route before and well, there’s tons of useless messages and commands
My rule of thumb for essentials messages is just change the most common messages
Fly, god, homes, etc
That's a death sentence
What is a lightweight command library that has support for flags (--test:value, -t:value or a similar format)? Ideally I should be able to suggest the flags based on an argument of that command.
For example /command first will have the flags --name --location, but /command second will have only --name
Edit: I'll try cloud
aikar might have some stuff for that
ik a dev on a server i worked on loved it a lot https://github.com/aikar/commands
Lamp
yeah Cloud or Lamp
i've fallen in love with Cloud recently for it's annotation syntax
That's Cloud computing for ya, it's got you all misty-eyed!
TRUE
how do i change "c418 - music name" via texture pack ona zip?
Can i get around Caused by: java.lang.IncompatibleClassChangeError: Found class org.bukkit.block.banner.PatternType, but interface was expected on paper 1.20.4? In spigot-api 1.21.1 it is an interface, but in paper 1.20.4 it is still an enum 😦
welp, reflections will do it
if (PatternType::class.java.isInterface) {
return name()
}
return PatternType::class.java.getMethod("name").invoke(this) as String```
Doesnt triumph have that
It does have named arguments. I am not sure about suggesting the arguments though.
you could have two classes compiled against each api if u want to avoid nasty reflection
then u gotta deal with nasty build configurations and nasty version checking tho
toString() works fine actually, the name is all I need
yeah I know, but it is for a plugin that creates configs for other plugins
and they use the name
Has any of you guys figured out how to disable the automatic creation of the test submodule for gradle projects in IntelliJ?
It's very annoying as it's not applicable for minecraft plugins (at least to me)
Idk, I normally just create a folder copy a build.gradle.kts into it the incude it on settings.gradle.kts and then after create the src/main/java folder on my own
is there a list with all the entity ai goals on spigot javadocs? cause i cant find the ai goals
I don't think spigot has api for ai goal
declaration: package: com.destroystokyo.paper.entity.ai, enum: GoalType
womp womp :/
Does anyone have free resources on modrinth and make some money from the ads system? If so, how popular are they and how much $$?
I only have a single plugin that isn't also that much of a need so it doesn't get that much trafic but yeah
the spike in the revenue is because of the new ad system
cool, thanks!
Also, those dates are a bit wrong, I posted this about 6 months ago.
And it's all fully organic too.
yeah thats like.. nothing
24 cents from 2 years 🥲
Goals
yeah ik, it's not a plugin that will get many views lol
It's a very specific use case, not many will be interested in it.
I think the KotlinForForge guy posted how much they made, lemme see if I can find
One version had 1.1M downloads ☠️
btw this is unrelated but howd you make the logo?
or get
ooooo nice
which do yall prefer and why?
.stream()
.map(x -> {
if(someCondition) {
return someValidObject;
}
return null;
})
.filter(Objects:nonNull)
or
.stream()
.map(x -> {
if(someCondition) {
return Optional.of(someValidObject);
}
return Optional.empty();
})
.filter(Optional::isPresent)
.map(Optional::get)
.map {
if (condition) it else null
}.filterNotNull()```
Imagine not using
.mapNotNull {
if (condition) it else null
}
.mapNotNull {
it.takeIf { condition }
}
😏
So true
mmm kotlin
🤮 kotlin (im about to get pelted)
Nah, you can hate on it, it's your loss 
in terms of looks, this
.stream()
.flatMap(x -> {
if (someCondition) {
return Stream.of(someValidObject);
}
else Stream.empty();
})
```because it shows that each value is maps to a single value or no value
also ignore that i used else as a return
doesn’t Optional make that much clearer
single value / no value
that’s true
you coudl replace
.filter(Optional::isPresent)
.map(Optional::get)
```with
```java
.flatMap(Optional::stream)
```ig
kinda cute
ur very cute sparky
.stream()
.mapMulti((x, c) -> {
if(someCondition) {
c.accept(x);
}
})
🤓
sorry my heart is reserved for roy my beloved
Whoa since when was that a thing
what the fuck 😭
yeah that's wild lol
what does the collection look like, a map?
Java 16
it's similar to flatMap but doesn't require a stream
Bi 🏳️🌈 Consumer
iconic
I like to sleep
oversleeping/sleeping through the day is a sign of depression
well not always
i sometimes sleep up to 14 hours throughout the day cause i like nights
bro instantly invalidates their own point lmao
Nice, i know what I must fix now
no i didnt
For people who live with bipolar disorder, depression and oversleeping go hand in hand. The cause and effect go in both directions. Depression often leads to sleeping more and to a delayed sleep pattern (staying up later and sleeping later); sleeping longer and later can cause or worsen depression. Fortunately, the downward cycle of depression a...
im just not the standard
ah lmao
Looking for a dev add me up
Someone still alive? 😳
Yo!
Yeah I'm not around as much (PC atleast) but still constantly here lol
What you been up to
Bump
Working everyday. Wbu?
Working on commissions, started streaming again :>
Nice
I have no thoughts on this matter
I need help to handle some jobs if anyone is located in the same time zones. USA, UK, Canada, Australia, New Zealand, and Argentina.
"in the same time zones"
UK
Australia
they are quite close, to be fair
Yup, on the same planet
hi, question, to make the Witch entity have custom potion effects, would I have to use NMS and NBT?
researching I got to this, but I don't have how to pass the tag to the nmsCraftItemStack, since it returns tags : Stream<TagKey<Item>>.
val randomPotion = Utils.createItemStack(Material.SPLASH_POTION, 1, false, difficulty)
val potionMeta = randomPotion.itemMeta as PotionMeta
val tag = CompoundTag()
val listTag = ListTag()
val customEffects = potionMeta.customEffects.first()
val poisonEffect = CompoundTag()
poisonEffect.putString("id", "minecraft:poison")
poisonEffect.putInt("Amplifier", customEffects.amplifier)
poisonEffect.putInt("Duration", customEffects.duration)
listTag.add(poisonEffect)
tag.put("CustomPotionEffects", listTag)
val nmsItemStack = CraftItemStack.asNMSCopy(randomPotion)
I have a question, why can't I send video clips or pictures on DM after the update? Plus calls are muted sometimes I can't hear it or sometimes they can't hear me?
Looking for discord support?
HelpChat is a Minecraft plugin and development support server and is not affiliated with discord in any way.
If you require support from discord, we recommend you to visit their official support website at https://support.discord.com
On this website, you can read their FAQs, or open a support ticket if necessary.
@obsidian island
installed java 23 and i'm getting segfaults... in java.. :misery:
i got that like 3 days ago
everything worked fine besides my one server that has 8gb of ram allocated to it
it ended up being because i had errors in my ram
changed the stick and was fine
when running minecraft/paper?
i just changed to java 21 and hoping it works
yes
can you share the hs_err file?
yea, in class right now but i will later
are you running it on linux?
ur pc or hosted hardware?
that's weird lol, been using java 21 for months and it's been superb
well yeah idk why it would do that lol
just saying i've been using a newer java version than most and it's been good
so dunno what's up with 23 or what they let slide
my mac
mac
i migrated my data from my old mac pro
and this one is m1
i installed java 23 for arm64 and it started crashing :>
is it safe to post all of it?
not sure, it theoretically might contain sensitive data
did it crash there multiple times?
it crashed after 5-40 seconds after server startup like maybe 5 times?
i switched to 21 but haven't tested it
The only Java 23 crash I'm aware atm in the context of minecraft is https://github.com/async-profiler/async-profiler/issues/923 but that looks different
yeah that looks like a mac specific issue
it faults on _platform_strcmp
what distribution are you using? i didn't see any specific one in the screenshot, but it might be worth like trying the Adoptium AArch64 one?
I need help to handle some jobs if anyone is located in the same time zones. USA, UK, Canada, Australia, New Zealand, and Argentina.
im in a us timezone but im not in us
12:46pm for me
dm me the jobs needed?
Just for reference
Any web dev here who's familiar with front end? I need a question answered ASAP please
whats the question
It's related to design, made a design for navbar but I'm not sure what should I do for the hover/active effect on that thing in the actual code.
mainly this curve
@cerulean ibex you here?
im here but i couldnt rly give u any advice
but now that uve said what ur question maybe someone who has a better answer than me can help u
Oh ok thanks!
How to make a skript that doesnt allow any commands exept /afk and /login (password and /register (passowrd) and /spawn ?
Ew, cracked server detected
- skript
How to prevent sugar cane from dropping?
I have a loop that iterates to y 255 and then replaces cane above the broken cane with air, but sugar cane somehow still drops...?
If I don't replace it with air, nothing happens no cane drops and it doesn't get replaced, so the code definitely replaces it with air.
well if you bothered to look for the solution online its one google search away
regardless, listen to block break event
if its a sugarcane, cancel it, then recursively loop, checking if the above block is a sugarcane, terminate otherwise, collect the locations, for each of them set block to air, starting from the top.
Yeah you probably have to start at the top if dropping happens instantly
commiting sins
🥴
that's why we can't have nice things
constructors: exist
Does anyone know of a free chunk collector plugin that works or from /ware
🤔
you mean multi-module?
Hi everyone, i am currently offering a free website design service with the aim of building my brand and portfolio for future clients and company projects.
By offering my service for free, i would be expecting your positive feedback abut my skills as this will help me on the long run.
If you are open to give me a feedback by getting my free service, kindly reach out today.
Yes
well, it kinda is but it's not
erm actually its multi project
well imo if it's a codebase that revolves around the same idea and builds into one final jar via different modules, it's a multi-module
if you have different unrelated projects it's a multi project, for ex. in intellij you can link multiple gradle projects.
Gradle calls it all projects, so it is multi-project 
IDEA calls it modules, so it's multi-module 🤓 ☝️
But you're using gradle to set it up and gradle to build therefore you go with gradle 
let's call it workspace
"intellijs wrong so im right"
Lol I mean, some subprojects are independent lol
I have a minestom plugin system and I want each subproject to be a plugin
But should be fine, matt already supplied me with good guidances
Will take a look at it today
victim.teleportAsync(domain.getCorner2());
victim.setNoDamageTicks(0);```
im getting an unexpected thing when i teleport the player
then the player having invulnability for like
5 seconds
i have tried to use Player#setNoDamageTicks to 0 but that doesnt work
can anyone help please ?
this is genius
I need to get my server onto something like this
i feel like at that point just make a script that compiles multiple projects, unless im missing the point
Hmm I could ngl
But it's more so it's easier for new devs to adapt to the system
So more devs will be willing to join
I mean i dont really see the point of compiling multiple standalone plugins at once
other than convience
i would argue its just complexity
if you have like mega dependency chain with plugins, then sure
but if u dont then i dont see point
You can still do them individually, and it'll compile dependents if any.
Setup can be a tad complex for unfamiliar gradle users, but once you know what you're doing it's kinda cookie-cutter
pre-compiled scripts and the dependency-catalog make things significantly easier to provide to your projects as well
voteparty i need help with this plugin
Explain
Legit just this
well ive uploaded the .jar on my plugins folder, restarted the server multiple times, and it doesnt create its folder , which means isnt installed
do YOU have any ERRORS in the SERVER LOG during startup?
Download any known dependencies check version and give us errors
what are the dependencies? may i have a link please?
none, it just doesnt make a folder, ive just uploaded the voteparty.jar, and nothing happened
restarted multiple times etc
It's likely listed on the spigot page I am not familiar enough with the plugin yo have them memorized
okay will check it out, thanks
ive checked cant find a solution
( also there are fake people who send invites with "ticket tool" to "help" people in order to scam them, be aware )
is there a way to change the movement speed while floating?
I tried using velocity from a PlayerMoveEvent but it didn't worked well
if (velocity.getX() > 0) {
velocity.setX(velocity.getX() * 2);
}
if (velocity.getZ() > 0) {
velocity.setZ(velocity.getZ() * 2);
}
player.setVelocity(velocity);
heyo question, does anyone know a plugin which allows you to craft custom recipes, and disable vanilla recipes? i really can't find anythingh half-decent, customcrafting is broken on 1.21
so?
https://github.com/PaperMC/paperweight-test-plugin/blob/master/build.gradle.kts
specifically the plugins section
plugins {
`java-library`
id("io.papermc.paperweight.userdev") version "1.7.3"
id("xyz.jpenilla.run-paper") version "2.3.1" // Adds runServer and runMojangMappedServer tasks for testing
id("xyz.jpenilla.resource-factory-bukkit-convention") version "1.2.0" // Generates plugin.yml based on the Gradle config
}
half of that is not needed
you just need run-paper, resource-factory nor userdev aren't needed to run a server from a task
well, I assumed it was obvious that you only need a plugin called "...run-paper"
tho overkill from my part
so any help with my situation? ive uploaded the .jar file on my plugins folder, restarted the server and its not creating its own folder so its not installed
is this another miranda situation