Coder Social home page Coder Social logo

sirblobman / combatlogx Goto Github PK

View Code? Open in Web Editor NEW
149.0 9.0 48.0 38.23 MB

A modular Spigot plugin that prevents players from logging out during combat and has many expansions for extra features.

Home Page: https://www.spigotmc.org/resources/31689/

License: GNU General Public License v3.0

Java 100.00%
spigot combat players minecraft java pvp expansions discord bukkit spigot-plugin bukkit-plugin minecraft-plugin paper plugin

combatlogx's Introduction

CombatLogX

Code Size Build Status Crowdin Localization

Description

CombatLogX is a plugin made for the Spigot server software.
It has many combat-related features to add to your server.
One of the main features of this plugin are the Expansions, which are like modules that allow you to add different things and change how the plugin works.

Requirements

Main Features

  • Custom expansions that change how the plugin works
  • Tag players when they attack other players
  • Punish players that log out during combat

Installation Guide

  1. Download the CombatLogX.zip file from Jenkins or SpigotMC.
  2. Extract the contents of the CombatLogX.zip to your PC.
  3. Click the stop button on the panel. If your server doesn't use a panel, type stop into the console.
  4. Upload CombatLogX.jar and BlueSlimeCore.jar to your server /plugins/ folder.
  5. Upload the contents of CombatLogX/expansions to your server /plugins/CombatLogX/expansions folder.
  6. If the files were uploaded and extracted correctly, your server should have the following files:
    • File: /plugins/CombatLogX.jar
    • File /plugins/BlueSlimeCore.jar
    • Folder: /plugins/CombatLogX/
    • Folder: /plugins/CombatLogX/expansions/
    • Multiple Files: /plugins/CombatLogX/expansions/*.jar
  7. Delete the CombatLogX.zip file.
  8. Restart your server using the panel or your startup script.
  9. Edit the configuration files for the main plugin, languages, and expansions.
  10. Type the command /clx reload to reload the configuration files.
  11. If you want to remove an expansion, delete the jar file from /plugins/CombatLogX/expansions.

Downloads

Expansions

If you want to find out more about the expansions, please visit this page:
CombatLogX Documentation

You can also open the README files in each expansion folder.

Developer API

If you want to create expansions or learn how to use the CombatLogX API for V11/Beta, please visit this page:
API README

Sponsors

The people or organizations listed below were kind enough to fund my open-source projects!

Localization

A community translation project for CombatLogX is open. If you want to help with translations, please visit our Crowdin page.
https://crowdin.com/project/combatlogx-spigot-plugin

Localization Credits

You can view a list of contributions made to CombatLogX on our Crowdin page.
https://crowdin.com/project/combatlogx-spigot-plugin/reports/top-members

Support

Support is provided by creating a new issue, or by chatting with the Support Team on my discord.
Discord Link: https://discord.gg/XMq2agT

combatlogx's People

Contributors

acclarson avatar alessiodp avatar angeschossen avatar barpec12 avatar bloodmc avatar byteful avatar celebrate-future avatar dependabot[bot] avatar deprecatedprotocol avatar galacticwarrior9 avatar geolykt avatar kolakz avatar kovalski4 avatar krazyxwolf avatar olivoz avatar peytonpeck avatar pgmann avatar poslovitch avatar sirblobman avatar srbedrock avatar udeus avatar warriorrrr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

combatlogx's Issues

Enderpearl start combat

please add an option to enable disable start combat

with enderpearl
with egg
with snowball

WorldGuard hook error

[17:27:53] [Server thread/ERROR]: Could not pass event PlayerCombatEvent to CombatLogX v8.0.0.0
java.lang.NoSuchMethodError: com.sk89q.worldguard.bukkit.WorldGuardPlugin.getRegionManager(Lorg/bukkit/World;)Lcom/sk89q/worldguard/protection/managers/RegionManager;
	at com.SirBlobman.worldguard.WorldGuardUtil.getRegions(WorldGuardUtil.java:35) ~[?:?]
	at com.SirBlobman.worldguard.WorldGuardUtil.isSafeZone(WorldGuardUtil.java:41) ~[?:?]
	at com.SirBlobman.worldguard.CompatWorldGuard.pce(CompatWorldGuard.java:57) ~[?:?]
	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor1038.execute(Unknown Source) ~[?:?]
	at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at com.SirBlobman.combatlogx.utility.Util.call(Util.java:221) ~[?:?]
	at com.SirBlobman.combatlogx.listener.ListenBukkit.eve(ListenBukkit.java:67) ~[?:?]
	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor1021.execute(Unknown Source) ~[?:?]
	at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callEvent(CraftEventFactory.java:98) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:659) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:558) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:691) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at net.minecraft.server.v1_13_R2.EntityLiving.damageEntity0(EntityLiving.java:1516) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at net.minecraft.server.v1_13_R2.EntityHuman.damageEntity0(EntityHuman.java:911) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at net.minecraft.server.v1_13_R2.EntityLiving.damageEntity(EntityLiving.java:989) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at net.minecraft.server.v1_13_R2.EntityHuman.damageEntity(EntityHuman.java:824) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at net.minecraft.server.v1_13_R2.EntityPlayer.damageEntity(EntityPlayer.java:654) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at net.minecraft.server.v1_13_R2.EntityHuman.attack(EntityHuman.java:1086) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at net.minecraft.server.v1_13_R2.EntityPlayer.attack(EntityPlayer.java:1398) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:2004) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at net.minecraft.server.v1_13_R2.PacketPlayInUseEntity.a(PacketPlayInUseEntity.java:49) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at net.minecraft.server.v1_13_R2.PacketPlayInUseEntity.a(PacketPlayInUseEntity.java:6) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:12) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_181]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_181]
	at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1011) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:428) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:938) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:836) ~[patched_1.13.1.jar:git-Paper-"a3677899"]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]

Error spam on hit

When I hit a player, I get this:
https://pastebin.com/XWF5hMfn

I use the latest official release (5.2.0) and I use these expansions:

  • CheatPrevention (latest version)
  • CompatTowny (latest version)
  • CompatWorldGuard (latest version)
  • Notifier (latest version)

I have attempted re-installing the plugin but it didn't fix the error

PreciousStones Compatability

I am using PvpManager Premium and would like to change it to CombatLogX.

The question is, when they enter combat could they trespass the protections of "PreciousStones"?

Safezones need improvement

Spigot 1.12.2 latest
CombatLogX 5.2.2.2
Factions 2.13.6
WorldGuard 6.2.2-SNAPSHOT;1710-95b88ea
and a myriad of other plugins, all latest pulls

I installed CombatLogX with expansions

CheatPrevention.jar
CompatCrackShot.jar
CompatFactions.jar
CompatWorldGuard.jar
NotCombatLogX.jar​

and configured

...
cheat prevention:
  safezone:
    no entry: true
    mode: CANCEL
...

My typical world has a central small Factions SafeZone at the spawn point, a larger surrounding BufferZone, and an outer Wilderness. In the SafeZone, entities cannot attack (and players cannot build, but can attack entities). In the BufferZone, entities and players can attack each other (but players cannot build). In the Wilderness, all activities are allowed. The problem appears to be that if a player attacks a mob while in the SafeZone or the BufferZone, they cannot move, and they are reported as

[CombatLogX] You cannot enter a safe-zone while you are in combat!

What happens now:

  • If I enter into combat from within the SafeZone or the BufferZone, I cannot move or turn.

What should happen (IMHO):

  • Since entities can attack players in the BufferZone, it should not be considered a safe-zone for CombatLogX purposes. Safe-zones should be properly determined based on Factions safe zones and/or WorldGuard protected zones.
  • If a player enters into combat outside a safe-zone, they should not be able to enter a safe-zone until combat has expired.
  • If a player enters into combat from within a safe-zone, they should be able to move within it, and to leave the safe-zone.

Problems with Worldguard Extension

You can just break the forcefield and pass trough.

The knockback bugs a lot with anticheats, can you add something that instantly teleports 2 blocks from the region instead?

Thanks for your attention :)

Error with Parties integration (very spammy in console)

CombatLogX v. 5.2.2.0
Parties v. 2.1.3

[Server thread/ERROR]: Could not pass event PlayerCombatEvent to CombatLogX v5.2.2
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at com.SirBlobman.combatlogx.utility.Util.call(Util.java:176) [CombatLogX-5.2.2.0.jar:?]
at com.SirBlobman.combatlogx.listener.ListenBukkit.eve(ListenBukkit.java:69) [CombatLogX-5.2.2.0.jar:?]
at sun.reflect.GeneratedMethodAccessor372.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_151]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:92) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:579) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:482) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:611) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at net.minecraft.server.v1_12_R1.EntityLiving.damageEntity0(EntityLiving.java:1339) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at net.minecraft.server.v1_12_R1.EntityHuman.damageEntity0(EntityHuman.java:846) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at net.minecraft.server.v1_12_R1.EntityLiving.damageEntity(EntityLiving.java:863) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at net.minecraft.server.v1_12_R1.EntityHuman.damageEntity(EntityHuman.java:759) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at net.minecraft.server.v1_12_R1.EntityPlayer.damageEntity(EntityPlayer.java:577) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at net.minecraft.server.v1_12_R1.EntityArrow.a(EntityArrow.java:286) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at net.minecraft.server.v1_12_R1.EntityArrow.B_(EntityArrow.java:194) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at net.minecraft.server.v1_12_R1.EntityTippedArrow.B_(EntityTippedArrow.java:86) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at net.minecraft.server.v1_12_R1.World.entityJoinedWorld(World.java:1640) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at net.minecraft.server.v1_12_R1.World.h(World.java:1610) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at net.minecraft.server.v1_12_R1.World.tickEntities(World.java:1436) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at net.minecraft.server.v1_12_R1.WorldServer.tickEntities(WorldServer.java:665) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:814) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:405) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
Caused by: java.lang.NoClassDefFoundError: com/alessiodp/parties/utils/api/PartiesAPI
at com.SirBlobman.parties.PartyUtil.getAPI(PartyUtil.java:14) ~[?:?]
at com.SirBlobman.parties.PartyUtil.getParty(PartyUtil.java:19) ~[?:?]
at com.SirBlobman.parties.PartyUtil.canAttack(PartyUtil.java:31) ~[?:?]
at com.SirBlobman.parties.CompatParties.pce(CompatParties.java:34) ~[?:?]
at sun.reflect.GeneratedMethodAccessor692.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_151]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.12.jar:git-Spigot-596221b-9a1fc1e]
... 33 more

CompatTowny works incorrectly

Hello, we have been using your plugin for a long time. Thank you for this development.
The problem is that in the Towny plugin you can create town arenas with disconnected pvp in the town. It turns out that PVP can only be in the arena for residents of the town. What can be seen from this on the video. And so everything works correctly. Thanks in advance for your help. Write, if you need more information.
Video with problem: https://youtu.be/BUdFics4cNQ
Towny version: 0.92.12 (latest)
CombatLogX version: 7.2.0.0
Server version: spigot 1.12.2

still allow

hay
I just want to say that in your plugin is issue cuz when you are in combat you can still use /spawn and /home.
Even if this's been blocked.

Multiple problems

CombatLogX update checker claims there is a new ver (5.2.2.1) yet I just downloaded this off the github (ver 5.2.2.0)

Also, this error appears when I start my server and it tries to load the "cheat prevention" expansion

[23:54:10 ERROR]: Could not load 'plugins\CheatPrevention.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:150) ~[patched_1.12.2.jar:git-Paper-1284]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136) [patched_1.12.2.jar:git-Paper-1284]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.loadPlugins(CraftServer.java:307) [patched_1.12.2.jar:git-Paper-1284]
at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:225) [patched_1.12.2.jar:git-Paper-1284]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616) [patched_1.12.2.jar:git-Paper-1284]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_151]
Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
... 6 more
[23:54:10 ERROR]: Could not load 'plugins\CompatFactions.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:150) ~[patched_1.12.2.jar:git-Paper-1284]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136) [patched_1.12.2.jar:git-Paper-1284]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.loadPlugins(CraftServer.java:307) [patched_1.12.2.jar:git-Paper-1284]
at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:225) [patched_1.12.2.jar:git-Paper-1284]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616) [patched_1.12.2.jar:git-Paper-1284]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_151]
Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
... 6 more

EDIT:

Here is another error, that is being spit out when compatfactions expansion is trying to be loaded

[23:57:53 ERROR]: Could not load 'plugins\CompatFactions.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:150) ~[patched_1.12.2.jar:git-Paper-1284]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136) [patched_1.12.2.jar:git-Paper-1284]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.loadPlugins(CraftServer.java:307) [patched_1.12.2.jar:git-Paper-1284]
at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:225) [patched_1.12.2.jar:git-Paper-1284]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616) [patched_1.12.2.jar:git-Paper-1284]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_151]
Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
... 6 more

WorldGuard PlayerMoveEvent error

CombatLogX: v8.0.0.3
WorldGuard: 7.0.0-SNAPSHOT;1753-0dc5781
This server is running Paper version git-Paper-366 (MC: 1.13.1) (Implementing API version 1.13.1-R0.1-SNAPSHOT)

[Server thread/ERROR]: Could not pass event PlayerMoveEvent to CombatLogX v8.0.0.3
java.lang.NoSuchMethodError: com.sk89q.worldguard.bukkit.WorldGuardPlugin.getRegionManager(Lorg/bukkit/World;)Lcom/sk89q/worldguard/protection/managers/RegionManager;
	at com.SirBlobman.worldguard.WorldGuardUtil.getRegions(WorldGuardUtil.java:35) ~[?:?]
	at com.SirBlobman.worldguard.WorldGuardUtil.isSafeZone(WorldGuardUtil.java:41) ~[?:?]
	at com.SirBlobman.worldguard.olivolja3.ForceField.getChangedBlocks(ForceField.java:101) ~[?:?]
	at com.SirBlobman.worldguard.olivolja3.ForceField.updateViewedBlocks(ForceField.java:50) ~[?:?]
	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor789.execute(Unknown Source) ~[?:?]
	at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[patched_1.13.1.jar:git-Paper-366]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched_1.13.1.jar:git-Paper-366]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.13.1.jar:git-Paper-366]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513) ~[patched_1.13.1.jar:git-Paper-366]
	at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1009) ~[patched_1.13.1.jar:git-Paper-366]
	at net.minecraft.server.v1_13_R2.PacketPlayInFlying.a(SourceFile:126) ~[patched_1.13.1.jar:git-Paper-366]
	at net.minecraft.server.v1_13_R2.PacketPlayInFlying$PacketPlayInPositionLook.a(SourceFile:18) ~[patched_1.13.1.jar:git-Paper-366]
	at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:12) ~[patched_1.13.1.jar:git-Paper-366]
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_181]
	at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_181]
	at net.minecraft.server.v1_13_R2.SystemUtils.a(SystemUtils.java:109) ~[patched_1.13.1.jar:git-Paper-366]
	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1016) ~[patched_1.13.1.jar:git-Paper-366]
	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:434) ~[patched_1.13.1.jar:git-Paper-366]
	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:943) ~[patched_1.13.1.jar:git-Paper-366]
	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:841) ~[patched_1.13.1.jar:git-Paper-366]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_181]

Request + minor bug

Would it be possible to have an npc spawned without having to install citizens? A different combattag plugin has this and it's really nice as I don't want to install a large plugin like citizens, and I really love this plugin!

My bug report: When using color codes in the "you are not in combat", they work fine in chat, but in the boss bar, it doesn't work. This is what I mean: http://i.imgur.com/AoaFD18.png

Could not pass event PlayerUntagEvent to CombatLogX

Citizens dev 1506
CombatLogX as of commit 34e0b97
With the Citizens expansion.

[16:10:49] [Server thread/ERROR]: Could not pass event PlayerUntagEvent to CombatLogX v6.0.0.0
org.bukkit.event.EventException: null
	at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:72) ~[patched_1.12.2.jar:git-Paper-1337]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched_1.12.2.jar:git-Paper-1337]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.12.2.jar:git-Paper-1337]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:515) [patched_1.12.2.jar:git-Paper-1337]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:500) [patched_1.12.2.jar:git-Paper-1337]
	at com.SirBlobman.combatlogx.utility.Util.call(Util.java:174) [CombatLogX.jar:?]
	at com.SirBlobman.combatlogx.listener.ListenBukkit.quit(ListenBukkit.java:132) [CombatLogX.jar:?]
	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor585.execute(Unknown Source) [?:?]
	at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) [patched_1.12.2.jar:git-Paper-1337]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) [patched_1.12.2.jar:git-Paper-1337]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [patched_1.12.2.jar:git-Paper-1337]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:515) [patched_1.12.2.jar:git-Paper-1337]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:500) [patched_1.12.2.jar:git-Paper-1337]
	at net.minecraft.server.v1_12_R1.PlayerList.disconnect(PlayerList.java:429) [patched_1.12.2.jar:git-Paper-1337]
	at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1147) [patched_1.12.2.jar:git-Paper-1337]
	at net.minecraft.server.v1_12_R1.NetworkManager.handleDisconnection(NetworkManager.java:342) [patched_1.12.2.jar:git-Paper-1337]
	at net.minecraft.server.v1_12_R1.ServerConnection.c(ServerConnection.java:184) [patched_1.12.2.jar:git-Paper-1337]
	at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:941) [patched_1.12.2.jar:git-Paper-1337]
	at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:426) [patched_1.12.2.jar:git-Paper-1337]
	at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:767) [patched_1.12.2.jar:git-Paper-1337]
	at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:665) [patched_1.12.2.jar:git-Paper-1337]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_162]
Caused by: java.lang.NullPointerException
	at net.citizensnpcs.api.trait.trait.Inventory.setContents(Inventory.java:160) ~[citizens-2.0.22-SNAPSHOT.jar:?]
	at com.SirBlobman.citizens.utility.NPCUtil.createNPC(NPCUtil.java:42) ~[CompatCitizens.jar:?]
	at com.SirBlobman.citizens.ListenCitizens.pue(ListenCitizens.java:29) ~[CompatCitizens.jar:?]
	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor593.execute(Unknown Source) ~[?:?]
	at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[patched_1.12.2.jar:git-Paper-1337]
	... 21 more

Combat Kick Glitch

There seems to be a glitch when players leave in combat they can't reconnect untill I restart. I haven't seen any errors. Only this
[10:26:30] [Server thread/INFO]: �(�CombatLog�) �Kiwifi left during combat!�[m[10:26:30] [Server thread/INFO]: [-] | FNG | Kiwifi[10:26:30] [Server thread/INFO]: �For parameter 'player': Caller is not a player�[m[10:26:30] [Server thread/INFO]: �Usage: /none�
Player's message: https://prnt.sc/jk9bcn
It seems the player gets kicked but the server still see's the account online.

Suggestion

Hello,
Please add a feature where you cant enderpearl back to safe areas like no pvp regions

Boss Bar Color

Hi
How can i change boss bar to "old version"?
OLD
before
New
after

Problem with language

Hi
I'm trying remove all chat messages but when i remove phrases and leave '' or
plugins is creating missing phrases ;--;

prefix: '[&aAnti-Logout&r] » '
target: ''
blocked: ''
enderpearl cooldown: ''
quit: ''
fail: ''
action bar: ''
boss bar: '&aANTI-LOGOUT&r » &6%1ss'
reload config: CFG RELOADED
towny:
no entry:
scoreboard:
title: []
list: []
attack:
target mob:
attack mob:
expire:
in combat:
not in combat:
open inventory:

Result

prefix: '[&aAnti-Logout&r] » '
target: ''
blocked: ''
enderpearl cooldown: ''
quit: '&6%s&r wylogowal sie podczas walki!'
fail: ''
action bar: ''
boss bar: '&aANTI-LOGOUT&r » &6%1ss'
reload config: CFG RELOADED
towny:
no entry: You cannot enter this town while you are in combat!
scoreboard:
title: []
list: []
attack: You attacked &5%1s&r! You are now in combat!
target mob: You were attacked by a mob named &5%1s&f! You are now in combat!
attack mob: You attacked a mob named &5%1s&f! You are now in combat!
expire: You are no longer in combat!
in combat: You are still in combat for &b%1s&f seconds!
not in combat: You are not in combat
open inventory: You cannot open storage blocks during combat

Just a bug

In our spawn (which is a faction SafeZone) we have invisable entities (or holograms, whatever you call them) that show text and stuff. When an OP hits them, the combatlogx plugin kicks in and tries to throw the OP out of the SZ (which fails) which just makes the OP shake around back and forth

Also, when an OP hits someone (in the above mentioned scenario inside the SZ) the OP and the player will shake back and forth the same way, except the player is usually kicked for flying or dies.

It would be cool if the factions compatibility "expansion" would stop these kinds of things from happening.

Include configuration files in the JARs

A few requests, packed into one issue.

  • Please include combat.yml (why not config.yml like every other plugins?) and language.yml in the JAR, so that they can easily be compared with previous versions (which I save for comparison). The current comparison process involves unzipping the ZIP file, installing the JAR on a clean test directory to generate the YML files, then comparing them with the running versions in a different directory. A lot of work, compared with just having them to hand.
  • Please include 'Citizens Compatibility/data.yml' and NotCombatLogX/not.yml in the JAR as well; same reasoning.
  • Please remove the space in 'Citizens Compatibility/'. It overcomplicates file checking, for no discernible reason.

Force Fields and NPCs

Hey,
Thanks for adding the last feature request, I have another one that might interest you.
So there is a plugin called CombatTagPlus (https://www.spigotmc.org/resources/combattagplus.4775/)
In that plugin there is a feature where it Spawn's a forcefield and it doesn't let you get back to the safe zone. I know that your plugin has something similar where you get slightly teleported backwards but I think it would be cool to add a forcefield to help keep the player immersed and stop him from getting teleported.

Thank you for your time.

Boss bar seems to bug out when fighting multiple mobs in quick succession.

CombatLogX as of commit 34e0b97

When fighting multiple mobs at the same time and killing them in quick succession, the BossBar seems to sometimes bug out. You sometimes get 2 bars for a bit with one frozen - or even sometimes multiple bars stacked on top of each other.

  combat timer: 30
  boss bar:
    enable: true
    color: RED
  mobs:
    combat: true
    blacklist:
    - PIG
    - COW
  remove combat on enemy death: true

link

disable update-checker on config do not work

update checker: false
but on log console of startup still reporting an update:

[04:56:57] [Craft Scheduler Thread - 14/INFO]: ========================================================
[04:56:57] [Craft Scheduler Thread - 14/INFO]: CombatLogX Update Checker
[04:56:57] [Craft Scheduler Thread - 14/INFO]: There is a new update available!
[04:56:57] [Craft Scheduler Thread - 14/INFO]: Latest Version: 5.2.2.0
[04:56:57] [Craft Scheduler Thread - 14/INFO]: Your Version: 5.2.1 Release
[04:56:57] [Craft Scheduler Thread - 14/INFO]: Get it here: https://www.spigotmc.org/resources/combatlogx.31689/
[04:56:57] [Craft Scheduler Thread - 14/INFO]: ========================================================

NoClassDefFoundError

Spigot 1.12.2 latest
CombatLogX 7.0.0.0
I updated the config, but perhaps I missed something.

plugins/CombatLogX/expansions contains:

CompatCitizens/
CompatCitizens-7.0.0.0.jar
CompatFactions/
CompatFactions-7.0.0.0.jar
CompatPlaceholderAPI-7.0.0.0.jar
CompatWorldGuard/
CompatWorldGuard-7.0.0.0.jar
NotCombatLogX/
NotCombatLogX-7.0.0.0.ja

As you can see, I removed the expansions that I don't need. On start-up, the following error is generated:

[21:33:15] [Server thread/WARN]: java.lang.NoClassDefFoundError: com/SirBlobman/preciousstones/config/ConfigPreciousStones
[21:33:15] [Server thread/WARN]: 	at com.SirBlobman.factions.CompatFactions.enable(CompatFactions.java:36)
[21:33:15] [Server thread/WARN]: 	at com.SirBlobman.combatlogx.expansion.Expansions.loadExpansion(Expansions.java:39)
[21:33:15] [Server thread/WARN]: 	at com.SirBlobman.combatlogx.expansion.Expansions.loadExpansions(Expansions.java:84)
[21:33:15] [Server thread/WARN]: 	at com.SirBlobman.combatlogx.CombatLogX$1.run(CombatLogX.java:41)
[21:33:15] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76)
[21:33:15] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353)
[21:33:15] [Server thread/WARN]: 	at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739)
[21:33:15] [Server thread/WARN]: 	at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406)
[21:33:15] [Server thread/WARN]: 	at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679)
[21:33:15] [Server thread/WARN]: 	at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577)
[21:33:15] [Server thread/WARN]: 	at java.lang.Thread.run(Thread.java:748)
[21:33:15] [Server thread/WARN]: Caused by: java.lang.ClassNotFoundException: com.SirBlobman.preciousstones.config.ConfigPreciousStones
[21:33:15] [Server thread/WARN]: 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
[21:33:15] [Server thread/WARN]: 	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:152)
[21:33:15] [Server thread/WARN]: 	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:100)
[21:33:15] [Server thread/WARN]: 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[21:33:15] [Server thread/WARN]: 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[21:33:15] [Server thread/WARN]: 	... 11 more

It is not clear to me why CompatFactions requires ConfigPreciousStones, or where that is defined. Note that adding

CompatPreciousStones-7.0.0.0.jar

to plugins/CombatLogX/expansions and restarting did not resolve the issue.

Towny SafeZone Freezing

When you tag a player in a pvp-enabled town, you get frozen for 10 seconds and get spammed with the message "You cannot enter a safezone while in combat" even though it's not a safe zone, since it's pvp-enabled, I have the towny expansion so that's not the issue.
You're an amazing dev and this plugin is great, I really appreciate all the quick support and bugfixes you do!

PvP timer randomly activates on normal things

Hi is there a way to disable fall, fire, and potion damage from toggling pvp timer
also can it be possible that tagged players can still be hit in safezones aslong as they are tagged

DeluxeMenus bug.

Hi, i blocked warp command from config. But they can still use commands from DeluxeMenus i think this bug appears on Chest Commands too. So pls fix that. And i love your plugin so keep doing that :D

Towny PvP Bug

When in a town sometimes players don't get combat tagged and in an outpost they never get combat tagged, also can you add an option so we can disable that they can't enter townys in combat?

SavageFactions compatibility

Spigot 1.13.1 latest
CLX 9.0.0.0-b8
SavageFactions 1.6.9.5-U0.2.1-RC-1.4-RC-2

On start-up:

[06:59:00] [Server thread/WARN]: java.lang.NoSuchMethodError: com.SirBlobman.combatlogx.utility.Util.regEvents([Lorg/bukkit/event/Listener;)V
[06:59:00] [Server thread/WARN]:        at com.SirBlobman.factions.CompatFactions.enable(CompatFactions.java:38)
[06:59:00] [Server thread/WARN]:        at com.SirBlobman.combatlogx.expansion.Expansions.loadExpansion(Expansions.java:48)
[06:59:00] [Server thread/WARN]:        at com.SirBlobman.combatlogx.expansion.Expansions.loadExpansions(Expansions.java:115)
[06:59:00] [Server thread/WARN]:        at com.SirBlobman.combatlogx.CombatLogX.lambda$onEnable$0(CombatLogX.java:50)
[06:59:00] [Server thread/WARN]:        at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftTask.run(CraftTask.java:76)
[06:59:00] [Server thread/WARN]:        at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361)
[06:59:00] [Server thread/WARN]:        at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:893)
[06:59:00] [Server thread/WARN]:        at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417)
[06:59:00] [Server thread/WARN]:        at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835)
[06:59:00] [Server thread/WARN]:        at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733)
[06:59:00] [Server thread/WARN]:        at java.lang.Thread.run(Thread.java:748)

Not checking for updates?

I only have CombatLogX as the only plugin and I get this (some other plugins have the same issue atm):
http://imgur.com/a/vNhRM
Also how do I just allowed all potions during combat? Whenever I remove that list it just gets reset

Default Language File "blocked command"

In the language.yml file, in this string: "blocked command: 'You cannot do /{command} during combat!'" it should be : "blocked command: 'You cannot do {command} during combat!'" without the "/" before "{command}" because with the "/" you'll get (for example) "//fly" and without it you'll get "/fly"

Console spamming errors

Console it spamming errors and I'm not sure why it happens:
[13:27:55 ERROR]: Could not pass event CombatTimerChangeEvent to CombatLogX v5.1.0 Release org.bukkit.event.EventException: null at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-edd0396-20ab5d3] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-edd0396-20ab5d3] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [spigot.jar:git-Spigot-edd0396-20ab5d3] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [spigot.jar:git-Spigot-edd0396-20ab5d3] at com.SirBlobman.combatlogx.utility.Util.call(Util.java:176) [CombatLogX.jar:?] at com.SirBlobman.combatlogx.Combat.run(Combat.java:35) [CombatLogX.jar:?] at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:71) [spigot.jar:git-Spigot-edd0396-20ab5d3] at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353) [spigot.jar:git-Spigot-edd0396-20ab5d3] at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot.jar:git-Spigot-edd0396-20ab5d3] at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot.jar:git-Spigot-edd0396-20ab5d3] at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot.jar:git-Spigot-edd0396-20ab5d3] at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot.jar:git-Spigot-edd0396-20ab5d3] at java.lang.Thread.run(Unknown Source) [?:1.8.0_121] Caused by: java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String at com.SirBlobman.cheat.CheatPrevention.ctce(CheatPrevention.java:57) ~[?:?] at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-edd0396-20ab5d3] ... 12 more

Teleport in combat from API

Is There a way from api to teleport a player or remove it from combatlog?

I want to teleport a player in combat from my plugin but i don't want to enable in the config the teleport.

Help? Factions compat issue

I was in someones land with a friend, and I struck my friend. Then it tried to knock me out of the land that was deemed a 'safezone' and spammed my chat with such "you can not enter a safezone"

Why would faction land be considerd a safezone?

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.