fprintf(stderr,"WARNING: Failed to load plugin \"%.*s\" (%fms)!"ENDL,plugin.size(),plugin.ptr(),time_taken);
}
// OnPostInitialize
@ -177,6 +189,8 @@ int main(int argc, const char **args)
Jupiter::plugins->get(index)->OnPostInitialize();
}
printf("Initialization completed in %f milliseconds."ENDL,static_cast<double>(std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::steady_clock::now()-Jupiter::g_start_time).count())/1000.0);
if(consoleCommands->size()>0)
printf("%u Console Commands have been initialized%s"ENDL,consoleCommands->size(),getConsoleCommand("help"_jrs)==nullptr?".":"; type \"help\" for more information.");
if(IRCMasterCommandList->size()>0)
@ -190,7 +204,7 @@ int main(int argc, const char **args)
RenX_GreetingsPlugin::greetingsFile.addData(STRING_LITERAL_AS_REFERENCE("Please notify the server administrator to properly configure or disable server greetings.\r\n"));
RenX_GreetingsPlugin::greetingsFile.addData("Please notify the server administrator to properly configure or disable server greetings.\r\n"_jrs);
RenX_IRCJoinPlugin::joinFmt=this->config.get(Jupiter::ReferenceString::empty,STRING_LITERAL_AS_REFERENCE("Join.Format"),STRING_LITERAL_AS_REFERENCE("{NAME} has joined {CHAN}!"));
RenX_IRCJoinPlugin::partFmt=this->config.get(Jupiter::ReferenceString::empty,STRING_LITERAL_AS_REFERENCE("Part.Format"),STRING_LITERAL_AS_REFERENCE("{NAME} has left {CHAN} ({REASON})!"));
RenX_IRCJoinPlugin::partFmtNoReason=this->config.get(Jupiter::ReferenceString::empty,STRING_LITERAL_AS_REFERENCE("Part.FormatNoReason"),STRING_LITERAL_AS_REFERENCE("{NAME} has left {CHAN}!"));
Jupiter::StringS::Format(IRCCOLOR"12[Join] "IRCBOLD"%.*s"IRCBOLD" ("IRCBOLD"%.*s"IRCBOLD") joined the game fighting for the %.*s from "IRCBOLD"%.*s"IRCBOLD" ("IRCBOLD"%.*s"IRCBOLD") with HWID "IRCBOLD"%.*s"IRCBOLD".",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->steamTag.size(),RenX::tags->steamTag.ptr(),RenX::tags->teamLongTag.size(),RenX::tags->teamLongTag.ptr(),RenX::tags->ipTag.size(),RenX::tags->ipTag.ptr(),RenX::tags->rdnsTag.size(),RenX::tags->rdnsTag.ptr(),RenX::tags->hwidTag.size(),RenX::tags->hwidTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"12[Join] "IRCBOLD"%.*s"IRCBOLD" joined the game fighting for the %.*s!",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->teamLongTag.size(),RenX::tags->teamLongTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"12[Part] "IRCBOLD"%.*s"IRCBOLD" left the %.*s.",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->teamLongTag.size(),RenX::tags->teamLongTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"04[Kick] "IRCBOLD"%.*s"IRCCOLORIRCBOLD" was "IRCBOLDIRCCOLOR"04kicked"IRCCOLORIRCBOLD" ("IRCCOLOR"04%.*s"IRCCOLOR")",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->messageTag.size(),RenX::tags->messageTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCBOLD" changed their name to "IRCBOLD"%.*s"IRCBOLD".",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->newNameTag.size(),RenX::tags->newNameTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"04[SpeedHack] "IRCBOLD"%.*s"IRCBOLD" has thrown a Speed Hack warning!",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" deployed a "IRCBOLDIRCCOLOR"12%.*s"IRCBOLD,RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->objectTag.size(),RenX::tags->objectTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" is "IRCCOLOR"04over-mining"IRCCOLOR": "IRCBOLDIRCCOLOR"12%.*s"IRCBOLD,RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->objectTag.size(),RenX::tags->objectTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCBOLD" disarmed a "IRCBOLD"%.*s"IRCBOLD,RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->objectTag.size(),RenX::tags->objectTag.ptr()));
Jupiter::StringS::Format("%.*s"IRCCOLOR" detonated a "IRCCOLOR"07%.*s"IRCCOLOR".",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->weaponTag.size(),RenX::tags->weaponTag.ptr()));
Jupiter::StringS::Format("%.*s"IRCCOLOR" died ("IRCCOLOR"12%.*s"IRCCOLOR").",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->weaponTag.size(),RenX::tags->weaponTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"%.*s%.*s"IRCCOLOR" died ("IRCCOLOR"12%.*s"IRCCOLOR").",RenX::tags->teamColorTag.size(),RenX::tags->teamColorTag.ptr(),RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->weaponTag.size(),RenX::tags->weaponTag.ptr()));
Jupiter::StringS::Format("%.*s"IRCCOLOR" destroyed the "IRCCOLOR"%.*s%.*s"IRCCOLOR" ("IRCCOLOR"12%.*s"IRCCOLOR").",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->victimTeamColorTag.size(),RenX::tags->victimTeamColorTag.ptr(),RenX::tags->objectTag.size(),RenX::tags->objectTag.ptr(),RenX::tags->weaponTag.size(),RenX::tags->weaponTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"%.*s%.*s"IRCCOLOR" destroyed the "IRCCOLOR"%.*s%.*s"IRCCOLOR" ("IRCCOLOR"12%.*s"IRCCOLOR").",RenX::tags->teamColorTag.size(),RenX::tags->teamColorTag.ptr(),RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->victimTeamColorTag.size(),RenX::tags->victimTeamColorTag.ptr(),RenX::tags->objectTag.size(),RenX::tags->objectTag.ptr(),RenX::tags->weaponTag.size(),RenX::tags->weaponTag.ptr()));
Jupiter::StringS::Format("%.*s"IRCCOLOR" destroyed a "IRCCOLOR"%.*s%.*s"IRCCOLOR" ("IRCCOLOR"12%.*s"IRCCOLOR").",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->victimTeamColorTag.size(),RenX::tags->victimTeamColorTag.ptr(),RenX::tags->objectTag.size(),RenX::tags->objectTag.ptr(),RenX::tags->weaponTag.size(),RenX::tags->weaponTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"%.*s%.*s"IRCCOLOR" destroyed a "IRCCOLOR"%.*s%.*s"IRCCOLOR" ("IRCCOLOR"12%.*s"IRCCOLOR").",RenX::tags->teamColorTag.size(),RenX::tags->teamColorTag.ptr(),RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->victimTeamColorTag.size(),RenX::tags->victimTeamColorTag.ptr(),RenX::tags->objectTag.size(),RenX::tags->objectTag.ptr(),RenX::tags->weaponTag.size(),RenX::tags->weaponTag.ptr()));
Jupiter::StringS::Format("%.*s"IRCCOLOR" destroyed a "IRCCOLOR"%.*s%.*s"IRCCOLOR" ("IRCCOLOR"12%.*s"IRCCOLOR").",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->victimTeamColorTag.size(),RenX::tags->victimTeamColorTag.ptr(),RenX::tags->objectTag.size(),RenX::tags->objectTag.ptr(),RenX::tags->weaponTag.size(),RenX::tags->weaponTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"%.*s%.*s"IRCCOLOR" destroyed a "IRCCOLOR"%.*s%.*s"IRCCOLOR" ("IRCCOLOR"12%.*s"IRCCOLOR").",RenX::tags->teamColorTag.size(),RenX::tags->teamColorTag.ptr(),RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->victimTeamColorTag.size(),RenX::tags->victimTeamColorTag.ptr(),RenX::tags->objectTag.size(),RenX::tags->objectTag.ptr(),RenX::tags->weaponTag.size(),RenX::tags->weaponTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" captured the "IRCBOLDIRCCOLOR"%.*s%.*s"IRCCOLORIRCBOLD".",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->victimTeamColorTag.size(),RenX::tags->victimTeamColorTag.ptr(),RenX::tags->objectTag.size(),RenX::tags->objectTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" neutralized the "IRCBOLDIRCCOLOR"%.*s%.*s"IRCCOLORIRCBOLD".",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->victimTeamColorTag.size(),RenX::tags->victimTeamColorTag.ptr(),RenX::tags->objectTag.size(),RenX::tags->objectTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" purchased a "IRCBOLDIRCCOLOR"%.*s%.*s"IRCCOLORIRCBOLD".",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->teamColorTag.size(),RenX::tags->teamColorTag.ptr(),RenX::tags->victimCharacterTag.size(),RenX::tags->victimCharacterTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" purchased a "IRCBOLDIRCCOLOR"%.*s%.*s"IRCCOLORIRCBOLD".",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->teamColorTag.size(),RenX::tags->teamColorTag.ptr(),RenX::tags->objectTag.size(),RenX::tags->objectTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" purchased a "IRCBOLDIRCCOLOR"%.*s%.*s"IRCCOLORIRCBOLD".",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->teamColorTag.size(),RenX::tags->teamColorTag.ptr(),RenX::tags->weaponTag.size(),RenX::tags->weaponTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" purchased a "IRCBOLDIRCCOLOR"%.*srefill"IRCCOLORIRCBOLD".",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->teamColorTag.size(),RenX::tags->teamColorTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" purchased a "IRCBOLDIRCCOLOR"%.*s%.*s"IRCCOLORIRCBOLD".",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->teamColorTag.size(),RenX::tags->teamColorTag.ptr(),RenX::tags->victimVehicleTag.size(),RenX::tags->victimVehicleTag.ptr()));
Jupiter::StringS::Format("A "IRCBOLDIRCCOLOR"%.*s%.*s"IRCCOLORIRCBOLD" has spawned.",RenX::tags->teamColorTag.size(),RenX::tags->teamColorTag.ptr(),RenX::tags->vehicleTag.size(),RenX::tags->vehicleTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" spawned as a "IRCCOLOR"%.*s%.*s.",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->teamColorTag.size(),RenX::tags->teamColorTag.ptr(),RenX::tags->victimCharacterTag.size(),RenX::tags->victimCharacterTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" picked up a "IRCCOLOR"12%.*s"IRCCOLOR" vehicle crate.",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->objectTag.size(),RenX::tags->objectTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" picked up a "IRCCOLOR"12death"IRCCOLOR" crate.",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" picked up "IRCCOLOR"09%.*s credits"IRCCOLOR" from a "IRCCOLOR"12money"IRCCOLOR" crate.",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->objectTag.size(),RenX::tags->objectTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" picked up a "IRCCOLOR"%.*s%.*s"IRCCOLOR""IRCCOLOR"12character"IRCCOLOR" crate.",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->teamColorTag.size(),RenX::tags->teamColorTag.ptr(),RenX::tags->victimCharacterTag.size(),RenX::tags->victimCharacterTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" picked up a "IRCCOLOR"%.*s%.*s"IRCCOLOR""IRCCOLOR"12spy"IRCCOLOR" crate.",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->victimTeamColorTag.size(),RenX::tags->victimTeamColorTag.ptr(),RenX::tags->victimCharacterTag.size(),RenX::tags->victimCharacterTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" picked up a "IRCCOLOR"%.*srefill"IRCCOLOR" crate.",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->teamColorTag.size(),RenX::tags->teamColorTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" picked up a "IRCCOLOR"11time-bomb"IRCCOLOR" crate.",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" picked up a "IRCCOLOR"11speed"IRCCOLOR" crate.",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" picked up a "IRCCOLOR"04nuke"IRCCOLOR" crate.",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" has been "IRCBOLDIRCCOLOR"06abducted"IRCCOLORIRCBOLD" by the "IRCBOLDIRCCOLOR"06Scrin"IRCCOLORIRCBOLD"!",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" picked up an "IRCCOLOR"13unspecified"IRCCOLOR" crate.",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" picked up a "IRCCOLOR"13%.*s"IRCCOLOR" crate.",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->objectTag.size(),RenX::tags->objectTag.ptr()));
Jupiter::StringS::Format(IRCBOLD"%.*s"IRCCOLORIRCBOLD" stole a "IRCBOLDIRCCOLOR"12%.*s"IRCBOLD"!",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->objectTag.size(),RenX::tags->objectTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"03[Game]"IRCCOLOR"%.*s The "IRCBOLD"%.*s"IRCBOLD" won by "IRCBOLD"%.*s"IRCBOLD,RenX::tags->teamColorTag.size(),RenX::tags->teamColorTag.ptr(),RenX::tags->teamLongTag.size(),RenX::tags->teamLongTag.ptr(),RenX::tags->messageTag.size(),RenX::tags->messageTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"03[Game]"IRCCOLOR"10 The battle ended in a "IRCBOLD"%.*s"IRCBOLD" - Victory handed to "IRCBOLDIRCCOLOR"%.*s%.*s"IRCBOLD,RenX::tags->messageTag.size(),RenX::tags->messageTag.ptr(),RenX::tags->teamColorTag.size(),RenX::tags->teamColorTag.ptr(),RenX::tags->teamLongTag.size(),RenX::tags->teamLongTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"03[Game]"IRCCOLOR"10 The battle ended in a "IRCBOLD"%.*s"IRCBOLD,RenX::tags->messageTag.size(),RenX::tags->messageTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"07[Admin] "IRCBOLD"%.*s"IRCBOLDIRCCOLOR" logged in with "IRCCOLOR"07"IRCBOLD"%.*s"IRCBOLDIRCNORMAL" privledges.",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->adminTag.size(),RenX::tags->adminTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"07[Admin] "IRCBOLD"%.*s"IRCBOLDIRCCOLOR" logged out of their "IRCCOLOR"07"IRCBOLD"%.*s"IRCBOLDIRCNORMAL" privledges.",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->adminTag.size(),RenX::tags->adminTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"[Vote] "IRCBOLD"%.*s"IRCNORMAL" has called for adding "IRCCOLOR"12%.*s"IRCCOLOR" bots to %.*s, with skill level "IRCCOLOR"07%.*s"IRCCOLOR".",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->objectTag.size(),RenX::tags->objectTag.ptr(),RenX::tags->victimTeamShortTag.size(),RenX::tags->victimTeamShortTag.ptr(),RenX::tags->weaponTag.size(),RenX::tags->weaponTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"[Vote] "IRCBOLD"%.*s"IRCNORMAL" has called for a Map Change.",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"[Vote] "IRCBOLD"%.*s"IRCNORMAL" has called for a kick against %.*s"IRCNORMAL".",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->victimNameTag.size(),RenX::tags->victimNameTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"%.*s[Vote] "IRCBOLD"%.*s"IRCBOLD" has called for a Mine Ban against %.*s"IRCNORMAL".",RenX::tags->victimTeamColorTag.size(),RenX::tags->victimTeamColorTag.ptr(),RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"[Vote] "IRCBOLD"%.*s"IRCNORMAL" has called a vote to remove "IRCCOLOR"12%.*s"IRCCOLOR" bots from "IRCCOLOR"%.*s%.*s"IRCNORMAL".",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->objectTag.size(),RenX::tags->objectTag.ptr(),RenX::tags->victimTeamColorTag.size(),RenX::tags->victimTeamColorTag.ptr(),RenX::tags->victimTeamShortTag.size(),RenX::tags->victimTeamShortTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"[Vote] "IRCBOLD"%.*s"IRCNORMAL" has called for a Map Restart.",RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"%.*s[Vote] "IRCBOLD"%.*s"IRCBOLD" has called for a Surrender.",RenX::tags->victimTeamColorTag.size(),RenX::tags->victimTeamColorTag.ptr(),RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"%.*s[Vote] "IRCBOLD"%.*s"IRCBOLDIRCCOLOR"%.*s has started a Survey: "IRCCOLOR"12%.*s",RenX::tags->victimTeamColorTag.size(),RenX::tags->victimTeamColorTag.ptr(),RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->victimTeamColorTag.size(),RenX::tags->victimTeamColorTag.ptr(),RenX::tags->messageTag.size(),RenX::tags->messageTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"%.*s[Vote] "IRCBOLD"%.*s"IRCBOLDIRCCOLOR"%.*s has called a \"%.*s\" vote.",RenX::tags->victimTeamColorTag.size(),RenX::tags->victimTeamColorTag.ptr(),RenX::tags->nameTag.size(),RenX::tags->nameTag.ptr(),RenX::tags->victimTeamColorTag.size(),RenX::tags->victimTeamColorTag.ptr(),RenX::tags->objectTag.size(),RenX::tags->objectTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"%.*s[Vote] A vote for \"%.*s\" was "IRCBOLDIRCCOLOR"07cancelled"IRCCOLORIRCBOLD".",RenX::tags->victimTeamColorTag.size(),RenX::tags->victimTeamColorTag.ptr(),RenX::tags->objectTag.size(),RenX::tags->objectTag.ptr()));
Jupiter::StringS::Format(IRCCOLOR"03Renegade X RCON connection established; using RCON verison "IRCBOLD"%.*s"IRCBOLD" for game version "IRCBOLD"%.*s"IRCBOLD,RenX::tags->rconVersionTag.size(),RenX::tags->rconVersionTag.ptr(),RenX::tags->gameVersionTag.size(),RenX::tags->gameVersionTag.ptr()));
source->sendMessage(player,Jupiter::StringS::Format("[Archive] %.*s has %u and %u n00bs. Their worth: %d",section->getName().size(),section->getName().ptr(),recs,noobs,recs-noobs));
}
}
elseif(target->uuid.isEmpty())
source->sendMessage(player,STRING_LITERAL_AS_REFERENCE("Error: Player is not using steam."));
source->sendMessage(player,"Error: Player is not using steam."_jrs);
elseif(target->isBot)
source->sendMessage(player,STRING_LITERAL_AS_REFERENCE("Error: Bots do not have any recommendations."));
source->sendMessage(player,"Error: Bots do not have any recommendations."_jrs);
elsesource->sendMessage(player,Jupiter::StringS::Format("%.*s has %lu and %lu n00bs. Their worth: %d",target->name.size(),target->name.ptr(),getRecs(target),getNoobs(target),getWorth(target)));
}
elseif(player->uuid.isEmpty())
source->sendMessage(player,STRING_LITERAL_AS_REFERENCE("Error: You are not using steam."));
source->sendMessage(player,"Error: You are not using steam."_jrs);
elsesource->sendMessage(player,Jupiter::StringS::Format("%.*s, you have %lu recs and %lu n00bs. Your worth: %d",player->name.size(),player->name.ptr(),getRecs(player),getNoobs(player),getWorth(player)));
source->sendMessage(player,"You can only give one recommendation per game."_jrs);
else
{
addRec(target);
source->sendMessage(Jupiter::StringS::Format("%.*s has recommended %.*s!",player->name.size(),player->name.ptr(),target->name.size(),target->name.ptr()));
server->sendMessage(player,Jupiter::StringS::Format("You are now authenticated with access level %d; group: %.*s.",player->access,group->name.size(),group->name.ptr()));
@ -197,16 +197,16 @@ int RenX_ModSystemPlugin::auth(RenX::Server *server, const RenX::PlayerInfo *pla
server->sendMessage(player,STRING_LITERAL_AS_REFERENCE("Warning: Invalid group index. Ingoring parameter..."));
server->sendMessage(player,"Warning: Invalid group index. Ingoring parameter..."_jrs);
elseif(index==0)
{
server->sendMessage(player,STRING_LITERAL_AS_REFERENCE("Error: Default group is not valid for this command. Use \"deauth\" to deauthorize a player."));
server->sendMessage(player,"Error: Default group is not valid for this command. Use \"deauth\" to deauthorize a player."_jrs);
return;
}
else
@ -1000,7 +1006,7 @@ void ATMGameCommand::trigger(RenX::Server *server, RenX::PlayerInfo *player, con
if(group->access>player->access)
{
group=pluginInstance.getDefaultATMGroup();
server->sendMessage(player,STRING_LITERAL_AS_REFERENCE("Warning: You can not authorize an access level higher than yourself. Ignoring parameter..."));
server->sendMessage(player,"Warning: You can not authorize an access level higher than yourself. Ignoring parameter..."_jrs);
}
playerName=playerName.gotoWord(1,WHITESPACE);
}
@ -1009,20 +1015,20 @@ void ATMGameCommand::trigger(RenX::Server *server, RenX::PlayerInfo *player, con
{
target=server->getPlayerByPartName(playerName);
if(target==nullptr)
server->sendMessage(player,STRING_LITERAL_AS_REFERENCE("Error: Player not found."));
server->sendMessage(player,"Error: Player not found."_jrs);
elseif(target->access>group->access)
server->sendMessage(player,STRING_LITERAL_AS_REFERENCE("Error: This command can not lower a player's access level."));
server->sendMessage(player,"Error: This command can not lower a player's access level."_jrs);
source->sendMessage(player,Jupiter::StringS::Format("%.*s, your join message is now: %.*s",player->name.size(),player->name.ptr(),parameters.size(),parameters.ptr()));
source->sendNotice(nick,Jupiter::StringS::Format("%.*s has been kicked from the server for exceeding the warning limit (%d warnings).",player->name.size(),player->name.ptr(),warns));
source->sendNotice(nick,Jupiter::StringS::Format("%.*s has been banned from the server for exceeding the warning limit (%d warnings).",player->name.size(),player->name.ptr(),warns));
server->sendMessage(player,Jupiter::StringS::Format("You have been warned by %.*s@IRC; improve your behavior, or you will be disciplined. You have %d warnings.",nick.size(),nick.ptr(),warns));
source->sendNotice(nick,Jupiter::StringS::Format("%.*s has been warned; they now have %d warnings.",player->name.size(),player->name.ptr(),warns));
@ -188,21 +190,21 @@ void WarnGameCommand::trigger(RenX::Server *source, RenX::PlayerInfo *player, co
source->sendMessage(player,Jupiter::StringS::Format("%.*s has been kicked from the server for exceeding the warning limit (%d warnings).",target->name.size(),target->name.ptr(),warns));
source->sendMessage(player,Jupiter::StringS::Format("%.*s has been banned from the server for exceeding the warning limit (%d warnings).",target->name.size(),target->name.ptr(),warns));
source->sendMessage(target,Jupiter::StringS::Format("You have been warned by %.*s; improve your behavior, or you will be disciplined. You have %d warnings.",player->name.size(),player->name.ptr(),warns));
source->sendMessage(player,Jupiter::StringS::Format("%.*s has been warned; they now have %d warnings.",target->name.size(),target->name.ptr(),warns));
}
}
}
else
source->sendMessage(player,STRING_LITERAL_AS_REFERENCE("Error: Too few parameters. Syntax: Warn <Player>"));
source->sendMessage(player,"Error: Too few parameters. Syntax: Warn <Player>"_jrs);
source->sendMessage(target,Jupiter::StringS::Format("You have been pardoned by %.*s@IRC; your warnings have been reset.",player->name.size(),player->name.ptr()));
source->sendMessage(player,Jupiter::StringS::Format("%.*s has been pardoned; their warnings have been reset.",target->name.size(),target->name.ptr()));