Skip to content

Commit

Permalink
Finished events
Browse files Browse the repository at this point in the history
  • Loading branch information
Devlrxxh committed Feb 4, 2024
1 parent 25b4acb commit 8a0fab3
Show file tree
Hide file tree
Showing 23 changed files with 323 additions and 517 deletions.
18 changes: 3 additions & 15 deletions src/main/java/me/funky/praxi/Praxi.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
import me.funky.praxi.arena.command.ArenaCommand;
import me.funky.praxi.commands.admin.general.MainCommand;
import me.funky.praxi.commands.donater.FlyCommand;
import me.funky.praxi.commands.event.admin.*;
import me.funky.praxi.commands.event.map.*;
import me.funky.praxi.commands.event.user.*;
import me.funky.praxi.commands.event.user.HostCommand;
import me.funky.praxi.commands.event.vote.EventMapVoteCommand;
import me.funky.praxi.commands.user.duels.DuelAcceptCommand;
import me.funky.praxi.commands.user.duels.DuelCommand;
Expand Down Expand Up @@ -135,25 +134,12 @@ public void onEnable() {
Arrays.asList(
new DuelCommand(),
new DuelAcceptCommand(),
new EventAdminCommand(),
new EventHelpCommand(),
new EventCancelCommand(),
new EventClearCooldownCommand(),
new EventForceStartCommand(),
new EventHostCommand(),
new EventInfoCommand(),
new EventJoinCommand(),
new EventLeaveCommand(),
new EventSetLobbyCommand(),
new EventMapCreateCommand(),
new EventMapDeleteCommand(),
new EventMapsCommand(),
new EventMapSetSpawnCommand(),
new EventMapStatusCommand(),
new EventMapVoteCommand(),
new EventAddMapCommand(),
new EventRemoveMapCommand(),
new EventsCommand(),
new RematchCommand(),
new SpectateCommand(),
new StopSpectatingCommand(),
Expand Down Expand Up @@ -226,6 +212,8 @@ private void loadCommandCompletions() {
commandCompletions.registerCompletion("names", c -> Bukkit.getOnlinePlayers().stream().map(Player::getName).collect(Collectors.toList()));
commandCompletions.registerCompletion("arenas", c -> Arena.getArenas().stream().map(Arena::getName).collect(Collectors.toList()));
commandCompletions.registerCompletion("kits", c -> Kit.getKits().stream().map(Kit::getName).collect(Collectors.toList()));
commandCompletions.registerCompletion("events", c -> Event.events.stream().map(Event::getDisplayName).collect(Collectors.toList()));
commandCompletions.registerCompletion("maps", c -> EventGameMap.getMaps().stream().map(EventGameMap::getMapName).collect(Collectors.toList()));
}

@Override
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 8a0fab3

Please sign in to comment.