Skip to content

9joshua/minetest_kits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Kits v1.0

Adds kits and kit commands to Minetest

Configuration

This mod provides two sample kits: example_miner and example_blaster Follow the sample to add more kits. There is no limit to the number of kits that can be added.

There are several types of cooldowns for a particular kit and for the kit command...

Individual kit cooldowns are specified in the kits table. For eample, the kit below has a cooldown of 8 minutes: example_miner = {loadout = {"default:pick_diamond", "default:shovel_diamond", "default:sword_diamond ", }, cooldown = 8},

The kit command cooldown time specifies, in minutes, how long a player must wait to use the /kit command again. The default value is 2 minutes and can be changed by setting the value of local kit_cmd_cooldown

By default, the kit command cooldown for a player resets to zero if they die. This can be configured by setting a new value for kit_command_reset_on_die. To disable a reset of the kit command time on player death, set this value to 0. Otherwise set to 1.

Commands

/kit <kitname> Gives player the specified kit

/kits Shows a list of available kits

/resetkits Resets kit and kit command times for all players (required kitsadmin privilege)

Privileges

Two privileges are added by this mod.

kits allows a player to use the /kit command

kitsadmin allows admin to reset the kit temporary data for all players.

About

Adds kits and kit commands to Minetest

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages