Based Heavily on go-ini
Package go-csgo-cfg provides CS:GO .cfg file read and write functionality in Go.
ammo_grenade_limit_default 1
ammo_grenade_limit_flashbang 2
ammo_grenade_limit_total 4
bot_quota "0" // Determines the total number of bots in the game
cash_player_bomb_defused 300
cash_player_bomb_planted 300
ammo_grenade_limit_total 5
- As CSGO doesn't support them, there is no longer section support. Could potentially be added back in, but has been pulled out for now.
- No longer supports embedded or nested structs, again not needed for this purpose
- Booleans
- Arrays
- Auto Increment
To use with latest changes:
go get github.com/metalmichael/go-csgo-cfg
Please add -u
flag to update in the future.
This project is under Apache v2 License. See the LICENSE file for the full license text.