Parties can now have max size limits (configurable), by default party sizes are unlimited.

This commit is contained in:
nossr50
2019-01-11 06:17:07 -08:00
parent c7a49dd283
commit 19c38f0cb1
10 changed files with 78 additions and 0 deletions

View File

@ -242,6 +242,8 @@ Items:
# Settings for Parties
###
Party:
# Maximum size for a party, -1 for infinite
MaxSize: -1
# Amount of time (in hours) to wait between automatically kicking old party members
# To only run at server start, set to 0
# To never kick old users, set to -1

View File

@ -555,6 +555,8 @@ Commands.Party.Invite.1=[[YELLOW]]Type [[GREEN]]/party accept[[YELLOW]] to accep
Commands.Party.Invite=[[GREEN]]- Send party invite
Commands.Party.Invite.Accepted=[[GREEN]]Invite Accepted. You have joined party {0}
Commands.Party.Join=[[GRAY]]Joined Party: {0}
Commands.Party.PartyFull=[[GOLD]]{0}[[RED]] is full!
Commands.Party.PartyFull.Invite=[[RED]]You cannot invite [[YELLOW]]{0}[[RED]] to [[GREEN]]{1}[[RED]] because it already has [[DARK_AQUA]]{2}[[RED]] players in it!
Commands.Party.Create=[[GRAY]]Created Party: {0}
Commands.Party.Rename=[[GRAY]]Party name changed to: [[WHITE]]{0}
Commands.Party.SetSharing=[[GRAY]]Party {0} sharing set to: [[DARK_AQUA]]{1}

View File

@ -705,6 +705,7 @@ permissions:
default: false
description: Implies all bypass permissions.
children:
mcmmo.bypass.partylimit: true
mcmmo.bypass.arcanebypass: true
mcmmo.bypass.hardcoremode: true
mcmmo.bypass.kraken: true
@ -712,6 +713,9 @@ permissions:
mcmmo.commands.inspect.far: true
mcmmo.commands.inspect.hidden: true
mcmmo.commands.inspect.offline: true
mcmmo.bypass.partylimit:
default: false
description: Allows user to bypass party size limitations if present on the server
mcmmo.bypass.arcanebypass:
default: false
description: Allows user to bypass Arcane Repair so he will never lose enchantments