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 new functions #102

Merged
merged 15 commits into from Jan 16, 2019
Merged

Added new functions #102

merged 15 commits into from Jan 16, 2019

Conversation

Abwasserrohr
Copy link
Owner

The new functions should reduce the size of other files, like Commands.sk and also be reusable by server operators if they need it.

@Abwasserrohr Abwasserrohr added the enhancement New feature or request label Jan 15, 2019
1st parameter = player who should get the info
2nd paremeter = optional, can be a text (player) of which the information should be displayed (islands of other players)
@Abwasserrohr
Copy link
Owner Author

/island info now calls a seperated information.

/island info also displays the level, there is no need for a seperate argument to only display the level.
@Abwasserrohr
Copy link
Owner Author

Abwasserrohr commented Jan 15, 2019

Still todo:

  • /island invite
  • /island join
  • /island kick
  • /island leave

Create a function for these three arguments above within one function. Named like "islandmember".

  • /island info
  • /island help
  • /island delete
  • /island create

@Abwasserrohr
Copy link
Owner Author

Abwasserrohr commented Jan 16, 2019

The new createisland function currently doesn't set the chest items.

  • Set items into chest

@Abwasserrohr
Copy link
Owner Author

Abwasserrohr commented Jan 16, 2019

Commands.sk is now way smaller than before and easier to read.

  • pull request loads without errors
  • new functions tested

@Abwasserrohr Abwasserrohr merged commit 77a2e73 into master Jan 16, 2019
@Abwasserrohr Abwasserrohr deleted the Abwasserrohr-functions branch January 16, 2019 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant