Class RankAssignCommand
Object
NormalCommand
GuildCommand
GuildMasterCommand
RankAssignCommand
- All Implemented Interfaces:
Command
Makes you, as guildmaster, assign a rank to a member of the guild. Command syntax something like : guildassignrank <position> <guildmember> Where position is the index of the rank.
A special version of this command is the command to remove a rank. For example: guildassignrank none <guildmember>. It removed the rank of the guildmember leaving him or her guildrankless.
I think, but I'm not sure, that the guildmember is required to be online in the game.
- Author:
- maartenl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRuns the command.Methods inherited from class NormalCommand
getAdminService, getChatService, getEventsService, getGuildService, getHelpService, getItemService, getLogService, getPersonService, getRegExpr, parseCommand, parseCommand, setCallback
-
Constructor Details
-
RankAssignCommand
-
-
Method Details
-
run
Description copied from interface:Command
Runs the command. The usual sequence of events is:- parsing the command string
- retrieving the appropriate information items/rooms/characters/etc)
- doing the action
- composing a return message for the user.
- Specified by:
run
in interfaceCommand
- Specified by:
run
in classNormalCommand
- Parameters:
command
- the String containing the full command.aUser
- the user that is executing the command- Returns:
- DisplayInterface to display to the user, if it returns null, it means the command was unsuccessfull.
- Throws:
MudException
- if something goes wrong.
-