My fork - ownership of blocks, clans, teleports

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

My fork - ownership of blocks, clans, teleports

by jachoo » Mon Sep 12, 2011 09:07

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?

[h]Work progress:[/h] (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%

[h]Almost ready![/h]

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

[h]Screenshots[/h]
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 » Mon Sep 12, 2011 12:40

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 » Thu Sep 15, 2011 17:47

Sources are here:

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

[h]How it works[/h]

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.

[h]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 :)[/h]

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
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Thu Sep 15, 2011 23:40

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 » Tue Sep 20, 2011 00:35

New version is available on github.

[h]New blocks:[/h]
- 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 » Fri Sep 30, 2011 20:16

New version on github.

- [h]Merged 0.2.20110922 minetest version[/h]
- groups renamed to clans
 

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

by jachoo » Sat Oct 15, 2011 22:24

New version. Almost final :)

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

[h]Testers needed![/h]
Source: https://github.com/jachoo/minetest-jachoo
Windows binary: https://github.com/downloads/jachoo/minetest-jachoo/minetest-jachoo-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 » Sun Oct 16, 2011 07:44

I Shall test !
I love mods :D
 

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

by Staffs » Sun Oct 16, 2011 07:58

Prooooblem
I love mods :D
 

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

by Staffs » Sun Oct 16, 2011 07:59

I love mods :D
 

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

by jachoo » Sun Oct 16, 2011 09:59

Oh... Sorry. Try now.
 

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

by Atype » Sun Oct 16, 2011 12:43

Everything works fine.
Ubuntu.
 

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

by jordan4ibanez » Sun Oct 16, 2011 13:58

let me try this :D
If you can think it, you can make it.
 

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

by hijera » Mon Oct 17, 2011 09:14

tested on windows xp sp2. ok
 

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

by Staffs » Mon Oct 17, 2011 16:34

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 » Mon Oct 17, 2011 16:49

Can anyone run a public server?
 

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

by Staffs » Tue Oct 18, 2011 05:11

Yea that would be cool
I love mods :D
 

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

by placki » Sun Oct 23, 2011 23:33

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 » Mon Oct 24, 2011 12:27

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 » Mon Oct 24, 2011 14:00

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 » Mon Oct 24, 2011 14:08

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 » Mon Oct 24, 2011 17:03

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 » Mon Oct 24, 2011 17:05

teleport dont work to 0,0,0 .
 

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

by Staffs » Mon Oct 24, 2011 17:39

Worked for me :/
I love mods :D
 

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

by saschakb » Mon Oct 24, 2011 18:51

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
 

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

by Staffs » Tue Oct 25, 2011 08:42

Im arch Thanks
I love mods :D
 

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

by Staffs » Wed Oct 26, 2011 16:44

There should be a /clan-home (set/restore) Or smth like that jachoo new todo list :D
I love mods :D
 

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

by jachoo » Wed Oct 26, 2011 20:00

Alright... Let me summarize...

[h]FEATURE REQUESTS:[/h]
1. Command /die [DONE]
2. Clans - admin / moderators / members [DONE]
3. Pairing teleports, two-way teleports [DONE]
4. Hidden teleport's destination position [priority:MEDIUM] [in progress]
5. Clan's spawn point [DONE]
6. Better graphics of teleport and borderstone [priority:LOW]
7. Client-side teleporting (faster, but will be problematic if server-side flying protection will be implemented) [DONE]
8. When player points to borderstone (s)he should see coordinates that it protects (some players find it confusing that it protects 16x16x16 grid and not blocks in radius around). [priority:MEDIUM]

[h]BUGS REPORTED:[/h]
1. Borderstone should not have no owner [priority:HIGH] [in progress]
2. Better checking of teleport coords + teleport to 0,0,0 [DONE]
3. Prohibit mobs destroy clan's terrain. [DONE]
4. Teleports sometimes don't work [DONE] (see: request 7)
5. option: building/placing objects is not allowed outside of owned land if player points on border of owned land. [DONE]
6. Player has to jump if teleport is placed at eye level[DONE] (take note that this means player can be affected by 2 teleports at once - lower teleport will work)

[h]OTHER:[/h]
1. Merge with celeron55 newest repository version [DONE]

[h]-----------------[/h]

I'll try to publish a new version on the nearest weekend. Anyone wants to help?
Last edited by jachoo on Sun Oct 30, 2011 10:39, edited 1 time in total.
 

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

by placki » Wed Oct 26, 2011 20:07

i can do 1,3,4 + bug1+bug2 if you haven't done that yet.

REQUESTS:
4. [DONE]
8. [DONE]

BUGS:
1. [DONE] (also fixed removing borderstone from inventory but not placing it on map if block already has owner)

btw: my git repository is here:
https://github.com/placki/minetest-jachoo
Last edited by placki on Wed Nov 02, 2011 16:52, edited 1 time in total.
 

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

by jachoo » Wed Oct 26, 2011 20:22

OK. I'll try to do the rest, if I find some time this week...

Today I plan to merge with celeron's latest source.

//edit:

New version on github. Merged latest celeron's sources and some minor changes. I like bigger teleports ;)
Last edited by jachoo on Wed Oct 26, 2011 21:22, edited 1 time in total.
 

Next

Return to Minetest Engine

Who is online

Users browsing this forum: No registered users and 2 guests

cron