change config
This commit is contained in:
@@ -7,6 +7,14 @@
|
||||
Alias:
|
||||
# Here you can disable the alias
|
||||
Enable: true
|
||||
|
||||
|
||||
# >>>>>> New 1.1 <<<<<< <<<<<<<<<<<<<<<<<<<<<
|
||||
AliasList:
|
||||
- alias1
|
||||
- alias2
|
||||
|
||||
|
||||
Permission:
|
||||
# Here you can say if a permission is needed to use the alias#
|
||||
# Permission: t2code.alias.use.<aliasname>
|
||||
@@ -37,28 +45,6 @@ Alias:
|
||||
# Multiple lines can be used and placeholders are supported!
|
||||
# Placeholder: [player] = The player who executes the alias
|
||||
Messages: []
|
||||
# With the TextBuilder it is possible to create messages with hover and clickable messages with actions.
|
||||
# !!! There is currently a poll on our Discord asking if this option should be removed !!!
|
||||
# To the poll: https://ptb.discord.com/channels/780682397950672897/915625982910672896/984228029297471529
|
||||
TextBuilder:
|
||||
# Here you can activate the TextBuilder.
|
||||
Enable: false
|
||||
# Set the hover here
|
||||
Hover: ''
|
||||
ClickEvent:
|
||||
# Here you can give the message a function when clicked on
|
||||
Enable: false
|
||||
# Specify here what should happen
|
||||
# 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.
|
||||
Action: ''
|
||||
# Here you set the value of the action.
|
||||
# For example, the URL for the link to be opened or the command to be executed.
|
||||
ActionValue: ''
|
||||
|
||||
# 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.
|
||||
@@ -89,28 +75,6 @@ Alias:
|
||||
# Multiple lines can be used and placeholders are supported!
|
||||
# Placeholder: [player] = The player who executes the alias
|
||||
Messages: [ ]
|
||||
# With the TextBuilder it is possible to create messages with hover and clickable messages with actions.
|
||||
# !!! There is currently a poll on our Discord asking if this option should be removed !!!
|
||||
# To the poll: https://ptb.discord.com/channels/780682397950672897/915625982910672896/984228029297471529
|
||||
TextBuilder:
|
||||
# Here you can activate the TextBuilder.
|
||||
Enable: false
|
||||
# Set the hover here
|
||||
Hover: ''
|
||||
ClickEvent:
|
||||
# Here you can give the message a function when clicked on
|
||||
Enable: false
|
||||
# Specify here what should happen
|
||||
# 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.
|
||||
Action: ''
|
||||
# Here you set the value of the action.
|
||||
# For example, the URL for the link to be opened or the command to be executed.
|
||||
ActionValue: ''
|
||||
|
||||
Console:
|
||||
# Here you can define if the alias is also usable in the console and what it should do from there.
|
||||
|
95
src/main/resources/SubAlias/X_subaliasDeclaration_X.yml
Normal file
95
src/main/resources/SubAlias/X_subaliasDeclaration_X.yml
Normal file
@@ -0,0 +1,95 @@
|
||||
####################################################################
|
||||
## To create another alias, simply copy the file ##
|
||||
## and name it what you want the aliascommand to be. ##
|
||||
## The alias command is always the filename without .yml!!! ##
|
||||
####################################################################
|
||||
|
||||
SubAlias:
|
||||
# Here you can disable the alias
|
||||
Enable: true
|
||||
|
||||
|
||||
# >>>>>> New 1.1 <<<<<< <<<<<<<<<<<<<<<<<<<<<
|
||||
SubAliasList:
|
||||
- subalias1
|
||||
SubAliasFor:
|
||||
- alias1
|
||||
|
||||
|
||||
Permission:
|
||||
# Here you can say if a permission is needed to use the alias#
|
||||
# Permission: t2code.subalias.use.<aliasname>
|
||||
Necessary: true
|
||||
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 (t2code.alias.buy.bypass).
|
||||
AllowByPass: 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
|
||||
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: true
|
||||
# Here you set the permission for the admin function
|
||||
Permission: t2code.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
|
||||
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: [ ]
|
Reference in New Issue
Block a user