Skip to content

Commit 9abd2fc

Browse files
committed
refactor(pulse): update to 1.6.1 version
1 parent a43a257 commit 9abd2fc

File tree

22 files changed

+256
-112
lines changed

22 files changed

+256
-112
lines changed

pulse/en/docs/config/database/index.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@ You can use environment variables in database fields, for example `${VALUE}`
2323

2424
Type of database used, currently supported:
2525

26-
| Type | Explanation |
27-
|--------------|-----------------------------------|
28-
| `SQLite` | Local, file-based |
29-
| `MySQL` | Server, requires connection |
30-
| `H2` | Local, file-based |
31-
| `PostgreSQL` | Server, requires connection |
26+
| Type | Explanation |
27+
|-----------------|-------------------------------|
28+
| `SQLite` | Local, file-based |
29+
| `MySQL` | Server, requires connection |
30+
| `MariaDB` | Server, requires connection |
31+
| `H2` | Local, file-based |
32+
| `PostgreSQL` | Server, requires connection |
3233

3334
### `name`
3435

@@ -52,4 +53,14 @@ Password for connecting to the database
5253

5354
### `parameters`
5455

55-
Database connection parameters
56+
Database connection parameters
57+
58+
### `prefix`
59+
60+
::: warning WARNING
61+
62+
If you change the prefix, it means new tables will be created and previous player data will not be used
63+
64+
:::
65+
66+
Database table prefix, if empty, the `fp_` prefix will be used
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
authors:
3+
- TheFaser
4+
---
5+
6+
# Geyser
7+
8+
Integration with Geyser allows for proper message formatting for `bedrock` players
9+
10+
[//]: # (integration.yml)
11+
<!--@include: @/parts/words.md#setting-->
12+
<!--@include: @/parts/words.md#path--> `integration.yml → geyser`
13+
14+
<!--@include: @/parts/words.md#default-->
15+
<<< @/files/integration.yml#geyser
16+
17+
<!--@include: @/parts/enable.md-->
18+
19+
[//]: # (permission.yml)
20+
<!--@include: @/parts/words.md#permission-->
21+
<!--@include: @/parts/words.md#path--> `permission.yml → integration.geyser`
22+
23+
<!--@include: @/parts/words.md#default-->
24+
<<< @/files/permission.yml#geyser
25+
26+
<!--@include: @/parts/permission/permissionTier3.md-->

pulse/en/docs/integration/placeholderapi/index.md

Lines changed: 46 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -15,53 +15,52 @@ Integration with PlaceholderAPI:
1515

1616
- Adds its own placeholders
1717

18-
| Placeholder | Returns |
19-
|-------------------------------------|----------------------------------------------------------------------------|
20-
| `%flectonepulse_advancement%` | Returns `true` if display is enabled, otherwise empty |
21-
| `%flectonepulse_afk%` | Returns `true` if display is enabled, otherwise empty |
22-
| `%flectonepulse_afk_suffix%` | Returns [AFK suffix](/docs/command/afk/) |
23-
| `%flectonepulse_auto%` | Returns `true` if display is enabled, otherwise empty |
24-
| `%flectonepulse_ball%` | Returns `true` if display is enabled, otherwise empty |
25-
| `%flectonepulse_ban%` | Returns `true` if display is enabled, otherwise empty |
26-
| `%flectonepulse_broadcast%` | Returns `true` if display is enabled, otherwise empty |
27-
| `%flectonepulse_chat%` | Returns the type of selected chat, default is `default` |
28-
| `%flectonepulse_coin%` | Returns `true` if display is enabled, otherwise empty |
29-
| `%flectonepulse_color%` | Always empty, created for config |
30-
| `%flectonepulse_death%` | Returns `true` if display is enabled, otherwise empty |
31-
| `%flectonepulse_dice%` | Returns `true` if display is enabled, otherwise empty |
32-
| `%flectonepulse_discord%` | Returns `true` if display is enabled, otherwise empty |
33-
| `%flectonepulse_do%` | Returns `true` if display is enabled, otherwise empty |
34-
| `%flectonepulse_greeting%` | Returns `true` if display is enabled, otherwise empty |
35-
| `%flectonepulse_join%` | Returns `true` if display is enabled, otherwise empty |
36-
| `%flectonepulse_kick%` | Returns `true` if display is enabled, otherwise empty |
37-
| `%flectonepulse_locale%` | Returns the player's current locale |
38-
| `%flectonepulse_mail%` | Returns `true` if display is enabled, otherwise empty |
39-
| `%flectonepulse_me%` | Returns `true` if display is enabled, otherwise empty |
40-
| `%flectonepulse_mute%` | Returns `true` if display is enabled, otherwise empty |
41-
| `%flectonepulse_poll%` | Returns `true` if display is enabled, otherwise empty |
42-
| `%flectonepulse_quit%` | Returns `true` if display is enabled, otherwise empty |
43-
| `%flectonepulse_reply%` | Returns `true` if display is enabled, otherwise empty |
44-
| `%flectonepulse_rockpaperscissors%` | Returns `true` if display is enabled, otherwise empty |
45-
| `%flectonepulse_spy%` | Returns `true` if spy mode is enabled, otherwise empty |
46-
| `%flectonepulse_stream%` | Returns `true` if streamer mode is enabled, otherwise empty |
47-
| `%flectonepulse_stream_prefix%` | Returns the [stream](/docs/message/command/stream/) prefix of the player |
48-
| `%flectonepulse_telegram%` | Returns `true` if display is enabled, otherwise empty |
49-
| `%flectonepulse_tell%` | Returns `true` if display is enabled, otherwise empty |
50-
| `%flectonepulse_tictactoe%` | Returns `true` if display is enabled, otherwise empty |
51-
| `%flectonepulse_translateto%` | Returns `true` if display is enabled, otherwise empty |
52-
| `%flectonepulse_try%` | Returns `true` if display is enabled, otherwise empty |
53-
| `%flectonepulse_twitch%` | Returns `true` if display is enabled, otherwise empty |
54-
| `%flectonepulse_warn%` | Returns `true` if display is enabled, otherwise empty |
55-
| `%flectonepulse_world_prefix%` | Returns the [world prefix](/docs/message/format/world/) of the player |
56-
| `%flectonepulse_style%` | Returns the [current style](/docs/message/format/style/), default is empty |
57-
| `%flectonepulse_tps%%` | Returns the server's TPS |
58-
| `%flectonepulse_player%` | Returns the player's regular name |
59-
| `%flectonepulse_ip%` | Returns the player's IP address |
60-
| `%flectonepulse_ping%` | Returns the player's ping |
61-
| `%flectonepulse_online%` | Returns the number of players on the server |
62-
| `%flectonepulse_fcolor_number%` | Returns the player's [custom](/docs/message/format/color/) color |
63-
| `%flectonepulse_fcolor_out_number%` | Returns the player's [custom OUT](/docs/message/format/color/) color |
64-
| `%flectonepulse_fcolor_see_number%` | Returns the player's [custom SEE](/docs/message/format/color/) color |
18+
| Placeholder | Returns |
19+
|-----------------------------------------------|-----------------------------------------------------------------------|
20+
| `%flectonepulse_advancement%` | Returns `true` if display is enabled, otherwise empty |
21+
| `%flectonepulse_afk%` | Returns `true` if display is enabled, otherwise empty |
22+
| `%flectonepulse_afk_suffix%` | Returns [AFK suffix](/docs/command/afk/) |
23+
| `%flectonepulse_auto%` | Returns `true` if display is enabled, otherwise empty |
24+
| `%flectonepulse_chat_name%` | Returns the type of selected chat, default is `default` |
25+
| `%flectonepulse_death%` | Returns `true` if display is enabled, otherwise empty |
26+
| `%flectonepulse_discord%` | Returns `true` if display is enabled, otherwise empty |
27+
| `%flectonepulse_fcolor_number%` | Returns the player's [custom](/docs/message/format/fcolor/) color |
28+
| `%flectonepulse_fcolor_out_number%` | Returns the player's [custom OUT](/docs/message/format/fcolor/) color |
29+
| `%flectonepulse_fcolor_see_number%` | Returns the player's [custom SEE](/docs/message/format/fcolor/) color |
30+
| `%flectonepulse_greeting%` | Returns `true` if display is enabled, otherwise empty |
31+
| `%flectonepulse_ip%` | Returns the player's IP address |
32+
| `%flectonepulse_join%` | Returns `true` if display is enabled, otherwise empty |
33+
| `%flectonepulse_locale%` | Returns the player's current locale |
34+
| `%flectonepulse_online%` | Returns the number of players on the server |
35+
| `%flectonepulse_ping%` | Returns the player's ping |
36+
| `%flectonepulse_player%` | Returns the player's regular name |
37+
| `%flectonepulse_quit%` | Returns `true` if display is enabled, otherwise empty |
38+
| `%flectonepulse_stream_prefix%` | Returns the player's [stream](/docs/message/command/stream/) prefix |
39+
| `%flectonepulse_spy_status` | Returns string if spy mode is enabled, otherwise empty |
40+
| `%flectonepulse_telegram%` | Returns `true` if display is enabled, otherwise empty |
41+
| `%flectonepulse_tps%` | Returns the server's TPS |
42+
| `%flectonepulse_twitch%` | Returns `true` if display is enabled, otherwise empty |
43+
| `%flectonepulse_world_prefix%` | Returns the player's [world prefix](/docs/message/format/world/) |
44+
| `%flectonepulse_command_ball%` | Returns `true` if display is enabled, otherwise empty |
45+
| `%flectonepulse_command_ban%` | Returns `true` if display is enabled, otherwise empty |
46+
| `%flectonepulse_command_broadcast%` | Returns `true` if display is enabled, otherwise empty |
47+
| `%flectonepulse_command_coin%` | Returns `true` if display is enabled, otherwise empty |
48+
| `%flectonepulse_command_dice%` | Returns `true` if display is enabled, otherwise empty |
49+
| `%flectonepulse_command_do%` | Returns `true` if display is enabled, otherwise empty |
50+
| `%flectonepulse_command_kick%` | Returns `true` if display is enabled, otherwise empty |
51+
| `%flectonepulse_command_mail%` | Returns `true` if display is enabled, otherwise empty |
52+
| `%flectonepulse_command_me%` | Returns `true` if display is enabled, otherwise empty |
53+
| `%flectonepulse_command_mute%` | Returns `true` if display is enabled, otherwise empty |
54+
| `%flectonepulse_command_poll%` | Returns `true` if display is enabled, otherwise empty |
55+
| `%flectonepulse_command_reply%` | Returns `true` if display is enabled, otherwise empty |
56+
| `%flectonepulse_command_rockpaperscissors%` | Returns `true` if display is enabled, otherwise empty |
57+
| `%flectonepulse_command_spy%` | Returns `true` if display is enabled, otherwise empty |
58+
| `%flectonepulse_command_stream%` | Returns `true` if display is enabled, otherwise empty |
59+
| `%flectonepulse_command_tell%` | Returns `true` if display is enabled, otherwise empty |
60+
| `%flectonepulse_command_tictactoe%` | Returns `true` if display is enabled, otherwise empty |
61+
| `%flectonepulse_command_translateto%` | Returns `true` if display is enabled, otherwise empty |
62+
| `%flectonepulse_command_try%` | Returns `true` if display is enabled, otherwise empty |
63+
| `%flectonepulse_command_warn%` | Returns `true` if display is enabled, otherwise empty |
6564

6665
[//]: # (integration.yml)
6766
<!--@include: @/parts/words.md#setting-->

pulse/en/docs/integration/telegram/index.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ There are also placeholders that WILL DEFINITELY be replaced in any message:
4646

4747
The format of the message that will be sent from Telegram to Minecraft.
4848

49+
### `info_channel`
50+
51+
List of channel IDs and their names, for displaying certain information, for example `TPS`
52+
4953
### `message_channel`
5054

5155
A list of messages with the format of the final message.
@@ -76,6 +80,15 @@ message_name: "<final_message>"
7680

7781
The [token](https://core.telegram.org/bots/faq#how-do-i-create-a-bot) of the bot for connection. You can use environment variables, for example `${VALUE}`.
7882

83+
### `channel_info`
84+
85+
::: details Channel information settings
86+
#### `enable`
87+
88+
Whether the information channel is needed
89+
90+
<!--@include: @/parts/ticker.md-->
91+
7992
### `message_channel`
8093

8194
A list of message types and chat IDs in Telegram.

pulse/en/docs/message/rightclick/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ The message that will be sent to the player who right-clicked on another player
3737

3838
Whether to check if the player is pressing shift during right-click
3939

40+
### `hide_name_when_invisible`
41+
42+
Whether to hide the nickname of a player who is invisible
43+
4044
<!--@include: @/parts/destination.md-->
4145
<!--@include: @/parts/cooldown.md-->
4246
<!--@include: @/parts/sound.md-->

pulse/en/files/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# \/ \/
1010
#
1111
# Don't change it if you don't know what it is
12-
version: "1.6.0"
12+
version: "1.6.1"
1313
#region language
1414
language:
1515
type: "en_us"
@@ -24,13 +24,13 @@ database:
2424
user: "root"
2525
password: "1234"
2626
parameters: "?autoReconnect=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8"
27+
prefix: ""
2728
#endregion database
2829
#region proxy
2930
proxy:
3031
clusters: []
3132
bungeecord: false
3233
velocity: false
33-
# https://flectone.net/pulse/docs/config/#redis
3434
redis:
3535
enable: false
3636
host: "127.0.0.1"

pulse/en/files/integration.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ discord:
4949
destination:
5050
type: "CHAT"
5151
#endregion discord
52+
#region geyser
53+
geyser:
54+
enable: true
55+
#endregion geyser
5256
#region interactivechat
5357
interactivechat:
5458
enable: true
@@ -113,6 +117,11 @@ supervanish:
113117
telegram:
114118
enable: false
115119
token: ""
120+
channel_info:
121+
enable: false
122+
ticker:
123+
enable: true
124+
period: 1200
116125
message_channel:
117126
FROM_TELEGRAM_TO_MINECRAFT:
118127
- "123456"

pulse/en/files/localizations/en_us.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,8 @@ integration:
501501
#region telegram
502502
telegram:
503503
for_minecraft: "<fcolor:2><name> <fcolor:1>» <fcolor:4><message>"
504+
info_channel:
505+
id: "TPS <tps>"
504506
message_channel:
505507
CHAT_GLOBAL: "<final_message>"
506508
#endregion telegram
@@ -863,7 +865,7 @@ message:
863865
commands.setworldspawn.success: "<fcolor:1>🛌 Set the world spawn point to <fcolor:2><arg_0><fcolor:1>, <fcolor:2><arg_1><fcolor:1>, <fcolor:2><arg_2><fcolor:1> [<fcolor:2><arg_3><fcolor:1>, <fcolor:2><arg_4><fcolor:1>] in <fcolor:2><arg_5>"
864866
commands.setworldspawn.success.new: "<fcolor:1>🛌 Set the world spawn point to <fcolor:2><arg_0><fcolor:1>, <fcolor:2><arg_1><fcolor:1>, <fcolor:2><arg_2><fcolor:1> [<fcolor:2><arg_3><fcolor:1>, <fcolor:2><arg_4><fcolor:1>] in <fcolor:2><arg_5>"
865867
commands.spawnpoint.success.multiple.1_14_2: "<fcolor:1>🛌 Set spawn point to <fcolor:2><arg_0><fcolor:1>, <fcolor:2><arg_1><fcolor:1>, <fcolor:2><arg_2><fcolor:1> for <fcolor:2><arg_3><fcolor:1> players"
866-
commands.spawnpoint.success.multiple.1_21.8: "<fcolor:1>🛌 Set spawn point to <fcolor:2><arg_0><fcolor:1>, <fcolor:2><arg_1><fcolor:1>, <fcolor:2><arg_2><fcolor:1> [<fcolor:2><arg_3><fcolor:1>] in <fcolor:2><arg_4> <fcolor:1>for <fcolor:2><arg_5><fcolor:1> players"
868+
commands.spawnpoint.success.multiple.1_21_8: "<fcolor:1>🛌 Set spawn point to <fcolor:2><arg_0><fcolor:1>, <fcolor:2><arg_1><fcolor:1>, <fcolor:2><arg_2><fcolor:1> [<fcolor:2><arg_3><fcolor:1>] in <fcolor:2><arg_4> <fcolor:1>for <fcolor:2><arg_5><fcolor:1> players"
867869
commands.spawnpoint.success.multiple: "<fcolor:1>🛌 Set spawn point to <fcolor:2><arg_0><fcolor:1>, <fcolor:2><arg_1><fcolor:1>, <fcolor:2><arg_2><fcolor:1> [<fcolor:2><arg_3><fcolor:1>, <fcolor:2><arg_4><fcolor:1>] in <fcolor:2><arg_5> <fcolor:1>for <fcolor:2><arg_6><fcolor:1> players"
868870
commands.spawnpoint.success.multiple.new: "<fcolor:1>🛌 Set spawn point to <fcolor:2><arg_0><fcolor:1>, <fcolor:2><arg_1><fcolor:1>, <fcolor:2><arg_2><fcolor:1> [<fcolor:2><arg_3><fcolor:1>, <fcolor:2><arg_4><fcolor:1>] in <fcolor:2><arg_5> <fcolor:1>for <fcolor:2><arg_6><fcolor:1> players"
869871
commands.spawnpoint.success.single.1_14_2: "<fcolor:1>🛌 Set spawn point to <fcolor:2><arg_0><fcolor:1>, <fcolor:2><arg_1><fcolor:1>, <fcolor:2><arg_2><fcolor:1> <fcolor:1>for <arg_3>"

0 commit comments

Comments
 (0)