Giter VIP home page Giter VIP logo

hordes's People

Contributors

riledupcrow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hordes's Issues

Suggestion: Add line-of-sight option

Could you add a line-of-sight spawning option in hordes?
That would be awesome. So we could get rid of useless mobs that are spawning in caves near a player (but which the player can not even see)

Mob ratio setting

This setting will control the chance that the particular type of mob will be allowed to be spawned.

Bukkit spawns mobs continuously until the limit is reached. This setting could be implemented as a number between 0 and 1, where 1 means that this mob will be allowed to spawn every time it tries and 0 means it will never be allowed to spawn.

For example reducing ratios for all mobs except Zombies will make other mobs spawn less frequently until the limit is reached by Zombies spawning freely.

Remove async mob checking

Async mob checking is unnecessary - it's fast enough for the main thread. It will prevent all those messages about concurrent modifications.

Hordes spawn issue

After doing /plugman reload Hordes (to make sure there are no active hordes) I try to do /hordes spawn Enchanted and it gives me this error.

null
12.10 16:28:13 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'hordes' in plugin Hordes v1.0.0
12.10 16:28:13 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[patched.jar:git-PaperSpigot-"4c7641d"]
12.10 16:28:13 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:146) ~[patched.jar:git-PaperSpigot-"4c7641d"]
12.10 16:28:13 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:666) ~[patched.jar:git-PaperSpigot-"4c7641d"]
12.10 16:28:13 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1189) [patched.jar:git-PaperSpigot-"4c7641d"]
12.10 16:28:13 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1001) [patched.jar:git-PaperSpigot-"4c7641d"]
12.10 16:28:13 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [patched.jar:git-PaperSpigot-"4c7641d"]
12.10 16:28:13 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [patched.jar:git-PaperSpigot-"4c7641d"]
12.10 16:28:13 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [patched.jar:git-PaperSpigot-"4c7641d"]
12.10 16:28:13 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_262]
12.10 16:28:13 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_262]
12.10 16:28:13 [Server] INFO at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [patched.jar:git-PaperSpigot-"4c7641d"]
12.10 16:28:13 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774) [patched.jar:git-PaperSpigot-"4c7641d"]
12.10 16:28:13 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [patched.jar:git-PaperSpigot-"4c7641d"]
12.10 16:28:13 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [patched.jar:git-PaperSpigot-"4c7641d"]
12.10 16:28:13 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [patched.jar:git-PaperSpigot-"4c7641d"]
12.10 16:28:13 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262]
12.10 16:28:13 [Server] INFO Caused by: java.lang.IllegalArgumentException: No enum constant org.bukkit.entity.EntityType.Wolf
12.10 16:28:13 [Server] INFO at java.lang.Enum.valueOf(Enum.java:238) ~[?:1.8.0_262]
12.10 16:28:13 [Server] INFO at org.bukkit.entity.EntityType.valueOf(EntityType.java:1) ~[patched.jar:git-PaperSpigot-"4c7641d"]
12.10 16:28:13 [Server] INFO at me.sin.hordes.Hordes.spawnHorde(Hordes.java:72) ~[?:?]
12.10 16:28:13 [Server] INFO at me.sin.hordes.HordesCommand.onCommand(HordesCommand.java:84) ~[?:?]
12.10 16:28:13 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched.jar:git-PaperSpigot-"4c7641d"]

Zapytanie

Plugin będzie działać z modami pod cauldronem?

Console error

Hi,
I just found this in my server logs:

[20:52:15] [Craft Scheduler Thread - 308/WARN]: Exception in thread "Craft Scheduler Thread - 308"
[20:52:15] [Craft Scheduler Thread - 308/WARN]: org.apache.commons.lang.UnhandledException: Plugin Hordes v1.2 generated an exception while executing task 24
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:859)
at java.util.ArrayList$Itr.next(ArrayList.java:831)
at org.bukkit.craftbukkit.v1_8_R3.CraftWorld.getEntities(CraftWorld.java:626)
at pl.betoncraft.hordes.Despawner.run(Despawner.java:57)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
... 3 more

generated an exception while executing task 19

Saw this error and thought I should share it.

[14:51:34 WARN]: [Hordes] Plugin Hordes v1.5 generated an exception while executing task 19
java.util.ConcurrentModificationException: null
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909) ~[?:1.8.0_212]
at java.util.ArrayList$Itr.next(ArrayList.java:859) ~[?:1.8.0_212]
at org.bukkit.craftbukkit.v1_13_R2.CraftWorld.getLivingEntities(CraftWorld.java:691) ~[patched_1.13.2.jar:git-Paper-625]
at pl.betoncraft.hordes.Despawner.run(Despawner.java:60) ~[?:?]
at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.13.2.jar:git-Paper-625]
at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) ~[patched_1.13.2.jar:git-Paper-625]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.13.2.jar:git-Paper-625]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_212]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_212]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]

Paper 1.13.2 build 625
Hordes plugin downloaded from Spigotmc.org

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.