[Discontinued] PhantomCombat
1.15.3-SNAPSHOT[1.15-1.16] CombatMode | PvP Stats | Death Location | PvP Effects | Grace Period | + more!
1.15.3-SNAPSHOTlatestv1.15.3-SNAPSHOTAug 22, 2020 Hi everyone, I would like to make two announcements, and also comment on this update. I hope both announcements explain the lack of updates to this plugin. Psst- thanks for 1000 downloads <3 Announcement 1 I am taking a break from developing and supporting all of my SpigotMC plugins. That means, I will not touch the code or assist with any queries or issues. I do not have an ETA of when I will make a decision if I will continue or cease developing some or all of my plugins on this website. This has been the situation for about a month now, due to ever piling amounts of studies and rapidly decreasing motivation as this hobby has become unpaid work. Announcement 2 PhantomCombat is going through a complete re-write which will transform it into a premium-quality plugin. I have not pushed the re-write code to the repository yet. About this Update This update was made by @ChiefMoneyBags to add support for the latest version of TempFly. He has very kindly given me permission to release his fix as an update to the resource. I have not tested this version and I did not build the file, so it might be worth testing this version on a separate test-designated server. I trust Chief1.15.2-SNAPSHOTv1.15.2-SNAPSHOTJun 26, 2020 Important Information · This update was tested. · No file changes have occured. Changelog Code (Text): v1.15.2-SNAPSHOT: - Improvement | Plugin now supports 1.16.1 (as well as 1.15.x) - Improvement | Plugin is now compiled in 1.16.1. - Improvement | Updated libraries, they were quite out of date. - Improvement | Renamed a few Utils methods. - Improvement | Changed the compatibility checker to allow for multiple supported server versions instead of just one.1.15.1-SNAPSHOTv1.15.1-SNAPSHOTMay 12, 2020 Update Notes In this update, I fixed a bug and made the plugin factor in projectiles shot by players and entities. Testing Status This release was tested. File Changes No file changes. Full Changelog Code (Text): 1.15.1-SNAPSHOT: - Addition | Projectiles are now factored in with Combat Mode and Grace Period systems. e.g. use an arrow, hit a player, combat started. - Fix | Non-living entities, such as dropped items, no longer attempt to bleed and cause errors. Thanks Thanks to Ivan8or for reporting the issue to do with projectiles.1.15.0-SNAPSHOTv1.15.0-SNAPSHOT | WorldGuard!May 11, 2020 Update Notes: · This update adds in WorldGuard support for the 'pvp' flag. · I apologise for the lack of updates, PhantomCombat is one of my quieter resources and thus it receives less attention. If you have any suggestions for the plugin, please send them to me, I will be happy to consider them. Testing Status: · This release was tested. Due to the new features being added, it's still possible that a bug had slipped past my testing and made it into the release. I tested this with and without WorldGuard and I didn't find any bugs. · I did make a quick change before posting this and didn't test that but I am 100% confident that it will work great. File Changes: · No file changes. Changelog: · Addition | Added WorldGuard support for 'pvp' flag in CombatMode, Blood, ArmorHitSound and GracePeriod modules · Improvement | Added checks to Blood and ArmorHitSound to check if the attack did any damage (some plugins remove the damage but not cancel the event) · Improvement | Added 'TempFly' and 'WorldGuard' to softdepends in internal plugin.yml Upcoming (not soon, but it will happen): · Plugin rewrite - not sure if I will do the whole thing or most of it. · This was my first resource on SpigotMC, its code dates back a few months. Since then, I've spent quite a bit of time tinkering with my code, learning new things and changing my style. · The plugin is probably due for a recode (again, the whole thing or part of it, I'm not sure yet) due to this. · Introduced features - file caching for better performance, new features such as damage indicators and a few extras · Plugin will also depend on PhantomLib in the future as will most of my plugins Thanks: · Ivan8or and Leasoncre for giving me a nudge to add this in · Eyrian for providing the WorldGuard code in my LevelledMobs plugin which I was easily able to transfer to PhantomCombat and adapt it for its own use. · You, for using the plugin. Where would it be without you?1.14.5-SNAPSHOTv1.14.5-SNAPSHOTApr 28, 2020 File changes: none Changes: · Fixed 'debug' looking message sent from console when a player entered combat · I made the commands list empty by default to fix this. · Reported by @over_brave Sorry about that!1.14.4-SNAPSHOTv1.14.4-SNAPSHOTApr 27, 2020 Settings.yml was updated + increased its file version to 10 Latest settings file is under quick links on the plugin page Changes from v1.14.2-v1.14.4 Code (Text): 1.14.2-SNAPSHOT - Attempt fix 'Enabled Gamemodes Not Factoring In Attacker's Gamemode' 1.14.3-SNAPSHOT - Updated 'settings.yml' + increased its version to 10 - Added 'commands on combat' to settings. these commands are executed by the console when a player enters combat. allows for a %player% placeholder too. - Fixed defender being put into combat when attacker is in a disabled combat gamemode 1.14.4-SNAPSHOT - Fixed - %player% not being replaced in console commands on combat Thanks Leasoncre for reporting bugs and making feature requests1.14.1-SNAPSHOTv1.14.1-SNAPSHOTApr 26, 2020 Code (Text): Changelog: 1.14.1-SNAPSHOT - Updated 'settings.yml' + increased its version to 9 - Added 'remove combat on gamemode switch' so admins switching to creative mode no longer have combat mode on (allows them to fly as well) - Fixed missing file defaults in 'CombatModeListener', still need to fix the defaults in the classes 'DeathCoordsListener', 'GracePeriodListener', 'PvPSettingsListener', 'PvPToggleListener' and 'StatsListener'. Any suggestions for the plugin are very welcome Need support? Cheers everyone, have a great day.1.13.0-SNAPSHOTv1.13.0-SNAPSHOTApr 19, 2020 Hi all, this adds no features, but a fix and quite a lot of code changes. notes: · No file changes. · This version wasn't tested, but highly likely to work. If something is broken, or you have a question, feature request or anything else, feel free to contact me over my support discord. changes: · added 'isCancelled' check to all events (where possible) before they do anything · Should make it so players hitting players in a protected area not put them in combat · several code changes · Over the three or four months since this was released, my code style has changed and I have learnt new stuff. Only now I realised that there was quite a bit of poor code lying around. I've repaired half of it so far. I will probably have to recode some classes. · renamed classes to better names (LBlood -> BloodListener) · removed statics everywhere! · better file lib usage: · half of the plugin's code now uses 'defaults', so there will be less NPEs from a bad config · I will fix the other half of the code later it's just taking time · I have no idea why I wasn't utilising defaults when I initially made this · other code cleanup that I forgot to write here. i'll give them credit too.1.12.0-SNAPSHOTv1.12.0-SNAPSHOTApr 18, 2020 notes: · settings version increased to 8. please update your config sorry for the inconvenience changes: · added 'commands to execute from console when a player logs out during combat mode' · the plugin will delay the death coordinates message by a quarter of a second so it is visible after the death message spam · changes and fixes to 'block flight' · (Thanks Marian for informing me of the issue) · now turns off flight when you enter combat. · saves 'allow flight' state before you enter into combat. after you finish combat, if you were allowed to fly, you can start flying again. · updated libraries (LightningStorage 3.0.9) · added check if player is online during combat mode task to prevent possible NPE · added changelog file to github repo. · fixed dropped items showing blood in lava · (Thanks Marian for informing me of the issue) other notes: · sorry for lack of updates! it's been around 2 months since any updates, I apologise. · added another digit to plugin version for very minor changes (build number)1.11-SNAPSHOT1.11-SNAPSHOT | Bug fixes and an enhancement to pvp toggleFeb 21, 2020 PhantomCombat Updated!Update Note Hi, I apologise for the long wait. Fixed the file system errors and added more checks to PvP Toggle This update has only been tested for a few minutes, please send me a message on Discord if there is a highly significant issue present.
Reviews 5-star reviews are what keep me pumping updates for the resource! If you're enjoying PhantomCombat, please leave some kind words below, I'd really appreciate it!
Notable Changes [2] · updated dependencies · fixed file system spamming stuff in the console and erroring out on the data file · added a few checks to projectiles to block ranged stuff from countering pvp toggle
File Changes [0] · no file changes
Other Changes [0] · no other changes
Issues, feature requests or questions? Feel free to: · post an issue on the GitHub page, · send me a PM on Discord (lokka30#6659), · or send me a PM on SpigotMC. Remember, do not post issues in the reviews! It's hard for me to communicate there and people usually wipe stars off without a reason.
1.10-SNAPSHOT1.10-SNAPSHOT | EntityType Blacklist for Combat ModeFeb 15, 2020 PhantomCombat Updated!Update Note Hi, I was requested to add an entity type blacklist for combat mode. This stops item frames and such for activating Combat Mode.
Reviews 5-star reviews are what keep me pumping updates for the resource! If you're enjoying PhantomCombat, please leave some kind words below, I'd really appreciate it!
Notable Changes [3] · [issue #34] fix combat engagement when hitting armor stands. · added an area under 'blood' in settings to blacklist entities. Defaults to armor stand. · updated loadFiles method. better file management now
File Changes [1] · settings.yml was updated to allow for these new features. now version 7. view the new file.
Other Changes [3] · changed a few startup and updater messages. · updated checkCompatibility method. · fixed improper use of Updater class.
Issues, feature requests or questions? Feel free to: · post an issue on the GitHub page, · send me a PM on Discord (lokka30#6659), · or send me a PM on SpigotMC. Remember, do not post issues in the reviews! It's hard for me to communicate there and people usually wipe stars off without a reason.
1.9-SNAPSHOT1.9-SNAPSHOT | LM compat fix, attempt #2Feb 9, 2020 PhantomCombat Updated!Update Note Hi, this is attempt 2 at fixing the LevelledMobs incompatibility. It hasn't been tested, please inform me of any bugs if they occur.
Reviews 5-star reviews are what keep me pumping updates for the resource! If you're enjoying PhantomCombat, please leave some kind words below, I'd really appreciate it!
Notable Changes [1] · [issue #33] attempt 2 at fixing LevelledMobs incompatibility
File Changes [0] · none
Other Changes [0] · none
Issues, feature requests or questions? Feel free to: · post an issue on the GitHub page, · send me a PM on Discord (lokka30#6659), · or send me a PM on SpigotMC. Remember, do not post issues in the reviews! It's hard for me to communicate there and people usually wipe stars off without a reason.
1.8-SNAPSHOT1.8-SNAPSHOT | Fixed incompatibility with LevelledMobs!Feb 9, 2020 PhantomCombat Updated!Update Note Hey, this update should've fixed the incompatibility with LevelledMobs! It hasn't been tested, please inform me of any bugs if they occur.
Reviews 5-star reviews are what keep me pumping updates for the resource! If you're enjoying PhantomCombat, please leave some kind words below, I'd really appreciate it!
Notable Changes [5] · [issue #33] fixed file system incompatibility with LevelledMobs (reported by @blaukat)
File Changes [0] · No file changes this time
Other Changes [3] · No other changes to list.
Issues, feature requests or questions? Feel free to: · post an issue on the GitHub page, · send me a PM on Discord (lokka30#6659), · send me a PM on SpigotMC, · or send me a message in the Discussion tab. Remember, do not post issues in the reviews! It's hard for me to communicate there and people usually wipe stars off without a reason.
1.7-SNAPSHOT1.7-SNAPSHOT | Bug fixes, and a few tweaks. :)Feb 8, 2020 PhantomCombat Updated!Update Note Hi again! I've patched a bunch of bugs in this update which should keep the plugin running better. This update hasn't been tested, however it should work. Please message me if something's wrong.
Limited Time School has started in Australia, and of course I must focus on my studies now. This means that I have far less time to spend on pushing updates and giving support to people. I apologise for the inconvenience and I will do my best.
GitHub I've finally fixed the GitHub being outdated as I learned how to use Version Control properly in IntelliJ a few weeks ago. Feel free to contribute to the resource, fork, browse around, etc.
Reviews 5-star reviews are what keep me pumping updates for the resource! If you're enjoying PhantomCombat, please leave some kind words below, I'd really appreciate it!
Notable Changes [3] · [issue #31] fixed typo in /phantomcombat · [issue #30] fixed /pvptoggle ignoring argument count · [issue #32] fixed 'outdated settings' on first run
File Changes [0] · no file changes this update, simply drag and drop the new jar in!
Other Changes [3] · updated maven libraries. this could fix any issues with config files, and it could increase performance. · changed [Updater] to [Update Checker] to better suit its purpose. · pushed the latest settings file to git. for some reason the last one decided to skip the commit.
Issues, feature requests or questions? Brilliant! You can: · post an issue on the GitHub page, · send me a PM on Discord (lokka30#6659), · send me a PM on SpigotMC, · or send me a message in the Discussion tab. Remember, do not post issues in the reviews! It's hard for me to communicate there and people usually wipe stars off without a reason.
1.6-SNAPSHOT1.6-SNAPSHOT | Wiki & 1.15.2Jan 22, 2020 PhantomCombat Updated! notable changes · built with 1.15.2. · completed the wiki pages, feel free to browse if you need help. · commands page complete · permissions page complete1.5-SNAPSHOT1.5-SNAPSHOT | Bugs fixed & more!Jan 17, 2020 PhantomCombat Updated! Hi! I've patched a few reported bugs and a few other changes. If you're enjoying the plugin, please leave a review! (The GitHub src is currently outdated, still figuring out VCS. Sorry!) notable changes · [issue #12] combat mode effects · some previous settings were moved under a new category in settings. · you can now enable broadcasting the combat log location to the whole server. · [issue #25] 'generic' combat cause is now disabled by default (reported by @coolpvpv) · [issue #26] plural placeholder added to boss bar combat mode, so it says '1 second' instead of '1 seconds'. (reported by @coolpvpv) file changes: 2 · settings.yml [now version 6] [view new file below] · messages.yml [now version 4] [view new file below] other changes · I've re-positioned quite a few settings for better structure. the new settings.yml: Code (Text): #Welcome to the PhantomCombat settings configuration! # #Is this file not loading properly? Put the file through a Yaml Parser! # Popular link: https://yaml-online-parser.appspot.com/ # #For support, please open a private message to lokka30. # Attempting to get support in reviews may revoke my assistance. #It might be frustrating when your enemy logs out whilst in battle. Combat mode solves that. combat-mode: enable: true #What worlds should combat mode take effect? Case sensitive. enabled-worlds: - 'world' - 'world_nether' - 'world_the_end' #What gamemodes should combat mode take effect? Must be in uppercase. enabled-gamemodes: - SURVIVAL - ADVENTURE #What combat causes should engage the defender in combat? enabled-combat-causes: #player: attacker is a player. player: true #entity: attacker is an entity, but not a player. entity: true #generic: damage was from a generic cause, e.g. contact with a cactus, fall damage... generic: false #Time until combat mode expires, in seconds. time: 15 effects: #Effects of when a user leaves whilst in combat mode. combat-log: kill-player: true lightning-strike-effect: true broadcast-location: false #Sounds on combat started combat-started: enable: true sound: ENTITY_EXPERIENCE_ORB_PICKUP volume: 1.0 pitch: 0.0 #Sounds on combat finished combat-finished: enable: true sound: ENTITY_PLAYER_LEVELUP volume: 1.0 pitch: 2.0 block-flight: false #Block all teleports (including plugin-caused)? block-teleport: false #List of items to cancel interact with in hands in combat mode. Must be in uppercase. block-items: enable: true items: - ENDER_PEARL - CHORUS_FRUIT #Block commands from being processed in combat mode. block-commands: enable: true #commands must contain a starting slash commands: - /tpa - /tpaccept - /tpdeny - /spawn - /home - /warp - /tp - /tphere - /fly death-coords: enable: true blood: enable: true #What worlds should bleeding take effect? enabled-worlds: - world - world_nether - world_the_end #Should entities bleed (not players)? entities-bleed: true #Should players bleed? players-bleed: true #Want to toggle specific causes? cause: fall: true drowning: false starvation: false suffocation: false contact: true fire: false armor-hit-sound: enable: true sound: 'ENTITY_ZOMBIE_ATTACK_IRON_DOOR' volume: 0.7 pitch: 1.8 grace-period: enable: true #Time until expiry (seconds) time: 300 #Should PhantomCombat check for a players' grace period #after a scheduler, or when they next engage in combat? #Defaults to true for convenience, however, setting it to #false will yield better performance. scheduler: true #In what ways can the grace period messages be communicated? communication: chat: true action-bar: false pvp-settings: #Should the 1.9 hit delay be removed? no-hit-delay: false pvp-toggle: #Should the PvP-Toggle module be enabled? enable: true #Check for updates? updater: true #I recommend you leave this number as it is. # If you've updated your configuration with # values from the new update, you may change it. # DO NOT leave this empty, your settings will be reset! file-version: 6 the new messages.yml: Code (Text): #Welcome to the PhantomCombat messages configuration! # #Is this file not loading properly? Put the file through a Yaml Parser! # Popular link: https://yaml-online-parser.appspot.com/ # #For support, please open a private message to lokka30. # Attempting to get support in reviews may revoke my assistance. common: no-permission: '&a&lPhantomCombat: &7You don''t have access to that.' target-offline: '&a&lPhantomCombat: &r%target%&7 isn''t online.' players-only: '&a&lPhantomCombat: &7Nope, players only!' combat-mode: flight-blocked: '&a&lPhantomCombat: &7You can''t fly whilst in combat mode.' teleport-blocked: '&a&lPhantomCombat: &7You can''t teleport whilst in combat mode.' item-blocked: '&a&lPhantomCombat: &7You can''t use that whilst in combat mode.' command-blocked: '&a&lPhantomCombat: &7You can''t use that command whilst in combat mode.' player-left-in-combat: '&a&lPhantomCombat: &f%player%&7 left whilst in combat mode and was killed.' player-left-in-combat-location: '&a&lPhantomCombat: &7They died at &8(&a%x%&7, &a%y%&7, &a%z%&7 in world &a%world%&8)&7.' status: reasons: #Caused by player. %player% player: 'fight&7 with &r%player%' #Caused by entity. entity: 'attack&7 by &a%name%' #Caused by generic damage. generic: 'generic damage' action-bar: #Should combat mode status messages be shown in the action bar? enable: true combat-entered: '&a&lPhantomCombat: &7You have entered combat mode! Do not log out for &a%time% seconds&7. &8(&7Tagged from &a%reason%&8)' combat-expired: '&a&lPhantomCombat: &7Combat mode has expired, you may log out if you wish.' chat: #Should combat mode status messages be shown in the chat? #Can fill up the chat on PvP servers, so it's off by default. enable: false combat-entered: '&a&lPhantomCombat: &7You have entered combat mode! Do not log out for &a%time% seconds&7. &8(&7Tagged from &a%reason%&8)' combat-expired: '&a&lPhantomCombat: &7Combat mode has expired, you may log out if you wish.' boss-bar: #Should combat mode status messages be shown in the boss bar? enable: true #BarColor: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/boss/… barColor: GREEN #BarStyle: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/boss/… barStyle: SOLID #The title of the boss bar. %time% for the current time left.1.4-SNAPSHOT1.4-SNAPSHOT | Two new features!Jan 15, 2020 PhantomCombat Updated! Hi! Here's another update for today adding two new combat features. If you're enjoying the plugin, please leave a review! (The GitHub src is currently outdated, still figuring out VCS. Sorry!) notable changes · [issue #5] added pvp-settings · added no-hit-delay (allows 1.8-style spam combat) · pvp-settings is still incomplete, there are a few more things to add. · [issue #3] added pvp-toggle · can be disabled in settings · many new messages file changes: 2 · settings.yml [now version 5] [view new file below] · messages.yml [now version 3] [view new file below] other changes · ArmorHitSounds listener checks if the event is cancelled prior to running the sound the new settings.yml: Code (Text): #Welcome to the PhantomCombat settings configuration! # #Is this file not loading properly? Put the file through a Yaml Parser! # Popular link: https://yaml-online-parser.appspot.com/ # #For support, please open a private message to lokka30. # Attempting to get support in reviews may revoke my assistance. #It might be frustrating when your enemy logs out whilst in battle. Combat mode solves that. combat-mode: enable: true #What worlds should combat mode take effect? Case sensitive. enabled-worlds: - 'world' - 'world_nether' - 'world_the_end' #What gamemodes should combat mode take effect? Must be in uppercase. enabled-gamemodes: - SURVIVAL - ADVENTURE #What combat causes should engage the defender in combat? enabled-combat-causes: #player: attacker is a player. player: true #entity: attacker is an entity, but not a player. entity: true #generic: damage was from a generic cause, e.g. contact with a cactus, fall damage... generic: true #Time until combat mode expires, in seconds. time: 15 #Should the player be killed if they leave whilst in combat mode? # Disabling this means that there are no punishments for combat mode, # rendering it pretty useless. This option is here anyways :) kill-tagged-player-on-quit: true effects: #If a player leaves whilst in combat mode, should they have a lightning effect struck at their location? lightning-strike-on-quit: true #Sounds on combat started combat-started: enable: true sound: ENTITY_EXPERIENCE_ORB_PICKUP volume: 1.0 pitch: 0.0 #Sounds on combat finished combat-finished: enable: true sound: ENTITY_PLAYER_LEVELUP volume: 1.0 pitch: 2.0 block-flight: false #Block all teleports (including plugin-caused)? block-teleport: false #List of items to cancel interact with in hands in combat mode. Must be in uppercase. block-items: enable: true items: - ENDER_PEARL - CHORUS_FRUIT #Block commands from being processed in combat mode. block-commands: enable: true #commands must contain a starting slash commands: - /tpa - /tpaccept - /tpdeny - /spawn - /home - /warp - /tp - /tphere - /fly death-coords: enable: true blood: enable: true #What worlds should bleeding take effect? enabled-worlds: - world - world_nether - world_the_end #Should entities bleed (not players)? entities-bleed: true #Should players bleed? players-bleed: true #Want to toggle specific causes? cause: fall: true drowning: false starvation: false suffocation: false contact: true fire: false armor-hit-sound: enable: true sound: 'ENTITY_ZOMBIE_ATTACK_IRON_DOOR' volume: 0.7 pitch: 1.8 grace-period: enable: true #Time until expiry (seconds) time: 300 #Should PhantomCombat check for a players' grace period #after a scheduler, or when they next engage in combat? #Defaults to true for convenience, however, setting it to #false will yield better performance. scheduler: true #In what ways can the grace period messages be communicated? communication: chat: true action-bar: false pvp-settings: #Should the 1.9 hit delay be removed? no-hit-delay: false pvp-toggle: #Should the PvP-Toggle module be enabled? enable: true #Check for updates? updater: true #I recommend you leave this number as it is. # If you've updated your configuration with # values from the new update, you may change it. # DO NOT leave this empty, your settings will be reset! file-version: 5 the new messages.yml: Code (Text): #Welcome to the PhantomCombat messages configuration! # #Is this file not loading properly? Put the file through a Yaml Parser! # Popular link: https://yaml-online-parser.appspot.com/ # #For support, please open a private message to lokka30. # Attempting to get support in reviews may revoke my assistance. common: no-permission: '&a&lPhantomCombat: &7You don''t have access to that.' target-offline: '&a&lPhantomCombat: &r%target%&7 isn''t online.' players-only: '&a&lPhantomCombat: &7Nope, players only!' combat-mode: flight-blocked: '&a&lPhantomCombat: &7You can''t fly whilst in combat mode.' teleport-blocked: '&a&lPhantomCombat: &7You can''t teleport whilst in combat mode.' item-blocked: '&a&lPhantomCombat: &7You can''t use that whilst in combat mode.' command-blocked: '&a&lPhantomCombat: &7You can''t use that command whilst in combat mode.' player-left-in-combat: '&a&lPhantomCombat: &f%player%&7 left whilst in combat mode and was killed.' status: reasons: #Caused by player. %player% player: 'fight&7 with &r%player%' #Caused by entity. entity: 'attack&7 by &a%name%' #Caused by generic damage. generic: 'generic damage' action-bar: #Should combat mode status messages be shown in the action bar? enable: true combat-entered: '&a&lPhantomCombat: &7You have entered combat mode! Do not log out for &a%time% seconds&7. &8(&7Tagged from &a%reason%&8)' combat-expired: '&a&lPhantomCombat: &7Combat mode has expired, you may log out if you wish.' chat: #Should combat mode status messages be shown in the chat? #Can fill up the chat on PvP servers, so it's off by default. enable: false combat-entered: '&a&lPhantomCombat: &7You have entered combat mode! Do not log out for &a%time% seconds&7. &8(&7Tagged from &a%reason%&8)' combat-expired: '&a&lPhantomCombat: &7Combat mode has expired, you may log out if you wish.' boss-bar: #Should combat mode status messages be shown in the boss bar? enable: true #BarColor: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/boss/… barColor: GREEN #BarStyle: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/boss/… barStyle: SOLID #The title of the boss bar. %time% for the current time left. counter: '&7You are in combat mode! Do not log out for &a%time% seconds&7.' #The stats system. stats: usage: '&a&lPhantomCombat: &7Usage: &a/stats [target]1.3-SNAPSHOTJan 15, 2020 PhantomCombat Updated! Apologies for the long wait! I've patched a few bugs and added new features. If you're enjoying the plugin, please leave a review! The next version will contain two brand new features, stay tuned! I've noticed the GitHub is severely outdated, I'm looking into it. Still learning VCS. notable changes · [issue #21] grace period messages can be sent in the action bar as well as chat now · [issue #23] armor hit sounds now have a permission · [issue #24] death coordinates messages are now only sent on death if the player has permission · [issue #18] added the permissions to the plugin.yml. sorry it took so long! soon they'll be added to the wiki. file changes: 1 · settings.yml [now version 4] [view file at bottom of update desc] other changes · changed console logger system to getLogger() instead of sending a message to the console sender. It's cleaner and seems more fit as Bukkit intended. · Removed the STATUS LogLevel, as the Bukkit logger doesn't have this state. Using the INFO state instead for messages like in onEnable and onDisable, etc. · changed the onEnable messages a fraction. aesthetics and grammar. · removed the onDisable messages. they're not needed. the new settings.yml: Code (Text): #Welcome to the PhantomCombat settings configuration! # #Is this file not loading properly? Put the file through a Yaml Parser! # Popular link: https://yaml-online-parser.appspot.com/ # #For support, please open a private message to lokka30. # Attempting to get support in reviews may revoke my assistance. #It might be frustrating when your enemy logs out whilst in battle. Combat mode solves that. combat-mode: enable: true #What worlds should combat mode take effect? Case sensitive. enabled-worlds: - 'world' - 'world_nether' - 'world_the_end' #What gamemodes should combat mode take effect? Must be in uppercase. enabled-gamemodes: - SURVIVAL - ADVENTURE #What combat causes should engage the defender in combat? enabled-combat-causes: #player: attacker is a player. player: true #entity: attacker is an entity, but not a player. entity: true #generic: damage was from a generic cause, e.g. contact with a cactus, fall damage... generic: true #Time until combat mode expires, in seconds. time: 15 #Should the player be killed if they leave whilst in combat mode? # Disabling this means that there are no punishments for combat mode, # rendering it pretty useless. This option is here anyways :) kill-tagged-player-on-quit: true effects: #If a player leaves whilst in combat mode, should they have a lightning effect struck at their location? lightning-strike-on-quit: true #Sounds on combat started combat-started: enable: true sound: ENTITY_EXPERIENCE_ORB_PICKUP volume: 1.0 pitch: 0.0 #Sounds on combat finished combat-finished: enable: true sound: ENTITY_PLAYER_LEVELUP volume: 1.0 pitch: 2.0 block-flight: false #Block all teleports (including plugin-caused)? block-teleport: false #List of items to cancel interact with in hands in combat mode. Must be in uppercase. block-items: enable: true items: - ENDER_PEARL - CHORUS_FRUIT #Block commands from being processed in combat mode. block-commands: enable: true #commands must contain a starting slash commands: - /tpa - /tpaccept - /tpdeny - /spawn - /home - /warp - /tp - /tphere - /fly death-coords: enable: true blood: enable: true #What worlds should bleeding take effect? enabled-worlds: - world - world_nether - world_the_end #Should entities bleed (not players)? entities-bleed: true #Should players bleed? players-bleed: true #Want to toggle specific causes? cause: fall: true drowning: false starvation: false suffocation: false contact: true fire: false armor-hit-sound: enable: true sound: 'ENTITY_ZOMBIE_ATTACK_IRON_DOOR' volume: 0.7 pitch: 1.8 grace-period: enable: true #Time until expiry (seconds) time: 300 #Should PhantomCombat check for a players' grace period #after a scheduler, or when they next engage in combat? #Defaults to true for convenience, however, setting it to #false will yield better performance. scheduler: true #In what ways can the grace period messages be communicated? communication: chat: true action-bar: false #Check for updates? updater: true #I recommend you leave this number as it is. # If you've updated your configuration with # values from the new update, you may change it. # DO NOT leave this empty, your settings will be reset! file-version: 41.2-SNAPSHOTGrace Period and other various fixes!Jan 6, 2020 PhantomCombat Updated! 1.2-SNAPSHOT important changes · updated settings.yml and messages.yml · [new settings.yml] [new messages.yml] · diff will be put in place laterchanges grace period · added grace period, aka newbie protection · new command: /graceperiod <forceStart> <target> combat mode · disabled /kill triggering combat · now checks if event was cancelled stats · fixed KDR, now formatted and displays the correct number blood · now checks if event was cancelled config management · tweaks to config management · added file version checker. · added warning when file-version was invalid and the file was replaced settings.yml · upped version to v3 · new grace period settings messages.yml · upped version to v2 · new grace period messages plugin.yml · updated website · updated command descriptions · added grace period command · added grace period permissions not important at all · tweaks to onEnable messages · upped pom.xml version to 1.2-SNAPSHOT Thanks, enjoy the update
1.1-SNAPSHOTUpdater online!Jan 5, 2020 (some quick changes due to the resource being published) - Updater works now. - Added link in plugin command. - Added site in plugin.yml. Thanks, enjoy the update1.0-SNAPSHOTJan 5, 2020
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta