Compatible API Versions
1.0.0 and higher
Sourcecode
https://github.com/SmallasWater/Tips
Contributors
It_name, SmallasWater 若水
⚠⚠ ATTENTION ⚠⚠
This plugin IS NOT MINE if it is yours you can claim it by sending me a message!
This plugin was taken from Github for the purpose of making it known! Credits to lt-name, SmallasWater 若水

Plugins necessary:

Achievements Plugin (Only use if your server does not support achievements)

Optional Plugins:
EconomyAPI
LevelAwakenSystem
HealthAPI
RsWeapon
Friend
RsTask
PlayerPoints
OreArea
ServerInfo
MurderMystery
KDR

(Tips) The default in config is a universal display for the whole map.
If you want to achieve different content for each map, you only need to copy and paste the content of dedefault, and then replace default with the name of that map

Prefix's:
Basic variable:
{name} : player name
{h} : Player HP
{mh} : player HP limit
{id} : ID of the item held by the player
{money} : player money amount (EconomyAPI)
{damage} : The special value of the item held by the player
{online} : number of online players
{maxplayer}: The maximum number of players on the server
{ms} : player's latency
{levelName}: The player's current map name
{年}: current time year
{月}: current month
{日}: current time day
{时}: current time
{分}: current time minute
_________{秒}: current time in seconds
__________.{food} player hunger
{mfood} player hunger limit
{msg} player chat content
{x}{y}{z}: current coordinates
{gm} player game mode
{fly} player flying state
{op} player permissions
{ach} The number of achievements the player has completed
{achCount}: total number of player achievements
{color} : random character color

{deviceOS} : Device System
For more variables Click here




API:

Developer

register variable

Create a class inheritance, BaseVariable
call the method BaseVariable in the class, pass in the key (variable name) value (display content) and add it in the onEnable of the plug-in addStrReplaceString


Api.registerVariables("插件名",<? extends BaseVariable>class);
Add a single variable

Api.addVariable("变量字符","值");
Modify content

Call the method modification in the Api class

Config:

If you don't know Chinese, you can translate this page so you can understand and just modify the variable To find out which line is guided by the number of the line!

Files:
config.yml

levelMessage.yml

theme/default.yml

theme/easy.yml

You can translate with your browser and modify the file!
Author
Trollhunters501
Downloads
1,466
Views
2,663
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Trollhunters501

Latest updates

  1. Bug fixes

    Automatic updates are changed to download from the maven repository Fixed issue where the boss's...
  2. 2.1.8

    Add player client version variable {playerVersion}
  3. Update!

    add {deviceOS} variable to fix ViewCompassVariable null pointer error
Top