Skip to content

Commit

Permalink
nouveaux rôles
Browse files Browse the repository at this point in the history
  • Loading branch information
Niilyx committed Oct 28, 2022
1 parent 2a26ecd commit 2169ef1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/fr/efreicraft/ecatup/listeners/Join.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ public void onJoin(org.bukkit.event.player.PlayerJoinEvent event) throws IOExcep

case "Beta Tester" -> LP.getUserManager().getUser(event.getPlayer().getUniqueId()).data().add(Node.builder("group.beta").build());

case "Builder" -> LP.getUserManager().getUser(event.getPlayer().getUniqueId()).data().add(Node.builder("group.builder").build());

case "Responsable 1P" -> LP.getUserManager().getUser(event.getPlayer().getUniqueId()).data().add(Node.builder("group.respo1p").build());

case "Responsable Event", "Responsable Dev", "Responsable Infra", "Responsable Comm", "Responsable Build", "Responsable Design" -> {
LP.getUserManager().getUser(event.getPlayer().getUniqueId()).data().add(Node.builder("group.be").build());
LP.getUserManager().getUser(event.getPlayer().getUniqueId()).data().add(Node.builder("prefix.10.&c&l[" + rank + "] &c").build());
Expand Down

0 comments on commit 2169ef1

Please sign in to comment.