Skip to content

Commit 3603bf5

Browse files
committed
bump nbtapi
1 parent 276872e commit 3603bf5

File tree

6 files changed

+167
-30
lines changed

6 files changed

+167
-30
lines changed

dev-resources/vistas-test/plugins/OpenAudioMc/config.yml

Lines changed: 156 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,29 @@
11
messages:
22
# The message a client gets when they are not connected but a sound got triggered. this can be disabled under settings
3-
suggest-connection: '&7&oYou are currently missing out on some sounds! connect with the audio client via /audio'
3+
suggest-connection: '&7&oYou are currently missing out on some sounds! connect with
4+
the audio client via /audio'
45

56
# The message a client receives when a URL is being prepared for them to open the web client
67
preparing-session: '&7&oGenerating audio session..'
78

89
# The message the client gets when executing /audio of joins (if send-on-join is enabled)
9-
click-to-connect: '\n&b&lClick &ahere&b&l to open the Web Client!\n&3This lets you use &dProximity Voice Chat&3 and in-game &daudio&3!\n '
10+
click-to-connect: '\n&b&lClick &ahere&b&l to open the Web Client!\n&3This lets you
11+
use &dProximity Voice Chat&3 and in-game &daudio&3!\n '
12+
# an alternate version of this message for bedrock users
13+
connect-prompt-bedrock: \n&b&lThis server supports &aProximity Voice Chat&b&!\nGo
14+
to {domain} in your web-browser to get started.\n
1015

1116
# The message a player receives when a session error occurs
12-
session-error: '&cAn error occurred while generating your audio session. please report the problem and try again later.'
17+
session-error: '&cAn error occurred while generating your audio session. please
18+
report the problem and try again later.'
1319

1420
# A hover message for the click-to-connect message, only appears right before clicking when you mouse over it
15-
click-to-connect-hover: '&6Minecraft will prompt you to open the web client when you click this message'
21+
click-to-connect-hover: '&6Minecraft will prompt you to open the web client when
22+
you click this message'
1623

1724
# The message the client gets when their audio link has expired
18-
click-link-expired: '&3Your link to the audio client has expired. Use &b/audio&3 to request a new one.'
25+
click-link-expired: '&3Your link to the audio client has expired. Use &b/audio&3
26+
to request a new one.'
1927

2028
# The message a client gets when their web-client has been opened
2129
client-opened: '&2&oYou are now connected with the audio client!'
@@ -27,7 +35,8 @@ messages:
2735
client-already-connected: '&cYou are already connected to the web client'
2836

2937
# Prints the client volume when /volume is ran without arguments
30-
client-volume: '&6Your current volume is __amount__%&7 (TIP: use /volume 40 to set your volume to 40%)'
38+
client-volume: '&6Your current volume is __amount__%&7 (TIP: use /volume 40 to set
39+
your volume to 40%)'
3140

3241
# The message a client gets as confirmation for executing /volume or /vol
3342
client-volume-change: '&6Your volume has been changed to __amount__%'
@@ -36,7 +45,8 @@ messages:
3645
client-volume-invalid: '&4You must enter a number between 0 and 100'
3746

3847
# The message a client gets as warning that they aren't even connected
39-
client-not-connected: '&4You need to be connected to the web client to be able to do that'
48+
client-not-connected: '&4You need to be connected to the web client to be able to
49+
do that'
4050

4151
# The message a client gets when they need to be connected to voice chat to do something
4252
voice-not-connected: '&4An active Voice connection is required to execute this command'
@@ -64,35 +74,116 @@ messages:
6474
# Message a player receives when their microphone is unmuted
6575
voicechat-mic-unmute: '&7&oYour microphone is now &2&ounmuted'
6676

77+
# Message a player receives when their voicechat is deafened
78+
voicechat-deafen: '&7&oYou are now &c&odeafened'
79+
80+
# Message a player receives when their voicechat is undeafened
81+
voicechat-undeafen: '&7&oYou are now &2&oundeafened'
82+
6783
# Message a player receives when voicechat runs into a technical issue
68-
voicechat-service-unstable: '&7&oWarning: we ran into one or more problems with the voice service.. please hold on while we try to recover your beautiful voice.'
84+
voicechat-service-unstable: '&7&oWarning: we ran into one or more problems with
85+
the voice service.. please hold on while we try to recover your beautiful voice.'
6986

7087
# Message a player receives when the voicechat is back online again
7188
voicechat-service-recovered: '&7&oYour voicechat session got successfully recovered'
7289

7390
# A message players will periodically receive when they are not connected to voice chat,
7491
# but others in their vicinity are. The minimum interval and range can be configured in the options section,
7592
# or you can disable it entirely by following the settings below.
76-
voicechat-players-in-vicinity: '&7&oGet social! Other players in your vicinity are using voice chat - join them and communicate. Use &b/audio&7&o to connect.'
93+
voicechat-players-in-vicinity: '&7&oGet social! Other players in your vicinity are
94+
using voice chat - join them and communicate. Use &b/audio&7&o to connect.'
95+
96+
# The message a channel owner receives when their chanel has been abandoned
97+
voicechat-channel-abandoned: '&7&oYour voicechat channel has been abandoned and
98+
got removed'
99+
100+
# The message a player receives when they are kicked from a voicechat channel
101+
# This gets triggered when they were forcefully removed from a channel, for example when it gets deleted
102+
voicechat-channel-kicked: '&7&oYou have been kicked from the voicechat channel'
103+
104+
# The message a player receives when they are invited to a voicechat channel
105+
voicechat-channel-invited: ' \n&b&lYou have been invited to a voice chat channel!\n&3Click
106+
&ahere&3 to join &d{channel}&3 by &d{inviter}&3!\n&7&oYou have 30 seconds to
107+
accept the invitation.\n '
108+
109+
# Error message seen by players when the command is executed through anything other than chat
110+
voicechat-channel-not-a-player: '&cOnly players can use this command'
111+
112+
# Seen when a player tries to join or create a channel with an invalid name
113+
voicechat-channel-name-unknown: '&cPlease enter a valid channel name'
114+
115+
# Error seen when a player tries to join a channel that doesn't exist
116+
voicechat-channel-name-not-found: '&cThe channel you are trying to join does not
117+
exist'
118+
119+
# Error seen when a player tries to create a channel with a name that already exists
120+
voicechat-channel-name-already-exists: '&cA channel with that name already exists'
121+
122+
# Validation message after creating a new channel
123+
voicechat-channel-created: '&7&oSuccessfully created the voice chat channel &d{channel}'
77124

78-
bedrock:
79-
# These settings are to provide some automatic handholding for Bedrock users.
80-
# Please take some time to go over these settings and adjust them based on your geyser configuration.
125+
# Message a player receives while trying to create or join a channel while already in one
126+
voicechat-channel-already-in: '&cYou are already in a voice chat channel, please
127+
leave it first'
81128

82-
# This message shows as a SUBTITLE for the token prompt
83-
token-subtitle: '&7&oEnter this code on &b__address__'
129+
# A message a player receives after accepting an invitation to a voicechat channel
130+
voicechat-channel-joined: '&7&oYou have joined the voice chat channel &d{channel}'
84131

85-
# The amount of seconds the token prompt will be shown for
86-
token-display-duration: 25
132+
# A message a player receives after running a command while not in a voicechat channel
133+
voicechat-channel-not-a-member: '&cYou can only perform this action if you are a
134+
member of the channel'
87135

88-
# OA will automatically send the token to the Bedrock client, if a player is detected as one
89-
# based on their name prefix, which defaults to '.'. If you have a custom prefix, you can set it here
90-
# or you can disable this feature entirely
91-
bedrock-name-prefix: '.'
92-
bedrock-auto-send-token: true
136+
# A message a player receives while trying to invite someone to a channel they do not own
137+
voicechat-channel-not-owner: '&cOnly the creator of the channel can do this'
93138

139+
# A message a player receives while trying to invite an invalid player
140+
voicechat-channel-player-not-found: '&cThe player you are trying to invite is not
141+
online'
142+
143+
# A message a player receives after trying to invite someone who is already in another channel
144+
voicechat-channel-player-already-in-channel: '&cThe player you are trying to invite
145+
is already in a voice chat channel'
146+
147+
# A message a player receives after trying to invite someone who is not connected to voice chat
148+
voicechat-target-not-connected: '&cThe player you are trying to invite is not connected
149+
to voice chat, please ask them to connect first'
150+
151+
# Good job! the invitation was sent
152+
voicechat-target-invitation-sent: '&7&oAn invitation has been sent to %name'
153+
voicechat-target-invitation-expired: '&7&oThe invitation to %name has expired'
154+
155+
# A player receives after leaving a channel voluntarily
156+
voicechat-channel-left: '&7&oYou have left the voice chat channel'
157+
158+
# Format messages for the channel list command
159+
voicechat-channel-list-no-channels: '&7&oThere are no voice chat channels available'
160+
voicechat-channel-list-header: '&7&oAvailable voice chat channels and their occupants:'
161+
voicechat-channel-list-item: '&7&o- &d{channel} &7&o&d{participants}&7&o'
162+
163+
# Header of the base /voice help command
164+
voicechat-command-help-header: Welcome to OpenAudioMc! Please click the sub command
165+
you need help with.
166+
167+
# The format most error messages will be shown in, including prefix
168+
voicechat-command-error-format: '&3[&bVoice Channel&3] &c&oError: &7&o{message}'
169+
170+
# The following messages are for the new "revised" authentication flow.
171+
# Users who have a client tab open with the bedrock flow till automatically be logged in when a player joins with the same IP address,
172+
# but users who don't have a tab open will be prompted to login with a code.
173+
# That code needs to be entered in-game, and these messages are used for that.
174+
token-activation-loading: '&7&oPlease wait while we activate your token..'
175+
token-activation-success: '&7&oYour token has been activated! You can now use the
176+
web client.'
177+
token-activation-failed: '&7&oYour token could not be activated. Please try again
178+
or double check your code.'
94179

95180
options:
181+
# The name prefix to look for to determine if a player is playing on bedrock edition
182+
bedrock-name-prefix: .
183+
184+
# This setting enabled/disables automatic authentication for bedrock users.
185+
token-auto-login: true
186+
96187
# If set to true, the player automatically receives a link upon joining
97188
send-on-join: true
98189

@@ -191,20 +282,58 @@ options:
191282
# but the higher the load on the server will be. I recommend setting this to 5 (meaning it updates 4 times a second)
192283
redstone-tick-speakers-interval: 5
193284

285+
# This feature will completely ignore ALL regions when a player is on a vehicle
286+
# (Minecraft, Boat, or mounted on another entity).
287+
# This is useful for some themepark servers, but should be used with caution.
288+
ignore-regions-on-vehicles: false
289+
290+
# This feature will hydrate region media for all regions on boot. This means that if you hae two regions, with different sources but equal durations
291+
# they will be played in sync. Having this feature enable might have an additional memory footprint if you have a *ton* of regions (hundreds)
292+
# but it's recommended to leave this on.
293+
hydrate-regions-on-boot: true
294+
295+
# Voicechat filters define requirements that players both have to meet before they will be able to hear eachother.
296+
# You can implement custom filters through the API, or enable some of the default ones below.
297+
vc-filter:
298+
299+
# When enabled, players will only be able to hear eachother if they both share the same gamemode (survival, creative, adventure, spectator)
300+
require-same-gamemode: false
301+
302+
# When enabled, players will only be able to hear eachother if they both share the same team. Edge cases:
303+
# - Players without a team can only hear other players without a team
304+
require-common-team: false
305+
306+
# Static channels are a set of channels that will always exist (even if they are empty), and can be locked behind certain permissions
307+
# You can use this feature in cases where individuals don't have permissions to create their own channels, but sitll want to offer
308+
# some groups for global voicechat (like a channel for minigames, off-topic, and roleplay). You can add more values here if you wish,
309+
# or disable the feature entirely. Keep in mind to include all sub values if you add a new channel, and to respect yaml formatting.
310+
# These values are only used on spigot instances
311+
static-channels:
312+
enabled: true
313+
list:
314+
- name: survival
315+
permission: channels.survival
316+
requirePermission: false
317+
- name: off-topic
318+
permission: channels.offtopic
319+
requirePermission: false
320+
- name: staff-chat
321+
permission: channels.staffchat
322+
requirePermission: true
194323

195324
# PlaceholderAPI
196325
papi:
197326
# Value to display when player is connected to the web client
198-
client-connected: "Connected"
327+
client-connected: Connected
199328

200329
# Value to display when player is disconnected from the web client
201-
client-disconnected: "Disconnected"
330+
client-disconnected: Disconnected
202331

203332
# Value to display when player is connected to the voice chat
204-
voicechat-connected: "Connected"
333+
voicechat-connected: Connected
205334

206335
# Value to display when player is disconnected from the voice chat
207-
voicechat-disconnected: "Disconnected"
336+
voicechat-disconnected: Disconnected
208337

209338
# CDN
210339
# Configuration for the Patreon CDN
@@ -234,3 +363,5 @@ redis:
234363
useSSL: false
235364
# The channel to sync with. When configured, OpenAudioMc will only sync to servers on redis with the same section
236365
section: event
366+
# When using Redis Sentinel, you should set the master set to use. Leaves empty to use a single server Redis cluster
367+
sentinel-master-set: ''

modules/vistas-server/dependency-reduced-pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,12 @@
174174
<artifactId>junit</artifactId>
175175
<version>4.13.2</version>
176176
<scope>test</scope>
177+
<exclusions>
178+
<exclusion>
179+
<artifactId>hamcrest-core</artifactId>
180+
<groupId>org.hamcrest</groupId>
181+
</exclusion>
182+
</exclusions>
177183
</dependency>
178184
</dependencies>
179185
<properties>

plugin/src/main/bash/data.bin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
BUILD_NUM="1438"
1+
BUILD_NUM="1440"

plugin/src/main/resources/data.bin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
BUILD_NUM="1438"
1+
BUILD_NUM="1440"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
BUILD_VERSION="1438"
2-
BUILD_COMMIT="b185ac1858bdbe73f0106928153783356d59ef1b"
1+
BUILD_VERSION="1440"
2+
BUILD_COMMIT="276872e1c256629abddab5069477313dfbcbc891"
33
BUILD_AUTHOR="Mats"

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<deps.okhttp.version>4.7.0</deps.okhttp.version>
2727
<deps.velocityapi.version>3.0.1</deps.velocityapi.version>
2828
<deps.storm.version>e1f961b</deps.storm.version>
29-
<deps.nbtapi.version>2.12.4</deps.nbtapi.version>
29+
<deps.nbtapi.version>2.13.0</deps.nbtapi.version>
3030

3131
<!-- Bungeecord uses some special deps from jitpack to work around protocol bugs -->
3232
<deps.bungee.proxy.version>b23a51825e</deps.bungee.proxy.version>

0 commit comments

Comments
 (0)