[14:19:22 INFO]: Player718 lost connection: Internal Exception: io.netty.handler.codec.DecoderException: java.io.IOException: Packet play/serverbound/minecraft:accept_teleportation (ServerboundAcceptTeleportationPacket) was larger than I expected, found 36 bytes extra whilst reading packet serverbound/minecraft:accept_teleportation
#help-development
1 messages · Page 1224 of 1
how
tf
a plugin message
is causing this shit
while
on the bungee
i got what i want
why are people incapable of writing a single message
and
have to
type
like
this
Hey, I'm facing an issue where the remap task overwrites the shadow JAR. Instead of overwriting it, I want to merge the remapped JAR with the shadow JAR. Is there a way to do this?
Its a legacy from PKers trying to smack talk in chat while fighting, before voice coms.
my brain is not braining rn
wdym?
merge?
usually you shadow first and then remap the entire thing
shadowJar {
archiveBaseName.set(project.name)
archiveVersion.set(project.version)
from 'LICENSE'
archiveClassifier.set("")
}
remap {
dependsOn shadowJar
version.set("1.21.1")
}
😭
What remap plugin is that
you may wanna set shadow as remap's input but ^
yea
io.github.patrick.remapper
btw what tf does version.noLessThan(ProtocolVersion.MINECRAFT_1_13)) do?
how to set input
from(shadowJar)
dependsOn simply tells it "run the given task before this task"
rad, stop lying
you need to tell the remap task to take the input jar from the shadow jar
right that's what I said
but you don't use from do you
do you not
no, its not a copy task or like an archive task I don't think
see the docs I linked
it has an inputTask property
well i can't read so /shrug
Could not find method from() for arguments [task ':shadowJar'] on task ':remap' of type io.github.patrick.gradle.remapper.RemapTask.
hard cringe, it doesn't use conventions
SEE WHAT YOU DID RAD
they can't read either and now you caused this
world burning rn 😔
// Use this option to explicitly set the input task.
// Defaults to jar task.
inputTask.set(jar)
Right so now try putting one and two together
a third
inputTask.set(shadowJar)
Like this ig?

10 points for hufflepuff
how
tf
is
paper
reading
payload as teleport
[14:32:45 INFO]: Player718 lost connection: Internal Exception: io.netty.handler.codec.DecoderException: java.io.IOException: Packet play/serverbound/minecraft:accept_teleportation (ServerboundAcceptTeleportationPacket) was larger than I expected, found 36 bytes extra whilst reading packet serverbound/minecraft:accept_teleportation
use one message for gods sake
Explosion
?whereami
?fork
SpigotMC maintains the Spigot server. If you are using a fork of Spigot (such as Paper, Airplane, Purpur, or other derivative works), you should seek support in the appropriate Discord servers.
rad
is my nickname milkthedev
Yes like that
how to reset nickname
pay money
?changename
Name changes on the forums are granted to those who have donated to the project. Donations are processed manually and generally take up to 24 hours. The donation widget can be found on the home page of SpigotMC at: https://www.spigotmc.org/.
coz your spigot username is Milkthedev too ig
duck u
My spigot username is radstevee but ???
oh hell naw
i dont remmeber which username i used on spigotmc
well
atleast
i can show yall which exploit i am talking about

that is not how exploit reporting works
xd
i was justgetting there
ok
should a plugin message event be fired for bungeecord:main
when src is a client?
no it shoulded
java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_21_R1/CraftServer
it isn't remappign now what;-;

my fucking exploit
can bypass that
woah
and when the message
reaches spigot
itll be translated back to BungeeCord
died?
xd
died?
died
for
Welp, thats nice xD Go and report it to bungee
It doesn't seem to work. Can someone help me set the input file as the ShadowJar output?
remap {
dependsOn shadowJar
version.set("1.21.1")
inputTask.set(shadowJar)
}
yo can you ELI5
i still don't understand packets 💀
What is the "trending" lib for NPCs? I want to do ML with Minecraft but don't want to bother with NMS and the endless pain that comes with it. I tried to use NPC-lib but it's very limited in terms of control over the NPCs.
Citizens
Look how citizens does their stuff, not sure but they might even have api you could use
Citizens has a quite capable API
Maybe i'm old but didn't Citizens used to be meh?
From what I’ve seen, it’s the goto for npc stuff
yeah it's been to goto for a long time
Is there any place to freeze a player while they are gliding and while they are in spectator?
Okay, thanks for the advice 👍
Does cancelling their move event not work while gliding
Jittery
The spectator thing doesn’t really matter I suppose… if the point is to freeze them anyway then you could always set their gamemode to something else temporarily
I guess you could ground them then cancel their move events
So theres nothing like setting their walk speed?
Smoothest freeze is to set the gamemode to spectator and force them into an invisible entity (armor stand)
Yeah try putting them as a passenger on something
Sounds like a lot less work than grounding them as I put it
As a passenger, yes I think so
If you teleport them in the entity no they can't
I think if you still cancel the move event though, that should prevent it
Inside the entity huh
When you right click an entity in spectator, you're locked to the entity's YAW
I figure this might not work in more modern versions considering the hit box meshing mechanic if you know what I’m talking about
The pushing kinda thing when two entities intersect
I use Adventure API but it doenst send the message. https://pastebin.com/D6tFp19S
Use ChatColor
someone?
is there any doc about world creation or making a copy of a world? I need it for making arenas
what are you trying to do exactly?
Like what is this for? Hardened.adventure().player(player)
that yields the bukkit audiences type
ded
ded
.
I have a problem in my nuclear reactor can anyone help?
this is my code https://paste.md-5.net/xepizagoru.cs
.queue() on the sendMessageEmbeds
JDA is a discord api library
check the block place event i guess
Does Location#getDirection return a normalized vector?
Gets a unit-vector pointing in the direction that this Location is facing
its work but the commands not
the error
Thread JDA MainWS-ReadThread failed main thread check: command dispatch
java.lang.Throwable: null
at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[paper-1.19.4.jar:git-Paper-550]
at org.bukkit.craftbukkit.v1_19_R3.CraftServer.dispatchCommand(CraftServer.java:905) ~[paper-1.19.4.jar:git-Paper-550]
at Discord.Chat.onMessageReceived(Chat.java:50) ~[ExcellentServerManager-2.3.jar:?]
at net.dv8tion.jda.api.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:456) ~[ExcellentServerManager-2.3.jar:?]
uh hell naw
i found another exploit
maybe i can try crash
xddd
32k iterations
per packet
*Red V3*
__**Admin:**__
selfrole Add or remove a selfrole from yourself.
__**Cleanup:**__
cleanup Base command for deleting messages.
__**Core:**__
embedset Commands for toggling embeds on or off.
info Shows info about CafeBabe.
licenseinfo Get info about Red's licenses.
mydata Commands which interact with the data CafeBabe has about...
set Commands for changing CafeBabe's settings.
uptime Shows CafeBabe's uptime.
__**Downloader:**__
findcog Find which cog a command comes from.
__**Mod:**__
names Show previous usernames, global display names, and server...
userinfo Show information about a member.
__**ModLog:**__
listcases List cases for the specified member.
reason Specify a reason for a modlog case.
__**Permissions:**__
permissions Command permission management tools.
Type ?help <command> for more info on a command. You can also type ?help <category> for more info on a category.
you're using the API off the main thread, use the scheduler and run the command dispatch there
So i dont know the basics of java spigot coding, could someone help me or get me like some videos to help?
?learnjava
For Beginners:
Codecademy - Learn Java: Interactive Java programming course from basics to more advanced concepts. Perfect for absolute beginners.
https://www.codecademy.com/learn/learn-java
JetBrains Academy - Java Developer Track: Learn by doing with projects and challenges. It covers Java fundamentals to advanced topics.
https://www.jetbrains.com/academy/
Udemy - Java Programming Masterclass for Software Developers: Updated courses that cover Java 8 to Java 17 features. Suitable for those who prefer structured learning.
https://www.udemy.com/course/java-the-complete-java-developer-course/
For Intermediate to Advanced Learners:
Oracle Java Tutorials: The official guides by Oracle for Java programming—great for understanding the depth of Java.
https://docs.oracle.com/javase/tutorial/
Baeldung - Learn Java and Spring: Focus on Spring Framework and modern Java technologies. Best for intermediate learners aiming to expand their knowledge.
https://www.baeldung.com/
Practice and Hands-on Learning:
Exercism - Java Track: Solve exercises and get feedback from mentors. Great for practicing coding skills.
https://exercism.io/tracks/java
LeetCode: Practice your coding skills and prepare for technical interviews with Java.
https://leetcode.com/
Free Resources and Documentation:
Java Programming and Documentation: A comprehensive collection of Java programming guides, tutorials, and API documentation.
https://docs.oracle.com/en/java/
Community and Support:
Stack Overflow: A vast community of developers. Great for getting help with specific problems or understanding concepts.
https://stackoverflow.com/questions/tagged/java
r/learnjava on Reddit: Join the community of Java learners and get advice, share resources, and discuss projects.
https://www.reddit.com/r/learnjava/
Remember: Learning to program takes practice and patience. Don't hesitate to experiment with code and participate in community discussions. Happy coding! 🎉
Thanks
yo hello guys i wanna make a plugin for a bungee cord server of mine but i have no experience what so ever with bungeecord and what i want to create is basically a plugin that stops every bungee command from being executed on a player in the Auth server can anyone help me with this
wooo offline mode
where
at Discord.Chat.onMessageReceived(Chat.java:50) ~[ExcellentServerManager-2.3.jar:?]
java.lang.NoClassDefFoundError: net/minecraft/network/NetworkManager```
I know NetworkManager was changed to Connection, and I'm using Connection, but why am I still getting this error? Is there a way to fix it?
?nms
Remap
already did
remap {
dependsOn shadowJar
version.set("1.21.1")
inputTask.set(shadowJar)
archiveName.set("${project.name}-${project.version}-remapped.jar")
}
yeah im using remapped one
paper dev bundle and spigot?!
if you're using paperweight you don't need any of the remapping stuff
pick one or the other
if you use paper for everything else, use the dev bundle
you have to do that anyway
no
alright
happy now? @eternal night sorry for ping
ur not sorry
Bro the type of person that calls an ambulance for a minor cut.
yus 
So too lazy to read, but did this guy actually discover a zero day? I’m just interested in the lore since last time.
idk? I am not on the org
i know what it is this is so silly
are you a bungee maintainer emily?
no, i'm a psychic
woaaah
my crystal ball is a bungeecord maintainer
thats magic
No no I didn’t expect you to be. I just know that you were in the chat like 6 hours ago when this guy first talked about it before his nap, and I did see him here talking to you.
So I figured at some point he may have spilled the beans on what the zero day actually is.
api or the spigot jar?
api
You can grab it from the maven repo manually
Nexus?
well, no, publicly announcing what the exploit is would be.. not a good move lol
but you should be using maven or gradle in your project
i am using eclipse mainly
Can I ask you a question about Minecraft commands?
is there a built in raycasting function to check if a ray collides with a bounding box?
Go for it.
?ask
?ask2ask
If you have a question, please just ask it. Don't look for staff or topic experts. Don't ask to ask or ask if people are awake or available. Just ask the question to the channel straight out, and wait patiently for a reply. Make sure you use the right channel regarding the topic of your question. Create a thread in case the channel is already in use!
damn
I use Adventure API and try to add a ClickEvent to a Component but when i send it it doenst give me any error. It just sends the right message but when i click nothing happens
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
/give @p iron_sword{Unbreakable:1b,CanDestroy:["minecraft:oak_planks"]} 1
I want to set the damage for this item to 4, attack speed to 1.4, but I can't figure out how. Can anyone help?
But that depends on the version of the game I’m pretty sure.
What version are you on?
The version is 1.20.1
You need attributes for this
Use this website to generate the command
https://mcstacker.net/1.20.2.php
I don't remember if 20.2 is same as 20.1
Mojank is now doing big breaking changes in the dot updates and it's annoying to remember what changed when
Thank you for your help, and I'll give it a try.
idk what are gradle or maven
is there some kind of way to detect when a player touches a block?
some kind of a collision event or smth?
??????
pls?
and if not doc can someone just help me with that?
if you want your server to be playable, you probably shouldn't do that...
doesnt that brick on spawn if its loaded
you can try out SlimeWorlds hto
does anyone know how to rotate a armour stand left /right (a and d) , and move yaw of the armour stand based on (w and s) while having it mounted.
?
idk the issue you have with copying a world. But I feel like this was already brought up a few days ago and been answered 🤔
You can copy a world just fine
jish
Just gotta remove the uuid file
do you need ur non xmas pfp
i dont think i do
i do
lol, ironic that he has your non xmas pfp ready to go
it was brought up and not really answered
pretty sure
personally i dont believe in changing profile pictures
or I didnt see the message if anyone helped
bump
i saved the original when i added xmas hats to them
i just have a png file from 2013 on my images folder
normalized velocity downward while standing should be a veeeeery small negative number, and in sideways directions 0
but not moving isnt exactly sideways collision
most of us don't and just add holiday decoration to the pfp when discord doesn't really provide decent ones for what you are wanting
fair enough
huh?
gonna need to find some easter hats and eggs
oh yeah do that
split velocity into its components in x, y, z direction
its a vector
oh yeah, forgot about that holiday
why remove cat ears
Exactly
and do what with it? ray cast?
That’s why I have to edit the picture itself
is there a way to check if a player is currently TOUCHING a mob? in physical space?
check collision of model
bounding boxes might collide
Hey, is there anyone who can help me with a plugin?
?ask
If you have a question, please just ask it. Don't look for staff or topic experts. Don't ask to ask or ask if people are awake or available. Just ask the question to the channel straight out, and wait patiently for a reply. Make sure you use the right channel regarding the topic of your question. Create a thread in case the channel is already in use!
Im clueless
but arent the bounding boxes not always exactly the shape of the mob?
If you have a question, please just ask it. Don't look for staff or topic experts. Don't ask to ask or ask if people are awake or available. Just ask the question to the channel straight out, and wait patiently for a reply. Make sure you use the right channel regarding the topic of your question. Create a thread in case the channel is already in use!
well, they're the things that touch other things
with creating a plugin, or setting up one thats already available? @bleak solar
Bounding boxes are the best you’ll get
But yes they aren’t super accurate for some mobs
hmm i was looking for more like, actually touching ykwim
its a plugin already made but its supposed to be compatible with 1.18.2 but its not
well you cant be colliding if youre moving
so if your velocity in none of those directions isnt near zero you dont need to do any other checks
and raycast can be a tad unreliable, it might be better to compare the blocks around the player against the bounding box
im soo frustrated with it
sadge
i hope i dont have to check collision with ender dragon then
its box is basically a huge rectangle
i looked at that in like 2021 i think? cant remember if i did anything with it
If you wanted to use the actual models to determine if those are touching that would kind of be a terrible idea since it could vary between clients
its for a private server
i can disregard stuff like that
The dragon has a bunch of boxes
Still, desync
not an issue
well, the bounding boxes can just spit out the coordinates they start and end at
so you might get mileage from that
basically i just want the most accurate way to check if a player is currently touching the physical model of a mob
however close to that i can get
Well the server doesn’t have the models
no worries about any other factors almost
tru
You’d have to get those yourself
why would it vary between clients?
package net.lodia.lobbysystem.listener;
import io.papermc.paper.event.player.AsyncChatEvent;
import net.kyori.adventure.text.Component;
import net.luckperms.api.LuckPermsProvider;
import net.luckperms.api.model.user.User;
import net.luckperms.api.cacheddata.CachedMetaData;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
public class ChatListener implements Listener {
@EventHandler
public void onChat(AsyncChatEvent e) {
e.setCancelled(true);
Player player = e.getPlayer();
User user = LuckPermsProvider.get().getUserManager().getUser(player.getUniqueId());
if (user != null) {
CachedMetaData metaData = user.getCachedData().getMetaData();
String prefix = metaData.getPrefix();
if (prefix != null) {
prefix = prefix.replace("&", "§");
Bukkit.broadcast(Component.text(prefix + player.getName() + " §8• §7" + e.message()));
}
}
}
}```
Why does it send me sutch bunch of things into the chat? -> e.message())
desync could make it so the model of a mob is placed differently on the client currently for someone standing beside me
?fork
SpigotMC maintains the Spigot server. If you are using a fork of Spigot (such as Paper, Airplane, Purpur, or other derivative works), you should seek support in the appropriate Discord servers.
only reason I could think that might be true is if they have a resource pack that changes the models? But in that case how is that the responsibility of the server? I would probably go with the model idea and then possibly see about supporting resourcepacks later on
dont have to support resourcepacks
sorry i am new to this wdym?
as i said, super private plugin
only like 2 people will be playing on the server
this @thorn hearth
oh okay sorry
I would go with the bounding box idea then, also ender dragon is like 16 entities if I remember right
?whereami
@thorn hearth
nice community
yeah its uh... not going to be a fun experience trying to make that
trolled
🙂
ye
good news, the api allows for getting all the parts of the entity in a set easily 🙂
he left
enderdragon has it, and its part of complexentity api
this was supposed to be a simple plugin
i think what im going to do
is give up
and use rectangle geometry and bounding boxes
lol
just bonemeal the end portals
spigot: like... a trillion by now?
me: 0
no portal no problem
well its a plugin for a youtuber's challenge video :p
itll be him and his mate playing
well its like every some time a color becomes barred and if he touches it he dies
but not only blocks, he also wants to include items and mobs of that color
if he holds an item of that color then he dies
touches a mob of that color
you get the point
hm
you can get away with a lot of nonsense if its only like 3 people in a world
read, computer intensive shit
he told me to do items and mobs if possible
items are possible, easily but mobs is what im wondering about
See I can tell you how YouTubers normally do this
They just have someone watching with a /kill command ready
well he wants to do it legit
mobs are somewhat easy
ive made a few other plugins for him too
the whole concept's somewhat easy
somewhat isnt reassuring
we just assign colors to stuff and we use color distance algos
HMM
Let's say I ban green
now you are talkin
I can go over every texture in the game and pick a couple colors from it
reminds me of K means clustering for no reason
so that potato is mostly yellow with a lil brown
if I ban yellow how close are potatoes to that yellow
nonoononono
does anyone have any good ways of centering lore/displaynames for items aside from excessive spacing and checking?
ion have to do the deciding on what item gets banned
Realistically every character has width and you know the full lore
he will give me a list of
color : [items, mobs, blocks]
what i actually realistically have to deal with is the
touch -> die
So you can calculate the width of each line
Get the max width and center everything relative to that
i have a very very inefficient idea
just wondering if someone has made like a method to do so once before
alternateively, use monospace font and numbers
i genually like the looks of default font
in a 50 block space around the place i go over every single item and entity, and make it a point in vector space (and update this every tick)
and if the player gets to within a specific distance of that point then he dies
the distance could be diff for diff stuff
so for blocks its 1 meter
for mobs itd be like roughly the size of the mob
for items its just checking when they hold it
but then touching a block diagonally wont work because thats sqrt(2) meters not 1
holy shit i hate this
that's a lot heavier than just checking the blocks around the player
but then id get a block thats next to the player but what if the models arent actually touching
uh. just check the bounding box, which doesnt rotate, against the entities and blocks around the player
yeah i think ill have to stick to the bounding box idea
int[] offsets = {-1, 1}; // Learned this pattern from minikloon lmao
for (int x : offsets) {
for (int z : offsets) {
...
}
}
some sacrifices have to be made
or you can just grab the player's hitbox, expand it by like 0.2 and see what blocks it intersects
yeahh ill just be doin that
yeah you can
if i can filter entities
so problem solved lol
have fun with the colors :V
ok ok ok now all i have to do is muster up the courage and will power to open IntelliJ
weekly sacrifice
truly the most daunting task
dunno if I've been burnt out or just distracted but I haven't been coding much this week
find someone who has a house cat and pet it
You mean steal it
no, then you have to pay for it
im saying to drain the social interaction the owner wants from the cat into yourself
i can steal without paying
get a rubber ducky
or your version of a rubber ducky
my rubber ducky is an infinity cube
my rubber duck is throwing money at the cafe at the street corner and drinking unhealthy amounts of cocoa
my backup rubber ducky is one of those yellow foam balls with a smiley on it, i just throw it against the wall and tire myself out and voila i found the solution to world hunger
not struggling for solutions tbf just struggling for discipline
that was back when i was doin competitive programming
i too wish for true discipline
CP has taught me a lot of good programming techniques but it failed to teach me to pay attention and stuff
if it works it works
oooo @worthy yarrow you got competition
lets say i wanted to rip off hypixel skyblock pets
That’s a regular duck, bet he doesn’t have a cyclops duck
how much is that in freedom dolleroos
i should probably get an actual rubber ducky for good measure too
~1
like less than a dollar with the exchange rate when i was there
that's a good price
Anyone know how I can remove specific characters from a string?
String#replace?
thanks!
what is the most optimal way to connect my plugin with an external payment api
I have 12 rubber duckies, some bigger and some smaller, it's a lil family of rubber duckies
Simply doesn’t beat my bag ‘o ducks
Is there any like API or something that anyone suggests for Plugin -> Discord Web Hook?
jda works for bots, prob has support for webhooks asw
might be a little bloated for a simple webhook but its p easy to use
You don’t need to use an API for web hooks. Especially if you want to keep your jar smaller and less overhead.
You can just use payloads and construct the web hooks yoyrslef with some utility class.
oooo
thank you! been searching for ages and couldn't find anything 😭
but jda still works prob
appreciate it! thanks for your help ^^
Anyone know of some good PacketEvents API tutorials/resources? Other than one video on YT and the getting started page I cant find much.
Check out their getting started docs. It's basically pretty stragiht forward
?nms
public static void changeSkin(Player player, Property property) {
GameProfile p = ((CraftPlayer) player).getHandle().getGameProfile();
sendPacket(player, new ClientboundPlayerInfoRemovePacket(List.of(player.getUniqueId())));
p.getProperties().removeAll("textures");
p.getProperties().put("textures", property);
sendPacket(ap, new ClientboundPlayerInfoUpdatePacket(ClientboundPlayerInfoUpdatePacket.Action.ADD_PLAYER, ((CraftPlayer) player).getHandle() ));
}
guys when i change my player skin it works just fine but i don't see myself in the tablist, but others do... help plz
I might be wrong but I assume the texture data for the player would be cached locally
You can pretty easily spoof it with a fake tablist player with a random uuid
this bug? - Unresolved dependency: 'de.tr7zw:item-nbt-api🫙2.13.2' https://paste.md-5.net/sageqatecu.xml - pom
i not use NBT but maven need this
HMMMM allow me to steal that
Any idea on how to check if a DamageEvent came from a mace smash vs a regular mace hit?
Nope
nope as in, not possible, or nope as in you dont know?
Nope as in i have no idea
okay then why feel the need to reply? There are 1600 other people online right now, should every single person respond "nope"? Makes sense if you were the recipient of the message but you werent.
Idk why i replied, i just did, can i not do what i want to now?
I thought freedom existed
yeah its just not helpful.
Then they ignore my reply
whats the difference between a "regular" anda smash attack?
They asked a question, i answeared
In code, I don't think there is a semantic difference between a regular and a smash attack. A regular attack would just be a single swing, such as with any item, and a smash attack would be an attack initiated after falling.
I don't think the API exposes this, and I don't think there is even a difference in internal code.
For this you could just get player velocity before impact.
public static boolean canSmashAttack(LivingEntity entity) {
return entity.fallDistance > 1.5F && !entity.isFallFlying();
}
I'd just replicate that in code
API should have all of those values exposed
Yeah looks good. Just meant I don't think the API exposes it's own method to check
Does not make much sense to do so yea
Where u doin all that coding at
@mortal vortex ^
its called a codeblock
No idea what that is
why exactly are you in this channel @sage perch
Uhh like, where do yall do all that coding stuff
an IDE?
Wdym why?
No idea
troll?
you arent asking for help, you arent helping people, this happens to be a help channel
I am asking for help...
ok, what do you need help with?
So the place yall put all the codes like this, what or where is that
we use our keyboards to type code on our computers
What exaclty is your understanding of what this channel is?
Yes but where do you type it
an IDE
ide
and then we compile it
Not anythin to do with you
sorry big man
Ye idk what that is
ok
Then why are you in this channel?
Lol it was not meant to be mean or smth
have yon considered using google
i have the perfect link for you
it will solve all your problems
?learn java
Bro, tp get help where tf i put them codes
@sage perch pay close attention to my next message
Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.
there
Will do
its an amazing place
;-;
?learnjava
For Beginners:
Codecademy - Learn Java: Interactive Java programming course from basics to more advanced concepts. Perfect for absolute beginners.
https://www.codecademy.com/learn/learn-java
JetBrains Academy - Java Developer Track: Learn by doing with projects and challenges. It covers Java fundamentals to advanced topics.
https://www.jetbrains.com/academy/
Udemy - Java Programming Masterclass for Software Developers: Updated courses that cover Java 8 to Java 17 features. Suitable for those who prefer structured learning.
https://www.udemy.com/course/java-the-complete-java-developer-course/
For Intermediate to Advanced Learners:
Oracle Java Tutorials: The official guides by Oracle for Java programming—great for understanding the depth of Java.
https://docs.oracle.com/javase/tutorial/
Baeldung - Learn Java and Spring: Focus on Spring Framework and modern Java technologies. Best for intermediate learners aiming to expand their knowledge.
https://www.baeldung.com/
Practice and Hands-on Learning:
Exercism - Java Track: Solve exercises and get feedback from mentors. Great for practicing coding skills.
https://exercism.io/tracks/java
LeetCode: Practice your coding skills and prepare for technical interviews with Java.
https://leetcode.com/
Free Resources and Documentation:
Java Programming and Documentation: A comprehensive collection of Java programming guides, tutorials, and API documentation.
https://docs.oracle.com/en/java/
Community and Support:
Stack Overflow: A vast community of developers. Great for getting help with specific problems or understanding concepts.
https://stackoverflow.com/questions/tagged/java
r/learnjava on Reddit: Join the community of Java learners and get advice, share resources, and discuss projects.
https://www.reddit.com/r/learnjava/
Remember: Learning to program takes practice and patience. Don't hesitate to experiment with code and participate in community discussions. Happy coding! 🎉
Can you actually explain what it is you're asking though? Are you looking to develop a plugin?
if you have more questions then follow thiese links
Help implies you have some fundamental knowledge first.
yeah for them to help you, you need to know the basics
This isn't "we teach you java"
We help under the premise you know what you want and have a rough idea where to start
Im rly just tryna learn, so wanted to know where yall put those codes you do, if its like a website or something idk
Not expecting that at all, just asked a question and now yall be going all crazy
Coding is a big world and there are a lot of ways to approach it
You first pick a language that suits what you have in mind (for plugins it's usually java)
You put code in a program, which allows you to type it, view it, inspect errors, and build it. This program is called an IDE.
@sage perch you want to learn java
we gave you the exact links that will help you learn java
this may be a help channel but this also understand the context, this is help related to SPIGOT development
and we expect you to have prior knowledge
This was a much better explanation
Actually second time, someone already told him how to earlier.
A regular text editor will also work but you will be missing a lot of features
And then based on that you write code in that language in your IDE
Some tools work better for some languages
Some languages are compiled and in that case you'd really be better off using an IDE opposed to a text editor, for example
I do not have knowledge, i am currently learning the basics, it was just a single question cuz u didnt know where yall did it, so calm down please
i am calm
Hella ppl crashing out over a naive moment
you wish to learn the basics, however we are not here to teach anyone java
Doesnt seem like it tbf
Let him learn what he needs to know first
you are welcome to learn, here are all the links you need to get started
What you do not fucking understand, is that im not looking for a teacher or shit, I JUST HAD 1 QUESTION
That's not gonna teach him about setup
alright alright
were you able to find an answer to that question from the messages above or would you like us to explain further
Anyways, assuming you want to make a plugin in Java, it's time to pick your tools
For your IDE I'd recommend IntellIJ IDEA
I mean yall told me i code in an IDE and ill be abke to get more info on that later so i dont need further explaination
alright
you can also use notepad.
I dont know what that is
enjoy!
Java projects will need a "build system" that manages your dependencies as well, usually the main argument there is maven vs gradle, with gradle being the preferred one lately
Look it up
its an ide
Will do
IntelliJ is an IDE for writing Java code. The free version of IntelliJ literally has no caveats and is perfect for Spigot development. No real reason to pay anything.
Once you have IntelliJ you might want to look for the extension "Minecraft Development" which kind of streamlines your setup.
I see
Once you've got your project set up feel free to look up setup instructions and we've got plenty of guides for writing pretty much anything
The Minecraft development extension is alright but ramps up your ram usage by a lot iirc
I use it, meh
to start writing spigot plugins you first need to learn java ?learnjava command and for writing spigot plugins you can ask for help here and watch tutorials on youtube
Ideally in a perfect world you'd begin by learning at least the basics of java so you can have a rough idea of what's going on before writing plugins
But you will also need to understand code. Code, as the name implies, is a strict set of instructions for a computer to follow. You can't just write anything. The way in which a program is written is called syntax and varies per Language. Just as with spoken and written languages, you will want to understand the rules of the language you're working with.
Just so you aren't limited by your syntax and having to learn two different things at once
And also to have to ask for help less times
i assume this is the first time you would be programming anything so its probably a good idea to take it slow and also learn good coding practices
As it's something a lot more broad with a lot more info out there
Good coding practices up on pins if you need em
(read em after learning java)
Im pretty bad at taking things slow when i have under a month to learn the basics of java spigot
And just take it slow, we've all been at it for years and my code 10 years ago was a lot worse than it is now
why do you have under a month to learn the basics of java spigot
Not important
If it's self-imposed then whatever
I just need to learn it
Self what?
It's when you define it yourself vs having a gun pointed at your head
But why one month? it's kinda important? Are you working for someone and they have imposed a deadline, or if you've set a goal for urself? it probably wont be done in a month.
I've brought ppl to the industry in less than 2 weeks it'll be fine
Spend the first week setting up and learning java basics
well it is actually because learning takes time unless you are some kind of prodigy
and learning your first ever language, that too java, and for spigot development will take a while
Then look up a challenges list and do it all
well its his first language
or first time every really coding even
or interacting with this stuff
That's an assumption
weakling attitude, it takes however long you need, this is different per person
its quite clear actually
Still an assumption
well either way, good luck to that guy
Not my problem
Not exaclty. I understand not knowing an IDE, some people just use notepad. but simply not knowing what code is, or where you enter it for things to go beep boop, kind of gives off vibes of having no exposure to programming.
GLHF
this is what i was trying to express
I fully understand that it takes time, but it does not rly change the fact that i have under a month to learn the basics
Doesn't make it factual
But why do you have under a month?
why is your time limited to one month
good luck then
we cant help a lot beyond this point till you start the process of learning
Thanks
I see
as to why you have a deadline of 1 month is anyones guess
my guess is he's taken up some development position and now has to speedrun learning./
my first guess too
Me when I get a job I’m not qualified for
every job for me
but i cant be some big position if he has 0 experience to show
I need to get a job at a minecraft server basically
you "need" to?
is it a big server?
also, "need"?
if you are hoping to get a real job in this market with a month of experience then i have some bad news
you would genuinely be better off working at a mcdonalds, they'd pay more
that is if you want a job asap because money
+1 agreed.
im alright with some random dude giving me 6.50/hr because im a student with free time, think its fun to code and am fortunate enough to not actually need the money
I don’t think SiliQon is trying to discourage you either.
It’s still definitely a fun hobby to learn, and once you practice it, you definitely can go places, both in the Minecraft scene but in real life if you are able to apply your Java experience hands on. But doing it purely thinking you’re going to get a paid development position is probably going to give you a bad reality check.
I mean im not obligated to, but if i want the job i need to learn the basics within a month
Yes, quite big
debatable
it's simple, just start replacing your life with 24/7 development and you'll be in a psych ward by the end of the month, no more need for money
lmfao
Its not rly a real job, i wont get paid either
hey @echo basalt where are we watching the mc movie
its an interesting position that you are in
I have a job, its kind of more like a hobby
if it's a hobby and you're not getting paid then you shouldn't be in a time crunch and you should take your time learning things methodically
+1
Me when I speedrun hobbies
But if it’s a hobby why are you targeting a server specifically? Like actually trying to become a staff member? When you could just do it for yourself.
Gotta get a good rank on speedrun.com
java any%
I could take my time but, dev applications open up around twice a year, and i dont rly wanna wait that long
spigot pr any%
I want to be staff at the server, so thats why i wanna learn the basics
if its really that big a server then you would have a better chance getting in by building up experience
I wouldn't want to join any place that would take someone with literally less than one month of programming experience if you can call someone still actively learning java as having programming experience from just learning the language
When it comes out, dummy
there are some open rn
minigame dev applications are always open
usually
that shit better have a midnight showing wherever it is we go watch it
backend(?) dev, full time open rn, I don't remember if front or back end
I know i would, but if i can learn the basics they would let me in, and then they will help me learn and improve in coding
yeah hypixel does have some open rn
??
?? We're talking about mc movie
these are the tech ones open rn
What server is it. And what makes you think they’ll pick you and not a senior staff member. Like what makes you keen on getting the job.
Have you already spoken to them and have they given you a deadline like “learn xyz and you’re on the team”. Or are you expecting it to just happen.
hypixel job any% time
Kids movie, am expecting an 8am show full of toddlers
isn't it hytale
am i required to have a college degree to apply for hypixel or the only "base" requirement being 18
I am genuinely not going if it's going to be full of kids as funny as that might sound to say about a kids movie
hypixel studios in general
I would literally rather rent the entire room
Or y'know just wait a week
it's still going to have kids one week in
whens the mc movie comin out
just sit at home and desperately wait for it to be added to 1337x instead?
Baller move to rent out a room tho
midnight showing would be the play
We can try
let me see how much it is to rent the entire thing
literally go to any night showing
I just wait for the youtube reupload 💀
Pull some strings and have a private show
someone will do it
bad bitrate
Don’t worry guys my dad is friends with Jack black
Their requirements is to learn the basics and be 16, im turning 16 in around a month, so ill have around a month to learn it and then i can apply, and they would probably choose me over anyone else as long as i fulfill the requirements, i was a mod erator for over 6 months
bold of you to assume my eyes are good enough to see the difference
I don't have contacts in the movie biz
My dad lost our house playing black jack :(
oh you sweet, sweet summer child
you don't need any
?
nos cinemas has a rental system for rooms for just this
Oo
moderation experience is irrelevant as a dev lol
yeah
How much
that's what I'm trying to figure out
Its not the point, they would still choose me since i have been staff already and know their system and rules better than anyone
there's one literally a 7 min walk from my place
and it's usually vacant
I figure it can't cost that much
that would be so baller to just get a room lol
Well, just start with a youtube series and grind that through
I bet we could get a dirt cheap room at midnight tbh
What server is it @sage perch I’m actually curious. Even dm me if u want.
I can rent out a room here but I gotta send an email to their marketing dept
same here
I figure the cost is probably dependent on the theater
when is the movie coming out?
Prolly gonna be 3-4 figures
Wouldn’t that be more expensive because it’s out of regular business hours?
Early april, no?
hmmmmmmmm
I don't think it's that much my dude
they do this for kids' birthday parties
Doubt it's fiddy bucks
Depends on the theater tbf
yeah for sure
The one at your shopping center was full
Tbh we did go see a horror movie at like 1am
or forum
Forum
ah yeah
forum gets more traffic
alma is usually emptier
I swear that would be so hilariously baller to get a room for this
We might just for the memes
Hotbox the room if you dare
The true high roller experience
3rd but 4th is the safe bet
Doesn’t that mean farting or something.
well it just has to be post release, they're not going to give us an early screening
we're not that high of high rollers lol.
It's gonna cost a few hundo for me to pull up and stay overnight anyways
Nope, smoke
OH. I thought it’s when you fart in a car or sum
Specifically the funny plant
same
Yoo
it has to be in the morning though, that's the only bummer
That's ok
yeah it's whatever
I can pull up the day before, get some cheap airbnb
told you it was going to be cheap
wait a second the minecraft movie is coming on april 4
Was expecting a bit more because cleaning and not selling 200 seats
i didnt know they had a release date
oh they said it's up to 20 people
more would cost more
but uh
it might be like
what
2-3?
Close enough
Might bring my homie if he has time
We'd need something else to do on top
talked to a homie too, he's in as long as it's not on a date he doesn't have work
so like up to 4 people I guess
I'm thinking date night where we cook a batch of 20kg of chicken
tf are you going to do with 20kg of chicken
the only bowling alley I knew of around here closed down
at least I think it did
you know what
I might go to it in full suit and tie too
either that or I have to get a blue t-shirt to cosplay steve
Its called BendersMC
i think ive heard of it
It is not as big as hypixel, donutsmp or such, but its prretty big with 160k members on the discord or smth
we need steve and alex at least
or yeah a full three piece suit
(which I'd have to buy)
does PAPI javascript expansion even allow formatting with
the symbol :
%javascript_example:(input)%
(he means PAPI expansion)
there is no javascript in minecraft afaik
but, papi does allow arguments, which just have to be parsed by the plugin that made the placeholder
the placeholder is just a string of text and a plugin can read that however it wants
Hey ! How to edit name above player head ?
can someone help me with that?
basically the "/duel <player>" command was working the entire time
I changed something in listener class and it just broke itself
scroll down to the "Caused by" part
this is the entire error wdym scroll down
Hey!
that is the actual error
nicknames im pretty sure
oh
it is the nickname above player head ?
you mean smth like that?
p is my player variable
put this into your onJoin eventlistener
String customName = "<your custom name>";
player.setCustomName(customName);
player.setCustomNameVisible(true);
i want to edit the name above player head
yes but i don't want to edit the nickname
wdym?
you wanna edit this?
my nickname and name above player head it's not the same
dude
I dont understand you
what is the difference between name and nickname 🤣
you wanna do ranks or something?
wait what is the dif between
player.setDisplayName(nickname);
player.setCustomName(nickname);
idk didnt test
maybe one is on tab or chat
and the other might be above head
maybe test around first?
try displayname first then if it doesnt do what you want
use the setcustonname if this also doesnt work... chatgpt igf
thx
given a list<location> a direction stored in a normalized vector and a sphere denoted by a location and a radius, how do i calculate where the projected location list impacts the sphere?
im assuming it involves vector or matrix math (linear algebra; shortest distance to center from a line?) but tbh i have no clue
i really dont want to do an iterative projection
so like
you have a line and a sphere?
and you wanna know where that line intersects the sphere in 3d space?
something like this?
ye
you could make use of the perpendicular distance formula to get the x,y,z coordinates of where the line impacts the sphere and then if you know the center of the sphere and the radius you can get the point on the spheres outside where its impacting it
but for this we must assume that A is tangent to the circle O
the line touches the circle O at exactly one point and the angle created by the radius and the line is 90 degrees
yea this is meant for projecting a 2d shape onto the surface of a sphere
could you give an example illustration of what you are trying to do
sounds like decals
ah i see what you wanna do
so you have the shape in the form of points
^
and then a direction of how it hits the sphere?
well, ideally i would project the splines but im not smart enough for that
so i generate the 2d shape and project that
you basically send a bunch of lines toward the sphere and want the coordinates of where the line intersects with the surface of the sphere
and then you wanna calculate where each point lands on the sphere based on that?
yep
hmmm
perhaps this might help
you definitely will need to use some heavy math for this
Learn OpenGL . com provides good and clear modern 3.3+ OpenGL tutorials with clear examples. A great resource to learn modern OpenGL aimed at beginners.
if it helps it helps
does this exist for java too? 😅
eh, ill figure out where to find it later
math first
Are you just doing ray sphere intersections?
yea and i just realized the stackoverflow thing wont help
bc i want to project along a vector, and not towards the spheres centre
yeah like I said i think its the same logic as decals use in games
https://github.com/lambdabaa/RayTracer/blob/master/ray/ray/surface/Sphere.java ill just steal this
ah fuck no license
aka all rights reserverd
what if you just
borrowed it
and changed the code slightly
and then kept it indefinitely
or read it, understand it and write your own
if you dont hate maths then yeah you can do that too
well i dont im just stupid
maths starts being fun the moment it clicks
same with physics
chemistry can go fuck itself
everything ever be like
chemistry is like, amazing
I know jackshit
but I love it
all i know is that they build supercomputers to simulate proteins
biology is just chemistry in a trenchcoat
can u tell me how to do when ever the player join the server/world he will spawn at the same location always
Use the PlayerSpawnLocationEvent
its an event you use to code a plugin
oo we have use it in skript ?
then
Hello, could anyone suggest some ideas on how to trace the origin of or fix this error that is crashing my server?
https://pastebin.com/jQ0q5GLk
ask pandaspigot
it happends no matter what server jar i use
they are the best place to go as they are a designed 1.8.8 fork, 99% of peolpe here wont provide support for it
pandaspigot is in active development even so if you're using that you should 100% report the issue to them
/give devan_mysterio minecraft:netherite_helmet[minecraft:item_model="flashartifacts:satanic_helmet",minecraft:equippable={asset_id:'flashartifacts:satanic_armor', slot:"head"}] 1
I'm trying to convert this to item meta how do I do that persay? I'm looking through the itemmeta and can't find anything for assest id for equippable stuff
don't mind this mess but
fun satanicLeggings(plugin: FlashFun): ItemStack {
val name = "† Satanic Leggings †"
val lore = // TODO
return ItemBuilder(Material.NETHERITE_LEGGINGS)
.amount(1)
.meta { meta ->
meta.displayName(
Component.text()
.append(Component.text(name))
.color(NamedTextColor.DARK_RED)
.decoration(TextDecoration.ITALIC, false)
.build()
)
meta.lore(lore)
meta.itemModel = NamespacedKey("flashartifacts", "satanic_leggings")
meta.setMaxStackSize(1)
meta.isFireResistant = true
meta.persistentDataContainer.set(
NamespacedKey(plugin, "satanic_leggings"),
PersistentDataType.BYTE,
1
)
// Equippable component
meta.equippable.apply {
slot = EquipmentSlot.LEGS
model = NamespacedKey("flashartifacts", "satanic_armor")
setEquipSound(Sound.ITEM_ARMOR_EQUIP_NETHERITE)
isDispensable = false
isSwappable = true
isDamageOnHurt = false
}
}
.build()
}


