Module: placeholder
Overview
Provides extra placeholders for Text Placeholder API mod.
Color Boxes
◉ Install more mods to provide extra placeholders.
◉ Use placeholder in language file
Actually, you can write the placeholder in the language file.
The contextual player will be used to parse the placeholders.
Jobs
- Job Name:
UpdateSumUpPlaceholderJob - Document: This
jobis used toupdatethesum up placeholdersof theserver.
Commands
-
Command Syntax:
/placeholder list -
Document: List all placeholders registered in server.
-
Can be executed by console:
false -
Required Level Permission:
4 -
Required String Permission:
null
-
Command Syntax:
/placeholder parse [ServerPlayerEntity player] <GreedyString input> -
Document: Parse a placeholder with a contextual player.
-
Can be executed by console:
true -
Required Level Permission:
4 -
Required String Permission:
null
Placeholders
- Placeholder Name:
fuji:player_mined - Document: Returns the mined blocks by the player.
- Placeholder Name:
fuji:server_mined - Document: Returns the total mined blocks by all players in the server.
- Placeholder Name:
fuji:player_placed - Document: Returns the placed blocks by the player.
- Placeholder Name:
fuji:server_placed - Document: Returns the total placed blocks by all players in the server.
- Placeholder Name:
fuji:player_killed - Document: Returns the killed entities by the player.
- Placeholder Name:
fuji:server_killed - Document: Returns the total entities killed by all players in the server.
- Placeholder Name:
fuji:player_moved - Document: Returns the distance traveled by the player.
- Placeholder Name:
fuji:server_moved - Document: Returns the total distance traveled by all players in the server.
- Placeholder Name:
fuji:player_playtime - Document: Returns the playtime of the player.
- Placeholder Name:
fuji:server_playtime - Document: Returns the total playtime of all players in the server.
- Placeholder Name:
fuji:health_bar - Document: Returns the
healthof theplayer, in visual heart characters.
-
Placeholder Name:
fuji:has_permission -
Document: The
first string argumentis thepermissionto check.Returns whether the
playerhas that permission, in boolean.
-
Placeholder Name:
fuji:get_meta -
Document: The
first string argumentis theluckperms metakey.Returns the
stringto represent themeta value.
- Placeholder Name:
fuji:random_player - Document: Pick a
randomplayer inonlineplayers, and returns itsname.
-
Placeholder Name:
fuji:random -
Document: The
first integer argumentis themin value.The
second integer argumentis themax value,Returns a random integer ranged
[min, max).
-
Placeholder Name:
fuji:escape -
Document: To escape the
placeholderfrom thetext parser.The
first argumentis the literal string of thetarget placeholder.The
second argumentis the integer forescape levels, by default is 1.
- Placeholder Name:
fuji:protect - Document: Accept one
required string argument, and returns theliteral textof that.
-
Placeholder Name:
fuji:date -
Document: Returns current
date.Accept an optional argument to specify the
date format.For example:
%fuji:date yyyy MM dd%
See details in https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html
- Placeholder Name:
fuji:player_prefix - Document: Returns the
luckperms prefixof the player.
- Placeholder Name:
fuji:player_suffix - Document: Returns the
luckperms suffixof the player.
- Placeholder Name:
fuji:pos - Document: Returns the
locationof the player.