Messages | This version introduces a messages.yml file. In this file, you'll be able to configure almost all messages in the plugin. You can even customize messages with hover and click events! Below you'll find all customizable messages:
Code (YAML):
# This is the Message file for all Simple Elevator messages. # # All messages are fully customizable and support color codes, formatting and ASCII symbols. # Set the Prefix and use %prefix% to add the corresponding prefix to a message. # Leave a message blank ('') to disable it. # # You can also create messages with Hover and Click events. Syntax options: (Space between comma and quote is NOT allowed) # - ["Message","/Command"] # - ["Message","Hover"] # - ["Message","/Command","Hover"] # - ["Message","/Command","Suggest"] # - ["Message","/Command","Hover","Suggest"] # You can add as many events to a message as you want. Example: # '%prefix% &cInvalid arguments! ["&c&n&oHelp","/se help","&aClick to get help!"]' # The "Suggest" tag is used if the click event should suggest the command. Default is Run. Prefix : '&7
[ &eSimple Elevators&7
] '
Messages :
General :
InvalidPermission : '
%prefix% &cYou do not have permission to do this!' PlayerOnly : '
%prefix% &cCommand can only be used as a Player!' InvalidArguments : '
%prefix% &cInvalid arguments ["&c&n&oHelp","/elevator help","&aClick to get help!"]' InvalidCreateInput : '
%prefix% &cInvalid combination and/or distance input!' InvalidMaterialInput : '
%prefix% &cCombination contains (an) invalid material(s).' InvalidElevatorDestination : '
%prefix% &cCannot place destination Elevator!' ElevatorDestinationOccupied : '
%prefix% &cDestination location occupied! Remove blocks at Destination.' ElevatorDestinationTooGreat : '
%prefix% &cDestination Elevator distance too great! Max: %maxDistance% blocks' UnknownCombination : '
%prefix% &cUnknown combination input! Combinations range from (1 - %combinations%)' ElevatorPlaced : '
%prefix% &aElevator successfully placed!' ElevatorNotPlaced : '
%prefix% &cCannot place an Elevator here!' ConfigurationsReloaded : '
%prefix% &aConfiguration files successfully reloaded!'
The file is automatically generated on reload/startup.
*Important* The following sections have been removed from the config.yml:
Code (YAML):
noPermission :
enabled : pluginPrefix:
These are not removed automatically, however, if you have made changes to these you'll have to change them in the new messages.yml file.