Skip to content

File directory

Zephi edited this page Apr 8, 2024 · 2 revisions

This page is due for an overhaul. Please help expand it!

Root

.env

  • Server tokens.
  • Works in tandem with server/permissions.js, which has more advanced options.

README.md

  • Brief information about Open Source Arras and how to set up your server. This file is optional and can be removed.

Public (Client)

changelog.html

  • A changelog that also appears in the main menu. Cool.

app.js

  • A lot of client-side stuff.

gameDraw.js

  • Colors and some other stuff.

index.html

  • The main menu.

Server

config.js

  • The configuration of the server.
  • Please use modules/setup/config.js to change the gamemode.

permissions.js

  • Advanced options for tokens.

Lib

random.js

  • Random stuff, like bot and boss names.

Modules

Modules is a replacement for server.js, split up into multiple files sorted by subfolders. This folder contains everything the server needs to operate.

definitions

  • Definitions for tanks, polygons, ammunition, bosses, and other entities.
  • This is where you can modify existing tanks or create new ones.
  • You'll likely be spending 99.9% of your time here.