Hey everyone. I've decided to rewrite IcyDiamond's towny mod, It took me a long time, but it's finally at the point where I think it could be useful for a server. There's probably some bugs, I'm hoping making the project public could help fix some. So far there's no economy, or nations, because I wanted to focus on fleshing out the core towny mod. There are towns, and plots and residents. Its kinda like the `areas` mod but with towns and plots. Unlike Icy Diamond's towny (at least, in my testing), my towny has a sophisticated protection system, similar to Minecraft towny. Check out the README of the mod for more information.
I guess, I'll usurp this thread from IcyDiamond, since they don't seem to be working on this anymore. If you find any bugs, or want to criticize my code or make suggestions, please let me know. I'm still actively developing the mod. I hope I can implement the economy and nations sometime in the future. If you find this useful, it'll motivate me more to develop towny.
I should've asked IcyDiamond first before announcing it, but I asked them and they said I can be the new maintainer and they probably won't work on towny anymore. So I'm now the maintainer for the towny mod. This mod is now the official 'towny'. This thread is for my version of the mod.
Residents
A resident is a player in a towny server. They can join or make a town.
They can own plots, be a comayor for their town, be trusted in a town or get kicked out of a town.
Claim Blocks
A claim block is 16x16x16 nodes (or one mapblock) in size. By default, nobody
in town except for the mayor and comayors can build in an unplotted claim block. A claim block can be turned into a plot with the /plot claim command.
Permissions and Toggles
Blocks have permissions and toggles, so you can fine tune the protection in a block.
There are 5 groups; trusted, resident, nation, ally, outsider,
and there are 5 types; place, dig, switch (open chests, doors, levers, etc.), itemuse (screwdriver etc.), and buy (buy a plot).
There are 4 toggles, explosions, pvp, firespread, and mobspawns.
If you want outsiders to open chests and doors but don't want them to do anything else? You can do that.
If you want tnt to destroy nodes in a part of your town, but disallow everything else? You can do that.
Towns
A town is made up of residents and claim blocks. Towns can invite residents, and expand their territory. Towns have a mayor and can have comayors. You can set the permissions and toggles for every block in your town at once.
Plots
Plots are town claim blocks that can be owned by a town resident. Plots can have multiple members.
Repository: https://gitlab.com/olivia-may/towny
ContentDB page: https://content.luanti.org/packages/livphi/towny/
[Mod] Towny mod rewrite (WIP) [towny]
Who is online
Users browsing this forum: Johnny Joy and 1 guest