Just wondering how I would build this Plugin

I am super noob, want to change the text that shows when executing some commands, but to do this I would have to from the src, once I have made the changes I want, how would I build this? I have gradle and have built plugins before but just don't want to do it wrong lol
18 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by guwad#0
Loudbook
Loudbook2w ago
Tis' very easy
GUWAD
GUWADOP2w ago
I know hahaha
Loudbook
Loudbook2w ago
Tis' download the source code
GUWAD
GUWADOP2w ago
I just want to make sure
Loudbook
Loudbook2w ago
Tis' open command prompt or terminal Tis' run the command mvn package Tis' locate the jar in out/whateverthenameis.jar I don't know why I keep saying tis'
GUWAD
GUWADOP2w ago
hahahaha so I would do mvn package ./path
Loudbook
Loudbook2w ago
Just mvn package Run it in the same folder as the pom.xml
GUWAD
GUWADOP2w ago
then execute path
Loudbook
Loudbook2w ago
hm?
GUWAD
GUWADOP2w ago
ohh i get what you mean
Loudbook
Loudbook2w ago
If you're on Winblows you can open terminal in the folder by right clicking in the blank space Btw, this is a pretty crusty plugin and it uses Maven instead of Gradle
GUWAD
GUWADOP2w ago
so just do
mvn package
mvn package
in the same folder as the pom.xml and that's it?
Loudbook
Loudbook2w ago
Yep The jar will go to the target/out folder
GUWAD
GUWADOP2w ago
I know this plugin isn't technically good but it works fine and does what it needs to so I resort to it awesome thank you
GUWAD
GUWADOP2w ago
also just to make sure, I assume I can just set "ChatColor.RED" to "ChatColor.AQUA" and it should work right? Dumb question but just want to make sure lol
No description
Loudbook
Loudbook2w ago
Yah, you can see a list of colors here too https://jd.papermc.io/paper/1.21.4/org/bukkit/ChatColor.html
ChatColor (paper-api 1.21.4-R0.1-SNAPSHOT API)
declaration: package: org.bukkit, enum: ChatColor
GUWAD
GUWADOP2w ago
Okay awesome thanks sm youre actually so quick btw

Did you find this page helpful?