MytheriaRaces
MytheriaRaces 为 Paper 服务器添加了五个可玩种族、种族专属能力、成长系统、专精、神器以及首领/地牢追踪功能。
服务器设置
- 需要 Paper 1.21 或更高版本。
- 将插件 JAR 文件放入服务器的
plugins 文件夹并重启服务器。
- 可选集成:Vault 加上经济提供程序用于付费切换种族;LuckPerms 用于同步种族权限;PlaceholderAPI 用于占位符;MythicMobs 和 MythicDungeons 用于首领/地牢钩子;ExecutableItems 用于物品触发的能力。
- 核心种族和成长系统无需这些可选插件即可工作。依赖缺失集成的功能将不可用。
新玩家首次加入时会被提示选择种族。可用种族包括 Gnome、Titan、Elf、Dwarf 和 Giant。每个种族提供不同的属性、被动效果、优势和劣势、主动能力以及终极技能:
| Race |
Ability |
Ultimate |
| Gnome |
Blink |
Mischief |
| Titan |
Seismic Slam |
Fortify |
| Elf |
Wildheart |
Moonwell |
| Dwarf |
Stoneform |
Deep Delve |
| Giant |
Stomp |
Earthquake |
首次选择种族免费。切换现有种族需要 Vault,费用为 100,000,000 经济单位,所有玩家(包括管理员)都有七天的冷却时间。更改种族会重置种族经验和等级。工作人员分配种族也会使玩家从 1 级开始。
命令
不带子命令的命令通常会打开个人资料或显示状态。Staff 标记的命令需要相应的 mytheriaraces.admin.* 节点(或 mytheriaraces.admin 组)。仅控制台钩子旨在用于集成,并在适用时需要目标玩家在线。使用 /races 作为 /race 的别名。种族子命令也接受紧凑形式,例如 /racestats 或 /racesstats 对应 /race stats。每个命令都可以作为 /race… 或 /races… 使用,空格与否均可(例如 /race progress quest, /races progress quest, /raceprogressquest, /racesprogressquest),并且所有形式都支持自动补全。其他所有命令的子命令也有无空格形式,如 /raceprogressquest, /racedungeonstatus 和 /racepowerscapstone。
新玩家首次加入时会看到简短的“Welcome / to MytheriaMC”标题,然后打开种族菜单。
| Command |
Use |
/race, /races |
列出种族命令及其描述。 |
/race choose, /race switch |
选择或切换种族。 |
/race ability, /race ultimate |
使用你的种族能力。 |
/race guide |
打开逐步成长指南;随着升级解锁并揭示步骤。 |
/race stats, /race profile |
打开种族统计 GUI。 |
/race info |
在聊天中查看你的种族和成长进度。 |
/race top |
查看种族排行榜。 |
/race inspect <player> |
查看在线玩家的种族个人资料。需要 mytheriaraces.race.inspect(默认:所有人)。 |
/race set <player> <race> |
Staff: 设置在线玩家的种族(gnome, titan, elf, dwarf 或 giant)。 |
/race reset <player> |
Staff: 移除在线玩家的种族个人资料。 |
/race reload |
Staff: 重新加载 config.yml 和所有 configs/*.yml 文件,保存个人资料,并将种族重新应用于在线玩家。更改立即生效;只有新的 jar 文件需要重启。 |
/race logs [on|off], /racelogs |
Staff (mytheriaraces.logs): 切换实时聊天中的种族选择、升级、声望、能力使用和工作人员操作的 feed。 |
/race admin xp set <player> <xp> |
Staff: 设置在线玩家的种族经验(等级由此重新计算)。 |
/race admin level set <player> <level> |
Staff: 设置在线玩家的种族等级(经验设置为该等级的阈值)。 |
/race admin cutscene |
Staff: 重播完整的欢迎介绍,然后打开种族菜单(不将介绍标记为已观看)。 |
/race admin, /raceadmin, /racehelp admin |
Staff: 打开种族管理员帮助菜单。 |
/race shop |
打开代币商店(与 /raceprogress shop 相同)。 |
| `/raceprogress [profile |
quest |
/raceartifacts [profile] |
查看种族代币和装备的神器力量。 |
| `/raceartifacts grant <player> <common |
rare |
| `/racecontracts [profile |
leaderboard]` |
| `/racetalents [info |
choose |
| `/racepowers [info |
mastery |
/racecodex |
打开种族法典菜单。 |
| `/raceei [ability |
specialization |
| `/racedungeon [status |
leaderboard]` |
| `/raceboss [profile |
leaderboard]` |
/racehud |
切换种族、等级和代币操作栏 HUD(默认开启)。 |
/racehelp [admin] |
打开玩家帮助;admin 打开工作人员帮助。 |
集成控制台钩子
这些命令形式用于服务器控制台或插件集成,而非玩家使用:
raceprogress reward <player> <xp> <tokens>
racecontracts reward <player> <boss | dungeon> <name> <xp> <tokens>
raceboss hit <player> <boss-id> <damage>
raceboss complete <boss-id> <base-xp> <base-tokens>
racedungeon start <player> <dungeon_id> <normal | hard | mythic>
racedungeon complete <player> <dungeon_id> <tier> <xp> <tokens>
对于地牢完成,<tier> 是运行难度。首领和地牢集成可以使用这些钩子来记录进度并奖励种族经验/代币。
功能
- 种族进度: 通过击杀生物、玩家(100 XP,限流)和挖掘矿石获得种族经验值;升级至配置上限(默认为 25 级)。
- 每日任务与天赋: 完成轮换的每日种族任务,选择天赋路径,并在进度商店中消耗种族代币。
- 声望重置(Prestige): 在等级上限时进行声望重置;种族等级和经验值将重置,玩家获得 250 个种族代币。
- 专精与能力: 从种族专属专精中进行选择。精通在 20 级解锁,终极能力在 25 级解锁。
- 神器: 获取或接收普通、稀有和传说级别的神器物品;查看已装备神器的属性及种族代币余额。
- 首领与副本追踪: 追踪首领贡献、通关次数、副本运行记录和排行榜。MythicMobs/MythicDungeons 集成可连接奖励和完成回调钩子。
- 种族法典与 HUD: 提供游戏内参考菜单以及显示种族、等级和代币的操作栏摘要。
- 数据保护: 玩家数据可使用 Bukkit 持久化数据或独立的 YAML 配置文件。默认启用自动保存和每日备份。
- 防刷机制: 限制每小时生物和矿石的奖励数量,并应用重复的首领/副本奖励冷却时间。
- 审计选项: 可选择将种族选择、升级、声望重置和管理员操作发送至 Discord Webhook。
PlaceholderAPI 支持由 MytheriaRaces 扩展提供,在安装 PlaceholderAPI 时会自动注册(使用 /papi list 检查)。标识符不区分大小写,因此 %mytheriaraces_race% 和 %MytheriaRaces_race% 均可用。
| 占位符 |
值 |
%mytheriaraces_race% |
选定的种族,或 None |
%mytheriaraces_has_race% |
如果玩家已选择种族则为 true |
%mytheriaraces_level% |
种族等级 |
%mytheriaraces_max_level% |
配置的等级上限 |
%mytheriaraces_xp% |
种族经验值 |
%mytheriaraces_xp_needed% |
下一级所需的经验值 |
%mytheriaraces_xp_remaining% |
距离下一级还需的经验值 |
%mytheriaraces_xp_percent% |
到下一级的进度(0-100) |
%mytheriaraces_tokens% |
种族代币 |
%mytheriaraces_prestige% |
声望等级 |
%mytheriaraces_talent% |
选定的天赋,或 None |
%mytheriaraces_specialization% |
选定的专精,或 None |
%mytheriaraces_boss_clears% |
首领通关次数 |
%mytheriaraces_dungeon_clears% |
副本通关次数 |
%mytheriaraces_ability_cooldown% |
种族技能就绪前的秒数(若就绪则为 0) |
%mytheriaraces_ultimate_cooldown% |
种族终极技能就绪前的秒数(若就绪则为 0) |
%mytheriaraces_switch_cooldown% |
玩家可再次切换种族前的秒数(若允许则为 0) |
权限
每个命令及其子命令都有各自的节点,因此您可以单独授予或拒绝它们(例如使用 LuckPerms)。玩家节点默认为 true,因此除非您否定某个节点(如 -mytheriaraces.race.top),否则玩家保持正常访问权限。管理员节点默认为 OP(操作员)。控制台不受任何限制。
组节点:mytheriaraces.player 授予所有玩家节点,mytheriaraces.admin 授予所有 admin.* 和 bypass.* 节点。可以单独授予各个管理节点,而无需分配组节点。
| 权限 |
默认值 |
用途 |
mytheriaraces.race.choose |
Everyone |
选择初始种族(/race, /race choose)。 |
mytheriaraces.race.switch |
Everyone |
切换至其他种族。 |
mytheriaraces.race.ability |
Everyone |
/race ability。 |
mytheriaraces.race.ultimate |
Everyone |
/race ultimate。 |
mytheriaraces.race.guide |
Everyone |
/race guide。 |
mytheriaraces.race.stats |
Everyone |
/race, stats, profile, info。 |
mytheriaraces.race.top |
Everyone |
/race top。 |
mytheriaraces.race.inspect |
Everyone |
/race inspect <player>。 |
mytheriaraces.progress.profile |
Everyone |
/raceprogress 和 /raceprogress profile。 |
mytheriaraces.progress.quest |
Everyone |
/raceprogress quest。 |
mytheriaraces.progress.talent |
Everyone |
/raceprogress talent。 |
mytheriaraces.progress.shop |
Everyone |
/raceprogress shop。 |
mytheriaraces.progress.prestige |
Everyone |
/raceprogress prestige。 |
mytheriaraces.artifacts.profile |
Everyone |
/raceartifacts。 |
mytheriaraces.contracts.profile |
Everyone |
/racecontracts, profile。 |
mytheriaraces.contracts.leaderboard |
Everyone |
/racecontracts leaderboard。 |
mytheriaraces.talents.info |
Everyone |
/racetalents, info。 |
mytheriaraces.talents.choose |
Everyone |
/racetalents choose。 |
mytheriaraces.talents.ability |
Everyone |
/racetalents ability。 |
mytheriaraces.powers.info |
Everyone |
/racepowers, info。 |
mytheriaraces.powers.mastery |
Everyone |
/racepowers mastery。 |
mytheriaraces.powers.capstone |
Everyone |
/racepowers capstone。 |
mytheriaraces.codex |
Everyone |
/racecodex。 |
mytheriaraces.hud |
Everyone |
/racehud。 |
mytheriaraces.help |
Everyone |
/racehelp。 |
mytheriaraces.ei.ability |
Everyone |
/raceei ability。 |
mytheriaraces.ei.specialization |
Everyone |
/raceei specialization。 |
mytheriaraces.ei.mastery |
Everyone |
/raceei mastery。 |
mytheriaraces.ei.capstone |
Everyone |
/raceei capstone。 |
mytheriaraces.dungeon.status |
Everyone |
/racedungeon, status。 |
mytheriaraces.dungeon.leaderboard |
Everyone |
/racedungeon leaderboard。 |
mytheriaraces.boss.profile |
Everyone |
/raceboss, profile。 |
mytheriaraces.boss.leaderboard |
Everyone |
/raceboss leaderboard。 |
mytheriaraces.admin.set |
Operators |
/race set <player> <race>。 |
mytheriaraces.admin.reset |
Operators |
/race reset <player>。 |
mytheriaraces.admin.reload |
Operators |
/race reload。 |
mytheriaraces.admin.progress |
Operators |
/race admin xp set 和 /race admin level set。 |
mytheriaraces.logs |
Operators |
/race logs 日志流。与 mytheriaraces.admin 分离,因此可以仅授予模组管理员。 |
mytheriaraces.admin.help |
Operators |
/race admin, /raceadmin 或 /racehelp admin。 |
mytheriaraces.admin.artifacts.grant |
Operators |
/raceartifacts grant <player> <tier>。 |
mytheriaraces.dependency-notify |
Operators |
加入服务器时接收可选的依赖项状态报告。 |
编辑菜单与配置文件
每个菜单和功能都有其自己的文件,在首次启动时生成,并通过 /race reload 重新加载:
| 文件 |
控制内容 |
config.yml |
插件核心设置(经验值、冷却时间、存储、防刷机制、Discord 等)。 |
configs/shop.yml |
代币商店价格与神器冷却时间。 |
configs/talents.yml |
天赋加成。 |
configs/artifacts.yml |
神器能力与缓存代币奖励。 |
configs/abilities.yml |
专精、精通和核心技能的冷却时间。 |
guis/<menu>.yml |
每个菜单一个文件:race-select(种族选择)、race-profile(种族资料)、codex(法典)、guide(指南)、help-member(成员帮助)、help-admin(管理员帮助)、shop(商店)、talents(天赋)、specialization(专精)。 |
在 guis/*.yml 文件中,你可以更改 title(标题)、rows(行数)和 filler(填充物),并为 items 下的每个条目配置:
enabled(启用)、slot(槽位)、material(材质)、name(名称)、lore(描述)、glow(发光)以及(在支持的情况下)command(命令)。颜色代码使用 & 和 &#RRGGBB;
占位符如 {level} 或 {tokens} 将由插件填充。指南步骤还包含 unlock-level(解锁等级)。
配置
请在服务器停止运行时编辑 plugins/MytheriaRaces/config.yml,或者作为操作员编辑后运行
/race reload。默认值如下:
| 设置项 |
默认值 |
效果 |
enabled-worlds |
[] |
留空表示启用所有世界;否则列出种族经验值和效果刷新生效的世界。 |
announce-race-choices |
true |
广播玩家选择的种族。 |
progression.max-level |
25 |
种族最高等级。 |
progression.xp-per-level-squared |
75 |
经验曲线乘数;升至下一等级所需的经验值为该值乘以当前等级的平方。 |
progression.mob-kill-xp |
12 |
每次符合条件的怪物击杀获得的种族经验值。 |
progression.player-kill-xp |
100 |
每次符合条件的玩家击杀获得的种族经验值。 |
progression.ore-break-xp |
8 |
每次符合条件的矿石方块被破坏获得的种族经验值。 |
cooldowns.ability-seconds |
35 |
种族技能的基础冷却时间(秒)。 |
cooldowns.ultimate-seconds |
300 |
种族终极技能的冷却时间(秒)。 |
combat.gnome-dodge-chance |
0.12 |
侏儒的闪避几率。 |
combat.dwarf-underground-damage-multiplier |
0.80 |
矮人在地下的伤害乘数。 |
combat.dwarf-bonus-ore-chance |
0.20 |
矮人发现额外矿石的几率。 |
storage.type |
pdc |
pdc 将档案存储在玩家数据中;yaml 使用 plugins/MytheriaRaces/profiles/ 目录。 |
player-data.enabled |
true |
启用定时保存档案。 |
player-data.save-interval-minutes |
5 |
保存间隔(分钟)。 |
player-data.daily-backups |
true |
创建每日玩家数据备份。 |
player-data.backup-retention-days |
30 |
保留备份的天数。 |
anti-farm.enabled |
true |
启用奖励限制。 |
anti-farm.mob-rewards-per-hour |
250 |
每小时每位玩家最多可获得的怪物奖励事件次数。 |
anti-farm.player-kill-rewards-per-hour |
10 |
每小时每位击杀者最多可获得的玩家击杀经验值奖励次数。 |
anti-farm.same-player-kill-reward-minutes |
10 |
同一击杀者再次从同一受害者处获得玩家击杀经验值奖励前的延迟时间(分钟)。 |
anti-farm.ore-rewards-per-hour |
800 |
每小时每位玩家最多可获得的矿石奖励事件次数。 |
anti-farm.same-boss-reward-minutes |
30 |
同一首领重复奖励的延迟时间(分钟)。 |
anti-farm.same-dungeon-reward-minutes |
15 |
同一副本重复奖励的延迟时间(分钟)。 |
discord-webhook.enabled |
false |
启用 Webhook 日志记录。 |
discord-webhook.url |
"" |
Discord Webhook URL。 |
discord-webhook.log-race-selection |
true |
记录种族选择。 |
discord-webhook.log-level-ups |
true |
记录种族升级。 |
discord-webhook.log-prestige |
true |
记录声望。 |
discord-webhook.log-admin-actions |
true |
记录工作人员操作。 |
该插件还会在 plugins/MytheriaRaces/configs/ 下创建 YAML 文件。在此版本中,这些文件的设置已被加载,但功能代码尚未读取它们;请使用上述主要的 config.yml 中的活跃设置。
MytheriaRaces
MytheriaRaces adds five playable races, race-specific powers, progression, specializations,
artifacts, and boss/dungeon tracking to Paper servers.
Server Setup
- Requires Paper 1.21 or newer.
- Place the plugin JAR in the server's
plugins folder and restart the server.
- Optional integrations: Vault plus an economy provider for paid race changes; LuckPerms
for race permission syncing; PlaceholderAPI for placeholders; MythicMobs and
MythicDungeons for boss/dungeon hooks; ExecutableItems for item-triggered powers.
- The core race and progression systems work without these optional plugins. Features
that depend on a missing integration will not be available.
New players are prompted to choose a race when they first join. Available races are
Gnome, Titan, Elf, Dwarf, and Giant. A race provides different attributes, passive
effects, strengths and drawbacks, an active ability, and an ultimate:
| Race |
Ability |
Ultimate |
| Gnome |
Blink |
Mischief |
| Titan |
Seismic Slam |
Fortify |
| Elf |
Wildheart |
Moonwell |
| Dwarf |
Stoneform |
Deep Delve |
| Giant |
Stomp |
Earthquake |
The first race choice is free. Switching an existing race requires Vault and costs
exactly 100,000,000 economy units, with a seven-day cooldown for all players, including
operators. Changing race resets
race XP and level. Staff race assignment also starts the player at level 1.
Commands
Commands without a subcommand generally open a profile or show status. Commands marked
Staff require the matching mytheriaraces.admin.* node (or the mytheriaraces.admin group). Console-only hooks are
intended for integrations and require the target player to be online where applicable.
Use /races as an alias for /race. Race subcommands also accept compact forms, such as
/racestats or /racesstats for /race stats. Every command works as /race… or /races…, spaced or unspaced (for example /race progress quest,
/races progress quest, /raceprogressquest, /racesprogressquest), and all forms tab-complete. Every other command also has unspaced
forms for its subcommands, such as /raceprogressquest, /racedungeonstatus, and /racepowerscapstone.
New players see a short "Welcome / to MytheriaMC" title on first join, then the race menu opens.
| Command |
Use |
/race, /races |
List race commands and descriptions. |
/race choose, /race switch |
Choose or switch race. |
/race ability, /race ultimate |
Use your race powers. |
/race guide |
Open the step-by-step progression guide; steps unlock and reveal as you level up. |
/race stats, /race profile |
Open the race stats GUI. |
/race info |
View your race and progression in chat. |
/race top |
View the race leaderboard. |
/race inspect <player> |
View an online player's race profile. Requires mytheriaraces.race.inspect (default: everyone). |
/race set <player> <race> |
Staff: Set an online player's race (gnome, titan, elf, dwarf, or giant). |
/race reset <player> |
Staff: Remove an online player's race profile. |
/race reload |
Staff: Reload config.yml and every configs/*.yml file, save profiles, and re-apply races to online players. Changes apply immediately; only a new jar needs a restart. |
/race logs [on|off], /racelogs |
Staff (mytheriaraces.logs): Toggle a live in-chat feed of race picks, level-ups, prestiges, ability use and staff actions. |
/race admin xp set <player> <xp> |
Staff: Set an online player's race XP (level is recalculated from it). |
/race admin level set <player> <level> |
Staff: Set an online player's race level (XP is set to that level's threshold). |
/race admin cutscene |
Staff: Replay the full welcome intro, then open the race menu (does not mark the intro as seen). |
/race admin, /raceadmin, /racehelp admin |
Staff: Open the race admin help menu. |
/race shop |
Open the token shop (same as /raceprogress shop). |
| `/raceprogress [profile |
quest |
/raceartifacts [profile] |
View race tokens and equipped artifact power. |
| `/raceartifacts grant <player> <common |
rare |
| `/racecontracts [profile |
leaderboard]` |
| `/racetalents [info |
choose |
| `/racepowers [info |
mastery |
/racecodex |
Open the race codex menu. |
| `/raceei [ability |
specialization |
| `/racedungeon [status |
leaderboard]` |
| `/raceboss [profile |
leaderboard]` |
/racehud |
Toggle the race, level, and token action-bar HUD (on by default). |
/racehelp [admin] |
Open player help; admin opens staff help. |
Integration Console Hooks
These command forms are for server console or plugin integrations, not player use:
raceprogress reward <player> <xp> <tokens>
racecontracts reward <player> <boss | dungeon> <name> <xp> <tokens>
raceboss hit <player> <boss-id> <damage>
raceboss complete <boss-id> <base-xp> <base-tokens>
racedungeon start <player> <dungeon_id> <normal | hard | mythic>
racedungeon complete <player> <dungeon_id> <tier> <xp> <tokens>
For dungeon completion, <tier> is the run difficulty. Boss and dungeon integrations
can use these hooks to record progress and award race XP/tokens.
Features
- Race progression: Earn race XP from mob kills, player kills (100 XP, rate-limited)
and ore mining; level up to the
configured cap (25 by default).
- Daily quests and talents: Complete a rotating daily race quest, select a talent
path, and spend race tokens in the progression shop.
- Prestige: Prestige at the level cap; race level and XP reset, and the player gains
250 race tokens.
- Specializations and powers: Select from race-specific specializations. Mastery
unlocks at level 20 and capstone powers at level 25.
- Artifacts: Earn or receive cache items in common, rare, and legendary tiers; view
equipped artifact power and race-token balance.
- Boss and dungeon tracking: Track boss contributions, clears, dungeon runs, and
leaderboards. MythicMobs/MythicDungeons integrations can connect reward and completion
hooks.
- Race codex and HUD: Provide an in-game reference menu and an action-bar
summary of race, level, and tokens.
- Data protection: Player data can use Bukkit persistent data or separate YAML
profiles. Automatic saves and daily backups are enabled by default.
- Anti-farming: Limit mob and ore rewards per hour and apply repeat boss/dungeon
reward cooldowns.
- Audit options: Optionally send race selections, level-ups, prestige, and staff
actions to a Discord webhook.
PlaceholderAPI support is provided by a MytheriaRaces expansion, registered
automatically when PlaceholderAPI is installed (check with /papi list). The identifier
is case-insensitive, so %mytheriaraces_race% and %MytheriaRaces_race% both work.
| Placeholder |
Value |
%mytheriaraces_race% |
Selected race, or None |
%mytheriaraces_has_race% |
true if the player has chosen a race |
%mytheriaraces_level% |
Race level |
%mytheriaraces_max_level% |
Configured level cap |
%mytheriaraces_xp% |
Race XP |
%mytheriaraces_xp_needed% |
XP required for the next level |
%mytheriaraces_xp_remaining% |
XP still needed for the next level |
%mytheriaraces_xp_percent% |
Progress to the next level (0-100) |
%mytheriaraces_tokens% |
Race tokens |
%mytheriaraces_prestige% |
Prestige level |
%mytheriaraces_talent% |
Selected talent, or None |
%mytheriaraces_specialization% |
Selected specialization, or None |
%mytheriaraces_boss_clears% |
Boss clears |
%mytheriaraces_dungeon_clears% |
Dungeon clears |
%mytheriaraces_ability_cooldown% |
Seconds until the race ability is ready (0 if ready) |
%mytheriaraces_ultimate_cooldown% |
Seconds until the race ultimate is ready (0 if ready) |
%mytheriaraces_switch_cooldown% |
Seconds until the player may switch race again (0 if allowed) |
Permissions
Every command and subcommand has its own node, so you can grant or deny them
individually (for example with LuckPerms). Player nodes default to true, so players
keep normal access unless you negate a node (-mytheriaraces.race.top). Staff nodes
default to operators. The console is never restricted.
Group nodes: mytheriaraces.player grants every player node, and mytheriaraces.admin
grants every admin.* and bypass.* node. Individual staff nodes can be granted without
the group.
| Permission |
Default |
Purpose |
mytheriaraces.race.choose |
Everyone |
Choose a first race (/race, /race choose). |
mytheriaraces.race.switch |
Everyone |
Switch to a different race. |
mytheriaraces.race.ability |
Everyone |
/race ability. |
mytheriaraces.race.ultimate |
Everyone |
/race ultimate. |
mytheriaraces.race.guide |
Everyone |
/race guide. |
mytheriaraces.race.stats |
Everyone |
/race, stats, profile, info. |
mytheriaraces.race.top |
Everyone |
/race top. |
mytheriaraces.race.inspect |
Everyone |
/race inspect <player>. |
mytheriaraces.progress.profile |
Everyone |
/raceprogress and /raceprogress profile. |
mytheriaraces.progress.quest |
Everyone |
/raceprogress quest. |
mytheriaraces.progress.talent |
Everyone |
/raceprogress talent. |
mytheriaraces.progress.shop |
Everyone |
/raceprogress shop. |
mytheriaraces.progress.prestige |
Everyone |
/raceprogress prestige. |
mytheriaraces.artifacts.profile |
Everyone |
/raceartifacts. |
mytheriaraces.contracts.profile |
Everyone |
/racecontracts, profile. |
mytheriaraces.contracts.leaderboard |
Everyone |
/racecontracts leaderboard. |
mytheriaraces.talents.info |
Everyone |
/racetalents, info. |
mytheriaraces.talents.choose |
Everyone |
/racetalents choose. |
mytheriaraces.talents.ability |
Everyone |
/racetalents ability. |
mytheriaraces.powers.info |
Everyone |
/racepowers, info. |
mytheriaraces.powers.mastery |
Everyone |
/racepowers mastery. |
mytheriaraces.powers.capstone |
Everyone |
/racepowers capstone. |
mytheriaraces.codex |
Everyone |
/racecodex. |
mytheriaraces.hud |
Everyone |
/racehud. |
mytheriaraces.help |
Everyone |
/racehelp. |
mytheriaraces.ei.ability |
Everyone |
/raceei ability. |
mytheriaraces.ei.specialization |
Everyone |
/raceei specialization. |
mytheriaraces.ei.mastery |
Everyone |
/raceei mastery. |
mytheriaraces.ei.capstone |
Everyone |
/raceei capstone. |
mytheriaraces.dungeon.status |
Everyone |
/racedungeon, status. |
mytheriaraces.dungeon.leaderboard |
Everyone |
/racedungeon leaderboard. |
mytheriaraces.boss.profile |
Everyone |
/raceboss, profile. |
mytheriaraces.boss.leaderboard |
Everyone |
/raceboss leaderboard. |
mytheriaraces.admin.set |
Operators |
/race set <player> <race>. |
mytheriaraces.admin.reset |
Operators |
/race reset <player>. |
mytheriaraces.admin.reload |
Operators |
/race reload. |
mytheriaraces.admin.progress |
Operators |
/race admin xp set and /race admin level set. |
mytheriaraces.logs |
Operators |
/race logs feed. Separate from mytheriaraces.admin, so it can be given to mods alone. |
mytheriaraces.admin.help |
Operators |
/race admin, /raceadmin, or /racehelp admin. |
mytheriaraces.admin.artifacts.grant |
Operators |
/raceartifacts grant <player> <tier>. |
mytheriaraces.dependency-notify |
Operators |
Receive an optional dependency status report on join. |
Editing Menus and Configs
Every menu and feature has its own file, generated on first start and reloaded with /race reload:
| File |
Controls |
config.yml |
Core plugin settings (XP, cooldowns, storage, anti-farm, Discord, ...). |
configs/shop.yml |
Token shop prices and relic cooldown. |
configs/talents.yml |
Talent bonuses. |
configs/artifacts.yml |
Artifact powers and cache token rewards. |
configs/abilities.yml |
Specialization, mastery and capstone cooldowns. |
guis/<menu>.yml |
One per menu: race-select, race-profile, codex, guide, help-member, help-admin, shop, talents, specialization. |
In a guis/*.yml file you can change title, rows and the filler, and for each entry under items:
enabled, slot, material, name, lore, glow and (where supported) command. Colour codes use & and &#RRGGBB;
placeholders such as {level} or {tokens} are filled in by the plugin. Guide steps also have unlock-level.
Configuration
Edit plugins/MytheriaRaces/config.yml while the server is stopped, or edit it and run
/race reload as an operator. Defaults:
| Setting |
Default |
Effect |
enabled-worlds |
[] |
Empty means all worlds are enabled; otherwise list worlds where race XP and effect refreshes apply. |
announce-race-choices |
true |
Broadcast player race selections. |
progression.max-level |
25 |
Maximum race level. |
progression.xp-per-level-squared |
75 |
XP curve multiplier; XP to the next level is this value times the current level squared. |
progression.mob-kill-xp |
12 |
Race XP per eligible mob kill. |
progression.player-kill-xp |
100 |
Race XP per eligible player kill. |
progression.ore-break-xp |
8 |
Race XP per eligible ore block. |
cooldowns.ability-seconds |
35 |
Base race ability cooldown. |
cooldowns.ultimate-seconds |
300 |
Race ultimate cooldown. |
combat.gnome-dodge-chance |
0.12 |
Gnome dodge chance. |
combat.dwarf-underground-damage-multiplier |
0.80 |
Dwarf damage multiplier underground. |
combat.dwarf-bonus-ore-chance |
0.20 |
Dwarf chance to find bonus ore. |
storage.type |
pdc |
pdc stores profiles in player data; yaml uses plugins/MytheriaRaces/profiles/. |
player-data.enabled |
true |
Enable scheduled profile saving. |
player-data.save-interval-minutes |
5 |
Save interval. |
player-data.daily-backups |
true |
Create daily player-data backups. |
player-data.backup-retention-days |
30 |
Retain backups for this many days. |
anti-farm.enabled |
true |
Enable reward limits. |
anti-farm.mob-rewards-per-hour |
250 |
Maximum mob reward events per player per hour. |
anti-farm.player-kill-rewards-per-hour |
10 |
Maximum player-kill XP rewards per killer per hour. |
anti-farm.same-player-kill-reward-minutes |
10 |
Delay before the same killer can earn player-kill XP from the same victim again. |
anti-farm.ore-rewards-per-hour |
800 |
Maximum ore reward events per player per hour. |
anti-farm.same-boss-reward-minutes |
30 |
Repeat reward delay for the same boss. |
anti-farm.same-dungeon-reward-minutes |
15 |
Repeat reward delay for the same dungeon. |
discord-webhook.enabled |
false |
Enable webhook logging. |
discord-webhook.url |
"" |
Discord webhook URL. |
discord-webhook.log-race-selection |
true |
Log race selections. |
discord-webhook.log-level-ups |
true |
Log race level-ups. |
discord-webhook.log-prestige |
true |
Log prestige. |
discord-webhook.log-admin-actions |
true |
Log staff actions. |
The plugin also creates YAML files under plugins/MytheriaRaces/configs/. In this
release, their settings are loaded but are not currently read by the feature code; use
the main config.yml for the active settings listed above.
评论 0
登录后参与评分
还没有评论,来抢沙发吧