Skip to content
sakurawald edited this page Jul 16, 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.

FakePlayerManager module

Enable this module requires carpet-fabric mod installed.

This module provides some management for fake-player and /player command.

BetterInfo module

Adds nbt query and entity query for carpet command /info.

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.

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.

FixPlayerListCME module

a fix patch for ServerWorld#PlayerList, to avoid CME in player-list (e.g. sometimes tick-entity and tick-block-entity will randomly crash the server because of player-list CME)

FixWhitelist 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.

BypassChatSpeed module

This module bypass "Kicked for spamming"

BypassMoveSpeed module

Disable moved too quickly and vehicle too quickly check

BypassMaxPlayerLimit module

Bypass the max players limit of the server.

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.

Hat module

This module provides /hat command.

Fly module

This module provides /fly command.

God module

This module provides /god command.

Language module

This module provides multi-language support for your players. (Disable this module will force all the players to use the default language)

  • The default language is en_us.
  • 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.

Reply module

This module provides /reply command, which replys the recent player who /msg you

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.

Suicide module

This module provides /suicide command.

CommandInteractive module

This module allows you to write commands in sign block.

A sign-block contains 4 lines. You can write commands in the sign-block.

Each command starts with prefix // e.g. Line 1 contains Click me //back will execute the command /back

The placeholder @u means the user player name. e.g. Line 1 contains //kill @u will execute the command /kill {player_name}

  • If the sign contains //, then you must press shift to edit this sign
  • You can add some comments before the first //
  • You can use all the four lines to insert // (Every // means one command)
  • Placeholder @u means the user of this sign

Heal module

This module provides /heal command.

Feed module

This module provides /feed command.

Repair module

This module provides /repair command.

Seen module

This module provides /seen command.

More module

This module provides /more command.

Extinguish module

This module provides /extinguish command.

Home module

This module provides /home command.

Meta:

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

Ping module

This module provides /ping command.

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
  • ... (and 7000+ other system messages)

EnderChest module

This module provides /enderchest command.

Workbench module

This module provides /workbench command.

Enchantment module

This module provides /enchantment command.

Anvil module

This module provides /anvil command.

GrindStone module

This module provides /grindstone command.

StoneCutter module

This module provides /stonecutter command.

Bed module

This module provides /bed command, which teleports the player to his bed.

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.

Loom module

This module provides /loom command.

Cartography module

This module provides /cartography command.

Smithing module

This module provides /smithing command.

World module

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

Realname module

This module provides /realname command.

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

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

Clone this wiki locally