Towny Mobs
This plugin will be continued as part of the Faction Mobs plugin, with experimental support starting in version 2.8.4.
Downside: It says Factions instead of Towny. Upside: It's updated. You should be able to migrate any old TownyMobs data by renaming the folder to FactionMobs.
Want some guards to defend your territory? Towny Mobs allows you to spawn mobs aligned to your Town! They'll attack enemy players and monsters! You can even order your mobs around. Make them follow you or patrol an area. This plugin requires Towny. This plugin is based on Faction Mobs and is converted to Towny from Factions.
Mob Types:
There are 4 mob types:
- Swordsman
- Sword wielding
- Archer
- Bow wielding
- Mage
- Potion throwing
- Titan
- Iron Golem
Aside from the Titan, which cannot equip armor, your mobs will equip full leather armor dyed to a color of your choice.
You can modify mob attributes in the config, and you may disable them selectively if you wish.
Behavior:
Your Towny mobs will automatically categorize any units it meets as enemy, friendly, or neutral.
Towny Mobs utilize the Nations and Wars feature of Towny and will attack targets belonging to warring nations. If set in the options, hostile mobs will also be considered enemies, with the exception of the creeper, which it will never attack. Players and Towny mobs from your town and towns within your nation will be considered friendly. All other units are neutral.
Your Towny mobs will automatically attack hostile units. It will defend itself when attacked by neutral units. It will never attack friendly units.
Note that the Mage and Archer have some rather bad aim, and may accidentally attack friendly units. You can prevent this by setting noFriendlyFire to true in the config.
The config file contains many options to set various attributes to the mobs. Please look through it.
Things to Note:
- Do not attempt to rename any Towns, as this will cause unknown behaviour
- Mobs still use their original AI, just slightly modified. This means they will use the same movement patterns when attacking as they normally do.
- I used some of the obfuscated functions from Craftbukkit. This means that the plugin will only work for the version it was released for.
- Vault integration has not been thoroughly tested.
- The mobs are saved in file separate from the rest of the world. If you change the name of your world, the Towny mobs will not transfer with it.
- If your server is prone to crashing, it is recommended you turn on the autoSave function in the config file.
- This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
- Note to other devs: Towny Mob custom entities have "CustomEntity" metadata tags
@wiedzmin137
I don't understand your comment. Please rephrase it and be more descriptive. Your usage of the words "them" and "this" is vague.
Hello. Can you fix arrow projectile damage? My archers (players) attack mobs on bow and kill them on this same moment. It's propably caused Spigot API or Heroes plugin. Thanks.
After finding several bugs in my plugin caused by the update, I have decided to wait a bit before uploading a new version. v2.6.3 for CB 1.7.2 will be released in a few days.
Edit: I have just uploaded the new version of Towny Mobs, it may take a while for Bukkit staff to approve. As always, be cautious when using CB Dev builds, especially 1.7.2.
@amonfv
I'm still not sure about what is causing the error, but the wandering seems to work as intended. The wander command makes mobs use their "vanilla" movement AI, they will move around wherever they want. If you want mobs to move back to their original location, you'll need to use patrol or stop.
@Scyntrus
no it will attack the creature fine but will stay outside the city and not come back in and just stand in 1 spot but if i have them on patrol they work fine and do not bug out its only when i order them to wonder also i installed a clean version of craftbukket and towny and server started it with no plugins but towny iconomy and towney mobs and they are standing outside they kill the mob and just stand back in the same spot and some times they run in a quick circle ans just stand their but allways on the outside of town
yes i have the resident.class file
@amonfv
What happens is, when one of the Towny Mobs encounters another creature, it has to decide whether or not to attack the creature. During this process, it screws up for some reason.
@Scyntrus
no what happens is i spawn him he acts normally then he will eventually wonder outside the town then just sit their not fallow to any commands and after a random amount of time it will crash the server
but firs im going to re down load my craftbukking and towny plugin and test it make sure the file did not get cruppted or something
@amonfv
I'm not exactly sure why my plugin can't find this class.
Can you post the batch/bash file you're using to start up craftbukkit? Also, could you open up your Towny.jar file using an archive explorer like 7-Zip and tell me if there is a file called \com\palmergames\bukkit\towny\object\Resident.class?
Also, does this error occur as soon as you spawn the mob, when you log in after restarting the server, or just randomly?
@Scyntrus
version:
@amonfv
Next time, please upload large crash reports to pastebin.com.
Anyways, it seems the towny.jar I'm building against is structured differently from the one you're using. As it says, it can't find a class that should be in there. What version of Towny are you using?
I'm using Towny 0.84.0.0.
@Scyntrus
Minecraft Crash ReportYou're mean.Time: 10/23/13 12:43 PM Description: Ticking entity
java.lang.NoClassDefFoundError: com/palmergames/bukkit/towny/object/Resident at com.gmail.scyntrus.tmob.Utils.TownCheck(Utils.java:35) at com.gmail.scyntrus.tmob.mobs.Titan.findTarget(Titan.java:216) at com.gmail.scyntrus.tmob.mobs.Titan.c(Titan.java:123) at net.minecraft.server.v1_6_R3.EntityLiving.l_(EntityLiving.java:1284) at net.minecraft.server.v1_6_R3.EntityInsentient.l_(EntityInsentient.java:150) at net.minecraft.server.v1_6_R3.World.entityJoinedWorld(World.java:1492) at net.minecraft.server.v1_6_R3.World.playerJoinedWorld(World.java:1467) at net.minecraft.server.v1_6_R3.World.tickEntities(World.java:1336) at net.minecraft.server.v1_6_R3.WorldServer.tickEntities(WorldServer.java:517) at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:573) at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:240) at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:483) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:415) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) Caused by: java.lang.ClassNotFoundException: com.palmergames.bukkit.towny.object.Resident at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 14 more
A detailed walkthrough of the error, its code path and all known details is as follows:
-------------------HeadStacktrace: at com.gmail.scyntrus.tmob.Utils.TownCheck(Utils.java:35) at com.gmail.scyntrus.tmob.mobs.Titan.findTarget(Titan.java:216) at com.gmail.scyntrus.tmob.mobs.Titan.c(Titan.java:123) at net.minecraft.server.v1_6_R3.EntityLiving.l_(EntityLiving.java:1284) at net.minecraft.server.v1_6_R3.EntityInsentient.l_(EntityInsentient.java:150) at net.minecraft.server.v1_6_R3.World.entityJoinedWorld(World.java:1492) at net.minecraft.server.v1_6_R3.World.playerJoinedWorld(World.java:1467)Entity being tickedDetails: Entity Type: Titan (com.gmail.scyntrus.tmob.mobs.Titan) Entity ID: 201525 Entity Name: §eAshfell Titan Entity's Exact location: 2533.97, 65.00, -1628.35 Entity's Block location: World: (2533,65,-1629), Chunk: (at 5,4,3 in 158,-102; contains blocks 2528,0,-1632 to 2543,255,-1617), Region: (4,-4; contains chunks 128,-128 to 159,-97, blocks 2048,0,-2048 to 2559,255,-1537) Entity's Momentum: 0.00, -0.08, 0.00 Stacktrace: at net.minecraft.server.v1_6_R3.World.tickEntities(World.java:1336) at net.minecraft.server.v1_6_R3.WorldServer.tickEntities(WorldServer.java:517)Affected levelDetails: Level name: world All players: 7 total; [EntityPlayer['Die_NotSoSlow'/13970, l='world', x=2458.35, y=65.00, z=-2192.30](Die_NotSoSlow at 2458.3506837997484,65.0,-2192.300000011921), EntityPlayer['KDSancid'/9289, l='world', x=-5059.65, y=65.00, z=-3153.16](KDSancid at -5059.652861009903,65.0,-3153.163186174771), EntityPlayer['ClapTrap'/203736, l='world', x=-5051.84, y=65.00, z=-3152.06](ClapTrap at -5051.835419125143,65.0,-3152.0589717251687), EntityPlayer['amonfv'/13466, l='world', x=2579.30, y=70.00, z=-1551.30](amonfv at 2579.300000011921,70.0,-1551.300000011921), EntityPlayer['Prepare4Trouble'/13679, l='world', x=2569.30, y=70.00, z=-1525.56](Prepare4Trouble at 2569.300000011921,70.0,-1525.561383345696), EntityPlayer['Die_Slowly'/14545, l='world', x=2458.30, y=65.00, z=-2192.70](Die_Slowly at 2458.300000011921,65.0,-2192.699999988079), EntityPlayer['Sakaras821'/226806, l='world', x=2547.79, y=66.17, z=-1625.58](Sakaras821 at 2547.793714721309,66.16610926093821,-1625.5844395380545)] Chunk stats: ServerChunkCache: 3188 Drop: 0 Level seed: 202961 Level generator: ID 00 - default, ver 1. Features enabled: true Level generator options: Level spawn location: World: (-5057,167,-3141), Chunk: (at 15,10,11 in -317,-197; contains blocks -5072,0,-3152 to -5057,255,-3137), Region: (-10,-7; contains chunks -320,-224 to -289,-193, blocks -5120,0,-3584 to -4609,255,-3073) Level time: 74299841 game time, 75284664 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 57648 (now: false), thunder time: 117744 (now: false) Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false Stacktrace: at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:573) at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:240) at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:483) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:415) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)System DetailsDetails: Minecraft Version: 1.6.4 Operating System: Linux (amd64) version 2.6.18-348.6.1.el5 Java Version: 1.7.0_01, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 2571792560 bytes (2452 MB) / 5357109248 bytes (5108 MB) up to 5357109248 bytes (5108 MB) JVM Flags: 3 total; -XX:MaxPermSize=192m -Xms5120M -Xmx5120M AABB Pool Size: 1584 (88704 bytes; 0 MB) allocated, 431 (24136 bytes; 0 MB) used Suspicious classes: $Proxy3, ObjectMatcher, $Proxy5, ...[com.avaje.ebean.EbeanServer], [com.avaje.ebean.config.dbplatform.DatabasePlatform, SQLitePlatform], [com.mysql.jdbc.NonRegisteringDriver, Driver, StringUtils, ...], [com.mysql.jdbc.exceptions.MySQLTransientException, MySQLTimeoutException, MySQLNonTransientException, ...], [com.mysql.jdbc.exceptions.jdbc4.CommunicationsException], [com.mysql.jdbc.log.Log, StandardLogger, NullLogger, ...], [com.mysql.jdbc.util.LRUCache, ReadAheadInputStream], [gnu.trove.TByteCollection, TShortCollection, TLongCollection, ...], [gnu.trove.impl.HashFunctions, PrimeFinder, Constants], [gnu.trove.impl.hash.THash, TPrimitiveHash, TByteHash, ...], [gnu.trove.iterator.TIterator, TByteIterator, TAdvancingIterator, ...], [gnu.trove.map.TLongShortMap, TObjectIntMap], [gnu.trove.map.hash.TLongShortHashMap, TObjectIntHashMap, TLongShortHashIterator], [gnu.trove.procedure.TLongShortProcedure, TObjectIntProcedure], [gnu.trove.set.TByteSet, TLongSet], [gnu.trove.set.hash.TByteHashSet], [io.netty.bootstrap.AbstractBootstrap, ServerBootstrap, ChannelFactory, ...], [io.netty.buffer.ByteBufAllocator, AbstractByteBufAllocator, UnpooledByteBufAllocator, ...], [io.netty.channel.EventLoopGroup, ChannelHandler, MultithreadEventLoopGroup, ...], [io.netty.channel.nio.NioEventLoopGroup, NioEventLoop, SelectedSelectionKeySet, ...], [io.netty.channel.socket.ServerSocketChannel, ServerSocketChannelConfig, DefaultServerSocketChannelConfig, ...], [io.netty.channel.socket.nio.NioServerSocketChannel, NioSocketChannel], [io.netty.handler.codec.ByteToMessageDecoder, ReplayingDecoder, CodecException, ...], [io.netty.handler.timeout.ReadTimeoutHandler, TimeoutException, ReadTimeoutException, ...], [io.netty.util.Signal, CharsetUtil, UniqueName, ...], [io.netty.util.concurrent.EventExecutorGroup, AbstractEventExecutorGroup, MultithreadEventExecutorGroup, ...], [io.netty.util.internal.SystemPropertyUtil, PlatformDependent, PlatformDependent0, ...], [io.netty.util.internal.chmv8.ConcurrentHashMapV8, Node, TreeNode, ...], [io.netty.util.internal.logging.InternalLoggerFactory, Slf4JLoggerFactory, Log4JLoggerFactory, ...], [javassist.ClassPath, ClassPool, NotFoundException, ...], [javassist.bytecode.AttributeInfo, InnerClassesAttribute, SignatureAttribute, ...], [javassist.bytecode.stackmap.TypeTag, Tracer, MapMaker, ...], [javassist.compiler.CompileError, Javac, CtFieldWithInit, ...], [javassist.compiler.ast.Visitor, ASTree, ASTList, ...], [javax.annotation.Nullable, Nonnull], [javax.annotation.meta.When, TypeQualifier], [net.minecraft.server.v1_6_R3.ICommandListener, IMojangStatistics, ICommandHandler, ...], [org.bukkit.BlockChangeDelegate, World, Server, ...], [org.bukkit.block.BlockState, BlockFace, Block, ...], [org.bukkit.command.CommandSender, RemoteConsoleCommandSender, CommandException, ...], [org.bukkit.command.defaults.VanillaCommand, SaveCommand, SaveOnCommand, ...], [org.bukkit.configuration.ConfigurationSection, Configuration, MemorySection, ...], [org.bukkit.configuration.file.FileConfiguration, YamlConfiguration, FileConfigurationOptions, ...], [org.bukkit.configuration.serialization.ConfigurationSerializable, ConfigurationSerialization, DelegateDeserialization, ...], [org.bukkit.conversations.Conversable, ConversationCanceller, Prompt, ...], [org.bukkit.craftbukkit.Main], [org.bukkit.craftbukkit.libs.com.google.gson.JsonDeserializer, JsonParseException, GsonBuilder, ...], [org.bukkit.craftbukkit.libs.com.google.gson.internal.Excluder, $Gson$Preconditions, $Gson$Types, ...], [org.bukkit.craftbukkit.libs.com.google.gson.internal.bind.JsonTreeReader, JsonTreeWriter, TypeAdapters, ...], [org.bukkit.craftbukkit.libs.com.google.gson.reflect.TypeToken], [org.bukkit.craftbukkit.libs.com.google.gson.stream.JsonReader, JsonWriter, MalformedJsonException, ...], [org.bukkit.craftbukkit.libs.jline.TerminalFactory, Terminal, Flavor, ...], [org.bukkit.craftbukkit.libs.jline.console.ConsoleReader, CursorBuffer, ConsoleKeys, ...], [org.bukkit.craftbukkit.libs.jline.console.completer.CompletionHandler, CandidateListCompletionHandler, Completer], [org.bukkit.craftbukkit.libs.jline.console.history.History, MemoryHistory], [org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader, Configuration, Log, ...], [org.bukkit.craftbukkit.v1_6_R3.LoggerOutputStream, CraftServer, CraftOfflinePlayer, ...], [org.bukkit.craftbukkit.v1_6_R3.block.CraftBlock, CraftBlockState, CraftChest, ...], [org.bukkit.craftbukkit.v1_6_R3.chunkio.ChunkIOExecutor, ChunkIOProvider, QueuedChunk], [org.bukkit.craftbukkit.v1_6_R3.command.ServerCommandSender, CraftConsoleCommandSender, ColouredConsoleSender, ...], [org.bukkit.craftbukkit.v1_6_R3.conversations.ConversationTracker], [org.bukkit.craftbukkit.v1_6_R3.enchantments.CraftEnchantment], [org.bukkit.craftbukkit.v1_6_R3.entity.CraftEntity, CraftLivingEntity, CraftHumanEntity, ...], [org.bukkit.craftbukkit.v1_6_R3.event.CraftEventFactory], [org.bukkit.craftbukkit.v1_6_R3.generator.InternalChunkGenerator, CustomChunkGenerator, NormalChunkGenerator, ...], [org.bukkit.craftbukkit.v1_6_R3.help.SimpleHelpMap, CommandAliasHelpTopic, HelpYamlReader, ...], [org.bukkit.craftbukkit.v1_6_R3.inventory.CraftItemStack, CraftRecipe, CraftShapedRecipe, ...], [org.bukkit.craftbukkit.v1_6_R3.metadata.EntityMetadataStore, PlayerMetadataStore, WorldMetadataStore, ...], [org.bukkit.craftbukkit.v1_6_R3.potion.CraftPotionEffectType, CraftPotionBrewer], [org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftScheduler, CraftAsyncDebugger, CraftTask, ...], [org.bukkit.craftbukkit.v1_6_R3.scoreboard.CraftScoreboardManager, CraftScoreboard, CraftCriteria, ...], [org.bukkit.craftbukkit.v1_6_R3.updater.AutoUpdater, BukkitDLUpdaterService, DateDeserializer], [org.bukkit.craftbukkit.v1_6_R3.util.ServerShutdownThread, Waitable, TerminalConsoleHandler, ...], [org.bukkit.enchantments.Enchantment, EnchantmentWrapper], [org.bukkit.entity.Entity, Damageable, LivingEntity, ...], [org.bukkit.entity.minecart.PoweredMinecart, StorageMinecart, ExplosiveMinecart, ...], [org.bukkit.event.Event, Cancellable, Listener, ...], [org.bukkit.event.block.BlockEvent, BlockFadeEvent, BlockGrowEvent, ...], [org.bukkit.event.enchantment.EnchantItemEvent, PrepareItemEnchantEvent], [org.bukkit.event.entity.EntityEvent, EntityInteractEvent, EntityDamageEvent, ...], [org.bukkit.event.hanging.HangingEvent, HangingPlaceEvent, HangingBreakEvent, ...], [org.bukkit.event.inventory.InventoryMoveItemEvent, FurnaceBurnEvent, FurnaceSmeltEvent, ...], [org.bukkit.event.painting.PaintingEvent, PaintingPlaceEvent, PaintingBreakEvent, ...], [org.bukkit.event.player.PlayerEvent, PlayerFishEvent, PlayerItemDamageEvent, ...], [org.bukkit.event.server.ServerEvent, MapInitializeEvent, ServerCommandEvent, ...], [org.bukkit.event.vehicle.VehicleEvent, VehicleCollisionEvent, VehicleBlockCollisionEvent, ...], [org.bukkit.event.weather.WeatherEvent, ThunderChangeEvent, WeatherChangeEvent, ...], [org.bukkit.event.world.WorldEvent, WorldInitEvent, WorldSaveEvent, ...], [org.bukkit.generator.ChunkGenerator], [org.bukkit.help.HelpMap, HelpTopic, IndexHelpTopic, ...], [org.bukkit.inventory.ItemStack, Inventory, Recipe, ...], [org.bukkit.inventory.meta.ItemMeta, Repairable, BookMeta, ...], [org.bukkit.map.MapView], [org.bukkit.material.MaterialData, Tree, Directional, ...], [org.bukkit.metadata.Metadatable, MetadataStore, MetadataStoreBase, ...], [org.bukkit.permissions.ServerOperator, Permissible, PermissibleBase, ...], [org.bukkit.plugin.ServicesManager, PluginManager, SimpleServicesManager, ...], [org.bukkit.plugin.java.JavaPluginLoader, PluginClassLoader, JavaPlugin], [org.bukkit.plugin.messaging.PluginMessageRecipient, Messenger, StandardMessenger, ...], [org.bukkit.potion.PotionEffectType, PotionEffectTypeWrapper, PotionBrewer, ...], [org.bukkit.scheduler.BukkitScheduler, BukkitTask, BukkitRunnable, ...], [org.bukkit.scoreboard.ScoreboardManager, DisplaySlot, Scoreboard, ...], [org.bukkit.util.Vector, BlockVector, Java15Compat, ...], [org.bukkit.util.permissions.DefaultPermissions, CommandPermissions, BroadcastPermissions], [org.fusesource.jansi.AnsiOutputStream, Ansi, NoAnsi, ...], [org.json.simple.JSONValue, JSONAware, JSONStreamAware, ...], [org.json.simple.parser.JSONParser, ParseException, Yylex, ...], [org.spigotmc.SpigotConfig, Listener, LogFilter, ...], [org.spigotmc.event.entity.EntityDismountEvent, EntityMountEvent], [org.spigotmc.netty.NettyServerConnection, NettyNetworkManager, NettySocketAdaptor, ...], [org.sqlite.JDBC, Conn, SQLiteConfig, ...], [org.yaml.snakeyaml.DumperOptions, ScalarStyle, FlowStyle, ...], [org.yaml.snakeyaml.composer.Composer, ComposerException], [org.yaml.snakeyaml.constructor.BaseConstructor, SafeConstructor, Constructor, ...], [org.yaml.snakeyaml.emitter.Emitable, Emitter, EmitterException, ...], [org.yaml.snakeyaml.error.YAMLException, MarkedYAMLException, Mark], [org.yaml.snakeyaml.events.Event, NodeEvent, ScalarEvent, ...], [org.yaml.snakeyaml.external.com.google.gdata.util.common.base.Escaper, UnicodeEscaper, PercentEscaper], [org.yaml.snakeyaml.introspector.PropertyUtils, Property, MissingProperty, ...], [org.yaml.snakeyaml.nodes.Node, CollectionNode, MappingNode, ...], [org.yaml.snakeyaml.parser.Parser, ParserImpl, ParserException, ...], [org.yaml.snakeyaml.reader.UnicodeReader, StreamReader, ReaderException], [org.yaml.snakeyaml.representer.BaseRepresenter, SafeRepresenter, Representer, ...], [org.yaml.snakeyaml.resolver.Resolver, ResolverTuple], [org.yaml.snakeyaml.scanner.Scanner, ScannerImpl, ScannerException, ...], [org.yaml.snakeyaml.serializer.Serializer, SerializerException], [org.yaml.snakeyaml.tokens.Token, AliasToken, ScalarToken, ...], [org.yaml.snakeyaml.util.UriEncoder, ArrayStack] IntCache: cache: 0, tcache: 0, allocated: 1, tallocated: 63 CraftBukkit Information: Running: CraftBukkit version git-Spigot-1134 (MC: 1.6.4) (Implementing API version 1.6.4-R0.1-SNAPSHOT) true Plugins: { World Portal v0.2.6 me.timvisee.WorldPortal.WorldPortal [], WorldBorder v1.7.5 com.wimbli.WorldBorder.WorldBorder [Brettflan], Welcome Message v1.2.5 me.krooked590.WelcomeMessage.WelcomeMessage [krooked590], bPermissions v2.10.7 de.bananaco.bpermissions.imp.Permissions [codename_B], Giants v5.0 me.pkt77.giants.Giants [pkt77], WorldEdit v5.5.8 com.sk89q.worldedit.bukkit.WorldEditPlugin [], Towny v0.84.0.0 com.palmergames.bukkit.towny.Towny [Shade, Modified by FuzzeWuzze. Forked by ElgarL], QuickBar v1.4 me.jacklin213.quickbar.QuickBar [jacklin213], StarterKit v1.3.5 name.richardson.james.bukkit.starterkit.StarterKit [grandwazir], Vault v1.2.27-b349 net.milkbowl.vault.Vault [cereal, Sleaker, mung3r], Questioner v0.6 ca.xshade.bukkit.questioner.Questioner [Shade, ElgarL], WorldGuard v5.8 com.sk89q.worldguard.bukkit.WorldGuardPlugin [], EnchantmentAPI v4.16 com.rit.sucy.EnchantmentAPI [], HeadHunter v1.5.1 com.scottwoodward.headhunter.HeadHunter [], boosCooldowns v3.7.2 cz.boosik.boosCooldown.BoosCoolDown [LordBoos (ingame name boosik)], EnderpearlDisable v1.3 me.wannezz.EnderpearlDisable.EnderpearlDisable [wannezz], HeroicDeath v1.11.6 com.herocraftonline.squallseed31.heroicdeath.HeroicDeath [SquallSeeD31, ElgarL], NoEnderChest v1.3 me.KevinW1998.NoEnderChest.NoEnderChest [], ControlTPA v2.0 com.gmail.adamwoollen.ControlTPA.ControlTPA [], iConomy v7.0 com.iCo6.iConomy [Nijikokun, SpaceManiac], EnchantPotionPack v1.0 com.sucy.potion.EnchantPotionPack [], EnchantActivePack v1.0 com.sucy.active.EnchantActivePack [], BookShelf v3.2 me.Pew446.BookShelf.BookShelf [Pew446], PvPTitles v1.2.9d com.gmail.mikeundead.PvPTitles [], TownyMobs v2.6.2_T_1.6.4 com.gmail.scyntrus.tmob.TownyMobs [Scyntrus], ClearLag v2.6.0 me.minebuilders.clearlag.Clearlag [bob7l], ProtocolLib v2.7.3 com.comphenix.protocol.ProtocolLibrary [Comphenix], SalvageSmelter v0.1.6 com.norcode.bukkit.salvagesmelter.SalvageSmelter [metalhedd], Simple Poll v0.2.1 com.betaforce.shardin.SimplePoll.SimplePoll [Tocksman], Bankcraft v2.2 de.hotmail.gurkilein.bankcraft.Bankcraft [], MoneyDrop v2.1.1 me.drakespirit.plugins.moneydrop.MoneyDrop [DrakeSpirit], SimpleMail v0.3.8 me.odium.test.simplemail [], Heroes v1.5.4-SNAPSHOT com.herocraftonline.heroes.Heroes [DThielke, Sleaker, Kainzo, gabizou, Delfofthebla, Andrew2060], PortableHorses v0.2.2 com.norcode.bukkit.portablehorses.PortableHorses [metalhedd], MobHealth v7.1.0 me.sablednah.MobHealth.MobHealth [SableDnah], EnchantPassivePack v1.0 com.sucy.passive.EnchantPassivePack [], TownyChat v0.4 com.palmergames.bukkit.TownyChat.Chat [ElgarL, Shade, phrstbrn], EnchantTrapPack v1.0 com.sucy.trap.EnchantTrapPack [], LegendaryWeapons v1.4 com.rit.sucy.LegendaryWeapons [], Enjin Minecraft Plugin v2.4.9 com.enjin.officialplugin.EnjinMinecraftPlugin [www.Enjin.com], ChestShop v3.67 com.Acrobot.ChestShop.ChestShop [Acrobot], SecureChests v0.8.0 me.HAklowner.SecureChests.SecureChests [HAklowner | Modified by JeffMeikle],} Warnings: DEFAULT Threads: { RUNNABLE Thread-12: [java.net.PlainDatagramSocketImpl.receive0(Native Method), java.net.AbstractPlainDatagramSocketImpl.receive(Unknown Source), java.net.DatagramSocket.receive(Unknown Source), net.minecraft.server.v1_6_R3.RemoteStatusListener.run(SourceFile:257), java.lang.Thread.run(Unknown Source)], TIMED_WAITING Spigot Metrics Thread: [java.lang.Object.wait(Native Method), java.util.TimerThread.mainLoop(Unknown Source), java.util.TimerThread.run(Unknown Source)], RUNNABLE Netty IO Thread - 1: [sun.nio.ch.EPollArrayWrapper.epollWait(Native Method), sun.nio.ch.EPollArrayWrapper.poll(Unknown Source), sun.nio.ch.EPollSelectorImpl.doSelect(Unknown Source), sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source), sun.nio.ch.SelectorImpl.select(Unknown Source), io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:589), io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:301), io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101), java.lang.Thread.run(Unknown Source)], TIMED_WAITING Async Packet Handler - 82: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(Unknown Source), java.util.concurrent.SynchronousQueue$TransferStack.transfer(Unknown Source), java.util.concurrent.SynchronousQueue.poll(Unknown Source), java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)], WAITING Reference Handler: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Object.java:503), java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)], TIMED_WAITING Async Packet Handler - 76: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(Unknown Source), java.util.concurrent.SynchronousQueue$TransferStack.transfer(Unknown Source), java.util.concurrent.SynchronousQueue.poll(Unknown Source), java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)], WAITING Timer-15: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Object.java:503), java.util.TimerThread.mainLoop(Unknown Source), java.util.TimerThread.run(Unknown Source)], WAITING Chunk I/O Executor Thread-1: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(Unknown Source), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source), java.util.concurrent.LinkedBlockingQueue.take(Unknown Source), java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)], WAITING Timer-23: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Object.java:503), java.util.TimerThread.mainLoop(Unknown Source), java.util.TimerThread.run(Unknown Source)], TIMED_WAITING Snooper Timer: [java.lang.Object.wait(Native Method), java.util.TimerThread.mainLoop(Unknown Source), java.util.TimerThread.run(Unknown Source)], TIMED_WAITING Craft Scheduler Thread - 917: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(Unknown Source), java.util.concurrent.SynchronousQueue$TransferStack.transfer(Unknown Source), java.util.concurrent.SynchronousQueue.poll(Unknown Source), java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)], RUNNABLE Server thread: [java.lang.Thread.dumpThreads(Native Method), java.lang.Thread.getAllStackTraces(Unknown Source), org.bukkit.craftbukkit.v1_6_R3.CraftCrashReport.call(CraftCrashReport.java:28), net.minecraft.server.v1_6_R3.CrashReportSystemDetails.a(SourceFile:74), net.minecraft.server.v1_6_R3.CrashReport.h(CrashReport.java:41), net.minecraft.server.v1_6_R3.CrashReport.<init>(CrashReport.java:28), net.minecraft.server.v1_6_R3.CrashReport.a(CrashReport.java:212), net.minecraft.server.v1_6_R3.World.tickEntities(World.java:1339), net.minecraft.server.v1_6_R3.WorldServer.tickEntities(WorldServer.java:517), net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:573), net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:240), net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:483), net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:415), net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)], TIMED_WAITING Craft Scheduler Thread - 916: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(Unknown Source), java.util.concurrent.SynchronousQueue$TransferStack.transfer(Unknown Source), java.util.concurrent.SynchronousQueue.poll(Unknown Source), java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)], RUNNABLE Signal Dispatcher: [], WAITING Timer-13: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Object.java:503), java.util.TimerThread.mainLoop(Unknown Source), java.util.TimerThread.run(Unknown Source)], TIMED_WAITING Craft Scheduler Thread - 915: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(Unknown Source), java.util.concurrent.SynchronousQueue$TransferStack.transfer(Unknown Source), java.util.concurrent.SynchronousQueue.poll(Unknown Source), java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)], WAITING Finalizer: [java.lang.Object.wait(Native Method), java.lang.ref.ReferenceQueue.remove(Unknown Source), java.lang.ref.ReferenceQueue.remove(Unknown Source), java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)], TIMED_WAITING File IO Thread: [java.lang.Thread.sleep(Native Method), net.minecraft.server.v1_6_R3.FileIOThread.b(SourceFile:44), net.minecraft.server.v1_6_R3.FileIOThread.run(SourceFile:23), java.lang.Thread.run(Unknown Source)], TIMED_WAITING Spigot Watchdog Thread: [java.lang.Thread.sleep(Native Method), org.spigotmc.WatchdogThread.run(WatchdogThread.java:85)], RUNNABLE Command Reader: [java.io.FileInputStream.readBytes(Native Method), java.io.FileInputStream.read(Unknown Source), java.io.BufferedInputStream.fill(Unknown Source), java.io.BufferedInputStream.read(Unknown Source), java.io.FilterInputStream.read(Unknown Source), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader$1.read(ConsoleReader.java:167), org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:267), org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:204), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readCharacter(ConsoleReader.java:995), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:1167), net.minecraft.server.v1_6_R3.ThreadCommandReader.run(ThreadCommandReader.java:32)], WAITING Timer-24: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Object.java:503), java.util.TimerThread.mainLoop(Unknown Source), java.util.TimerThread.run(Unknown Source)], RUNNABLE Netty IO Thread - 0: [sun.nio.ch.EPollArrayWrapper.epollWait(Native Method), sun.nio.ch.EPollArrayWrapper.poll(Unknown Source), sun.nio.ch.EPollSelectorImpl.doSelect(Unknown Source), sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source), sun.nio.ch.SelectorImpl.select(Unknown Source), io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:589), io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:301), io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101), java.lang.Thread.run(Unknown Source)], RUNNABLE Netty IO Thread - 2: [sun.nio.ch.EPollArrayWrapper.epollWait(Native Method), sun.nio.ch.EPollArrayWrapper.poll(Unknown Source), sun.nio.ch.EPollSelectorImpl.doSelect(Unknown Source), sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source), sun.nio.ch.SelectorImpl.select(Unknown Source), io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:589), io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:301), io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101), java.lang.Thread.run(Unknown Source)], TIMED_WAITING Thread-120: [java.lang.Thread.sleep(Native Method), de.bananaco.bpermissions.imp.loadmanager.MainThread.check(MainThread.java:54), de.bananaco.bpermissions.imp.loadmanager.MainThread.run(MainThread.java:26)], RUNNABLE DestroyJavaVM: [],} Recent tasks from 528193-528223{Enjin Minecraft Plugin:com.enjin.officialplugin.tpsmeter.MonitorTPS@528230,WorldEdit:com.sk89q.worldedit.bukkit.SessionTimer@528230,Heroes:com.herocraftonline.heroes.characters.CharacterManager$EntityReaper@528250,} Profiler Position: N/A (disabled) Vec3 Pool Size: ~ERROR~ NullPointerException: null Player Count: 7 / 100; [EntityPlayer['Die_NotSoSlow'/13970, l='world', x=2458.35, y=65.00, z=-2192.30](Die_NotSoSlow at 2458.3506837997484,65.0,-2192.300000011921), EntityPlayer['KDSancid'/9289, l='world', x=-5059.65, y=65.00, z=-3153.16](KDSancid at -5059.652861009903,65.0,-3153.163186174771), EntityPlayer['ClapTrap'/203736, l='world', x=-5051.84, y=65.00, z=-3152.06](ClapTrap at -5051.835419125143,65.0,-3152.0589717251687), EntityPlayer['amonfv'/13466, l='world', x=2579.30, y=70.00, z=-1551.30](amonfv at 2579.300000011921,70.0,-1551.300000011921), EntityPlayer['Prepare4Trouble'/13679, l='world', x=2569.30, y=70.00, z=-1525.56](Prepare4Trouble at 2569.300000011921,70.0,-1525.561383345696), EntityPlayer['Die_Slowly'/14545, l='world', x=2458.30, y=65.00, z=-2192.70](Die_Slowly at 2458.300000011921,65.0,-2192.699999988079), EntityPlayer['Sakaras821'/226806, l='world', x=2547.79, y=66.17, z=-1625.58](Sakaras821 at 2547.793714721309,66.16610926093821,-1625.5844395380545)] Is Modded: Definitely; Server brand changed to 'craftbukkit' Type: Dedicated Server (map_server.txt)@amonfv
Can you post the error log?
not sure if wonder is messed up but i set mobs that it and they will wonder outside the city and just stand their and then crash the server
I totally love this mod here are some suggestions i would love to see
1.make a setting to turn on that mobs can only go x blocks out of the city if they pass x blocks they tp home
2.add a respawn command if they die they will respawn in 5 min or something having to constantly feed them is kinda pain and buying them over and over then resetting up their patrol path
3.have more patrol settings like patrol 1 2 3 4 after they go to patrol point 1 then head to point 2 3 then 4 then back to home then repeat it over and over
@Wurlshkins
You can use the replace function in notepad to do it. You have to move the data.dat file to another folder, rename the town, change all the names in the data.dat file, shutdown the server, move the file back, and restart the server.
@Scyntrus
Thanks for the information. Maybe, I should try replacing every old name to a new name. Maybe a lot of work, but if it works it will be great.
@Wurlshkins
In all honesty, I have never tried renaming a town, so I'm not sure exactly what would happen. When I look through my code, there are parts where odd things might happen. To be safe, I recommend deleting the "\plugins\TownyMobs\data.dat" file, which would delete every Towny Mob in the server. Theoretically, you could open that file with notepad and replace every occurrence of the old town name with the new name, but I've never tried and generally tell people "better not".
Love the concept. I will be using this.
Question:If I want to rename a town, what would I need to do? Kill the mobs?
People have been clamoring for this for what, months, and there's no comments after five days?
Well, I for one am thrilled to see this plugin come into existence. Thank you :D.