Reply to thread

HardcorePlus 1.0.0

Jar release: https://github.com/griimnak/HardcorePlus/releases/tag/1.0.0 


Thanks to [USER=971]@Quackster[/USER] for sharing his plugin sources and inspiring many changes in this plugin.

Thanks to OnyxianSoul (Spigot Community) for suggesting the rework of the hardcoreCheck() method.


The source is much neater, uses more OOP and is compartmentalized properly.

Read the new improved source: https://github.com/griimnak/HardcorePlus/tree/master/src/main/java/me/griimnak/hardcoreplus

  • Plugin completely re written
  • Servers must now have hardcore enabled in server.properties.
  • Fixed bug with extra "invisible" health after max health is updated.
  • Source cleaned and using more oop, compartmentalized
  • Spigot api updated to spigot-api:1.14.1

  • Added option to temp ban on respawn/fake death.
  • Added option to permaban on real death/perma death.
  • Added option to announce respawn/fake death to server.
  • Added option to keep inventory respawn/fake death.
  • Added option to keep experience on respawn/fake death.

  • Added hardcoreplus.ban_exempt permission to allow players to ignore banondeath
  • Added /hardcoreplus disable command to disable plugin ingame.
  • Added stat tracking, so far only "total-perm-dead-players" is available.
  • Removed weakness on respawn/fake death


Please be sure to delete your old config

New config preview: (will be auto generated for you)

[CODE=Yaml]

BloodEffectEnabled: true # create blood when a player is hit

RespawnSoundEnabled: true # make eerie sound when player respawns/dies

RespawnEffectEnabled: true # give nausea to player on respawn/death


KeepInventoryEnabled: false # keep inventory?

KeepExperienceEnabled: false # keep experience?


LoseMaxHealthOnRespawnEnabled: true

LoseMaxHealthOnRespawnAmmount: 4.0 # 2.0 = 1 heart, 1.0 = half a heart

HealthLossText: "You have permanently lost health."


BanOnDeathEnabled: true # ban on respawn/death?

BanOnDeathHoursAmmount: 12 # hours

BanOnDeathText: "You Died!"


PermaBanOnFinalDeathEnabled: true # perma ban a player when they run out of max health?

PermaBanText: "Game over."


AnnounceDeathEnabled: true # announce when someone respawn/dies?

AnnounceDeathText: " died." # <player> died.


PermaDeathServerText: " is permanently dead"

PermaDeathPlayerText: "You are permanently dead."


DragonKillRestoresMaxHealthEnabled: true # restore max health to all players in The End when dragon dies

DragonKillText: "The dream is over. Your mind clears, the portal opens.."

MaxHealthRestoreText: "Your max health has been restored."


# If BanOnDeath is enabled there's no reason to config below

# Without BanOnDeath, these give the immersion that the player woke from a bad dream instead of dying

RespawnBedText: "You awake from your dream in confusion."

RespawnWildText: "With no place of rest set, you awake from your dream in familiar land."

[/CODE]


Stability has been well tested on Minecraft 1.14.3, with Paper 1.14.3.


Ideas and suggestions are always welcome.


Top