语言配置(lang.yml):
YAML:
prefix: "&9Races of Thana&c:"refund-token: "&cYou were given back your token!"give-wrong-item: "&cThat is not a race-token!"teleport-race-spawn: "&cYou have been teleported!"
YAML:
permissions: racesofthana.gui: default: op racesofthana.gui.others: default: op racesofthana.racechat: default: true racesofthana.reload: default: op racesofthana.setrace: default: op racesofthana.unsetrace: default: op racesofthana.setspawn: default: op racesofthana.spawn: default: true racesofthana.spawn.override: default: op racesofthana.token: default: op racesofthana.token.use: default: op racesofthana.inspect: default: true racesofthana.inspect.others: default: op racesofthana.count: default: true racesofthana.preview: default: true racesofthana.about: default: true
YAML:
permissions: - race.permission # the player will have this permission node - -negated.permission # the player will have this negated permission node if your permission plugin supports that
被动、昼夜效果
竞赛可以在白天、晚上或任何时候产生特定的药水效果。如果您愿意,您可以只在夜间提供您的自定义比赛夜视功能,并且只在白天提供力量。这消除了白天拥有夜视功能的烦人问题。这将为您想要进行的比赛提供更大的灵活性!(可切换)。
所有可用的药水效果都可以在这里找到。
YAML:
potions: enabled: true # whether or not to active this module potion-bubbles: false # whether or not to show the potion bubbles around the player for these potion effects potioneffects: # these are always active - DAMAGE_RESISTANCE:0 day-effects: # these are only active during the day - MOVEMENT_SPEED:0 night-effects: # these are active during the night - DAMAGE_RESISTANCE:1 - NIGHT_VISION:0
语言文件
能够根据需要更改消息,非常不言自明。
YAML:
prefix: '&9Races of Thana&c:'refund-token: '&cYou were given back your token!'give-wrong-item: '&cThat is not a race-token!'teleport-race-spawn: '&cYou have been teleported!'
这只是您可以使用基于昼夜的命令执行的操作的一个小示例。有很多可能性。从给予特定时间的奖励效果到使用 PvP 插件禁用种族在黑暗中战斗的能力。
YAML:
commands: enabled: true # enable/disable this module race-change-commands: # commands executed when the player becomes this race- bc %player_name% became a(n) %player_race_displayname%! race-commands-day: # commands executed when it turns day in the world this player is in- tellraw %player_name% {"text":"The sun has risen","color":"red"} race-commands-night: # commands executed when it turns night in the world this player is in- tellraw %player_name% {"text":"The night has fallen","color":"red"}
伤害/免疫
您可以更改每个种族与水和熔岩的交互方式(+ 火,可选)。
YAML:
damage: enabled: true # enable this module water-damage: false lava-damage: true # do we want to alter the way this race interacts with lava? affect-fire: true # do we want the race to react to fire (and fire ticks) the same way as lava water-damage-amount: 2 lava-damage-amount: -1 # Setting damage to -1 makes this race immune to it
您可以通过将 race-token-enabled 设置为 true (enable)或 false (disable)来启用/禁用配置中的竞赛令牌。
YAML:
race-token: display-name: '&6Race Token' # display name of the item material: GLOWSTONE_DUST # item's material durability: 11 # durability (for texture packs) lore: # item's lore - '&eGive this to the race npc' - '&eto change your race!' item-flags: # item flags - HIDE_ATTRIBUTES [code]All available material types can be found here and all item flags can be found here. More about GUI customization can be found below (GUI customization & Word of Knowledge)PvP ModulePlayer combat can go the way you want when it comes to races facing other races.With the simple but powerful config stated above, you can now make allies!We'll go through the config step by step:[code=yaml] pvp-module-enabled: true/false
您要启用此模块/功能吗?如果禁用,它将忽略其他所有内容。
YAML:
races: werewolf: // The race you're modifying enabled: false // Whether or not this particular section (per race) should be enabled or not (false by default) allies: "example1,example2" // The race(s) it'll be unable to hit divided by a comma