-
Notifications
You must be signed in to change notification settings - Fork 1
TPAPlusPlus Server Management Command
SuperRicky14 edited this page Mar 28, 2024
·
3 revisions
This command needs a section of it's own, due to the amount of extra server-management utilities provided.
-
/tpaplusplus
• Running this command with no arguments will display the current version of the mod that is installed. -
/tpaplusplus reload
• Running this command will reload the configuration file, all options in the configuration file are able to be modified during runtime! Modifying certain options in the config during runtime (mainly teleport timeout and teleport accept countdown) will only work for teleport requests sent after this command was run. -
/tpaplusplus reload -force
• Running this command will reload the config, clear all pending teleport requests and death locations. This is a dangerous command, as players could lose access to their latest death, causing them to have to make their way back manually. However, this command circumvents the issue that occurs when you just reload it normally, as everyone will have to re-send their teleport requests allowing everything to apply properly.
This is an advanced and powerful command. It allows you to change the color-set that every single message in the mod uses. This will let you make the look and feel of your mod completely different to any other servers in a matter of moments!
-
How to use this feature, you may ask? It's simple, let's say you wish to change the default gold and red color theme to blue and light purple, and change the default red error messages to a nice green. First, you will find the color you want on this website, so for this example we have chosen
&3
for the blue color,&d
for the light purple color, and&a
for the green error messages color. - All you need to do now, is run
/tpaplusplus refactor messages color-set &6 &c &c &3 &d &a
then restart your game! This may look complicated, so let's break it down: -
"&6"
: This is the default gold color in the mod. -
"&c"
: This is the secondary red color that is used in the mod. Even though this color is the same as the error color, the mod is able to distinguish between it and the error color, because of the position this color code is in. The mod knows this is for the secondary color code, because it is the second color code. -
"&c"
: This is the color for error messages in the mod. Due to reasoning above, the mod also knows that this is the color for the error messages, because it is the third color code. - Now, the 4th, 5th and 6th color codes, are the colors you choose to use in the mod!
-
"&3"
: This will be the new main color, which is a nice blue. -
"&d"
: This will be the new secondary color, which is a nice light purple. -
"&a"
: This will be the new error color, which is a bright green. - Note: If you wish to set the main color OR the secondary color to be the same color as the error messages, you can do that. Although, the main color and secondary color CANNOT be the same, since there is no reasonable way to distinguish between the primary and secondary color when it is the same color code.
- Note: If your messages become corrupt and/or broken in any way shape or form, simply delete "tpaplusplus-messages.toml" from the config folder then restart your game, which will reset all of your messages back to the defaults.