Exemple #1
0
 public function run(WorldEditSession $session, array $args)
 {
     $phrase = $session->getMain()->getTranslationManager()->get(Lang::META_LANGUAGE, $session->getConfig()->lang);
     $session->sendMessage(Lang::VERSION_RESPONSE, ["PLUGIN_VERSION" => $session->getMain()->getDescription()->getVersion(), "PLUGIN_AUTHORS" => implode(", ", $session->getMain()->getDescription()->getAuthors()), "LANG_NAME" => $session->translate(Lang::META_NATIVE), "LANG_VERSION" => $phrase->getUpdated(), "LANG_AUTHORS" => implode(", ", $session->translate(Lang::META_AUTHORS))]);
 }