Git Product home page Git Product logo

distributedmobspawns's Introduction

DistributedMobSpawns

See Spigot plugin listing for more info. This plugin will no longer be updated due to PaperMC/Paper#2171 being merged. However the plugin is still useful for older server versions without the patch.

Installation

Drag the plugin jar into the plugins folder and start the minecraft server.

Compiling

Clone the repo.

Use mvn to compile.

The jar file can be found in the target folder.

distributedmobspawns's People

Contributors

artnrg avatar kickash32 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

distributedmobspawns's Issues

Error on startup with Spigot 1.14

[21:44:21] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-1eece4f-09a453a (MC: 1.14) (Implementing API version 1.14-R0.1-SNAPSHOT)
[21:44:21] [Server thread/INFO]: Checking version, please wait...
[21:44:22] [Thread-11/INFO]: You are running the latest version`

[21:41:12] [Server thread/INFO]: [DistributedMobSpawns] Enabling DistributedMobSpawns v1.0
[21:41:12] [Server thread/ERROR]: [DistributedMobSpawns] Plugin DistributedMobSpawns v1.0 has failed to register events for class me.kickash32.distributedmobspawns.MobSpawnListener because com.destroystokyo.paper.event.entity.PlayerNaturallySpawnCreaturesEvent does not exist.
[21:41:12] [Server thread/ERROR]: Error occurred while enabling DistributedMobSpawns v1.0 (Is it up to date?)
java.lang.NoSuchMethodError: org/bukkit/Server$Spigot.getSpigotConfig()Lorg/bukkit/configuration/file/YamlConfiguration; (loaded from file:/C:/Users/Hunter/OneDrive%20-%20student.rockvalleycollege.edu/Documents/spigot13/spigot-1.14.jar by sun.misc.Launcher$AppClassLoader@fccd4c91) called from class me.kickash32.distributedmobspawns.DistributedMobSpawns (loaded from file:/C:/Users/Hunter/OneDrive%20-%20student.rockvalleycollege.edu/Documents/spigot13/plugins/distributedMobSpawns.jar by org.bukkit.plugin.java.PluginClassLoader@6fb7b66f).
at me.kickash32.distributedmobspawns.DistributedMobSpawns.onEnable(DistributedMobSpawns.java:30) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[spigot-1.14.jar:git-Spigot-1eece4f-09a453a]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352) [spigot-1.14.jar:git-Spigot-1eece4f-09a453a]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:416) [spigot-1.14.jar:git-Spigot-1eece4f-09a453a]
at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugin(CraftServer.java:458) [spigot-1.14.jar:git-Spigot-1eece4f-09a453a]
at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugins(CraftServer.java:372) [spigot-1.14.jar:git-Spigot-1eece4f-09a453a]
at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:441) [spigot-1.14.jar:git-Spigot-1eece4f-09a453a]
at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:258) [spigot-1.14.jar:git-Spigot-1eece4f-09a453a]
at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:762) [spigot-1.14.jar:git-Spigot-1eece4f-09a453a]
at java.lang.Thread.run(Thread.java:813) [?:1.8.0_212]

Nether Spawns Limited

Have a few players on our server who have built pigmen spawn platforms on the roof of the nether. However, with DMS installed, pigmen will spawn once, but then basically never spawn up there again unless someone uses /butcher to kill all mobs in the Nether.

MC Version: Paper 1.12.2 (build 1618)

Task #37 for DistributedMobSpawns v2.2.1 generated an exception

Version v.2.2.1 spamming console with this error on 1.12.2 paper:

java.lang.NoSuchMethodError: org.bukkit.entity.Entity.getEntitySpawnReason()Lorg/bukkit/event/entity/CreatureSpawnEvent$SpawnReason;
        at me.kickash32.distributedmobspawns.Util.wasNaturallySpawned(Util.java:154) ~[?:?]
        at me.kickash32.distributedmobspawns.Util.isNaturallySpawningAnimal(Util.java:112) ~[?:?]
        at me.kickash32.distributedmobspawns.EntityProcessor.update(EntityProcessor.java:40) ~[?:?]
        at me.kickash32.distributedmobspawns.UpdateMobCountsTask.run(UpdateMobCountsTask.java:21) ~[?:?]
        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64) ~[patched_1.12.2.jar:git-Paper-1618]
        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:423) ~[patched_1.12.2.jar:git-Paper-1618]
        at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:840) ~[patched_1.12.2.jar:git-Paper-1618]
        at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[patched_1.12.2.jar:git-Paper-1618]
        at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[patched_1.12.2.jar:git-Paper-1618]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[patched_1.12.2.jar:git-Paper-1618]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]

Version v.2.2.0 also broken, one player is getting almost all of the mobs

>dms stats
[Distributed Mob Spawns]
Format: [world] player: #Animal/Animal_Limit* #Monster/Monster_Limit* #Ambient/Ambient_Limit* #Watermob/Watermob_Limit*
These should only be used as a reference for troubleshooting
[world] Morpion_: 82/15 472/70 0/15 0/5
[world] Key: 2/15 10/70 22/15 39/5
[world] NotPurpleWolf: 18/15 28/70 10/15 0/5
[world] 99toLife: 110/15 3/70 0/15 0/5
[world] Neobenedict: 7/15 0/70 0/15 0/5
[world] DestinySdemise: 79/15 10/70 0/15 0/5
[world] BigMacShrek: 51/15 1/70 0/15 0/5
[world] ForAllOtherUses: 21/15 1/70 0/15 0/5
[world] sirkibel: 7/15 8/70 0/15 0/5
[world] FreshTap: 74/15 0/70 0/15 0/5
[world] Alex_W_03: 3/15 2/70 0/15 0/5
[world] MYspyy: 1/15 0/70 0/15 0/5
[world] Total: 1556/180 537/840 32/180 39/60
[world_nether] JayAlve: 0/15 75/70 0/15 0/5
[world_nether] coenbastiaan: 0/15 0/70 0/15 0/5
[world_nether] Total: 0/30 84/140 0/30 0/10
[world_the_end] hiimroselover: 0/15 41/70 0/15 0/5
[world_the_end] Total: 7/15 41/70 0/15 0/5
[hub] Total: 0/0 0/0 0/0 0/0

Minor: Error with Null Pointer?

There is a minor bug where the console has a few instances with the following error periodically.

[Server thread/ERROR]: Could not pass event CreatureSpawnEvent to DistributedMobSpawns v2.1.1
java.lang.NullPointerException: null

The error appears to report in groups of approximately 4 or 5 lasting at most a minute before the console is error free for a while. This repeats after 1-2 minutes. If I were to guess I'd say it looks most like the plugin getting stuck on one mob until that mob despawns or dies.

I am running v2.1.1 of Distributed Mob Spawns

Server Information
Running Paper version git-Paper-626 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)

Java Version '1.8.0_212'

Plugins (27): AnimatedFrames, BuycraftX, CoreProtect, CrazyCrates, CustomCommands, DistributedMobSpawns, Dynmap, Dynmap-WorldGuard, EssentialsX, FishinRoulette, GCore, Harbor, Holographic Displays, LuckPerms, MapManager, NuVotifier, PacketListenerAPI, PlanAnalytics, PlayerHeads, Shopkeepers, SuperbVote, Vault, WorldBorder, WorldEdit, WorldGuard

unknown mob: PHANTOM

Hey, I found this error on the console.

>.... [07:13:12 INFO]: [DMS] Error: unknown mob: PHANTOM
>.... [07:13:12 INFO]: [DMS] Error: unknown mob: PHANTOM

Runing:

>....�=>.... [07:18:32 INFO]: This server is running Paper version git-Paper-146 (MC: 1.14.4) (Implementing API version 1.14.4-R0.1-SNAPSHOT)
>.... [07:18:32 INFO]: Checking version, please wait...
>.... [07:18:32 INFO]: Previous version: git-Paper-134 (MC: 1.14.3)
>.... [07:18:32 INFO]: You are running the latest version

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.