Mods / CitiesAndNations - city claim system

Category: #Other #Utility
Author: KenigVovan
Side: Server
Created: Mar 3rd at 6:07 PM
Last modified: 2 days ago
Downloads: 856
Follow Unfollow 5

(There is also additional mod (https://mods.vintagestory.at/show/mod/2820) 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.0 3 2 days ago Show claims_v0.1.0.zip
v0.0.18 31 Jun 6th at 9:36 AM Show claims_v0.0.18.zip
v0.0.17 29 May 21st at 6:26 PM Show claims_v0.0.17.zip
v0.0.16 34 May 5th at 9:06 AM Show claims_v0.0.16.zip
v0.0.15 32 Apr 23rd at 5:36 PM Show claims_v0.0.15.zip
v0.0.14 43 Apr 21st at 8:57 AM Show claims_v0.0.14.zip
v0.0.13 57 Apr 15th at 7:47 AM Show claims_v0.0.13.zip
v0.0.12 40 Apr 10th at 5:50 PM Show claims_v0.0.12.zip
v0.0.11 49 Apr 7th at 7:03 AM Show claims_v0.0.11.zip
v0.0.10 56 Apr 3rd at 7:09 PM Show claims_v0.0.10.zip
v0.0.9 60 Mar 29th at 9:41 PM Show claims_v0.0.9.zip
v0.0.8 54 Mar 27th at 2:36 PM Show claims_v0.0.8.zip
v0.0.7 57 Mar 25th at 11:38 AM Show claims_v0.0.7.zip
v0.0.6 61 Mar 19th at 9:31 AM Show claims_v0.0.6.zip
v0.0.5 58 Mar 15th at 6:35 PM Show claims_v0.0.5.zip
v0.0.4 76 Mar 5th at 2:17 PM Show claims_v0.0.4.zip
v0.0.3 69 Mar 3rd at 6:08 PM Show claims_v0.0.3.zip

16 Comments (oldest first | newest first)

KenigVovan, 1 day ago

@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, 1 day ago

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 - Pastebin.com

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

Hi! 

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

@Vinter_Nacht

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

@Vronizos

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?

delete edit