🤠
cedoscript
  • Introduction
  • Documentation
    • Packets
    • Setting Command
    • Java Imports
    • Examples
      • Creating a Pack
      • Custom Block Animation
      • Bhop
      • Setting Creation
      • Post Notification
      • Gradient Round Rectangle
      • Applying a gradient
      • Simulate a command
  • api
    • Events
    • Settings
    • Objects
      • EntityLivingBase
      • ItemStack
      • Player Abilities
      • Color
      • TimerUtil
      • Continual Animation
      • ShaderUtil
      • FrameBuffer
      • Rainbow
      • Drag
      • Pair
      • Module
  • Bindings
    • Client
    • Player
    • Packet
    • Action
    • Facing
    • Potion
    • Notification
    • Render
    • Stats
    • Font
    • User
    • World
Powered by GitBook
On this page
  • Functions
  • getKills
  • getDeaths
  • getKD
  • getGamesPlayed
  • getPlayTime

Was this helpful?

  1. Bindings

Stats

This allows interface with our Statistics modules

The kill count, death count, and games played is only configured for Hypixel

We would greatly appreciate if someone could make a statistics script working for almost every server

Functions

getKills

var killCount = stats.getKills()

Returns a Number of the amount of kills you have

getDeaths

var deathCount = stats.getDeaths()

Returns a Number of your death count

getKD

var KDRatio = stats.getKD()

Returns a Number of your kill to death ratio

getGamesPlayed

var gamesPlayed = stats.getGamesPlayed()

Returns a Number with how many games you have played

getPlayTime

var playtime = stats.getPlayTime()

Returns an int array so that the first value "playtime[0]" will be the hours, "playtime[1]" will be minutes, and "playtime[2]" will be seconds

PreviousRenderNextFont

Last updated 2 years ago

Was this helpful?