/german-starter-website

Source code of the website for the german starter rust server

Primary LanguageTypeScript


Logo

German Starter Website

The whole Web enviroment of the Germen Starter Server.
Explore the docs »

View Website (Preview)

Maintenance

Domain change

If the domain is changed it must also be changed in the CONSTANTS file. Some functionality may be dependent on this setting.

Setup

Secrets

The following secrets must be set as environment variables.

  • PROJECT_ID: firebase-admin project id
  • CLIENT_EMAIL: firebase-admin client id
  • PRIVATE_KEY: firebase admin private key
  • STEAM_API_KEY: Steam API key
  • SESSION_KEY: Random secret with a min length of 32 for iron session
  • DATABASE_URL: Database URL for Prisma
  • DISCORD_WEBHOOK_URL: Webhook URL from discord
  • GS_SERVER_WEB_API_KEY: Key to access protected api under playerstats.german-starter.de:5000 from the GS web server.
  • RUST_MAPS_API_KEY: Key to access RustMaps.com API.

Database

Add full text search

CREATE FULLTEXT INDEX text_search ON players(name)

Ideas

  • Show if player is in the rise or on the fall indicated with a red/green arrow in stats table and user plage.

  • Show top player of the day instead of random player in spotlight on the stats page. Maybe indicated with a flame.

  • Send state from Py Script to this page via Webhook and then save in firebase. For example last Player Update SUCCESS/ERROR or Can not Update Player data. Also show the state from the user table to the user (Update / updating and show last update)

  • Calendar that shows wipes. Automatically show forced Wipes and option to add custom wipes in Dashboard

  • Show related profiles on user profile page (Social Media like) and show friends on server

  • Show highest kill streak.

  • show overall rust stats. If not public show demo graphs blurred like vercel

  • Add image to discord announce. Default grab first url from text.

  • show player log with nice design like github ink name changes, kills, deaths, pve deaths.

  • Calculate skill value or level for player based of stats

  • Option to ban player from comments

  • Option to report comment

  • Add watch player option. If some one watches a player he always sees him on the main page (or some where else)

  • Add something to the header like the current players "We have 13000+ active players"

  • Show last wipe in the header. Small or large Badge stamp if it hast just wiped 1-2 days ago.

  • Different roles. Admin/Moderator with different access levels (Important for VIP)

  • VIP shop

  • Map voting

  • Compare player with average (leetify)

  • Mark banned players

  • PVE Grafik reduzieren

  • Allow to starr players

  • Link to steam

  • Allow to set notes for player

  • Average first and last kill on each day

Questions

  • Force steam sign in? / no
  • Convert names of pve deaths back do ids on don't convert new ones in python script? Format in frontend instead. maybe display additional info (Frontend logic implementation is done) / yes
  • Combat log public / yes, but limite number of entries and only show names to logged in users
  • Stripe with a lot of payment methods but paypal or just paypal / paypal