Staxel
Not enough ratings
Nocturnal
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
6.584 KB
4 Feb, 2022 @ 8:09pm
1 Change Note ( view )

Subscribe to download
Nocturnal

Description
Welcome to Nocturnal

What is Nocturnal?
Nocturnal is a server-side multiplayer mod to facilitate the sleeping process when playing with friends.
Ever pulled an all-nighter, simply because you couldn't coordinate with your pack of unorganized friends? Yeah, we've all been there. What better way to get everyone on-board, then, than with a shiny notification? You'll have your friends zooming for their beds in no time!

What does the mod add to Staxel?
As of right now, the mod is basic, and simply adds a sleeping player counter, notifying all players on the server of the amount of players in bed. It will be disabled during the day, and will only show up whenever it's possible to advance the night by sleeping.

What is planned for the future?
If possible, the mod aims to add a customizable percentage of sleeping players required to advance the night. Want half of the players to be able to advance the night? Do go ahead. Want only a single player to be able to advance the night? Be my guest!
Again, this is purely theoretical, at the moment. If it proves to be too difficult or impossible to implement, Nocturnal will have to find other features to add.

What does it mean to be a server-side mod?
Only the server host must have the mod installed for all players on the server to be able to benefit from it. Every player will be able to view the sleeping player counter, regardless if they have the mod installed or not. If you can't coordinate sleep schedules, imagine coordinating mods!

If you have any ideas for the mod, feel free to share them. Likewise, if you have a bug report to file, please do!



Nocturnal is a code-based mod. You will receive a DLL warning when installing it.

After receiving such a warning, you might be wondering what a code-based mod[wiki.playstaxel.com] is.
In Staxel, there's two different kinds of mods: content and code-based. Content mods are ones that are created using Staxel's existing mod categories, such as clothing, tiles, crops, species, and even NPCs, among others. The game provides a user-friendly way to extend existing functionality to create your own content, often without touching even a single line of code.
Now, there comes a time when even the game's existing categories just don't meet your needs. This is where code-based mods come into play. Staxel provides a modding API, allowing users wanting to create new features to attach code to existing interfaces. With this, they can have the game perform different actions based on world information and events. This greatly expands what is capable with modding.
Why, then, is there a warning? The answer is simple: not all code can be trusted. Code-based mods are not limited to the game itself, as content mods are. They are capable of causing damage to your system if created with malicious intent. Be careful with what code you allow to run on your computer.
For safety and security purposes, Staxel only shares content-based mods when joining a modded server. Code-based mods are kept to the host's computer, and must be manually installed by the user. Server-side mods are able to provide new features to all players on the server, regardless if they have the mod installed or not.

So, where does that leave us? Is Nocturnal safe to use? Absolutely! It's now open-source so you can take a look around its source code, as well as provide contributions, if you so wish. Check it out![github.com]
With all that said and done, be wary of which mods you install. Stay safe, stay positive, and keep on being awesome!
1 Comments
Lord_StrangeX 4 Feb, 2022 @ 8:50pm 
It do alert and do be shiny. I go to bed on time now. Now my friend brittany doesn't yell at me to go to bed anymore.