poggit-orphanage / PurePerms

Manage your permissions like you did on Bukkit. The best permissions manager for PocketMine-MP.
https://github.com/PurePlugins/PurePerms
GNU General Public License v3.0
22 stars 43 forks source link

Japanese language loading error. #19

Closed ghost closed 2 years ago

ghost commented 6 years ago

when change config language to Japanese and run server will get this error.

08:40:59 NOTICE > PurePerms by 64FF00 & ProjectInfinity! #LEET.CC

  888  888    .d8888b.      d8888  8888888888 8888888888 .d8888b.   .d8888b.
  888  888   d88P  Y88b    d8P888  888        888       d88P  Y88b d88P  Y88b
888888888888 888          d8P 888  888        888       888    888 888    888
  888  888   888d888b.   d8P  888  8888888    8888888   888    888 888    888
  888  888   888P "Y88b d88   888  888        888       888    888 888    888
888888888888 888    888 8888888888 888        888       888    888 888    888
  888  888   Y88b  d88P       888  888        888       Y88b  d88P Y88b  d88P
  888  888    "Y8888P"        888  888        888        "Y8888P"   "Y8888P"

08:40:59 CRITICAL > ErrorException: "yaml_parse(): scanning error encountered during parsing: could not find expected ':' (line 171, column 1), context while scanning a simple key (line 170, column 1)" (EXCEPTION) in "src/pocketmine/utils/Config" at line 155
08:40:59 DEBUG > #0 (): pocketmine\error_handler(integer 2, string yaml_parse(): scanning error encountered during parsing: could not find expected ':' (line 171, column 1), context while scanning a simple key (line 170, column 1), string phar:///usr/local/minecraft/server/pmmp/PMMP.phar/src/pocketmine/utils/Config.php, integer 155, array Array())
08:40:59 DEBUG > #1 src/pocketmine/utils/Config(155): yaml_parse(string # PurePerms by 64FF00 (xktiverz@gmail.com, @64ff00 for Twitter)..# Original Japanese Translation by onebone (jyc00410@gmail.com).# Translated into fluent Japanese by haniokasai (11/04/2015) (htek@haniokasai.com, @haniokasai for Twitter).---.messages-version: "1.4.0_01".language: "jp".cmds:.  addgroup:.    desc: "......................................................".    usage: ".........: /addgroup <............>".    messages:.      group_added_successfully: "%var0%................................................".      group_already_exists: "............%var0%....................................".      invalid_group_name: ".......................................".  addparent:.    desc: ".........................................................................".    usage: ".........: /addparent <...........................> <...............>".    messages:.      addparent_successfully: "%var0%..................%var1%........................................". .      target_already_inherits: "...............%var0% ... ...................................................%var1%."     .  defgroup:.    desc: ".....................................................................".    usage: ".........: /defgroup <............> [............]".    messages:.      defgroup_successfully: "................................. %var0%.........................".      group_not_exist: "............%var0%........................".      level_not_exist: "............%var0%........................".  .  fperms:.    desc: "...............................................................".    usage: ".........: /fperms <...............>".    messages:.      no_plugin_perms: "...............%var0%..........................................".      plugin_not_exist: "...............%var0%........................".      plugin_perms_list: "...............%var0%......... (%var1% / %var2%) : ".  groups:.    desc: "..........................................".    messages:.      all_registered_groups: "........................%var0%".  grpinfo:.    desc: "......................................................".    usage: ".........: /grpinfo <............> [............]".    messages:.      group_not_exist: "............%var0%........................".      grpinfo_header: "-- %var0%........................ --" .      grpinfo_alias: "...............: %var0%".      grpinfo_default: "...............: %var0%" .      grpinfo_parents: "...: %var0%".  .      level_not_exist: "............%var0%........................".  listgperms:.    desc: "......................................................".    usage: ".........: /listgperms <............> <.........> [............]".    messages:.      group_not_exist: "............%var0%........................".      group_perms_list: "%var0%...................................................(%var1% / %var2%) : ".      level_not_exist: "............%var0%........................".      no_group_perms: "............%var0%..........................................".  listuperms:.    desc: ".............................................".    usage: ".........: /listuperms <...............> <.........> [............]".    messages:.      level_not_exist: "............%var0%........................".      no_user_perms: "...............%var0%..........................................".      user_perms_list: "%var0%........................... (%var1% / %var2%) : ".  ppinfo:.    desc: "PurePerms.........................................................".    messages:.      ppinfo_console: "..................PurePerms v%var0% by %var1%........................".      ppinfo_player: ".....................PurePerms v%var0% by %var1%........................".  ppreload:.    desc: ".........PurePerms.................................".    messages:.      successfully_reloaded: "..................................................................".  ppsudo:.    desc: "........................ ..........................................".    usage: "Usage: /ppsudo <login / register>".    messages:.      already_registered: "......................................................".      deauth_01: "......... v %var0% ..............................................................................".      deauth_02: "........................................................................".      deauth_03: "......................................./ppsudo ....................................".      invalid_sender: "............................................................".      login_usage: ".........: /ppsudo login <...............>".      not_registered: "...................................................".      password_too_short: "..................(%var0%)........................".      register_usage: "Usage: /ppsudo register <...............>".      successfully_logged_in: "........................". .      successfully_registered: "...................................................".      unregister_usage: "Usage: /ppsudo unregister <...............>" .  rmgroup:.    desc: ".................................".    usage: ".........: /rmgroup <............>".    messages:.      group_removed_successfully: "............%var0%........................".      group_not_exist: "............%var0%........................".      invalid_group_name: ".......................................".  rmparent:.    desc: "...........................................................................".    usage: ".........: /rmparent <...........................> <...............>".    messages:.      rmparent_successfully: "%var0%..................%var1%'.........................................."..  .  setgperm:.    desc: "..........................................".    usage: ".........: /setgperm <............> <......> [............]".    messages:.      gperm_added_successfully: "......%var0%.......................................".      group_not_exist: "............%var0%........................".      level_not_exist: "............%var0%........................".  setgroup:.    desc: "...................................................".    usage: ".........: /setgroup <...............> <............> <exp_time> [............]".    messages:.      access_denied_01: ".............................................%var0%....................................".      access_denied_02: ".................................%var0%....................................................................."    .      group_not_exist: "............%var0%........................".      level_not_exist: "............%var0%........................".      on_player_group_change: "...........................%var0%.....................!".      setgroup_successfully: "%var0%.......................................".  setuperm:.    desc: ".............................................".    usage: ".........: /setuperm <...............> <......> [............]".    messages:.      level_not_exist: "............%var0%........................".      uperm_added_successfully: "......%var0%...%var1%........................".  unsetgperm:.    desc: ".............................................".    usage: ".........: /unsetgperm <............> <......> [............]".    messages:.      gperm_removed_successfully: "......%var0%..........................................".      group_not_exist: "............%var0%........................".      level_not_exist: "............%var0%........................".  unsetuperm:.    desc: "................................................".    usage: ".........: /unsetuperm <...............> <......> [............]".    messages:.      level_not_exist: "............%var0%........................".      uperm_removed_successfully: "......%var0%...............%var1%...........................".  usrinfo:.    desc: ".............................................".    usage: ".........: /usrinfo <...............> [............]".    messages:.      level_not_exist: "............%var0%........................".      status_online: "...............!".      status_offline: "..................".      usrinfo_header: "-- %var0%......... --".      usrinfo_username: "......: %var0%".      usrinfo_status: "......: %var0%".      usrinfo_ip: "IP: %var0%".      usrinfo_uuid: "............ID: %var0%".      usrinfo_group: "............: %var0%".      usrinfo_exp: "ExpTime: %var0%".      unknown: "......".logger_messages:.  getConfigValue_01: "......%var0%...config.yml..............................".  getDefaultGroup_01: "...............................................................".  getDefaultGroup_02: "...................................................".  getDefaultGroup_03: "...................................................".  getGroup_01: "............%var0%........................".  getGroup_02: "............%var0%..................".  onLoad_01: "...................................................".  onLoad_02: "per-world........................)..............................config.yml...enable-multiworld-permission...true......................................................".  onLoad_03: ".............................................".  registerPlayer: "..................%var0%...........................".  setProvider_MySQL: "MYSQL......................................................".  setProvider_YAMLv1: "YAMLv1......................................................".  setProvider_YAMLv2: "YAMLv2......................................................".  setProvider_NotFound: "........................%var0%........................................................................".  unregisterPlayer: "..................%var0%...........................".  YAMLProvider_InvalidGroupsSettings: "GROUPS.YML.................................: groups.yml .............................................................................."........)
08:40:59 DEBUG > #2 src/pocketmine/utils/Config(86): pocketmine\utils\Config->load(string /usr/local/minecraft/server/pmmp/plugins/PurePerms/messages-jp.yml, integer 2, array Array())
08:40:59 DEBUG > #3 PurePermsGit/src/_64FF00/PurePerms/PPMessages(112): pocketmine\utils\Config->__construct(string /usr/local/minecraft/server/pmmp/plugins/PurePerms/messages-jp.yml, integer 2, array Array())
08:40:59 DEBUG > #4 PurePermsGit/src/_64FF00/PurePerms/PPMessages(39): _64FF00\PurePerms\PPMessages->loadMessages()
08:40:59 DEBUG > #5 PurePermsGit/src/_64FF00/PurePerms/PurePerms(92): _64FF00\PurePerms\PPMessages->__construct(_64FF00\PurePerms\PurePerms object)
08:40:59 DEBUG > #6 src/pocketmine/plugin/FolderPluginLoader(116): _64FF00\PurePerms\PurePerms->onLoad()
08:40:59 DEBUG > #7 src/pocketmine/plugin/FolderPluginLoader(68): pocketmine\plugin\FolderPluginLoader->initPlugin(_64FF00\PurePerms\PurePerms object, pocketmine\plugin\PluginDescription object, string /usr/local/minecraft/server/pmmp/plugins/PurePerms, string /usr/local/minecraft/server/pmmp/plugins/PurePermsGit)
08:40:59 DEBUG > #8 src/pocketmine/plugin/PluginManager(171): pocketmine\plugin\FolderPluginLoader->loadPlugin(string /usr/local/minecraft/server/pmmp/plugins/PurePermsGit)
08:40:59 DEBUG > #9 src/pocketmine/plugin/PluginManager(315): pocketmine\plugin\PluginManager->loadPlugin(string /usr/local/minecraft/server/pmmp/plugins/PurePermsGit, array Array())
08:40:59 DEBUG > #10 src/pocketmine/Server(1744): pocketmine\plugin\PluginManager->loadPlugins(string /usr/local/minecraft/server/pmmp/plugins/)
08:40:59 DEBUG > #11 src/pocketmine/PocketMine(287): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /usr/local/minecraft/server/pmmp/, string /usr/local/minecraft/server/pmmp/plugins/)
08:40:59 DEBUG > #12 /usr/local/minecraft/server/pmmp/PMMP.phar(1): require_once(string phar:///usr/local/minecraft/server/pmmp/PMMP.phar/src/pocketmine/PocketMine.php)






use vim to edit file can see there is something(<200c>) in last line of language file:

YAMLProvider_InvalidGroupsSettings: "GROUPS.YMLの設定が間違っています: groups.yml が無効、または壊れてい>るかどうかに確認してください。"
<200c>...

if remove <200c> server can run without error.