Adding your own type of XP

Assuming the Experience module is enabled…

XP types all have limits - a certain ammount can be earned in a certain number of days, e.g. visit xp is set to 1 point per 6.75 days (because setting it to 7.0 causes each week to get a little later until its someones bed time, so nicer to set just under 7 full days).

There are three types of built in XP

  • FactionXP - If the factions module is enabled, faction leaders may assign their members faction xp, up to the limit
  • VisitXP - Automatically awarded, up to the limit, for time spent on sim (see configuration)
  • EventXP - Automatically awarded up to a limit for time attending an “event” in a “zone”.

You can also create your own Experience type by going to Configuration, Characters, and creating of type EXPERIENCE. Note you should not use a XP, e.g. if you want “Test XP”, create EXPERIENCE “Test”.

When creating an Experience, you can enter a group TYPE, in this case the group leaders/admins of the group the character is in will be able to award points too. E.g. if you have a set of “groups” of type “Class”, e.g. “Warrior” “Priest” etc, then if you create a type of experience, and set its GROUP field to “Class”, then the Warrior admins/leader will be able to award this XP type to warriors, the priest leader/admins to priests, and so on.

This will cause several things to automatically be created

  • Cycle length and maximum xp per cycle KVs can be configured under the “Experience” module. You can set the maximum to 1000 if you don't want it arbitarily capped.
  • A new “Pool” is created of type “YournameXP”, used to store the actual transactions
  • A new permission is created called “Experience.awardYournameXP” which can be assigned to avatars to allow them to grant XP.
  • XP can be granted through the character sheet (an Award button there), or through the command Experience.Award which you may wish to alias. Note that Experience.Award has no permission listed against its command because it's dynamically checked depending on what type of XP you award. Note that only user created XP pools can be awarded ; visit, event and faction XP have their own mechanics.

All EXPERIENCE pools contribute to the Level.