illagernet / hardcore Goto Github PK
View Code? Open in Web Editor NEWSMP hardcore plugin that deathbans players for 72 hours
License: MIT License
SMP hardcore plugin that deathbans players for 72 hours
License: MIT License
On first join, players are given a Totem of Undying.
Implement a public API for external plugins to discount a particular death ban by an arbitrary amount of milliseconds.
HardcorePlugin.getDeathBanLog()
; then access the particular death ban with DeathBanLog.get(UUID uuid)
. The discount API should be implemented in the DeathBan
class. However, it might be a good idea to add a DeathBanLog.getName(String username)
method to help access death ban instances.On respawn, if a player doesn't have a set spawnpoint (i.e. bed or manually set spawnpoint), teleport the player to a random block within 10km from the origin in the Overworld.
Migrate hard-coding to a configuration file. Remove any Illager Net specific language and code that might exist.
On load, expired ban entries in the deathban log should be removed.
On death ban log reload, revived players who would still be death-banned on time are death-banned again.
The revive command is updating the death ban log cache in memory, but failing to save to file.
Do not kick a player immediately on death, but rather once they've pressed the "Respawn" button. This is significantly less jarring.
The players should appear to disconnect for everyone else, even if the player is still lingering in the "You Died" screen.
On disconnect, the " left the server" message should not appear.
On reconnect, the "<playername" joined the server" message should not appear.
Once a player has clicked "Respawn", the player should be kicked and shown the current deathban message. On subsequent rejoins, the same messages should be shown until the player is revived.
Send packets to user clients on join that changes the HUD to display hardcore hearts.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.