#help-development
1 messages · Page 456 of 1
What???
If you aren't using maven or gradle
Ya'll don't know how to read
It goes in the root folder
Omg guys
Pls
this is how it has to look like in eclipse
In which folder?
plugin.yml has to be in the root folder, NOT in src
Oh ok
like this
But u just put plugin in src
no
w
If it was it would be indented more
Then why is it under SRC?
When you select export you ensure plugin.yml is ticked in teh export pane
yeah that looks good
now File -> Export -> Java -> .jar file and then check plugin.yml
like this ^
its been years since I used export
same - 4 years
Änderungsdatum - least difficult german word
drop your exported jar in here
Thx
if it's still not working
uh oh
show a screenshot of your export dialog pls
thats not maven
i missed a not in my message
So?
why can't i damage a player in PlayerJoinEvent 😭
stairs have nbt to store direction right ?
screenshot your export window
or only tile states for blocks
i have a player.damage(15000.0) in my PlayerJoinEvent, which is now delayed by TEN TICKS
Oki
iirc you can damage more than their health
event.getPlayer().setHealth(event.getPlayer().getHealth ()- 10);
no shit
damage them their health
yes shit
there's errors in your project, looks like it doesn't even compile
it normally works properly, i tried running it on an online player
Your project is showing it has an error
did you accidentally unregister the class?
no
happens to me once in a while
debug
What’s the diagnosis?
fix your compile errors
stage IV cancer
I can’t
theres a red x on your project. it's not compiled
it successfully changes the gamemode from spectator to survival, but the damage does not go through
I don’t know how to do that in the first place
look at teh error window below your IDE
I asked to chatgtp to do a plugin for me
💀
any ideas? please 😭

Do you know Java?
no
?learnjava
Here are some links to get you started on learning Java:
- https://www.codecademy.com/learn/learn-java
- https://www.sololearn.com/learning/1068
- https://www.learnjavaonline.org/
- https://programmingbydoing.com/
- https://docs.oracle.com/javase/tutorial/java/index.html
The last one is the only official one, however some of those concepts assume that you already know a bit about programming.
Fr
?learnjava!
hm
Here are some links to get you started on learning Java:
- https://www.codecademy.com/learn/learn-java
- https://www.sololearn.com/learning/1068
- https://www.learnjavaonline.org/
- https://programmingbydoing.com/
- https://docs.oracle.com/javase/tutorial/java/index.html
The last one is the only official one, however some of those concepts assume that you already know a bit about programming. https://media.discordapp.net/attachments/694661573125472256/998143126373941248/6n0v4g.gif
sniped
oh wow
Don't make plugins
learn java, then make plugins*
Guys but I need that plugin
or do both
can i change keybind in intellij using text?
it breaks with alt
when exporting and it shows errors, click on "Details" and it shows you the files that are broken
Sorry but you really do need at least a basic understanding of Java
yep you sniped me
ah
YES, exactly it says that
me dum
then open those files and check Problems -> Errors
You can change keybinds yes.
But I just ignore it
it works by checking what keys i press tho
don't ignore code problems like you ignore your life problems
i want to type the key name myself
wait alex on eclipse ?
i learnt that lesson the hard way
because clicking alt does nothing
Yes but I can’t correct them
feed them to chatgpt
It changes my lines
better yet, learn java.
this is why you need basic java
?learnjava
Here are some links to get you started on learning Java:
- https://www.codecademy.com/learn/learn-java
- https://www.sololearn.com/learning/1068
- https://www.learnjavaonline.org/
- https://programmingbydoing.com/
- https://docs.oracle.com/javase/tutorial/java/index.html
The last one is the only official one, however some of those concepts assume that you already know a bit about programming.
😭
wait so your telling me i shouldnt add @SupressWarnings("all") to all of my classes
what utalking about
Egitto trying to compile sth with compile errors
Guys, does anyone know how to make a plugin that alerts u whenever a guy on the server destroys a block that isn’t his block?
sure
A block that he didn’t place
just add meta to every block that equals the player uuid, once the uuid differs start crying
?learnjava!
Here are some links to get you started on learning Java:
- https://www.codecademy.com/learn/learn-java
- https://www.sololearn.com/learning/1068
- https://www.learnjavaonline.org/
- https://programmingbydoing.com/
- https://docs.oracle.com/javase/tutorial/java/index.html
The last one is the only official one, however some of those concepts assume that you already know a bit about programming. https://media.discordapp.net/attachments/694661573125472256/998143126373941248/6n0v4g.gif
Sure, just hook into coreprotect and listen for block break events.
NO NEVER
not meta though
guys i think
?blockpdc
use block pdc
Learn about CustomBlockData here:
https://www.spigotmc.org/threads/custom-block-data-persistentdatacontainer-for-blocks.512422/
?learnjava
Here are some links to get you started on learning Java:
- https://www.codecademy.com/learn/learn-java
- https://www.sololearn.com/learning/1068
- https://www.learnjavaonline.org/
- https://programmingbydoing.com/
- https://docs.oracle.com/javase/tutorial/java/index.html
The last one is the only official one, however some of those concepts assume that you already know a bit about programming.
then don't ask here
well yeah pdc
we had the same idea
just block that troll
I don’t have time fr
There is already a plugin called GriefPrevention which does what you are asking
Is there a way to trigger terrain to start loading before a player gets sent over to another server using a plugin message
But, is there anyone willing to help me in the mission?
you can request a commission
no
or learn while making plugins but you shouldn’t ask basic questions here
someone that'll code for you
anyone would if you pay them
Then don't try chatgpt can't code well and if you don't understand it yoh won't gett help
mfnalex
where do i open an issue
for what
of what
Here
?jira
the cat type related methods in org.bukkit.entity.Ocelot should be marked as deprecated
jesus fucking christ yall should stop sniping my messages
lmao
Yea but I don’t want a claim thing, I want literally an alert
ocelots still exist in the game
Be a better sniper. ;p
Player destroyed “block” at x y z
why?
frens where does intellij flatpak store keybinds god bless 🙏
that will send you alerts
if you have the correct permissions
They have a flatpak?
Ocelot.Type
Deprecated.
Cats are now a separate entity.
Wdym?
as all things should
Flatpak is amazing 👏
Yeah getCatType should be deprecated
this is deprecated
grief prevention stops people doing it all together, they dont need staff to go stop them
Sir this is spigot
if you use snaps i can only pray for you
Well I want that staff go stop them
uh yes ik
plEASE WHY????
Bukkit.getScheduler().runTaskLater(plugin, Runnable {
println(4)
player.persistentDataContainer.set(Constants.DEAD_WARRIOR_KEY, PersistentDataType.STRING, Constants.NOT_DEAD_WARRIOR)
player.persistentDataContainer.remove(Constants.DEAD_WARRIOR_TIMER_KEY)
player.gameMode = GameMode.SURVIVAL
println("gameMode = ${player.gameMode}")
player.damage(player.health)
println("health = ${player.health}")
player.resetTitle()
plugin.kingdomManager.pendingSpawns.remove(player.uniqueId)
}, 10L) // thought the delay would fix
?whereami sir
why, just dont allow it in the first place
why doesn't the player fucking die
just gimme a deb file
chat is popping today
why doesn't the damage go through
seems like a way too pointless use of staffs time
oh my god
Bc it sucks
omg seggsitto
Is the trusting part of ocelots still in new versions?
grief prevention stops them even breaking a block in a claimed raea
area
just learn java 👍
Well staff could do that too
they could
Yes
What's the issue it legit says why it's deprecated
it would be a huge waste of time
the methods in the ocelot class arent
just dont add players that will destroy your stuff :)
That’s what a staff member should do
the methods regarding that class
anyone breaks a block that isnt theirs and oop theres a staff member
The enum is deprecated but not the methods
Yea
But
not everything like that is greifing
iam using protoclib to spawn , teleport custom armorstand , sometime when i join the server the players are bugeed like the video
Is anyone here willing to write me a ez peezy plugin for me? Like help me with all etc
staff are going to get overworked quite quickly
get intellij
@onyx fjord Look under ~/.var/app or ~/.local/share/flatpak
write it for you? doubt it
Isn’t the same as eclipse?
sure, give me money
Here are some links to get you started on learning Java:
- https://www.codecademy.com/learn/learn-java
- https://www.sololearn.com/learning/1068
- https://www.learnjavaonline.org/
- https://programmingbydoing.com/
- https://docs.oracle.com/javase/tutorial/java/index.html
The last one is the only official one, however some of those concepts assume that you already know a bit about programming.
are you coding or requesting a plugin.
if you are coding learn java
if you are requesting whip out the cash
Wdym
this is a conditional sentence
If u would like 10 cent sure
do you want me to explain english to you
lmaoo
please leave
No
okay then, go learn java
no one is going to spoon feed you the code
Im saying that I don’t have cash
too bad, then you don't have a plugin
oof
I could pay with bancomat tho
you can hire shit devs for around 10 dollar
This guy is stupid lmao
tf is bancomat
no java knowledge, no cash, no plugin
ATM probably
and no bitches
Yes
Is that a crypto shitcoin
I‘ll make my own plugin, with blackjack and hookers
But is here anyone willing to help, not make
"help"?
i will make the plugin egitto described.. for my own smp
Yes
by help do you mean spoonfeed you the code
what the fuck is help if you can't code
Good idea
Make sure it's closed source
of course :)
And can't be installed for free
Wdym, are u making my plugin for your server 🙀
just make a portal that converts a mc gf into a real one
yes
"your plugin"
and i will buy that
bitch it isn't your plugin
make sure to share it with it having loads of shutdown calls
it doesn't exist
Can I convert my irl gf into a minecraft gf
Looking forward to see your strip bar plugin
Well my concept so it is mine
yes
then sent here to me
Is there a way I can get the amount of objects ahead of a specific one in the Queue<> interface?
then it's yours
Does she have java edition?
dont
NEIN
define help
for money yes
girls overrated
Except it's already been done before and already publicly available on spigot right now.
but otherwise no
you keep saying help, you mean spoofeed
Explain me what to do etc
we are not going to spoonfeed you
learn java
Is there a way I can get the amount of objects ahead of a specific one in the Queue<> interface?
1st: learn java
?spoonfeed
I don’t want to, I already got school and stuff
HEY MAN
?spoon
Spoonfeed a newbie for a day and they'll come back with more questions. Teach them to find their own answers and you'll both be better off: you won't get stuck answering the easy questions and they'll be much more productive than before.
CHILL WITH THAT LANGUAGE
Same though
you CANNOT code plugins if you don't know java
jesus resurrected today and you speaking like that
haven't seen curses before?
shut up jesus
same
I know the basic tho
Ahead of a specific one? You always only have access to one
i'm 15, i have school and exams coming up soon
heavily doubt that
Im 16
he literally died so that you can eat chocolate eggs today man
cool
didn't ask
I‘m 28
No bc I can’t without anyone helping me
but you like chocolate eggs dont you
this dude is a lawyer, has a full time and still can code plugins
so you dont know enough of java/spigot api
so you dont know the basics
what forbids you to, egitto?
Then I guess I need to create my own implementation
This chat is so annoying today lmao
no
I love it
Anyone know if there is a way to trigger terrain loading similar to the /server [server] command? I can't seem to find anything
Laziness unwillingness to learn or commit time
It's moving faster than I've ever seen.
Yeah lol
true
If I’m on a car with 0 experience in driving, the law says that I need someone next to me
yup
Use threads they may be genuinely useful rn
if you're in a car with 0 experience in driving you shoulsn't go on a highway
Yes
Is there some kind of hook I can use to get every exception that bubbles all the way up from a plug-in
specifically in a country that isn't home to you
Not trying to handle them just want to log them specially
But you try to talk others into driving you around for 10 cents
?learnjava
Here are some links to get you started on learning Java:
- https://www.codecademy.com/learn/learn-java
- https://www.sololearn.com/learning/1068
- https://www.learnjavaonline.org/
- https://programmingbydoing.com/
- https://docs.oracle.com/javase/tutorial/java/index.html
The last one is the only official one, however some of those concepts assume that you already know a bit about programming.
no, you start on small and not used roads and level up to highways
but?
we answered you wont listen
Is there anyone here to help me?
?spoon
Spoonfeed a newbie for a day and they'll come back with more questions. Teach them to find their own answers and you'll both be better off: you won't get stuck answering the easy questions and they'll be much more productive than before.
yeah you can ask alex
read
he codes plugins
Yes, check it out:
105$ an hour
?learnjava
Here are some links to get you started on learning Java:
- https://www.codecademy.com/learn/learn-java
- https://www.sololearn.com/learning/1068
- https://www.learnjavaonline.org/
- https://programmingbydoing.com/
- https://docs.oracle.com/javase/tutorial/java/index.html
The last one is the only official one, however some of those concepts assume that you already know a bit about programming.
interested?
@quaint mantle Use the resources they sent above
he knows his shit
Kody Simpson is good if you are more of a video learner
yep
hve we reached troll level and ping chococococo
just feed chatgpt
kody simpson was the one i started with
make the ai more stupid
But guys be serious, that plugin I just explained to u, do u think it’s a basic medium or large competency?
In Java
depends
What about homer simpson
medium probably
I'd say medium personally.
Easy to medium
On what
alex could do it in 1-3 hours i reckon
Anyways is anyone able to help with this
would cost you 100-300$
1 hour?!?!?!
your effort to learn
I tho like 20 min
guy argues and fills chat cringe
bitch 20min go and code it
My plugin?
you won't
not yours
We’ll for you it’ll take a lot longer because you need to learn Java
You guys should just block him lol
New*
you just dont understand
Oh
I am
Man
I am chilling in the bathtub lol
Thx
if you knew basic java you could make a plugin (x for doubt
Dope
But can anyone help?
show spigot
Like help
?docs
Show me your spigot 
@quaint mantle
- https://www.youtube.com/watch?v=fkKBJQ0K9xE watch this
- learn java
I've always struggled with procrastination and doing hard things even when I knew it was for my own good. And if you've ever felt stuck and unmotivated, like you fight with your brain to accomplish anything, you know how it feels. But, there is a way we can trick our brains into doing hard things, even when we don't feel like it. If you have no ...
I know only how to write the first 4 lines
someone do a ping choco and see if he listens to staff
..
^
im out of words
i know how to write a title for a book
Nah don't ping Choco
name:
description:
author:
version:
i'm gonna write a book now
ima go make evening pancakes
Poor guy doesn't deserve this
LM
O
A
ping md
Dope
Aren't those auto generated?
got it
Nah but below
They can be
yeah
for plugin.yml sure
Wtf is that?

kody simpson on youtube
Your main class....
but first actually learn java
I just followed a tutorial
Oh God no
And made this shit that isn’t even working
Just learn Java
you asked chat gpt
yeah i said that exactly.,,
You said you followed ChatGPT. That's not a tutorial.
you said it 10 min ago
Java is also an island
egitto, learn island
For the lines, but to install and put this line export it I followed a tutorial
Interesting didn't know that
In indonesia i think
and coffee
kotlin is also an island in russia i recall
dude
Yeah, hawaii or java
You can't be a real person
You are the one being silly
you don't be silly
Is this our future?
This guy can't be real
People like egitto?
Guys be direct
ok
Anyone here willing to help MeV
Never underestimate people. You'd be surprised how far people can go (both directions)
you want me to be direct
?
What do you need help with?
Like how? Omg
I hope not or ill be carrying my entire generation by myself
like step by step
With a plugin
like look up a tutorial
Dont help them
like look up a java tutorial
they want spoonfeeding the codee for a plugin
you know youtube right
It's not worth it
look up youtube
the fact you know what main is a big red flag
learn java
What do you want it to do
look up java tutorial there
Y’all are being trolled
actually follow it
Alerts me whenever a guy destroys a block
maybe i am
That isn’t his block
idc
You never know he could be real
People are idiots
Yea
No point in continuing to respond though
tbh i'd be more upset if i am not getting trolled rn and the dude is actually like that
True
you are the people
Imo in order to verify everyone must pass a basic java exam
I think there are already plugins for that friend
if i'm trolled i'd at least be relieved that the dude isn't like this
Iam a person what do u mean by that?
Can someone help me with my thing though? 😭😭
unfortunate
I want to know whenever an exception makes it all the way to the console
Can u send me one? Bc u tried and they don’t work
Oh okay thanks
you are the person hes talking about in this context
I want to log just exceptions specially
still laughing my guy
People in general, I didn’t think about a person named Egitto
Whenever an event happens or a command is called and a plug-in throws an exception
Hmmm are you using an external program or what
Or a plugin
well egitto, i wish you bad luck, cya never, i'll go have a tasty meal now and think about how i'm so good at java and kotlin and spigot api because i took my time to learn them
No
bye
I could use an external program
I want that he alerts me don’t claim it
But I’d prefer a plug-in if possible
Enjoy
I'm pretty sure it does my friend
who wants to do the pingo of chococo the chocococo
ty ❤️ have a good one
NOOO, pls help
Maybe I can hook into log4j?
Hmmm with a plugin I'm not sure with an external plugin just trail log and regez
Fair
Hooking into log4j sounds promising
You could add a custom filter if you want to intercept all console output
Idk if theres a better way
Anyone here wants to help me?
I’m okay with getting all ERROR too I guess
Ooops wrong server
@quaint mantle
use ecplise or intellij
go on websites and learn java
go search for java coding stuff
+there is books
hope this is helpful
bet thats meant for paper isnt it
Bros mad while im making pancakes
Ok, but how much does it take?
He cannot read
get money and pay someone
Like 30 min
30 minutes is a short day
who?
I already got physics that per se it’s difficult
Ok officially convinced this person can not be real
So
Look up an intro to java tutorial
I am
Ok what is pV = m/M *RT?
7
Ik its easy but answer
I’d
But then the plugin wouldn't be finished... They want the plugin in 30 min
Idk
lol
They can watch it on 1.5 speed, then they got 10mins left
Yes formula of what
I think they're asking what it's used for
player Vault = magma / Mushroom * Ratio Time
Why stop at 1.5x speed
Of warmth?
no
Its definitely magma/mushroom
Yeah 30 min per section You're gonna have to watch a lot faster than that
Correct
So is anyone here free to help?
Maybe he can play all sections at once in different tabs
Nein
Like in explaining stuff
What needs to be explained
?learnjava
Here are some links to get you started on learning Java:
- https://www.codecademy.com/learn/learn-java
- https://www.sololearn.com/learning/1068
- https://www.learnjavaonline.org/
- https://programmingbydoing.com/
- https://docs.oracle.com/javase/tutorial/java/index.html
The last one is the only official one, however some of those concepts assume that you already know a bit about programming.
I prefer to download the videos onto a microSD and then eat it
I'll help you out
Absorb the info through digestion
Thx <33
Good idea but microsd cards cost money
What do you need explained
bros still here asking for help
Message digest
Idk those are hard to eat
Lol
success maybe?
i need to get a microSD for my switch 
Don't it take normal SD
isnt SD like the size of a CPU and microSD is like the size of a SIM card
it is storage lol
i was comparing the size not what it is..
ah
idk i think the SD card i have is about the same size as my Ryzen
maybe thinner but
you sure thats not a wii expansion card
yo @buoyant viper lets make a frog army
Wii uses normal SD
frog deco on top
true
Huh switch is micro sd
yeah
whole spigotmc will be frogs soon enough
I guess I am thinking of the game carts
figured
i have like a 32gb one in there but im gonna need moar powa
forgot WD owns? SanDisk... its all Western Digital now 
Does return cancel the current execution of a scheduled task?
return ends the execution of its method. If it's in a repeating task, it will stop that cycle, but if it's non repeating, then technically yes it will end that task.
From my understanding yes unless it's in a try catch finally block
Dm me
Mmm egitto do you like these egg whites?
My Dm's are open
@quaint mantle is that what you wanted?
Hahahaha
Did you do the pdc with uuid?
diamond spitz hackel
Real question though for someone else can you begin loading terrain before sending a player to another server
ByteArrayDataOutput out = ByteStreams.newDataOutput();
out.writeUTF("Connect");
out.writeUTF("Creative");
player.sendPluginMessage(main, "BungeeCord", out.toByteArray());
}```
Just mfn please dont betray us
I've tried looking around and haven't found anything
I believe you can
should be working in a few minute slol
Load client side or server side
but dont worry, it uses maven so they cannot copy paste anything
Also open a thread
Sure but like dont betray and send the plugin to egitto
Too many people here
?paste
never would I do that
ok video is processed in 144p now lol
❤️
Yes
Ha, I got 360p
check thev ideo, here's how to code it
https://paste.md-5.net/ekatezozoj.cs Can anyone explain why it isnt stopping when cancelTask is called?
Terrain Loading
You needed to cap the video quality to 144p so he couldnt copy it
Censored
Because you're not calling #cancel()?
BukkitRunnable#cancel() exists for a reason.
Fuck im out of oil gotta use butter
[Redacted]
Tried that too lol
Doesnt work
[Expunged]
And if you're asking if it reaches that point. Yes
Just use an include for **.class
It should. You have what your code looked like at that point?
Yes, but ive just tried it again. Doesnt work either :/
What's your code look like now?
?paste
What do you mean
Hmm, well if the method is being reached, it should be cancelling the task.
Have you tried a normal bukkit runnable?
How can I cancel a task after 10 seconds?
plugin.getServer().getScheduler().runTaskTimerAsynchronously(plugin, () -> {
if (timer.get() == 0) {
if (uuid == null) {
return;
}
queue.remove(uuid);
//Cancel the task
}
Hey, is it possible to remove a pack that was forced by the server without disconnecting ?
On the server or on the client?
If I try to make BukkitTask object and then task.cancel().
Says it might not be initialized
Use a BukkitRunnable
the pack that got sent to the user
So the pack that the client now use
Then don't use the scheduler and use a bukkit runnable instead.
use the consumer
runTaskTimer(plugin, task -> {
task.cancel()
Uhhh
how does that work again?
I should still use bukkit runnable no?
they said wrong server
Ye it’s fine
https://paste.md-5.net/atocomejec.cs like this?
Extend BukkitRunnable if you want your own runnable class. Otherwise use the consumer as Alex said
There's more to that but yes. You're missing the .runTaskTimerAsync at the end there.
Bukkit.getScheduler().runTaskTimerAsynchronously(this, new Consumer<BukkitTask>() {
private static final int MAX_RUNS = 10;
private int runs = 0;
@Override
public void accept(BukkitTask bukkitTask) {
runs++;
if(runs >= MAX_RUNS) bukkitTask.cancel();
}
}, 20, 20);
Yup
Variables I'm blind
You might be able to change the resource pack with Player#setResourcePack(), but there's a chance it might not work due to the checks that are now in place for both the server and the client.
real men use if ++runs >= max
I do recommend creating a separate class instead of doing this
or like this
new BukkitRunnable() {
private static final int MAX_RUNS = 10;
private int runs = 0;
@Override
public void run() {
runs++;
if (runs >= MAX_RUNS) {
cancel();
}
}
}.runTaskTimerAsynchronously(this, 20, 20);
or that
Ok thanks
or schedule another task that cancels the first one lol
BukkitTask task = getServer().getScheduler().runTaskTimerAsynchronously(this, () -> {
// do sth
}, 20, 20);
getServer().getScheduler().runTaskLater(this, () -> {
task.cancel();
}, 20 * 10);
lol
don't do that
but french people are
Idk sounds fake to me
🥖
wait maybe if i dont shade jmh
Lol this solved my problem with the thing not stopping on cancel thx
Very lightweight
did you use minimizeJar?
this looks better
this was fucking up
<filters>
<filter>
<artifact>me.fourteendoggo</artifact>
<includes>
<include>**.class</include>
</includes>
</filter>
</filters>```
damn discord still hasnt fixed their formatting
and no minimizeJar
what does that do anyways?
it should only include .class files and not all the other files you showed earlier
but me.fourteendoggo is not an artifact id
it should be me.forteendoggo:*
unless that works
idk
ah i was right then
it works so im never gonna touch it again
now resubmit my project ig
hello, im trying to learn plugin developement atm but i have some questions should i use java or kotlin or something else and does any1 have a good course on youtube for me that is still good for current time
java
Use java
ok
?learnjava
Here are some links to get you started on learning Java:
- https://www.codecademy.com/learn/learn-java
- https://www.sololearn.com/learning/1068
- https://www.learnjavaonline.org/
- https://programmingbydoing.com/
- https://docs.oracle.com/javase/tutorial/java/index.html
The last one is the only official one, however some of those concepts assume that you already know a bit about programming.
dont listen to the kotlin people
There's some resources to get you started
they probably meant to say to learn spigot
do you already know basic java?
Yes, but spigot is built with java, so it would help to know the language first.
you must know at least the basics of java before you start doing plugins
no but ill figure it out
many people don't even know the difference between a class and an instance and then they are like "why does this not work"
new NamespacedKey(NameOfMyMainClass, "blabla");
``` lol
Will getChunkAt automatically unload the chunk if no players are around?
https://blog.jeff-media.com/how-to-create-your-first-minecraft-plugin-using-the-spigot-api-and-maven/ here's how to setup maven + IJ for a basic plugin
alr ty
when you got that setup, you can take a look at some youtube videos, but ignore how they setup their project, and only look at the code. because usually they don't use maven or gradle, and that's not gooood
Well the code they write usually isn't good either
So maybe just skip the youtube tutorials
tbh I never watched any youtube videos about spigot, so idk
is this good
good enough
For old versions yes. If you're on a modern version like 1.19 then you need Java 17
or the server won't start
The server
You can write in java 8 and it will run just fine on java 17
The server needs java 17 to run though.
a plugin compiled with/for java 8 runs on all versions
idk what i did wrong with the word answering
I don't mind tags. Feel free
Is that normal the video’s quality is 360?
ahaha
Is that normal the video’s quality is 360?
Lol
lmao
I uploaded it with 2560x1440 and youtube shows it to me as 1080p
Lol
Im pretty sure that if you copy the video link into intellij it will automatically turn it into 4k 1080p
Could u please be serious?
Im also serious
He is serious
I uploaded it with 2560x1440 and youtube shows it to me as 1080p
what vid
it's even 1440p
Youtube will allow a video to be visible before all qualities can be viewed
:o
I guess Egitto hasn't reloaded the page
Which they need to do for the new resolutions to show
uhh ig thats my screen being bad
What's the workaround if I want to call a method that can only be called synchronously from a asyncmethod
player.removePotionEffect(PotionEffectType.BLINDNESS);
Use a new task to jump back to the main thread
or use aikars taskchain
im already confused what am i supposed to put as archetype (for version prob my server version)
maven-simple works just fine
Does this mean
Bukkit.getScheduler().runTask(plugin, () -> player.removePotionEffect(PotionEffectType.BLINDNESS));
I think we're on same page
getServer().getScheduler().runTaskTimerAsynchronously(this, () -> {
Bukkit.getScheduler().runTask(this, () -> {
// do synced stuff
});
}, 20, 20);
Highly recommend if you plan on jumping between threads often
Ok yes
i have no idea what that page is
havent used it but people say its good
hi guys, this isnt really a dev help question, but what minecraft sound is closest to a pistol firing sound?
Scratch that, I meant maven-quickstart
Use custom sounds
can u?
Yes
Of course
It hasn't been updated in a while but it should still work
You just need a resource pack
but with a recource pack
Oh, so much moment remembered in a picture 🥲
pov: paris
ovh stands for OVerHeated
maybe gravel breaking then
Nice
they dont say anything about the archetype and version setting. what am i supposed to set them to?
dolphin death1
probably dont need that
https://discord.com/channels/690411863766466590/1085564831890948156
anyone who got some tips and information there might help
Just use the maven-quickstart one.
don't use an archetype
just do "New Project"
yes
can i set jdk to 19 if my java version is 1.8? (idk if they are even the same thing)
yes
okok
I always use latest JDK but source/target level 8
that way you can access e.g. java 17 APIs but still compile for java 8
but you can't use the new Java 17 features :c
I don't need them anyway
ofc that won't work
Mojang has started using records now
:o
They're neat
I just meant that I can access the API of plugins that require java 17
Is instanceOf pattern matching bytecode compatible with JDK 8?
waiting for record classes now to remove the verbosity
talking about minecraft and java
i hate the JavaChecker.jar
stops you from using newer versions of java
Shame
am i allowed to use an _ in my groupid username?
yes
ok
I always use com.jeff_media
thats because he owns jeff_media.com
what if i use it?
close
will there be a problem
You will be sued
if you own a domain use it backwards, if not me.yourname would work
Real
why would you want to use other peoples domains lol
idk what they are
use me.emilioboy
a domain is something like spigotmc.org
If you don't own one usually you use me.username
Or you can use io.github.username iirc
fuck i dont own me.fourteendoggo
yeah
ye but how do i make sure that i own emilioboy domain
ow ok
com.destroytokyo
(real)
🤓
<!-- The GroupID is something like your personal "identifier" for maven. If you own a domain, you can just -->
<!-- use it in the backwards way, e.g. if you own "example.com", use "com.example". -->
<!-- You can also just use "me.yourusername" (obviously you have to replace "yourusername" with your username) -->
Look dms
no
Lol
Ur not my real mom
She just blocked me
alex is trans now?
Promoted from Fem boy to Fem ale
real
not that i know of
hes thinking of minecrafts alex
I thought it was the bee that was trans
They didn't have time for that
they dont have time to learn java but do have time to help people
So they're working on copying mfnalexs code
adds up
