transferring data to another nickname

Discussion in 'Plugin Development' started by LIMPIX31, May 26, 2021.

  1. Offline

    LIMPIX31

    If there is such a plugin, then good, give link

    Using for example the command (/ transfer <old name> <new name>). The data of the old player was transferred to the new one, and the data of the old player must be completely deleted. The transfer includes: Inventory, health, experience, ender chest, hunger, achievements, statistics, last exit location and other data.
     
  2. Offline

    KarimAKL

    @LIMPIX31 Are you looking for a plugin that does this, or are you trying to create it yourself?
     
  3. Offline

    LIMPIX31

    If there is no ready-made, then how to do it using the Bukkit api
     
  4. Offline

    KarimAKL

  5. Offline

    LIMPIX31

    I don't need this link. Where exactly is it written how to do this?
     
  6. Offline

    KarimAKL

    @LIMPIX31 You must get the data you want to transfer from the first player and then set it for the new player. e.g. #getHealth() & #setHealth(double).
     
  7. Offline

    LIMPIX31

    what about achievements and statistics?
     
  8. Offline

    davidclue

  9. Offline

    LIMPIX31

    getAdvancementProgress?
     
  10. Offline

    davidclue

  11. Offline

    LIMPIX31

    statistics?
     
  12. Offline

    KarimAKL

    @LIMPIX31 There is a search bar at the top right on the javadocs. You can search for "Statistic" and find everything you need to know.
     
    davidclue likes this.

Share This Page