Module: works
Overview
Provides a bill-board
, for players
to post and share their works.
Color Boxes
◉ The difference between non-production work
and production work
.
For a production work
, we provide the production sample
to count the hopper
and minecart-hopper
.
◉ What is the sample
in a production work
?
It's a counter for hopper
and minecart-hopper
.
It will counts the rate of items transferred
in defined sample duration.
For example, you can use it to count how many bone
, string
and coal
is transferred during the sample duration.
It's something like the hopper counter
in carpet
mod.
You can use both of them at the same time.
The hopper counter
provided by carpet
mod will destroy the output item.
But the hopper counter provided by this module will not.
Configurations
The following JSON content is provided for reference only. It must NOT be copied directly into the configuration directory, as it does not represent valid JSON syntax.
- File Name:
config.json
- File Content:
Click to see the default
content...
{
/* The `duration` used for `sample` for `production work`. */
"sample_time_ms": 3600000
/* The `max distance` allowed for `production work`. */,
"sample_distance_limit": 512
/* The max types of items to display for `production work`. */,
"sample_counter_top_n": 20
}
- File Name:
works.json
- File Content:
Click to see the default
content...
{
/* The created `work` list. */
"works": []
}
Jobs
-
Job Name:
ConfigurationHandlerWriteStorageJob
-
Document: This
job
is used towrite data
frommemory
intostorage
.NOTE: If you modify the
file
indisk
, then you need to issue/fuji reload
as soon as possible.NOTE: The
disk
will beoverridden
whenfire
this job.
-
Job Name:
WorksOnScheduleDispatcherJob
-
Document: This
job
is used to dispatch theonSchedule
event for eachwork
.For example:
- To end the sample of a
production work
.
- To end the sample of a
Commands
-
Command Syntax:
/works
-
Document: Open the works GUI.
-
Can be executed by console:
false
-
Required Level Permission:
0
-
Required String Permission:
null