
Basketball GM allows users to make a copy of a league they are playing, enabling them to have a backup or share the league across multiple computers. To create a League File, users can go to Tools > Export League within any league. This brings up a page that allows users to select which components they want to export, such as draft classes and team info. League Files are text files in JSON format, which can be edited using any text editor. However, due to their complexity, there are many ways for things to go wrong, such as missing fields or incorrect values. To address this, Basketball GM provides a JSON Schema file to help catch errors. Additionally, users can download and use custom roster files created by others or create their own by exporting rosters from any season and editing the JSON file.
| Characteristics | Values |
|---|---|
| File type | League Files are text files in JSON format |
| File sections | Players, teams, releasedPlayers, draftPicks, draftOrder, negotiations, games, version |
| Player attributes | Player attributes, ratings, and stats |
| Team attributes | Team attributes and stats, region, name, abbreviation, population, stadium capacity, image URL |
| Editing | League Files can be edited by hand or by writing code |
| Exporting | Go to "Tools > Export League" to select which components to export |
| Importing | Create a new league and select "Upload league file" under "Customize" |
| Default values | Default values are filled in for components not included in the League File |
| Bugs | Bugs include incorrect contract lengths, playing time set to 0, and incorrect player heights |
Explore related products
What You'll Learn

Editing player attributes, ratings, and stats
To create a League File, go to "Tools > Export League" within any league. This will bring you to a page where you can select which components you want to export. You don't have to export everything, and default values will be filled in for any components that are not included. If you want an exact copy of a specific league, select everything (except possibly Box Scores, as these take up a lot of space). If you just want to create some customised rosters, it's best to just define the teams and players and leave out the rest so that default values are used.
Once you've created your League File, you can open it in any text editor and edit it by hand. However, if you're making one from scratch, you might be better off writing some code to generate it. League Files are divided into multiple sections, which are the root elements of the JSON data structure. Most are relatively simple and self-explanatory if you just look at an exported League File, but some are more complicated and have links to more comprehensive information.
While it is possible to export a league's player stats to see and edit them in Excel, there is currently no way to import them back. However, there have been discussions on Reddit about allowing an easier method of editing player stats, such as directly from the "Edit Player" page.
Dunking Strategies for 1-on-1 Basketball: Leaping Higher, Soaring Higher
You may want to see also
Explore related products

Editing team attributes, stats, and logos
To edit a Basketball GM exported league, you will need to access the game's files. These can be found in your browser profile, as Basketball GM stores all game data on your computer.
Firstly, go to "Tools > Export League" to create a League File. This League File is a text file in JSON format, and you can edit it in any text editor. You can also write code to generate it if you prefer.
The League File contains multiple sections, with the most important being "players" and "teams". In the "teams" section, you can edit team attributes and stats. Here is an example of the contents of a team object:
{ "tid": 0,
"cid": 0,
"did": 0,
"region": "Atlanta",
"name": "Gold Club",
"abbrev": "ATL",
"pop": 5.3,
"stadiumCapacity": 25000,
"imgURL": "URL for a 256x256 team logo"
}
In this example, "tid" is the team ID number, "cid" is the conference ID number, "did" is the division ID number, "region" is the team's region, "name" is the team name, "abbrev" is the abbreviation, "pop" is the population, and "stadiumCapacity" is the number of people who fit in the team's stadium. The "imgURL" field is where you can add the URL for a team logo, which will be scaled to 256x256 if it is a different size.
You can also include future draft picks, the order of picks in the current draft, and the state of current contract negotiations in your League File. Additionally, you can edit player attributes, ratings, and stats in the "players" section of the League File.
It is important to note that you don't have to export everything, and default values will be filled in for any components that are not included. You can also choose to import only team info (cities, names, etc.) from a League File.
Urban Air: Basketball Courts for All
You may want to see also
Explore related products

Editing draft picks and draft order
To edit a Basketball GM exported league, you need to first create a copy of the league. This can be done by going to "Tools > Export League" within the league. This will allow you to create a League File, which is a text file in JSON format. You can then choose which components of the league you want to export.
If you want to edit the draft picks and draft order, you need to include "draftPicks" and "draftOrder" in your League File. "draftPicks" refer to future draft picks for the next four seasons, while "draftOrder" refers to the order of picks in the current draft, including the results of the draft lottery.
To create a League File, you can open a text editor and edit the file by hand. However, if you're creating a League File from scratch, it might be better to write some code to generate it. The League File is divided into multiple sections, which are the root elements of the JSON data structure.
It's important to note that you don't have to export everything, and default values will be filled in for any components that are not included in the League File. So, if you're only interested in editing the draft picks and draft order, you can leave out most of the other sections.
Additionally, you can find user-made rosters on Reddit, which you can use as a starting point for creating your own custom rosters.
Jordan 4: The Ultimate Basketball Shoe?
You may want to see also
Explore related products

Editing contract negotiations
Basketball GM is a free sports management simulation game where you are the general manager of a basketball team. You can edit a Basketball GM exported league by first creating a copy of the league you are playing. Within any league, go to "Tools > Export League" to create a League File. To edit a League File, you can open a file in any text editor and edit it by hand.
The League File is a text file in JSON format, and you can add, remove, or edit nearly any part of it. The most important sections are "players" and "teams", but there are several other sections that mainly define the internal state of your current specific league.
One of these sections is "negotiations", which tracks the state of current contract negotiations. There can only be one entry here at a time, except when re-signing your own players in the offseason. When a contract expires, you have the opportunity to negotiate a new contract with the player. Contract negotiations are done after the draft and before the preseason. Players do not auto-resign, but they will give their preferred salary and number of years. You can negotiate the number of years, but their salaries will go up by a lot. For free agents, you can negotiate any time but you have to have the cap space.
The salary cap is $90 million, and this is a soft cap. If you are over the salary cap, you can still make moves. If you are above the "luxury tax limit" ($100M by default), you have to pay a luxury tax penalty equal to 150% of your excess spending. There is also a minimum salary limit of $60 million. If you are below this limit, then you have to pay a penalty equal to the difference between your payroll and the limit. The maximum contract amount is $30 million per year and the maximum contract length is 5 years. The minimum contract amount is $750 thousand per year and the minimum contract length is 1 year (or, until the end of the season, if the season is already in progress).
Each player has a combination of "mood traits" that influences how they view your team, which in turn influences contract negotiations. This includes the probability that a player will negotiate with you and the amount of money they ask for.
Increasing Grip Thickness: A Badminton Advantage
You may want to see also
Explore related products
$25.99 $39.95

Editing box scores
Exporting the League File
Before editing box scores, you need to export your Basketball GM league file. Go to "Tools > Export League" to save a copy of your league. This creates a JSON file that contains all the relevant data about your league, including team attributes, player attributes, and game scores.
Editing the JSON File
Open the exported JSON file using a text editor or a JSON file editor. League Files are divided into multiple sections, but the most important ones for editing box scores are "games" and "players".
The "games" section contains box score data from past games, including scores, statistics, and other game-related information. Here, you can modify scores, change statistics, or add/remove game data as needed.
The "players" section contains player attributes, ratings, and stats. If you want to edit individual player performances that are reflected in the box scores, this is the section to adjust.
Troubleshooting
Editing large league files may be challenging, as some users have experienced issues with loading the league file back into the app after making changes. It is recommended to back up your league file before making any changes to avoid data loss. Additionally, you may need to try different methods to force an upgrade if your browser gets stuck on an old version of Basketball GM.
Additional Customization Options
Beyond editing box scores, Basketball GM offers various customization options to enhance your league. You can create custom rosters, import league files, adjust contract options, and even add new features like "Won Championship" entries for player awards.
By following these steps and exploring the customization features, you can successfully edit box scores and create a tailored Basketball GM experience.
Beta Blockers: Basketball Performance Friend or Foe?
You may want to see also
Frequently asked questions
Go to "Tools > Export League" to create a League File. To edit the file, open it in a text editor and make changes to the JSON-formatted text.
The most important sections are "players" and "teams". "Players" includes player attributes, ratings, and stats, while "teams" includes team attributes and stats. Other sections include "draftPicks", "draftOrder", "negotiations", and "games".
It depends on your goal. If you want an exact copy of a specific league, select everything. If you want to create customized rosters, just define the teams and players and leave out the rest so that default values are used.
To add team info, go to "Tools > Edit Team Info" (only available after enabling God Mode). Team info includes the team name, region, logo, etc.





























