需要 ValhallaMMO!
ValhallaRaces 是 ValhallaMMO 的种族与职业插件扩展包。游戏开始时,你会看到一个菜单,必须从中选择你想要扮演的种族。
每个种族都拥有独特的特质与缺陷,该插件默认包含 3 个种族。例如,矮人是熟练的工匠,精灵最擅长附魔,而人类则在各方面表现平平。
选定种族后,你可以选择自己的人生道路。你想成为大师级铁匠、附魔师还是炼金术士?你可以从三个组别(战斗类、专业类、采集类)中各选一个职业,共计选择 3 个职业。
该插件默认提供 9 个职业:
战斗类:战士、野蛮人、游侠
专业类:铁匠、附魔师、炼金术师
以及
采集类:矿工、农夫-渔夫、大地改造者
当然,你可以按需添加新的职业和种族,以上仅为默认内容。
功能
支持 PlaceholderAPI,包含以下占位符:
%valhallaraces_racename%
%valhallaraces_raceprefix%
%valhallaraces_classname_#%
%valhallaraces_classprefix_#%
职业占位符中的 # 代表你希望获取的职业所属“组别”的数字编号。
1 代表战斗类,2 代表专业类,3 代表采集类。具体设置详见 classes.yml 文件,你可以在其中更改这些分组。
因此,如果你想获取玩家当前专业类职业的姓名,请使用 %valhallaraces_classname_2%
种族和职业均可通过权限进行锁定。
当玩家选择某个种族或职业时,可执行相应命令。通过在命令前添加类似 <delay:20> 的内容,还可以实现延迟执行。
获得种族或职业时,可触发技能奖励(类似于 ValhallaMMO 用于处理技能树技能点的奖励机制)。
种族和职业可提供任意数量的 ValhallaMMO 属性加成。
职业可设置过滤器,限制其仅对特定种族开放。
未来可能会增加更多有趣的能力,也许吧,谁知道呢 ¯_(ツ)_/¯ 不过你现在基本上已经可以利用任何 ValhallaMMO 能力了。
命令
/races set [race/class] <race/classes> <player> 设置玩家的种族或职业
/races reset [race/class/both] <race/classes> <player> 移除玩家的种族或职业,并提示其重新选择
对于职业,格式应为 class1;class2;class3
权限
valhallaraces.manager
允许你管理自己和其他人的种族与职业
Requires ValhallaMMO!
ValhallaRaces is a races and classes plugin add-on for ValhallaMMO. You start the game with a menu in front of you where you must choose the race you want to be.
Each race has their own unique qualities and drawbacks, and the plugin has 3 by default. For example, Dwarves are expert craftsmen, Elves are the best at enchanting, and Humans are just kind of OK at everything.
After you've picked what you want to be, you get to choose your path in life. Do you want to be a master blacksmith, enchanter, or alchemist? You can pick 3 classes, one from each of 3 groups: Combat, Specialist, and Harvester.
The plugin has 9 classes by default:
Warrior, Barbarian, and Ranger from Combat
Blacksmith, Enchanter, and Alchemist from Specialist
and
Miner, Farmer-Fisherman, and Terraformer from Harvester
Of course, you can add new classes and races as you like, these are just the default races and classes.
Features
PlaceholderAPI support with the following placeholders:
%valhallaraces_racename%
%valhallaraces_raceprefix%
%valhallaraces_classname_#%
%valhallaraces_classprefix_#%
The # in the class placeholders expect the "group" of the class you want, which is a number.
1 is Combat, 2 is Specialist, and 3 is Harvester. This is detailed in classes.yml where you can change these groups.
So if you want to get the class name for whatever the player's Specialist class is, use %valhallaraces_classname_2%
Races and Classes can both be locked behind permissions.
Races and Classes can both execute commands when the player picks one of them. These commands can also be executed with a delay by adding something like delay:20 before the command.
Races and Classes can both execute perk rewards (like the ones used in ValhallaMMO to handle skill tree perks) when obtained.
Races and Classes can give any number of ValhallaMMO stat boost.
Classes can have a filter for which Races they're allowed for.
More interesting abilities can be added in the future, maybe, I dunno ¯(ツ)/¯ you can pretty much already utilize any ValhallaMMO ability.
Commands
/races set [race/class] <race/classes> <player> Sets a player's race or class
/races reset [race/class/both] <race/classes> <player> Removes a player's race or classes and prompts them to pick new ones
For classes, they're to be formatted as class1;class2;class3
Permissions
valhallaraces.manager
Allows you to manage your own and other people's races and classes
评论 0
登录后参与评分
还没有评论,来抢沙发吧