installation/Classes and Ranks

You can buildup new classes with the admincommands.
Either run some commands like in the following example for the predefined Class Fighter.

/classadmin add class Fighter Warrior Warrior_I &7
#--this creates the Class Fighter and adds the first Rank Warrior 
# with displayname Warrior I and colorcode &7

/classadmin add rank Fighter SWarrior Warrior_II &7
#--this adds a rank SWarrior to the class Fighter 
#  with displayname Warrior II and colorcode &7

/classadmin add rank Fighter MWarrior Warrior_III &8
#--this adds a rank MFighter to the class Fighter 
# with displayname Warrior III and colorcode &8

Note: This is a basic rank-class setup. You have one class that is divided into 3 ranks.
This is just a basic example :) You might come up with more stuff.
You can have any number of ranks in a Class.
The individuell prices for a rank must be set manually in the configfile

Here is the default content, a template can me downloaded here, too.

# this is a basic class setup. Note that the
# PermName must exist. Nodes are:
#classname:
#    [PermName]:
#        [values]
classes:
    Fighter:
        Warrior:
            name: 'Warrior I'
            color: '&7'
            price: 10.00
        SWarrior:
            name: 'Warrior II'
            color: '&7'
            price: 50.00
        MWarrior:
            name: 'Warrior III'
            color: '&8'
            price: 100.00
    Business:
        Trader:
            name: 'Trader I'
            color: '&a'
            price: 10.00
        STrader:
            name: 'Trader II'
            color: '&a'
            price: 50.00
            items:
            - 'GOLD_INGOT:3'
            - 'IRON_INGOT:3'
        MTrader:
            name: 'Trader III'
            color: '&2'
            price: 100.00

Comments

Posts Quoted:
Reply
Clear All Quotes