languages api - configuration
-
path by default - "plugins/languages api/config.yaml"
Code (skript (Unknown Language)):# this is a list of all the language options (you create it)
languages:
- en_US
# this is the default language from the "languages:"
default language: en_EN
path by default - "plugins/languages api/languages/%language%.yaml"
Code (skript (Unknown Language)):# is a list of language "keys"
# keys are used to access the function, for example:
#
# on join:
# set join message to st("en_US","join message",(player)) => set join message to "Hi %player%"
#
strings:
# "%1" will be replaced by an additional argument under the number 1, for example:
#
# command language api:
# trigger:
# message st("en_US","custom args",(3,2,1)) => message "3 // 2 // 1"
#
join message: Hi %1
custom args: %1 // %2 // %3
back to plugin page on spigotmc.org - Loading...
- Loading...
XenCarta PRO
© Jason Axelrod from 8WAYRUN.COM