Skip to content
sakurawald edited this page Jul 18, 2024 · 31 revisions

Modules

This page is generated by program. To get more detailed documentation, read the runtime-control configuration

By default, all the modules are disabled.

ResourceWorld module

This module adds another 3 worlds called resource world: resource_overworld, resource_nether, resource_the_end .

Command: /rw

Use-case: you have 3 permanent-world which is boundary-limited, and you want to provides infinite resource for the newbie players, then you can use resource world while keeping the permanent-world.

NewbieWelcome module

This module provides some jobs to trigger when a player is the first time to join the server.

TeleportWarmup module

This module adds a warmup cooldown before player-teleporatation.

The teleportation will be cancelled if:

  1. the player runs too far.
  2. the player gets damage.
  3. the player is in combat.

MOTD module

This module customs your MOTD in server-list.

CommandCooldown module

This module provides a cooldown before each command the player issued.

Use-case: use this module to avoid some heavy-command abuse

TopChunks module

This module provides the /chunks command, which shows the top laggy chunks in the server.

The output is a score list, each score means a chunk, and how laggy the chunk is. (Large score means more laggy)

Chat module

This module provides chat custom. (You might also want to enable placeholder module)

Command: /chat

Feature:

  • You can create your own regex transformaer to repalce the input message.
  • You can insert any placeholder like %world:name% in the chat message. (See more placeholders in: https://placeholders.pb4.eu/user/default-placeholders/)
  • You can insert player's prefix and suffix. Just insert fuji:player_prefix and fuji:player_suffix.

Requires luckperms installed. See also: https://luckperms.net/wiki/Prefixes,-Suffixes-&-Meta After you installed luckperms mod, just issue /lp group default meta setprefix <yellow>[awesome] to assign prefix. Don't forget to change the format of Chat module, and issue /fuji reload

  • You can insert item, inv and ender to display your item in your hand, your inventory and your enderchest
  • You can insert Steve to mention another player named Steve.
  • You can insert pos to show the position.
  • You can use markdown language to define simple format.
  • You can use mini-message language to define complex format.

See: https://docs.advntr.dev/minimessage/format.html See: https://placeholders.pb4.eu/user/quicktext Placeholder:

  • %fuji:item%
  • %fuji:inv%
  • %fuji:ender%
  • %fuji:pos%
  • %fuji:date%
  • %fuji:player_prefix%
  • %fuji:player_suffix%

Skin module

This module provides player skin management.

Back module

This module provides /back command.

Tpa module

This module provides /tpa, /tpahere, /tpaacept and /tpadeny commands.

Works module

This module provides /works command.

A work means a project (a building, a red-stone device ...) that crafted by a player.

All work types:

  1. Non-production work: the project don't produce any resource (e.g. bone, string, coal).
  2. Production work: the project produce some resource. For a production-work, fuji provides the production sample to count the hopper and minecart-hopper

WorldDownloader module

This module provides /download command.

This command allows to downlaod nearby chunks around a player.

Use-case: if a player wants to download his buildings, or just want to download the redstone-structure so that he can debug in his single-player world.

DeathLog module

This module provides /deathlog command.

Log player's inventory when he die, so that we can restore his inventory later.

Placeholder module

This module provides some extra placeholder. Extra placeholder:

  • %fuji:player_mined%
  • %fuji:server_mined%
  • %fuji:player_placed%
  • %fuji:server_placed%
  • %fuji:player_killed%
  • %fuji:server_killed%
  • %fuji:player_moved%
  • %fuji:server_moved%
  • %fuji:player_playtime%
  • %fuji:server_playtime%

You can also use the default available placeholders in anywhere. (Yeah, you can use placeholder in the en_us.json language file, it works)

MultiObsidianPlatform module

In vanilla minecraft, each ender-portal links to the only one obsidian platform. This module makes each ender-portal links to its own obsidian platform.

makes every EnderPortal generate its own Obsidian Platform (Up to 128 in survival-mode. You can even use creative-mode to build more Ender Portal and more ObsidianPlatform.

Please note that: all the obsidian-platform are vanilla-respect, which means they have the same chunk-layout and the same behaviour as vanilla obsidian-platform which locates in (100,50,0))

Use-case: you want more obsidian platform for your redstone-struture.

OpProtect module

auto deop an op-player when he leaves the server.

Pvp module

This module provides /pvp command.

Whitelist module

for offline whitelist, this makes whitelist ONLY compare the username and ignore UUID!

CommandPermission module

See permission

Head module

This module provides /head command, so that players can buy custom-head.

Profiler module

Enable this module requires spark mod installed.

This module provides /profiler command to show server health status (including os, vm, cpu, ram, tps, mspt and gc)

CommandSpy module

log command issue into the console.

Scheduler module

This module provides scheduler for auto-run jobs, and /schudler_trigger command.

You can add schedule jobs by cron expression, set the random command-list to be executed.

Config module

This module provides /fuji reload command, so that you can reload modules in game.

Test module

This module provides some test commands for development. This module only works in development-environment. If you enable this module in a production-environment, then nothing will happen.

Language module

This module provides multi-language support for your players.

Disable this module: all the players use the default_language

Enable this module: will try to respect the player's client-side language, if the server-side supports its language

Feature:

  • Respect the player's client-side language-setting.
  • If the player's client-side language-setting is not supported, then use the default language.
  • Lazy-load support, which means if a language is not required, then it will not be loaded.
  • Dynamic-reload support, you need to enable ConfigModule to use reload command.

Afk module

This module provides afk detection.

If a player is idle long enough, he will be marked as afk state. A afk player will display in tab list.

A player can issue /afk command to afk manually.

CommandInteractive module

This module allows you to write commands in sign block.

Example 1

/say hi %player:name%
line 2 empty
line 3 empty
line 4 epmty

Example 2

prefix /say first
/say the second
/say hi %player:name%
/say the last command

Example 3

prefix /say this is
the first /say and the
second
line 4 empty

Note:

  • You need to press shift + right click to edit an interactive sign
  • The command is executed as the player in the console. (Not executed as the console)

Home module

This module provides /home command.

Meta:

  • Integer fuji.home.home_limit # The home number per player limit.

SystemMessage module

This module allows you to custom every system-message defined by mojang in ./assets/minecraft/lang/en_us.json

The mojang offical en_us.json file may looks like: en_us.json for minecraft 1.21

The system messages including:

  • Player join and leave server message
  • Player advancement message
  • Player death message
  • Player command feedback
  • Player white-list message
  • ... (More possibility)

Sit module

This module provides /sit command, and the ability to sit by right-click any chair.

CommandAlias module

This module provides command alias.

An alias means we redirect a command-node into another command-node. The requirement of comamnd-node is extended.

CommandRewrite module

This module provides command rewrite, so that you can use regex language to rewrite the command line a player issued.

World module

This module provides /world command, which teleport the player to target dimension.

Multiplier module

This module provides some numeric multiplier.

Supported numeric types:

  • damage: damage to plaer
  • experience: experience a player gained

Example 1

If you want to doubled the damage from zombie to a player. You can set a meta by: /lp group default meta set fuji.multiplier.damage.minecraft:zombie 2

Example 2

If you want to cancel fall damage for all players. You can use damage multiplier. You can set a meta by: /lp group default meta set fuji.multiplier.damage.minecraft:fall 0

Example 3

If you want to doubled all the damages to a player. You can set a meta by: /lp group default meta set fuji.multiplier.damage.all 2

Example 4

If you want to doubled all the experience a player gained. You can set a meta by: /lp group default meta set fuji.multiplier.experience.all 2

Example 5

If you want to half all the damages to a player. You can set a meta by: /lp group default meta set fuji.multiplier.damage.all 0.5

CommandWarmup module

No documentation.

Disabler module

This module provides disabler to disable checkers in vaniila minecraft.

AntiBuild module

This module provides anti-build purpose.

Use-case: ban some item/block/entity

Anti types:

  • break_block
  • place_block
  • interact_item
  • interact_block
  • interact_entity

For example, let's say you want to ban TNT:

  1. add minecraft:tnt into place_block list

And it's done.

Use /lp user <player> permission set fuji.anti_build.place_block.bypass.minecraft:tnt to allow a player place the tnt.

Nickname module

This module provides /nickname command.

Color module

This module provides colorize for: sign, anvil

Functional module

This module provides commands to open remote functional blocks (e.g. workbench, enderchest...)

Carpet module

This module provides some purpose about carpet-fabric mod.

CommandToolbox module

This module provies some simple commands. We said a command is simple since its puporse is not big enough to be a standalone facility.

Clone this wiki locally