-
Notifications
You must be signed in to change notification settings - Fork 1
Commands
This page documents every command registered by Flan's Mod Ultimate 2.0. Commands marked Operator require Minecraft permission level 2 (normally an operator or a command block). Commands marked Player must be run by a player and cannot be run from the server console unless a player argument is explicitly shown.
Syntax notation:
-
<value>is required. -
[value]is optional. -
<player>accepts one player;<players>also accepts selectors that resolve to multiple players, such as@a. - Coordinates support Minecraft's normal absolute and relative (
~) notation. - IDs for teams, classes, maps, game types, loadout pools, and reward boxes come from
the currently loaded content and configuration. Use the corresponding
/teams listcommand to discover them.
Permission: Operator; executor: Player
Gives the executing player the default ammunition for the Flan's Mod gun or AA gun held in either hand. The main hand is checked first. If the inventory is full, the ammo is dropped at the player's position.
-
amountis an integer from1to64and defaults to1. - A gun must define a default ammo type.
- Ammo items are created fully loaded with their configured rounds-per-item value.
Examples:
/defaultammo
/defaultammo 16
All /digitalammo commands require Operator permission and only work while the
digital ammo system is enabled in the common config. Ammo type numbers start at 1;
the maximum is the configured digitalAmmoNumTypes value (seven by default).
| Command | Effect |
|---|---|
/digitalammo set <players> <type> <amount> |
Replaces the selected players' amount for one ammo type. amount must be 0 or greater. |
/digitalammo add <players> <type> <amount> |
Adds the non-negative amount to one ammo type for the selected players. |
/digitalammo fill <players> <type|all> |
Fills one type, or every configured type, to each player's maximum capacity. |
/digitalammo get <players> |
Prints the current amount of every configured ammo type for each selected player. |
Examples:
/digitalammo set Steve 1 250
/digitalammo add @a 2 50
/digitalammo fill @a all
/digitalammo get Steve
Permission: Operator
Spawns a named Flan's Mod particle for clients in the command source's current dimension. Only viewers within 512 blocks of the particle position receive it.
The accepted forms are:
/fmparticle <name>
/fmparticle <name> <x> <y> <z>
/fmparticle <name> <x> <y> <z> <dx> <dy> <dz> <speed> <count>
/fmparticle <name> <x> <y> <z> <dx> <dy> <dz> <speed> <count> <viewers>
/fmparticle <name> <x> <y> <z> <dx> <dy> <dz> <speed> <count> <scale>
/fmparticle <name> <x> <y> <z> <dx> <dy> <dz> <speed> <count> <scale> <viewers>
-
nameis the particle name understood by the Flan's Mod client renderer. -
posdefaults to the command source's position. -
deltadefaults to0 0 0and controls positional spread whencountis above zero. Whencountis zero it instead supplies the particle's motion direction. -
speedandscalemust be0or greater. They default to0and1. -
countmust be0or greater. A value of0creates one particle; a positive value creates that many particles with randomized spread and velocity. -
viewersaccepts players or a player selector. If omitted, all online players are considered, subject to the dimension and distance checks.
Examples:
/fmparticle fm_smoke
/fmparticle explode ~ ~1 ~ 0.5 0.5 0.5 0.1 20
/fmparticle flare 100 70 100 0 1 0 0.2 1 2 @a
/teams is the primary command. /team and /flansteams are exact aliases, so any
syntax below can use any of the three roots.
Running /teams or /teams help prints a short in-game command summary.
| Command | Executor | Effect |
|---|---|---|
/teams join <team> |
Player | Selects a team for the player's next respawn. The request can fail if the team is unavailable or would unbalance the round. |
/teams class <class> |
Player | Selects an available class for the player's selected team and rank. |
/teams score |
Player | Shows the current score, kills, and deaths. |
/teams vote <option> |
Player | Votes in the active round vote. option is from 1 to 5. |
/teams stats |
Player | Shows the player's persistent rank, XP, kills, deaths, and flag captures. |
/teams stats <player> |
Operator | Shows persistent stats for another online player. |
/teams leaderboard |
Anyone | Shows up to ten persistent player records, ordered by total XP. |
/teams loadouts |
Player | Opens the ranked loadout screen when a loadout pool is active. |
These commands do not require operator permission.
| Command | Output |
|---|---|
/teams list gametypes |
Loaded game type IDs, names, and required team counts. |
/teams list teams |
Loaded team IDs and names. |
/teams list classes |
Loaded class IDs, names, and required ranks. |
/teams list maps |
Configured map IDs, names, and dimensions. |
/teams list rounds |
Configured round indices, game types, maps, teams, time limits, and score limits. |
/teams list loadouts |
Loaded ranked loadout pool IDs and names. |
/teams list rewardboxes |
Loaded reward box IDs and names. |
The legacy aliases /teams listGametypes, /teams listMaps, /teams listRounds, and
/teams listAllTeams remain available. Prefer the grouped /teams list ... forms in
new documentation and scripts.
All commands in this section require Operator permission.
| Command | Effect |
|---|---|
/teams on |
Enables the teams system. |
/teams off |
Disables the teams system. |
/teams explosions <true|false> |
Enables or disables terrain damage from explosions. |
/teams forceAdventure <true|false> |
Controls whether adventure mode is forced on respawn. |
/teams forceAdventureMode <true|false> |
Alias of forceAdventure. |
/teams fuelNeeded <true|false> |
Controls whether vehicles require fuel. |
/teams start |
Starts the next configured round. |
/teams nextRound |
Advances to the next configured round. |
/teams getOpKit |
Gives the executing player the teams operator kit. |
/teams setloadoutpool <id> |
Selects a ranked loadout pool; use none to clear it. |
/teams xpmultiplier <value> |
Sets the teams XP multiplier from 0 to 100. |
/teams xp <player> <amount> |
Grants a positive amount of teams XP to one online player. |
/teams resetrank <player> |
Resets one online player's ranked progress. |
/teams giverewardbox <player> <box> |
Grants a loaded reward box to one online player. |
getOpKit is player-only. It gives one operator stick and 16 each of flagpoles,
player spawners, item spawners, and vehicle spawners; overflow is dropped at the
player's position.
Every /teams admin ... command requires Operator permission. These grouped forms
are preferred for server administration.
| Command | Effect |
|---|---|
/teams admin enabled <true|false> |
Enables or disables the teams system. |
/teams admin voting <true|false> |
Enables or disables round voting. |
/teams admin start [index] |
With no index, starts the next round. With a zero-based index, starts that configured round. |
/teams admin next |
Advances to the next configured round. |
/teams admin stop |
Stops the current round. |
/teams admin arena |
Applies the built-in arena preset. |
/teams admin survival |
Applies the built-in survival preset. |
/teams admin kit |
Gives the executing player the teams operator kit described above. |
The kit form is player-only.
| Command | Effect |
|---|---|
/teams admin loadoutpool <id> |
Selects a loaded ranked loadout pool; use none to clear it. |
/teams admin xpmultiplier <value> |
Sets the teams XP multiplier from 0 to 100. |
/teams admin xp <player> <amount> |
Grants a positive amount of teams XP to one online player. |
/teams admin resetrank <player> |
Resets one online player's ranked progress. |
/teams admin giverewardbox <player> <box> |
Grants a loaded reward box to one online player. |
| Command | Effect |
|---|---|
/teams admin map add <id> <name> |
Creates a map in the command source's current dimension. id is one word; name may contain spaces. |
/teams admin map remove <id> |
Removes a configured map. |
/teams admin round add <map> <gametype> <teams> <minutes> <score> |
Adds a round. teams is a comma-separated list of team IDs with no spaces. minutes is 1..1440; score is a positive integer. |
/teams admin round remove <index> |
Removes the round at the given zero-based index. Use /teams list rounds to find indices. |
/teams admin setvariable <name> <value> |
Sets a supported variable on the current game type. Both arguments are single words. |
Examples:
/teams admin map add desert_arena Desert Arena
/teams admin round add desert_arena TDM red,blue 15 50
/teams admin start 0
/teams admin setvariable friendlyFire false
- Commands that call for the executing player (
/defaultammo, several player teams commands, and the two operator-kit commands) fail from the dedicated-server console. -
/fmparticleuses the command source's position and dimension, making it suitable for command blocks. Explicit coordinates are recommended from the server console. - Success messages for administrative mutations are broadcast to operators according to Minecraft's normal command-feedback rules.