nennneko5787
nennneko5787
Explore posts from servers
PDCPlayerRealms developerS Community
Created by nennneko5787 on 6/29/2024 in #help-forum
pushで空中に浮かせたくない
push player forward at speed 1 この構文だと上を向いたときにプレイヤーが宙を浮いてしまいます。 やりたいこと apexみたいにしゃがむとスライドがかかるように
36 replies
統合版プレーヤーの見た目を直すSkript!!
PlayerRealmsのようなGeyserMCが入っているサーバーかつ統合版プレイヤーが全員初期スキンになってしまうサーバーに使えるSkriptです そんなサーバーなんてないと思うのでほぼPlayerRealms用です MundoSKまたはTablisknuが必要です
on join:
if the first 1 character of player's name is ".":
send "&aスキンを設定します。しばらくお待ち下さい..." to player
retrieve skin from url "https://api.tydiumcraft.net/v1/players/skin?uuid=%player's uuid%&type=skin" into {_skin}
set player's displayed skin to {_skin}
send "&eスキンの設定が完了しました。" to player
on join:
if the first 1 character of player's name is ".":
send "&aスキンを設定します。しばらくお待ち下さい..." to player
retrieve skin from url "https://api.tydiumcraft.net/v1/players/skin?uuid=%player's uuid%&type=skin" into {_skin}
set player's displayed skin to {_skin}
send "&eスキンの設定が完了しました。" to player
1 replies
PDCPlayerRealms developerS Community
Created by nennneko5787 on 3/23/2024 in #help-forum
タブリストスコアボード(SkRayFallなし)
every seconds:
loop all players:
set {_n} to {pdata::%loop-player's uuid%::level}
loop all players:
set tablist score of loop-player-1 to {_n} for loop-player-2
every seconds:
loop all players:
set {_n} to {pdata::%loop-player's uuid%::level}
loop all players:
set tablist score of loop-player-1 to {_n} for loop-player-2
Skellettかなんかでお願いします
13 replies
PDCPlayerRealms developerS Community
Created by nennneko5787 on 3/21/2024 in #help-forum
DiscordのWebhookをReqnで流したい
on chat:
send an http "post" web request to the url "<Webhook>" with header "Content-Type: application/json" and body "{%nl%""content"": ""Hello from Webhook""%nl%}"
on chat:
send an http "post" web request to the url "<Webhook>" with header "Content-Type: application/json" and body "{%nl%""content"": ""Hello from Webhook""%nl%}"
これでエラーなし、動作しません Webhookのメッセージが送信されません (パソコンの初期化ですべてのコードを失ってしまったので質問します)
27 replies
PDCPlayerRealms developerS Community
Created by nennneko5787 on 2/18/2024 in #help-forum
ブロックの向きをプレイヤーの向きによって決める方法
私は、今ブロックかくれんぼを作っています。 しかし、ブロックの向きをプレイヤーの向きによって決める方法がわからず、困惑しています。 誰か教えてください・
6 replies
HSPのelseifはelse:ifなのか?
久しぶりにフォーラム使った気がします。 さて、本題はHSPのelseifはelse:ifなのか?についてです。 あるサイトではよくないとされていた(気がする)この構文ですが、果たして本当のelseifなのでしょうか?
if (a==1){
mes "a"
}else:if(a==2){
mes "b"
}else{
mes "c"
}
if (a==1){
mes "a"
}else:if(a==2){
mes "b"
}else{
mes "c"
}
5 replies
PDCPlayerRealms developerS Community
Created by nennneko5787 on 1/17/2024 in #help-forum
SkRageのEffClientSideEquipmentの使い方
Skrage v2.4.5でEffClientSideEquipmentを使う方法を教えて下さい make player head {_p}'s helmet for all players これでもだめでした
8 replies
PDCPlayerRealms developerS Community
Created by nennneko5787 on 1/16/2024 in #help-forum
ネームタグ死亡
これを修正したらネームタグ死にました\ https://discord.com/channels/545926404785569793/1196759070661689417
4 replies
PDCPlayerRealms developerS Community
Created by nennneko5787 on 1/16/2024 in #help-forum
別の人の役職が表示されてしまう
every 1 seconds:
loop all players:
delete loop-player's sidebar
if {tct::ingame} is true:
set name of sidebar of loop-player to "TCTWerewolf"
set score "ゲーム終了まで %600 - {tct::count}%秒" in sidebar of loop-player to 9
set score "役職: %{tct::nametag::%loop-player%}%" in sidebar of loop-player to 8
if {tct::jobs::youkos::*} contain loop-player:
set score "バレるまで: %60 - {tct::youkocounter}%秒" in sidebar of loop-player to 7
set score "参加人数: %{tct::players_count}%" in sidebar of loop-player to 6
set score " " in sidebar of loop-player to 5
set score "&6コイン: %{tct::coins::%loop-player%}%枚" in sidebar of loop-player to 4
else if {tct::ingame} is false:
set name of sidebar of loop-player to "TCTWerewolf"
set score "ゲーム開始まで %30 - {tct::count}%秒" in sidebar of loop-player to 9
set score "役職: 未確定" in sidebar of loop-player to 8
set score "参加人数: 未確定" in sidebar of loop-player to 7
set score " " in sidebar of loop-player to 6
set score "&6コイン: 0枚" in sidebar of loop-player to 5
every 1 seconds:
loop all players:
delete loop-player's sidebar
if {tct::ingame} is true:
set name of sidebar of loop-player to "TCTWerewolf"
set score "ゲーム終了まで %600 - {tct::count}%秒" in sidebar of loop-player to 9
set score "役職: %{tct::nametag::%loop-player%}%" in sidebar of loop-player to 8
if {tct::jobs::youkos::*} contain loop-player:
set score "バレるまで: %60 - {tct::youkocounter}%秒" in sidebar of loop-player to 7
set score "参加人数: %{tct::players_count}%" in sidebar of loop-player to 6
set score " " in sidebar of loop-player to 5
set score "&6コイン: %{tct::coins::%loop-player%}%枚" in sidebar of loop-player to 4
else if {tct::ingame} is false:
set name of sidebar of loop-player to "TCTWerewolf"
set score "ゲーム開始まで %30 - {tct::count}%秒" in sidebar of loop-player to 9
set score "役職: 未確定" in sidebar of loop-player to 8
set score "参加人数: 未確定" in sidebar of loop-player to 7
set score " " in sidebar of loop-player to 6
set score "&6コイン: 0枚" in sidebar of loop-player to 5
21 replies
PDCPlayerRealms developerS Community
Created by nennneko5787 on 1/3/2024 in #help-forum
偶に制御が効かなくなることがある
on shoot:
if "%lore of shooter's tool%" contain "どこまでも飛んでいこう!":
if projectile is an arrow:
set metadata "endhook" of projectile to true
set {pdata::%shooter's uuid%::ishook} to true
while metadata "endhook" of projectile is true:
push shooter (direction from shooter to projectile) at speed 0.5
if block at projectile is not air:
set metadata "endhook" of projectile to false
if projectile is not alive:
set metadata "endhook" of projectile to false
wait a ticks
kill the projectile
set {pdata::%shooter's uuid%::ishook} to false

on projectile hit:
if metadata "endhook" of projectile is true:
kill the projectile

on damage:
if {pdata::%victim's uuid%::ishook} is true:
if damage cause is fall:
cancel event
on shoot:
if "%lore of shooter's tool%" contain "どこまでも飛んでいこう!":
if projectile is an arrow:
set metadata "endhook" of projectile to true
set {pdata::%shooter's uuid%::ishook} to true
while metadata "endhook" of projectile is true:
push shooter (direction from shooter to projectile) at speed 0.5
if block at projectile is not air:
set metadata "endhook" of projectile to false
if projectile is not alive:
set metadata "endhook" of projectile to false
wait a ticks
kill the projectile
set {pdata::%shooter's uuid%::ishook} to false

on projectile hit:
if metadata "endhook" of projectile is true:
kill the projectile

on damage:
if {pdata::%victim's uuid%::ishook} is true:
if damage cause is fall:
cancel event
Skript 2.6.3
20 replies
PDCPlayerRealms developerS Community
Created by nennneko5787 on 12/28/2023 in #help-forum
プレイヤーを国に入れる事ができない
else if event-item's name contain "承認待ちプレイヤーのリスト":
close player's inventory
open chest inventory with 6 rows named "承認待ちプレイヤーのリスト" to player
set {_num} to 0
loop {cdata::%{pdata::%player's uuid%::country}%::invite_mati::*}:
if loop-value is set:
set slot {_num} of player's current inventory to dirt named "%loop-value%" with lore "クリックで承認" and "シフトを押しながらクリックで拒否"
add 1 to {_num}

on inventory click:
if event-inventory's name is "承認待ちプレイヤーのリスト":
cancel event
close player's inventory
if click action is left mouse:
set {pdata::%event-item's name%::invite_mati} to false
set {pdata::%event-item's name%::country} to {pdata::%player's uuid%::country}
add event-item's name parsed as offline player to {cdata::%{pdata::%player's uuid%::country}%::villagers::*}
remove event-item's name from {cdata::%{pdata::%player's uuid%::country}%::invite_mati::*}
loop {cdata::%{pdata::%player's uuid%::country}%::villagers::*}:
send "&e%event-item's name parsed as offline player%が%{cdata::%{pdata::%player's uuid%::country}%::name}%&r&cの国民になりました。よろしくお願いします!" to loop-value
if click action is left mouse with shift:
delete {cdata::%{pdata::%player's uuid%::country}%::invite_mati::%event-item's name parsed as offline player%}
else if event-item's name contain "承認待ちプレイヤーのリスト":
close player's inventory
open chest inventory with 6 rows named "承認待ちプレイヤーのリスト" to player
set {_num} to 0
loop {cdata::%{pdata::%player's uuid%::country}%::invite_mati::*}:
if loop-value is set:
set slot {_num} of player's current inventory to dirt named "%loop-value%" with lore "クリックで承認" and "シフトを押しながらクリックで拒否"
add 1 to {_num}

on inventory click:
if event-inventory's name is "承認待ちプレイヤーのリスト":
cancel event
close player's inventory
if click action is left mouse:
set {pdata::%event-item's name%::invite_mati} to false
set {pdata::%event-item's name%::country} to {pdata::%player's uuid%::country}
add event-item's name parsed as offline player to {cdata::%{pdata::%player's uuid%::country}%::villagers::*}
remove event-item's name from {cdata::%{pdata::%player's uuid%::country}%::invite_mati::*}
loop {cdata::%{pdata::%player's uuid%::country}%::villagers::*}:
send "&e%event-item's name parsed as offline player%が%{cdata::%{pdata::%player's uuid%::country}%::name}%&r&cの国民になりました。よろしくお願いします!" to loop-value
if click action is left mouse with shift:
delete {cdata::%{pdata::%player's uuid%::country}%::invite_mati::%event-item's name parsed as offline player%}
プレイヤーが国に入ったことになりません({pdata::%<player's uuid>%::country}が<none>) どうすればいいのでしょうか
8 replies
PDCPlayerRealms developerS Community
Created by nennneko5787 on 12/28/2023 in #help-forum
pushで平行移動
push player backwards at speed 0.2
push player backwards at speed 0.2
で平行移動したいです
14 replies
PDCPlayerRealms developerS Community
Created by nennneko5787 on 12/18/2023 in #help-forum
スキンが変更されない
command /skin [<offline player>]:
trigger:
if arg-1 is set:
send request to "https://api.mineskin.org/generate/user/%arg-1's uuid%"
set {_res} to response
map json body of {_res} to {_json::*}
set {_value} to {_json::data::texture::value}
set {_signature} to {_json::data::texture::signature}
set {_skin} to skin with value {_value} signature {_signature}
set player's default displayed skin to {_skin}
else:
send request to "https://api.mineskin.org/generate/user/%player's uuid%"
set {_res} to response
map json body of {_res} to {_json::*}
set {_value} to {_json::data::texture::value}
set {_signature} to {_json::data::texture::signature}
set {_skin} to skin with value {_value} signature {_signature}
set player's default displayed skin to {_skin}
command /skin [<offline player>]:
trigger:
if arg-1 is set:
send request to "https://api.mineskin.org/generate/user/%arg-1's uuid%"
set {_res} to response
map json body of {_res} to {_json::*}
set {_value} to {_json::data::texture::value}
set {_signature} to {_json::data::texture::signature}
set {_skin} to skin with value {_value} signature {_signature}
set player's default displayed skin to {_skin}
else:
send request to "https://api.mineskin.org/generate/user/%player's uuid%"
set {_res} to response
map json body of {_res} to {_json::*}
set {_value} to {_json::data::texture::value}
set {_signature} to {_json::data::texture::signature}
set {_skin} to skin with value {_value} signature {_signature}
set player's default displayed skin to {_skin}
Skript 2.6.3 MundoSK 1.8.6-BETA.58 試しにみらげさんのMCIDでやりましたが動作しませんでした
12 replies
PDCPlayerRealms developerS Community
Created by nennneko5787 on 12/17/2023 in #help-forum
銃のリロードについて
No description
9 replies
PDCPlayerRealms developerS Community
Created by nennneko5787 on 12/4/2023 in #help-forum
SkriptでX-Ray対策
こんばんは。今日はX-Ray対策スクリプトについて質問しようと思います。 私はバトルロイヤルサバイバルサーバーを運営しているのですが、X-Rayの疑いがある人が出てきてしまいました。 そこで、X-Ray対策をしようと考えましたが、PlayerRealmsはpaper.ymlをいじることができず、X-Ray対策プラグインも入ってないのでやはりSkript でやるしかないと考えました。 しかし、どうすればいいのか全くわからず... なので、ブロックがプレイヤーから見えないとき、ブロックを隠す方法を教えていただけないでしょうか。
21 replies
PDCPlayerRealms developerS Community
Created by nennneko5787 on 12/2/2023 in #help-forum
ワールドボーダーまでの距離を求める
ワールドボーダーまでの距離を求める方法はありますか?
27 replies
PDCPlayerRealms developerS Community
Created by nennneko5787 on 12/2/2023 in #help-forum
文字列の中に#を入れる方法
No description
3 replies
PDCPlayerRealms developerS Community
Created by nennneko5787 on 11/28/2023 in #help-forum
ほったブロックが帰ってこない
このコードだとほったブロックが帰ってきません。原因と解決方法を教えてください。。。
on break:
add past event-block to {blocks::*}
send past event-block
send event-block
on place:
add event-block to {blocks::*}
command /resetworld:
permission: op
trigger:
loop {blocks::*}:
set block at loop-value to loop-value's type
send loop-value's type
send loop-value
delete {blocks::*}
broadcast "&bワールドをリセットしました。"
on break:
add past event-block to {blocks::*}
send past event-block
send event-block
on place:
add event-block to {blocks::*}
command /resetworld:
permission: op
trigger:
loop {blocks::*}:
set block at loop-value to loop-value's type
send loop-value's type
send loop-value
delete {blocks::*}
broadcast "&bワールドをリセットしました。"
11 replies
PDCPlayerRealms developerS Community
Created by nennneko5787 on 9/24/2023 in #help-forum
OneBlockの用にランダムなブロックを置きたいがリセットコマンドの方だけうまくいく!?
on break:
set {_loc} to location(0.5,64.5,0.5,world "oneblock")
if event-block's location is {_loc}:
set (block at (event-block's location)) to random element out of all blocks

command /obreset:
trigger:
set {_loc} to location(0.5,64.5,0.5,world "oneblock")
set block at {_loc} to random element out of all blocks
on break:
set {_loc} to location(0.5,64.5,0.5,world "oneblock")
if event-block's location is {_loc}:
set (block at (event-block's location)) to random element out of all blocks

command /obreset:
trigger:
set {_loc} to location(0.5,64.5,0.5,world "oneblock")
set block at {_loc} to random element out of all blocks
/obresetコマンドだけ正常に動作します Skript 2.7.0
15 replies
PDCPlayerRealms developerS Community
Created by nennneko5787 on 8/31/2023 in #help-forum
SkellettのLib's Disguise構文
SkriptでLib's Disguiseの構文がSkellettにあるのですが 使おうとするとエラーが出ます Skellettのバージョンは1.9.11、Skriptのバージョンは2.6.3です
12 replies