Skip to content

Commands and Permissions

RedstoneFuture edited this page May 29, 2024 · 35 revisions

Main Command

Syntax: /mw …

Aliases: /missilewars

Permission: -

This is the main command of the MissileWars plugin. Without specifying any arguments, it displays the available commands based on the user's permissions.

User Commands

Map-Vote Menu

Syntax: /mw mapmenu

Aliases: votegui

Permission: mw.mapmenu

This command can be used to open the Map-Vote Menu. This is an inventory menu that displays the available arenas there are can be voted for and allows executing the corresponding Map-Vote command through item interaction.

Note: The menu can be partially reconfigured. All details can be found here.

Map-Vote

Syntax: /mw vote <arena>

Aliases: -

Permission: mw.vote

This command can be used to vote for the desired arena-map in the game-phase "Lobby", if more than one map is available for the game and the map_choose_procedure is set to MAPVOTING in the arena config. If the command is used multiple times in the same game, the previous vote is overwritten.

Team-Selection Menu

Syntax: /mw teammenu

Aliases: changegui

Permission: mw.teammenu

This command can be used to open the Team-Selection Menu. This is an inventory menu that displays the available teams (Team 1, Team 2 and Spectator) and allows executing the corresponding Team-Change command through item interaction.

Note: The menu can be partially reconfigured. All details can be found here.

Team-Change

Syntax: /mw change <1|2|spec>

Aliases: switch, team

Permission: mw.change.use

This command can be used to change the team. This is possible in the game-phase "Lobby" and (if the arena setting teamchange_ongoing_game is enabled) in the game-phase "Ingame". The anti-spam interval (antispam_intervall.team_change_command) from the config.yml is used here so that the command cannot be used too quickly in succession. The player also requires the mw.change.team.player permission to enter one of the player-teams and mw.change.team.spectator to enter the spectator-team. In the game-phase "Ingame", with executing the command the plugin checks whether the requested team-change is fair (in the lobby, the game simply does not start in this case). The maximum values for the game and the teams are also validated.

Game-Quit

Syntax: /mw quit

Aliases: leave

Permission: mw.quit

You can use this command to leave a game if you are in one. It doesn't matter whether you are currently in a player team or watching in a spectator team. This command teleports you to the configured fallback_spawn position.

Statistics

Warn: The stats system is outdated and will be reworked in the future.

Show Stats

Syntax: /mw stats [from] [arena]

Aliases: -

Permission: mw.stats

Shows stats.

Shows Recommendations

Syntax: /mw stats recommendations [from] [arena]

Aliases: -

Permission: mw.stats.recommendations

Shows recommendations.

Shows Player-List

Syntax: /mw stats players [from] [arena]

Aliases: -

Permission: mw.stats.players

Shows player list.

List Game-History

Syntax: /mw stats list [from] [arena]

Aliases: -

Permission: mw.stats.list

Lists history of games.

Clone this wiki locally