Procedure for Player Levels

Started by TheLink110999 on

Topic category: Feature requests and ideas for MCreator

Joined Oct 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedure for Player Levels
Sun, 11/04/2018 - 19:48 (edited)

Procedure for Player Levels

In the procedure section and in the player tab I find that everything that affects the current level of the player and his experience is missing and that we can interact with for example: remove levels or even add levels or put it was exactly the level you want

And for info I am a French player of the MCreator community

 

Edited by TheLink110999 on Sun, 11/04/2018 - 19:48
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This has been added.
Mon, 11/26/2018 - 17:44

This has been added.

Joined Oct 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I saw that we added a new…
Mon, 11/26/2018 - 22:54

I saw that we added a new feature but it is only a beginning but I would like to check the level of the player and at the moment it is still impossible via MCreator

Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I was just looking for the…
Sun, 04/14/2019 - 19:01

I was just looking for the same.  I've added leveling and xp's, but not finding any hook into the leveling progression, player current level or options to manipulate the same.  Ideally, this is with the intent to provide jobs to players each with their own XP, Points, Money and Levels for each job.  It wouldn't be possible unless we had control of the leveling progression and getting/setting levels or XP to get to the next levels for each.  The higher your "job level", the longer it takes to level up to the next one.  It could get broken down like the Jobs plugin I use on my PaperSpigot Worlds like these calculations in a config file so they can be tailored to each server owner:
leveling-progression-equation: 10*(joblevel)+(joblevel*joblevel*4)
income-progression-equation: baseincome+(baseincome*(joblevel-1)*0.01)-((baseincome+(joblevel-1)*0.01) * ((numjobs-1)*0.05))
points-progression-equation: basepoints+(basepoints*(joblevel-1)*0.01)-((basepoints+(joblevel-1)*0.01) * ((numjobs-1)*0.05))
experience-progression-equation: baseexperience-(baseexperience*((numjobs-1) *0.01))
 

If someone figures out how to do this, do let me know. :-)  Thanks, Steve