Ocsethome: Difference between revisions
No edit summary |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="p44_navbar"> | <div class="p44_navbar"> | ||
[[Main_Page| | [[Main_Page|Start Page]] | ||
[[Minetest| | [[Browser_Play|Browser Play!]] | ||
[[Minetest|This page]] | |||
[[MTWorlds|MT worlds]] | [[MTWorlds|MT worlds]] | ||
[[Player_Basics|Player Basics]] | |||
[[Bucket_Game|Bucket Game]] | [[Bucket_Game|Bucket Game]] | ||
[[ | [[Downloads|Downloads]] | ||
[[Contact|Contact]] | |||
[[Devel_Center|Devel Center]] | |||
</div> | </div> | ||
Line 16: | Line 20: | ||
<br /> | <br /> | ||
---- | |||
<span id="ocsethome-howto"></span> | <span id="ocsethome-howto"></span> | ||
== How to Use == | == How to Use == | ||
Bucket Game includes the "ocsethome" mod. This is a new version of | Bucket Game includes the "ocsethome" mod. This is a new version of "sethome" that allows multiple homes. It supports commands similar to the following: | ||
"sethome" | |||
following: | |||
/sethome1 - Set 1st home location | /sethome1 - Set 1st home location | ||
Line 48: | Line 52: | ||
maxhomes = 3 | maxhomes = 3 | ||
The world host can also use the following setting to disable extra | The world host can also use the following setting to disable extra homes entirely: | ||
homes entirely: | |||
disable_extra_homes = true | disable_extra_homes = true | ||
<span id="ocsethome-tech"></span> | <span id="ocsethome-tech"></span> | ||
== Technical notes == | == Technical notes == | ||
Line 64: | Line 66: | ||
Such an entry would break things. | Such an entry would break things. | ||
N03. This mod provides an undocumented API that can be used by other | N03. This mod provides an undocumented API that can be used by other mods. Presently, "unified_inventory" and SkyDoom use the API. | ||
mods. Presently, "unified_inventory" and SkyDoom use the API. | |||
N04. This implementation uses an improved mechanism to create the data | N04. This implementation uses an improved mechanism to create the data directory used. | ||
directory used. |
Latest revision as of 23:07, 6 September 2023
How to Use
Bucket Game includes the "ocsethome" mod. This is a new version of "sethome" that allows multiple homes. It supports commands similar to the following:
/sethome1 - Set 1st home location /sethome2 - Set 2nd home location /sethome3 - Set 3rd home location /sethome4 - Set 4th home location etc. /sethome - Same as /sethome1
/home1 - Go to 1st home location /home2 - Go to 2nd home location /home3 - Go to 3rd home location /home4 - Go to 4th home location etc. /home - Same as /home1
Maximum number of homes
By default, up to 8 homes can be set at a time. The world host can change the maximum number using settings of this form:
max_homes = 3 or maxhomes = 3
The world host can also use the following setting to disable extra homes entirely:
disable_extra_homes = true
Technical notes
N01. This mod requires the "ocmkdir" mod.
N02. "ocsethome" calls "unified_inventory". However, "unified_inventory" shouldn't be listed in the "ocsethome" "depends.txt" file; not even as an optional dependency. Such an entry would break things.
N03. This mod provides an undocumented API that can be used by other mods. Presently, "unified_inventory" and SkyDoom use the API.
N04. This implementation uses an improved mechanism to create the data directory used.