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
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
Tis' very easy
I know hahaha
Tis' download the source code
I just want to make sure
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'hahahaha
so I would do mvn package ./path
Just
mvn package
Run it in the same folder as the pom.xmlthen execute path
hm?
ohh i get what you mean
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
so just do in the same folder as the pom.xml and that's it?
Yep
The jar will go to the
target/out
folderI 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
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
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
Okay awesome thanks sm youre actually so quick btw