#dev-general
1 messages · Page 627 of 1
remember the time when you dont have pink or whatever colour name
not only you have terrible memory, discord has a terrible memory too
I crashed my discord reminiscing your past messages it says no history because discord has goldfish memory
powered by electron technology
aka powered in ampre with 0 ghz cpu
😭
?
me too. and it hurts

Hello. I have a question about deluxemenus. Is there a way to set if a players click an item in a menu it will execute a random command from wich i set? So for example if i set left_click_command_random: - eco take %Player% 100 - eco give %Player% 100 - ban %Player% it will execute 1 of them? I know there is the chance system but if i put 4 commands with a chance of 25% each it could execute all 4 of them or none at all ... If there is no such method could it be implemented? Thank you
good ol time
no that is the proof that we all got old
that's my first message in this discord
im counter testing your testing of the testing of your testing
??? ? ??
as intended
how
because of the photosynthesis of the heat equilibrium
Is PAPI safe to plugman reload? 🤔
though?
if you do things properly
Does PAPI check for updates on cloud downloaded expansions?
yes
I’m surprised y’all still haven’t banned me yet
why would you be banned?
Because I should be
why?
Hi raymond
no that's not raymond
blitz
if i want to create a weapon that shoots bullets, is the best way to summon a projectile like a snowball that's invisible with insane velocity, or to do a raycast?
that's me
👍
blitz? smart?
🇾
🇸
no*
yesn't*
Online GDB is online ide with compiler and debugger for C/C++. Code, Compiler, Run, Debug Share code nippets.
blitz
ah yes it is fucking wonderful when gradle doesnt want to work
fucking
wonderful
😢
there is actually no fucking wrapper
what has fucking happened
bruh gradle doesnt actually exist
pretty sure it does exist
:^)
likelyhood ChatChat gets Velocity support?
saw a bungee branch not sure if its aimed for both tho
why doesnt it work tho aaaaa
I dont want to stop doing stupid weird dev stuff
at least mc launches
but gradle doesnt work
Yo guys, anyone good with certbot and apache here?
yeah because minecraft ships its own jre
change your path environment variable and replace the one pointing to wherever java 8 is to whichever other you want to use
given that I can't see what "crazy" means for you, good luck lol
I mean that it doesnt recognize it
wait it does work now
I'm fucking stupid then
Do java have some method some can solve "Unchecked cast"? right now you need to iterate thru the list or map to remove that "error" (check every value). I mean when you know it should only be that class inside the list (not when you make a map/list and not set class´s).
Well it’s an unchecked cast because the compiler can’t prove it. If you know that it’s correct, you can suppress the warning
yeah i know, but should be nice if java have some nice way to solve it 🙂
I made own method for it, to test if that could solve it (also to learn new things, like play with generic types (I´m not so good on that)).
public static <k, v> Map<k, v> castMap(Map<?, ?> map, Class<k> keyClazz, Class<v> valueClazz) {
Map<k, v> convertMap = new LinkedHashMap<>();
for (Map.Entry<?, ?> entry : map.entrySet()) {
Object key = entry.getKey();
Object value = entry.getValue();
if (keyClazz.isInstance(key) && valueClazz.isInstance(value)) {
convertMap.put(keyClazz.cast(key), valueClazz.cast(value));
}
}
return convertMap;
}
Well there’s no way to always guarantee its correctness if the compiler can’t guarantee it
You basically need to rely on the source of the map providing the data you expect
yeah seams like I have to do like that or check all values in the map, to make sure is right class self. Could be nice if java could have that already build in (but seams you need code it self then).
As I said, there’s no way to guarantee correctness here with code generally
For example an empty map or a map that only contains null values might give unexpected results
So your check is only a best effort approach
yeah i know 🙂 I only say it could be nice if java already had build in converter (tell what class it should be and it do the checks for you) 🙂
Yeah such thing does not exist because it can‘t exist
yeah its aimed for both but no one's working on that. We actually want to support velocity more than bungee. Just no time for even getting started on that.
yes that's me.
well that branch is not aimed for both. But we plan on having support for both.
If anybody is looking for a job
i have 1 million karma. please hire me
"Senior"
"Experience Level: Junior"
?
Every company ever
usually the other way around
yea
that's why I started practicing since the age of 2. So when I turn 22 I can say I have the 20 years of experience they require for the junior post.
If it's 20 years for a junior post
how many years for a senior post 👀 👀
all the years
42069
You need to have past life experiences
I went through so much pain https://github.com/netty/netty/blob/4.1/example/src/main/java/io/netty/example/http/file/HttpStaticFileServerHandler.java -> https://github.com/MinecraftMediaLibrary/EzMediaCore/blob/master/main/src/test/java/io/github/pulsebeat02/ezmediacore/server/HttpServletHandler.java
idk you tell me
In this video, we go in depth as to what my rankings are for the most useful (and useless) programming languages.
based???
APL 🤢
@stone summit
oh
wtf
sorry
why does it ping even if u dont do it
shittest feature ever
wheres the real johnny gone
Dont do what
hey started using IJ and somehow I can't seem to figure out how to change API library (maven)
am a beginner also.. so dont know much in general :p
ah good
now that I fucked up my java I have to re set the executor
I dont want that freaky penguin on the logos
- Good understanding of Java and the Spigot/Paper API (we don't want kotlin)
💀 I'm curious as to why they don't allow kotlin lol
why are you asking such obvious questions
probably for maintainability reasons
hello piggy
greet
do you come from the land down under?
I come from the land up over
yes and there's consistent and frequent consumption of vegemite sandwiches
very nice
anyone have luck translating hex color codes into an Action Bar? I can't get it to work, I am currently using https://www.spigotmc.org/threads/detect-hex-colors-and-apply-them.448771/ to try to format it.
just use adventure
thanks
Cuz kotlin is caca
Do you happen to know any Plugin that creates leaderboards from a placeholder? I'm looking for a lightweight plugin which creates leaderboard from placeholder that doesn't use a lot of resources. Currently uses ajleaderboards but having huge amount of lag. Already optimized the plugin
ajleaderboards is honestly your best option- the only thing better than that is if the plugin you want a leaderboard for has native placeholders.
Already optimized the plugin and reached support as well with AJ. Do you have any tips to lessen lag?
how many leaderboards do you have?
actually there are almost 20 of them
Well- try reducing the amount
Anyone here know of a way I could use git to sync configs between a dev and prod server?
Would this be doable with a plugin or will it require something else? My only caveat is that one of the servers is on a shared host (bloom) and the other is gonna be on a VPS or my home PC
I mean the request is to update and fix plugins which are likely in Java, so it makes sense
Are you guys able to manage discord accounts? I mean like are you all discord Supportes?
Imagine if people actually knew how to read
How do I go up a trier
you gain xp
and to answer your next question (how do I gain xp?): you talk, or you play in #chat-reaction, or from special events
does anyone know why this happens?
also the gradle console command doesnt work
like it doesnt find it
Wrong java version I'd assume.
maybe
I have already "installed" (according to gradle's docs) the newest version
maybe its IJ who is using an old one?
do you still have the issue?
yes
sort of
apparently it is because it cant find the gradle wrapper
but I kind of fixed it by telling IJ to use a specific version of gradle I installed
fn main() {
println!("Hello, world!");
let binding = core::iter::Iterator::collect::<Vec<u8>>(core::iter::IntoIterator::into_iter(0u8..=8u8));
let bytes = Vec::<u8>::as_slice(binding.as_ref());
println!("{}", usize::from_be_bytes(core::result::Result::<[u8; std::mem::size_of::<usize>()], std::array::TryFromSliceError>::unwrap_or_else(core::convert::TryInto::<[u8; std::mem::size_of::<usize>()]>::try_into(&bytes[1..][..std::mem::size_of::<usize>()]), |err| { std::process::exit(core::iter::Iterator::map(core::iter::IntoIterator::into_iter(String::as_bytes(&ToString::to_string(&err))), |b| *b as i16).sum::<i16>() as i32) })));
}
shit language
its intentionally bad
i could probably make that like 2 lines
i dont care its still shit
?not-discord
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.
glooks
fn main() {
println!("Hello, world!");
let binding = [1, 2, 3, 4, 5, 6, 7, 8];
println!("{}", usize::from_be_bytes(binding));
}
ewwwwww
irs memory safe and blazingly fast!!!
no
yes
yes
nah
but why not change the name into MC HelpChat ?
or would that be to easy xD
People still wouldn’t read
If you changed it to like Minecraft HelpChat people would think it’s an official Minecraft support server Lol
Says minecraft in the google result already
HelpChat is designed to support people all over the Minecraft community, from server owners to plugin developers.
https://github.com/iGabyTM?tab=achievements damn, new achievements
@unborn tree you don't allow dm
@obtuse gale why did you ban me in spigotmc community with no reasons at all
or why the others did it
Not this shit again
Probably

hope this is the correct place, but having trouble adding papi to maven.
<repositories>
<repository>
<id>placeholderapi</id>
<url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>v2.11.1</version>
<scope>provided</scope>
</dependency>
</dependencies>```
am new with this stuff, but as far as I can tell it's supposed to work? :d
when I hover the <repositories> it says invalid content was found ....
woah spigot libraries in plugin.yml were added in 1.16.5
but are they shared with other plugins? Or are they separate and only accessible in my plugin
they are "private" to your plugin, unless another plugin soft/depends on yours (then since there is an explicit dependency requirement, they can access your libraries, "exposed as API" I guess)
And I also seem to be getting https://bytebin.lucko.me/ynGL1NgE0V :/
(okhttp is shaded into my plugin)
Is there a fix to this or no, since without the libraries my jar is 80+ mb 😭
I'll test again without libraries though
just to make sure
that just looks like the plugin classloader shit itself
e
yep it works without libraries
:/
are there any libraries that allow loading dependencies at runtime? which also work on java 16
Or is there a way to use slimjar while using github actions
also if you're hot-swapping and reloading the plugin on the fly and using the whole library loader thing you're gonna run into issues because the library loader classloader is not closed on plugin disable
I'm doing full restarts and the error occured
I'll try testing it again though
and since this is for another server and giving them 80mb jars... not sure how they'd respond 🥴
Yep it's still happening
is there a way to somehow publish slimjar into maven local using github actions?
Wait doesn't luckperms also load dependencies at runtime?
what does LP use?
its own system afaik
mhm
☹️
With slimjar, where are the downloaded JARs found?
or is it not downloaded onto a file
oh its stored in user home
You can specify a folder
The defualt is just the user home /.slimjar
ah alr
Are you aware of hosts like minehut not supporting the default (home/.slimjar)?
Yes, you can specify a custom path
okay, thanks :)
In the application builder there is a download directory option I believe
I suggest either the plugins folder or under your own plugin's data folder
yep 👍
💯💯
🎉
I need to do something about the repo, just cant find enough time at the moment
Glare has it setup, i just need to make a few changes and push 🥲
alr :D
this isnt the place to handle this :P
https://pastes.dev/hoxs2QmtoA
Yugi do you know why this error with slimjar is happening?
Same JAR works on my test server 😕
And the error is happening on both of their servers
are you on latest? @half harness
I think so - I cloned the github repository not too long ago with:
- gson fix (from PR)
- dependency updates
https://github.com/dkim19375/slimjar <- the repo I'm currently using that's published to maven local
Should I try uploading the same jar that I used to test to the server? (even though the code should be the same as what I uploaded before)
I don't really know what that means 😅
but the latest log was Downloading trove4j... if that helps
Although note that "Checksum matched for", "Downloaded checksum for", "Resolved checksum URL for", and "Resolved {0} @ {1}" messages were prevented from logging
slimjar.json: https://pastes.dev/uakkSDy7qP
slimjar-resolutions.json: https://pastes.dev/cFJmoqcG1h
It also downloads some other dependencies without any issues
I'll check the other minehut server to see if it's also trove4j or some other random dependency
Oh, in the other server there is also: ```
Checksum match failed for trove4j
Yea, so at some places there are paths that needed jar protocol somewhere, I cant recall properly, but just look for places where Paths/JarFile objects are created
look in the slimjar code?
I cant check till tommorrow night as im occupied rn, and have work tmr morning
mhm
alr, ty!
If you do find anything, pr would be very much appreciated 😄
will do :D
Debug logs: https://pastes.dev/6WLjzbpNJ5
I think I found the issue
I don't think I know how to fix the issue though
Kotlin stdlib from Maven Central: https://reqbin.com/n5ujzrp4
There's a valid Content-Length header
Trove4J from a maven repository: https://reqbin.com/npv13ydb
There's no Content-Length header
How come you don't just do something like: java InputStream inputStream = fileURL.openStream(); Files.copy(inputStream, path, StandardCopyOption.REPLACE_EXISTING); which works without Content-Length? || https://pastes.dev/KzttSPW7hM executes without issues ||
Since isn't Content-Length used for how large a file (or the content) will be, but it isn't used in SlimJar's case?
I'll just create an issue on the github repository since I have no clue what channels are so I don't know how you want this to be like
for heaven's sake close the stream 🥲
cmon it's just for testing 😭
Forgot to close the stream though
Hmm
although the other try with resources would have reminded me
😃
I did a try with resources in my github issue 😌
@half harness have you confirmed the issue with other similar dependencies?
Well it only happens with dependencies with a Content-Length header missing, so for example, the kotlin stdlib works well, adventure works well, etc
since then slimjar thinks that the content length is -1 which then errors out
Which libraries that you tested failed?
trove4j
Any other?
ill test without trove4j rn
Alright
And also I forgot that the issue doesn't occur on my test server... for some reason???
Hmm
@old wyvern Now it's erroring on https://nexus.scarsz.me/content/groups/public/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar
which also doesn't have the Content-Length header and has the debug ```
jsr305.Size = -1
also no Content-Length
I'm thinking that the maven repo nexus.scarsz.me just doesn't return the header Content-Length at all
scarsz 🥴
Nevermind it does
I just didn't see the error for some reason
Another unrelated issue:
When making a new instance of KotlinJsr223DefaultScriptEngineFactory, I get this error: ```
kotlin.jvm.KotlinReflectionNotSupportedError: Kotlin reflection implementation is not found at runtime. Make sure you have kotlin-reflect.jar in the classpath
although that'd mean I'd have to keep all of kotlin not relocated
since it's all in the same package - kotlin
:/
I am using shadow, but I'm also relocating it which I assume is what is causing this issue
hmm
that's what I'm doing
I guess I either have to fix the spigot libraries issue (#dev-general message), not relocate kotlin at all, or pause what I'm doing until I find a fix for it (and do other stuff instead)
https://i.imgur.com/jL9BmuP.png
Lets goo I'm a CoreProtect contributer now 😎
😳
sheesh
"Fix space in README.MD"
so i'm working on something right now and i want a 1-2 tick cooldown between certain actions. is the best way to do this with a 1 tick bukkit scheduler delay, or is there a better way
lol
so i'm working on something right now and i want a 1-2 tick cooldown between certain actions. is the best way to do this with a 1 tick bukkit scheduler delay, or is there a better way
You got it chief
I mean there is no other way really so yeah
rlly? because i don't want to have to make like 10 runnables a second and cancel them all
1 runnable
is chatchat on any repo to use with the api?
tried looking at the placeholderapi repo but couldnt seem to find it 
Chat chat released?
its in beta
trynna find a replacement for venturechat as its missing some features for 1.19 with emotes
sadly i need something with velocity support so atm chatchat wasnt an option
any clue if its planned in the nearer future, or about another plugin I could use in the meantime?
is velocity support planned in the future? yes, near future? yeah forget about that lol
fair enough i suppose
where th can I even find ChatChat?
HelpChat/ChatChat
u tryna say smth? 🤨
yes
well go get it
so readable
Why did I think that adding a lang key would make custom enchantments render 🥲
@Override
public @NotNull String translationKey() {
return "enchantment.custom.test";
}```
```yaml
{
"enchantment.custom.test": "Test Enchantment"
}```
Nada
I know we are not supposed to have custom enchantments, but the client not accepting new ones is just stupid
You have to create your own lore to add it if I recall correctly.
I know, I was just hopping that things changed on new versions + paper api
Does anyone here know a developer on Discord that used to have the name TheAmazingZote?
I mean how is it supposed to know where to take the translation from?
Yes, and those are client-side translations
I said what I said
Anyways, annoying
If you're using resource packs then I assume you're sending the translation, but for displaying the enchantment on hover etc it takes it from the enchantment itself, from the registry, that won't exist on the client unless you have a mod as well
[Service] Voice actor
[Request] Looking for female voice actor should be comfortable with nsfw
[budget] 70$+
(if nsfw comms not allowed, you can go ahead and delete my request)
This guys trying to make a whole new minecraft elsagate
like srsly wtf is this guy planning to do with his minecraft server or drama
who said it has to be minecraft tho?
his previous requests were all about mineceraft
[Service] Texture pack artists
[Budget] 10-30$+
[Request] Looking for some texture artists, for various stuff, DM for more details.
like what is this? minehub?
[Service] GFX Designer
[Request] I need a logo for a minecraft Server. I want the logo to say PvP World with a really cool graphic
[Budget] 10$+ (a quote would be preferred), No service teams.
maybe something like datecraft
ah. didn't see those
@old wyvern https://helpch.at/bots/Yarry.png
they're not generated, cube made them all manually
pls no steal
yes
blame the font
ok
🥲 can I use one for a sample project?
Or nvm, ill try just some basic font
@quiet depot I love having pig meat for my breakfast every day
good for you
I can't be bothered, too much effort
this is truly excellent news
meow
i'm working in 1.8 rn and i'm trying to implement tracers (like in fps games) via particles. problem is, in 1.8 the particle api is non existent and is part of the Effect system. does anyone know a better way of handling particles, such as with packets or something else, and if so, link me to a tutorial or something like that?
ew 1.8
i could move to a newer version but idk which one
also i like 3 second server startups on 4 gigs of ram
DownloadMoreRAM.com - CloudRAM 2.0
i wanted actual support but...
#development is the support channel
You could use packets yea
yea but how, is there a resource i can follow or do i just gotta look through the docs
You could probably search spigot, someone's already had that question already most likely
k, got it
I'm curious, why doesn't Java have something like a destructor?
because objects cant manually be destroyed
destructors only really make sense in non-garbage collected languages
That almost makes me feel like it's more necessary
the closest you have is finalize() but that is extremely evil
Like you could make sure when the object is collected, it cleans up properly or something
Actually, now that I've said that out loud, it doesnt' seem practical
yeah unfortunately it's not
Because if you're going to define clean up details, what's the point of the gc
indeed
but also GCs are too complicated to be able to provide proper guarantees like that, which is why finalize has so many issues
Yeah, that makes sense
that's what the cleaner api is for, but you shouldn't need it 99.9999% of the time
In order for gc to collect there has to be nothing referencing that object right?
no hard references, no
it needs to "not be reachable"
whatever and however that means
e.g. if you have
void foo() {
var l1 = new ArrayList<Object>();
var l2 = new ArrayList<Object>();
l1.add(l2);
l2.add(l1);
}
as soon as the program returns from the method, those two lists are not reachable anymore, even though they do contain hard references (to each other)
hello there, i am a professional web developer trying to get started with plugin development using spigot and java, do you have any advice for me?
Ty
Does that mean static objects never get GCd then?
Uh I guess mainly just get a feel for Java before you jump directly into plugin making, you can't learn how to run by going to a marathon
There are tons of documentation on many things;
specific to Java you have the Oracle docs, or if you want a course then many say JetBrains Academy is pretty outstanding (it's paid but it has like a 3 month free trial or something); (and then the thousands upon thousands of StackOverflow Q/A about anything)
specific to plugin making I believe the seemingly-defunct Bukkit fandom has actually many good resources to get started (google "Bukkit plugin tutorial", that page alone has many important things, and links to others too), then you've got some wiki pages and threads on spigotmc.org, those are good too I guess
uh I guess so?
Questions I could ask google but instead bother Emily with
classes can be gc'd
for that the class loader needs to be GC'd
yeah
there's a whole section on class unloading
https://docs.oracle.com/javase/specs/jls/se17/html/jls-12.html#jls-12.7
Oh well I am not entirely new to java, i was mainly looking for advice on what to build and how to approach developing my skills
What are some simple plugin challenges i could start with?
Wow that's awesome
Thank you
Is my assumption correct that plugins cannot add extra content to the game?
So if i wanted to add a custom block I'd have to create a data pack or mod?
yes a mod
If the client would need to know about it then it couldn't be a plugin.
If you really really really know how to use resource packs and data packs, then no, that is "incorrect" (you can't add new blocks and entities for instance, but you can do some impressive things with RPs and DPs to basically give that feeling and idea, check out Origin Realms and be amazed!)
But if we're being pedantic the answer is that is correct
Not being pedantic*
resource packs and optifine and a bit of magic
no it's just a resource pack
fonts
characters in custom fonts can be replaced with images using resource packs.
Yeah but it's an item with that GUI as it's texture inside of a native container right?
then you set those characters as the menu title
and with some trickery (aka backwards spaces or whatever they're called, maybe negative offsets) you line it up
it's insane
wait the fuck
How do they prevent people from placing items outside the custom gui
yes. its been possible since 1.15 or 1.16 or whatever. before that you did have to use an itemstack and hide it in the corner or something like that
code.
e.setCancelled(true);
if you're developing against spigot there's events you can listen for and cancel
is there a resource for this because i've never heard of anything like this
you can probably google "how to make custom fonts using resource packs minecraft"
yes. those usually are placed in the action bar
Plugin development really went up in skill level with DP,RP
okay i'm migrating my plugin from 1.8 this is cool af
I mean not specifically related, but together it's neat
ugh. you should've done this long time ago xD
yea but having my server start up in 3 seconds is satisfying
hypixel:
not that old. but still old
hypixel is on 1.7.10. at least the base. they don't allow you to connect with 1.7.10 tho
even older
there are TUTORIALS to make custom huds
how have i not known about this type of stuff
There's tutorials to skin boar too
skin boar?
Yeah
what is that
Where you remove the skin from a boar
lmao
🐗
i'm so fucking confused
😕
For pelts and such
i can't tell if you're trolling or not
I'm being very literal
yea negative spaces exist
I mean they aren't wrong
a lot of the people using this font thing are for some reason using datapacks or command blocks instead of plugins
very confusing
i think its because they are more approachable for regular people
i'm gonna quickly use very legit methods to see mineclub without the pack
for development purposes
quick question, how do you test your plugins, do you run a server locally?
I have a gradle task that builds my plugin and starts a local server with it
docker 😌
got me a docker-compose with velocity, two paper servers, redis, postgres, mongo, and mariadb
ready for any challenge of the day
oh and I think I added rabbitmq recently too
building docker images takes a million years
i'm not bundling the plugins into the container
hardly, and there is no build to be had here!
docker compose up -d
and every service you need is up, can easily communicate, and works flawlessly
depends on your images my good man!
well any practical image
i can rebuild my Django container in about ~40 seconsd from scratch
ok
but that also is like... a very rare occurrence
only when I need to deploy to prod
thankfully for us, people have invented auto refreshers and filesystem watchers that can update things for us without requiring a restart!
god docker is so awesome
i dont appreciate your tone child
really revolutionized the way I run anything that is like a service
drop the attitude or i will be forced to "nerd emoji" you again
🤓
a fate worse than death
and neither of us want that
Any idea what @get:Input means in kotlin? Input is an annotation from gradle API
Ah get/set – the property getter/setter
anyone know how to see how much ram my server is using? like with a plugin
i would use my activity monitor but that doesn't really provide accurate information: https://imgur.com/a/Js8Xp7e
well, i personally use a gamehosting panel like pufferpanel for managing my cpu and ram usage, benefit of that is that it runs online
other than that paper actually has a GUI that shows you RAM usage if you remove the nogui flag
ah okay thanks
I don't know if you could write a spigot plugin to display RAM usage in game
@brazen ether check out Spark https://spark.lucko.me/
ill try it out
What would be the best approach if I wanted to randomly generate / spawn a chest in a chunk / world?
I am using this plugin called phoenix crates and I want to figure out how to randomly scatter some of those crates in the world
I'm assuming I'll need a custom world generator?
super confused.. why doesn't the lore get added. ``` for(int i = 0; i < TagID.size(); i++) {
ItemStack paper = new ItemStack(Material.PAPER, 1);
ItemMeta meta = paper.getItemMeta();
meta.setDisplayName(TagID.get(i));
ArrayList<String> lore = new ArrayList<>();
player.sendMessage(Tag.get(i));
player.sendMessage(Permission.get(i));
lore.add(ColorUtils.translateColorCodes("&a&lTag Display: " + Tag.get(i)));
lore.add(ColorUtils.translateColorCodes("&b&lPermission required: " + Permission.get(i)));
lore.add("Test");
paper.setItemMeta(meta);
meta.setLore(lore);
TagsGui.addItem(paper);
}
player.openInventory(TagsGui);``` The lore is clean and empty osmehow. did I miss something?
Try setLore before setItemMeta
that make sense 😂 ill try that
#tech #developer #consulting #IT #business #wfhlife #wfh #consultant #client #softwareengineer #meeting
Ignore the tags 🤣
oh that is you?
Dear Users,
We regret to inform you that we have discontinued operating TikTok in the United States of America.
Thank you for the time you have spent with us on the platform and for giving us the opportunity to bring a little bit of joy into your life.
The TikTok Team
oh hi james and bye james
No
i take a no as yes normally
but because you are a mod i interpret yes as no
so ultimately no can also be yes
🤣
because no and yes are two sides of one coin
if you automatically set a paramounting opposing theorem it will flip over in the other way so that the logic makes sense which is also named tautology in a traiditonal sense but i am not a traditional guy so im gonna go fresh and say i actually have big brain
• Removed 20 messages.
FFS BARRY
Lmao
epic let's go
epic fail
Fer
Dies from cringe indeed
i accidently purged my entire class discord because amount argument didnt work well
nan
but now you can delete 2 weeks max right?
I asked earlier but I think it got cleared but how do I spawn particles for the world (those at least nearby it)
I tried
p.getWorld().spawnParticle(Particle.FLAME, fireball.getLocation(), 20, 0, 0.5, 0);
But it doesnt spawn on client nor for anyone else
hour and a half late but debug the fireball location
also make sure you have particles on on your client lmao
is there any alternative for noteblocks when applying custom model data to them in order to make them look like custom blocks?
I'm not a scientist, but I would imagine you could do it with most any block?
well yes, but then people can't use that block
the pros of noteblocks is that they are not the most used block ever, and there are a ton of combinations so you can add like, 30 different "blocks" from just noteblock sound/note combinations
and it is hell to set everything up, stop the sound from playing, ensure hardness requirements, get the drop right, etc.
i'm working on it for a server i work on and having to like intercept sound packets
fuck me it's rough
Just cancel the sound event 💀
To be clear I made that up, there may or may not be an event
i just need any mcpe developer to dm, please
yes, already done that
problem being, it also makes a block damage sound of wood being broken
which is not an event
well, know i know the channels are deleted and new channel is created [confirmed]
Only way of removing that is by mapping the wooden break and step sounds to nothing and faking it all
Or listening to packets and stopping ones for noteblocks 
Break sounds are client side right?
i don't think so, there's a whole ass sound list for ProtocolLib (with the block break wood sound on it)
It still played for me after cancelling every outgoing packet with a sound mentioned
many sounds are purely "constructed" by the client
ah fuck well
i hate this game
doesn't depends on sound type but on what happens
what if people want to hear wood break sounds for wood tho
Fake it
ah fuck
i guess that's probably easier at least, there's a whole bukkit event for it and all
player.playSound to the rescue
yeah seriously
okay well
this was actually extremely enlightening, thanks guys
man what I'd give for Minecraft to implement a FastDL-style download-mods-when-you-join-the-server system instead of fucking up chat messages and privacy and implementing global bans
The amount of shit we have to do to have some custom blocks 💀💀
yeah seriously man
it's a house of cards very close to falling down
at this point ima just fucking make a fabric server and have people download our mods for shit
My old hardness system had a 25% chance of crashing the server
The code was horrible but it worked
damn, you got a new one? got a link? lol
cause my life is pain trying to implement this shit
Nah I’m still trying
ah fuck lol
But I have to reboot my pc every time I want to compile
Otherwise it doesn’t include the newly written code somehow
🤨
Yeah I broke something lmao
Still have to find out what
I think it has something to do with the paperweight userdev reobfJar task
oh my god i'm still gonna need protocollib
My old system used no api but I gave up and am using packetevents now
oh my fucking god it uses mining fatigue
I used that too yeah
Mojang really fucked up chat with 1.19
I finally got my message removal system working and they change the whole ass system
I mean chat preview is cool
All the signature stuff is bullshit tho
ye
Running into some of those issues too. Was getting kicked earlier when doing testing on a server because we cancel the AsyncPlayerChatEvent.
Skin stuff?
I’ll share how it works somewhere this weekend
cool
My whole message deletion system was based around uuids
But system messages don’t have uuids 💀💀
Switched to hashcodes but it keeps resending the whole queue
Nah
It’s all happening in the gui title
Maybe I don't understand what I'm looking at then lol

I also use it for playerheads in chat but I somehow broke that lmao
neither I
I need to update Holovid for 1.19 sometime soon.
explain pls 
That's going to be annoying depending on how many packets changed.
Oo nvm going to do Rocketeer first. Let's crack this baby open.
If you're looking for a block hardness system... #showcase message
Gradle so slow to build models sometimes.
Ez. That update went easier than I expected. Not a lot of changes.
wait are you using that player head thing
that allows you to have players skins in items
@gentle geyser works better with packets as it actual simulates what would happen if a players wifi would go out #showcase (also repeat command blocks dont exist in 1.8)
If you are talking about that thing used for emotes; nope
#992627660146626601 message
MEE6 for about $5? 🥴
hear me out
invite mee6 to a server
passthrough all of it's chats to your own bot
and vice versa
and bam you have a reskinned mee6 you can sell
That sounds so convoluted
anyone got a plugin to show the amount of combos a player has made?
Amount of combos?
yea
What exactly is a combo in Minecraft?
like yk in boxing, on the scoreboard it shows the amount of combos
👀
Again, what does a combo mean in Minecraft context?
Pvp in Minecraft is just hits
amount of hits in a row
99% of devs in here have probably never played boxing 🥴
I will kill you in 1 punch dkim19375
😭 Noo please no bm
you would never do that to me
no the skin reloading thing
dynamic*
error: an enum switch case label must be the unqualified name of an enumeration constant
case CHESTPLATE -> Type.CHEST_PLATE;
^
@Nullable
public static Type fromPacketSlot(final com.github.retrooper.packetevents.protocol.player.EquipmentSlot slot) {
return switch (slot) {
case HELMET -> Type.HAT;
case CHESTPLATE -> Type.CHEST_PLATE;
case LEGGINGS -> Type.PANTS;
case BOOTS -> Type.BOOTS;
case OFFHAND -> Type.OFF_HAND;
default -> null;
};
}
Is IntelliJ bugged or something?
case EquipmentSlot.HELMET
That's what should show that error
no gaby
is that just intellij saying that or the compiler when you actually try and build it?
Hm
The compiler when I try to build it
despicable
https://www.reddit.com/r/ProgrammerHumor/comments/vpt7fl/is_that_what_python_look_like_upload_s1e1/?utm_medium=android_app&utm_source=share nice one Amazon
62 votes and 22 comments so far on Reddit
3:12 if anybody wants to watch the scene
r/itsaunixsystem
https://www.reddit.com/r/ProgrammerHumor/comments/vpjc0u/one_of_these_is_not_like_the_others/iekc63x?utm_medium=android_app&utm_source=share&context=3 looks like a pleasure to make windows stuff
SaitaMitten
its a unixsy stem 
raycasting is hard
whats the plugin for not everytime restarting my mc server
when i add a plugin its has to restart everytime
I think you have to exclude the bin folder
gonna try that
before I do that
I also have a jre 17 installed
but if using jre 1.8 is no problem I really wont use the other
but is it a problem?
alright is was without the bin
thanks man
i have made 3d raycasting in minecraft
no need to shout
okay but like this is cool for me
Barry doesn't care
Calculates the intersection of this bounding box with the specified line segment.
quite a sensible thing to have in a Bounding Box lmao
i just wasted so much time...
yea
i wrote like
10 lines of code
and they worked perfectly
and i felt good
and turns out this method already exists
@hot hull Do you help people configure server cores by any chance?
Can you also add me back so I can dm u
Nah I'm good thanks
ahh ok
java is ez
Is it possible to give minecraft scores to players in a specific area?
yes, i know that a lot of minecraft commands have a distance parameter
yeah, found what I was looking for
hi, if someone want help me im trying to do a menu ;-; (for a skyblock server)
not the right channel for that but its plugman, tho its still recommended to just restart when adding plugins
This has been happening for me for quite a while now but has it been happening to anyone else either?
When moving an IntelliJ window from one monitor to another (and while doing that putting it to fullscreen by dragging the window to the top of the screen), there's a white bar at the top?
And since this only happens when moving between monitors, it's easily fixed by dragging it back again to the same monitor/location but it's a bit inconvenient
https://i.imgur.com/pthEGLm.gif
haha. I'm sorry for you tho. 2 monitors is life changing
I can see it
alright next project
yup
now
gradle question
I have a multi module project, and I want to apply paperweight to one of that modules
how would I go about that
I have looked a bit on google but nothing worked
using kotlin DSL
only add paperweight to that module
tried that
so that module would have ```kt
plugins {
// whatever paperweight is
}
tasks.assemble {
dependsOn(reobfJar) // or something like this
}
I mean at least that's what I use
I added the plugin repo to the settings.gradle.kts in the main module
what
literally none of that
probably yes, depends on what you're thinking
reobf already takes the shadow jar if it detects shadow is present
uh alright?
so in that gradle file in the module I set the plugin of paperweight
makes sense ig
somethings wrong I feel it
no erros but it doesnt do anything
did you add the paperDevBundle dependency in that module?
what does it say when you run gradle module:reobfJar?
it stars a daemon
gonna tell ya if anything goes wrong
wait world record
suspicious
uppercase module name 🤔
anyways send build.gradle.kts
you sure the module is included in the settings file?
from the main module?
Oh
Plugin
after you check Emily's
LMAO
I removed it
I dont want that module to build with the whole bullshit so I removed it
wait what
❓
yes
of the plugin
anything else to the error?
oh
lmao
🥲
does the include thing make the plugin module build with all the other shit right?
I dont want to build it with the other stuff
if I build for example the main project
no
ah good
you have to do implementation for that
alright
thanks
gonna spend the rest of the day configuring gradle
so I can finally start work on this shit
tysm
🥰

thats actually cool
I want to make one
when I get enough ram to run mc, ij and a server in my pc
Let me know if this belongs in a different channel, but I've recently graduated with a degree in Software Engineering and I don't really know which direction I want to go but most of my experience is backend stuff. I just recently starting to hit applications hard and I'm just looking for advice to make myself a more attractive hire.
I dont exactly know whats like the dedication of a software engineer
so I'm gonna assume its just like another coding degree
a good thing to start building for some sort of portfolio is doing open source contributions
~~For some reason... it seems random, but sometimes custom enchants (mc enchants aren't affected) get removed? And when they do get removed, they all get removed at once
I doubt anyone has had this happen to them before, so does anyone know how I could debug this?~~ Probably not "random" but caused by the issues below
Was thinking of looking in the source via paperweight but I don't know where to start :/
And also, in creative mode when I middle click the item, custom enchantments disappear
Is there a way to fix this?
might be related to each other - minecraft automatically removing the custom enchants, but I'm not sure why for the first issue
And also when moving it into a chest
Ahahhah
Question about IDEA, if I open a method / class with Ctrl + Click, is there any way to go back from where I opened the said method/class?
Edit: Ctrl + Alt + Right Allow
why do you keep calling it "iij" lol
IntelliJ IDEA looked like "iiJ" (capital i = lower case L) where I first started to use it and for a while I though that's its name LOL, I just got used to that
illij
how does one stop gradle from creating a src directory in the main project
every time it builds the model
with deluxemenu does anyone have an example how to use custom model data?
can someone tell me why when using custom fonts over my GUI the font/bitmap darkens?
Put a white color code in front of the gui icons, Minecraft makes gui title text gray by default
is there any way for me to get rid of the 'inventory' text?
remove it from the lang file
so i create an empty lang file?
no, you set the value to an empty string
like "player.inventory.title": "" or whatever the key is
Mine is pretty boring :(
what's that from?
work
the lines I mean
oh
ah, git commit history
I don't use the integrated stuff. I see
git kraken
oh
^
This looks like a music making software
ye lol
aw why doesn't IJ put pfps
Cuz their bad
<3 gitkraken
Gitkraken is great
Can you also do coinflip?
this one!
deluxecoinflip is made by a different dev
I am trying to setup checkitem using placeholders in deluxemenus to allow players Only to have any gear held in their hand to open menu. Right now it works, But Only for one item and not multiple. Is There anyway to do this?
This is what I initially had it set to, as testing and diamond boots does seem to work, but diamond leggings won't
%checkitem_mat:diamond_boots,mat:diamond_leggings,inhand<:hand>%
Yeah that's not from us.
it's painful to implement tho 💀
pretty verbose, ye, but I guess it is worth
I'm so glad that they show the highlight on that page 🙄
Struggling to understand where you'd actually use this
A replacement for {@code}
bro
How do I add economy to DeluxeTags plugin?
Dont ping me for no reason, use the right channel.
Which is the correct channel?
whats that
Wanna elaborate on that
@pastel imp intellij's git integration
What's it used for exactly?
pretty sure that exact image just shows your commits and branches.
Ye
it is a new tag for docs, which has a lot more options than {@code}
you can insert parts from a class, highlight words, replace words, etc.
Java 19 will preview project loom 👀👀👀
maybe itll make servers run alot better then they currently do
assuming it would actually be implemented
Well it's only preview feature not finalized yet so doubt it'll be used
What's loom
Jvm coroutines basically
Yeah structured concurrency is the design pattern based on it
But it won’t make things faster magically
The opposite is Haskell users, where you learn all of that, but can't print hello world.
probably wrong
{{><{>|<{}io._[~>~[~}~>~>~[~]"""hello world"""[}{>}}}}
+- a bracket
that's APL
I dont got math symbols 😦
Can I ask for help in here?
possibly
okie
#development or #general-plugins may be a better choice though
I will just write as much as I can in one message
ok
Yo guys
How can i check for any type of colored glass?
if i just use GLASS it works with normal glass
i wan to check for any type of glass
Get the material, get the name, and check if it either contains glass, or split it by _ and get the last part and see if it equals glass
There’s probably a glass tag you can use
https://i.imgur.com/EWoJfCr.png
kotlin updated to 1.7.10 and now I have a billion PRs (automatically made) to update the kotlin dependencies in my project 🥲
it auto merges eventually after a couple hours but I don't feel like waiting
Anyone knows good, free, crowdin alternatives?
if you have github student you can use it for free https://crowdin.com/page/github-students
Hello. Is there a way to detect when a local velocity instance has been closed and execute a bash script when after? I'm basically trying to close my other servers as well when the velocity is closed. I don't even know if its possible to automatically detect and close those other instances tho. I don't really know any bash.





