
FirstJoinPlus 允许你控制新玩家加入时的方方面面。给予新玩家新手包、特殊的出生点,让控制台执行命令,发射烟花等等!
安装此插件后,现有玩家不会被告知他们首次加入。

- 公告有新玩家刚刚加入(可选地包含已加入的唯一玩家数量)!
- 发射烟花或展示酷炫的烟雾效果。
- 给予玩家一本带有欢迎信息的书(示例书籍在这里)!
- 根据配置文件中定义的给予新手包物品。
- 强制玩家或控制台执行可配置的命令。
- 将玩家设为无敌状态(包括所有伤害,甚至 PVP),持续预定义的时间。
- 还有更多功能,请查看下方的配置说明!

- 新玩家没有出生在首次加入设定的出生点?
存在冲突的插件。在配置中将 'delay-everything-below-by' 的值设置为更高的值,例如 5 或 10(该选项以刻为单位设置)。
- 希望这个插件对每次加入都生效,而不仅仅是首次加入?
在配置中将 'every-join-is-first-join' 设置为 true —— 这会将每次加入都视为首次加入。非常适合枢纽服务器,因为你可以让玩家每次加入时传送回出生点,每次加入时发射烟花,并且可以将加入和退出消息设置为 %none 以完全隐藏它们。
- 显示名称变量使用的是他们的正常名字而不是显示名称?
这意味着另一个插件在 FirstJoinPlus 获取显示名称之后设置了显示名称,尽管 FirstJoinPlus 使用的是普通优先级。在配置中将 'delay-everything-below-by' 的值设置为更高的值,例如 5 或 10(该选项以刻为单位设置)。
- 是否可以在首次加入新手包中执行 X 操作?
新手包功能被设计得尽可能简单。你只能基于物品名称给予物品并设置给予的数量,如默认配置所示。无法设置数据值、显示名称、背景描述等,因为我想将此插件保留为一个首次加入插件,而不是一个完整的工具包插件。
如果你需要更复杂的功能,我建议你找一个功能齐全的工具包插件,并通过让 FirstJoinPlus 在首次加入时运行该工具包插件的命令来配合使用 FirstJoinPlus。

| 命令 | 描述 | 权限 |
| /firstjoinplus | 显示插件的一般信息。 | (无) |
| /firstjoinplus help | 显示所有可用命令。 | (无) |
| /firstjoinplus reload | 重新加载插件的配置。 | firstjoinplus.reload |
| /firstjoinplus setspawn | 设置新玩家的出生位置。 | firstjoinplus.setspawn |
| /firstjoinplus debug | 作为新玩家测试你的配置。 | firstjoinplus.debug |
命令 /fjp 可作为 /firstjoinplus 的别名使用。所有命令默认仅 OP 可用,无需权限插件!

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77 | # FirstJoinPlus Configuration -- Configuration Help: #
settings:
allow-automatic-updating: true
every-join-is-first-join: false
on-first-join:
delay-everything-below-by: 0
first-join-message:
enabled: true
message: '&d%player_namehasjoinedforthefirsttime!'
fun-stuff:
play-sound:
enabled: true
sound-name: entity_player_levelup
listen-permission: firstjoinplus.notify
smoke-effect:
enabled: true
launch-firework:
enabled: true
first-join-kit:
enabled: true
items:
- wood_sword
- wood_pickaxe
- wood_spade
- wood_axe
- bread:5
give-written-books:
enabled: false
book-files:
- rules.txt
give-experience:
enabled: false
level-amount: 0
modify-damage:
disable-pvp:
enabled: false
expire-after: 10
god-mode:
enabled: false
expire-after: 10
run-commands:
enabled: false
commands:
- me just joined for the first time!
run-console-commands:
enabled: false
commands:
- setgroup %player_name newbies
apply-potion-effects:
enabled: false
effects:
- SPEED:1:15
send-messages:
enabled: false
messages:
- '&2欢迎来到我们的服务器,%player_name!在FirstJoinPlus配置文件中自定义此消息.'
- '&6http://dev.bukkit.org/server-mods/firstjoinplus/'
reset-state:
enabled: false
teleport:
enabled: false
x: 0
y: 64
z: 0
pitch: 0
yaw: 0
world: world
other-messages:
join-message:
enabled: false
message: '&e%player_namejoinedthegame.'
quit-message:
enabled: false
message: '&e%player_nameleftthegame.'
kick-message:
启用: false
message: '%none'
|
配置建议
可用变量
变量在配置文件中广泛使用,用于显示不同的文本(详见描述)。
| 变量 | 描述 |
| %player_name | 玩家名称。 |
| %player_display_name | 玩家显示名称。 |
| %player_uuid | 玩家的 UUID。 |
| %total_players | 加入过的唯一玩家数量。 |
| %random_player | 随机在线玩家的名字。 |
| %random_player_display_name | 随机在线玩家的显示名称。 |
| %none | 用于加入、退出和踢出消息,以完全禁用它们。 |
| %player_country | 玩家所在的国家(需要 GeoIPTools)。 |
| %player_city | 玩家所在的城市(需要 GeoIPTools)。 |

请点击此处捐赠并支持我的插件开发!
我们包含一个自动更新器,它会检查是否有可用更新以及/或为您下载最新版本。默认情况下已启用。您可以在配置中禁用此功能。


我们使用 Metrics 来收集匿名使用统计信息,例如插件版本、服务器版本和在线玩家数量。如果您想查看所有数据,请点击上方图表。您可以在 Metrics 配置中禁用数据收集。
[单行描述:FirstJoinPlus 允许您控制玩家首次加入时的各个方面。提供初始套件、经验值、特殊出生点、所属组别等!]

FirstJoinPlus allows you to control every aspect of when new players join. Give new players a starter kit, a special spawn location, have the console run commands, launch fireworks, and more!
Existing players won't get told they joined for the first time after installing this.

- Announce that a new player has just joined (optionally with the amount of unique players that have joined!).
- Launch a firework or show a cool smoke effect.
- Give the player a written book with welcome information (example book here)!
- Give a starter kit with items defined in the configuration.
- Force the player or the console to run configurable commands.
- Set the player as invincible (from everything, including PVP) for a pre-defined amount of time.
- Much more, check out the configuration below!

- New players not spawning at the first join spawnpoint?
You have a conflicting plugin. Set the 'delay-everything-below-by' value in the configuration to a higher value, such as 5 or 10 (this option is set in ticks).
- Want this plugin to kick in for every join instead of only first joins?
Set 'every-join-is-first-join' in the configuration to true - this will treat every join as a first join. Great for hub servers as you can have the player teleported back to spawn every join, launch a firework every join, and you can set the join and quit messages to %none to completely hide them.
- The display name variable is using their normal name and not their display name?
This means another plugin is setting the display name after FirstJoinPlus is getting it, despite FirstJoinPlus using a normal priority. Set the 'delay-everything-below-by' value in the configuration to a higher value, such as 5 or 10 (this option is set in ticks).
- Is it possible to do X in the first-join starter kit?
The starter kit functionality has been left as simple as possible. You can only give items based off of their names and set the amount to give, as shown in the default configuration. Things like setting data values, display names, lore, etc isn't possible, simply because I want to leave this plugin as a first-join plugin and not a kit plugin.
If you need to do more, I suggest finding a fully featured kit plugin, and using it alongside FirstJoinPlus by having FirstJoinPlus run a command from that kit plugin on first join.

| Command | Description | Permission |
| /firstjoinplus | Show general plugin information. | (none) |
| /firstjoinplus help | Show all available commands. | (none) |
| /firstjoinplus reload | Reload the plugin's configuration. | firstjoinplus.reload |
| /firstjoinplus setspawn | Set the location where new players will spawn. | firstjoinplus.setspawn |
| /firstjoinplus debug | Test your configuration as a new player. | firstjoinplus.debug |
The command /fjp can be used as an alias in place of /firstjoinplus. All commands default to OP's, no permissions plugin required!

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77 | # FirstJoinPlus Configuration -- Configuration Help: #
settings:
allow-automatic-updating: true
every-join-is-first-join: false
on-first-join:
delay-everything-below-by: 0
first-join-message:
enabled: true
message: '&d%player_namehasjoinedforthefirsttime!'
fun-stuff:
play-sound:
enabled: true
sound-name: entity_player_levelup
listen-permission: firstjoinplus.notify
smoke-effect:
enabled: true
launch-firework:
enabled: true
first-join-kit:
enabled: true
items:
- wood_sword
- wood_pickaxe
- wood_spade
- wood_axe
- bread:5
give-written-books:
enabled: false
book-files:
- rules.txt
give-experience:
enabled: false
level-amount: 0
modify-damage:
disable-pvp:
enabled: false
expire-after: 10
god-mode:
enabled: false
expire-after: 10
run-commands:
enabled: false
commands:
- me just joined for the first time!
run-console-commands:
enabled: false
commands:
- setgroup %player_name newbies
apply-potion-effects:
enabled: false
effects:
- SPEED:1:15
send-messages:
enabled: false
messages:
- '&2Welcometoourserver,%player_name!CustomizethismessageintheFirstJoinPlusconfiguration.'
- '&6http://dev.bukkit.org/server-mods/firstjoinplus/'
reset-state:
enabled: false
teleport:
enabled: false
x: 0
y: 64
z: 0
pitch: 0
yaw: 0
world: world
other-messages:
join-message:
enabled: false
message: '&e%player_namejoinedthegame.'
quit-message:
enabled: false
message: '&e%player_nameleftthegame.'
kick-message:
enabled: false
message: '%none'
|
Configuration Tips
Available Variables
Variables are used throughout the configuration to display different text (see the description).
| Variable | Description |
| %player_name | The name of the player. |
| %player_display_name | The display name of the player. |
| %player_uuid | The UUID of the player. |
| %total_players | The number of unique players that have joined. |
| %random_player | The name of a random online player. |
| %random_player_display_name | The display name of a random online player. |
| %none | Used in join, quit, and kick messages to completely disable them. |
| %player_country | The player's country (GeoIPTools required). |
| %player_city | The player's country (GeoIPTools required). |

Please click here to donate and support the development of my plugins!
We include an auto updater that checks if there is an update available and/or downloads the latest version for you. It is enabled by default. You may disable this in the configuration.


We use Metrics to collect anonymous usage stats such as the plugin version, server version, and amount of players online. If you want to see everything, click on the graph above. You may disable data collection in the Metrics configuration.
[ONELINER:FirstJoinPlus allows you to control every aspect of when players join for the first time. Give starter kits, experience, a special spawn location, a group, and more!]
评论 0
登录后参与评分
还没有评论,来抢沙发吧