ModsJava
HubPvP+ [Interchangable mode, TWO IN ONE PvP plugin]
Functioning his real self or as a PvP Manager, he does a greeat job. Free Minecraft Java mod for 1.12.
⬇ Download on SpigotIt has been a long time since my last plugin - MilkCustomRecipe. No doubt that is also an awful plugin. Therefore, including MilkCustomMessage, the old resources of mine will be recoded after the 1.0 release of this plugin. But no matter what, let's get into the topic of today! HubPvP+, the two in one PvP Expert by me
Introduction:
Welcome to HubPvP+, a new featured plugin of mine! This was actually an idea before when I was making a practice server. I wonder if... the FFA is in the Hub, then there are no needs for player to teleport to other server or map but directly fighting, spectated by others. And now, it comes true.
HubPvP+ allows you to have a toggler of the PvP mode in the lobby while you can have your pre-set of items for fight, also those you originally have of course. Everything is up to you, server owner's decisions!
Last but not least! Besides acting as a HubPvP plugin, it can also transform itself to an PvP manager where you can limit the unnecessary fight of players and even modify the damages multipler of the fighters!
Current features:
- EVERYTHING is customizable(besides the author of this plugin
)- Very clear categories between fight items' armors and swords
- All items will be restored to the player after untoggling the mode
- Able to disable Interaction with other blocks, creatures, containers during fight
- Two mode: GAME, commonly for survival server, and LOBBY, commonly for minigames or practice server
- PlaceholderAPI supports(soft dependency)
- Developer API(Not yet tested)
- Damage modification
- Customizable Death messages and Damage messages
- Quite nice protection to player's original inventory(if the server isn't suddenly stopped, but by /reload or /stop)
- Cooldowns for next toggle
Pending Features:
- More methods for Developer API
- Item Editor independently for each player
- Scoreboard during toggled
- Penalty to leave the server when toggling
- HubPvP tournament
- RANDOM Damage modification
- Duel of HubPvP
Tutorials:
For HubPvP mode, here are the suggested configurations.
Code (Text):
# GAME/LOBBY
# GAME: Commonly used as PvP toggler
# LOBBY: Access to all functions of HubPvP+
Mode: LOBBY
# Will be checked if the mode is LOBBY
# Same item format as the items.yml
Toggler:
Enabled: true
Slot: 4
Item: 276
Name: "&aHubPvP Mode"
Lores:
- "&aRight-click to toggle HubPvP Mode!"
Enchantments:
- DAMAGE_ALL:1
HideFlags: true
# In seconds
Cooldown: 30
# Will be checked if the mode is LOBBY
Fight-Items-enabled: true
Item-restore-on-respawn: true
# For players who toggled the mode
Allow-inv-movement: false
Allow-Interact: false
Allow-Interact-Entities: true
Permission:
Toggle: "Hpp.toggle"
StatsView: "Hpp.view"
Reload: "Hpp.reload"
# Damaged with mode toggled
DamageMessage:
Enabled: true
Message: "&cDamage of &b&l%hpp_damage%&c&l &cis caused by %hpp_damager%"
Damage-mod: 0 #Formula: original damage * ( 1 + mod )
# Dead with mode toggled
DeathMessage:
Enabled: true
Message-Fall-to-Death: "&c%hpp_player% LOL is dead!"
Message-Damage-to-Death: "&c%hpp_player% is killed by %hpp_killer%"
# GAME: Commonly used as PvP toggler
# LOBBY: Access to all functions of HubPvP+
Mode: LOBBY
# Will be checked if the mode is LOBBY
# Same item format as the items.yml
Toggler:
Enabled: true
Slot: 4
Item: 276
Name: "&aHubPvP Mode"
Lores:
- "&aRight-click to toggle HubPvP Mode!"
Enchantments:
- DAMAGE_ALL:1
HideFlags: true
# In seconds
Cooldown: 30
# Will be checked if the mode is LOBBY
Fight-Items-enabled: true
Item-restore-on-respawn: true
# For players who toggled the mode
Allow-inv-movement: false
Allow-Interact: false
Allow-Interact-Entities: true
Permission:
Toggle: "Hpp.toggle"
StatsView: "Hpp.view"
Reload: "Hpp.reload"
# Damaged with mode toggled
DamageMessage:
Enabled: true
Message: "&cDamage of &b&l%hpp_damage%&c&l &cis caused by %hpp_damager%"
Damage-mod: 0 #Formula: original damage * ( 1 + mod )
# Dead with mode toggled
DeathMessage:
Enabled: true
Message-Fall-to-Death: "&c%hpp_player% LOL is dead!"
Message-Damage-to-Death: "&c%hpp_player% is killed by %hpp_killer%"
Code (Text):
# GAME/LOBBY
# GAME: Commonly used as PvP toggler
# LOBBY: Access to all functions of HubPvP+
Mode: GAME
# Will be checked if the mode is LOBBY
# Same item format as the items.yml
Toggler:
Enabled: true
Slot: 4
Item: 276
Name: "&aHubPvP Mode"
Lores:
- "&aRight-click to toggle HubPvP Mode!"
Enchantments:
- DAMAGE_ALL:1
HideFlags: true
# In seconds
Cooldown: 30
# Will be checked if the mode is LOBBY
Fight-Items-enabled: true
Item-restore-on-respawn: true
# For players who toggled the mode
Allow-inv-movement: true
Allow-Interact: true
Allow-Interact-Entities: true
Permission:
Toggle: "Hpp.toggle"
StatsView: "Hpp.view"
Reload: "Hpp.reload"
# Damaged with mode toggled
DamageMessage:
Enabled: true
Message: "&cDamage of &b&l%hpp_damage%&c&l &cis caused by %hpp_damager%"
Damage-mod: 0 #Formula: original damage * ( 1 + mod )
# Dead with mode toggled
DeathMessage:
Enabled: true
Message-Fall-to-Death: "&c%hpp_player% LOL is dead!"
Message-Damage-to-Death: "&c%hpp_player% is killed by %hpp_killer%"
Code (Text):
%hpp_death% - Death of the player
%hpp_kill% - Kills of the player
%hpp_damager% - The player who damages
%hpp_player% - Player
%hpp_cooldown% - Cooldown of the player(in seconds)
%hpp_toggled% - Check if the player has toggled the fight mode(yes or no)
%hpp_killer% - The killer of the player, can be nothing if the player isn't dead of damages
%hpp_damage% - The damage the player beared.
Developer API(com.oscar.hubpvp.re.api.RhppAPI)
It is not yet tested, please contact me if it can't be used.
get the Instance of the API
Code (Java):
import com.oscar.hubpvp.re.api.RhppAPI ;
...
RhppAPI api = RhppAPI. getInstance ( ) ;
...
Code (Java):
public int [ ] getStats ( Player player ) {
// return a int array with kills in index 0, deaths in index 1
}
public void setStats ( Player player, String stat, int increment ) {
//stat can be kills or deaths, the increment can be negative for decrement
}
public boolean getToggled ( Player player ) {
// return the boolean if the player is in the PvP mode
}
public void setToggled ( Player player ) {
// Force the player to toggle or untoggle
}
public int getCooldown ( Player player ) {
// return the time of cooldown in seconds
}
public void setCooldown ( Player player, int duration ) {
// duration is in the unit of seconds
}
Finally, if you have any enquires, don't hesitate to find me via discord さくらじままい#0856 or in spigot. Please bear in mind that this plugin in still in BETA version, if you find any bugs or even critical errors, please also contact me as soon as possible. For more features or functions, same.
By the way, this plugin works in 1.12 and doesn't work in 1.15, I guess it should also work in 1.x.x. Tell me if any of them doesn't.
HubPvP+ [Interchangable mode, TWO IN ONE PvP plugin] is a free Minecraft Java mod. Compatible with Minecraft 1.12. Downloaded 255 times (via Spigot). Download it and open it directly in the game.