Jump to content

CMM Map Marker Commands: Difference between revisions

From CMM Wiki
No edit summary
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 24: Line 24:


=== !myinfo ===
=== !myinfo ===
   Description : Will create a map marker with information about the player in it. Currently shows, Name, SlotID, UnitID and UCID. The mark can be deleted by pressing the red X.
   Description : Will create a map marker with information about the player in it.  
         Usage :  
                Currently shows, Name, SlotID, UnitID and UCID.  
                The mark can be deleted by pressing the red X.
         Usage :


===!myperms===
===!myperms===
   Description : Will send a text alert to the player displaying the players current permissions
   Description : Will send a text alert to the player displaying the players current permissions
        Usage :


===!survey===
 
===survey===
   Description : Will check if there are objects (excluding trees), and the ground around the point is flat
   Description : Will check if there are objects (excluding trees), and the ground around the point is flat
         Usage : <code>!survey:<radiusInMetersNumber></code>
         Usage : !survey:<radiusInMetersNumber>
 


===!smoke===
===!smoke===
   Description : Will add a smoke of a specific colour at the mark point location.
   Description : Will add a smoke of a specific colour at the mark point location.
         Usage : <code>!smoke:<colour> </code>
         Usage : !smoke:<colour>
 
  Valid Smoke Colours are:
  Valid Smoke Colours are:
   red  
   red  
Line 49: Line 46:
   orange  
   orange  
   white  
   white  
  Example1 : <code>!smoke: red</code>
  Example1 : !smoke: red
 


===!spin===
===!spin===
   Description : Will place a large pin mark on the map as well as put a smoke in the game
   Description : Will place a large pin mark on the map as well as put a smoke in the game
         Usage : <code>syntax = !spin:<colour></code>
         Usage : syntax = !spin:<colour>
  Valid Colours are:
  Valid Colours are:
     red
     red
Line 64: Line 59:
     yellow (will display white smoke)
     yellow (will display white smoke)
     black  (will display white smoke)
     black  (will display white smoke)
  Example1 : <code>!spin:green </code>
  Example1 : !spin:green  
 


===!pin===
===!pin===
   Description : Will place a large pin mark on the map (same as spin, just without the smoke)
   Description : Will place a large pin mark on the map (same as spin, just without the smoke)
         Usage : <code>!pin:<colour></code>
         Usage : !pin:<colour>
  Valid Colours are:
  Valid Colours are:
     red
     red
Line 79: Line 72:
     yellow
     yellow
     black
     black
  Example1 : <code>!pin:green</code>
  Example1 : !pin:green
 


===!flare===
===!flare===
   Description : Will place a flare in the game at the specified location
   Description : Will place a flare in the game at the specified location
         Usage : <code>!flare:<colour></code>
         Usage : !flare:<colour>
  Valid Colours are:
  Valid Colours are:
     red
     red
Line 91: Line 82:
     orange
     orange
     white
     white
  Example1 : <code>!flare:green</code>
  Example1 : !flare:green
 


===!illum===
===!illum===
   Description : Will place an illum flare in the game at the specified location
   Description : Will place an illum flare in the game at the specified location
         Usage : !illum:<brightness#>
         Usage : !illum:<brightness#>
     Example1 : <code>!illum:5000</code>
     Example1 : !illum:5000
 


===!scan===
===!scan===
   Description : Will scan an area around the specified location
   Description : Will scan an area around the specified location
         Usage :!scan:<boxrange>
         Usage : !scan:<boxrange>
     Example1 : !scan
     Example1 : !scan


===!topo===
===!topo===
   Description : Will draw a vector showing what intercept points to the terrain from the specified locations ground elevation.
   Description : Will draw a vector showing what intercept points to the terrain from the specified locations ground elevation.
 
        Usage :


== Support Aircraft Commands ==
== Support Aircraft Commands ==




===!isr / !tanker / !awacs===
===!isr / !tanker / !awacs===
   Description : Will move an ISR / TANKER / AWACS platform into the orbit and location specified
   Description : Will move an ISR / TANKER / AWACS platform into the orbit and location specified
         Usage : <code>!isr:<ISRPlatformName> -rt <direction>:<distanceKM> -s <speedKnots> -a <altitude> </code>
         Usage : !isr:<ISRPlatformName> -rt <direction>:<distanceKM> -s <speedKnots> -a <altitude>
 


====Example1 = place drone orbit location====
====Example1 = place drone orbit location====
     Example1 : will put <u>Colt11</u> into a ''circular orbit <u>at</u> the specified location''
     Example1 : will put <u>Colt11</u> into a ''circular orbit <u>at</u> the specified location''
         Usage : <code>!isr:Colt11 </code>
         Usage : !isr:Colt11  
 


====Example2 = place drone in racetrack at location====
====Example2 = place drone in racetrack at location====
     Example2 : will put <u>Colt11</u> into a <u>''RaceTrack''</u> orbit that goes <u>'' west 50km'' from</u> the specified location
     Example2 : will put <u>Colt11</u> into a <u>''RaceTrack''</u> orbit that goes <u>'' west 50km''</u>, <u>from</u> the specified location
<code>!isr:Colt11 -rt 270:50</code>
        Usage : !isr:Colt11 -rt 270:50
 


====Example3 = change altid orbit location====
====Example3 = change altid orbit location====
     Example3 : will ''change the altitude'' of <u>Colt11</u> to <u>''20,000ft'', without</u> changing its orbit location
     Example3 : will ''change the altitude'' of <u>Colt11</u> to <u>''20,000ft''</u>, <u>without</u> changing its orbit location
<code>!isr:Colt11 -dm -a 20000 </code>
        Usage : !isr:Colt11 -dm -a 20000  
 


====Example4 = change the speed ====
====Example4 = change the speed ====
     Example4 : will ''change the speed'' of <u>Colt11</u> to <u>''350knots'', without</u> changing its orbit location
     Example4 : will ''change the speed'' of <u>Colt11</u> to <u>''350knots''</u>, <u>without</u> changing its orbit location
<code>!isr:Colt11 -dm -s 350 </code>
        Usage : !isr:Colt11 -dm -s 350  
 


====Example5 = changes speed, alt & locn ====
====Example5 = changes speed, alt & locn ====
     Example5 : will ''change the speed, altitude and location'' of <u>Colt11</u> to <u>''175knots''</u>, <u>''14,000ft''</u> and to a <u>''racetrack''</u> going <u>''south 25km''</u> of the specified location
     Example5 : will ''change the speed, altitude and location'' of <u>Colt11</u> to <u>''175knots''</u>, <u>''14,000ft''</u> and to a <u>''racetrack''</u> going <u>''south 25km''</u>, <u>from</u> the specified location
  <code>!isr:Colt11 -rt 180:25 -s 175 -a 14000 </code>
        Usage : !isr:Colt11 -rt 180:25 -s 175 -a 14000  
 




Line 157: Line 135:
         Usage : !arty:<rounds>:<areaofeffectinMeters>
         Usage : !arty:<rounds>:<areaofeffectinMeters>
     Example1 : !arty:25:500
     Example1 : !arty:25:500


===!explode===
===!explode===
   Description : Will make a single explosion at the specified location
   Description : Will make a single explosion at the specified location
         Usage : !explode:<explosionstrength>
         Usage : !explode:<explosionstrength>
     Example1 : <code>!explode</code>
     Example1 : !explode
     Example2 : <code>!explode:500</code>
     Example2 : !explode:500
 


===!savesupport===
===!savesupport===
   Description : Will save the current support orbits for all support units so that the next time the mission executes they will fly the new orbits in the current mission
   Description : Will save the current support orbits for all support units so that the next time the mission executes they will fly the new orbits in the current mission
        Usage : !savesupport


===!savestate===
  Description : When executed it will stagger saving all mission persistence data to disk. Average save time is approximately 90 seconds.
        Usage : !savestate
 
===!serverreport===
  Description : Gives a report on the amount of units in a mission
        Usage : !serverreport


===!effectsmoke===
===!effectsmoke===
Line 185: Line 166:
     7 = large smoke
     7 = large smoke
     8 = huge smoke
     8 = huge smoke
  Example1 : <code>!effectsmoke:3</code>
  Example1 : !effectsmoke:3
 


===!removesmoke===
===!removesmoke===
   Description : Will remove the closest effectsmoke. (does not work with smokes added with !smoke command)
   Description : Will remove the closest effectsmoke. (does not work with smokes added with !smoke command)
        Usage :


===!spawn===
  Description : Spawns a specified group in the vicinity of the marker in a random direction unless defined in the command.
        Usage : !spawn:<type>:<direction>
    Example1 : !spawn:list            (will put a list of all valid spawn types on screen)
    Example2 : !spawn:blist          (will put a list of valid spawn types for the Blue team on screen)
    Example3 : !spawn:rlist          (will put a list of valid spawn types for the Red team on screen)
    Example4 : !spawn:capturetruck:90 (will spawn a capture truck fasting East)
    Example5 : !spawn:supply:135      (will spawn a supply crate fasting South East)


===!additem / !setitem / !removeitem===
===!additem / !setitem / !removeitem===
   Description : Will modify the item to the closest airbase, ship, fob
   Description : Will modify the item to the closest airbase, ship, fob
         Usage : !additem:<itemstringname>:<quantity>
         Usage : !additem:<itemstringname>:<quantity>
     Example1 : <code>!addItem:AH-64D_BLK_II:5</code>
     Example1 : !addItem:AH-64D_BLK_II:5
     Example2 : <code>!addItem:DagiAH64</code>
     Example2 : !addItem:DagiAH64
     Example3 : <code>!addItem:weapons.missiles.AGM_114K:100</code>
     Example3 : !addItem:weapons.missiles.AGM_114K:100


===!addfuel / !setfuel / !removefuel===
 
===addfuel / !setfuel / !removefuel===
   Description : Will modify the fuel levels of the closest airbase, ship, fob.
   Description : Will modify the fuel levels of the closest airbase, ship, fob.
         Usage : !addfuel:<fueltype#>:<quantityInTonnes>
         Usage : !addfuel:<fueltype#>:<quantityInTonnes>
  Valid fuel types are:
  Valid fuel types are:
     0 = JetFuel
     0 = JetFuel
Line 211: Line 196:
     2 = MW50
     2 = MW50
     3 = Diesel
     3 = Diesel
  Example1 : <code>!addfuel:0:5</code>
  Example1 : !addfuel:0:5
 


===!makeadmin / !makemod / !makegm / !makepatreon !makemember===
===!makeadmin / !makemod / !makegm / !makepatreon !makemember===
   Description : Will add the permission to the closest player pilot
   Description : Will add the permission to the closest player pilot
 
        Usage :


===!removeadmin / !removemod / !removegm / !removepatreon===
===!removeadmin / !removemod / !removegm / !removepatreon===
   Description : Will remove the permission to the closest player pilot
   Description : Will remove the permission to the closest player pilot
 
        Usage :


===!revoke===
===!revoke===
   Description : Will remove all permissions from the closest pilot
   Description : Will remove all permissions from the closest pilot
 
        Usage :


===!refreshauth===
===!refreshauth===
   Description : Will reload the CMM.authtable from the CMM.AUTH.File
   Description : Will reload the CMM.authtable from the CMM.AUTH.File
        Usage :


== Development Commands ==
== Development Commands ==
Line 238: Line 219:
   Description : Will dump a file containing the closest airbases warehouse weapons list into the CMM dump directory and be called 'CMM.WEAPONSLIST.json'
   Description : Will dump a file containing the closest airbases warehouse weapons list into the CMM dump directory and be called 'CMM.WEAPONSLIST.json'
   This is more of a mission development command and has no real gameplay value
   This is more of a mission development command and has no real gameplay value


===!dumpwh===
===!dumpwh===
   Description : Will dump a file containing the entire contents of the nearest airbases warehouse (fuel levels, weapons, airframes)
   Description : Will dump a file containing the entire contents of the nearest airbases warehouse (fuel levels, weapons, airframes)
   ''File will be called '''''<AirbaseName>_Warehouse.json''''' and will be in the CMM dump directory''
   ''File will be called '''''<AirbaseName>_Warehouse.json''''' and will be in the CMM dump directory''


===!dumpairb===
===!dumpairb===
Line 258: Line 235:
     Location
     Location




===!point===
===!point===
   Description : Will dump the X,Y,Z of the specified location into the dcs log file
   Description : Will dump the X,Y,Z of the specified location into the dcs log file
        Usage :

Latest revision as of 10:39, 2 June 2026

This is the definitive list of Map Commands for CMM. The first part of the list will be dedicated to standard user commands. Further down will be Admin or 'special permission' based commands.

Common Commands

!register

 Description : Registers a user to the server
       Usage : !register

!email

 Description : Updates the users Email address in the auth table
       Usage : !email:[email protected]

!discord

 Description : Updates the users Discord ID in the auth table
       Usage : !discord:0000345908345898354

!accept

 Description : By executing this command near a mission, it will add you to the mission.
       Usage : !accept

!reject

 Description : Will remove the player from closest accepted mission.
       Usage : !reject

!myinfo

 Description : Will create a map marker with information about the player in it. 
               Currently shows, Name, SlotID, UnitID and UCID. 
               The mark can be deleted by pressing the red X.
       Usage :

!myperms

 Description : Will send a text alert to the player displaying the players current permissions
       Usage :

!survey

 Description : Will check if there are objects (excluding trees), and the ground around the point is flat
       Usage : !survey:<radiusInMetersNumber>

!smoke

 Description : Will add a smoke of a specific colour at the mark point location.
       Usage : !smoke:<colour>
Valid Smoke Colours are:
 red 
 green 
 blue 
 orange 
 white 
Example1 : !smoke: red

!spin

 Description : Will place a large pin mark on the map as well as put a smoke in the game
       Usage : syntax = !spin:<colour>
Valid Colours are:
   red
   green
   blue
   orange
   white
   yellow (will display white smoke)
   black  (will display white smoke)
Example1 : !spin:green 

!pin

 Description : Will place a large pin mark on the map (same as spin, just without the smoke)
       Usage : !pin:<colour>
Valid Colours are:
   red
   green
   blue
   orange
   white
   yellow
   black
Example1 : !pin:green

!flare

 Description : Will place a flare in the game at the specified location
       Usage : !flare:<colour>
Valid Colours are:
   red
   green
   orange
   white
Example1 : !flare:green

!illum

 Description : Will place an illum flare in the game at the specified location
       Usage : !illum:<brightness#>
    Example1 : !illum:5000

!scan

 Description : Will scan an area around the specified location
       Usage : !scan:<boxrange>
    Example1 : !scan

!topo

 Description : Will draw a vector showing what intercept points to the terrain from the specified locations ground elevation.
       Usage :

Support Aircraft Commands

!isr / !tanker / !awacs

 Description : Will move an ISR / TANKER / AWACS platform into the orbit and location specified
       Usage : !isr:<ISRPlatformName> -rt <direction>:<distanceKM> -s <speedKnots> -a <altitude>

Example1 = place drone orbit location

    Example1 : will put Colt11 into a circular orbit at the specified location
       Usage : !isr:Colt11 

Example2 = place drone in racetrack at location

    Example2 : will put Colt11 into a RaceTrack orbit that goes  west 50km, from the specified location
       Usage : !isr:Colt11 -rt 270:50

Example3 = change altid orbit location

    Example3 : will change the altitude of Colt11 to 20,000ft, without changing its orbit location
       Usage : !isr:Colt11 -dm -a 20000 

Example4 = change the speed

    Example4 : will change the speed of Colt11 to 350knots, without changing its orbit location
       Usage : !isr:Colt11 -dm -s 350 

Example5 = changes speed, alt & locn

    Example5 : will change the speed, altitude and location of Colt11 to 175knots, 14,000ft and to a racetrack going south 25km, from the specified location
       Usage : !isr:Colt11 -rt 180:25 -s 175 -a 14000 


All these examples are available for !isr, !tanker and !awacs commands.


Elevated Permissions Section

!arty

 Description : Will drop an Artillery barrage around the specified location (NOTE: will not hit Runway or Taxiways)
       Usage : !arty:<rounds>:<areaofeffectinMeters>
    Example1 : !arty:25:500

!explode

 Description : Will make a single explosion at the specified location
       Usage : !explode:<explosionstrength>
    Example1 : !explode
    Example2 : !explode:500

!savesupport

 Description : Will save the current support orbits for all support units so that the next time the mission executes they will fly the new orbits in the current mission
       Usage : !savesupport

!savestate

 Description : When executed it will stagger saving all mission persistence data to disk. Average save time is approximately 90 seconds.
       Usage : !savestate

!serverreport

 Description : Gives a report on the amount of units in a mission
       Usage : !serverreport

!effectsmoke

 Description : Will add an Fire / Smoke Effect at the specified location
       Usage : !effectsmoke:<smokeEffect#>
Valid smoke effect types are:
   1 = small smoke and fire
   2 = medium smoke and fire
   3 = large smoke and fire
   4 = huge smoke and fire
   5 = small smoke
   6 = medium smoke
   7 = large smoke
   8 = huge smoke
Example1 : !effectsmoke:3

!removesmoke

 Description : Will remove the closest effectsmoke. (does not work with smokes added with !smoke command)
       Usage :

!spawn

 Description : Spawns a specified group in the vicinity of the marker in a random direction unless defined in the command.
       Usage : !spawn:<type>:<direction>
    Example1 : !spawn:list            (will put a list of all valid spawn types on screen)
    Example2 : !spawn:blist           (will put a list of valid spawn types for the Blue team on screen)
    Example3 : !spawn:rlist           (will put a list of valid spawn types for the Red team on screen)
    Example4 : !spawn:capturetruck:90 (will spawn a capture truck fasting East)
    Example5 : !spawn:supply:135      (will spawn a supply crate fasting South East)

!additem / !setitem / !removeitem

 Description : Will modify the item to the closest airbase, ship, fob
       Usage : !additem:<itemstringname>:<quantity>
    Example1 : !addItem:AH-64D_BLK_II:5
    Example2 : !addItem:DagiAH64
    Example3 : !addItem:weapons.missiles.AGM_114K:100

!addfuel / !setfuel / !removefuel

 Description : Will modify the fuel levels of the closest airbase, ship, fob.
       Usage : !addfuel:<fueltype#>:<quantityInTonnes>
Valid fuel types are:
   0 = JetFuel
   1 = Aviation Gas
   2 = MW50
   3 = Diesel
Example1 : !addfuel:0:5

!makeadmin / !makemod / !makegm / !makepatreon !makemember

 Description : Will add the permission to the closest player pilot
       Usage :

!removeadmin / !removemod / !removegm / !removepatreon

 Description : Will remove the permission to the closest player pilot
       Usage :

!revoke

 Description : Will remove all permissions from the closest pilot
       Usage :

!refreshauth

 Description : Will reload the CMM.authtable from the CMM.AUTH.File
       Usage :

Development Commands

!gwl

 Description : Will dump a file containing the closest airbases warehouse weapons list into the CMM dump directory and be called 'CMM.WEAPONSLIST.json'
 This is more of a mission development command and has no real gameplay value

!dumpwh

 Description : Will dump a file containing the entire contents of the nearest airbases warehouse (fuel levels, weapons, airframes)
 File will be called <AirbaseName>_Warehouse.json and will be in the CMM dump directory

!dumpairb

 Description : Will dump a file containing all data of an airbase
 File will be called <AirbaseName>_AirBase.json and will be in the CMM dump directory

Data includes but is not limited to:

   Callsign, DisplayName, EditorName
   AirbaseID#
   Runway(s) Information
   Warehouse contents
   Location


!point

 Description : Will dump the X,Y,Z of the specified location into the dcs log file
       Usage :