Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Feature: /f accept <factionName>
- Used by players to accept a faction invite sent by a faction captain or leader.
- Accepting faction invites sets the player in the joined faction.
- This is required so other players can play alongside their friends as a team.
- Scenario: a player has no pending invites
- Given a player is not in a faction
- When a player executes the command with all arguments
- Then inform the player they were not invited to the faction
- Background:
- Given a player is invited to a faction
- When /f accept <factionName> is executed by the player
- Scenario: a player is already in a faction
- Then inform the player they must leave their current faction
- Scenario: a faction has a max player limit
- Then inform the player & the faction the faction is full
- Scenario: the specified faction name can't be found
- Then inform the player the faction doesnt exist
- Scenario: a player sucessfully joins a faction
- Then inform the player & the faction the player joined
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement