Mods / CitiesAndNations - city claim system

Category: #Other #Utility
Author: KenigVovan
Side: Both
Created: Mar 3rd at 6:07 PM
Last modified: Nov 17th at 8:07 PM
Downloads: 1813
Follow Unfollow 9

(There is also additional mod ( adds GUI for commands("P"), borders of plots and other)

Write in Discord or in the comments if you have questiones or problems with the mod.

Mod divides world map to plots with size 16x16xWorldHeight.
For this plot can be set rights for groups of players.
There are 3 types of right toward plot: build/destroy, use and damage against protected
animals(changable in config).
Besides this there are pvp, firespread and blast flags which turn on/off results
of corresponding events. Also by default falling block(sand, gravel...) won't fall to claimed
plot from not claimed. Same way for water flow.

More info and commands are on the forum page.


Version For Game version Downloads Release date Changelog Download
v0.1.10 22 Nov 17th at 8:07 PM Show
v0.1.9 12 Nov 17th at 9:40 AM Show
v0.1.8 30 Oct 23rd at 8:27 AM Show
v0.1.7 20 Oct 22nd at 9:07 AM Show
v0.1.4 56 Sep 10th at 8:28 AM Show
v0.1.1 59 Jul 7th at 5:49 AM Show
v0.1.3 41 Jul 16th at 1:53 PM Show
v0.1.0 58 Jul 3rd at 7:45 PM Show
v0.0.18 69 Jun 6th at 9:36 AM Show
v0.0.17 66 May 21st at 6:26 PM Show
v0.0.16 74 May 5th at 9:06 AM Show
v0.0.15 71 Apr 23rd at 5:36 PM Show
v0.0.14 81 Apr 21st at 8:57 AM Show
v0.0.13 97 Apr 15th at 7:47 AM Show
v0.0.12 88 Apr 10th at 5:50 PM Show
v0.0.11 90 Apr 7th at 7:03 AM Show
v0.0.10 102 Apr 3rd at 7:09 PM Show
v0.0.9 105 Mar 29th at 9:41 PM Show
v0.0.8 98 Mar 27th at 2:36 PM Show
v0.0.7 97 Mar 25th at 11:38 AM Show
v0.0.6 103 Mar 19th at 9:31 AM Show
v0.0.5 98 Mar 15th at 6:35 PM Show
v0.0.4 114 Mar 5th at 2:17 PM Show
v0.0.3 110 Mar 3rd at 6:08 PM Show

16 Comments (oldest first | newest first)

💬 KenigVovan, Jul 4th at 8:16 PM

@BranTuna, with infos from from this log idk really what is the problem. You can try to specify path to directory, where .json and .db files will be stored(ModConfig/claims.json and "PATH_TO_DB_AND_JSON_FILES" setting). If it won't help, you can write me in discord (KenigVovan #9572)

💬 BranTuna, Jul 4th at 3:04 PM

Bug 🐛

Now, this may just be my dumb logic trying to test this in singleplayer trying to open it to LAN (I have had plans...), and I am running Windows, but an error occurs on start that looks a little something like this:

Claims Read/Write File Location Error SP/LAN/MP Windows -

I battled with it for awhile, I changed both folders to disable Read-Only, and this is the last error it gave. I'm not very good with getting to the bottom of error reports like these, so my thinking was that it didn't have read/write permissions in the VintageStory folders, and enabling it would fix it. When that didn't work, I created the files/folders myself. Now I'm at a loss.

The whole purpose was for me to test and see if this mod works, and then set up a server if it did so I can play with my mum, who also likes games like this, then have a contest. Please know that I am very dumb smart but I still could use a little help figuring out how bad I messed things up how to better fix the issue.

Thank you in advance. 😬

💬 KenigVovan, May 1st at 8:10 AM

Bug with file paths for linux was fixed and 0.0.15 version was reuploaded.

💬 Belarrius, Apr 30th at 10:40 AM


I have a problem on Linux Server with your mod because of the Windows Path.

In "claims.json" I put path DB and json "Val": "/home/vintsserver/.config/VintagestoryData" and as db name "Val": "claims.db" the file created is "VintagestoryData\claims.db" on "/home/vintsserver/.config" and not "claims.db on /home/vintsserver/.config/VintagestoryData"


If I put "/home/vintsserver/.config/VintagestoryData/" with the slash "/" the file is located at "/home/vintsserver/.config/VintagestoryData" but called "\claims.db" instead of "claims.db"


I hope you understand with my bad english

Best regards,

💬 KenigVovan, Apr 10th at 5:27 AM

@Vronizos, added link to discord

💬 Vronizos, Apr 9th at 7:52 PM

Maybe make some kind of server on discord where people can post some ideas? I'm guessing a lot of ideas are repeated

💬 KenigVovan, Apr 9th at 6:26 PM

@Vinter_Nacht, thx. No, i don't.

💬 Vinter_Nacht, Apr 9th at 3:07 PM

You are doing the work of the ancients, good KenigVovan. Do you have a patreon?

💬 KenigVovan, Apr 5th at 2:25 PM

I'm working on it right now. I didn't find any problems (yet) with it. But idk when i'll have it ready.

[Inner claims will be in the borders of a plot where it was created. The plot will have limited number of inner claims. There are flags for every inner claim - build, use, attackanimals; and also list of the members. PlotOwner and city's mayor will have rights to create or delete inner claims, add/kick member, change flags. Ofc i'll add command to write out inner claims in the plot and command to highlight it - the same way as it works with plot borders now. A process of creation will be almost similar to default claims - choose 1. point, 2. point, create.]

💬 Amigurumi, Apr 5th at 12:01 AM

I can understand a full rewrite being a barrier, but the case is definitely not that rare. My server for example has a main city built into a large terraced mountain. Everyone's claims (especially in the shops area) is really layered vertically. Taverns and portioned shop buildings are pretty common on a lot of servers.

💬 Vronizos, Apr 3rd at 7:48 PM


without tools that would make it easier to manage 3d claims, I can't imagine managing all 3d claims by mayor of city on multiplayer servers if there are more than a few players. When you have 20 players in a city, managing 3d claims by mayor will be very problematic after some time...

I don't know about the possibility of adding this proposition to the mod. If it is easy and you could optionally enable claiming of 3d plots then ok. But if it would require rewriting of the whole mod code then for me it is unnecessary.

Not enough people will want to use it, or the use of such option will be very occasional (tavern in your example)

💬 Vinter_Nacht, Apr 1st at 11:44 PM


Really? Given that the default claim system of Vintage Story is already 3D, I have to think you're wrong about that.  We're already dealing with 3D images.  With KeninVovan's add-on mod that provides highlighting of claims, it'd make it even easier. 3-Dimensional claims are essential to making this a truly useful mod. Otherwise, users will wind up with huge swaths of blocks above and below them that are owned for no particular reason. And, as mentioned, it makes the realistic creation of inns and taverns possible.  How is this not a good and necessary improvement for this mods capabilities?

Also, I may be mistaken, but I'm pretty sure that that aforementioned plugin *also* has 3-dimensional claims.  At the very least I know I played with one on MC that did.

💬 Vronizos, Mar 10th at 9:40 AM
  1. it seems to me that 3d claims will make the mod too complicated for players (specifically in management by mayor of city). 16x16xWorld Height is fine for residents, mayors and enemy ;)
  2. by default you need items - rusty gear

To the mods author: if you need help testing the mod then let me know on discord. I don't know much about coding, but I used to play a lot on mc servers with a very similar plugin (wink wink) and maybe I could give you some ideas.

💬 Vinter_Nacht, Mar 9th at 4:27 PM

Feature Request List:

1 - 3-Dimensional claims (So that claims don't extend from mantle to skycap), useful for creating 'apartment buildings' or inn rooms.

2 - Ability to require an item to create a claim. (Creates the ability for an authority figure or figures to issue a charter that is consumed on final confirmation of claim size)

💬 KenigVovan, Mar 5th at 2:21 PM

When i'll find a way to add grid and highlighting of claimed plots on the minimap it'll be a new both sides support mod for that.

💬 Vronizos, Mar 4th at 6:53 PM

is it possible to add plot visibility on the minimap?

(edit comment delete)