My fork - ownership of blocks, clans, teleports

For people working on the C++ code.
jachoo
Member
Posts: 45
Joined: Mon Sep 12, 2011 08:29

My fork - ownership of blocks, clans, teleports

by jachoo » Post

Hello everyone!

I'm working on a group/clan system for MineTest.

My idea is something like this:
- any player can define one clan => he becomes its admin
- any member of the clan can add any other player to that clan
- any member of the clan can kick any non-admin member from that clan
- world blocks (16x16x16) may have (at most one) owner clan
- only members of the clan can modify those blocks
- clan owns a terrain by placing on it some special block

Any comments?

Work progress:

(upgrade)

- block (16x16x16) ownership - 100%
- server-side ownership checking - 100%
- client-side ownership checking - 100%
- client-side ownership displaying - 100%
- special block to take ownership - 100%

- new client permission "CLANS" - 100%
- clan names - 100%
- defining a clan - 100%
- deleting a clan - 100%
- admin of a clan - 100%
- adding players to clan - 100%
- kicking players from clan - 100%

- teleports - 100%

Almost ready!

It needs some more testing, especially on Linux. Please help: https://github.com/jachoo/minetest-jachoo. Windows binary: https://github.com/downloads/jachoo/min ... oo-rc1.zip

Screenshots

Image
Image
Image
Last edited by jachoo on Sat Oct 15, 2011 23:53, edited 1 time in total.

User avatar
Staffs
Member
Posts: 329
Joined: Thu Aug 04, 2011 13:16

by Staffs » Post

It sounds hard but i believe its Awesome !
I love mods :D

jachoo
Member
Posts: 45
Joined: Mon Sep 12, 2011 08:29

by jachoo » Post

Sources are here:

https://github.com/jachoo/minetest-jachoo

How it works

Player has 4 new commands:

/#clan-new clan name - creates a new clan. One player can create only one clan. Creator of the clan can't be kicked from it.
/#clan-delete clan name - deletes clan. Only clan admin can do this.
/#clan-join clan name player name - adding another logged-in player to the clan. You must be a member of this clan.
/#clan-kick clan name player name - kicking another logged-in player from the clan. You must be a member of this clan.

To own the terrain you have to be a clan member and just place somewhere special block (border stone - 8x stone + 1x steel block) and set its content to clan name (it works like signs). Now, only members of that clan can modify that terrain (16x16x16 blocks). If you remove that block or change its content to null, "#" or "nobody", ownership is cleared.

Only one clan can own one terrain block, but player can be a member in many clans.

It needs some more testing, but I don't have a server. So if anyone could run a public server of this version, it would be great :)

Additionally: I don't like /#teleport command. In minetest-jachoo, you can build new special block "teleport". It's made up from 8 steel blocks and 1 mese at the center. After placing a teleport, you can set its content to coords in format X,Y,Z {some text, e.g. name or comment}. Player is teleported when stands on a teleport.
Last edited by jachoo on Sun Oct 16, 2011 00:18, edited 1 time in total.

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

by Calinou » Post

I love the group idea/protection idea, great work so far! When PvP will be implemented, people in the same group will not be able to attack other players of the group, probably. I'll look into making a non 24/7 server tomorrow, maybe.

jachoo
Member
Posts: 45
Joined: Mon Sep 12, 2011 08:29

by jachoo » Post

New version is available on github.

New blocks:

- border stone (8 stone (not cobble!) + 1 steel block (!) at the center) => 4 border stones
- teleport (8 steel blocks + 1 mese at the center) => 1 one-way teleport
Last edited by jachoo on Tue Sep 20, 2011 00:37, edited 1 time in total.

jachoo
Member
Posts: 45
Joined: Mon Sep 12, 2011 08:29

by jachoo » Post

New version on github.

-

Merged 0.2.20110922 minetest version

- groups renamed to clans

jachoo
Member
Posts: 45
Joined: Mon Sep 12, 2011 08:29

by jachoo » Post

New version. Almost final :)

- added new privilege: CLANS (to perform clan-related commands)
- added "clan-delete" command

Testers needed!

Source: https://github.com/jachoo/minetest-jachoo
Windows binary: https://github.com/downloads/jachoo/min ... oo-rc1.zip

Enjoy!
Last edited by jachoo on Sat Oct 15, 2011 22:56, edited 1 time in total.

User avatar
Staffs
Member
Posts: 329
Joined: Thu Aug 04, 2011 13:16

by Staffs » Post

I Shall test !
I love mods :D

User avatar
Staffs
Member
Posts: 329
Joined: Thu Aug 04, 2011 13:16

by Staffs » Post

Prooooblem
I love mods :D

User avatar
Staffs
Member
Posts: 329
Joined: Thu Aug 04, 2011 13:16

by Staffs » Post

I love mods :D

jachoo
Member
Posts: 45
Joined: Mon Sep 12, 2011 08:29

by jachoo » Post

Oh... Sorry. Try now.

Atype
New member
Posts: 8
Joined: Sun Oct 16, 2011 12:42

by Atype » Post

Everything works fine.
Ubuntu.

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Post

let me try this :D
hello, am program. do language in rust. make computer do. okay i go now.

hijera
Member
Posts: 36
Joined: Sun Jun 19, 2011 13:04

by hijera » Post

tested on windows xp sp2. ok

User avatar
Staffs
Member
Posts: 329
Joined: Thu Aug 04, 2011 13:16

by Staffs » Post

The fork is AWESOME and yes it works !
I love mods :D

jachoo
Member
Posts: 45
Joined: Mon Sep 12, 2011 08:29

by jachoo » Post

Can anyone run a public server?

User avatar
Staffs
Member
Posts: 329
Joined: Thu Aug 04, 2011 13:16

by Staffs » Post

Yea that would be cool
I love mods :D

placki
Member
Posts: 19
Joined: Sun Oct 23, 2011 23:21

by placki » Post

test server (seems to work):
89.167.22.131 port 30000
trying to connect with any other client version than jachoo will not work, so please do not try.

btw. In my opinion allowing anybody from clan to kick/add anybody else (except creator) is mistake.
1. Ordinary members should be only allowed to build, without clan management rights.
There should be extra class of clan members (officers?) who can kick/add ordinary members (but not creator/other officers).
And only clan creator can promote/sack officer.
/edit:
Other thoughts:
2. Borderstones should have name filled after placement (simply repeat name last inserted into previous borderstone?)
3. With teleports it is possible to create infinite loops/traps. And with borderstones - rooms impossible to escape. So adding server command "/respawn" is a must. This would teleport/respawn player to a safe place with health restored (maybe to any random borderstone of any of his/her clans?). In survivor this would also cause standard death/loss of equipment (so avoid unknown teleports :P )
4. maybe limit teleports, so they only work if target place is owned by player clan (what is the point of building clan fortress if anybody can teleport in?)
Last edited by placki on Mon Oct 24, 2011 08:26, edited 1 time in total.

jachoo
Member
Posts: 45
Joined: Mon Sep 12, 2011 08:29

by jachoo » Post

Thanks for comments :)

1. Yes, you're right, but... what if a clan member starts to grief or destroys everything? Allowing everyone from clan to kick him could greatly minimize griefing. We should think about it. Maybe something like 1 hour clan build rights suspension?

2. Good idea.

3. Prisons for griefers ;) But seriously, imo command /die should be enough.

Hmmm... What you think about making clan-related spawn points?

4. Better idea is to allow teleport only to another already placed teleport that is owned by your clan. It's a bit more difficult to implement...
Last edited by jachoo on Mon Oct 24, 2011 12:28, edited 1 time in total.

placki
Member
Posts: 19
Joined: Sun Oct 23, 2011 23:21

by placki » Post

1. Suspension until clan admin/officer removes it would be best solution, but very complex.
Timed suspension would limit damage... but then malicious player can first suspend everybody else. Or if retaliatory suspension is allowed - everybody would end up suspended...

3. /die is good.
Always spawning players on (random) clan owned land seems reasonable.
Maybe even add "spawn marker" - only single per clan possible (only clan admin can place it). Player belonging to multiple clans would spawn on random clan marker (if it exists) or some owned ground otherwise.

4. I assume you are talking about pairing teleports - both teleports work if and only if they point to each other. This would be great.

And another minor proposal:
5. How about labelling teleports "x,y,z,name" - so non-clan members would see only name?

jachoo
Member
Posts: 45
Joined: Mon Sep 12, 2011 08:29

by jachoo » Post

2,3,4 - agreed
1,5 - must think about it...

Lots of work... Help needed...

User avatar
Staffs
Member
Posts: 329
Joined: Thu Aug 04, 2011 13:16

by Staffs » Post

jachoo about 5 -->"x,y,z,name" - so non-clan members would see only name? <--
Totally has to be done or else somebody might just use teleport manually and go to places were would not everybody else only clan be
I love mods :D

hijera
Member
Posts: 36
Joined: Sun Jun 19, 2011 13:04

by hijera » Post

teleport dont work to 0,0,0 .

User avatar
Staffs
Member
Posts: 329
Joined: Thu Aug 04, 2011 13:16

by Staffs » Post

Worked for me :/
I love mods :D

User avatar
saschakb
Member
Posts: 93
Joined: Sat Sep 24, 2011 19:25
Location: Cyberspace
Contact:

by saschakb » Post

For the Arch Linux users I have setup a quick PKGBUILD in the AUR.
Have fun with it,

Sascha

https://aur.archlinux.org/packages.php?ID=53421
Have a look on my minetest screenshots on http://saschakb.tumblr.com
If you would play in my world, fork the datas from https://github.com/saschakb/minetest-world

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests