Jump to content
Infinity Gaming

Admin InGame Map Commands 1.0.0.1

   (0 reviews)

1 Screenshot

About This File

Description
Provides in-game commands for maplist manipulations. Those can be to define the next map to be run or to query available maps for the running gametype. It interacts with BasicInGameInfo & InGameAdmin.

How it works

Being enabled the plugin will get a list of all available maps for all supported gamemodes in the running mod (vanilla BFBC2 or BFBC2-Vietnam). Next it will check which is the current map and the gamemode. With this information it provides the list of available maps. Maps which should be selected are checked against maps in the running gamemode. If a selection is confirmed the plugin checks if that map is already in the current maplist rotation. On a hit the nextLevelIndex is set to that map in the rotation. If the selected map is not in the rotation it is instered into the maplist rotation and the nextLevelIndex is set to that map. The placement is done regarding the setting (add map method). A map is inserted with two rounds to play.

You need to issue the InGameAdmin 'Next Map' command (nextlevel by default) to forward to the selected map.

Commands

@map
  • usable by all players
  • will list all available maps in the running gamemode
@map [MapName] [optional: fast]
  • only usable by admins (Procon account holder) with CanUseMapFunctions privileges
  • [MapName] can be the level file name (Levels/mp_001sr) or the friendly name (Panama Canal). A short form can be used.
  • [optional: fast] adding 'fast' to the command while pointing/searching a map filename will directly load the map.
    Note: You must select a map by the filename to use fast-option!
  • sets the selected and confirmed map as the next map
@rotation
  • usable by all players
  • will list all maps in the current mapList/Rotation with id-nr, name and filename.
@shownextmap
  • usable by all players
  • will show which map will be next in the rotation. If the nextmap is another round the output will show that.
@gamemode
  • usable by all players
  • will list all available gamemode
@gamemode [GameMode] [optional: mapFileName / all] [optional: fast] [optional: override]
  • only usable by admins (Procon account holder) with CanUseMapFunctions privileges
  • [GameMode] has to be one of the keywords just like the server wants it for admin.setPlaylist command.
    (CONQUEST/RUSH/SQRUSH/SQDM)
  • [mapFileName] can be the keyword 'all' to add all maps/levels of the selected gamemode to the new rotation.
    To add a specific map use the correct filename incl. 'Levels/' path.
  • [fast] use this keyword to change to the new gamemode and map directly.
  • [override] use this keyword to override the gamemode maxPlayer count.
    (CONQUEST & RUSH up to 32 players, SQDM up to 16 players, SQRUSH up to 8 players)
  • sets the selected and confirmed gamemode if the actual player count fits the selection
  • clears the maplist, adds all available maps for the selected gamemode and forwards to the first map in the selected gamemode.


Settings
Miscellaneous

Map command
Defines the map command keyword.
MapList command
Defines the command to prints the current mapList/Rotation.
Show next map command
Defines the command to show the next map to be played.
Gamemode command
Defines the gamemode command keyword.
Confirm command
Defines the keyword to confirm selections.
Add map method
Sets if a selected map which is not in the actual rotation should be inserted after the running map or to the end of the rotation.
Save maplist
Select Yes to save all changes to the maplist to the maplist file and make it reboot save. This will also save a changed playlist/gamemode.
Restart on zero
Restarts the current map as playercount hits zero.
Console output
Prints status informations to the plugin console.
Debug output
Prints status and debug information to the plugin console.


Credits

Phogue
  • for Procon
  • Ploho League Controls, parts of it are used in here
other plugin authors
  • for all the plugins and code insperations
Procon users
  • for your ideas, comments and feedback

User Feedback

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
×
×
  • Create New...