NoCombatQuit
NoCombatQuit
Are you running a PvP server? This plugin is a must have! Stop players from combat logging when they are low on hearts.
Features
- Block combat logging
- Customize messages
- Customize combat time
- Custom command on combat log
- No enderpearls while in combat
- Disable certain commands while in combat
Installation
Just drag n' drop NoCombatQuit.jar into your plugins folder, and restart the server. There is a config file, which can be used to change messages, but the plugin will run just fine without any changes.
Configuration
Configuration is optional, as it will work without any changes, but it is recommended that you modify the config to suit your needs. Note: You may use color codes in the config, by typing &4 for red, etc.
- prefix: Shown infront of all plugin messages.
- message-ontag: Shown when you hit someone, or someone hits you.
- message-onlog: Shown when someone combat logs. {%p} is replaced with the players name.
- message-onsafe: Shown when the player is no longer in combat.
- message-incombat: Shown when the player is in combat and types /check.
- message-notincombat: Shown when the player is not in combat and types /check.
- message-nocommand: Shown when the player uses a disallowed command.
- message-noenderpearl: Shown when a player enderpearls while in combat.
- command: Command to execute when player combat logs (%killplayer% will kill the player, and %player% will be replaced with the players name)
- blocked-cmds: A list of commands that can't be executed while in combat.
- allowEnderpearls: true - allow enderpearls while in combat. false - stop enderpearls while in combat.
- monster_tag: true - toggles whether monsters hitting player will put them in combat.
- time: How long players remain in combat.
Permissions
- ncq.check | Allows player to use /ncq | Default: Everyone
Bugs
- None known
Commands
- /ncq - Checks whether the player is in combat.
Showcase
http://www.youtube.com/watch?v=6j03fklGeTs
Video Tutorial on the Plugin (Portuguese)
https://www.youtube.com/watch?v=HMn9nCfBnPA
Credits: (AbsintoJ/NoCombatQuit)
I added some commands I want disabled when they are in combat. All the commands that are added in the config, players can still use them while they are in combat. Maybe Im doing something wrong, but Im not sure.
Hi, I was wondering why I go into combat when hitting a cow/animals? Can this be fixed?
How to disable NCQ in SafeZone ???
@NathanTheDragon
Will fix.
Here's a bug for you:
The custom disabled commands, don't work. What I mean by this is, what ever command you specify is PERMANENTLY unusable for anyone, including an OP. Please fix this.
@Layania
Version 2.1 coming out as soon as it is approved! It fixes the problems with /ncq. I will add the permission for players to be checked soon. This was present in the last version, but that one wasn't working very well at all.
@rnoa i confirm the /ncq commands not working.
.
To make this plugin more usefull; it need some multiworld option.
2 clues :
- A config file option for enable world in use
or/and
- A permission enable use of this plugin like ncp.use
Keep the good work :)
Have just downloaded and installed it and the commands don't work :( It says Unknown command when I do /ncq and /ncq reload. I hope the plugin itself works.
@nashoxx
Do they have ncq.exempt permission? Are there any errors in console?
Plugin is not working well, some players are CombatLogging anyway, bypassing their deaths.
@Baalint04
Are you still getting this? I downloaded the latest version from curse website and bukkitdev, and I didn't get this message.
Hi! I can't download the plugin:
Server Error in '/' Application. Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] Curse.DownloadSecurity.SecureDownloadModule.ConfigureThrottling(Object sender, EventArgs e) in c:\Projects\Services\Repository\Framework\Curse.DownloadSecurity\SecureDownloadModule.cs:303 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +79 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +164
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18033
@ryanthemagi
I've changed the check command, and added a reload command.
Check is now /ncq, same permission, and /ncq reload, with permission node ncq.reload
Great plugin! I have 2 suggestions:
@MR_ANE622
Version 1.9 has this, you can enable/disable it in the config.
I need the option of tagging mobs
@Shintox
I will add the option to config
Video Tutorial on the Plugin
https://www.youtube.com/watch?v=HMn9nCfBnPA
Credits: (AbsintoJ/NoCombatQuit)
@lightniinja
Monster tagging a cool feature but please make make it so we can toggle weather or not we want monsters to tag players.
@MaybeOneDayiCan
Yes, it does.