Spigot PlayerModification [Modify per-world players' Health, Movement speed, Old PVP mechanics, and more] 2.2.9

Modify per-world players' Health, Speed, Old PVP mechanics, Allow-PVP, and more]

  1. MrDefault submitted a new resource:

    EditPlayerBase [Edit default health, movementspeed, flyspeed etc.] - You can edit Default

    Read more about this resource...
     
  2. The default fall distance is about 3.69, 3.7 tho, something close to that
     
  3. Thank you i will check again.
     
  4. Suggestion:

    Per world
    Per Region
    Anti Jump

    and on a server called vanitymc in there hub people can just like go up 1 blocks like its nothing 1.8+ also maybe a way to disable everyone's autojump?

    also jumping
     
  5. Thanks for idea. I'll try.
     
  6. Also disabling delay pulling out an item in hand its like a 1.10 feature I think same with disable second hand?
     
  7. What is your minecraft server version?
     
  8. right now 1.12.2
     
  9. Got an error:
    Code (Text):
    [02:16:40 ERROR]: Could not pass event EntityDamageByEntityEvent to PlayerModification v2.1.0
    java.lang.ClassCastException: class org.bukkit.craftbukkit.v1_17_R1.entity.CraftTippedArrow cannot be cast to class org.bukkit.entity.Player (org.bukkit.craftbukkit.v1_17_R1.entity.CraftTippedArrow and org.bukkit.entity.Player are in unnamed module of loader 'app')
            at com.stand.Listener.PlayerOptionalListener.onCombat(PlayerOptionalListener.java:14) ~[PlayerModification-2.1.0.jar:?]
            at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor56.execute(Unknown Source) ~[?:?]
            at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:247) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:1128) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:1002) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:957) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:1160) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at net.minecraft.world.entity.LivingEntity.damageEntity0(LivingEntity.java:2097) ~[app:?]
            at net.minecraft.world.entity.player.Player.damageEntity0(Player.java:1058) ~[app:?]
            at net.minecraft.world.entity.LivingEntity.hurt(LivingEntity.java:1373) ~[app:?]
            at net.minecraft.world.entity.player.Player.hurt(Player.java:965) ~[app:?]
            at net.minecraft.server.level.ServerPlayer.hurt(ServerPlayer.java:1033) ~[app:?]
            at net.minecraft.world.entity.projectile.AbstractArrow.onHitEntity(AbstractArrow.java:409) ~[app:?]
            at net.minecraft.world.entity.projectile.Projectile.onHit(Projectile.java:225) ~[app:?]
            at net.minecraft.world.entity.projectile.Projectile.preOnHit(Projectile.java:216) ~[app:?]
            at net.minecraft.world.entity.projectile.AbstractArrow.tick(AbstractArrow.java:241) ~[app:?]
            at net.minecraft.world.entity.projectile.Arrow.tick(Arrow.java:112) ~[app:?]
            at net.minecraft.server.level.ServerLevel.tickNonPassenger(ServerLevel.java:1204) ~[app:?]
            at net.minecraft.server.level.ServerLevel.lambda$tick$7(ServerLevel.java:802) ~[app:?]
            at net.minecraft.world.level.entity.EntityTickList.forEach(EntityTickList.java:43) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:781) ~[app:?]
            at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1652) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:528) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1507) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1300) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:322) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at java.lang.Thread.run(Thread.java:833) ~[?:?]
    [02:16:42 INFO]: GamerVariado issued server command: /em
    How can i solved it?
     
  10. Fixed!! Thank you for reported the bug to me. ;)
     
  11. Hey, I have a plugin that adds hearts by levels individually to the player, how can I disable modifying the amount of hearts in your plugin??
     
  12. Hello IChrisJm99, My plugin is incompatible with other plugin which modify player's health, Movement speed and Health scale except item's attributes modification.
     
  13. How can I disable the plugin in certain worlds?

    You should add something like whitelist/blacklist in case you want the plugin to work only on some worlds.

    Or rather be able to disable some options for example, in my case I would like to disable only the heart limit on some worlds.

    And Got another error
    Code (YAML):
    [16:11:07 ERROR]: Could not pass event PlayerRespawnEvent to PlayerModification v2.1.1
    java.lang.IllegalArgumentException
    : Max health must be greater than 0
            at org.apache.commons.lang.Validate.isTrue(Validate.java:136) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at org.bukkit.craftbukkit.v1_17_R1.entity.CraftLivingEntity.setMaxHealth(CraftLivingEntity.java:145) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at org.bukkit.craftbukkit.v1_17_R1.entity.CraftPlayer.setMaxHealth(CraftPlayer.java:1972) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at com.stand.Listener.PlayerMainListener.onPlayerRespawn(PlayerMainListener.java:121) ~[PlayerModification-2.1.1.jar:?]
            at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor52.execute(Unknown Source) ~[?:?]
            at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at net.minecraft.server.players.PlayerList.moveToWorld(PlayerList.java:917) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at net.minecraft.server.players.PlayerList.moveToWorld(PlayerList.java:820) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at net.minecraft.server.players.PlayerList.respawn(PlayerList.java:815) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at net.minecraft.server.network.ServerGamePacketListenerImpl.handleClientCommand(ServerGamePacketListenerImpl.java:2639) ~[app:?]
            at net.minecraft.network.protocol.game.ServerboundClientCommandPacket.handle(ServerboundClientCommandPacket.java:24) ~[app:?]
            at net.minecraft.network.protocol.game.ServerboundClientCommandPacket.handle(ServerboundClientCommandPacket.java:6) ~[app:?]
            at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:56) ~[app:?]
            at net.minecraft.server.TickTask.run(TickTask.java:18) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:149) ~[app:?]
            at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[app:?]
            at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1450) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer.java:192) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:122) ~[app:?]
            at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1428) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1421) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:132) ~[app:?]
            at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1399) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1310) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:322) ~[patched_1.17.1.jar:git-Purpur-"08dd6c7"]
            at java.lang.Thread.run(Thread.java:833) ~[?:?]
     
    #20 lChrisJm99, Mar 12, 2022
    Last edited: Mar 12, 2022