About CombatBlock
CombatBlock is a classic plugin that serves as a great addition to the RaidBlock (NoEscape) plugin.
This plugin features extensive settings and several types of modern design.
It has a cohesive style and pairs excellently with the RaidBlock plugin.
Provide your players with an optimized and stylish plugin that will operate quickly and seamlessly.
QuoteHow to install images?
Go to the /data/CombatBlock/ folder and transfer the Images folder from the archive there, then reload the plugin.
List of features:
UI Interface Variations:
Perfectly complements the RaidBlock plugin.
0 option |
1 option |
2 option |
QuoteExample of UI setting from the configuration:
"Background color (RGBA)": "0.1921569 0.1921569 0.1921569 1", "Icon color (RGBA)": "0 0.7764706 1 1", "Color of additional elements (RGBA)": "", "Main text color (RGBA)": "1 1 1 1", "Secondary text Color (RGBA)": "1 1 1 0.5019608", "Main color of the progress-bar (RGBA)": "0.3411765 0.5490196 0.9607843 1", "Background Color of the Progress Bar (RGBA)": "1 1 1 0.1019608", "Delay before the UI appears and disappears (for smooth transitions)": 0.222
Configuration of Additional Triggers:
You set the triggers for the plugin yourself.
- Attacking an NPC
- Receiving damage from an NPC
- Inflicting damage on a sleeping player
-
Deactivating combat-block upon death
Configuration of Restrictions During Combat-Block:
- Blocking teleportation
- Blocking trade
- Blocking the use of kits
- Blocking commands (Supports chat and console commands)
Permissions:
combatblock.ignore - with this permission, the player will have immunity to combat blocking.
Api:
Object CanCombatBlocked(BasePlayer player) Object CanCombatBlock(BasePlayer player) void OnCombatBlockStarted(BasePlayer player) void OnCombatBlockStopped(BasePlayer player)
Configuration:
Quote{ "Primary combat settings": { "Lockout time (seconds)": 150 }, "Trigger settings": { "Activate combat mode upon NPC attack (true - yes/false - no)": true, "Activate combat mode upon receiving damage from NPCs (true - yes/false - no)": true, "Activate combat block when dealing damage to a sleeping player (true - yes/false - no)": false, "Deactivate combat mode after death (true - yes/false - no)": true }, "Combat mode restrictions settings": { "Disable teleportation capability (true - yes/false - no)": true, "Disable the use of kits (true - yes/false - no)": true, "Disable trade functionality (true - yes/false - no)": true, "List of prohibited commands during active lockdown [Specify them without a slash (/)]": [ "commandExample" ] }, "Interface settings": { "Interface variant (0, 1, 2) - example: ": 0, "Interface layer: Overlay - will overlay other UI, Hud - will be overlaid by other interfaces": "Hud", "Vertical padding": 0, "Horizontal padding": 0, "Interface settings for variant 0": { "Background color (RGBA)": "0.1921569 0.1921569 0.1921569 1", "Icon color (RGBA)": "0 0.7764706 1 1", "Color of additional elements (RGBA)": "", "Main text color (RGBA)": "1 1 1 1", "Secondary text Color (RGBA)": "1 1 1 0.5019608", "Main color of the progress-bar (RGBA)": "0.3411765 0.5490196 0.9607843 1", "Background Color of the Progress Bar (RGBA)": "1 1 1 0.1019608", "Delay before the UI appears and disappears (for smooth transitions)": 0.222 }, "Interface settings for variant 1": { "Background color (RGBA)": "0.9607843 0.772549 0.7333333 0.7019608", "Icon color (RGBA)": "1 1 1 1", "Color of additional elements (RGBA)": "0.9215686 0.3058824 0.172549 1", "Main text color (RGBA)": "0.1921569 0.1921569 0.1921569 1", "Secondary text Color (RGBA)": "0.1320755 0.1320755 0.1320755 1", "Main color of the progress-bar (RGBA)": "0.9215686 0.3058824 0.172549 1", "Background Color of the Progress Bar (RGBA)": "1 1 1 0.4117647", "Delay before the UI appears and disappears (for smooth transitions)": 0.222 }, "Interface settings for variant 2": { "Background color (RGBA)": "0.1921569 0.1921569 0.1921569 1", "Icon color (RGBA)": "0.9411765 0.3137255 0.286 1", "Color of additional elements (RGBA)": "0.9568627 0.3607843 0.2627451 1", "Main text color (RGBA)": "1 1 1 1", "Secondary text Color (RGBA)": "1 1 1 0.5019608", "Main color of the progress-bar (RGBA)": "1 1 1 1", "Background Color of the Progress Bar (RGBA)": "1 1 1 0.4117647", "Delay before the UI appears and disappears (for smooth transitions)": 0.222 } }, "Setting IQChat": { "IQChat : Custom prefix in the chat": "[<color=#C26D33>CombatBlock</color>]", "IQChat : Custom avatar in the chat (If required)": "0", "IQChat : Use UI notifications": false } }
An excellent addition to this plugin: