McDuels Wiki
  • Homepage
  • information
    • Gametypes
      • Duel1v1
      • Battles
      • FFA
      • DuelBot
      • PartyVsParty
      • Party Battles
    • Gamemodes
      • Bot
      • Normal
      • Combo
      • Build
      • Soup
      • Sumo
      • Spleef
      • BedWars
      • Sky Wars
      • Koth
    • PvP Bots
    • Commands
    • Permissions
    • Ranked and Unranked
    • Database Management
    • Configuration
    • Languages
    • Rewards
    • Statistics
    • Lobbies
    • Supported Plugins
    • KitEditor
    • Replicate Gamemode
  • Systems
    • Betting System
    • Elo System
    • Party System
  • Setup
    • Arena Setup
    • Kits Setup
    • Sign Setup
    • Scoreboard Setup
    • McDuelsItemsOnJoin Setup
  • API
    • Events
    • API
  • GET started
    • Terms
    • FAQ
    • How to install
    • Contact Info
Powered by GitBook
On this page

Was this helpful?

  1. API

API

If you want to get players statistics, use this.

McDuelsAPI api = McDuelAPI.API(); int kills = api.getKills(player); int deaths = api.getDeaths(player); int lost = api.getLost(player); int won = api.getWon(player); double kdr = api.getKdr(player); int elo = api.getGlobalElo(player); int selo = api.getElo(player, type); boolean IsPlayerInGame = api.isPlayerInGame(player);

There are Five Elo Types: Duel1v1 Battle1v1 Battle2v2 Battle3v3 Global

By upload the external jar plugin to your eclipse, this will be able to work.

PreviousEventsNextTerms

Last updated 5 years ago

Was this helpful?