[Mod] DigAll [digall]

User avatar
tig-m5
Member
 
Posts: 32
Joined: Thu Jun 02, 2016 04:43

[Mod] DigAll [digall]

by tig-m5 » Mon Oct 23, 2017 12:17

Image

This mod makes it possible for players to dig nodes effectively.
With this MOD, when a player digs a node, the nodes around that node are also dug at the same time.
It is convenient for getting resources and digging tunnels.

Image

USAGE:

First of all, type the following command and give digall privilege to the player.
If you do not have digall privilege, you can not use the digall command.

Code: Select all
/grant <playername> digall


By using the digall command, you can enable / disable digall and invoke the setting screen.
The following is a list of commands.

  • digall:activate : Activates digall.
  • digall:deactivate : Deactivates digall.
  • digall:init : Initializes digall settings.
  • digall:conf : Shows setting screen.
  • digall:quickmode : Enable/Disable quickmode.

The setting screen displayed by the digall:conf command is shown below.

+ Spoiler


On the left side of the setting screen, select the node to set.
In the middle, choose how to dig.
If parameters can be set for digging, it will be displayed on the right side, so please set it.
For this image, you can set the digging range in the X, Y and Z directions.

LICENSE: WTFPL

LINKS:

Last edited by tig-m5 on Tue Oct 24, 2017 02:16, edited 2 times in total.
 

User avatar
ExeterDad
Member
 
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
Location: New Hampshire U.S.A
In-game: ExeterDad

Re: [Mod] DigAll [digall]

by ExeterDad » Mon Oct 23, 2017 12:40

Love the graphic :P
Care to list some of the features?
 

User avatar
tig-m5
Member
 
Posts: 32
Joined: Thu Jun 02, 2016 04:43

Re: [Mod] DigAll [digall]

by tig-m5 » Mon Oct 23, 2017 13:23

Thanks for the advice!
I am not good at English, so I will do my best with google translate :(
 

User avatar
Fixer
Member
 
Posts: 866
Joined: Sun Jul 31, 2011 11:23
Location: Ukraine
IRC: Fixer
In-game: Fixer

Re: [Mod] DigAll [digall]

by Fixer » Mon Oct 23, 2017 20:55

Nice, could you automatically turn it on by holding shift while digging?
 

User avatar
tig-m5
Member
 
Posts: 32
Joined: Thu Jun 02, 2016 04:43

Re: [Mod] DigAll [digall]

by tig-m5 » Tue Oct 24, 2017 02:15

Very nice idea!!
I implemented it as quickmode.

Type the digall:quickmode command to activate it :)
 

User avatar
ThomasMonroe
Member
 
Posts: 278
Joined: Tue Apr 04, 2017 16:21
Location: Wherever I am at
GitHub: ThomasMonroe314
IRC: ThomasMonroe TMcSquared
In-game: ThomasMonroe TMcSquared

Re: [Mod] DigAll [digall]

by ThomasMonroe » Tue Oct 24, 2017 11:45

looks neat!
would this cause lag in multiplayer servers?
Projects|:*sigh* school: :Qub³d: :Legends Of Survival: :making people think:
I don't make things messy, I just *cough* disturb the local entropy.
 

User avatar
azekill_DIABLO
Member
 
Posts: 7460
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] DigAll [digall]

by azekill_DIABLO » Tue Oct 24, 2017 12:33

ThomasMonroe wrote:would this cause lag in multiplayer servers?

I don't think so, it's a very fast maths... but it would slow down a bit on an already laggy server.

Great idea, and +1 for the formspec!
 

User avatar
tig-m5
Member
 
Posts: 32
Joined: Thu Jun 02, 2016 04:43

Re: [Mod] DigAll [digall]

by tig-m5 » Tue Oct 24, 2017 12:59

ThomasMonroe wrote:looks neat!
would this cause lag in multiplayer servers?

Sorry, I have not tested in multiplayer servers.
However, unless the digging range is significantly enlarged, I think that probably not much lag will occur.
 

User avatar
tig-m5
Member
 
Posts: 32
Joined: Thu Jun 02, 2016 04:43

Re: [Mod] DigAll [digall]

by tig-m5 » Tue Oct 24, 2017 13:10

azekill_DIABLO wrote:Great idea, and +1 for the formspec!

Thanks :)
 

User avatar
Lord_Vlad
Member
 
Posts: 112
Joined: Thu Jul 20, 2017 07:58

Re: [Mod] DigAll [digall]

by Lord_Vlad » Sun Apr 01, 2018 19:16

Does it use a tool as much as it takes blocks in ?
 

User avatar
RSLRedstonier
Member
 
Posts: 449
Joined: Wed May 10, 2017 21:00
Location: some were in middle earth
GitHub: RSL-Redstonier
In-game: RSLRedstonier

Re: [Mod] DigAll [digall]

by RSLRedstonier » Sun Apr 01, 2018 23:19

perhaps make a few tools, dig shovel, dig pick and so on that do this feature on their respective blocks instead of a priv and all tools
nice alternative to veinminer
"A programmer is just a tool which converts caffeine into code"

try out my skytest mod always being updated!
https://forum.minetest.net/viewtopic.php?f=9&t=17568
 


Return to WIP Mods



Who is online

Users browsing this forum: Bing [Bot] and 3 guests