- Posts
- 746
- Likes
- 650
Linux guide coming out soon.
Requirements:
Folder structure:
Configure server.cfg file
Server.cfg is configuration file for your server. It contains the more important information about your server like maximum players, name of your server etc.
Let's take a close look:
What should we change first is:
The rest is optional, every option is commented
Now let's create .bat file so we can start our server.
Open notepad.exe and paste code:
Save as: "server.bat" in GameData folder.
Run server by double-clicking server.bat.
Connection FAQ
1. I can join server but my friends can't. Why?
Make sure you gave your friends public IP Address, and forwarded 29070 port on your router.
2. My server isn't showing up on the server list. Why?
Like before, you need to forward port 29070 on your router. How to Port Forward
3. What is my public IP Address?
Here: What is my IP? - WhatIsMyIP.org
4. What is port forwarding and why do i need it?
This will be edited today Paint is killing me.
To be added:
smod commands,
rcon commands
how to setup rtv,
anything else?
Requirements:
- Jedi Academy 1.01
- Available on:
- Steam: STAR WARS™ Jedi Knight - Jedi Academy™ on Steam
- GOG.com: Star Wars™: Jedi Knight™ - Jedi Academy™ on GOG.com
- Movie Battles II
- Download: Download | Movie Battles II Community
- Windows Server Binaries (jampDED.exe)
Folder structure:
- /GameData
- /base
- assets files
- /MBII
- Movie Battles II mod files
- jampDED.exe
- /base
Configure server.cfg file
Server.cfg is configuration file for your server. It contains the more important information about your server like maximum players, name of your server etc.
Let's take a close look:
Code:
// Movie Battles II
// Sample Server Config
// Server Config:
seta sv_hostname "MBII Server" // Name of your server
seta g_motd "Welcome to my MB2 Server\nHave fun!" // Message of the Day
//sets discord "AbCd123" // Uncomment and customize invite code to show a Discord link next to listing at servers.moviebattles.org
// Additional master servers to report to
seta sv_master1 "master.moviebattles.org" // Master servers - do not alter unless you know what you are doing.
seta sv_master2 "master2.moviebattles.org"
seta sv_master3 "master.jkhub.org"
seta sv_master4 "masterjk3.ravensoft.com"
seta sv_master5 ""
// Administration:
seta rconpassword "" // Rcon admin password - CHANGE THIS
// See MBII_Readme (GameData folder) for info on bitvalues!
// If g_smodconfig_1 is set to 0, smod system is disabled.
// Accounts without password are disabled aswell.
seta g_smodAdminPassword_1 "" // Smod admin password - CHANGE THIS
seta g_smodConfig_1 "65535" // All commands enabled
seta g_smodAdminPassword_2 ""
seta g_smodConfig_2 "7" // Kick, nextmap, map.
seta g_smodAdminPassword_3 ""
seta g_smodConfig_3 "0"
seta g_smodAdminPassword_4 ""
seta g_smodConfig_4 "0"
seta g_smodAdminPassword_5 ""
seta g_smodConfig_5 "0"
seta g_smodAdminPassword_6 ""
seta g_smodConfig_6 "0"
seta g_smodAdminPassword_7 ""
seta g_smodConfig_7 "0"
seta g_smodAdminPassword_8 ""
seta g_smodConfig_8 "0"
seta g_smodAdminPassword_9 ""
seta g_smodConfig_9 "0"
seta g_smodAdminPassword_10 ""
seta g_smodConfig_10 "0"
seta g_smodAdminPassword_11 ""
seta g_smodConfig_11 "0"
seta g_smodAdminPassword_12 ""
seta g_smodConfig_12 "0"
seta g_smodAdminPassword_13 ""
seta g_smodConfig_13 "0"
seta g_smodAdminPassword_14 ""
seta g_smodConfig_14 "0"
seta g_smodAdminPassword_15 ""
seta g_smodConfig_15 "0"
seta g_smodAdminPassword_16 ""
seta g_smodConfig_16 "0"
// Logging
seta g_log "games.log" // Filename to record logging information to. ex: "serverlog.txt" If left blank, do not log.
seta g_logClientInfo "0" // Logs client information changes if set to 1 (More detailed logging, useful in matching clients to IPs.)
seta g_logSync "0" // Use synchronous appending in log writes. (May impact server performance if set to 1 (Not generally recommended), but may provide more detailed logs if a crash occurs.)
// Server Settings:
seta sv_fps "40" // Server FPS setting.
seta sv_maxclients "32" // Number of your server's player slots
seta sv_privateClients "" // Number of private slots
seta sv_privatePassword "" // Password for using the private slots
seta sv_pure "0" // Pure setting - 0 = off, 1 = on. If enabled, clients can only use pk3s which match the ones on the server.
seta sv_maxRate "25000" // Server-side cap for /rate. Settings higher than 25000 do not improve the client's ping.
seta sv_maxPing "0" // Only players with a ping below this can connect to your server. "0" = disabled.
seta sv_timeout "600" // Timeout - do not alter unless you know what you are doing.
seta sv_minSnaps "20" // Sets minimum snaps client can have.
seta sv_minRate "2000" // Sets minimum rate client can have.
seta sv_maxConnections "3" // Maximum number of connections from one IP (prevents many crash scripts).
seta sv_floodProtect "1" // Prevent flooding of chat and admin commands.
// Movie Battles II Settings:
seta g_gametype "7" // 7 = Siege / MovieBattles. Do not modify.
seta fraglimit "15" // If a team reaches this amount of won rounds, it wins the map.
seta roundlimit "20" // When the total rounds reaches this amount, the map ends. Ties may happen.
seta timelimit "0" // Timelimit. No point using this, seeing as rounds end after 5 minutes.
seta g_MinMBPoints "80" // Amount of MB class points players start out with.
seta g_MBPointsPerRound "3" // Amount of MB class points players gain every round.
seta g_Authenticity "0" // MB Mode setting - 0 = Open mode, 1 = Semi-Authentic, 2 = Full-Authentic, 3 = Duel, 4 = Legends
// Custom Teams:
seta g_teamSwap "0" // Experimental, Open mode only. If set to 1, team identities will be swapped at round start (spawns and objectives reversed). Reload map if modified.
// Uncomment and modify g_siegeTeam settings below to use custom FA teams when in MB Mode 4 (Legends), or set to "none" to use map's default team (effectively the same as Full-Authentic). Reload map if modified.
//seta g_siegeTeam1 "LEG_Good" // Default if not configured: LEG_Good
//seta g_siegeTeam2 "LEG_Evil" // Default if not configured: LEG_Evil
// Class Limits:
// Set maximum players per class in open mode, or disable a class entirely. Each number represents a class's limit with entries separated by dashes.
// Every value must be exactly two numbers (e.g. set 04 to limit a class to 4). Any value larger than sv_maxclients is considered infinite (default). 00 disables the class.
// SD=Soldier TP=Trooper CM=Commander ET=EliteTrooper ST=Sith JD=Jedi BH=BountyHunter
// HO=Hero SB=SBD WK=Wookiee DD=Droideka CT=CloneTrooper MD=Mandalorian AT=ARCTrooper
// SD TP CM ET ST JD BH HO SB WK DD CT MD AT
seta g_classlimits "50-50-50-50-50-50-50-50-50-50-50-50-50-50"
// Team Balance & Shuffle:
seta g_balance "-1" // Prevents teams from becoming imbalanced by blocking joining of a team if the player difference is too great.
// -1 = off, 0 = teams must be exactly equal or spectating will occur, 1 = teams allowed to be uneven by 1,
// 2 = teams allowed to be uneven by 2, 3 = teams allowed to be uneven by 3, etc.
seta g_ShuffleTimer "300" // How long in seconds clients must wait before they can change teams again after shuffle is used.
// Duel Mode Settings:
seta g_DuelMidRoundRespawnTimerInitial "20" // Initial delay upon trying to join the round. Hard-coded minimum of 5 seconds.
seta g_DuelMidRoundRespawnTimerNoLives "10" // Time that players must wait before being able to respawn again.
seta g_DuelMidRoundRespawnTimerNoLivesIncrement "5" // After lives are depleted, how many seconds to increase the total respawn wait time. Set to 0 to disable.
seta g_DuelLives "3" // Custom number of lives for all players in duel mode. Valid range is 1-99.
seta g_DuelRespawn "1" // If set to 0, players will no longer respawn for the current round once they've used up their lives.
seta g_DuelRefillStatsOnKill "1" // If set to 0, HP/FP/BP will no longer be refilled after killing an enemy (no effect on private duels).
seta g_DuelTimeLimit "900" // Custom time limit for a duel mode round in seconds. Valid range is 300-900 (5-15 minutes).
seta g_DuelFriendlyTeam "0" // If set to 1, players on your team will be treated as friendlies (same as other non-duel MB modes).
seta g_PrivateDuels "1" // Set to 0 to disable private duels in duel mode.
// Anti-Cheat System:
seta g_AntiCheat "1" // Cheating or unverified clients will be automatically kicked. 0 = disabled, 1 = enabled.
// Anti-Teamkill System:
seta TK_MinorFriendly "1" // Ignore damage amounts below 5 for purposes of applying TK_Spec (stray very minor splash damage is permissible).
seta TK_Spec "500" // Player will be forced to spectate if he/she has accrued this many TKPoints for team kills or hurting teammates. 0 = disabled.
seta TK_Kick "750" // Player will be kicked and temp-banned from the server if a player has gotten this many TKPoints for team kills or hurting teammates. 0 = disabled.
seta TK_ForgiveAfterRounds "2" // How many rounds must pass without any TKing by the player before TK_RemovedPerRound applies. 0 = always.
seta TK_RemovedPerRound "50" // Each round that passes without the player having done any TKing, this many TKPoints will be removed from their total. 0 = disabled.
seta TK_TempBanForRounds "4" // Number of rounds player gets banned for after exceeding TK_Kick count.
// Competitive Settings:
seta g_competitive "0" // Bitwise cvar. Add the values below together for the settings you want enabled:
// 1 Hide HUD from spectators.
// 2 Restrict free spectator movement.
// 4 Spectators cannot chat with living players.
// 8 Spectators may only spectate players from their own team.
// 16 Hide enemy team's class icons on the scoreboard.
// 32 Disable friendly player indicators.
// Examples:
// 0 Nothing enabled, fully casual.
// 15 Enable all spectator related restrictions.
// 17 Hide HUD from spectators and enemy team's class icons on scoreboard.
// 63 All competitive settings enabled. Cvar value should not exceed this.
// Misc:
seta g_chatProtectTime "250" // Ammount of time that has to pass between two chat messages sent by player for them to be valid.
seta g_password "" // Password players need in order to be able to join your server.
seta g_allowVote "0" // Allow votes - 0 = all votes disabled, 127 = all votes allowed. See readme for details.
seta g_automapcycle "0" // Use automapcycle instead of a custom one. 0 = disabled, 1 = enabled.
seta g_dismember "100" // Dismemberment probability. This is a percentage, i.e. 100 is the maximun setting. Clients have to adjust the cg_dismember cvar accordingly in order to see dismemberment.
seta g_allowNPC "1" // Do not alter.
seta g_AllowEntity_target_level_change "0" // Whether or not to permit the target_level_change map entity to function. (Maps which utilize this feature can break map rotations.) 1 = enabled. 0 = disabled.
seta g_InactivityKick "0" // Time in seconds until an inactive (i.e. not moving etc) client is kicked.
seta g_InactivitySpec "180" // Time in seconds until an inactive (i.e. not moving etc) client is moved to spectator.
seta g_filterban "1" // If "0" - only players who are on the banlist may join. 1: people on the banlist may not join.
// Map rotation:
set d1 "map mb2_dotf;set nextmap vstr d2"
set d2 "map mb2_commtower;set nextmap vstr d3"
set d3 "map mb2_tradefed;set nextmap vstr d4"
set d4 "map mb2_lunarbase;set nextmap vstr d5"
set d5 "map mb2_republiccruiser;set nextmap vstr d6"
set d6 "map mb2_jabba;set nextmap vstr d7"
set d7 "map mb2_jeditemple;set nextmap vstr d8"
set d8 "map mb2_tatooine;set nextmap vstr d9"
set d9 "map mb2_kamino;set nextmap vstr d1"
vstr d1 // Start the first map in the rotation
What should we change first is:
Code:
seta sv_hostname "" // Name of your server
seta rconpassword "" // Rcon admin password - CHANGE THIS
The rest is optional, every option is commented
Now let's create .bat file so we can start our server.
Open notepad.exe and paste code:
Code:
jampDed.exe +set fs_game "MBII" +set net_port 29070 +exec server.cfg
Save as: "server.bat" in GameData folder.
Run server by double-clicking server.bat.
Connection FAQ
1. I can join server but my friends can't. Why?
Make sure you gave your friends public IP Address, and forwarded 29070 port on your router.
2. My server isn't showing up on the server list. Why?
Like before, you need to forward port 29070 on your router. How to Port Forward
3. What is my public IP Address?
Here: What is my IP? - WhatIsMyIP.org
4. What is port forwarding and why do i need it?
This will be edited today Paint is killing me.
To be added:
smod commands,
rcon commands
how to setup rtv,
anything else?
Last edited by a moderator: