Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Player deaths

Comments in 'Plugin Development' started by NycuRO, Apr 21, 2016.

Thread Status:
Not open for further replies.
  1. NycuRO
    Offline

    NycuRO Active Member

    Joined:
    Oct 19, 2015
    Posts:
    64
    Minecraft User:
    NycuRK
    Code for kills is:

    $kills = $this->stats->getKills($player); ????

    and for deaths is :

    $deaths = $this->stats->getDeaths($player); ??

    But idk is code for numeric deaths and kills.. Is corect or not?
  2. CraftYourBukkit
    Offline

    CraftYourBukkit Notable Member Plugin Developer

    Joined:
    Jan 20, 2015
    Posts:
    1,022
    Plugins:
    2
    Minecraft User:
    CraftYourBukkit
    Do we know your plugin? No, we don't?
    Do we understand your "english"? No, we don't?
    Can you please code the full code and really tell us what you want?
    HotFireyDeath likes this.
  3. Tim // robske Büba
    Offline

    Tim // robske Büba Notable Member

    Joined:
    Feb 26, 2014
    Posts:
    606
    Minecraft User:
    robske_110
    the english was good but in the other points you're right

    OffTopic: I'm doubting if I should get more active or less active. @PEMapModder did do sth to me
  4. Nawaf_Craft1b
    Offline

    Nawaf_Craft1b Active Member Plugin Developer

    Joined:
    May 8, 2015
    Posts:
    232
    Plugins:
    1
    Minecraft User:
    Nawaf_Craft1b
    Show All Code
    HotFireyDeath likes this.
  5. NycuRO
    Offline

    NycuRO Active Member

    Joined:
    Oct 19, 2015
    Posts:
    64
    Minecraft User:
    NycuRK
    public function settingParticle($player) {
    $br = F::RESET. "\n";
    $text[0] = F::BLUE. F::BOLD. " - Your statistic! -";
    $text[1] = F::DARK_GREEN. "Kills: " .F::YELLOW. $this->stats->getKills($player);
    $text[2] = F::DARK_GREEN. "Deaths: " .F::YELLOW. $this->stats->getDeaths($player);
    $text[3] = F::DARK_GREEN. "Places: " .F::YELLOW. $this->stats->getPlaces($player);
    $text[4] = F::DARK_GREEN. "Breaks: " .F::YELLOW. $this->stats->getBreaks($player);
    $text[5] = F::DARK_GREEN. "Joins: " .F::YELLOW. $this->stats->getJoins($player);
    $text[6] = F::DARK_GREEN. "Quits: " .F::YELLOW. $this->stats->getQuits($player);
    $level = $this->getServer()->getDefaultLevel();


    But not work..
  6. ImagicalGamer
    Offline

    ImagicalGamer Active Member

    Joined:
    Feb 25, 2016
    Posts:
    141
    Minecraft User:
    ImagicalGamer
    That plugin was never completed.
  7. CraftYourBukkit
    Offline

    CraftYourBukkit Notable Member Plugin Developer

    Joined:
    Jan 20, 2015
    Posts:
    1,022
    Plugins:
    2
    Minecraft User:
    CraftYourBukkit
    And how should we know anything about your stats system?
    ImagicalGamer likes this.
  8. ImagicalGamer
    Offline

    ImagicalGamer Active Member

    Joined:
    Feb 25, 2016
    Posts:
    141
    Minecraft User:
    ImagicalGamer
    HERE Working one xD.
  9. ImagicalGamer
    Offline

    ImagicalGamer Active Member

    Joined:
    Feb 25, 2016
    Posts:
    141
    Minecraft User:
    ImagicalGamer
    I think they got the plugin from github.
Thread Status:
Not open for further replies.

Share This Page

Advertisement