-
Notifications
You must be signed in to change notification settings - Fork 85
Developer Guides ‐ v9.x to v10.0.0 API Changes
🧭 You are here : Wiki home / Developer Guides / v9.x to v10.0.0 API Changes
This is a (hopefully) complete list of the API changes that occurred between v9.x and v10.0.0.
This exists primarily to help any users who wrote tools to use the API to have a comprehensive source to help upgrade, any subsequent API changes (v10.0.0 -> v10.x.x) will be documented in those release notes and hopefully be minimal, so please review those if applicable.
Please feel free to help update this if it is incomplete or inaccurate.
-
set_maprotation-
rotationrenamed tomap_names
-
-
async_upload_vipsrenamed toupload_vips -
Removed the old/unused
download_vipsendpoint -
async_upload_vips_resultrenamed toupload_vips_result -
Removed the old/unused
upload_vips_resultendpoint -
do_add_adminrenamed toadd_admin-
steam_id_64renamed toplayer_id -
namerenamed todescription
-
-
do_add_map_to_rotationrenamed toadd_map_to_rotation- returns
str(whatever the game server returns which can beSUCCESSor varying error messages)
- returns
-
do_add_map_to_whitelistrenamed toadd_map_to_votemap_whitelist -
do_add_maps_to_rotationrenamed toadd_maps_to_rotation-
mapsrenamed tomap_names
-
-
do_add_maps_to_whitelistrenamed toadd_maps_to_votemap_whitelist -
do_add_viprenamed toadd_vip-
steam_id_64renamed toplayer_id -
namerenamed todescription
-
-
do_ban_profanitiesrenamed toban_profanities- returns
bool
- returns
-
do_reconnect_gameserverrenamed toreconnect_gameserver -
flag_player-
steam_id_64renamed toplayer_id - added
player_name
-
-
do_kickrenamed tokick-
steam_id_64renamed toplayer_id -
namerenamed toplayer_name - returns
bool
-
-
do_message_playerrenamed tomessage_player-
steam_id_64renamed toplayer_id -
namerenamed toplayer_name
-
-
do_perma_banrenamed toperma_ban-
steam_id_64renamed toplayer_id -
namerenamed toplayer_name - returns
bool - This endpoint no longer blacklists the player you must use a blacklist endpoint if you want to persist the ban in CRCON,
perma_banonly bans on the game server
-
-
post_player_comment-
steam_id_64renamed toplayer_id
-
-
do_punishrenamed topunish-
steam_id_64renamed toplayer_id -
namerenamed toplayer_name - returns
bool
-
-
do_reconnect_gameserverrenamed toreconnect_gameserver -
do_remove_adminrenamed toremove_admin-
steam_id_64renamed toplayer_id
-
-
do_remove_all_vipsrenamed toremove_all_vips -
do_remove_map_from_rotationrenamed toremove_map_from_rotation -
do_remove_map_from_whitelistrenamed toremove_map_from_votemap_whitelist -
do_remove_maps_from_rotationrenamed toremove_maps_from_rotation -
do_remove_maps_from_whitelistrenamed toremove_maps_from_votemap_whitelist -
do_remove_perma_banrenamed toremove_perma_ban-
ban_logrenamed toplayer_id - returns
bool
-
-
do_remove_temp_banrenamed toremove_temp_ban-
steam_id_64renamed toplayer_id - Removed
ban_log
-
-
do_remove_viprenamed toremove_vip-
steam_id_64renamed toplayer_id
-
-
do_reset_map_whitelistrenamed toreset_map_votemap_whitelist -
do_reset_votekick_thresholdrenamed toreset_votekick_thresholds- returns
bool
- returns
-
set_broadcast-
msgrenamed tomessage
-
-
set_namerenamed toset_server_name -
do_set_map_whitelistrenamed toset_votemap_whitelist -
do_switch_player_nowrenamed toswitch_player_now-
playerrenamed toplayer_name - returns
bool
-
-
do_switch_player_on_deathrenamed toswitch_player_on_death-
playerrenamed toplayer_name - returns
bool
-
-
do_temp_banrenamed totemp_ban-
steam_id_64renamed toplayer_id -
playerrenamed toplayer_name - returns
bool
-
-
do_unbanrenamed tounban-
steam_id_64renamed toplayer_id - This endpoint no longer remvoes blacklists from the player you must use a blacklist endpoint if you want to remove or edit the blacklist in CRCON,
unbanonly removes the ban on the game server - The
unblacklist_playerendpoint is functionally equivalent to the old behavior ofdo_unban
-
-
do_unban_profanitiesrenamed todo_unban_profanities- returns
bool
- returns
-
unflag_player- added
player_idargument - added
flagargument
- added
-
do_unwatch_playerrenamed tounwatch_player-
steam_id_64renamed toplayer_id - removed
reasonargument - removed
player_nameargument
-
-
do_watch_playerrenamed towatch_player-
steam_id_64renamed toplayer_id
-
-
get_admin_ids- Output changed from
steam_id_64toplayer_id
- Output changed from
-
get_online_mods- Output changed from
steam_id_64toplayer_id
- Output changed from
-
get_ingame_mods- Output changed from
steam_id_64toplayer_id
- Output changed from
-
get_playersandget_players_fasthave merged and are onlyget_players -
get_player_info-
playerrenamed toplayer_name
-
-
get_detailed_player_info-
playerrenamed toplayer_name
-
-
get_ban-
playerrenamed toplayer_name
-
-
get_round_time_remainingreturns the time left in seconds -
set_team_switch_cooldownreturnsbool -
set_autobalance_thresholdreturnsbool -
set_idle_autokick_timereturnsbool -
set_max_ping_autokickreturnsbool -
set_queue_lengthreturnsbool-
num: renamed tovalue
-
-
get_vip_slots_numreturnsint -
set_vip_slots_numreturnsbool-
num: renamed tovalue
-
-
get_slotsreturns a tuple ofint(current and max players) -
get_votekick_thresholdsreturns a list of tupple ofintpairs (number of players, number of votes required) -
set_autobalance_enabledreturnsbool-
bool_: renamed tovalue
-
-
set_votekick_enabledreturnsbool-
bool_: renamed tovalue
-
-
public_inforenamed toget_public_info- Output changed
-
current_mapandnext_mapreturnPublicInfoMapType:
class PublicInfoMapType(TypedDict): map: LayerType start: float | None
-
raw_time_remainingreplaced withtime_remaining(number of seconds) -
playersrenamedplayer_count_by_team
-
get_standard_broadcast_messagesreturns messages as a dict oftime_secandmessageinstead of strings formatted astime_sec message -
server_listrenamed toget_server_list -
live_scoreboardrenamed toget_live_scoreboard -
removed
date_scoreboard -
get_status- Output changed
-
nb_playerstocurrent_players -
player_counttomax_players
-
get_vip_ids- Output changed
steam_id_64toplayer_id
- Output changed
-
get_perma_bans,get_temp_bans,get_bansandget_banall returnGameServerBanType:class GameServerBanType(TypedDict): type: str name: str | None player_id: str | None timestamp: datetime.datetime | None ban_time: str | None reason: str | None by: str | None raw: str
-
Anywhere a game server log is returned:
-
player_nametoplayer_name_1
-
-
Anywhere player stats are returned:
-
player_id(database record ID) is removed -
steam_id_64toplayer_id
-
-
get_player_profile- Now includes
bans
class GameServerBanType(TypedDict): type: str name: str | None player_id: str | None timestamp: datetime.datetime | None ban_time: str | None reason: str | None by: str | None raw: str
- Now includes
comments
class PlayerCommentType(TypedDict): id: int creation_time: datetime.datetime by: Optional[str] content: str
- The
blacklistfield has changed and is now an array of blacklist records with an associated object for whichblacklistthe ban belongs to. Whenserversisnullthat indicates it applies to all servers, otherwise it will be a list of server numbers (these are the same server numbers as defined in your compose file, server1, server2, etc.)
blacklists": [ { "id": 1, "player_id": "76561198004895814", "reason": "No ban reason provided", "admin_name": "CRCON", "created_at": "2024-07-11T16:51:32.939408+00:00", "expires_at": null, "is_active": true, "blacklist": { "id": 0, "name": "Default", "sync": "kick_only", "servers": null } } ]
- Now includes
is_blacklistedas a boolean
- Now includes
-
Removed
blacklist_playerendpoint -
Added
get_blacklists -
Added
get_blacklist -
Added
create_blacklist -
Added
edit_blacklist -
Added
delete_blacklist -
Added
add_blacklist_record -
Added
delete_blacklist_record -
Added
edit_blacklist_record -
Added
get_blacklist_records -
Added
expire_blacklist_record -
unblacklist_player-
steam_id_64renamed toplayer_id
-
-
get_historical_logs-
steam_id_64renamed toplayer_id -
log_typerenamed toaction -
fromrenamed tofrom_ -
outputremoved, use theget_historical_logs_csvif you want CSV and not text file
-
-
Added
get_historical_logs_csvwhich is identical toget_historical_logsbut returns the output as a CSV text file rather than JSON- This has identical parameters to
get_historical_logs
- This has identical parameters to
-
The
BanTeamKillOnConnectUserConfigsetting (Settings > TK Ban On Connect):- Now includes an optional
blacklist_idif you would like players to be added to a specific ban list if you use this feature
- Now includes an optional
-
The
VacGameBansUserConfigsetting (Settings > VAC/Game Bans):- Added an optional
blacklist_idsetting if you would like players to be added to a specific ban list if you use this feature - Added an optional
auto_expiresetting if you would like these bans to automatically expire once they are older than your configured threshold
- Added an optional
-
The
RconServerSettingsUserConfigsetting (Settings > CRCON Settings):- Removed
unban_does_unblacklist - Removed
unblacklist_does_unban - Removed
broadcast_temp_bans - These have been replaced by the blacklist changes and no longer mean anything
- Removed
-
set_welcome_message-
msgrenamed tomessage
-
Hell Let Loose (HLL) Community RCON (CRCON) Wiki - Back to Home
Maps
Records
Settings
Others
Stats
(TODO)
- Admin panel (needs update)
- Migrate CRCON to another VPS
- Replace the game server managed in CRCON
- Adding a game server to manage in CRCON
- Overview Project Structure
- Development environment
- Building your own Docker images
- CRCON API
- Streaming Logs
- Remotely connect to the PostgreSQL database
- Miscellaneous (needs update)
- HLL RCON Commands
- HLL RCONv2 Commands
- Please look at this first
- Ask for help