02. First Steps - ihofmann/open-websoccer GitHub Wiki
Your new Websoccer provides many features, why we want to give an overview of the most important tasks after a new installation of the software. Use this page as a guideline for setting up a new game project based on OpenWebSoccer-Sim.
Every club and season is assigned to a league. Create your first league now.
- Log on to the AdminCenter (http://www.your - domain.com/websoccer/admin/).
- Click on menu item "League".
- Click on button "Add new Record".
- Fill the form and click on "Save".
The information entered at "Average utilisation" and "Average Price" influence the ticket sales computation. The utilisation for a popular league could be 90%, as an example.
If you want to generate players and clubs using the data generator (see below), you should use one of the following values for "Country":
- Deutschland (for Germany)
- England (for England)
- Italien (for Italy)
- Spanien (for Spain)
Note: These countries are pre-configured. Of course, you can change and add countries: Just change or add sub-folders at folder /websoccer/admin/config/names.
The software already provides a list of fantasy names for the above countries.
Important: Note that the usage of original names (such as "Premier League") is usually prohibited by the corresponding football associations. Therefore, use fantasy names instead, e.g. "1st Division England".
You can either create single clubs at menu item "Club" or you save a lot of time and create all required clubs within seconds through the data generator.
- Go to menu item "Generate Clubs".
- Select the previously created league.
- Fill the form and submit it.
Note that the club budget will play an important role in your game. Consider possible income per match through sponsors and ticket sales and average costs of players. It should be on the one hand an important taks for the user to keep their balance positive, on the other hand it should not frustrate users if they have too little money for doing their job.
Same applies to players: You can either create them manually or let them generate. For generating players:
- Go to menu item "Generate Players".
- Select your league.
- Click on "Create Players fr all teams".
- Fill and submit the form.
Take care that the players' salary is on the one hand not as high so that it is impossible to keep the club budget positive. On the other hand, it should be high enough so that users cannot afford too many good players and need to sell few of them.
You have already created all necessary data to start your project. Now you need some matches. Again, you can create them manually (menu item "Match"). Or you let generate a complete schedule of one season, including multiple rounds and balanced home- and away matches.
- Go to menu item "Generate Schedule".
- Select your league.
- Specify a unique season name. This could include the current year or, for instance, "Season 1".
- Fill and submit the form.
Important: Take care that not all leagues use the same time for their matches in order to prevent too heavy server load at that time. Try to spread the matches.
In order to make your game more interesting, you can create additional data records. Think before you create them, because they might make the difference to other projects and highly influence your users' activity. For example, create records for
- Trainers
- Training camps
- Sponsors
- Youth scouts
- Random events
- Badges
After you have created all your data, you should take some time and study all available configuration options at menu item "Settings". In particular, find the perfect parameters for the match simulation, which differ from project to project (depending on the data you have created). It is recommended to play some test rounds before you go into production.
If you operate a public website, it is recommended to add some legal notes, such as contact details and a privacy policy. Enter your details at menu item "Imprint". The content will apear on the front page.
Start all jobs at menu item "Jobs" and verify from time to time that they are still running. Note that they might not run reliably depending on your server configuration and that it is recommended to setup Cron jobs.