Summary:
- New command
- New permission
- Config checker
- Config update
- New config
New Command:
- /cm language <en|nl> (Change the language from the plugin)
New Permission:
- chatradius.language -> /cm language
Config Checker:
- When you make a mistake on line 4,7 and 10-14 you will get a message and it will be corrected when you send the /cm reload command
Config Update:
config.yml:
Code (YAML):
1 reset
: false
2 plugin:
3 prefix
: '&7
[&aCustomMOTD&7
] '
4 language
: en
5 motd:
6 '2'
: '&2Test '
7 center
: false
8 '1'
: '&1Test '
9 commands:
10 cm-help
: true
11 cm-motd
: true
12 cm-set
: true
13 cm-check
: true
14 cm-language
: true
Added:
4 Here can you set your language (en = English, nl = Dutch (Nederlands))
14 Here can you edit the /cm language command (true = enabeled, false = disabeled)
New Config:
messages.yml (All messages will be stored here and you can translate them in your own language
Code (YAML):
1 messages:
2 plugin:
3 menu:
4 plugin:
5 '1'
: '
#00AAAA----------&a CustomMOTD &3----------'
6 '2'
: '&2Version &aV'
7 '3'
: '&aDo /cm help for a list of commands!'
8 '4'
: '&2Plugin made by'
9 '5'
: '&3
------------------------------'
10 help:
11 '1'
: '&3
----------&a CustomMOTD &3
----------'
12 '2'
: '&2/cm &aHead command'
13 '3'
: '&2/cm help &aHelp menu'
14 '4'
: '&2/cm motd &aSee the current MOTD'
15 '5'
: '&2/cm center &aCenter your MOTD'
16 '6'
: '&2/cm set <1-2> <motd> &aSet the server MOTD'
17 '7'
: '&2/cm check &aCheck which permission you have'
18 '8'
: '&2/cm language &aChange the language of the plugin'
19 '9'
: '&2/cm reload &aReload the plugin'
20 '10'
: '&3
------------------------------'
21 command:
22 motd:
23 '1'
: '&bCurrent MOTD
(line 1
)
: '
24 '2'
: '&bCurrent MOTD
(line 2
)
: '
25 center:
26 'true':
27 '1'
: '&aCentered MOTD has set to true!'
28 '2'
: '&aIf you do /cm set the MOTD will be automatically centered!'
29 'false':
30 '1'
: '&aCentered MOTD has set to false!'
31 '2'
: '&cIf you do /cm set the MOTD will be not longer automatically centered!'
32 set:
33 '1'
: '&bSet MOTD
(line 1
)
: '
34 '2'
: '&bSet MOTD
(line 2
)
: '
35 wrong
: '&4Error
:
&cUsage: /cm set <1-2> <motd>'
36 check:
37 'true'
: '&aYou have the permission &e '
38 'false'
: '&cYou don''t have the permission &e '
39 reload:
40 default
: '&7
[&aCustomMOTD&7
] &aPlugin reloaded and set to default settings!'
41 normal
: '&aPlugin reloaded!'
42 language:
43 wrong
: '&4Error
:
&cYou can only use en
(English
) or nl
(Dutch, Nederlands
) as
44 language!'
45 wrong2
: '&4Error
:
&cUsage: /cm language <language>'
46 config:
47 line:
48 '3'
: '&4Error
:
&cYou can only use en
(English
) or nl
(Dutch, Nederlands
) as
49 language
(line 3
)!'
50 '6'
: '&4Error
:
&cYou can only use true or false
(line 6
)!'
51 '7'
: '&4Error
:
&cYou can only use true or false
(line 7
)!'
52 '8'
: '&4Error
:
&cYou can only use true or false
(line 8
)!'
53 '9'
: '&4Error
:
&cYou can only use true or false
(line 9
)!'
54 '10'
: '&4Error
:
&cYou can only use true or false
(line 10
)!'
55 '11'
: '&4Error
:
&cYou can only use true or false
(line 11
)!'
56 commands:
57 no-player
: '&4Error
:
&cYou aren''t a player'
58 not-enabeled
: '&4Error
:
&cCommand not enabeled in config!'
59 no-permission
: '&4Error
:
&cYou don''t have permission to use this command!'
60 not-found
: '&4Error
:
&cCommand not found, do &e/cm help &cfor a list of commands!'
Images:
- Click
here
Download:
You can download this version in the Version History