# This option is only used for updates and file conversions. configVersion: 4
plugin: # In this option you can set the language of the plugin. language: english
updateCheck: # In this option you can set if players with the permission 't2c.alias.updatemsg' will get an update message on join when an update for the plugin is available. onJoin: true
# In this option you can set whether you want to receive and display beta and snapshot versions in the update check. seePreReleaseUpdates: true
# In this option you can set the time interval in minutes in which updates should be checked. timeInterval: 60
buy: # With this option you can set whether a confirmation should be sent after the payment for an alias for which you have to pay. message: true
# With this option you set the currency. currency: $
confirm: # Here you can choose which confirmation method you want to use. (COMMAND, CHAT, GUI) use: COMMAND
gui: # # !! You can change the GUI name and the button texts in the language file !! # fillItem: # Here you can set if a fillitem should be used in the Confirm GUI. enabled: true
# Here you can set which fillitem should be used in the Confirm GUI material: BLACK_STAINED_GLASS_PANE
confirm: # Here you can set the material for the confirmation button. material: GREEN_WOOL
cancel: # Here you can set the material for the cancel button. material: RED_WOOL
subAlias: # Here you can set if subcommands should be displayed as tabComplete tabComplete: true
For Version 1.5
Code (YAML):
#################################################################### ## This is an example file and serves only for the explanation ## ## of the individual options. ## ## Changes in this file are not considered and will be reset! ## #################################################################### Alias: # Here you can disable the alias Enable: true
# Specify here what the Alias commands should be for this function AliasList: - aliasexample1
- aliasexample2
-
Permission: # Here you can say if a permission is needed to use the alias# Necessary: true
# Here you can set the permission for the alias. # The placeholder <[alias] is the alias name. # If you have set multiple alias referrers in the list 'Alias.AliasList' you have a permission for each alias. Permission: 't2c.alias.use.
[alias
]'
# Here you can set a custom No Permission message for this alias. If you want to use the default message, just leave this blank. CustomNoPermissionMSG: "" CooldownInSec: # Here you can set a global cooldown for this alias. # The value corresponds to the seconds. # At 0, the cooldown is deactivated. # The placeholder [alias] is the alias name. # Bypass permission: t2c.alias.cooldown.global.[alias].bypass # (The global cooldown is above the player cooldown). Global: 0
# Here you can set a player-specific cooldown for this alias. # The value corresponds to the seconds. # At 0, the cooldown is deactivated. # The placeholder [alias] is the alias name. # Bypass permission: t2c.alias.cooldown.player.[alias].bypass Player: 0
Cost: # Here you can say if you have to pay for the alias Enable: false
# Here you set the price Price: 0.0
# Here you define if the bypass is activated or if you have to pay despite the bypass (t2c.alias.buy.[alias].bypass). AllowByPass: true
# Here you can set if you have to confirm if you want to pay before executing the command # In the config.yml you can set under 'buy.confirm.use' if a command, a chatListener or a GUI should be used to confirm the command. Confirm: true
Command: # Here you can tell the alias to execute one or more commands Enable: false
# Here you can specify whether the command should be executed from the console of the server CommandAsConsole: false
# Here you can define if the command should be executed on the bungee. # For this option, BungeeCord must be set to true in config.yml and the plugin must also work on the proxy as a bridge. # (If it is to be executed from the proxy console, the CommandAsConsole option must also be enabled). BungeeCommand: false
# Here you can specify one or more commands to be executed. # Placeholder: [player] = The player who executes the alias Commands: [] Message: # Here you can specify whether the player should receive a message. Enable: false
# Specify here the message that the player should get. # Multiple lines can be used and placeholders are supported! # Placeholder: [player] = The player who executes the alias # # You can use Minecraft custom color codes: https://minecraft.fandom.com/de/wiki/Formatierungscodes # You can use the hover module from T2Code: # You can add a hover and/or clickable feature to all messages sent to players. # Use /*/ to separate the message. # Use [nl] to set a line break in a message or hover. # Hover message: <message >/*/<hover> # Message with hover and click function: <message >/*/<hover>/*/<action>/*/<actionValue> # Message only with click function: <message >/*//*/<action>/*/<actionValue> # Action: # - OPEN_URL - Opens a URL under the path specified in ActionValue. # - OPEN_FILE - Opens a file under the path specified by ActionValue. # - RUN_COMMAND - Runs the command specified by ActionValue. # - SUGGEST_COMMAND - Inserts the string specified in ActionValue into the player text box. # - CHANGE_PAGE - Changes to the page number in a book specified by ActionValue. # - COPY_TO_CLIPBOARD - Copies the string specified by ActionValue to the player's clipboard. # You can also use MiniMessage: # Wiki: https://docs.adventure.kyori.net/minimessage/format.html # WebUI: https://webui.adventure.kyori.net Messages: []
# Here you can specify that players with the permission () have a different function than other players. # For example, you can say that players should come to a certain point and players with the admin function only to the server to the position where they were before. # Example: # Player: /warp CityBuild # Player with Admin Perm: /server CityBuild Admin: # Here you can enable or disable the admin function Enable: false
# Here you set the permission for the admin function # The placeholder [alias] is the alias name. # If you have set multiple alias referrers in the list 'Alias.AliasList' you have a permission for each alias. Permission: t2c.alias.
[alias
].admin
Command: # Here you can tell the alias to execute one or more commands Enable: false
# Here you can specify whether the command should be executed from the console of the server CommandAsConsole: false
# Here you can define if the command should be executed on the bungee. # For this option, BungeeCord must be set to true in config.yml and the plugin must also work on the proxy as a bridge. # (If it is to be executed from the proxy console, the CommandAsConsole option must also be enabled). BungeeCommand: false
# Here you can specify one or more commands to be executed. # Placeholder: [player] = The player who executes the alias Commands: [] Message: # Here you can specify whether the player should receive a message. Enable: false
# Specify here the message that the player should get. # Multiple lines can be used and placeholders are supported! # Placeholder: [player] = The player who executes the alias # # You can use Minecraft custom color codes: https://minecraft.fandom.com/de/wiki/Formatierungscodes # You can use the hover module from T2Code: # You can add a hover and/or clickable feature to all messages sent to players. # Use /*/ to separate the message. # Use [nl] to set a line break in a message or hover. # Hover message: <message >/*/<hover> # Message with hover and click function: <message >/*/<hover>/*/<action>/*/<actionValue> # Message only with click function: <message >/*//*/<action>/*/<actionValue> # Action: # - OPEN_URL - Opens a URL under the path specified in ActionValue. # - OPEN_FILE - Opens a file under the path specified by ActionValue. # - RUN_COMMAND - Runs the command specified by ActionValue. # - SUGGEST_COMMAND - Inserts the string specified in ActionValue into the player text box. # - CHANGE_PAGE - Changes to the page number in a book specified by ActionValue. # - COPY_TO_CLIPBOARD - Copies the string specified by ActionValue to the player's clipboard. # You can also use MiniMessage: # Wiki: https://docs.adventure.kyori.net/minimessage/format.html # WebUI: https://webui.adventure.kyori.net Messages: [] Console: # Here you can define if the alias is also usable in the console and what it should do from there. Enable: false
Command: # Here you can tell the alias to execute one or more commands Enable: false
# Here you can specify whether the command should be executed by the Bungee console. # For this option, BungeeCord must be set to true in config.yml and the plugin must also work on the proxy as a bridge. BungeeCommand: false
# Here you can specify one or more commands to be executed. Commands: [] Message: # Here you can specify whether the player should receive a message. Enable: false
# Specify here the message that the player should get. Messages: []