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
job
is used toupdate
thesum up placeholders
of 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
health
of theplayer
, in visual heart characters.
-
Placeholder Name:
fuji:has_permission
-
Document: The
first string argument
is thepermission
to check.Returns whether the
player
has that permission, in boolean.
-
Placeholder Name:
fuji:get_meta
-
Document: The
first string argument
is theluckperms meta
key.Returns the
string
to represent themeta value
.
- Placeholder Name:
fuji:random_player
- Document: Pick a
random
player inonline
players, and returns itsname
.
-
Placeholder Name:
fuji:random
-
Document: The
first integer argument
is themin value
.The
second integer argument
is themax value
,Returns a random integer ranged
[min, max)
.
-
Placeholder Name:
fuji:escape
-
Document: To escape the
placeholder
from thetext parser
.The
first argument
is the literal string of thetarget placeholder
.The
second argument
is the integer forescape levels
, by default is 1.
- Placeholder Name:
fuji:protect
- Document: Accept one
required string argument
, and returns theliteral text
of 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 prefix
of the player.
- Placeholder Name:
fuji:player_suffix
- Document: Returns the
luckperms suffix
of the player.
- Placeholder Name:
fuji:pos
- Document: Returns the
location
of the player.