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

http://tempic.ru/mlps.jpg

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".

http://tempic.ru/RenderedImage.aspx.png
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).

http://tempic.ru/ndd8lvt_RenderedImage.aspx.png

Enabling rpg mode caused an uproar on my server. Be careful.

Disabled by default, you must change the setting rpg.enable. http://tempic.ru/2014-10-05_19-1.25.12.png
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).

http://tempic.ru/nd5j07l_RenderedImage.aspx.png

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

Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    84597
  • Created
    Aug 30, 2014
  • Last Released File
    Aug 4, 2015
  • Total Downloads
    4,200
  • License

Categories

Members

Recent Files