SkyBlock Minecraft Addon #28 - Mob limitations and stackable blocks

in utopian-io •  6 years ago  (edited)
Here, you can see me next to the new stackable blocks. Stackable blocks are nice to have and work similar to storage units but look way cooler than just plain storage units since they have a glowing part hovering above, which also can move.

Hello everyone,

I have some new features I want to show you guys today. I'm still working on getting everything up to the newest version of Minecraft 1.14 but I also have to wait for some dependencies. While waiting, here are some new features which I added almost two weeks ago, I had no time to show them off so I hope it is still new enough to show off. =)

1. Repository

https://github.com/Abwasserrohr/SKYBLOCK.SK

2. Index

  1. Repository
  2. Index
  3. New Features and changes
    3.1 Added custom join and quit messages
    3.2 Added snow and ice block melting flag
    3.3 Added mob lists and limitation per island
    3.4 Added stackable blocks as an add-on
  4. Pull requests
  5. GitHub Account
  6. How to contribute

3. New Features and changes

3.1 Added custom join and quit messages

People wanted to have custom join and quit messages, these are displayed by default from the Minecraft server and can be changed. Since SKYBLOCK.SK already has built-in languages, there is not much work involved by adding these in. The join and quit messages are sent to each player in the language of the player individually, which has an advantage for multilingual servers. For example, German players like it more if the language of these join and quit messages are German. English players do like English more, of course. Thanks to this system, both players get their language. While there are slightly more resources in use, since every user has to get a message separately instead of just broadcasting a specific one, we can be sure that every player can feel like it is made for his language.

By setting the join message to a string with a length of 0, the default message is disabled. Then, every player is looped and gets a message in the language of the player. The same has also been done for the on quit event.

Pull request: https://github.com/Abwasserrohr/SKYBLOCK.SK/pull/306


3.2 Added snow and ice block melting flag

People asked to have a snow and ice block melting flag which can prevent the melting of snow and ice. This can be useful. For this reason, it has been added. It not really makes the game easier but gives the player more freedom of which biome is used and have the freedom to change many things with flags is a major feature of SKYBLOCK.SK.

Pull request: https://github.com/Abwasserrohr/SKYBLOCK.SK/pull/307


3.3 Added mob lists and limitation per island

Some players make create large farms for monsters, animals and other entities. While it is good to encourage players to play longer in the late game, it is important to prevent them from harming the game experience from other players by having large amounts of entities. This new mob list and limitation per island is the first step to a new island upgrade system, which then also allows making upgrades on the island much better than it is right now.

This entity limitation is currently hardcoded at 5000 entities per island but will change with the new upgrade system to a configurable amount. I didn't add a configurable limit now since the upgrade system will have a special configuration for this later.

To make it easy later, the checkEntityLimitReached function can be used to determine if the entity limit has been reached for the island on which the location is. This makes it easy to use in events, since if the limit has been reached, the function just returns true, which can be used to cancel events and tell players about it.

Here is an example how this function is being used:

Thanks to a very easy and fast usable method, which can be called from a world, it is possible to count the entities within a specific radius which is called getNearbyEntities.

Pull request: https://github.com/Abwasserrohr/SKYBLOCK.SK/pull/308


3.4 Added stackable blocks as add-on

Stackable blocks were requested by various players and other server operators who want to use SKYBLOCK.SK. Stackable blocks are similar to already existing storage units but they work not the same. Stacking blocks in Minecraft isn't new, players already can stack up to 64 pieces of one block in an ItemStack and store it away in a chest. Now while this is useful for storage, some players want to show how rich they are. And stackable blocks are pretty useful to show how much stuff a player has very easy and in an elegant way. Here is a video of how it looks like:

Stackable blocks are currently working without any database and just by entities, this allows them to be very light and easy to use for server operators. Everything is directly stored in an entity, which is located at the block. This entity also handles the glowing block and the number, which is shown to the player.

Pull request: https://github.com/Abwasserrohr/SKYBLOCK.SK/pull/313


4. Pull requests

https://github.com/Abwasserrohr/SKYBLOCK.SK/pull/306
https://github.com/Abwasserrohr/SKYBLOCK.SK/pull/307
https://github.com/Abwasserrohr/SKYBLOCK.SK/pull/308
https://github.com/Abwasserrohr/SKYBLOCK.SK/pull/313


5. GitHub Account

https://github.com/Abwasserrohr


6. How to contribute

If you want to contribute to SKYBLOCK.SK, contact me here in the comments or on Discord. Please contact me directly, I'm the sewage pipe on Discord. I look forward to meeting people who want to get in touch with Skript and Minecraft.
If you never had anything to do with programming, SKYBLOCK.SK could be a great way to start. Skript is easy to learn and gives you the opportunity to understand how things work and also get the idea behind object-oriented languages, like Java while playing a game.

Discord: https://discord.gg/FRuK5BC


Thank you for reading my contribution post.

In this post, I showed new features and add-on's which have been requested by players or server operators who wanted to have these new features. Since I've been really busy the last couple of days, I totally forgot to make a post for the last changes. These will also be added soon to the test server, where you can check out the newest changes of SKYBLOCK.SK without setup everything for yourself. Feel free to join the Discord linked above to get more information about that.

If you have feedback about this contribution post, the new features, and changes or SKYBLOCK.SK as a whole, just comment below this post, I appreciate your feedback.

Have a great day,

@immanuel94

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  
  • Great post with images, code samples and a video.
  • Good coding practice, commit messages and awesome code comments.
  • Stackable blocks are really cool and the video show that clearly!

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Chat with us on Discord.

[utopian-moderator]

Thank you for reviewing my contribution post. =)

Thank you for your review, @helo! Keep up the good work!

Schön... tolle Arbeit, wird Zeit, dass ich auch mal SB ausprobiere.

SkyBlock ist schon eine ganz interessante Sache, weil man dort mit den wenigen Ressourcen arbeiten muss, die man hat.. =)

Den Post habe ich Komplet verpasst XD

Ist auch erst zwei Tage her... =)

Ja ganze Zwei Tage! :D

Cool das es jetzt auch mal eine richtige Join Nachricht gibt

Die neuen Join Nachrichten haben schon was, ja, war schon eine gute Idee von den Spielern, die das vorgeschlagen haben. =)

cool

=)

ich finde es echt beeindruckend wie schnell sich der SB verändert, wenn man mal den SV zum gegensatz bringt, gibt es eher wenig neue erweiterungen, dar aber grade der SV geupdated wird ist das vllt ein wenig schwer begreifbar, derSBwirdme

Ich hab die letzte Zeit wirklich sehr viel Zeit in den SkyBlock investiert. =) Aber nun, wo auch andere Modi auf 1.14 laufen werden, wird auch an den anderen Spielmodi weiter gearbeitet.^^

Hi @immanuel94!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 3.001 which ranks you at #10531 across all Steem accounts.
Your rank has dropped 7 places in the last three days (old rank 10524).

In our last Algorithmic Curation Round, consisting of 344 contributions, your post is ranked at #104.

Evaluation of your UA score:
  • You're on the right track, try to gather more followers.
  • The readers appreciate your great work!
  • Good user engagement!

Feel free to join our @steem-ua Discord server

Hey, @immanuel94!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!