Add new party command /party rename

This commit is contained in:
TfT_02 2013-01-26 19:31:17 +01:00
parent 00c84e775f
commit 473b9e8bbe
23 changed files with 110 additions and 2 deletions

View File

@ -86,6 +86,21 @@ public class PartyManager {
}
}
/**
* Notify party members when the party leader changed the party name.
*
* @param newPartyName The new name of the party
* @param party The concerned party
*/
public void informPartyMembersNameChange(String newPartyName, Party party) {
String leader = party.getLeader();
for (Player member : party.getOnlineMembers()) {
if (!member.getName().equals(leader)) {
member.sendMessage(LocaleLoader.getString("Party.InformedOnNameChange", new Object[] {leader, newPartyName}));
}
}
}
/**
* Get a list of all players in this player's party.
*

View File

@ -47,6 +47,8 @@ public class PartyCommand implements CommandExecutor {
return accept(sender, args);
else if(args[0].equalsIgnoreCase("create"))
return create(sender, args);
else if(args[0].equalsIgnoreCase("info"))
return party(sender);
else if(args[0].equalsIgnoreCase("?") || args[0].equalsIgnoreCase("help"))
return help(sender, args);
if (playerProfile.inParty()) {
@ -70,6 +72,8 @@ public class PartyCommand implements CommandExecutor {
return unlock(sender, args);
else if(args[0].equalsIgnoreCase("password"))
return password(sender, args);
else if(args[0].equalsIgnoreCase("rename"))
return rename(sender, args);
else
return usage(sender);
} else {
@ -239,7 +243,7 @@ public class PartyCommand implements CommandExecutor {
String password = null;
if(args.length > 2) password = args[2];
Party newParty = partyManagerInstance.getParty(args[1]);
Party newParty = partyManagerInstance.getParty(partyname);
// Check to see if the party exists, and if it does cancel creating a new party
if (newParty != null) {
player.sendMessage(LocaleLoader.getString("Commands.Party.AlreadyExists", new Object[] {partyname}));
@ -247,7 +251,8 @@ public class PartyCommand implements CommandExecutor {
}
if (playerProfile.inParty()) {
McMMOPartyChangeEvent event = new McMMOPartyChangeEvent(player, playerProfile.getPlayerName(), partyname, EventReason.CHANGED_PARTIES);
String oldPartyName = party.getName();
McMMOPartyChangeEvent event = new McMMOPartyChangeEvent(player, oldPartyName, partyname, EventReason.CHANGED_PARTIES);
plugin.getServer().getPluginManager().callEvent(event);
if (event.isCancelled()) {
@ -545,4 +550,51 @@ public class PartyCommand implements CommandExecutor {
player.sendMessage(LocaleLoader.getString("Party.NotOwner"));
return true;
}
/**
* Rename the current party
*/
private boolean rename(CommandSender sender, String[] args) {
if (CommandHelper.noCommandPermissions(sender, "mcmmo.commands.party.rename"))
return true;
Player player = (Player) sender;
String playerName = player.getName();
PlayerProfile playerProfile = Users.getProfile(player);
PartyManager partyManagerInstance = PartyManager.getInstance();
Party party = playerProfile.getParty();
if (party.getLeader().equals(playerName)) {
if(args.length < 2) {
player.sendMessage(LocaleLoader.getString("Commands.Usage.2", new Object[] {"party", "rename", "<" + LocaleLoader.getString("Commands.Usage.PartyName") + ">"}));
return true;
} else {
String newPartyName = args[1];
if (!party.getName().equals(newPartyName)) {//This is to prevent party leaders from spamming other players with the rename message
Party newParty = partyManagerInstance.getParty(newPartyName);
// Check to see if the party exists, and if it does cancel renaming the party
if (newParty != null) {
player.sendMessage(LocaleLoader.getString("Commands.Party.AlreadyExists", new Object[] {newPartyName}));
return true;
}
for (Player onlineMembers : party.getOnlineMembers()) {
McMMOPartyChangeEvent event = new McMMOPartyChangeEvent(onlineMembers, party.getName(), newPartyName, EventReason.CHANGED_PARTIES);
plugin.getServer().getPluginManager().callEvent(event);
if (event.isCancelled()) {
return true;
}
}
partyManagerInstance.informPartyMembersNameChange(newPartyName, party);
party.setName(newPartyName);
}
player.sendMessage(LocaleLoader.getString("Commands.Party.Rename", new Object[] {newPartyName}));
}
}
else
player.sendMessage(LocaleLoader.getString("Party.NotOwner"));
return true;
}
}

View File

@ -398,6 +398,7 @@ Commands.Party.Invite.1=[[YELLOW]]Napis [[GREEN]]/party accept[[YELLOW]] pro pot
Commands.Party.Invite=<player> [[RED]]- Poslat pozv\u00e1nku do party
Commands.Party.Join=[[GRAY]]Pripojen do party: {0}
Commands.Party.Create=[[GRAY]]Created Party: {0}
Commands.Party.Rename=[[GRAY]]Party name changed to: [[WHITE]]{0}
Commands.Party.AlreadyExists=[[DARK_RED]]Party {0} already exists!
Commands.Party.Kick=[[RED]]Byl jsi vyhozen z party {0}!
Commands.Party.Leave=[[RED]]Opustil jsi party
@ -446,6 +447,7 @@ Party.Help.7=[[RED]]To transfer ownership of your party, use [[DARK_AQUA]]/party
Party.Help.8=[[RED]]To disband your party, use [[DARK_AQUA]]/party disband
Party.InformedOnJoin={0} [[GREEN]] se p\u0159ipojil k va\u0161\u00ed skupin\u011b
Party.InformedOnQuit={0} [[GREEN]] opustil party
Party.InformedOnNameChange=[[GOLD]]{0} [[GREEN]]has set the party name to [[WHITE]]{1}
Party.InvalidName=[[DARK_RED]]Toto nen\u00ed mo\u017en\u00e9 jm\u00e9no pro partu.
Party.IsLocked=[[RED]]Tahla parta je ji\u017e uzamknuta!
Party.IsntLocked=[[RED]]Tato parta je zamknuta!

View File

@ -398,6 +398,7 @@ Commands.Party.Invite.1=[[YELLOW]] Math [[GREEN]]/party accept[[YELLOW]] i dderb
Commands.Party.Invite=<player> [[RED]]- Send party invite
Commands.Party.Join=[[GRAY]]Joined Party: {0}
Commands.Party.Create=[[GRAY]]Created Party: {0}
Commands.Party.Rename=[[GRAY]]Party name changed to: [[WHITE]]{0}
Commands.Party.AlreadyExists=[[DARK_RED]]Party {0} already exists!
Commands.Party.Kick=[[RED]] oeddech yn cicio o blaid {0}!
Commands.Party.Leave=[[RED]] Yr ydych wedi gadael y blaid honno
@ -446,6 +447,7 @@ Party.Help.7=[[RED]]To transfer ownership of your party, use [[DARK_AQUA]]/party
Party.Help.8=[[RED]]To disband your party, use [[DARK_AQUA]]/party disband
Party.InformedOnJoin={0} [[GREEN]] has joined your party
Party.InformedOnQuit={0} [[GREEN]] wedi gadael eich plaid
Party.InformedOnNameChange=[[GOLD]]{0} [[GREEN]]has set the party name to [[WHITE]]{1}
Party.InvalidName=[[DARK_RED]]That is not a valid party name.
Party.IsLocked=[[RED]]This party is already locked!
Party.IsntLocked=[[RED]]This party is not locked!

View File

@ -398,6 +398,7 @@ Commands.Party.Invite.1=[[YELLOW]]Skrive [[GREEN]]/party accept[[YELLOW]] for at
Commands.Party.Invite=<player> [[RED]]- Send gruppe invitation
Commands.Party.Join=[[GRAY]]Joinede Gruppen: {0}
Commands.Party.Create=[[GRAY]]Created Party: {0}
Commands.Party.Rename=[[GRAY]]Party name changed to: [[WHITE]]{0}
Commands.Party.AlreadyExists=[[DARK_RED]]Party {0} already exists!
Commands.Party.Kick=[[RED]]Du er blevet fjernet fra gruppen {0}!
Commands.Party.Leave=[[RED]]Du har forladt denne gruppe
@ -446,6 +447,7 @@ Party.Help.7=[[RED]]To transfer ownership of your party, use [[DARK_AQUA]]/party
Party.Help.8=[[RED]]To disband your party, use [[DARK_AQUA]]/party disband
Party.InformedOnJoin={0} [[GREEN]] er nu med i din gruppe
Party.InformedOnQuit={0} [[GREEN]] har forladt din gruppe
Party.InformedOnNameChange=[[GOLD]]{0} [[GREEN]]has set the party name to [[WHITE]]{1}
Party.InvalidName=[[DARK_RED]]Dette er ikke et gruppe navn.
Party.IsLocked=[[RED]]Denne gruppe er allerede l\u00e5st!
Party.IsntLocked=[[RED]]Denne gruppe er ikke l\u00e5st!

View File

@ -398,6 +398,7 @@ Commands.Party.Invite.1=[[YELLOW]]Schreibe [[GREEN]]/party accept[[YELLOW]] um d
Commands.Party.Invite=<Spieler> [[RED]]- Gruppen-Einladung versenden
Commands.Party.Join=[[GRAY]]Beigetretene Gruppe: {0}
Commands.Party.Create=[[GRAY]]Created Party: {0}
Commands.Party.Rename=[[GRAY]]Party name changed to: [[WHITE]]{0}
Commands.Party.AlreadyExists=[[DARK_RED]]Party {0} already exists!
Commands.Party.Kick=[[RED]]Du wurdest von folgender Gruppe gekickt: {0}!
Commands.Party.Leave=[[RED]]Du hast diese Gruppe verlassen
@ -446,6 +447,7 @@ Party.Help.7=[[RED]]To transfer ownership of your party, use [[DARK_AQUA]]/party
Party.Help.8=[[RED]]To disband your party, use [[DARK_AQUA]]/party disband
Party.InformedOnJoin={0} [[GREEN]] ist der Gruppe beigetreten
Party.InformedOnQuit={0} [[GREEN]] hat die Gruppe verlassen
Party.InformedOnNameChange=[[GOLD]]{0} [[GREEN]]has set the party name to [[WHITE]]{1}
Party.InvalidName=[[DARK_RED]]Dies ist kein g\u00fcltiger Gruppen-Name.
Party.IsLocked=[[RED]]Diese Gruppe ist bereits gesperrt!
Party.IsntLocked=[[RED]]Diese Gruppe ist NICHT gesperrt!

View File

@ -450,6 +450,7 @@ Commands.Party.Invite.1=[[YELLOW]]Type [[GREEN]]/party accept[[YELLOW]] to accep
Commands.Party.Invite=<player> [[RED]]- Send party invite
Commands.Party.Join=[[GRAY]]Joined Party: {0}
Commands.Party.Create=[[GRAY]]Created Party: {0}
Commands.Party.Rename=[[GRAY]]Party name changed to: [[WHITE]]{0}
Commands.Party.AlreadyExists=[[DARK_RED]]Party {0} already exists!
Commands.Party.Kick=[[RED]]You were kicked from party {0}!
Commands.Party.Leave=[[RED]]You have left that party
@ -500,6 +501,7 @@ Party.Help.7=[[RED]]To transfer ownership of your party, use [[DARK_AQUA]]/party
Party.Help.8=[[RED]]To disband your party, use [[DARK_AQUA]]/party disband
Party.InformedOnJoin={0} [[GREEN]]has joined your party
Party.InformedOnQuit={0} [[GREEN]]has left your party
Party.InformedOnNameChange=[[GOLD]]{0} [[GREEN]]has set the party name to [[WHITE]]{1}
Party.InvalidName=[[DARK_RED]]That is not a valid party name.
Party.IsLocked=[[RED]]This party is already locked!
Party.IsntLocked=[[RED]]This party is not locked!

View File

@ -398,6 +398,7 @@ Commands.Party.Invite.1=[[YELLOW]]Ingresa [[GREEN]]/party accept[[YELLOW]] para
Commands.Party.Invite=<jugador> [[RED]]- Enviar invitaci\u00f3n al grupo
Commands.Party.Join=[[GRAY]]Se uni\u00f3 al grupo: {0}
Commands.Party.Create=[[GRAY]]Created Party: {0}
Commands.Party.Rename=[[GRAY]]Party name changed to: [[WHITE]]{0}
Commands.Party.AlreadyExists=[[DARK_RED]]Party {0} already exists!
Commands.Party.Kick=[[RED]]\u00a1Fuiste expulsado del grupo {0}!
Commands.Party.Leave=[[RED]]Abandonaste el grupo
@ -446,6 +447,7 @@ Party.Help.7=[[RED]]To transfer ownership of your party, use [[DARK_AQUA]]/party
Party.Help.8=[[RED]]To disband your party, use [[DARK_AQUA]]/party disband
Party.InformedOnJoin={0} [[GREEN]] ha entrado a tu fiesta
Party.InformedOnQuit={0} [[GREEN]]abandon\u00f3 el grupo
Party.InformedOnNameChange=[[GOLD]]{0} [[GREEN]]has set the party name to [[WHITE]]{1}
Party.InvalidName=[[DARK_RED]]Ese no es un nombre de grupo v\u00e1lido.
Party.IsLocked=[[RED]]\u00a1Este grupo ya est\u00e1 bloqueado!
Party.IsntLocked=[[RED]]\u00a1Este grupo no est\u00e1 bloqueado!

View File

@ -398,6 +398,7 @@ Commands.Party.Invite.1=[[YELLOW]]Type [[GREEN]]/party accept[[YELLOW]] to accep
Commands.Party.Invite=<player> [[RED]]- Send party invite
Commands.Party.Join=[[GRAY]]Joined Party: {0}
Commands.Party.Create=[[GRAY]]Created Party: {0}
Commands.Party.Rename=[[GRAY]]Party name changed to: [[WHITE]]{0}
Commands.Party.AlreadyExists=[[DARK_RED]]Party {0} already exists!
Commands.Party.Kick=[[RED]]You were kicked from party {0}!
Commands.Party.Leave=[[RED]]You have left that party
@ -446,6 +447,7 @@ Party.Help.7=[[RED]]To transfer ownership of your party, use [[DARK_AQUA]]/party
Party.Help.8=[[RED]]To disband your party, use [[DARK_AQUA]]/party disband
Party.InformedOnJoin={0} [[GREEN]] on liittynyt ryhm\u00e4\u00e4n
Party.InformedOnQuit={0} [[GREEN]] on l\u00e4htenyt ryhm\u00e4st\u00e4
Party.InformedOnNameChange=[[GOLD]]{0} [[GREEN]]has set the party name to [[WHITE]]{1}
Party.InvalidName=[[DARK_RED]]That is not a valid party name.
Party.IsLocked=[[RED]]This party is already locked!
Party.IsntLocked=[[RED]]This party is not locked!

View File

@ -398,6 +398,7 @@ Commands.Party.Invite.1=[[YELLOW]]Faites [[GREEN]]/party accept[[YELLOW]] pour a
Commands.Party.Invite=<nom> [[RED]]- Envoyer une invitation
Commands.Party.Join=[[GRAY]]Rejoint le groupe: {0}
Commands.Party.Create=[[GRAY]]Created Party: {0}
Commands.Party.Rename=[[GRAY]]Party name changed to: [[WHITE]]{0}
Commands.Party.AlreadyExists=[[DARK_RED]]Party {0} already exists!
Commands.Party.Kick=[[RED]]Vous avez \u00e9t\u00e9 \u00e9ject\u00e9 du groupe {0} !
Commands.Party.Leave=[[RED]]Vous avez quitt\u00e9 le groupe
@ -446,6 +447,7 @@ Party.Help.7=[[RED]]To transfer ownership of your party, use [[DARK_AQUA]]/party
Party.Help.8=[[RED]]To disband your party, use [[DARK_AQUA]]/party disband
Party.InformedOnJoin={0} [[GREEN]] a rejoint votre groupe
Party.InformedOnQuit={0} [[GREEN]] a quitt\u00e9 votre groupe
Party.InformedOnNameChange=[[GOLD]]{0} [[GREEN]]has set the party name to [[WHITE]]{1}
Party.InvalidName=[[DARK_RED]]Ce groupe n\'existe pas.
Party.IsLocked=[[RED]]Ce groupe est d\u00e9j\u00e0 verrouill\u00e9 !
Party.IsntLocked=[[RED]]Ce groupe n\'est pas verrouill\u00e9 !

View File

@ -398,6 +398,7 @@ Commands.Party.Invite.1=[[YELLOW]]Digita [[GREEN]]/party accept[[YELLOW]] per ac
Commands.Party.Invite=<giocatore> [[RED]]- Manda un invito nella compagnia
Commands.Party.Join=[[GRAY]]Ti sei unito alla Compagnia: {0}
Commands.Party.Create=[[GRAY]]Created Party: {0}
Commands.Party.Rename=[[GRAY]]Party name changed to: [[WHITE]]{0}
Commands.Party.AlreadyExists=[[DARK_RED]]Party {0} already exists!
Commands.Party.Kick=[[RED]]Sei stato sospeso dalla tua compagnia {0}!
Commands.Party.Leave=[[RED]]Hai abbandonato quella compagnia
@ -446,6 +447,7 @@ Party.Help.7=[[RED]]To transfer ownership of your party, use [[DARK_AQUA]]/party
Party.Help.8=[[RED]]To disband your party, use [[DARK_AQUA]]/party disband
Party.InformedOnJoin={0} [[GREEN]] si \u00e8 unito alla tua compagnia
Party.InformedOnQuit={0} [[GREEN]] ha lasciato la tua compagnia
Party.InformedOnNameChange=[[GOLD]]{0} [[GREEN]]has set the party name to [[WHITE]]{1}
Party.InvalidName=[[DARK_RED]]Questo non \u00e8 un nome di compagnia valido.
Party.IsLocked=[[RED]]Questa compagnia \u00e8 gi\u00e0 chiusa!
Party.IsntLocked=[[RED]]Questa compagnia non \u00e8 chiusa!

View File

@ -398,6 +398,7 @@ Commands.Party.Invite.1=[[YELLOW]]Type [[GREEN]]/party accept[[YELLOW]] to accep
Commands.Party.Invite=<player> [[RED]]- Send party invite
Commands.Party.Join=[[GRAY]]Joined Party: {0}
Commands.Party.Create=[[GRAY]]Created Party: {0}
Commands.Party.Rename=[[GRAY]]Party name changed to: [[WHITE]]{0}
Commands.Party.AlreadyExists=[[DARK_RED]]Party {0} already exists!
Commands.Party.Kick=[[\ub808\ub4dc]] \ub2f9\uc2e0\uc740 \uc790 {0}\uc5d0\uc11c \ucad3\uaca8\ub418\uc5c8\uc2b5\ub2c8\ub2e4!
Commands.Party.Leave=[[\ub808\ub4dc]] \ub2f9\uc2e0\uc774 \ub0a8\uaca8 \ub450\uc5c8\ub358 \uadf8 \ub2f9\uc0ac\uc790
@ -446,6 +447,7 @@ Party.Help.7=[[RED]]To transfer ownership of your party, use [[DARK_AQUA]]/party
Party.Help.8=[[RED]]To disband your party, use [[DARK_AQUA]]/party disband
Party.InformedOnJoin={0} [[GREEN]] has joined your party
Party.InformedOnQuit={0} [[\ub179\uc0c9]] \ud30c\ud2f0\ub97c \ub9c8\ucce4\uc2b5\ub2c8\ub2e4
Party.InformedOnNameChange=[[GOLD]]{0} [[GREEN]]has set the party name to [[WHITE]]{1}
Party.InvalidName=[[DARK_RED]]That is not a valid party name.
Party.IsLocked=[[RED]]This party is already locked!
Party.IsntLocked=[[RED]]This party is not locked!

View File

@ -398,6 +398,7 @@ Commands.Party.Invite.1=[[YELLOW]]Type [[GREEN]]/party accept[[YELLOW]] to accep
Commands.Party.Invite=<player> [[RED]]- Send party invite
Commands.Party.Join=[[GRAY]]Joined Party: {0}
Commands.Party.Create=[[GRAY]]Created Party: {0}
Commands.Party.Rename=[[GRAY]]Party name changed to: [[WHITE]]{0}
Commands.Party.AlreadyExists=[[DARK_RED]]Party {0} already exists!
Commands.Party.Kick=[[RED]]You were kicked from party {0}!
Commands.Party.Leave=[[RED]]You have left that party
@ -446,6 +447,7 @@ Party.Help.7=[[RED]]To transfer ownership of your party, use [[DARK_AQUA]]/party
Party.Help.8=[[RED]]To disband your party, use [[DARK_AQUA]]/party disband
Party.InformedOnJoin={0} [[GREEN]] has joined your party
Party.InformedOnQuit={0} [[GREEN]] has left your party
Party.InformedOnNameChange=[[GOLD]]{0} [[GREEN]]has set the party name to [[WHITE]]{1}
Party.InvalidName=[[DARK_RED]]That is not a valid party name.
Party.IsLocked=[[RED]]This party is already locked!
Party.IsntLocked=[[RED]]This party is not locked!

View File

@ -398,6 +398,7 @@ Commands.Party.Invite.1=[[YELLOW]]Typ [[GREEN]]/party accept[[YELLOW]] om de uit
Commands.Party.Invite=<player> [[RED]]- Stuur een groep uitnodiging
Commands.Party.Join=[[GRAY]]Groep betreden: {0}
Commands.Party.Create=[[GRAY]]Groep aangemaakt: {0}
Commands.Party.Rename=[[GRAY]]Groep naam veranderd naar: [[WHITE]]{0}
Commands.Party.AlreadyExists=[[DARK_RED]]Groep {0} bestaat al!
Commands.Party.Kick=[[RED]]Je bent verwijderd uit de groep {0}!
Commands.Party.Leave=[[RED]]Je hebt de groep verlaten
@ -446,6 +447,7 @@ Party.Help.7=[[RED]]To transfer ownership of your party, use [[DARK_AQUA]]/party
Party.Help.8=[[RED]]To disband your party, use [[DARK_AQUA]]/party disband
Party.InformedOnJoin={0} [[GREEN]] is tot je groep toegetreden
Party.InformedOnQuit={0} [[GREEN]] heeft je groep verlaten
Party.InformedOnNameChange=[[GOLD]]{0} [[GREEN]]heeft de groeps naam veranderd naar [[WHITE]]{1}
Party.InvalidName=[[DARK_RED]]That is not a valid party name.
Party.IsLocked=[[RED]]This party is already locked!
Party.IsntLocked=[[RED]]This party is not locked!

View File

@ -398,6 +398,7 @@ Commands.Party.Invite.1=[[YELLOW]]Type [[GREEN]]/party accept[[YELLOW]] to accep
Commands.Party.Invite=<player> [[RED]]- Send party invite
Commands.Party.Join=[[GRAY]]Joined Party: {0}
Commands.Party.Create=[[GRAY]]Created Party: {0}
Commands.Party.Rename=[[GRAY]]Party name changed to: [[WHITE]]{0}
Commands.Party.AlreadyExists=[[DARK_RED]]Party {0} already exists!
Commands.Party.Kick=[[RED]]Du var sparket fra partyet! {0}!
Commands.Party.Leave=[[RED]]You have left that party
@ -446,6 +447,7 @@ Party.Help.7=[[RED]]To transfer ownership of your party, use [[DARK_AQUA]]/party
Party.Help.8=[[RED]]To disband your party, use [[DARK_AQUA]]/party disband
Party.InformedOnJoin={0} [[GREEN]] has joined your party
Party.InformedOnQuit={0} [[GREEN]] has left your party
Party.InformedOnNameChange=[[GOLD]]{0} [[GREEN]]has set the party name to [[WHITE]]{1}
Party.InvalidName=[[DARK_RED]]That is not a valid party name.
Party.IsLocked=[[RED]]This party is already locked!
Party.IsntLocked=[[RED]]This party is not locked!

View File

@ -398,6 +398,7 @@ Commands.Party.Invite.1=[[YELLOW]]Napisz [[GREEN]]/party accept[[YELLOW]] aby za
Commands.Party.Invite=<player> [[RED]]- Send party invite
Commands.Party.Join=[[GRAY]]Dolaczyles do Grupy: {0}
Commands.Party.Create=[[GRAY]]Created Party: {0}
Commands.Party.Rename=[[GRAY]]Party name changed to: [[WHITE]]{0}
Commands.Party.AlreadyExists=[[DARK_RED]]Party {0} already exists!
Commands.Party.Kick=[[RED]]Zosta\u0142e\u015b wyrzucony z dru\u017cyny {0}!
Commands.Party.Leave=[[RED]]Opusciles grupe
@ -446,6 +447,7 @@ Party.Help.7=[[RED]]To transfer ownership of your party, use [[DARK_AQUA]]/party
Party.Help.8=[[RED]]To disband your party, use [[DARK_AQUA]]/party disband
Party.InformedOnJoin={0} [[GREEN]] dolaczyl do twojej grupy.
Party.InformedOnQuit={0} [[GREEN]] wyszedl z twojej grupy.
Party.InformedOnNameChange=[[GOLD]]{0} [[GREEN]]has set the party name to [[WHITE]]{1}
Party.InvalidName=[[DARK_RED]]That is not a valid party name.
Party.IsLocked=[[RED]]Ta grupa jest juz zamknieta!
Party.IsntLocked=[[RED]]This party is not locked!

View File

@ -398,6 +398,7 @@ Commands.Party.Invite.1=[[YELLOW]]Type [[GREEN]]/party accept[[YELLOW]] to accep
Commands.Party.Invite=<player> [[RED]]- Send party invite
Commands.Party.Join=[[GRAY]]Joined Party: {0}
Commands.Party.Create=[[GRAY]]Created Party: {0}
Commands.Party.Rename=[[GRAY]]Party name changed to: [[WHITE]]{0}
Commands.Party.AlreadyExists=[[DARK_RED]]Party {0} already exists!
Commands.Party.Kick=[[RED]]You were kicked from party {0}!
Commands.Party.Leave=[[RED]]You have left that party
@ -446,6 +447,7 @@ Party.Help.7=[[RED]]To transfer ownership of your party, use [[DARK_AQUA]]/party
Party.Help.8=[[RED]]To disband your party, use [[DARK_AQUA]]/party disband
Party.InformedOnJoin={0} [[GREEN]] has joined your party
Party.InformedOnQuit={0} [[GREEN]] has left your party
Party.InformedOnNameChange=[[GOLD]]{0} [[GREEN]]has set the party name to [[WHITE]]{1}
Party.InvalidName=[[DARK_RED]]That is not a valid party name.
Party.IsLocked=[[RED]]This party is already locked!
Party.IsntLocked=[[RED]]This party is not locked!

View File

@ -398,6 +398,7 @@ Commands.Party.Invite.1=[[YELLOW]]Type [[GREEN]]/party accept[[YELLOW]] to accep
Commands.Party.Invite=<player> [[RED]]- Send party invite
Commands.Party.Join=[[GRAY]]Joined Party: {0}
Commands.Party.Create=[[GRAY]]Created Party: {0}
Commands.Party.Rename=[[GRAY]]Party name changed to: [[WHITE]]{0}
Commands.Party.AlreadyExists=[[DARK_RED]]Party {0} already exists!
Commands.Party.Kick=[[RED]]You were kicked from party {0}!
Commands.Party.Leave=[[RED]]You have left that party
@ -446,6 +447,7 @@ Party.Help.7=[[RED]]To transfer ownership of your party, use [[DARK_AQUA]]/party
Party.Help.8=[[RED]]To disband your party, use [[DARK_AQUA]]/party disband
Party.InformedOnJoin={0} [[GREEN]] entrou na equipe
Party.InformedOnQuit={0} [[GREEN]] saiu da equipe
Party.InformedOnNameChange=[[GOLD]]{0} [[GREEN]]has set the party name to [[WHITE]]{1}
Party.InvalidName=[[DARK_RED]]That is not a valid party name.
Party.IsLocked=[[RED]]This party is already locked!
Party.IsntLocked=[[RED]]This party is not locked!

View File

@ -398,6 +398,7 @@ Commands.Party.Invite.1=[[YELLOW]]\u041d\u0430\u043f\u0438\u0448\u0438\u0442\u04
Commands.Party.Invite=<player> [[RED]]- \u041f\u043e\u0441\u043b\u0430\u0442\u044c \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435 \u0432 \u0433\u0440\u0443\u043f\u043f\u0443
Commands.Party.Join=[[GRAY]]\u0412\u044b \u043f\u0440\u0438\u0441\u043e\u0435\u0434\u0435\u043d\u0438\u043b\u0438\u0441\u044c \u043a \u0413\u0440\u0443\u043f\u043f\u0435: {0}
Commands.Party.Create=[[GRAY]]Created Party: {0}
Commands.Party.Rename=[[GRAY]]Party name changed to: [[WHITE]]{0}
Commands.Party.AlreadyExists=[[DARK_RED]]Party {0} already exists!
Commands.Party.Kick=[[RED]]\u0412\u044b \u0432\u044b\u0433\u043d\u0430\u043d\u044b \u0438\u0437 \u0433\u0440\u0443\u043f\u043f\u044b {0}!
Commands.Party.Leave=[[RED]]\u0412\u044b \u043f\u043e\u043a\u0438\u043d\u0443\u043b\u0438 \u0433\u0440\u0443\u043f\u043f\u0443
@ -446,6 +447,7 @@ Party.Help.7=[[RED]]To transfer ownership of your party, use [[DARK_AQUA]]/party
Party.Help.8=[[RED]]To disband your party, use [[DARK_AQUA]]/party disband
Party.InformedOnJoin={0} [[GREEN]] \u043f\u0440\u0438\u0441\u043e\u0435\u0434\u0435\u043d\u0438\u043b\u0441\u044f \u043a \u0412\u0430\u0448\u0435\u0439 \u0433\u0440\u0443\u043f\u043f\u0435
Party.InformedOnQuit={0} [[GREEN]] \u043f\u043e\u043a\u0438\u043d\u0443\u043b \u0412\u0430\u0448\u0443 \u0433\u0440\u0443\u043f\u043f\u0443
Party.InformedOnNameChange=[[GOLD]]{0} [[GREEN]]has set the party name to [[WHITE]]{1}
Party.InvalidName=[[DARK_RED]]\u041d\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0433\u0440\u0443\u043f\u043f\u044b.
Party.IsLocked=[[RED]]\u042d\u0442\u0430 \u0433\u0440\u0443\u043f\u043f\u0430 \u0443\u0436\u0435 \u0437\u0430\u043a\u0440\u044b\u0442\u0430!
Party.IsntLocked=[[RED]]\u042d\u0442\u0430 \u0433\u0440\u0443\u043f\u043f\u0430 \u043d\u0435 \u0437\u0430\u043a\u0440\u044b\u0442\u0430!

View File

@ -398,6 +398,7 @@ Commands.Party.Invite.1=[[YELLOW]]Type [[GREEN]]/party accept[[YELLOW]] to accep
Commands.Party.Invite=<player> [[RED]]- Send party invite
Commands.Party.Join=[[GRAY]]Joined Party: {0}
Commands.Party.Create=[[GRAY]]Created Party: {0}
Commands.Party.Rename=[[GRAY]]Party name changed to: [[WHITE]]{0}
Commands.Party.AlreadyExists=[[DARK_RED]]Party {0} already exists!
Commands.Party.Kick=[[RED]]You were kicked from party {0}!
Commands.Party.Leave=[[RED]]You have left that party
@ -446,6 +447,7 @@ Party.Help.7=[[RED]]To transfer ownership of your party, use [[DARK_AQUA]]/party
Party.Help.8=[[RED]]To disband your party, use [[DARK_AQUA]]/party disband
Party.InformedOnJoin={0} [[GREEN]] has joined your party
Party.InformedOnQuit={0} [[GREEN]] has left your party
Party.InformedOnNameChange=[[GOLD]]{0} [[GREEN]]has set the party name to [[WHITE]]{1}
Party.InvalidName=[[DARK_RED]]That is not a valid party name.
Party.IsLocked=[[RED]]This party is already locked!
Party.IsntLocked=[[RED]]This party is not locked!

View File

@ -398,6 +398,7 @@ Commands.Party.Invite.1=[[YELLOW]]Type [[GREEN]]/party accept[[YELLOW]] to accep
Commands.Party.Invite=<player> [[RED]]- Send party invite
Commands.Party.Join=[[GRAY]]Joined Party: {0}
Commands.Party.Create=[[GRAY]]Created Party: {0}
Commands.Party.Rename=[[GRAY]]Party name changed to: [[WHITE]]{0}
Commands.Party.AlreadyExists=[[DARK_RED]]Party {0} already exists!
Commands.Party.Kick=[[RED]]You were kicked from party {0}!
Commands.Party.Leave=[[RED]]You have left that party
@ -446,6 +447,7 @@ Party.Help.7=[[RED]]To transfer ownership of your party, use [[DARK_AQUA]]/party
Party.Help.8=[[RED]]To disband your party, use [[DARK_AQUA]]/party disband
Party.InformedOnJoin={0} [[GREEN]] has joined your party
Party.InformedOnQuit={0} [[GREEN]] has left your party
Party.InformedOnNameChange=[[GOLD]]{0} [[GREEN]]has set the party name to [[WHITE]]{1}
Party.InvalidName=[[DARK_RED]]That is not a valid party name.
Party.IsLocked=[[RED]]This party is already locked!
Party.IsntLocked=[[RED]]This party is not locked!

View File

@ -398,6 +398,7 @@ Commands.Party.Invite.1=[[YELLOW]]\u8f93\u5165 [[GREEN]]/party accept[[YELLOW]]
Commands.Party.Invite=<player> [[RED]]- \u53d1\u9001\u961f\u4f0d\u9080\u8bf7
Commands.Party.Join=[[GRAY]]\u52a0\u5165\u961f\u4f0d: {0}
Commands.Party.Create=[[GRAY]]Created Party: {0}
Commands.Party.Rename=[[GRAY]]Party name changed to: [[WHITE]]{0}
Commands.Party.AlreadyExists=[[DARK_RED]]Party {0} already exists!
Commands.Party.Kick=[[RED]]\u4f60\u5df2\u88ab {0} \u8e22\u51fa!
Commands.Party.Leave=[[RED]]\u4f60\u79bb\u5f00\u4e86\u8fd9\u652f\u961f\u4f0d
@ -446,6 +447,7 @@ Party.Help.7=[[RED]]To transfer ownership of your party, use [[DARK_AQUA]]/party
Party.Help.8=[[RED]]To disband your party, use [[DARK_AQUA]]/party disband
Party.InformedOnJoin={0} [[GREEN]] \u52a0\u5165\u4e86\u961f\u4f0d
Party.InformedOnQuit={0} [[GREEN]] \u5df2\u7ecf\u79bb\u5f00\u4e86\u8fd9\u652f\u961f\u4f0d
Party.InformedOnNameChange=[[GOLD]]{0} [[GREEN]]has set the party name to [[WHITE]]{1}
Party.InvalidName=[[DARK_RED]]\u90a3\u4e0d\u662f\u4e00\u4e2a\u6709\u6548\u7684\u961f\u4f0d\u540d\u5b57.
Party.IsLocked=[[RED]]\u8fd9\u4e2a\u961f\u4f0d\u5df2\u7ecf\u9501\u5b9a!
Party.IsntLocked=[[RED]]\u8fd9\u4e2a\u961f\u4f0d\u5e76\u6ca1\u6709\u9501\u5b9a!

View File

@ -724,6 +724,7 @@ permissions:
mcmmo.commands.party.lock: true
mcmmo.commands.party.unlock: true
mcmmo.commands.party.password: true
mcmmo.commands.party.rename: true
mcmmo.chat.*:
description: Implies all mcmmo.chat permissions. (Warning, contains adminchat)
children: