--- id: messages title: Messages --- # Introduction Almost all of the messages inside of Plex are fully customizable. This page will document how to change messages in the ```messages.yml``` file inside the Plex folder. ## Default file The default `messages.yml` file is below. ```yaml title=/plugins/Plex/messages.yml # Plex Messages File # Messages in here will be placed in for certain commands, actions, etc. # Warning: not all commands have customizable messages # Base color - the main color prefix; will be used following each of the messages below # Broadcast color - the color used when broadcasting a message # Error color - the color of an error; will be used when an error is thrown from a command baseColor: "7" broadcastColor: "b" errorColor: "c" # 1: Appeal URL # 2: Reason # 3: Expiry # 4: Punisher banMessage: "&cYou have been banned! You may appeal at &6.\n&cReason: &6\n&cEnd date: &6\n&cBanned by: &6" test: "this is a test message!" # 1: the command sender's username variableTest: "variable test with !" playerNotFound: "Player not found!" worldNotFound: "World not found!" # 1: the world you have been teleported to playerWorldTeleport: "You have been teleported to ." # 1: the command sender who opped everyone oppedAllPlayers: " - Opped all players on the server" deoppedAllPlayers: " - De-opped all players on the server" # 1: the person who is opping # 2: the person who has been opped oppedPlayer: " - Opped " # 1: the person who is freezing # 2: the person who has been frozen frozePlayer: " - Froze " # 1: the person who is unfreezing # 2: the person who has been unfrozen unfrozePlayer: " - Unfroze " noPermission: "You cannot use this command!" # 1: the login message (uncolored) of the rank required to use the command noPermissionRank: "You must be at least to use this command!" noPermissionNode: "You must have the permission: to use this command!" noPermissionInGame: "You must be in console to use this command!" noPermissionConsole: "You must be in-game to use this command!" # 1: the username of the name history nameHistoryTitle: "Name History of " # 1: a username of the found user # 2: when the user changed to that username nameHistoryBody: " - ()" # 1: the username that failed nameHistoryFail: "Something went wrong while trying to retrieve name history of ! Try again later!" nameHistoryDoesntExist: "Couldn't find this user! Please check if your spelling was correct and this player exists" gameModeSetTo: "Your gamemode has been set to ." setOtherPlayerGameModeTo: "You set 's gamemode to ." playerSetOtherGameMode: " set your gamemode to ." setEveryoneGameMode: " - Changing everyone's gamemode to " consoleMustDefinePlayer: "You must define a player since you are running this command from console." newAdminAdded: " - Adding to the admin list" adminRemoved: " - Removing from the admin list" adminSetRank: " - Setting 's rank to " teleportedToWorld: "You have been teleported to the ." higherRankThanYou: "This player is an admin and a higher rank than you." playerNotAdmin: "That player is not an admin." playerIsAdmin: "That player is already an admin." rankNotFound: "The rank you entered was not found." rankMustBeHigherThanAdmin: "The rank you entered must be higher than Admin." consoleOnly: "This command can only be executed by the console." yourRank: "Your rank is: " banningPlayer: " - Banning " unbanningPlayer: " - Unbanning " playerNotBanned: "That player is not banned!" teleportedToWorldSpawn: "Teleporting to the local spawn" toggleCommandSpy: "CommandSpy has been " enabled: "enabled" disabled: "disabled" ``` ## Troubleshooting If you receive `No message.` when executing a command, it is likely you need to regenerate your `messages.yml` file. The default configuration file is also available on [GitHub](https://raw.githubusercontent.com/PlexDevelopment/Plex/master/src/main/resources/messages.yml).