mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-10-19 06:48:24 +00:00
33 lines
958 B
Plaintext
33 lines
958 B
Plaintext
#Customtext
|
|
&6This is the custom text commands file.
|
|
|
|
&6This file allows you to define custom text commands.
|
|
|
|
&6You can create a specific file for a user or a group:
|
|
&6Name it custom_username.txt or custom_groupname.txt
|
|
|
|
&6You can use multiple pages, for example type:
|
|
&c/customtext 2
|
|
|
|
&6To add a custom command you need to do three things:
|
|
&e-&9 Add a section below in the custom.txt
|
|
&e-&9 Add a line to the commands.yml aliases section
|
|
&e-&9 Give players access to 'essentials.customtext'
|
|
|
|
To add /vote, add this to commands.yml:
|
|
vote:
|
|
- customtext vote $1-
|
|
|
|
&6The following commands can also be customized:
|
|
&c/rules /motd /news /help
|
|
|
|
&6These support chapter customization such as:&c /rules grief
|
|
&6You can use custom aliases with these commands too.
|
|
|
|
#vote
|
|
If you add the correct alias to commands.yml
|
|
This text here will be shown if you type /vote
|
|
|
|
#stafflist,onlinestaff
|
|
&6Online Staff:
|
|
{PLAYERLIST:MODERATOR} {PLAYERLIST:ADMIN} {PLAYERLIST:OWNER} |