nsporillo / GlobalWarming

Server side global warming mechanics in Minecraft!
GNU Lesser General Public License v3.0
473 stars 46 forks source link

Instructional booklet, scoreboard, periodic notifications and a bugfix #22

Closed mclifford9 closed 5 years ago

mclifford9 commented 5 years ago

This commit adds content to the plugin to help player-awareness. New players will receive an instructional booklet. All joining players are given a short chat message with the server-status. A new scoreboard is visible by default. It shows the global temperature and any other local player's scores. Scoreboard updates are de-bounced to prevent server-lag. Periodically (every 5 minutes), a status message appears at the top of the screen, indicating which global warming effects have been enabled or suitable courses of action. A /gw command was added to hide the scoreboard in case it becomes annoying. Player names, temperatures, scores and messages are all mapped to color warmth. All text is translatable. BugFix: the player-join event needs to update the uuid-map or the smelt / plant events will not be able to find the player record based on ownerID.