dsh105 / echopet Goto Github PK
View Code? Open in Web Editor NEWAdds pets to your Minecraft Server!
Home Page: http://dev.bukkit.org/bukkit-plugins/echopet/
License: GNU General Public License v3.0
Adds pets to your Minecraft Server!
Home Page: http://dev.bukkit.org/bukkit-plugins/echopet/
License: GNU General Public License v3.0
Hello,
I try to change some prefixes in Eclipse. But after importing and connecting bukkit to it, then i just get so many warnings. And if i changed something and export it and then reload the server, i get the message "Is it up-to-date?". How can i fix it?
I only wanted to change the EchoPet.java.
My small slime seems to become large when i relog or restart the server
EchoPet Version: 2.0.6
Bukkit Version: CraftBukkit version git-Spigot-1037 (MC: 1.6.2)
If a space between the pet type and the data type will produce the error like below, e.g "/pet hosrse: zombie"
2013-07-31 13:18:44 [INFO] AsakuraTaka issued server command: /pet horse: zombie
2013-07-31 13:18:44 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing 'pet horse: zombie' in com.github.dsh105.echopet.commands.CustomCommand(pet)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:194)
at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServer.java:527)
at net.minecraft.server.v1_6_R2.PlayerConnection.handleCommand(PlayerConnection.java:981)
at net.minecraft.server.v1_6_R2.PlayerConnection.chat(PlayerConnection.java:892)
at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:839)
at net.minecraft.server.v1_6_R2.Packet3Chat.handle(SourceFile:49)
at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:230)
at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:118)
at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37)
at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:125)
at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:592)
at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:239)
at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:481)
at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:413)
at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
at com.github.dsh105.echopet.util.PetUtil.formPetFromArgs(PetUtil.java:101)
at com.github.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:381)
at com.github.dsh105.echopet.commands.CustomCommand.execute(CustomCommand.java:18)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:190)
... 14 more
I'll leave the link to the video showing the bug, however, i'd like to point out i'm using spigot build #1070, EchoPet version 2.0.6 and multiverse as my multiworld plugin.
I have an idea, basicly in the pet menu you can choose to normal mount your pet and flying your pet, so you can fly your pet. press space to fly up or something.
With a permission of course
(This is a suggestion and not a issue)
Ridding through a creative gate (portal plugin - http://dev.bukkit.org/bukkit-plugins/creativegates/) seems to make a double of my pet. Though walking through a portal normally does not.
Everywhere I go, they both follow. After I logout, one will leave, but one will stay. After the logout, only one will follow me. The other just stands in place.
I am really enjoying being able to take my pet everywhere now though, and as are my players! Thanks for this great update. Just thought I would let someone know about this duplication issue. Which is not too much of an issue.
Thanks again!
-Moose
There is a bug with bukkit build #2815 and latest echopet dev build #20.
When a mob that has effects is spawned with /pet (mobname) it is stuck, doesn't move and is having issues with the effect. Examples are the blaze, enderman and the witch. These mobs have effects, and when spawned, they glitch.
I want to thank DSH105 for fixing my previous bug but when i come back on the pet data only brings back if its a baby or not and thats it
When you open your pet menu, and then want to close it, if you press the book your boots will drop on the ground.
Hello
Could you please add a way to remove pets from other players? Since there's no command, I had to inject my plugin into EchoPet to remove someone's pet but seeing the new updates, that won't be possible anymore.
My suggestion would be adding a '/pet remove ' command so that this can be called from within my plugin. This is necessary because I don't want people to be able to use pets in my Survival Games, Spleef, etc.
Thanks!
EchoPet Version: 2.0.5
Bukkit Version: CraftBukkit version git-Spigot-1037 (MC: 1.6.2)
I use custom language.yml, when i issue the commad "/pet pigzombie " (or any other pets), showing the twice "data_force_messag" like below, one is translation and another is the default message.
[EchoPet] 下列資料類型已被伺服器強制指定: baby
[EchoPet] The following data types have been forced by the server: baby
I have two worlds set up. Both have ALL spawning disabled in Multiverse, but of course, the pets bypass that(Which is what I want). However, If I go to the the second world...and then disconnect, then reconnect, it takes me to spawn(That is an auto-join command I have setup), and then it dupes my pet :(
I also have noticed that whenever I reload the Pets die :( I have to reconnect to get it back.
Here is the video of the FIRST issue: http://youtu.be/izY3icfdZLE
If it won't work let me know, I made it unlisted.
I noticed some features such as changing to/from baby, choosing whether sheep were sheared or not, choosing between tamed/angry wolf, enderman screaming didn't work in the in-game options. Riding, wearing as hat, changing colors all worked fine. Not sure if this is a known bug, or I'm just doing something wrong.
Thanks for the great plugin!
When Minecraft attempts to load a pet and it correctly detects the classname, such as com.github.dsh105.echopet.entity.pet.chicken.EntityChickenPet
, it attempts to invoke the standard NBT entity loading codepath, which looks something like this:
The Pet classes do not implement either of those, and as such they are unable to be loaded from NBT.
This causes problems not only with server restarts (http://pastebin.com/3xLf9KB4) but also for my plugin, TemplateWorlds. It copies all entities from the "backup" to the "live" world via this same codepath - construct the new entity with the World constructor, save the entity in the backup to a NBT Tag and load the new one in the live world using that same tag.
I ask that you consider saving information that will let you retrieve the Pet instance in the NBT that gets saved in the world.
Getting this error
12:40:37 AM EDT CONSOLE: [SEVERE] java.lang.NoSuchMethodException: com.github.dsh105.echopet.entity.pet.blaze.EntityBlazePet.(net.minecraft.server.v1_6_R2.World)
12:40:37 AM EDT CONSOLE: [SEVERE] at java.lang.Class.getConstructor0(Class.java:2800)
12:40:37 AM EDT CONSOLE: [SEVERE] at java.lang.Class.getConstructor(Class.java:1708)
12:40:37 AM EDT CONSOLE: [SEVERE] at net.minecraft.server.v1_6_R2.EntityTypes.createEntityByName(SourceFile:111)
12:40:37 AM EDT CONSOLE: [SEVERE] at net.minecraft.server.v1_6_R2.MobSpawnerAbstract.g(MobSpawnerAbstract.java:82)
12:40:37 AM EDT CONSOLE: [SEVERE] at net.minecraft.server.v1_6_R2.TileEntityMobSpawner.h(SourceFile:61)
12:40:37 AM EDT CONSOLE: [SEVERE] at net.minecraft.server.v1_6_R2.World.tickEntities(World.java:1390)
12:40:37 AM EDT CONSOLE: [SEVERE] at net.minecraft.server.v1_6_R2.WorldServer.tickEntities(WorldServer.java:517)
12:40:37 AM EDT CONSOLE: [SEVERE] at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:571)
12:40:37 AM EDT CONSOLE: [SEVERE] at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:239)
12:40:37 AM EDT CONSOLE: [SEVERE] at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:481)
12:40:37 AM EDT CONSOLE: [SEVERE] at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:413)
12:40:37 AM EDT CONSOLE: [SEVERE] at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
Over and over and blazes are basically disabled for everything. New spawns, spawners, pets, anything.
So you know spigot is based on bukkit, all the plugins i have around 33 plugins works on spigot, but echopets wont work :C when I do /pet it says unknown command, could you help? thanks
So whenever i change something on my pet it dosent change so mayby a permission so it auto does that so i dont have to or my donators
Someone on my server told me while they were wearing a pig hat they could not warp, so i tried and I also could not warp.
It says "Warping to whatever." but you dont move anywhere
it does the same when trying to teleport to someone
I can't seem to figure out how to get one or figure out what they are
http://prntscr.com/1f7zcl
I hate to bring up another issue, but I have once again found one :(
I run a quake server...just so you know before reading.
I have 2 worlds...lobbyworld(Spawn and Join Signs) and world(Arenas). I have my friend come online(We will call him john), and he has a pet baby cow. John and I join a game...once it starts he disconnects(Before anyone can kill him), which kicks him out of the quake game, but a baby cow is sent to spawn...and it just sits there. Which would mean it doesn't detect an owner(Because he disconnected). Once he rejoins his pet is back, but the duped cow is still there.
When I join with Vanish No Packet, I join invisible. However my pet blows my cover all the time by following me and jumping up and down, is there any way you could make vanish compatibility? If you cannot, then you could make a permission that makes your pet disabled when you join and you need to type a command to enable it again.
Thanks. SirMangler.
Every time I step off a horse, it changes back to the default horse type.
Whenever I have A pet, mounted on a pet. Then do /pet default save current, the mounted pet doesn't stay when I log back in. Only the original pet. I am currently using build #36 (added death sounds)
Hello,
I am a Head-Admin on a server and i have found an issue with Bats and regions. When people ride Bats they can bypass the "Entry Deny". Please fix this ASAP as this is causing a lot of grief to the players of the server. Thank you.
Spawn a pet
mount a pet
mount another pet
the first mounted pet will stay until the chunk unloads
When i change my pet (/pet ) it kind of duplicate it and when i try to remove it i can't. i'm using the lastest bukkit dev.
When you get a get a pet you make it your default pet and it just automaticaly goes away when you get off then back on
Whenever you hit LSHIFT to dismout the plugin still thinks you are riding the pet..
On the page for permissions on the wiki you list pet type permissions as echopet.pet.bat instead of echopet.pet.type.bat
I cant seem to find a use for echopet.pet.bat and the way they are listed that sounds like the permission for /pet bat
When i remove pets frome the config, the mobs still can be spawned in the game!
And when i want normal player to spawn pets they dont have the permission!
when players use pet menu i've got this error:
http://pastebin.com/8rrr5WUd
and
http://pastebin.com/fFkPn8gw
if they trie to make baby pets, sometimes it says that they don't have permission but they have it
Echopet version v2.0.5
Spigot #1031
As the title says, when pets stop on pressure plates - the pressure plates stay stuck down and do not function!
For some reason when you have a pet on as a hat your arrows land sideways and some players say they go slower than normal
they also come back and you pick them up in your inventory
they bounce off of mobs
When I use teleport command such as teleporting to people, or warps such as /spawn - or even command blocks that teleport me to another place, my pets just completely disapeer until I disconnect and re-connect.
I think they should teleport to me after ANY teleport command, anything that teleports the player, should teleport the pet too - I looked through the config several times and tried adjusting different options which didn't work, what's weird is my friend came on my server and he teleported fine with his iron golem, not sure if it's just pet-related, but my creeper pet won't teleport with me however, please fix this - this is by far the best pet plugin I've used thus far.
If you ride your pet. then dismount with LSHIFT, you cannot use the menu to ride him.
To fix the bug, you have to turn the riding feature off and on again in the pet menu.
When a user enters a worldguard region set in the config what pet will be removed until that user has exited that region.
When I change the size it seems to duplicate my shoes
and can i request a feature? /pet sit
my pet sometimes gets in the way digging in small spaces or trying to do parkour
Anytime you teleport with a pet, it renames it in the latest dev.
I know they're devs :) but I thought I should tell them.
I re-create it by naming my pet in my main world, going to my home in another world, and then it resets to default.
There is a bug with bukkit build #2815 and latest echopet dev build #20.
When a mob that has effects is spawned with /pet (mobname) it is stuck, doesn't move and is having issues with the effect. Examples are the blaze, enderman and the witch. These mobs have effects, and when spawned, they glitch.
EchoPet Version: 2.0.6
Bukkit Version: CraftBukkit version git-Spigot-1037 (MC: 1.6.2)
2013-07-31 13:01:41 [SEVERE] Could not pass event InventoryCloseEvent to EchoPet v2.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.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463)
at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.handleInventoryCloseEvent(CraftEventFactory.java:701)
at net.minecraft.server.v1_6_R2.PlayerConnection.handleContainerClose(PlayerConnection.java:1187)
at net.minecraft.server.v1_6_R2.Packet101CloseWindow.handle(SourceFile:17)
at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:230)
at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:118)
at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37)
at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:125)
at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:592)
at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:239)
at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:481)
at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:413)
at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
Caused by: java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819)
at java.util.ArrayList$Itr.next(ArrayList.java:791)
at com.github.dsh105.echopet.listeners.MenuListener.onInventoryClose(MenuListener.java:176)
at sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 16 more
Hey, Im making a server and need to limit the worlds that people can have their pets in, How do I make it so that they dont Teleport to the players, There is no option in the config file for it, Please help me, As this is an awesome feature to have for a donator
22:17:36 [SEVERE] Could not pass event InventoryCloseEvent to EchoPet v2.0.6
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
va:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
a:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
ava:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
ava:462)
at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.handleInventor
yCloseEvent(CraftEventFactory.java:677)
at net.minecraft.server.v1_6_R2.PlayerConnection.handleContainerClose(Pl
ayerConnection.java:1160)
at net.minecraft.server.v1_6_R2.Packet101CloseWindow.handle(SourceFile:1
7)
at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296
)
at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java
:118)
at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37)
at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:3
0)
at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:5
90)
at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:2
26)
at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:4
86)
at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java
:419)
at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:5
82)
Caused by: java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
at java.util.ArrayList$Itr.next(Unknown Source)
at com.github.dsh105.echopet.listeners.MenuListener.onInventoryClose(Men
uListener.java:176)
at sun.reflect.GeneratedMethodAccessor168.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.ja
va:425)
/pet hide - To hide the pet
/pet show - To make your pet visible once again
/pet call - Make your pet teleport to you
Use WorldGuard's API to make a flag that disables normal mob spawns but not pets.
Everytime i logout of the server i log back on and my pet is removed i use the /pet default commaand but that dosent hel and it gets saved cause i check in the okugin.yml.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.