Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClickTpaプラグインを導入 #1582

Merged
merged 1 commit into from
Dec 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -806,3 +806,166 @@ data:
type: UI_BUTTON_CLICK
pitch: 0.8
volume: 0.5

ClickTpa-config.yml: |
# Config for ClickTpa
# Version v1.7.3
# Author: jklmao

# # # # # # # # # # # # # # # # # # # # # # # # #
# #
# ClickTpa Config #
# #
# # # # # # # # # # # # # # # # # # # # # # # # #

# Be aware of all warnings! #

# # # # # # # # # # # # # # # # # # # # # # # # #
# #
# Place Holders #
# #
# # # # # # # # # # # # # # # # # # # # # # # # #

# Use '%player%' for the player who sent the request.
# Use '%accept%' for the 'Click-to-accept' message.
# Use '%deny%' for the 'Click-to-deny' message.
# Use '%target%' for the player who they wanted to teleport to, and for the 'Player-sent-request' message.
# Example: /tpa <player>, where <player> is '%target%'.

Player-only-command: '&cOnly players can use this command!'

Insufficient-permission: '&cこのコマンドを実行する権限がありません! (&cYou do not have sufficient permission!)'

Player-deny-tpa-message: '&cテレポート申請を拒否されました。 (&cTeleportation request has been denied.)'

Target-deny-tpa-message: '&cテレポート申請は拒否されました。 (&cTeleportation request has been denied.)'

Target-teleportion-canceled: '&cテレポート申請をキャンセルしました。 (&cTeleportation canceled...)'

Player-got-accepted-tpa: '&bテレポート申請が許可されました。 (&bTeleportation request has been accepted.)'

Countdown-until-tpa: '&e3秒後にテレポートします... (&eTeleporting in 3 seconds...)'

Player-no-pendingtpa-message: '&cテレポート申請は受け取っていません。 (&cYou do not have a pending request!)'

Target-accepted-tpa-request: '&eテレポート申請を許可しました。 (&eRequest for teleportation is accepted.)'

No-player-found: '&cそのプレイヤーは存在しません。 (&cThis player does not exist!)'

Target-is-offline: '&cそのプレイヤーは現在オフラインです。 (&cThat player is currently offline.)'

Player-teleporting-self: '&c自分自身にはテレポートできません! (&cYou can not teleport yourself!)'

Player-already-requested: '&cすでにテレポート申請済みです。 (&cYou already requested, please wait..)'

Player-teleportation-request-expire: '&cテレポート申請が時間切れになりました。 (&cTeleportation request has expired.)'

Target-teleportation-request-expire: '&cテレポート申請が時間切れになりました。 (&cTeleportation request has expired.)'

Player-currently-teleporting: '&bテレポート中... (&bTeleporting...)'

Target-currently-teleporting: '&bテレポート中... (&bTeleporting...)'

Player-TpToggle-Off: '&eテレポート申請を受け付けるようにしました。 (&eTeleportation canceller is now &6OFF)'

Player-TpToggle-On: '&eテレポート申請を受け付けないようにしました。 (&eTeleportation canceller is now&6ON)'

Target-Is-TpToggled: '&6%target% &eはテレポート申請を受け付けていません。 &6%target% &ehas teleportation off'

Player-Is-TpToggled: '&cテレポート申請を受け付けない設定になっています。 (&cYou are tptoggled!)'

Tpacancel-message: '&6テレポート申請がキャンセルされました。 (&6Tpa request has been canceled.)'

# TPA request expires in seconds
Request-expire-time: 120


# Seconds until tpa
# Please use whole numbers

Seconds-until-tpa: 3

# Becareful in this part!
# This is when a player uses not enough args
# For example, when a player does '/tpa', it will say 'Usage: /tpa <player>'
# So please fit the correct command under the correct message!
# P.S '/tpohere' is also '/s' (essentials-type command).

Tpa-usage: '&cUse: /tpa <player>'

Tpahere-usage: '&cUse: /tpahere <player>'

Tpaccept-usage: '&cUse: /tpaccept <player>'

Tpdeny-usage: '&cUse: /tpadeny <player>'

Tpo-usage: '&cUse: /tpo <player>'

Tpohere-usage: '&cUse: /tpohere <player> or /s <player>'


# # # # # # # # # # # # # # # # # # # # # # # # #
# #
# Please Read! #
# #
# # # # # # # # # # # # # # # # # # # # # # # # #

# This section is when a player gets a tpa request
# Since the code used is broken into many parts, there will be many messages.
# Whatever you do to the "Click-to-x" messages, will be the same in the 'Tpa-message'
# Be careful!


# Lets you choose if you want players to be able
# to move before being teleported
Allow-player-to-move: false

Player-moved-before-tp: '&6The request was canceled because %player% moved!'

Player-sent-request: '&eYou have sent a request to &6%target%'

Tpa-message:
- ''
- '&6%player% &eさんがあなたのところにテレポート申請しました。'
- '&e%accept% &eをクリックで許可、または、 &e %deny% &eをクリックで拒否します。'
- '&e何もしない場合、120秒後に自動でキャンセルされます。'
- ''

Tpahere-message:
- ''
- '&6%player% &eさんがあなたを相手の地点にテレポート申請しています。'
- '&e%accept% &eをクリックで許可、または、 &e %deny% &eをクリックで拒否します。'
- '&e何もしない場合、120秒後に自動でキャンセルされます。'
- ''


# This will center the accept/deny messages
Center-accept-deny-msg: true

Click-to-accept: '&a&l&n[許可]&r'
Click-to-deny: '&c&l&n[拒否]&r'

Hover-message-on-accept: '&aクリックで許可'
Hover-message-on-deny: '&cクリックで拒否'

#
# On-Screen Messages
# Pops up in the middle of the player's screen
#

Send-on-screen-message: true

# When a player accepts a tp
On-screen-teleporting:
- '&6テレポート中...'
- '&e動かないでください!'

# When a player has successfully tp'd
On-screen-teleported: '&aテレポートしました!'

# If a player moves while they are being tp'd
On-screen-canceled-tp: '&cテレポートをキャンセルしました!'

#~~~~~~~~~~~~~~~~~~#
# More Coming Soon!#
#~~~~~~~~~~~~~~~~~~#
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ spec:
https://download.luckperms.net/1526/bukkit/loader/LuckPerms-Bukkit-5.4.113.jar,
https://github.com/GiganticMinecraft/Elytra/releases/download/1.18.2/Elytra-1.0-SNAPSHOT.jar,
https://github.com/GiganticMinecraft/OriginSpawn/releases/download/v0.2.7/OriginSpawn-0.2.7-SNAPSHOT.jar,
https://www.spigotmc.org/resources/clicktpa.62596/download?version=511303,

- name: JVM_OPTS
value: >-
Expand Down Expand Up @@ -171,7 +172,13 @@ spec:
lp group default permission set elytra.const-flight true
lp group default permission set elytra.runup true
lp group default permission set elytra.shift-activation true
lp group default permission set elytra.speedup true
lp group default permission set elytra.speedup true
lp group default permission set clicktpa.tpa true
lp group default permission set clicktpa.tpacancel true
lp group default permission set clicktpa.tpadeny true
lp group default permission set clicktpa.tpaccept true
lp group default permission set clicktpa.tpahere true
lp group default permission set clicktpa.tptoggle true

image: ghcr.io/giganticminecraft/seichi_minecraft_server_debug_base_1_18_2:sha-1267b49
name: minecraft
Expand Down Expand Up @@ -258,6 +265,11 @@ spec:
mountPath: /plugins/Elytra/config.yml
subPath: Elytra-config.yml

# ClickTpa プラグインの設定ファイル
- name: common-mcserver-plugin-configs
mountPath: /plugins/ClickTpa/config.yml
subPath: ClickTpa-config.yml

# SeichiAssist プラグインの設定ファイル
- name: seichiassist-config
mountPath: /plugins/SeichiAssist/config.yml
Expand Down