[Mod] Land Rush [landrush]
Posted: Sat Feb 16, 2013 07:10
[Mod] Land Rush [landrush]
Code license: GNU LGPL version 2
Image license: CC Attribution-ShareAlike 3.0
Plugin dependencies: none (bucket, default, and fire are supported, however), money2 for land sale
This is a fork of 0gb.us' landclaim mod http://forum.minetest.net/viewtopic.php?id=3679.
Imagine the entire map is divided into chunks. You place your land rush land claim block and it protects that chunk (then the land claim block disappears).
Chunk size is configurable, default is 16x16. There are three stages of vertical protection:
-30 thru 120
120 thru vertical map limit,
-200 thru -30.
This is a partial protection mod. This is intended for PvP type maps.
1) Your areas are fully protected if you are offline.
2) You are not protected if you are online, but you will receive chat messages when somebody starts to grief one of your protected areas. Anybody you have shared the area with will also be notified. The griefer also gets a chat message that they are griefing in case it's an accident. This way you can initiate a conversation with the griefer or go and fight them.
There are two modes for this Mod
1) You are required to claim areas you wish the build on. You cannot dig or build in unclaimed areas. The exception to this are ladders, you can place and dig ladders in unclaimed areas to get yourself out of a hole or something like that. With this mode you really have to give people a few land rush land claim blocks when they first log in. Edit init.lua and change requireClaim = true to use this mode.
2) Anybody can dig or build in unclaimed areas. Edit init.lua and change requireClaim = false to use this mode.
Auto Ban
This protection has an option to auto ban players who repeatedly try to dig in claimed areas. I'm tired of people using lag to break through protected walls to get into areas that are meant to be private then steal stuff out of nodes that can't be locked like furnaces and auto crafters. This should deter that. The default settings gives the player a chat and audio warning after a couple of digging attempts, and bans them after roughly 5 digging attempts. The level of the offense is based on a weighted formula, so if they dig in one protected area (A), then attempt to dig in another area (B) 200 nodes away the digging attempt in area (B) isn't judged as severe, a second digging attempt in area (B) would be judged more severely. By default all offenses are cleared after 24 hours. If you have ChatPlus installed you can enter an admin name and that admin will get a mail message through chat plus when a player has been auto banned. Auto ban has 4 stages, 3 temp bans (10 min, 20 min, 30 min bans) then a permanent ban.
Damage Player for attempting to dig in claimed areas
Players are dealt damage for attempting to dig in claimed areas.
HUD
Displays the land owner in the lower left of the screen. This updates every couple of seconds so if you are moving around a lot it may not be 100% accurate until you stand still for a little while.
Land Sale
Sell your unused land claims. Craft a sale block and place it anywhere inside the claim, right click the block to set the price. Other players punch the block to purchase the claim.
Craft Recipe
Land Claim Block
S = Stone
I = Steel Ingot
M = Mese / Mese Crystal
S I S
I M I
S I S
Land Sale Block
W = Default Wood Planks
X = nothing
X WW
X W X
WW X
Chat Commands
/showarea - Draws a box around the current chunk you are in
/landowner - shows the current owner of the chunk you are in
/unclaim - remove your claim on the current chunk you are in
/sharearea <name> - shares the area with <name>
/unsharearea <name> - removes <name> from the share
/mayedit - Shows who has permissions to edit the claim
Download: https://github.com/Bremaweb/landrush/archive/master.zip
Code license: GNU LGPL version 2
Image license: CC Attribution-ShareAlike 3.0
Plugin dependencies: none (bucket, default, and fire are supported, however), money2 for land sale
This is a fork of 0gb.us' landclaim mod http://forum.minetest.net/viewtopic.php?id=3679.
Imagine the entire map is divided into chunks. You place your land rush land claim block and it protects that chunk (then the land claim block disappears).
Chunk size is configurable, default is 16x16. There are three stages of vertical protection:
-30 thru 120
120 thru vertical map limit,
-200 thru -30.
This is a partial protection mod. This is intended for PvP type maps.
1) Your areas are fully protected if you are offline.
2) You are not protected if you are online, but you will receive chat messages when somebody starts to grief one of your protected areas. Anybody you have shared the area with will also be notified. The griefer also gets a chat message that they are griefing in case it's an accident. This way you can initiate a conversation with the griefer or go and fight them.
There are two modes for this Mod
1) You are required to claim areas you wish the build on. You cannot dig or build in unclaimed areas. The exception to this are ladders, you can place and dig ladders in unclaimed areas to get yourself out of a hole or something like that. With this mode you really have to give people a few land rush land claim blocks when they first log in. Edit init.lua and change requireClaim = true to use this mode.
2) Anybody can dig or build in unclaimed areas. Edit init.lua and change requireClaim = false to use this mode.
Auto Ban
This protection has an option to auto ban players who repeatedly try to dig in claimed areas. I'm tired of people using lag to break through protected walls to get into areas that are meant to be private then steal stuff out of nodes that can't be locked like furnaces and auto crafters. This should deter that. The default settings gives the player a chat and audio warning after a couple of digging attempts, and bans them after roughly 5 digging attempts. The level of the offense is based on a weighted formula, so if they dig in one protected area (A), then attempt to dig in another area (B) 200 nodes away the digging attempt in area (B) isn't judged as severe, a second digging attempt in area (B) would be judged more severely. By default all offenses are cleared after 24 hours. If you have ChatPlus installed you can enter an admin name and that admin will get a mail message through chat plus when a player has been auto banned. Auto ban has 4 stages, 3 temp bans (10 min, 20 min, 30 min bans) then a permanent ban.
Damage Player for attempting to dig in claimed areas
Players are dealt damage for attempting to dig in claimed areas.
HUD
Displays the land owner in the lower left of the screen. This updates every couple of seconds so if you are moving around a lot it may not be 100% accurate until you stand still for a little while.
Land Sale
Sell your unused land claims. Craft a sale block and place it anywhere inside the claim, right click the block to set the price. Other players punch the block to purchase the claim.
Craft Recipe
Land Claim Block
S = Stone
I = Steel Ingot
M = Mese / Mese Crystal
S I S
I M I
S I S
Land Sale Block
W = Default Wood Planks
X = nothing
X WW
X W X
WW X
Chat Commands
/showarea - Draws a box around the current chunk you are in
/landowner - shows the current owner of the chunk you are in
/unclaim - remove your claim on the current chunk you are in
/sharearea <name> - shares the area with <name>
/unsharearea <name> - removes <name> from the share
/mayedit - Shows who has permissions to edit the claim
Download: https://github.com/Bremaweb/landrush/archive/master.zip