OfficerJAKE
Allows players and admins to record demos to the server via chat commands

Supported Games
GameServerKingsGameServerKings

Chat Commands

/pd.start - starts a demo from the player

/pd.stop - stops the demo from the player

/pda.start - Usage: /pda.start STEAM_ID - Starts a demo recording for steamid given

/pda.stop - Usage: /pda.stop STEAM_ID - Stops the demo recording for steamid given

/pda.stopall - Stops all current demo recordings

Permissions

  • playerdemos.allow -- Allows players to use demo commands
  • playerdemos.admin -- Allows access to use admin commands

Configuration

{
  "Global settings":  {
   "Log To Console": false, // Logs commands to console
    "Alert Player": false, // Alert player they are being demo'd
    "Max record time": 1800.0 // Max record time in seconds
  }
}

Localization

{
  "CHAT_PREFIX": "<color=#359bf2>PLAYER DEMOS: </color>",
  "NO_PERMS": "You do not have permission to use this command",
  "DEMO_STARTED": "You have started a demo recording",
  "DEMO_STOPPED": "Your demo recording has stopped",
  "DEMO_STARTED_LOG": "{0} has started a demo recording",
  "DEMO_STOPPED_LOG": "{0} has stopped a demo recording",
  "ARG_ERROR": "<color=#ff0000>ERROR</color> You cannot supply arguments with this command",
  "ADMIN_ARG_ERROR": "<color=#ff0000>ERROR</color> Usage: /admindemo STEAMID",
  "INCORRECT_ID": "{0} does not appear to be a valid steamid",
  "NO_PLAYER_ONLINE": "Could not find online player: {0}",
  "PLAYER_FOUND": "Player was found with name: {0}",
  "ADMIN_DEMO_STARTED": "{0} Started a demo for {1}",
  "ADMIN_DEMO_STOPPED": "{0} Stopped a demo for {1}",
  "PLAYER_ALERT_STARTED": "An admin started recording you",
  "PLAYER_ALERT_STOPPED": "An admin stopped recording you",
  "PLAYER_NOT_RECORDING": "Cannot stop recording, {0} is not recording",
  "YOU_ARE_NOT_RECORDING": "You are not recording, we cannot stop",
  "ALL_DEMOS_STOPPED": "All demo recordings have been stopped",
  "ALL_DEMOS_STOPPED_LOG": "All demo recordings have been stopped by {0}"
}
MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.