You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
###What is PlayerLangAPI ?
1
+
###What is PlayerLangAPI ?
2
2
3
3
PlayerLangAPI is a library enables developpers to use translations on client side dynamically.
4
4
@@ -7,17 +7,17 @@ This plugin is only compatible with 1.13+ versions (until Mojang changes languag
7
7
I haven't tested in 1.13.x and 1.14.x but I think it should work because the format of lang hasn't been updated since 1.13
8
8
9
9
10
-
###Why use this library?
10
+
###Why use this library?
11
11
Usually several plugins use stored object names without taking into account the client's translation or the object name is fixed and if the client changes language, he will always see the old name.
12
12
13
13
This plugin in the form of a library gives you the possibility to use the languages used by the client. However, you will have to master the "TranslatableComponent" (see https://www.spigotmc.org/wiki/the-chat-component-api/#basics)
14
14
15
-
###How use it ?
15
+
###How use it ?
16
16
Currently, it's rather difficult to use since I don't have a Maven directory, but I'll find out more about that in a few days.
17
17
You can however use the library by compiling it and using the local repository.
18
18
19
19
20
-
###Usage
20
+
###Usage
21
21
22
22
If you want to send the name of the stone sword according to the player's language (null example but it is an example) :
0 commit comments