Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added mob lists and limitation per island #308

Merged
merged 7 commits into from
Apr 17, 2019

Conversation

Abwasserrohr
Copy link
Owner

@Abwasserrohr Abwasserrohr commented Apr 16, 2019

This pull request aims to add a viewable mob list into the /island info book and also add a limitation + a upgrade system for that which can be configured as stated below:

  • The server operator can decide how many upgrades there should be.

  • The server operator can set a price to every upgrade.

  • The server operator can set how the limitation should be changed per upgrade. Make it configurable how many entites are allowed on one island, which also can be increased by this.
    This upgrade system has to be done in another pull request. This pull request just aims to add the /island info book, which contains all current entities and limit them by cancelling out mob spawning if the limit has been reached.

  • Mob list in /island info book

  • Mob limitation (add island upgrade functions later on)

  • Works as expected

  • Loads without errors

Close #249 once merged.

@Abwasserrohr Abwasserrohr added enhancement New feature or request priority:low labels Apr 16, 2019
@Abwasserrohr Abwasserrohr self-assigned this Apr 16, 2019
This is needed since the "on teleport" trigger doesn't work on the current Skript version as expected.
These new functions and events will prevent too high amounts of entities on one island.
Currently, it only has a fixed limit of 5000 entities per island but with the upcoming update island upgrade menu, this will be changed.
@Abwasserrohr Abwasserrohr merged commit 3eaf6a3 into master Apr 17, 2019
@Abwasserrohr Abwasserrohr deleted the Abwasserrohr-mobcontrol branch April 17, 2019 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority:low
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add mob control
1 participant