Added team coop and trust perms

This commit is contained in:
tastybento 2018-09-01 11:56:03 -07:00
parent a158fe5cff
commit bd72ef4282
2 changed files with 14 additions and 0 deletions

View File

@ -18,6 +18,10 @@ import world.bentobox.bentobox.api.commands.island.IslandSetnameCommand;
import world.bentobox.bentobox.api.commands.island.IslandSettingsCommand;
import world.bentobox.bentobox.api.commands.island.IslandUnbanCommand;
import world.bentobox.bentobox.api.commands.island.team.IslandTeamCommand;
import world.bentobox.bentobox.api.commands.island.team.IslandTeamCoopCommand;
import world.bentobox.bentobox.api.commands.island.team.IslandTeamTrustCommand;
import world.bentobox.bentobox.api.commands.island.team.IslandTeamUncoopCommand;
import world.bentobox.bentobox.api.commands.island.team.IslandTeamUntrustCommand;
import world.bentobox.bentobox.api.user.User;
public class AiCommand extends CompositeCommand {
@ -53,6 +57,10 @@ public class AiCommand extends CompositeCommand {
new IslandBanlistCommand(this);
// Team commands
new IslandTeamCommand(this);
new IslandTeamTrustCommand(this);
new IslandTeamUntrustCommand(this);
new IslandTeamCoopCommand(this);
new IslandTeamUncoopCommand(this);
}
/* (non-Javadoc)

View File

@ -50,6 +50,12 @@ permissions:
acidisland.island.team:
description: Let a player use team commands
default: true
acidisland.island.team.trust:
description: Let a player use team trust commands
default: true
acidisland.island.team.coop:
description: Let a player use team coop commands
default: true
acidisland.settings.*:
description: Allow access to settings panel items
default: true