Summary:
- German language added - Config update - /cr reload command updated - /cr check command updated - /cr language command updated - /cr help update
German language: This language is now added! Thanks Produktecheck! Config update: - If you make an mistake in the config you now will get a message after /cr reload
Added: 5 You can now set your language in the config (do not forget /cr reload!) 11 You can now disabele the cr-language command
messages.yml
Code (YAML):
1 messages:
2 plugin:
3 menu:
4 plugin:
5 '1': '&3
---------- &1ChatRadius &3
----------'
6 '2': '&2Version &aV'
7 '3': '&aDo /cr help for a list of commands!'
8 '4': '&2Plugin made by'
9 '5': '&3
------------------------------'
10 help:
11 '1': '&3
---------- &1ChatRadius &3
----------'
12 '2': '&2/cr &aMain command'
13 '3': '&2/cr help &aHelp menu'
14 '4': '&2/cr radius &aSee the current chatradius'
15 '5': '&2/cr set &aChange the current chatradius'
16 '6': '&2/cr check &aCheck which permissions you have'
17 '7': '&2/cr language &aChange the language of the plugin
(en|nl|de
)'
18 '8': '&2/cr reload &aReload plugin'
19 '9': '&3
------------------------------'
20 command:
21 language:
22 wrong: '&4Error
: &cYou can use only en
(English
), nl
(Dutch, Nederlands
) or
23 de
(Deutsch, German
)!'
24 wrong2: '&4Error
: &cUsage: /cr language <language>!'
25 set:
26 correct: '&aThe chatradius has been set to &6'
27 correct2: ' &ablocks!'
28 wrong: '&4Error
: &cUsage: /cr set <radius>!'
29 plugin:
30 wrong: '&4Error
: &cYou can use only en
(English
), nl
(Dutch, Nederlands
) or
31 de
(Deutsch, German
)!'
32 wrong2: '&4Error
: &cUsage: /cr language <language>!'
33 current-chatradius: '&bThe chatradius is currently &6'
34 current-chatradius2: ' &bblocks!'
35 reload:
36 default: '&aPlugin reloaded and set to default settings!'
37 normal: '&aPlugin reloaded!'
38 permissions-check:
39 permission: '&aYou have the permission &e'
40 no-permission: '&cYou don''t have the permission &e'
41 commands:
42 not-enabeled: '&4Error
: &cCommand is not enabeled in the config!'
43 not-found: '&4Error
: &cCommand not found, do &e/cr help &cfor a list of commands!'
44 no-player: '&4Error
: &cYou aren''t a player!'
45 no-permission: '&4Error
: &cYou don''t have permission to use this command!'
46 config:
47 '1': '&4Config Error
: &cYou can only use true or false
(line 1
)!'
48 '3': '&4Config Error
: &cYou can only use a numer
(line 3
)!'
49 '4': '&4Config Error
: &cThe chatradius is empty, please fill in a number
(line
50 3
)!'
51 '5': '&4Config Error
: &cYou can use only en, nl or de as language
(line 5
)!'
52 '7': '&4Config Error
: &cYou can only use true or false
(line 7
)!'
53 '8': '&4Config Error
: &cYou can only use true or false
(line 8
)!'
54 '9': '&4Config Error
: &cYou can only use true or false
(line 9
)!'
55 '10': '&4Config Error
: &cYou can only use true or false
(line 10
)!'
56 '11': '&4Config Error
: &cYou can only use true or false
(line 11
)!'
Added: 47 Config Error in line 1 48 Config Error in line 3 49 + 50 Config Error in line 3 51 Config Error in line 5 52 Config Error in line 7 53 Config Error in line 8 54 Config Error in line 9 55 Config Error in line 10 56 Config Error in line 11
Commands Updated: - /cr reload (Console spam fixed) - /cr check (The broadcast and language permission added) - /cr language (You can now use de as language
- /cr help (If a command is disabeled in the config it will not longer show in the help menu)
- "Bug" fixed from V1.7
Bug:
Sometimes there were type errors in the config because of retyping every message
Fix:
I use now Strings (you only need to type the message one time) to prevent type errors