Skip to content

how to call the list of players in the town and check the kick, exit from the town? #4999

Answered by LlmDl
Ru5D1mG4me asked this question in Q&A
Discussion options

You must be logged in to vote

You can use town.getResidents() to get the players who belong to a town.

The TownLeaveEvent and TownKickEvent are events Towny throws to let you know when players are losing their Town.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Ru5D1mG4me
Comment options

Answer selected by LlmDl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants