jpenilla / TabTPS

Minecraft server mod/plugin to monitor TPS, MSPT, and other information in the tab menu, boss bar, and action bar.
https://modrinth.com/mod/tabtps
MIT License
219 stars 18 forks source link

[Feature Request] Add module customization #26

Open elhertz opened 3 years ago

elhertz commented 3 years ago

I love customization. I'd like to have raw data instead of "Ping: Xms" or "TPS: XX,XX" and then put my own text. Something like this:

footer-modules="The server is running on <tps> TPS "
header-modules="Your ping is <ping>ms"

Also toss some rgb or color codes in there and voila, perfect mod! Love ya, bye.

WarnDa commented 3 years ago

I agree with that.

I wanted to give the "/ping" command to players, but I'm a french server, and I can't translate this text, so I can't give them this command :/

jpenilla commented 3 years ago

I agree with that.

I wanted to give the "/ping" command to players, but I'm a french server, and I can't translate this text, so I can't give them this command :/

I think you're confused about what this feature request is for, localization is already implemented, see https://github.com/jpenilla/TabTPS/tree/master/common/src/main/messages/xyz/jpenilla/tabtps/common. You can add translations to the jar yourself or create a PR to share them with other users.

WarnDa commented 3 years ago

I agree with that. I wanted to give the "/ping" command to players, but I'm a french server, and I can't translate this text, so I can't give them this command :/

I think you're confused about what this feature request is for, localization is already implemented, see https://github.com/jpenilla/TabTPS/tree/master/common/src/main/messages/xyz/jpenilla/tabtps/common. You can add translations to the jar yourself or create a PR to share them with other users.

Thanks ! I didn't checked the .jar, I just checked if there were a config file to translate, but I'll translate throught the .jar, thanks a lot :)