MyLineagePvpSystem + Optional RPG
At the moment, I lost interest in Minecraft, so I stop development, here is the source code: https://github.com/truekenny/MyLineagePvpSystem
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 (http://dev.bukkit.org/bukkit-plugins/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
Plugin have problem with anothers plugins:
Item Lore stats (Right click cast - forces launch pvp of both players)
Heroes (Ranged skills - forces launch pvp of both players)
Is here somebody who will take care of this project?
Can you possibly add MySQL support (logging pvp, pk, karma scores to DB)? I want to put PVP/PK/KARMA stats on my webpage, but I cannot do it without SQL support.
Since I could not wait for an update I fixed the problem myself.
If there are people that want this mod, without the effects on "killer" PM me and I will help you =)
@Truekenny00
Hi =) Great mod! Could it be possible to add a True / False line to the config to Enable or Disable the imposed effects that are applied to you when you are "killer"
Thanks in advance!
@Truekenny00 is the plugin based on the Lineage 2 Game pvp system?
@Truekenny00
Where is this version?
@KalisPro
1.2.4
and yes all the time, what should I do? Fix it, because this plugin is useless to me now
[22:04:53 INFO]: onEntityDamage: isCancelled (bartek600333 -> Eskimosx33) [22:04:53 INFO]: onEntityDamage: isCancelled (bartek600333 -> Eskimosx33) [22:04:53 INFO]: onEntityDamage: isCancelled (bartek600333 -> Eskimosx33) [22:04:53 INFO]: onEntityDamage: isCancelled (bartek600333 -> Eskimosx33) [22:04:53 INFO]: hit: miki123 -> bartek600333 [22:04:53 INFO]: hit: bartek600333 -> Eskimosx33
@tacirus
Good news, 1.2.1.
@tacirus
Oh, when I was looking for an opportunity to change the color of the nickname I came across only TagAPI, thanks for the tip on ColoredTags, I'll see what I can do.
Hello Truekenny00.
I like the idea of the plugin, particularly RPG mode.
But I can`t use TagAPI, cause I`v been using Healthbar which is incompatible with it.
Does your plugin support ColoredTags too, or will ever do?
its good i really wanna use it on my server but i dont like the potion effects for PK because my server is about killing and griefing so could you please make a setting to disable that?
@alanthya
Good idea, soon.
@Truekenny00
derp, thanks. any chance of adding configurable effects, and maybe a PK Hunter class w/ buffs?
@alanthya
Message "isCancelled" appears, if a player is in a region with flag WorldGuard pvp deny, it is a debug message, it will be necessary to remove it.
Entering PVP mode works sporadically at best, usually get this when peaceful and trying to attack PK, PVP or other Peaceful players.
[13:50:16 INFO]: onEntityDamage: isCancelled (testify -> astr1al)
@Truekenny00
i see, well i think using a scoreboard under a players name would be better <3
@delsolsi213
Standard interface allows you to find out who killed you: http://tempic.ru/ifDie.jpg
Or I do not understand what you mean.
@Truekenny00
why not instead of changing the players name, add the tag as a scoreboard under the players name? this way they keep their name and you know who the hell just killed you etc etc.?