Git Product home page Git Product logo

mypet's Introduction

MyPet on BukkitDev

MyPet - The extensive pet plugin

MyPet is a highly customizable pet plugin with a lot of features.
Take them on a lead, train them and make them a very powerful companion!

Stats Builds Wiki Spigot

The License

Copyright (c) 2011-2021, Keyle
MyPet is licensed under the GNU Lesser General Public License Version 3.

Builds

Download the latest builds from the official MyPet-Site.

mypet's People

Contributors

alfa5 avatar andris155 avatar bowtie8904 avatar bpcm avatar chancesd avatar cjblakey avatar dependabot[bot] avatar destro174 avatar foss-mc avatar jacobmartin0 avatar jakllp avatar maksykun avatar marvinklar avatar masmc05 avatar montlikadani avatar nkomarn avatar pczmr8v5n454iycf avatar rafaelflromao avatar scomans avatar sn0wstorm avatar sti-jn avatar sulort avatar titandevx avatar xxlupoxx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mypet's Issues

server crash

Hi, when somebody hit a pet, the server crash...

22:19:19 [SEVERE] Could not pass event EntityDamageByEntityEvent to MyPet v1.0.7
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at org.bukkit.craftbukkit.v1_4_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:81)
at org.bukkit.craftbukkit.v1_4_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:369)
at org.bukkit.craftbukkit.v1_4_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:391)
at net.minecraft.server.v1_4_R1.EntityLiving.damageEntity(EntityLiving.java:686)
at de.Keyle.MyPet.entity.types.EntityMyPet.damageEntity(EntityMyPet.java:215)
at net.minecraft.server.v1_4_R1.EntityArrow.j_(EntityArrow.java:226)
at net.minecraft.server.v1_4_R1.World.entityJoinedWorld(World.java:1332)
at net.minecraft.server.v1_4_R1.WorldServer.entityJoinedWorld(WorldServer.java:548)
at net.minecraft.server.v1_4_R1.World.playerJoinedWorld(World.java:1313)
at net.minecraft.server.v1_4_R1.World.tickEntities(World.java:1191)
at net.minecraft.server.v1_4_R1.WorldServer.tickEntities(WorldServer.java:445)
at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:580)
at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494)
at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
Caused by: java.lang.IncompatibleClassChangeError: Expected static method com.gmail.nossr50.api.PartyAPI.inSameParty(Lorg/bukkit/entity/Player;Lorg/bukkit/entity/Player;)Z
at de.Keyle.MyPet.util.MyPetPvP.canHurtMcMMO(MyPetPvP.java:276)
at de.Keyle.MyPet.util.MyPetPvP.canHurt(MyPetPvP.java:89)
at de.Keyle.MyPet.listeners.MyPetEntityListener.onMyPetEntityDamageByEntity(MyPetEntityListener.java:217)
at sun.reflect.GeneratedMethodAccessor344.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 19 more
22:19:19 [SEVERE] net.minecraft.server.v1_4_R1.ReportedException: Ticking entity
22:19:19 [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:584)
22:19:19 [SEVERE] at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224)
22:19:19 [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494)
22:19:19 [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427)
22:19:19 [SEVERE] at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
22:19:19 [SEVERE] Caused by: java.lang.IncompatibleClassChangeError: Expected static method com.gmail.nossr50.api.PartyAPI.inSameParty(Lorg/bukkit/entity/Player;Lorg/bukkit/entity/Player;)Z
22:19:19 [SEVERE] at de.Keyle.MyPet.util.MyPetPvP.canHurtMcMMO(MyPetPvP.java:276)
22:19:19 [SEVERE] at de.Keyle.MyPet.util.MyPetPvP.canHurt(MyPetPvP.java:89)
22:19:19 [SEVERE] at de.Keyle.MyPet.entity.ai.target.EntityAIHurtByTarget.a(EntityAIHurtByTarget.java:59)
22:19:19 [SEVERE] at net.minecraft.server.v1_4_R1.PathfinderGoalSelector.a(PathfinderGoalSelector.java:66)
22:19:19 [SEVERE] at net.minecraft.server.v1_4_R1.EntityLiving.bl(EntityLiving.java:1473)
22:19:19 [SEVERE] at net.minecraft.server.v1_4_R1.EntityLiving.c(EntityLiving.java:1273)
22:19:19 [SEVERE] at net.minecraft.server.v1_4_R1.EntityLiving.j_(EntityLiving.java:534)
22:19:19 [SEVERE] at net.minecraft.server.v1_4_R1.World.entityJoinedWorld(World.java:1332)
22:19:19 [SEVERE] at net.minecraft.server.v1_4_R1.WorldServer.entityJoinedWorld(WorldServer.java:548)
22:19:19 [SEVERE] at net.minecraft.server.v1_4_R1.World.playerJoinedWorld(World.java:1313)
22:19:19 [SEVERE] at net.minecraft.server.v1_4_R1.World.tickEntities(World.java:1191)
22:19:19 [SEVERE] at net.minecraft.server.v1_4_R1.WorldServer.tickEntities(WorldServer.java:445)
22:19:19 [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:580)
22:19:19 [SEVERE] ... 4 more
22:19:19 [SEVERE] Encountered an unexpected exception ReportedException
net.minecraft.server.v1_4_R1.ReportedException: Ticking entity
at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:584)
at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494)
at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
Caused by: java.lang.IncompatibleClassChangeError: Expected static method com.gmail.nossr50.api.PartyAPI.inSameParty(Lorg/bukkit/entity/Player;Lorg/bukkit/entity/Player;)Z
at de.Keyle.MyPet.util.MyPetPvP.canHurtMcMMO(MyPetPvP.java:276)
at de.Keyle.MyPet.util.MyPetPvP.canHurt(MyPetPvP.java:89)
at de.Keyle.MyPet.entity.ai.target.EntityAIHurtByTarget.a(EntityAIHurtByTarget.java:59)
at net.minecraft.server.v1_4_R1.PathfinderGoalSelector.a(PathfinderGoalSelector.java:66)
at net.minecraft.server.v1_4_R1.EntityLiving.bl(EntityLiving.java:1473)
at net.minecraft.server.v1_4_R1.EntityLiving.c(EntityLiving.java:1273)
at net.minecraft.server.v1_4_R1.EntityLiving.j_(EntityLiving.java:534)
at net.minecraft.server.v1_4_R1.World.entityJoinedWorld(World.java:1332)
at net.minecraft.server.v1_4_R1.WorldServer.entityJoinedWorld(WorldServer.java:548)
at net.minecraft.server.v1_4_R1.World.playerJoinedWorld(World.java:1313)
at net.minecraft.server.v1_4_R1.World.tickEntities(World.java:1191)
at net.minecraft.server.v1_4_R1.WorldServer.tickEntities(WorldServer.java:445)
at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:580)
... 4 more
22:19:19 [SEVERE] This crash report has been saved to: /data/server1532/home/games/minecraft/craftbukkit/./crash-reports/crash-2013-03-02_22.19.19-server.txt

Damage depends only on Damage-Skill

Remove damage option for pets from config.
Damage depends only on Damage skill.


Entferne die (MyPet.Pets..Damage) Option aus der Config, dadurch hängt der Schaden nur vom Damage skill ab. Wenn skill nie ein Upgrade bekommen hat ist der Schaden = 0 und das Pet ist passiv.

Sheep Colors

Dying sheep doesn't stay permanently, if you teleport away your sheeps color reverts back to default black.
Also when using dye it doesnt dye the sheep that specific colour, it seems to mix with the color the sheep is currently and brings up an entirely different color.

Heres some examples of whats happening:
Default black + red dye = orange sheep
Red sheep + yellow dye = blue sheep

Feature request: speed skill

Same as with Damage, would love to see this moved to a skill. This way it's not tied to specific animal types, but can be configured into a skill tree.

Improve the Exp-Scripts

Improve experience scripts to be more user freindly.


Anstatt die Start-Werte in Variablen zu speichern übergibt man Methoden die man aus JavaScript heraus benutzen kann.

Rückgabe der Resultate:

  • durch einzelnde Methoden
    • getter die aus java heraus ausgeführt werden
    • setter die aus JavaScript heraus die werte setzen
  • in einem JavaScript-Objekt

Skilltrees in YAML?

I can't for the life of me figure out the format for YAML skilltrees. I'd like to use YAML over the NBT format, as it's just easier to move around skills.

There's talk of an example default.yml, but it didn't come with my download, and can't find it in the code tree either.

Thanks :)

Strange Pet aggro

Got this reported:

[13:40] zombie/creeper doesnt attack /mypet
[13:40] <~Joymo> hmm others do ?
[13:40] <~Joymo> or you mean any hostile ?
[13:40] Skelly does attack /mypet
[13:41] Spider aswell

an error when use /petc after getting off mypet

2013-02-24 17:03:24 [INFO] testwolf issued server command: /petc
2013-02-24 17:03:24 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'petc' in plugin MyPet v1.0.6
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186)
at org.bukkit.craftbukkit.v1_4_R1.CraftServer.dispatchCommand(CraftServer.java:514)
at net.minecraft.server.v1_4_R1.PlayerConnection.handleCommand(PlayerConnection.java:980)
at net.minecraft.server.v1_4_R1.PlayerConnection.chat(PlayerConnection.java:898)
at net.minecraft.server.v1_4_R1.PlayerConnection.a(PlayerConnection.java:853)
at net.minecraft.server.v1_4_R1.Packet3Chat.handle(Packet3Chat.java:44)
at net.minecraft.server.v1_4_R1.NetworkManager.b(NetworkManager.java:290)
at net.minecraft.server.v1_4_R1.PlayerConnection.d(PlayerConnection.java:113)
at net.minecraft.server.v1_4_R1.ServerConnection.b(SourceFile:39)
at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:598)
at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494)
at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
Caused by: java.lang.NullPointerException
at de.Keyle.MyPet.chatcommands.CommandCall.onCommand(CommandCall.java:55)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
... 15 more

it says internal error, but /petc works after typing it again.

Which skills scale?

Would love to see some info added here:
http://mypet.keyle.de/doku.php?id=en:skills

I am wondering which skills scale, some are obvious (damage, hp), but others not, lightning, poison?

Perhaps on that list, mark the scaling skills with a [*].

Or is it simply, any skill where it's not mentioned that it scales, does not scale?

Request: new behavior mode, Arena

Would like to request a new behavior mode, something like "Arena" or "Battle".

Basically, Pet will then ONLY attack any other Pet in Arena behvior mode.

Obviously this is for letting players whip out their Pets, and place bets on which Pet is the strongest in a direct Pet vs Pet battle.

Number of Pets

Is there any way to control the amount of pets people can have?

Would love a permission node, such as:

mypet.x, where x is the max amount of pets a player can have. Otherwise a config option for a global setting. Or is it always 1?

Can't really find any info on this, thanks!

Config flag to despawn hostiles?

I can forsee the following abuse:

  • Tame creeper
  • Bring Creeper to a guy standing AFK in his house
  • Release pet
  • Creeper kills guy

I think a config flag to make hostile pets disappear upon release, would solve this issue nicely, or perhaps something of that sort anyways.

Readd YAML support for skilltrees

YAML support should be now usable again to create skilltrees.


Wiedereinführung der Speicherung der Skilltrees im YAML Format.

  • Pro Skilltree jeders Level nur einmal vorhanden.
  • Pro Level jeder Skill nur einmal möglich.
  • Eigenschaften werden aus Skill-Klassen ausgelesen.

Ranged attacks

Blazes shoot fireballs
Skeletons shoot arrows
etc.


Jeder Pet-Typ soll Fernkampf ausüben können damit Balance zwischen den Klassen herscht.

Parameter für Goal:
Entity, ProjectileType, MinRange,MaxRange, FireRate

Es soll einstellbar sein:

  • aussehen des Projektils (Pfeil, Feuerball, Witherkopf,...)
  • welche Mindestreichweite erfüllt sein muss damit geschossen werden kann.
  • welche Maximale Reichweite aus der ein Ziel anvisiert werden kann.
  • Fernkampf wird per Skill aktiviert also ist der Schaden nicht Fix sondern wird aus dem RangedDamage Skill ausgelesen
  • ggf weglaufen wenn kein Nahkampf skill Schaden vorhanden um mindestreichweite zu erreichen damit ein Schuss abgegeben werden kann.

Pets refusing to attack anything

Using dev build #69 on a recent Spigot build.

First time I've used MyPet.

Tried Sheep and Zombie. I can change behavior fine, but whatever behavior I choose, the mob refuses to attack anything. Tried a spider, zombie and pig, it just wont attack, even when I hit the mobs.

Non-graphical skilltree creator

As few professional server owners run under Windows server, and more yet still few have a graphical environment remotely accessible, using the skilltree creator means sitting down at the actual computer and running it locally, or running it on their home machine. This is, obviously, impractical, and breaks some Unix conventions, and it would be nice, though not necessary, to see a non-graphical skilltree creation interface.

random error on startup

[MyPet] No custom EXP-Script found (exp.js).
2013-02-26 15:47:47 [SEVERE] Error occurred while enabling MyPet v1.0.6 (Is it up to date?)
java.lang.ClassCastException: net.minecraft.server.v1_4_R1.NBTTagEnd cannot be cast to net.minecraft.server.v1_4_R1.NBTTagCompound
at de.Keyle.MyPet.util.configuration.NBT_Configuration.load(NBT_Configuration.java:104)
at de.Keyle.MyPet.MyPetPlugin.loadPets(MyPetPlugin.java:503)
at de.Keyle.MyPet.MyPetPlugin.onEnable(MyPetPlugin.java:354)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:282)
at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:264)
at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:321)
at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:300)
at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:259)
at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:149)
at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399)
at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)

Inventory permission not working

I created a Test skilltree, with Lvl 1 having "inventory".

I did not give myself the inventory extended permission, yet I can open and use my Pet's inventory using /peti

Loading skilltrees live

It seems to me that it's only possible to change skilltrees by restarting the server.

If so, I'd like to request a reload command that also reloads the skilltrees/* files. It's going to be hard to work/balance skilltrees if every change requires a restart.

Thanks!

Permission node for pickup

I'd like to enable pets that can pickup items, but I'd really like to restrict this to certain worlds, for security purposes.

Could you add a permission node for pickup, that only allows a player's pet to pickup items when they have said node?

Thanks :)

Bug or feature: choosing a Skill tree at higher lvl counts as switch

A player levels a Pet, without choosing any skill tree.

Then say, at Level 3, picks a skill tree, the switch-penalty is applied, and the Pet can/will lose levels.

Any Pet without a skill tree will always be weaker than one with, so it's likely fine to not apply the penalty in this case?

However, I'd prefer a config option, that prevents a pet from levelling up, without choosing a skill tree. Ideally it would inform/remind the player to choose one, when the Pet has enough XP to level up.

Don't know how complicated this is to add, it's not too critical ;)

Updated and reloaded skill-trees not showing on already skilled Pets

Not sure if this is a bug, or simply something that only works on restarts.

Two players, both having a pet with skill-tree Tank.

I changed some stuff in Tank skill-tree, and did a /petadmin reloadskills.

One of the players then changed /pcst to Melee tree, and back to Tank. That Pet showed the changes in the skill-tree, the other player's Pet was still showing the outdated info.

Will a server restart update the already specced Pets, or can they only get this fixed by switching skill-trees. The latter one would be a problem with the switch penalty.

Pets dying from fall damage

We have fall damage disabled in all our worlds, yet when I tp to a high location, and drop down safely to the floor, my Pet dies from "unknown".

Ancient RPG Glitch causes pets to deal no damage/dont attack

[SEVERE] Could not pass event ARPGEntityDamageByEntityEvent to MyPet v1.0.6
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at com.ancientshores.AncientRPG.Listeners.AncientRPGEntityListener.monsterHpListener(AncientRPGEntityListener.java:83)
at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at org.bukkit.craftbukkit.v1_4_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:81)
at org.bukkit.craftbukkit.v1_4_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:369)
at org.bukkit.craftbukkit.v1_4_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:391)
at net.minecraft.server.v1_4_R1.EntityLiving.damageEntity(EntityLiving.java:686)
at net.minecraft.server.v1_4_R1.EntityMonster.damageEntity(EntityMonster.java:39)
at de.Keyle.MyPet.entity.types.EntityMyPet.m(EntityMyPet.java:361)
at de.Keyle.MyPet.entity.ai.movement.EntityAIMeleeAttack.e(EntityAIMeleeAttack.java:111)
at net.minecraft.server.v1_4_R1.PathfinderGoalSelector.a(PathfinderGoalSelector.java:104)
at net.minecraft.server.v1_4_R1.EntityLiving.bl(EntityLiving.java:1476)
at net.minecraft.server.v1_4_R1.EntityLiving.c(EntityLiving.java:1273)
at de.Keyle.MyPet.entity.types.wolf.EntityMyWolf.c(EntityMyWolf.java:299)
at net.minecraft.server.v1_4_R1.EntityLiving.j_(EntityLiving.java:534)
at de.Keyle.MyPet.entity.types.wolf.EntityMyWolf.j_(EntityMyWolf.java:312)
at net.minecraft.server.v1_4_R1.World.entityJoinedWorld(World.java:1332)
at net.minecraft.server.v1_4_R1.WorldServer.entityJoinedWorld(WorldServer.java:548)
at net.minecraft.server.v1_4_R1.World.playerJoinedWorld(World.java:1313)
at net.minecraft.server.v1_4_R1.World.tickEntities(World.java:1191)
at net.minecraft.server.v1_4_R1.WorldServer.tickEntities(WorldServer.java:445)
at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:580)
at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494)
at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_4_R1.entity.CraftZombie cannot be cast to de.Keyle.MyPet.entity.types.CraftMyPet
at de.Keyle.MyPet.util.AncientRpgDamageFix.onAncientDamageEvent(AncientRpgDamageFix.java:48)
at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 34 more

Feature Request: Have pet drop inventory when player dies

I would like to configure it so that pets lose/drop their inventory when their owner dies.

This is because I would love to let players be able to have extra inventory if they choose to raise a pet as a pack animal, but I think a 'magic backpack' is really imbalanced because they can just load their valuables onto the pet and it is always safe.

I also want to make it never be an appealing choice for players to just put their stuff on their pet, die, and be back in their home without having lost their valuables.

Pickup error spam

Just reload MyPet again (was off since crash bug).

First up issue:
http://i.imgur.com/yHMJyJD.png

That disappears when the pickup node is added to players, but obviously not having this permission should not spam that, but simply not pickup items.

Skilltree folder creation

At some point in the code, seems you've forgotten to append a preceding "/". When the skilltree creator is run, at least under a Unix environment, you're creating folders which copy the above directory structure. In other words, assuming the user stored MyPet under /home/thisguy/server/plugins, the skilltree creator creates this folder:

/home/thisguy/server/plugins/home/thisguy/server/plugins/MyPet

At some point, you seem to have specified a new file should be created under workingdirectory/MyPet. However, this automatically prefixes /workingdirectory/, so you need to append a slash as such:

/workingdirectory/MyPet

This will probably resolve this issue.

Respawn timer spam

Respawn now really spams chat:

http://oi47.tinypic.com/1z6e1pc.jpg

I'd say it's a bug, but if it is intended, could you please add a config option to disable the countdown, and only saying the total time right after it dies, and maybe 10secs before or so :)

Did PercentPerMonster break?

I was just testing Pet XP on latest build.

Spawned 5 pigs, a few zombies, killed them all, Pet gained 0 XP, even though I gained several levels myself.

I know for a fact this was working fine two days ago, did something break?
Also, Pet gains XP just fine when he kills the mobs himself.

My settings:
Exp:
Passive:
PercentPerMonster: 20

Baby sheep pet growing on feeding

I have a baby sheep pet. It was low on hunger so I was right-clicking it with a stack of food.

Suddenly, hearts appeared and it turned into a full-grown sheep, even though I have: "GrowUpItem: 373"

I presume this is some vanilla mechanic overriding MyPet? Hope it can be fixed. Or is there no way to keep a baby Pet, will it always grow up when fed?

Lag spikes, and alot of errors in the console.

Hi,

I get these errors when a certain player joins (i think). And the errors begin flooding the console and causes lag.

This is the pastebin:
http://pastebin.com/k8bMwB2v

Its very long (there could be other things in between though).
Im using the latest dev build. But it also happens on every other build for 1.4.7.
Not sure about lower builds.

Hopefully u can fix this.

Potion Duping

There is a potion dupping bug when using petinventory.

If you have a full inventory or if your pet has the ability to pick up items and you have more than one potion in your inventory (stacked potions only) and they pick up the potion, it will duplicate the potions.

If you open the pets inventory and keep spitting the potions out, you can infinitly dupe potions. It doesn't work on anything else, just potions.

1.put 2 or more STACKED potions in your pets inventory
2.spit them out so the pet picks them up again
3.will duplicate the stack
4.repeat

Suggestion: make /pcst case in-sensitive

I think it would be good to make:

/pcst melee

work when you have a skill tree named "Melee".

I don't see any issues with making this case in-sensitive, more userfriendly.

Pet levelling, last-hits

A Pet only gains XP when it last-hits a mob.

I am wondering, could we make it so it gets XP if it gets at least one hit, or better, does damage to it (so thorns for tanking pets would work).

Maybe I am missing a possible exploit, or it's not possible, but I think that'd be a lot more player friendly. And you can't really let your pet sit safely in the back, as you still need the pet to do some damage to mobs.

Thinking about it, I think it would be a great change, or at least optional if not default.

Pet duplication, /psa broken

[10:39] <sakkeusmakkeus[irc]> Joymo: my pet duplicated
[10:40] <sakkeusmakkeus[irc]> i did /petc and it appeared behind me and a second later came running from where i assume it was before i did /petc

Don't have more info than that.

Possibly related bug:

/psa is not working for us anymore, it says "Pet sent away", but it's still standing there, and hitting it with the leash item displays info.

(if relevant, the only new plugin I installed last restart when updating Mypet, is: http://dev.bukkit.org/server-mods/mobtalk )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.