JTunLiveAndDeath-0.1
Details
-
FilenameJTunLiveAndDeath-0.1.jar
-
Uploaded by
-
UploadedDec 6, 2023
-
Size11.61 KB
-
Downloads125
-
MD536f291ad97bc5f30de0e23b1bd345dfd
Supported Bukkit Versions
- 1.20.2
- 1.20.1
- 1.20
- 1.19.4
- 1.19.3
- 1.19.2
- 1.19.1
- 1.19
- 1.18.2
- 1.18.1
- 1.18
- 1.17
- 1.16
Changelog
Generación de Menas de Esmeralda:
- The plugin activates upon server loading.
- Events and commands related to player death and resurrection are registered.
- An expansion for PlaceholderAPI is registered, enabling the use of custom placeholders in chat messages.
Muerte del Jugador:
- Emerald ores are generated in a world called "desterrado" at random locations.
- Players are notified in chat when an emerald ore is generated.
Respawn del Jugador:
- When a player dies, a PlayerDeathEvent is triggered.
- After a brief 5-second delay, code simulating a "resurrection roulette" is executed.
- If the roulette selects the "Saved" option, the player remains in survival mode.
- If the roulette selects the "Underworld" option, the player is teleported to a world called "desterrado."
Recolección de Fragmentos de Esmeralda:
- When a player respawns, a PlayerRespawnEvent is triggered.
- The collected fragment counter is reset.
- A welcome message is displayed to the player.
- The respawn point is set in the "desterrado" world.
Comandos Adicionales:
- When a player breaks an emerald ore block in the "desterrado" world, a BlockBreakEvent is triggered.
- A collected fragment counter is maintained for each player.
- When a player collects enough fragments, they are teleported back to the main world.
Expansión de PlaceholderAPI:
- Various commands are implemented to manage plugin configuration and perform specific actions, such as changing ore generation limits or adding/removing fragments for a player.
Notas Adicionales:
- An expansion for PlaceholderAPI is provided to display information such as the number of fragments collected by a player, the required number of fragments, the number of players in the "desterrado" world, and the coordinates of the last generated ore.
- It's important to note that certain aspects of the code, such as specific commands and configurations, may depend on other plugins or specific configurations of the Minecraft server where this plugin is running.
- Additionally, the code may have some typographical inconsistencies, such as the use of "LiveAndDeath" and "LivesAndDeath." Both names are used in different parts of the code, so keep that in mind when making adjustments or corrections.
No contais config.yml