Giter Club home page Giter Club logo

ut-nexgen-stats-viewer-php7's Introduction

ut-nexgen-stats-viewer-php7

Version of NexgenStatsViewer105 compatible with php 7 and above

Update 08/06/21

  • Added support for custom gametypes

How to upgrade

  • Make a back up of the previous version if you wish.

  • Replace getstats.php in your utstats main directory.

  • You can only have a maximum of 5 lists with a total of 30 combined players.

  • Lists are displayed in the order you specify.

How to add standard lists(Top Rankings)

To add new gametypes you simply add the following at the top of the file after the php tags.

//new NexgenPlayerList(HOST, DATABASE, USER, PASSWORD, DISPLAY_TITLE, GAMETYPE_NAME, TOTAL_PLAYERS, ALWAYS_SET_LAST_TO_FALSE);
new NexgenPlayerList("localhost", "utstats", "root", "", "Test Title", "Capture the Flag (Insta)", 5, false);

How to add custom lists(kills, deaths, playtime...)

To add new custom lists you simply add the following at the top of the file after the php tags.

//new NexgenPlayerList(HOST, DATABASE, USER, PASSWORD, DISPLAY_TITLE, ALWAYS_0, TOTAL_PLAYERS, TYPE); You can find valid types below.
new NexgenPlayerList("localhost", "utstats", "root", "", "Most Playtime (Hours)", 0, 10, "gametime");

Valid custom types (Ignore text in brackets)

  • gametime (Combined playtime in hours)
  • frags
  • kills
  • deaths
  • suicides
  • teamkills
  • flag_taken
  • flag_dropped
  • flag_return
  • flag_capture
  • flag_cover
  • flag_seal
  • flag_assist
  • flag_kills
  • flag_pickedup
  • dom_cp (Domination Control Point Caps)
  • ass_obj (Assault Objective Caps)
  • spree_monster (Total Monster Kills)
  • spree_god (Total Godlikes)
  • pu_pads (Total Thigh Pads Pickups)
  • pu_armour (Total Armour Pickups)
  • pu_keg (Total Super Health Pickups)
  • pu_invis (Total Invisibility Pickups)
  • pu_belt (Total Shield Belt Pickups)
  • pu_amp (Total UDamage Pickups)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.