With this plugin your players can create their towns. Towns can have a common home, a shared bank and a private chat. Each town has a leader and can have one or more admins.
The members of the towns have different permissions depending on their role in the town or depending on the leader choices.
This plugin is highly configurable by changing its config file. PlaceholdersAPI is supported to give you the ability to integrate it in other plugins.
vanillatowns.playerGives the ability to use all player town commands (Give this to the player for a regular use).vanillatowns.townGives access only to /town command.vanillatowns.infoGives the ability to see your town info.vanillatowns.info.otherGives the ability to see other players' town info.vanillatowns.baltopGives the ability to see the 10 richest towns.vanillatowns.createGives the ability to create/delete a town.vanillatowns.renameGives the ability to rename a town.vanillatowns.inviteGives the ability to invite a player into the town (Must be the leader or an admin).vanillatowns.joinGives the ability to join/leave a town.vanillatowns.kickGives the ability to kick a player from the town (Must be the leader or an admin).vanillatowns.giveGives the ability to give the town leader to another member (Must be the leader).vanillatowns.homeGives the ability to teleport to the town home.vanillatowns.home.editGives the ability to set/delete the town home (Must be the leader or an admin).vanillatowns.balanceGives the ability to see the balance of the town.vanillatowns.balance.othersGives the ability to see the balance of others' towns.vanillatowns.depositGives the ability to deposit money to the town balance (Must be the leader or an admin or have the permission).vanillatowns.withdrawGives the ability to withdraw money from the town balance (Must be the leader or an admin or have the permission).vanillatowns.chatGives the ability to use the town chat.
vanillatowns.staffGives the ability to manage the towns (This permission is meant for the staff, it inheritsvanillatowns.playerpermissions).vanillatowns.staff.infoGives the ability to see the town staff info.vanillatowns.staff.inviteGives the ability to invite a player to a town.vanillatowns.staff.joinGives the ability to add a player to a town.vanillatowns.staff.kickGives the ability to kick a player from a town.vanillatowns.staff.renameGives the ability to rename a town.vanillatowns.staff.deleteGives the ability to delete a town.vanillatowns.staff.rolesGives the ability to edit roles in a town.vanillatowns.staff.homeGives the ability to teleport to a town home.vanillatowns.staff.home.editGives the ability to set/delete a town home.vanillatowns.staff.instanttpGives the ability to ignore teleport timer.
vanillatowns.reloadGives the ability to reload the plugin.
This plugin support both PlaceholderAPI and MVdWPlaceholderAPI
vanillatowns_town_namevanillatowns_town_balancevanillatowns_town_rolevanillatowns_role_colorvanillatowns_town_home_worldvanillatowns_town_home_xvanillatowns_town_home_yvanillatowns_town_home_zvanillatowns_town_home_yawvanillatowns_town_home_pitchvanillatowns_town_name_fancy
The configuration file is saved as config.json during the first initialization of the plugin. You can edit it according your needs, if an entry is missing it will be recreated automatically. The config is quite self-explanatory: the main section contains all the settings, the colors section contains the colors of the ranks and the string section contains all the strings and the messages of the plugin.
One important thing: like all my plugins, this plugin uses MBCore as a
library. With MBCore you can do some cool things in your config like using all hexadecimal colors (only Minecraft 1.16+)
in strings simply by adding #ab01cd instead of &c colors. You can use both at the same time. You can
also use json formatted messages (the ones used in tellraw command) by simply putting !j at the start of the message
(You can find an example of this in the default config).
You can download this plugin here.
This plugin requires Vault to be installed. You can find Vault here.
To contribute to this repository just fork this repository make your changes or add your code and make a pull request. If you find an error or a bug you can open an issue here.
VanillaTowns is released under "The 3-Clause BSD License". You can find a copy here.