目前,我对 Minecraft 失去了兴趣,因此停止了开发。这里是源代码:

版本记录
- 1.2.16 – 修复,降低 CPU 负载;
- 1.2.15 – soe/home/call 时的恶心效果;
- 1.2.14 – /phphome [set];
- 1.2.13 – OP 允许使用桶和燧石;
- 1.2.12 – 保护出生点免受燧石破坏,默认 spawn.protect.flint.radius=50 格半径;
- 1.2.11 – 保护出生点免受岩浆桶破坏,默认 spawn.protect.lava.bucket.radius=50 格半径;
- 1.2.10 – /pvpcall [玩家名];
- 1.2.9 – 更多用于净化业力的怪物类型;
- 1.2.6 – /pvpsoe(卷轴以逃离至出生点)
设置项:optimize.save.mobs – 如果您不希望自动刷新生成保存在文件 «pvpmobs.data» 中的怪物以减少负载,请启用此项。
- 1.2.4 – 所有调试消息均由设置项 «debug» 控制(默认为 false);
- 1.2.3 – 解决了攻击发射器的问题;
- {B} 1.2.2 – 修复了 protectMobsOfFireDamage 和 stillProtectMobsLVLOfFireDamage 标志的问题(工作条件相反);
- {B} 1.2.1 – 移除了对 TagAPI 的依赖,您可以卸载该插件。
结果是颜色变化更加平滑,stiv 的模型现在也不会闪烁了。
若要使用 SuperVanish (),建议将其配置为:EnableGhostPlayers: false。
- {B} 1.1.11 – 更多配置项;
- {B} 1.1.8 – 更多配置项,修复了伤害被四舍五入为零的错误;
- {B} 1.1.6 – 更多配置项;
- {B} 1.1.4 – 添加 «RPG» 插件,/pvpspawn mobName [等级 [数量]]; 默认禁用,您必须更改设置 rpg.enable。
- {B}1.0.1 – 更多配置项,Java 8 -> Java 6。
- {B} – 测试版;少数设置项,日志中包含大量信息。
支持

玩家群体
- 和平玩家;
- 渴望 PVP 的玩家;
- 无差别杀人的玩家。
外观区别
- 和平玩家 - 头顶显示白色名字;
- PVP 玩家 - 头顶显示紫色名字;
- 杀戮者 - 头顶显示红色名字。
描述
* 可配置。
起初,所有人都属于“和平玩家”。
当您击中另一名和平玩家或处于“PVP”模式的玩家时,您也会在 30 秒内进入“PVP”模式。
如果您杀死了一名“和平群体”中的玩家,您将成为“杀戮者”。身处“和平群体”并攻击“杀戮者”时,您不会进入“PVP”模式。
每杀死一名“和平玩家”,您的业力值将减少 10 点。
为了重新回到“和平群体”,您需要杀死绵羊、牛、僵尸或骷髅。
每杀死一只怪物,您的业力值将增加 1 点。
如果作为“杀戮者”死亡,业力值将增加 10 点。
群体间的差异
- 和平玩家 - 被其他玩家击杀时 不丢失经验,不丢失盔甲,95% 概率不丢失物品栏中的物品;
- PVP 玩家 - 死亡时 丢失一切;
- 杀戮者 - 死亡时 丢失一切。杀戮者附加以下效果:减速、挖掘缓慢、虚弱。这些效果将持续到业力值小于零为止。
命令
- /pvpstatus - 查看您的状态;
- /pvpspawn mobName [等级 [数量]] - 在当前地点刷出怪物(仅限 OP)。

启用 RPG 模式在我的服务器上引起了轰动。请谨慎操作。
默认禁用,您必须更改设置 rpg.enable。

每个生物都有等级。
离世界出生点越远,等级越高。每 100 米 = 怪物等级 +1。
在普通世界中等级从 1 开始,在下界从 25 开始,在末地从 50 开始。
«RPG» 中的伤害计算
Y 等级的实体对 X 等级的实体造成伤害:damage = default_damage * ( (Y / X) ^ rpg.difficulty )。
此规则同样适用于玩家。
«RPG» 中的经验值
只有当等级差不超过 5 时,您从被您杀死的怪物身上获得的经验才会掉落。(你好,《天堂II》/ Lineage)。
local:
statusPeace: You went into a peaceful mode
statusPVP: You went into a PVP mode
statusPK: 你已成为一名凶手,被施加了减速、疲劳和虚弱效果
statisticPK: PK
statisticPVP: PVP
statisticKarma: 业力
statisticDeaths: 死亡次数
statisticDeathsMore: (来自其他玩家)
statisticModePeace: 你处于和平模式
statisticModePVP: 你处于 PVP 模式
statisticModePK: 你是玩家杀手
drop:
inventory:
peace: 0 <-- '在 0 到 100 之间,0 - 掉落几率为 0%,100 - 掉落几率为 100%。'
pvp: 10 <-- '在 0 到 100 之间'
pk: 100 <-- '介于 0 到 100 之间'
armor:
peace: 0 <-- '介于 0 到 100 之间'
pvp: 9 <-- '在 0 到 100 之间'
pk: 99 <-- '在 0 到 100 之间'
experience:
keep:
peace: true
pvp: false
pk: false
karma:
kill:
peace: -10 <-- '必须小于 0,如果击杀和平模式玩家'
self: 10 <-- '必须大于 0,如果死亡'
mob: 1 <-- '必须大于 0,如果击杀生物'
world:
doesNotWork: creative,world_creative
doNotCleanKarma: creative,world_creative
time:
purple: 30 <-- '必须大于 5'
rpg:
enable: true <-- '默认值为 false,对于附加组件 «RPG» 必须为 true'
difficulty: 0.33 <-- '0 - 原版游戏平衡,0.33 - 简单,0.5 - 中等,1 - 困难,2 - 地狱(HELL),3 - 不可能(游戏平衡:伤害 = 默认伤害 * (攻击者等级 / 受害者等级) ^ difficulty)'
expDifficulty: 0.35 <-- '0 - 原版经验掉落,0.33 - 更多,0.5 - 较少 (dropExp = 默认掉落经验 * (攻击者等级 / 受害者等级) ^ expDifficulty) + 1'
metersPerLevel: 100
beginLevel:
default: 1
nether: 25
theEnd: 50
levelAlwaysVisible: false
skipVillager: true <-- '如果为 TRUE,则不更改村民的名称'
levelDifferenceForExperience: 55 <-- '与怪物相差多少等级时会掉落经验值'
protectMobsOfFireDamage: false <-- '保护怪物免受火焰伤害?'
stillProtectMobsLVLOfFireDamage: 50 <-- '如果 protectMobsOfFireDamage == false,则无论何种情况都保护高于 stillProtectMobsLVLOfFireDamage 等级的怪物'
name:
CREEPER: Creeper
SKELETON: Skeleton
SPIDER: Spider
GIANT: Giaht
ZOMBIE: Zombie
SLIME: Slime
GHAST: Ghast
PIG_ZOMBIE: Pig Zombie
ENDERMAN: Enderman
CAVE_SPIDER: Cave Spider
SILVERFISH: Silver Fish
BLAZE: Blaze
MAGMA_CUBE: Magma Cube
ENDER_DRAGON: ENDER DRAGON
WITHER: Wither
BAT: Bat
WITCH: Witch
PIG: Pig
SHEEP: Sheep
COW: Cow
CHICKEN: Chicken
SQUID: Squid
WOLF: Wolf
MUSHROOM_COW: Mushroom Cow
SNOWMAN: Snowman
OCELOT: Ocelot
IRON_GOLEM: Golem
HORSE: 马
VILLAGER: 村民
default: 等级
At the moment, I lost interest in Minecraft, so I stop development, here is the source code:

Versions
- 1.2.16 – fix, reducing the cpu load;
- 1.2.15 – Nausea effect for soe/home/call;
- 1.2.14 – /phphome [set];
- 1.2.13 – OPs allow bucket and flint;
- 1.2.12 – Protect spawn for flint, default spawn.protect.flint.radius=50 block radius;
- 1.2.11 – Protect spawn for lava bucket, default spawn.protect.lava.bucket.radius=50 block radius;
- 1.2.10 – /pvpcall [player];
- 1.2.9 – More mobs type for cleanin karma;
- 1.2.6 – /pvpsoe (Scroll to escape to spawn)
Setting: optimize.save.mobs – use if you do not want to automatically spawn mobs kept in the file «pvpmobs.data». To reduce the load.
- 1.2.4 – All debug messages are controlled by setting «debug» (default is false);
- 1.2.3 – The problem with attacking dispenser solved;
- {B} 1.2.2 – Fixed problem with flags protectMobsOfFireDamage, stillProtectMobsLVLOfFireDamage (working conditions vice versa);
- {B} 1.2.1 – Removed dependency on TagAPI, you can remove this plugin.
The result is that the color changes smoothly and stiv's model also does not flash now.
To use SuperVanish () is recommended to configure it so: EnableGhostPlayers: false.
- {B} 1.1.11 – More configs;
- {B} 1.1.8 – More configs, removed bug with rounded damage to zero;
- {B} 1.1.6 – More configs;
- {B} 1.1.4 – Addon «RPG», /pvpspawn mobName [level [count]]; Disabled by default, you must change the setting rpg.enable.
- {B}1.0.1 – more configs, Java 8 -> Java 6.
- {B} – Beta; Few settings, a lot of messages in the log.
Way
- Support plugin "gravestone".

Group of players
- Peaceful players;
- Players who have a thirst for PVP;
- Players that kill indiscriminately.
External differences
- Peaceful players - with a white name above his head;
- PVP-players - with a purple name above his head;
- The Killers - with a red name above his head.
Description
* Its configurable.
In the beginning, all composed in the «Peaceful players».
When you hit another Peaceful player or player mode «PVP» - you also go for 30 seconds in the «PVP».
If you kill a player of the «Peace Group», you become a «Killer». Being in the «Peace Group» and attacking «Killer» - you do not go in mode «PVP».
For each kill «Peaceful players» - you karma falls by 10 points.
In order to go back to the «Peace Group» - you have to kill sheep, cows, zombies or skeletons.
For every mob - your karma is made up by 1 point.
If you die as a «killer», that karma is made up by 10 points.
Differences between groups
- Peaceful players - dying from the other players do not lose experience, do not lose the armor, 95% do not lose things from the inventory;
- PVP-Players - dying to lose everything;
- The Killers - dying lose everything. Killers superimposed effects: Slow, slowdigg, weakness. Effects persist until the karma is less than zero.
Commands
- /pvpstatus - about your status;
- /pvpspawn mobName [level [count]] - spawn mob in current location (for Op).

Enabling rpg mode caused an uproar on my server. Be careful.
Disabled by default, you must change the setting rpg.enable.

Each creature has level.
The farther away from spawn in the world, so it is more. Each 100 meters = +1 level for mobs.
In the Normal world level begins with 1, in Nether with 25, with 50 in The End.
Damage in «RPG»
Entity with Y level has entity with X level: damage = default_damage * ( (Y / X) ^ rpg.difficulty ).
It is spread on the players.
Experience in «RPG»
Experience falls from mobs killed by you, only if the difference in level is not more than 5 (Hello, Lineage).
local:
statusPeace: You went into a peaceful mode
statusPVP: You went into a PVP mode
statusPK: You have become a murderer, are imposed on you the effect of slowing, fatigue, weakness
statisticPK: PK
statisticPVP: PVP
statisticKarma: Karma
statisticDeaths: Deaths
statisticDeathsMore: (from the other players)
statisticModePeace: You are in a peace mode
statisticModePVP: You are in a PVP mode
statisticModePK: You are player killer
drop:
inventory:
peace: 0 <-- 'between 0 and 100, 0 - 0% drop chance, 100 - 100% drop chance.'
pvp: 10 <-- 'between 0 and 100'
pk: 100 <-- 'between 0 and 100'
armor:
peace: 0 <-- 'between 0 and 100'
pvp: 9 <-- 'between 0 and 100'
pk: 99 <-- 'between 0 and 100'
experience:
keep:
peace: true
pvp: false
pk: false
karma:
kill:
peace: -10 <-- 'must lower than 0, if kill peace player'
self: 10 <-- 'must more than 0, if die'
mob: 1 <-- 'must more than 0, if kill mob'
world:
doesNotWork: creative,world_creative
doNotCleanKarma: creative,world_creative
time:
purple: 30 <-- 'must more than 5'
rpg:
enable: true <-- 'DEFAULT FALSE, MUST TRUE FOR ADDON «RPG»'
difficulty: 0.33 <-- '0 - original game balance, 0.33 - easy, 0.5 - medium, 1 - hard, 2 - HELL, 3 - Impossible game balance (damage = default_damage * (LVLDamager / LVLVictim) ^ difficulty)'
expDifficulty: 0.35 <-- '0 - original game expDrop, 0.33 - more, 0.5 - low (dropExp = default_dropExp * (LVLDamager / LVLVictim) ^ expDifficulty) + 1'
metersPerLevel: 100
beginLevel:
default: 1
nether: 25
theEnd: 50
levelAlwaysVisible: false
skipVillager: true <-- 'if TRUE then do not change name for villager'
levelDifferenceForExperience: 55 <-- 'At what level difference with mobs will drop experience'
protectMobsOfFireDamage: false <-- 'Protect mobs from burning?'
stillProtectMobsLVLOfFireDamage: 50 <-- 'if protectMobsOfFireDamage == false then mobs over stillProtectMobsLVLOfFireDamage levels to defend in any case'
name:
CREEPER: Creeper
SKELETON: Skeleton
SPIDER: Spider
GIANT: Giaht
ZOMBIE: Zombie
SLIME: Slime
GHAST: Ghast
PIG_ZOMBIE: Pig Zombie
ENDERMAN: Enderman
CAVE_SPIDER: Cave Spider
SILVERFISH: Silver Fish
BLAZE: Blaze
MAGMA_CUBE: Magma Cube
ENDER_DRAGON: ENDER DRAGON
WITHER: Wither
BAT: Bat
WITCH: Witch
PIG: Pig
SHEEP: Sheep
COW: Cow
CHICKEN: Chicken
SQUID: Squid
WOLF: Wolf
MUSHROOM_COW: Mushroom Cow
SNOWMAN: Snowman
OCELOT: Ocelot
IRON_GOLEM: Golem
HORSE: Horse
VILLAGER: Villager
default: Level
评论 0
登录后参与评分
还没有评论,来抢沙发吧